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
Create an attribute based on its ID and datatype.
protected AttributeImpl(long ID, int datatype) { super(ID); this.datatype = datatype; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Attribute createAttribute();", "Attribute createAttribute();", "TAttribute createTAttribute();", "A createAttribute( @NonNull final String p_id, @Nonnull final String p_property );", "@Function Attr createAttribute(String name);", "private Attribute createAttribute() {\n\t\t\tAttribute att = AttributeFactory.createAttribute(getName(), getValueType());\n\t\t\tatt.getAnnotations().clear();\n\t\t\tatt.getAnnotations().putAll(getAnnotations());\n\t\t\tattribute = att;\n\t\t\treturn att;\n\t\t}", "protected Attribute createAttribute(DapAttribute dapattr) {\n return createAttribute(null, dapattr);\n }", "protected abstract void createAttributes();", "static Attribute createAttribute(String name) {\n\t\treturn createAttribute(name, new IntegerFieldWrapper());\n\t}", "public void createNewAttribute(String attributeName, String attributeType){\n attributeList.add(new Attribute(attributeName, attributeType));\n }", "public <T> Link addAttributeType(IAttributeType<T> type);", "public EdmAttribute setupAttribute(String val) {\n EdmAttribute a = new EdmAttribute(val);\n return a;\n }", "public static AttributeType create( AttributeType documentAttributeType )\n {\n _dao.insert( documentAttributeType );\n\n return documentAttributeType;\n }", "public Attribute(String name, Type type, int ID, int length){\r\n\t\tthis.name = name;\r\n\t\tthis.type = type;\r\n\t\tthis.ID = ID;\r\n\t\tthis.length = length;\r\n\t\tvalues = new ArrayList();\r\n\t}", "protected Attribute createAttribute(Field field) {\n return pkg.add(new Attribute(field));\n }", "AtomicDataAttributes createAtomicDataAttributes();", "private void createAttributes(String type, String unit, Dataset dataset) throws HDF5Exception\n\t{\n\t\t// One piece of information per attribute, e.g. one for\n\t\t// unit and one for metatype\n\t\tlong[] attrDims = { 1 };\n\t\t// create attribute holding metatype (parameternode or variablenode)\n\t\tif(type != null)\n\t\t{\n\t\t\tif(!type.equals(\"\"))\n\t\t\t{\n\t\t\t\tString[] classValue = { type };\n\t\t\t\tDatatype attrType = new H5Datatype(Datatype.CLASS_STRING, classValue[0].length() + 1, -1, -1);\n\t\t\t\tAttribute attr = new Attribute(\"metatype\", attrType, attrDims);\n\t\t\t\tattr.setValue(classValue);\n\t\t\t\trecordingsH5File.writeAttribute(dataset, attr, false);\n\t\t\t}\n\t\t}\n\n\t\t// create attribute holding unit of measurement\n\t\tif(unit != null)\n\t\t{\n\t\t\tif(!unit.equals(\"\"))\n\t\t\t{\n\t\t\t\tString[] classValue2 = { unit };\n\t\t\t\tDatatype attrType2 = new H5Datatype(Datatype.CLASS_STRING, classValue2[0].length() + 1, -1, -1);\n\t\t\t\tAttribute attr2 = new Attribute(\"unit\", attrType2, attrDims);\n\t\t\t\tattr2.setValue(classValue2);\n\t\t\t\trecordingsH5File.writeAttribute(dataset, attr2, false);\n\t\t\t}\n\t\t}\n\t}", "public short createAttribute(AttributeType type, String name, boolean indexed, EnumSet<AttributeFlags> flags) {\n short id = nextAttributeId++;\n attributes.add(new ResidentAttributeRecord(type, name, id, indexed, flags));\n Collections.sort(attributes);\n return id;\n }", "private void defineAttributeInternal(String attrName, String typeDef) {\n Assert.assertValidName(attrName);\n List attrTypeDefs = AttrType.attrTypeListForTypeDef(typeDef);\n\n // two step process\n // create a new NST with name with rows for each column in the typeDef\n // insert a row in the attrNST pointing to that NST\n\n // Create arrays of strings, with names and data types of each column\n String[] attrNames = new String[attrTypeDefs.size() + 1];\n String[] attrTypes = new String[attrTypeDefs.size() + 1];\n int index = 0;\n attrNames[index] = \"id\";\n attrTypes[index++] = \"oid\";\n Iterator attrTypeDefsIter = attrTypeDefs.iterator();\n while (attrTypeDefsIter.hasNext()) {\n AttrType attrType = (AttrType) attrTypeDefsIter.next();\n String colName = attrType.getName();\n Assert.assertValidName(colName);\n attrNames[index] = colName;\n attrTypes[index++] = attrType.getDataTypeEnum().toString();\n }\n\n // create AttrDataNST for new attribute's data\n NST attrDataNST = new NST(Util.join(attrNames, \",\"), Util.join(attrTypes, \",\"));\n String nstName = attrDataNST.save();\n attrNST.insertRow(new String[]{attrName, typeDef, nstName});\n attrDataNST.release();\n }", "ShipmentAttribute createShipmentAttribute();", "public Attribute fetchAttributeById(int attribId);", "void addAttribute(String attrName, Attribute<?> newAttr);", "public static int createOrFindAttributeType(final String key, final Object value, final int nodeTypeId, final Graph graph)\n {\n int attributeId = graph.findAttribute(nodeTypeId, key);\n if (Attribute.InvalidAttribute == attributeId)\n {\n final AttributeKind kind = \"idx\".equals(key) ? AttributeKind.Indexed : AttributeKind.Basic;\n attributeId = graph.newAttribute(Type.getGlobalType(), key, SparkseeUtils.getDataTypeFromObject(value), kind);\n }\n return attributeId;\n }", "QuoteAttribute createQuoteAttribute();", "public static DLNAAttribute newInstance(Type type, String attributeValue, String contentFormat) {\n/* 125 */ DLNAAttribute attr = null;\n/* 126 */ for (int i = 0; i < (type.getAttributeTypes()).length && attr == null; i++) {\n/* 127 */ Class<? extends DLNAAttribute> attributeClass = type.getAttributeTypes()[i];\n/* */ try {\n/* 129 */ log.finest(\"Trying to parse DLNA '\" + type + \"' with class: \" + attributeClass.getSimpleName());\n/* 130 */ attr = attributeClass.newInstance();\n/* 131 */ if (attributeValue != null) {\n/* 132 */ attr.setString(attributeValue, contentFormat);\n/* */ }\n/* 134 */ } catch (InvalidDLNAProtocolAttributeException ex) {\n/* 135 */ log.finest(\"Invalid DLNA attribute value for tested type: \" + attributeClass.getSimpleName() + \" - \" + ex.getMessage());\n/* 136 */ attr = null;\n/* 137 */ } catch (Exception ex) {\n/* 138 */ log.severe(\"Error instantiating DLNA attribute of type '\" + type + \"' with value: \" + attributeValue);\n/* 139 */ log.log(Level.SEVERE, \"Exception root cause: \", Exceptions.unwrap(ex));\n/* */ } \n/* */ } \n/* 142 */ return attr;\n/* */ }", "public void addAttribute(TLAttribute attribute);", "@SuppressWarnings(\"deprecation\")\n\t@Test\n public void test_TCM__Attribute_setAttributeType_int() {\n final Attribute attribute = new Attribute(\"test\", \"value\");\n\n for(int attributeType = -10; attributeType < 15; attributeType++) {\n if (\n Attribute.UNDECLARED_TYPE.ordinal() <= attributeType &&\n attributeType <= Attribute.ENUMERATED_TYPE.ordinal()\n ) {\n \tattribute.setAttributeType(attributeType);\n \tassertTrue(attribute.getAttributeType().ordinal() == attributeType);\n continue;\n }\n try {\n attribute.setAttributeType(attributeType);\n fail(\"set unvalid attribute type: \"+ attributeType);\n }\n catch(final IllegalDataException ignore) {\n // is expected\n }\n catch(final Exception exception) {\n \texception.printStackTrace();\n fail(\"unknown exception throws: \"+ exception);\n }\n }\n }", "public AttributeType(AttributeCategory category) {\n setCategory(category);\n }", "public void defineAttributeWithData(String attrName, String typeDef,\n NST attrDataNST) {\n log.debug(\"defineAttributeWithData(): \" + attrName + \": \" + typeDef +\n \":\" + attrDataNST);\n\n Assert.notNull(attrName, \"null attrName\");\n Assert.notNull(attrDataNST, \"null attrDataNST\");\n attrName = attrName.toLowerCase();\n\n if (isAttributeDefined(attrName)) {\n throw new MonetException(\"attribute already defined with name: \" +\n attrName);\n }\n\n // two step process\n // 1. check that the columns in the given NST match the typeDef\n // b. rename columns from the dataNST to match the type definition\n // 2. insert a row in the attrNST pointing to that NST\n List attrTypeDefs = AttrType.attrTypeListForTypeDef(typeDef);\n Assert.condition(attrTypeDefs.size() == attrDataNST.getNSTColumnNames().size() - 1,\n \"given and expected column types do not match\");\n\n Assert.condition(attrDataNST.getNSTColumn(0).getType() == DataTypeEnum.OID,\n \"first column in the NST should be of type oid\");\n // first, make sure that the first column is \"id\"\n boolean isRenamedColumns = false;\n String origIDName = attrDataNST.getNSTColumn(0).getName();\n if (!\"id\".equals(origIDName)) {\n attrDataNST.renameColumn(origIDName, \"id\");\n isRenamedColumns = true;\n }\n\n Iterator attrTypeDefsIter = attrTypeDefs.iterator();\n int colCnt = 1;\n while (attrTypeDefsIter.hasNext()) {\n AttrType attrType = (AttrType) attrTypeDefsIter.next();\n NSTColumn nstColumn = attrDataNST.getNSTColumn(colCnt++);\n // data type\n String dataNSTColType = nstColumn.getType().toString();\n Assert.condition(attrType.getDataTypeEnum().toString().equals(dataNSTColType),\n \"specified types do not correspond to the given types: \" +\n attrType + \", \" + dataNSTColType);\n // column name\n String dataNSTColName = nstColumn.getName();\n if (!dataNSTColName.equals(attrType.getName())) {\n attrDataNST.renameColumn(dataNSTColName, attrType.getName());\n isRenamedColumns = true;\n }\n }\n\n // make the given NST persistent and insert the definition\n if (isRenamedColumns) {\n NST attrDataNSTCopy = attrDataNST.copy(); //save it into the top-level BAT\n attrDataNST = attrDataNSTCopy;\n }\n String nstName = attrDataNST.save();\n attrDataNST.makeWritable();\n attrNST.insertRow(new String[]{attrName, typeDef, nstName});\n if (isRenamedColumns) {\n // release the one we just created\n attrDataNST.release();\n }\n }", "public int storeAttribute(String key, String value);", "QuoteTypeAttr createQuoteTypeAttr();", "AttributeCell createAttributeCell();", "public static XAttribute composeAttribute(XFactory factory, String key,\n\t\t\tString value, String type, XExtension extension) {\n\t\ttype = type.trim();\n\t\tif (type.equalsIgnoreCase(\"LITERAL\")) {\n\t\t\tXAttributeLiteral attr = factory.createAttributeLiteral(key, value,\n\t\t\t\t\textension);\n\t\t\treturn attr;\n\t\t} else if (type.equalsIgnoreCase(\"BOOLEAN\")) {\n\t\t\tXAttributeBoolean attr = factory.createAttributeBoolean(key,\n\t\t\t\t\tBoolean.parseBoolean(value), extension);\n\t\t\treturn attr;\n\t\t} else if (type.equalsIgnoreCase(\"CONTINUOUS\")) {\n\t\t\tXAttributeContinuous attr = factory.createAttributeContinuous(key,\n\t\t\t\t\tDouble.parseDouble(value), extension);\n\t\t\treturn attr;\n\t\t} else if (type.equalsIgnoreCase(\"DISCRETE\")) {\n\t\t\tXAttributeDiscrete attr = factory.createAttributeDiscrete(key, Long\n\t\t\t\t\t.parseLong(value), extension);\n\t\t\treturn attr;\n\t\t} else if (type.equalsIgnoreCase(\"TIMESTAMP\")) {\n\t\t\tXAttributeTimestamp attr;\n\t\t\ttry {\n\t\t\t\tsynchronized (XAttributeTimestamp.FORMATTER) {\n\t\t\t\t\tattr = factory.createAttributeTimestamp(key,\n\t\t\t\t\t\t\tXAttributeTimestamp.FORMATTER.parseObject(value),\n\t\t\t\t\t\t\textension);\n\t\t\t\t}\n\t\t\t} catch (ParseException e) {\n\t\t\t\tthrow new AssertionError(\n\t\t\t\t\t\t\"OpenXES: could not parse date-time attribute. Value: \"\n\t\t\t\t\t\t\t\t+ value);\n\t\t\t}\n\t\t\treturn attr;\n\t\t} else if (type.equalsIgnoreCase(\"ID\")) {\n\t\t\tXAttributeID attr = factory.createAttributeID(key, XID.parse(value), extension);\n\t\t\treturn attr;\n\t\t} else {\n\t\t\tthrow new AssertionError(\"OpenXES: could not parse attribute type!\");\n\t\t}\n\t}", "public DefaultAttribute( String upId, AttributeType attributeType )\n {\n if ( attributeType == null )\n {\n String message = I18n.err( I18n.ERR_13203_ATTRIBUTE_TYPE_NULL_NOT_ALLOWED );\n LOG.error( message );\n throw new IllegalArgumentException( message );\n }\n\n try\n {\n apply( attributeType );\n }\n catch ( LdapInvalidAttributeValueException liave )\n {\n // Do nothing, it can't happen, there is no value\n }\n\n setUpId( upId, attributeType );\n }", "public void addAttribute(int index, TLAttribute attribute);", "default void putAttribute(ConceptName name, Attribute attribute) {}", "public AttributeDefinition isAttribute(Integer id){\n \treturn(attrByID.get(id));\n }", "public void setAttributeType(final String attributeType);", "DataType createDataType();", "Atributo createAtributo();", "private Attr newAttr(String tipo, String valor) {\n/* 341 */ Attr atrib = this.pagHTML.createAttribute(tipo);\n/* 342 */ atrib.setValue(valor);\n/* 343 */ return atrib;\n/* */ }", "public interface Attribute {\n\n /**\n * The id of the attribute. This will be unique for all attributes in a\n * graph. However, if an attribute is removed from the graph, future\n * attributes may (and probably will) reuse this id.\n *\n * @return the id of the attribute.\n */\n public int getId();\n\n /**\n * Sets the id of this attribute.\n *\n * @param id the new id of this attribute.\n */\n public void setId(final int id);\n\n /**\n * Returns the element type that this attribute is associated with.\n *\n * @return the element type that this attribute is associated with.\n */\n public GraphElementType getElementType();\n\n /**\n * Sets the element type of this attribute.\n *\n * @param elementType the new element type of this attribute.\n */\n public void setElementType(final GraphElementType elementType);\n\n /**\n * The type of this attribute.\n * <p>\n * This is a String as returned by\n * {@link au.gov.asd.tac.constellation.graph.attribute.AttributeDescription#getName()}\n * from one of the registered AttributeDescription instances.\n *\n * @return The type of this attribute.\n */\n public String getAttributeType();\n\n /**\n * Sets the type of this attribute.\n *\n * @param attributeType the new type of the attribute.\n */\n public void setAttributeType(final String attributeType);\n\n /**\n * Return the name of the attribute. This name will be unique for all\n * attributes associated with the same element type in a graph. This is the\n * value that is presented to the user in the UI and the most common way in\n * which attributes are looked up in the graph.\n *\n * @return the name of the attribute.\n */\n public String getName();\n\n /**\n * Sets a new name for this attribute.\n *\n * @param name the new name for the attribute.\n * @see Attribute#getName()\n */\n public void setName(final String name);\n\n /**\n * Returns the description of an attribute. The description provides more\n * detailed information about the attribute such as how it is being used or\n * and constraints that should be observed.\n *\n * @return the description of an attribute.\n */\n public String getDescription();\n\n /**\n * Sets a new description of an attribute.\n *\n * @param description the new description of the attribute.\n * @see Attribute#getDescription()\n */\n public void setDescription(final String description);\n\n /**\n * Returns the current default value for this attribute. This is the value\n * that new elements will get when they are created.\n *\n * @return the current default value for this attribute.\n */\n public Object getDefaultValue();\n\n /**\n * Sets the new default value for this attribute. This will not change the\n * values of any existing elements but rather the value that new elements\n * will get given when they are created.\n *\n * @param defaultValue the new default value for the attribute.\n */\n public void setDefaultValue(final Object defaultValue);\n\n /**\n * Returns the class of the attribute description that defines this\n * attribute.\n *\n * @return the class of the attribute description that defines this\n * attribute.\n */\n public Class<? extends AttributeDescription> getDataType();\n\n /**\n * Sets the data type of this attribute.\n *\n * @param dataType the new datatype of this attribute.\n */\n public void setDataType(final Class<? extends AttributeDescription> dataType);\n\n /**\n * Returns the attribute merger for this attribute.\n *\n * @return the attribute merger for this attribute.\n */\n public GraphAttributeMerger getAttributeMerger();\n\n /**\n * Sets the attribute merger for this attribute.\n *\n * @param attributeMerger the attribute merger for this attribute.\n */\n public void setAttributeMerger(final GraphAttributeMerger attributeMerger);\n}", "public LPDMODOMAttribute(String name, String value, int type) {\n super(name, value, type);\n }", "public void setAttribute (GenericAttribute attribute) {\n this.attribute = attribute;\n this.type = TYPE_ATTRIBUTE;\n this.id = attribute.getId();\n }", "public Class getAttributeType();", "int insert(AttributeExtend record);", "public void addAttribute(ClassAttribute attributeType, String value)\n\t{\n\t\tif (attributeType.interpretAsInteger)\n\t\t{\n\t\t\tattributes.put(attributeType, new Integer(value));\n\t\t}\n\t\telse\n\t\t{\n\t\t\tattributes.put(attributeType, value);\n\t\t}\n\t}", "static Attribute createAttribute(String name, Field field) {\n\t\tAttribute attribute = new Attribute(name, field);\n\t\tattribute.setKind(Attribute.NONE);\n\t\tattribute.setPreferenceType(Attribute.GAIN);\n\t\treturn attribute;\n\t}", "EAttribute createEAttribute();", "MappedDatatype createMappedDatatype();", "AttributeDeclarations createAttributeDeclarations();", "public APopulationAttribute createAttribute(String name, GSEnumDataType dataType, List<String> inputValues, \n\t\t\tList<String> modelValues, GSEnumAttributeType attributeType) throws GSIllegalRangedData {\n\t\treturn createAttribute(name, dataType, inputValues, modelValues, attributeType, null, Collections.emptyMap());\n\t}", "ShipmentTypeAttr createShipmentTypeAttr();", "@Override\n public void onRPClassAddAttribute(RPClass rpclass,\n String name, Definition.Type type, byte flags) {\n }", "@Override\n public void onRPClassAddAttribute(RPClass rpclass,\n String name, Definition.Type type) {\n }", "com.microsoft.schemas.xrm._2013.metadata.AttributeTypeDisplayName addNewAttributeTypeDisplayName();", "public Attribute_New(String _name, String _value)\n {\n name = _name;\n\n List singleAttributList = new ArrayList<String>();\n singleAttributList.add(_value);\n\n }", "public DefaultAttribute( byte[] upId )\n {\n setUpId( upId );\n }", "default void putDataType(DataTypeName id, DataType dataType) {}", "private void encodeNameIdAttributes(Encoder encoder, DataType type) throws IOException {\n\t\tif (type instanceof BuiltIn) {\n\t\t\tencoder.writeString(ATTRIB_NAME,\n\t\t\t\t((BuiltIn) type).getDecompilerDisplayName(displayLanguage));\n\t\t}\n\t\telse {\n\t\t\tencoder.writeString(ATTRIB_NAME, type.getName());\n\t\t\tlong id = progDataTypes.getID(type);\n\t\t\tif (id > 0) {\n\t\t\t\tencoder.writeUnsignedInteger(ATTRIB_ID, id);\n\t\t\t}\n\t\t}\n\t}", "public DefaultAttribute( String upId, AttributeType attributeType, byte[]... vals )\n throws LdapInvalidAttributeValueException\n {\n if ( attributeType == null )\n {\n throw new IllegalArgumentException( I18n.err( I18n.ERR_13203_ATTRIBUTE_TYPE_NULL_NOT_ALLOWED ) );\n }\n\n apply( attributeType );\n add( vals );\n setUpId( upId, attributeType );\n }", "public void setAttrId(Integer attrId) {\n this.attrId = attrId;\n }", "public AttributeColumn(String attributeName) {\n\t\t\t// default parameters for value type, ... are implicit created\n\t\t\tthis.setName(attributeName);\n\t\t\t// this.setValueType(Ontology.NOMINAL);\n\t\t}", "void setInt(int attributeValue);", "public void setIdForDataType(String idForDataType) {\n this.idForDataType = idForDataType;\n }", "public DefaultAttribute( String upId, AttributeType attributeType, String... vals )\n throws LdapInvalidAttributeValueException\n {\n if ( attributeType == null )\n {\n String message = I18n.err( I18n.ERR_13203_ATTRIBUTE_TYPE_NULL_NOT_ALLOWED );\n LOG.error( message );\n throw new IllegalArgumentException( message );\n }\n\n apply( attributeType );\n\n if ( ( vals != null ) && ( vals.length > 0 ) )\n {\n add( vals );\n }\n\n setUpId( upId, attributeType );\n }", "public void setDataType(final Class<? extends AttributeDescription> dataType);", "public static AttributeFactory newAttributeFactory() {\n\t\treturn newAttributeFactory(random());\n\t}", "XMLAttribute addAttribute(String namespace, String name, String value);", "public DefaultAttribute( AttributeType attributeType, Attribute attribute ) throws LdapException\n {\n // Copy the common values. isHR is only available on a ServerAttribute\n this.attributeType = attributeType;\n this.id = attribute.getId();\n this.upId = attribute.getUpId();\n\n if ( attributeType == null )\n {\n isHR = attribute.isHumanReadable();\n\n // Copy all the values\n for ( Value value : attribute )\n {\n add( value.clone() );\n }\n\n if ( attribute.getAttributeType() != null )\n {\n apply( attribute.getAttributeType() );\n }\n }\n else\n {\n\n isHR = attributeType.getSyntax().isHumanReadable();\n\n // Copy all the values\n for ( Value clientValue : attribute )\n {\n Value serverValue = null;\n\n if ( isHR )\n {\n serverValue = new Value( attributeType, clientValue.getString() );\n }\n else\n {\n // We have to convert the value to a binary value first\n serverValue = new Value( attributeType,\n clientValue.getBytes() );\n }\n\n add( serverValue );\n }\n }\n }", "static String makeKey(String id,\n String for_,\n String attrname,\n String attrtype) {\n return format(KEY_FMT, id, for_, attrname, attrtype);\n }", "private AgAttribute resolveNew() {\n\n return new DefaultAttribute(name,\n requiredProperty(\"javaType\", javaType),\n\n // using the defaults from @AgAttribute annotation\n propertyOrDefault(readable, true),\n propertyOrDefault(writable, true),\n\n requiredProperty(\"dataReader\", dataReader));\n }", "public void setIdAttribute(String idAttribute) {\n this.idAttribute = idAttribute;\n }", "public <A> Result addAttr(TypedKey<A> key, A value) {\n return withAttrs(attrs.put(key, value));\n }", "private String addSchemaAttribute(String userId,\n SchemaAttribute schemaAttribute) throws InvalidParameterException,\n PropertyServerException,\n UserNotAuthorizedException\n {\n final String methodName = \"addSchemaAttribute\";\n\n SchemaAttributeBuilder schemaAttributeBuilder = this.getSchemaAttributeBuilder(schemaAttribute);\n\n /*\n * Work out if this is a local cohort schema attribute or external?\n */\n ElementType type = schemaAttribute.getType();\n String schemaAttributeGUID;\n\n if (isLocalCohortInstance(type))\n {\n schemaAttributeGUID = repositoryHandler.createEntity(userId,\n this.getSchemaAttributeTypeGUID(schemaAttribute),\n this.getSchemaAttributeTypeName(schemaAttribute),\n schemaAttributeBuilder.getInstanceProperties(methodName),\n methodName);\n }\n else\n {\n schemaAttributeGUID = repositoryHandler.createExternalEntity(userId,\n this.getSchemaAttributeTypeGUID(schemaAttribute),\n this.getSchemaAttributeTypeName(schemaAttribute),\n type.getElementHomeMetadataCollectionId(),\n type.getElementHomeMetadataCollectionName(),\n schemaAttributeBuilder.getInstanceProperties(methodName),\n methodName);\n }\n\n SchemaType schemaType = schemaAttribute.getAttributeType();\n\n if (schemaType != null)\n {\n if ((schemaType.getExtendedProperties() == null) &&\n ((schemaType instanceof ComplexSchemaType) ||\n (schemaType instanceof LiteralSchemaType) ||\n (schemaType instanceof SimpleSchemaType)))\n {\n /*\n * The schema type can be represented as a classification on the schema attribute.\n */\n SchemaTypeBuilder schemaTypeBuilder = this.getSchemaTypeBuilder(schemaType);\n\n repositoryHandler.classifyEntity(userId,\n schemaAttributeGUID,\n SchemaElementMapper.TYPE_EMBEDDED_ATTRIBUTE_CLASSIFICATION_TYPE_GUID,\n SchemaElementMapper.TYPE_EMBEDDED_ATTRIBUTE_CLASSIFICATION_TYPE_NAME,\n schemaTypeBuilder.getInstanceProperties(methodName),\n methodName);\n }\n else\n {\n String schemaTypeGUID = addSchemaType(userId, schemaType);\n if (schemaTypeGUID != null)\n {\n if (isLocalCohortInstance(type))\n {\n repositoryHandler.createRelationship(userId,\n SchemaElementMapper.ATTRIBUTE_TO_TYPE_RELATIONSHIP_TYPE_GUID,\n schemaAttributeGUID,\n schemaTypeGUID,\n null,\n methodName);\n }\n else\n {\n repositoryHandler.createExternalRelationship(userId,\n SchemaElementMapper.ATTRIBUTE_TO_TYPE_RELATIONSHIP_TYPE_GUID,\n type.getElementHomeMetadataCollectionId(),\n type.getElementHomeMetadataCollectionName(),\n schemaAttributeGUID,\n schemaTypeGUID,\n null,\n methodName);\n }\n }\n }\n }\n else if (schemaAttribute.getExternalAttributeType() != null)\n {\n final String guidParameterName = \"schemaAttribute.getExternalAttributeType().getLinkedSchemaTypeGUID()\";\n SchemaLink schemaLink = schemaAttribute.getExternalAttributeType();\n\n SchemaType linkedType = this.getSchemaType(userId,\n schemaLink.getLinkedSchemaTypeGUID(),\n guidParameterName,\n methodName);\n\n if (linkedType != null)\n {\n SchemaLinkBuilder builder = new SchemaLinkBuilder(schemaLink.getQualifiedName(),\n schemaLink.getDisplayName(),\n repositoryHelper,\n serviceName,\n serverName);\n\n String schemaLinkGUID = repositoryHandler.createEntity(userId,\n SchemaElementMapper.SCHEMA_LINK_TYPE_GUID,\n SchemaElementMapper.SCHEMA_LINK_TYPE_NAME,\n builder.getInstanceProperties(methodName),\n methodName);\n\n if (schemaLinkGUID != null)\n {\n repositoryHandler.createRelationship(userId,\n SchemaElementMapper.ATTRIBUTE_TO_TYPE_RELATIONSHIP_TYPE_GUID,\n schemaLinkGUID,\n schemaType.getGUID(),\n null,\n methodName);\n }\n }\n }\n\n return schemaAttributeGUID;\n }", "public DefaultAttribute( String upId, AttributeType attributeType, Value... vals )\n throws LdapInvalidAttributeValueException\n {\n if ( attributeType == null )\n {\n String message = I18n.err( I18n.ERR_13203_ATTRIBUTE_TYPE_NULL_NOT_ALLOWED );\n LOG.error( message );\n throw new IllegalArgumentException( message );\n }\n\n apply( attributeType );\n setUpId( upId, attributeType );\n add( vals );\n }", "public void setAttribute(String type, int value) throws AdsException{\r\n\t\tbyte[] values = Convert.IntToByteArr(value);\r\n\r\n\t\tthis.configAttribute( type , values );\r\n\t}", "public void addAttribute(String i) {\r\n if (attributes == null)\r\n attributes = new ArrayList<String>();\r\n attributes.add(i);\r\n }", "@Test\n\tpublic void test_TCC___String_String_int() {\n {\n\n \t\t@SuppressWarnings(\"deprecation\")\n\t\t\tfinal Attribute attribute = new Attribute(\"test\", \"value\", AttributeType.ID.ordinal());\n \t\tassertTrue(\"incorrect attribute name\", attribute.getName().equals(\"test\"));\n \t\tassertTrue(\"incoorect attribute value\", attribute.getValue().equals(\"value\"));\n \t\tassertTrue(\"incorrect Namespace\", attribute.getNamespace().equals(Namespace.NO_NAMESPACE));\n\n assertEquals(\"incoorect attribute type\", attribute.getAttributeType(), Attribute.ID_TYPE);\n }\n\n\t}", "public Attribute(final String newName, final long newAttributeID,\r\n\t\t\tfinal long newRelationID, final Attribute.Type newType, \r\n\t\t\tfinal char newNullable, final int newDistinct, \r\n\t\t\tfinal int newLength) {\r\n\t\t\r\n\t\t//Assign the things to the new attribute from the constructor\r\n\t\tthis.name = newName;\r\n\t\tthis.ID = newAttributeID;\r\n\t\tthis.parent = newRelationID;\r\n\t\tthis.type = newType;\r\n\t\tthis.nullable = (newNullable == 't');\r\n\t\tthis.distinct = newDistinct;\r\n\t\tthis.length = newLength;\r\n\t\tvalues = new ArrayList();\r\n\t}", "DatatypeType createDatatypeType();", "public DataType(String idForDataType, String dataName) {\n basicType = this.getClass().getName();\n this.idForDataType = idForDataType;\n this.dataName = dataName;\n }", "AttributeLayout createAttributeLayout();", "public interface AttributeModelInterface {\n\n AttributeEntity getAttributeBySize(String size);\n\n void insertAttribute(AttributeEntity attributeEntity);\n\n AttributeEntity getAttributeById(int attId);\n}", "public static AttributeValue buildAttributeValue(String attName, String attValue) {\n String attType = \"S\";\n Map<String, String> fieldTypeMap = ProductTableMetadata.getFieldTypeMap();\n if (fieldTypeMap.containsKey(attName)) {\n attType = fieldTypeMap.get(attName);\n }\n\n switch (attType) {\n case \"S\":\n return new AttributeValue().withS(attValue);\n case \"N\":\n return new AttributeValue().withN(attValue);\n default:\n throw new IllegalArgumentException(\"Type does not supported\");\n }\n }", "public short createNonResidentAttribute(AttributeType type,\n String name,\n EnumSet<AttributeFlags> flags,\n long firstCluster,\n long numClusters,\n int bytesPerCluster) {\n short id = nextAttributeId++;\n attributes.add(new NonResidentAttributeRecord(type, name, id, flags, firstCluster, numClusters, bytesPerCluster));\n Collections.sort(attributes);\n return id;\n }", "protected SLEXMMAttribute(SLEXMMStorageMetaModel storage) {\n\t\tsuper(storage);\n\t}", "QuoteTermAttribute createQuoteTermAttribute();", "public IAttributeType<?> getAttributeType(String name);", "private void buildAttributeComponent(\n\t\t\tBuilder classBuilder, \n\t\t\tcom.squareup.javapoet.MethodSpec.Builder constructorBuilder,\n\t\t\tString attrName,\n\t\t\tClass<?> attrType) {\n\t\t// Add an private attr which is build by \"thisField\" to the class\n\t\tFieldSpec field = FieldSpec.builder(attrType, attrName, Modifier.PRIVATE).build();\n\t\tclassBuilder.addField(field);\n\t\t// An attr is always followed by a constructor, a getter and a setter\n\t\t// Add the attr's construct part to the constructor of the class\n\t\tconstructorBuilder.addParameter(attrType, attrName)\n\t\t\t\t\t\t.addModifiers(Modifier.PUBLIC)\n\t\t\t\t\t\t.addStatement(\"this.$N = $N\", attrName, attrName);\n\t\t\n\t\t// generate getter and setter for the attr\n\t\tString capitalizedAttrName = capitalizeFirstLetter(attrName);\n\t\tMethodSpec getter = MethodSpec.methodBuilder(\"get\" + capitalizedAttrName)\n\t\t\t\t.returns(attrType)\n\t\t\t\t.addModifiers(Modifier.PUBLIC)\n\t\t\t\t.addStatement(\"return $N\", attrName).build();\n\t\t\n\t\tMethodSpec setter = MethodSpec.methodBuilder(\"set\" + capitalizedAttrName)\n\t\t\t\t.addModifiers(Modifier.PUBLIC)\n\t\t\t\t.addParameter(attrType, attrName)\n\t\t\t\t.addStatement(\"this.$N = $N\", attrName, attrName).build();\n\t\tclassBuilder.addMethod(setter).addMethod(getter);\n\n\t}", "public Attribute( Element eleAttr ) {\n strClass = eleAttr.getAttributeValue( \"class\" );\n strAttrName = eleAttr.getAttributeValue( \"name\" );\n strName = Utils.formatAttrName( strAttrName );\n String strDecimal = eleAttr.getAttributeValue( \"decimal\" );\n if( strDecimal != null && strDecimal.length() > 0 ) {\n bDecimal = Byte.parseByte( strDecimal );\n }\n String strLength = eleAttr.getAttributeValue( \"length\" );\n if( strLength != null && strLength.length() > 0 ) {\n lLength = Long.parseLong( strLength );\n }\n strJavaClass = javaClass();\n bID = strClass.equals( \"com.space.core.model.feature.attr.IdType\" );\n bNullable = !Boolean.parseBoolean( eleAttr.getAttributeValue( \"mandatory\" ) );\n String strIndex = eleAttr.getAttributeValue( \"index\" );\n if( strIndex != null ) {\n if( strIndex.equals( \"unique\" ) ) {\n bIndexType = INDEX_UNIQUE;\n } else if( strIndex.equals( \"duplicate\" ) ) {\n bIndexType = INDEX_DUPLICATE;\n }\n }\n }", "default Attribute getAttribute(AttributeName attributeName) {return (Attribute) attributeName;}", "private void buildAttributeComponent(\n\t\t\tBuilder classBuilder, \n\t\t\tcom.squareup.javapoet.MethodSpec.Builder constructorBuilder,\n\t\t\tString attrName,\n\t\t\tClassName attrType){\n\t\t// Add an private attr which is build by \"thisField\" to the class\n\t\tFieldSpec field = FieldSpec.builder(attrType, attrName, Modifier.PRIVATE).build();\n\t\tclassBuilder.addField(field);\n\t\t// An attr is always followed by a constructor, a getter and a setter\n\t\t// Add the attr's construct part to the constructor of the class\n\t\tconstructorBuilder.addParameter(attrType, attrName)\n\t\t\t\t\t\t.addModifiers(Modifier.PUBLIC)\n\t\t\t\t\t\t.addStatement(\"this.$N = $N\", attrName, attrName);\n\t\t\n\t\t// generate getter and setter for the attr\n\t\tString capitalizedAttrName = capitalizeFirstLetter(attrName);\n\t\tMethodSpec getter = MethodSpec.methodBuilder(\"get\" + capitalizedAttrName)\n\t\t\t\t.returns(attrType)\n\t\t\t\t.addModifiers(Modifier.PUBLIC)\n\t\t\t\t.addStatement(\"return $N\", attrName).build();\n\t\t\n\t\tMethodSpec setter = MethodSpec.methodBuilder(\"set\" + capitalizedAttrName)\n\t\t\t\t.addModifiers(Modifier.PUBLIC)\n\t\t\t\t.addParameter(attrType, attrName)\n\t\t\t\t.addStatement(\"this.$N = $N\", attrName, attrName).build();\n\t\tclassBuilder.addMethod(setter).addMethod(getter);\n\t\n\t}", "public ProAddAttrRecord(Integer attrId, Integer productId, String attrName, String attrValue) {\n super(ProAddAttr.PRO_ADD_ATTR);\n\n set(0, attrId);\n set(1, productId);\n set(2, attrName);\n set(3, attrValue);\n }", "public static Attribute createEntity(EntityManager em) {\n Attribute attribute = new Attribute()\n .name(DEFAULT_NAME)\n .description(DEFAULT_DESCRIPTION)\n .showOrder(DEFAULT_SHOW_ORDER)\n .active(DEFAULT_ACTIVE);\n return attribute;\n }", "public DmcAttribute<?> getAttributeInstance(Integer id) throws InstantiationException, IllegalAccessException, ClassNotFoundException {\n \tAttributeDefinition ad = attrByID.get(id);\n \tDmcAttributeInfo\tai = DmcOmni.instance().getInfo(id);\n \t\n \tif (ad == null){\n \t\tthrow(new IllegalStateException(\"Tried to deserialize attribute with unknown ID: \" + id));\n \t}\n \t\n \tif (ai == null){\n \t\tthrow(new IllegalStateException(\"Tried to deserialize attribute with unknown ID: \" + id));\n \t}\n \t\n \tDmcAttribute<?> rc = (DmcAttribute<?>) ad.getType().getAttributeHolder(ai);\n \trc.setAttributeInfo(ai);\n \t\n \treturn(rc);\n }", "private void addAttribute(AttributesImpl attrs, String attrName, String attrValue,\n String type) {\n // Provide identical values for the qName & localName (although Javadocs indicate that both\n // can be omitted!)\n attrs.addAttribute(\"\", attrName, attrName, type, attrValue);\n // Saxon throws an exception if either omitted:\n // \"Saxon requires an XML parser that reports the QName of each element\"\n // \"Parser configuration problem: namespsace reporting is not enabled\"\n // The IBM JRE implementation produces bad xml if the qName is omitted,\n // but handles a missing localName correctly\n }", "public Attr() {\n\t\t\tsuper();\n\t\t}", "@GetMapping(\"/ci-types/{ci-type-id}/attributes/{attribute-id}\")\n @ResponseBody\n public JsonResponse getCiTypeAttribute(@PathVariable(value = \"ci-type-id\") int ciTypeId, @PathVariable(value = \"attribute-id\") int attributeId) {\n //return okayWithData(cmdbServiceV2Stub.getCiTypeAttribute(attributeId));\n return error(\"This API will be discarded as never used.\");\n }", "void addAttribute(AttributeDefinition ad) throws ResultException, DmcValueException {\n \t\n \tattributeDefinitions.add(ad);\n \t\n if (checkAndAddDOT(ad.getDotName(),ad,globallyUniqueMAP,null) == false){\n \tResultException ex = new ResultException();\n \tex.addError(clashMsgDOT(ad.getObjectName(),ad,globallyUniqueMAP,\"definition names\"));\n \tthrow(ex);\n }\n \n if (ad.getDmdID() == null){\n \tResultException ex = new ResultException(\"Missing dmdID for attribute: \" + ad.getName());\n \tthrow(ex);\n }\n \n if (ad.getDefinedIn() == null){\n \tResultException ex = new ResultException(\"definedIn missing for attribute: \" + ad.getName());\n \tthrow(ex);\n }\n else{\n \tif (performIDChecks){\n\t \tif ( (ad.getDefinedIn().getSchemaBaseID() == null) ||\n\t \t\t (ad.getDefinedIn().getSchemaIDRange() == null) ){\n\t \tResultException ex = new ResultException(\"schemaBaseID or schemaIDRange missing for schema: \" + ad.getDefinedIn().getName());\n\t \tthrow(ex);\n\t \t}\n \t}\n \t\n }\n \n if (performIDChecks){\n\t // Bump up the DMD ID by the amount of schemaBaseID\n\t int base = ad.getDefinedIn().getSchemaBaseID();\n\t int range = ad.getDefinedIn().getSchemaIDRange();\n\t int current = ad.getDmdID();\n\t \n\t if (current >= range){\n\t \tResultException ex = new ResultException(\"Number of attributes exceeds schema ID range: \" + ad.getName());\n\t \tthrow(ex); \t\n\t }\n\t \n\t ad.setDmdID(base + current);\n }\n \n \tif (attrByID.get(ad.getDmdID()) != null){\n \tResultException ex = new ResultException();\n \tex.addError(clashingIDsMsg(ad.getDmdID(),ad,attrByID,\"dmdID\"));\n \tthrow(ex);\n }\n attrByID.put(ad.getDmdID(), ad);\n \n if (ad.getAbbrev() != null){\n // We have an abbreviation - so it must also be unique and\n // added to the appropriate maps\n \tDefinitionName abbrevName = new DefinitionName(ad.getAbbrev());\n \t\n DotName dotAbbrevName = new DotName(ad.getDefinedIn().getName() + \".\" + ad.getAbbrev());\n if (checkAndAddDOT(dotAbbrevName,ad,globallyUniqueMAP,null) == false){\n \tDefinitionName errName = new DefinitionName(ad.getDefinedIn().getName() + \".\" + ad.getAbbrev());\n \tResultException ex = new ResultException();\n \tex.addError(clashMsgDOT(errName,ad,globallyUniqueMAP,\"definition names\"));\n \tthrow(ex);\n }\n\n attrAbbrevs.put(abbrevName,ad);\n }\n \n if (extensions.size() > 0){\n \tfor(SchemaExtensionIF ext : extensions.values()){\n \t\text.addAttribute(ad);\n \t}\n }\n \n }" ]
[ "0.78207415", "0.78207415", "0.73777854", "0.7271241", "0.7092303", "0.694848", "0.69415146", "0.67853457", "0.6574066", "0.65476966", "0.63577056", "0.6276283", "0.62601984", "0.62358195", "0.6180343", "0.61338454", "0.6072167", "0.6014202", "0.60037863", "0.59745103", "0.5946082", "0.59375626", "0.59371877", "0.59319884", "0.59142625", "0.5912461", "0.58698714", "0.586884", "0.58625424", "0.5862415", "0.5858998", "0.5848827", "0.58217436", "0.5816298", "0.5814787", "0.5803379", "0.57918406", "0.57722175", "0.57188886", "0.5717639", "0.5698171", "0.56829387", "0.5679028", "0.56707984", "0.566856", "0.56449556", "0.5642678", "0.56337494", "0.56174743", "0.5612297", "0.55829895", "0.5576971", "0.55726737", "0.5558444", "0.554828", "0.5533362", "0.5519621", "0.55173874", "0.5507155", "0.5476593", "0.5451232", "0.5443688", "0.5427891", "0.5421693", "0.5416244", "0.5415418", "0.54070544", "0.54013807", "0.53759956", "0.53734", "0.5361167", "0.53448784", "0.5338472", "0.5329845", "0.53275067", "0.5327144", "0.53166264", "0.5305115", "0.5298999", "0.5293696", "0.52927804", "0.528539", "0.5268023", "0.5262378", "0.5259467", "0.525354", "0.52468807", "0.524488", "0.52348745", "0.5233694", "0.5224387", "0.5221583", "0.52206886", "0.5219371", "0.5218638", "0.5214153", "0.5214131", "0.52140754", "0.5209977", "0.52058697" ]
0.691275
7
/ renamed from: a
public Void execute() throws SocketTimeoutException, NetworkException, UnexpectedResponseException, SSLException { try { super.execute(); } catch (Exception e) { Log.m1919i(this.TAG, "<- call(failed) - mark it as success anyways"); } return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ access modifiers changed from: protected
public void responseReceived(int i, String str, long j, String str2) { super.responseReceived(i, str, j, str2); JumioAnalytics.add(MobileEvents.networkRequest(JumioAnalytics.getSessionId(), getClass().getName(), i, str, j)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "private abstract void privateabstract();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\n\tprotected void interr() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\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 ligar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "public void smell() {\n\t\t\n\t}", "public abstract Object mo26777y();", "protected void h() {}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "protected abstract Set method_1559();", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo70713b();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "protected Doodler() {\n\t}", "public abstract void mo27386d();", "@Override\n\tprotected void getExras() {\n\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 PropertyAccess() {\n\t\tsuper();\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "public abstract void mo56925d();", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void init() {\n }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "public abstract void mo27385c();", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n public void memoria() {\n \n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "public abstract void mo30696a();", "abstract int pregnancy();", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n public void init() {\n\n }", "@Override\n void init() {\n }", "@Override\n\tpublic void leti() \n\t{\n\t}", "private TMCourse() {\n\t}", "public abstract void mo35054b();", "@Override\n public void init() {\n }", "@Override\n\tpublic void buscar() {\n\t\t\n\t}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "public final void mo51373a() {\n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "protected FanisamBato(){\n\t}", "public abstract Object mo1771a();", "public abstract void m15813a();", "public void gored() {\n\t\t\n\t}", "@Override\n public void get() {}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@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 }", "private Get() {}", "private Get() {}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "public abstract void mo27464a();", "public abstract String mo41079d();", "@Override\n\tpublic void classroom() {\n\t\t\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\n\tpublic void verkaufen() {\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void logic() {\n\n\t}", "public abstract void mo102899a();", "@SuppressWarnings(\"unused\")\n private void _read() {\n }", "public abstract void mo42329d();", "@Override\r\n\t\t\tpublic void test() {\n\t\t\t}", "@Override\r\n \tpublic void process() {\n \t\t\r\n \t}", "public void method_4270() {}", "public abstract void mo6549b();", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void function() {\n\t\t\n\t}", "protected void init() {\n // to override and use this method\n }" ]
[ "0.7375736", "0.7042321", "0.6922649", "0.6909494", "0.68470824", "0.6830288", "0.68062353", "0.6583185", "0.6539446", "0.65011257", "0.64917654", "0.64917654", "0.64733833", "0.6438831", "0.64330196", "0.64330196", "0.64295477", "0.6426414", "0.6420484", "0.64083177", "0.6406691", "0.6402136", "0.6400287", "0.63977665", "0.63784796", "0.6373787", "0.63716805", "0.63680965", "0.6353791", "0.63344383", "0.6327005", "0.6327005", "0.63259363", "0.63079315", "0.6279023", "0.6271251", "0.62518364", "0.62254924", "0.62218183", "0.6213994", "0.6204108", "0.6195944", "0.61826825", "0.617686", "0.6158371", "0.6138765", "0.61224854", "0.6119267", "0.6119013", "0.61006695", "0.60922325", "0.60922325", "0.6086324", "0.6083917", "0.607071", "0.6070383", "0.6067458", "0.60568124", "0.6047576", "0.6047091", "0.60342956", "0.6031699", "0.6026248", "0.6019563", "0.60169774", "0.6014913", "0.6011912", "0.59969044", "0.59951806", "0.5994921", "0.599172", "0.59913194", "0.5985337", "0.59844744", "0.59678656", "0.5966894", "0.5966894", "0.5966894", "0.5966894", "0.5966894", "0.5966894", "0.59647757", "0.59647757", "0.59616375", "0.5956373", "0.5952514", "0.59497356", "0.59454703", "0.5941018", "0.5934147", "0.5933801", "0.59318185", "0.5931161", "0.5929297", "0.5926942", "0.5925829", "0.5924853", "0.5923296", "0.5922199", "0.59202504", "0.5918595" ]
0.0
-1
/ access modifiers changed from: protected / renamed from: a
public Void parseResponse(String str) { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "@Override\n\tpublic void a() {\n\t\t\n\t}", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\r\n\tpublic void a1() {\n\t\t\r\n\t}", "@Override\n\tpublic void aaa() {\n\t\t\n\t}", "@Override\n\tpublic void A() {\n\t\t\n\t}", "@Override\n\tpublic void A() {\n\t\t\n\t}", "@Override\n protected void prot() {\n }", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public abstract String a();", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "public void a() {\r\n }", "public void a() {\n ((a) this.a).a();\n }", "@Override\n public void b() {\n }", "public abstract void m15813a();", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "public abstract void mo70713b();", "private abstract void privateabstract();", "public final /* bridge */ /* synthetic */ void mo43566a() {\n super.mo43566a();\n }", "public abstract void mo27464a();", "public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }", "public abstract Object mo26777y();", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "public abstract Object mo1771a();", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void b() {\n\n\t}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "public void a() {\n }", "public void a() {\n }", "private stendhal() {\n\t}", "public void b() {\r\n }", "public abstract void mo30696a();", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "public abstract void mo102899a();", "public abstract void mo3994a();", "public final void mo51373a() {\n }", "public abstract T a();", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public static void a() {\n\n }", "public void mo38117a() {\n }", "public int a()\r\n/* 64: */ {\r\n/* 65:70 */ return this.a;\r\n/* 66: */ }", "public abstract void mo27386d();", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "public abstract void mo4359a();", "public void m23075a() {\n }", "public void b() {\n }", "public void b() {\n }", "public abstract int a();", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "void m1864a() {\r\n }", "public abstract void afvuren();", "public abstract void mo27385c();", "@Override\n public void perish() {\n \n }", "public abstract void mo56925d();", "protected void h() {}", "protected b(int mb) {\n/* 87 */ this.b = mb;\n/* */ }", "public interface AbstractC10485b {\n /* renamed from: a */\n void mo64153a(boolean z);\n }", "public abstract void mo35054b();", "public String i() {\n/* 44 */ return this.a.toString();\n/* */ }", "public abstract void mo53562a(C18796a c18796a);", "@Override // g.i.a.a\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public void a(android.view.View r18, android.content.Context r19, android.database.Cursor r20) {\n /*\n // Method dump skipped, instructions count: 441\n */\n throw new UnsupportedOperationException(\"Method not decompiled: g.b.g.t0.a(android.view.View, android.content.Context, android.database.Cursor):void\");\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}", "public abstract void alimentarse();", "public void mo4359a() {\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public abstract String mo118046b();", "protected void a(dh paramdh) {}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public abstract void mo45765b();", "public abstract BoundType a();", "public void mo2740a() {\n }", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public static a c() {\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "public void a(ik paramik)\r\n/* 59: */ {\r\n/* 60:66 */ paramik.a(this);\r\n/* 61: */ }", "public int b()\r\n/* 45: */ {\r\n/* 46: 58 */ g();\r\n/* 47: */ \r\n/* 48: 60 */ return super.b();\r\n/* 49: */ }", "public Set a()\r\n/* 44: */ {\r\n/* 45: 47 */ return this.e;\r\n/* 46: */ }", "public abstract Object mo1185b();", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "public void mo9848a() {\n }", "private final void i() {\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public abstract void mo6549b();", "public void mo6944a() {\n }", "public void mo12930a() {\n }", "public abstract void a(StringBuilder sb);", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "public abstract void mo1184a(Object obj);", "public static void main(String[] args) {\r\n\t\t//A obj = new A(); //A cannot be resolved to a type...try to access the class A method in thz class -- error \r\n\t // obj.i = 80; //here..The field A.i is not visible...it, allow as to create the object, but still it is not allow as to access thev & m, bcoz if we dont specify anything-- default(V & M) so it only accessible within the package.\r\n\t\r\n\t // obj.j = 90; //The field A.j is not visible -- error, cant access since it is protected.\r\n\t // obj.flow(); //The method flow() from the type A is not visible, cant access since it is protected.\r\n\t \r\n\t B obj1 = new B(); //extended class A, so we can access its V and M here.\r\n\t obj1.j = 70;\r\n\t obj1.flow();\r\n\t \r\n\t A obj3 = new A(); // here no need to extend class A , just create obj for A class and access it, bcoz it is \"public\".\r\n\t obj3.D = 100;\r\n\t obj3.sub();\r\n\t}", "public void mo21825b() {\n }", "public abstract boolean a();", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }" ]
[ "0.75487316", "0.731168", "0.7175719", "0.6922765", "0.68436205", "0.6787446", "0.6737766", "0.6661239", "0.6636431", "0.6636431", "0.6555339", "0.6541811", "0.6538689", "0.65002376", "0.6497996", "0.64969236", "0.64871234", "0.6476728", "0.64667493", "0.64036006", "0.63931525", "0.63856524", "0.63791037", "0.63593316", "0.63581675", "0.63453025", "0.63424516", "0.6338146", "0.63204646", "0.6308004", "0.6305317", "0.6305317", "0.62958705", "0.6289201", "0.6280863", "0.6278262", "0.6277512", "0.62720317", "0.62623644", "0.62617236", "0.6254367", "0.62469125", "0.6240945", "0.6226048", "0.6203596", "0.6189099", "0.61840934", "0.6180698", "0.6169183", "0.61648476", "0.61590874", "0.61590874", "0.6155061", "0.6151444", "0.614403", "0.61081874", "0.6106029", "0.6105171", "0.61041397", "0.6099732", "0.6087583", "0.6085645", "0.607872", "0.605797", "0.6056321", "0.6046264", "0.6044963", "0.6044963", "0.6043453", "0.6043104", "0.6041885", "0.6018121", "0.6006484", "0.6002215", "0.59858876", "0.5977397", "0.5970058", "0.5966793", "0.59658545", "0.59580624", "0.59548897", "0.5947667", "0.5945132", "0.5944551", "0.5933467", "0.5932705", "0.5932395", "0.59312475", "0.5930369", "0.59246856", "0.5922754", "0.5918036", "0.5917389", "0.5916095", "0.591555", "0.59140605", "0.5898657", "0.58981496", "0.5893172", "0.58924115", "0.58912045" ]
0.0
-1
/ access modifiers changed from: protected
public void prepareData() throws Exception { for (int i = 0; i < this.f4804b.length; i++) { try { byte[] readFile = FileUtil.readFile(this.f4804b[i]); addPart(new String[]{String.format("Content-Disposition: form-data; name=\"%s_%d\"; filename=\"%s_%d.jpg\"", new Object[]{this.f4803a, Integer.valueOf(i), this.f4803a, Integer.valueOf(i)}), "Content-Type: image/webp", String.format("Content-Length: %d", new Object[]{Integer.valueOf(readFile.length)})}, readFile); } catch (IOException e) { } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "private abstract void privateabstract();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\n\tprotected void interr() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\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 ligar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "public void smell() {\n\t\t\n\t}", "public abstract Object mo26777y();", "protected void h() {}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "protected abstract Set method_1559();", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo70713b();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "protected Doodler() {\n\t}", "public abstract void mo27386d();", "@Override\n\tprotected void getExras() {\n\n\t}", "private PropertyAccess() {\n\t\tsuper();\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 gravarBd() {\n\t\t\n\t}", "public abstract void mo56925d();", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void init() {\n }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "public abstract void mo27385c();", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n public void memoria() {\n \n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\n\tpublic void dosomething() {\n\t\t\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 someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "public abstract void mo30696a();", "abstract int pregnancy();", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n public void init() {\n\n }", "@Override\n void init() {\n }", "private TMCourse() {\n\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "public abstract void mo35054b();", "@Override\n public void init() {\n }", "@Override\n\tpublic void buscar() {\n\t\t\n\t}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "public final void mo51373a() {\n }", "protected FanisamBato(){\n\t}", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public abstract Object mo1771a();", "public abstract void m15813a();", "public void gored() {\n\t\t\n\t}", "@Override\n public void get() {}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@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 }", "private Get() {}", "private Get() {}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "public abstract void mo27464a();", "public abstract String mo41079d();", "@Override\n\tpublic void classroom() {\n\t\t\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\n\tpublic void verkaufen() {\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void logic() {\n\n\t}", "public abstract void mo102899a();", "@SuppressWarnings(\"unused\")\n private void _read() {\n }", "public abstract void mo42329d();", "@Override\r\n\t\t\tpublic void test() {\n\t\t\t}", "@Override\r\n \tpublic void process() {\n \t\t\r\n \t}", "public void method_4270() {}", "public abstract void mo6549b();", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void function() {\n\t\t\n\t}", "public abstract String mo118046b();" ]
[ "0.7375753", "0.70422196", "0.69218373", "0.6907941", "0.6845266", "0.68283623", "0.6805162", "0.6583373", "0.653852", "0.6502129", "0.64900213", "0.64900213", "0.6471215", "0.64374804", "0.6431033", "0.6431033", "0.6428289", "0.642479", "0.6418873", "0.6408808", "0.64064246", "0.640091", "0.6398117", "0.6396769", "0.6377154", "0.6372881", "0.6369695", "0.6368137", "0.63534576", "0.6333043", "0.6326126", "0.6325513", "0.6325513", "0.63066554", "0.62787277", "0.6269985", "0.625052", "0.6224119", "0.62204254", "0.62121165", "0.62034416", "0.61941797", "0.6181475", "0.6174925", "0.61564684", "0.6138104", "0.6121731", "0.6117384", "0.6117199", "0.6099986", "0.6091472", "0.6091472", "0.6085913", "0.6083331", "0.60692644", "0.60691506", "0.6066105", "0.6055429", "0.6047306", "0.60462093", "0.603377", "0.6030286", "0.6024605", "0.6019224", "0.6015516", "0.601394", "0.6010502", "0.5995337", "0.5994722", "0.59936255", "0.5991915", "0.599084", "0.5983936", "0.59831923", "0.5966883", "0.596561", "0.596561", "0.596561", "0.596561", "0.596561", "0.596561", "0.59647095", "0.59647095", "0.5960105", "0.5956097", "0.59525925", "0.59490395", "0.5944818", "0.5939594", "0.5932698", "0.5931743", "0.59312844", "0.5930128", "0.59287107", "0.59255075", "0.5923454", "0.59233445", "0.59223646", "0.5920706", "0.59187156", "0.59181005" ]
0.0
-1
/ If readLatest then next version to read is version + 1. Producer doesn't know weather the version + 1 exists or not. That check is performed in DeltaMetadataFetchJob
public boolean hasNext() { if(readLatest) { return true; } /* If readLatest is false versions are moving backwards. The smallest version to read is 0. */ if(version >= 0) { return true; } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getNextVersion() {\n return emlVersion + 1;\n }", "private Integer getNextRevisionVersion(Integer curVersion) {\n\n if (curVersion == null) {\n return IntDef.INT_ONE;\n }\n return curVersion + IntDef.INT_ONE;\n }", "@Test\n void testUpdateWhenLatestChanges() throws Exception {\n\n startMetadataTestServer(RC2);\n\n // Make the initial latestVersion call and validate the result\n\n assertInitialLatestVersionRequestPerformsUpdate(0, NANOSECONDS, VERSION_RC2, RC2_ETAG, false);\n\n // Now get the properties again and make sure we skip the zip download but still updated the latest version.\n // Note that the update is forced here because we used a zero frequency.\n\n LOG_RECORDER.clear();\n assertThat(meta.propertiesOf(latestVersion), is(not(nullValue())));\n assertLinesContainingAll(1, \"not modified\", RC2 + \"/\" + CLI_DATA_FILE_NAME);\n assertLinesContainingAll(1, \"updated\", RC2_LAST_UPDATE, \"etag \" + RC2_ETAG);\n assertLinesContainingAll(1, \"downloading\", LATEST_FILE_NAME);\n assertLinesContainingAll(1, \"connected\", LATEST_FILE_NAME);\n assertLinesContainingAll(1, \"wrote\", LATEST_FILE_NAME);\n\n // Now change the result of /latest and validate the result\n\n LOG_RECORDER.clear();\n Plugins.reset(true);\n testServer.latest(TestVersion.RC1);\n assertInitialLatestVersionRequestPerformsUpdate(0, NANOSECONDS, VERSION_RC1, RC1_ETAG, true);\n }", "boolean hasGetLatestReading();", "public Version getNext(){\n\t\treturn next;\n\t}", "protected void checkLatestVersion() throws ReadonlyVersionException {\r\n final String thisVersion = getContentModel().getVersionNumber();\r\n if (thisVersion != null && !thisVersion.equals(getContentModel().getLatestVersionNumber())) {\r\n throw new ReadonlyVersionException(\"Only latest version can be modified.\");\r\n }\r\n }", "public boolean isLatest() {\n return latest;\n }", "public int nextVersion() {\n int version = 1;\n File symLink = new File(parent + \"/\" + symbolic);\n if (!symLink.exists()) {\n String absPath = null;\n try {\n absPath = symLink.getCanonicalPath();\n } catch (IOException e) {\n LOG.error(\"Can't get canonical path of \" + parent + \"/\" + symbolic, e);\n absPath = symLink.getAbsolutePath();\n }\n String vStr = CacheDirectory.getCacheVersion(absPath);\n try {\n version = Integer.parseInt(vStr) + 1;\n } catch(NumberFormatException e) {\n LOG.error(\"Can't get version number of \" + absPath);\n } \n }\n return version;\n }", "@Override\n\tpublic boolean getCheckOlderVersion()\n\t{\n\t\treturn false;\n\t}", "public V getLatest() {\n return lastItemOfList(versions);\n }", "private Integer getNextOriginalVersion(Integer kanbanId) {\n\n super.baseDao.flush();\n DailyAdjustKanbanEntity condition = new DailyAdjustKanbanEntity();\n condition.setKanbanId(kanbanId);\n List<DailyAdjustKanbanEntity> result = super.baseMapper.select(getSqlId(SQLID_FIND_MAX_ORIGINAL_VERSION),\n condition);\n if (result.size() > 0) {\n return result.get(0).getOriginalVersion() + IntDef.INT_ONE;\n }\n\n return IntDef.INT_ONE;\n }", "public CachetVersion getVersion() {\n JsonNode rootNode = get(\"version\");\n CachetVersion version = CachetVersion.parseRootNode(rootNode);\n\nSystem.out.println(\"SSDEDBUG: version = \" + version.getVersion() + \" (latest=\" + version.isLatest() + \")\");\n return version;\n }", "int getCurrentVersion();", "public boolean isLastVersion();", "public int getVersion() { return 1; }", "public boolean isFirstVersion();", "public Long readLatestVersionId(final Artifact artifact);", "public boolean hasGetLatestReading() {\n return getLatestReadingBuilder_ != null || getLatestReading_ != null;\n }", "@Override\n\tpublic String findLatestVersion(String curversion) {\n\t\treturn versionDao.findLatestVersion(curversion);\n\t}", "public void checkForUpdate(String currentVersion);", "private boolean compareAndSet(long version, V newValue) {\n VersionedValue<V> result =\n versionedValue.updateAndGet(prev -> prev.getVersion()==version ?\n new VersionedValue<>(prev.getVersion() + 1, newValue) : prev);\n return result.getVersion()!=version;\n }", "public boolean hasGetLatestReading() {\n return getLatestReading_ != null;\n }", "default boolean doesUpdateExist(String version) {\n return !getLatestVersion().getVersion().equals(version);\n }", "public RelationalStatus checkCurrentVersion() {\n try {\n\n BufferedReader in = new BufferedReader(\n new InputStreamReader(url.openStream()));\n\n String inputLine;\n while ((inputLine = in.readLine()) != null) {\n String[] ver = inputLine.split(\"\\\\.\");\n RelationalStatus rs = compareVersions(ver[0], ver[1], ver[2].split(\"-\")[0]);\n if (rs == RelationalStatus.BEHIND) {\n log.log(Level.WARNING, \"[Updater] +------------------------------------------------+\");\n log.log(Level.WARNING, \"[Updater] You are running an outdated version of the plugin!\");\n log.log(Level.WARNING, \"[Updater] Most recent stable version: \" + inputLine);\n log.log(Level.WARNING, \"[Updater] Current version: \" + getVersion());\n log.log(Level.WARNING, \"[Updater] Please update from: \");\n log.log(Level.WARNING, \"[Updater] https://www.spigotmc.org/resources/tradeshop.32762/\");\n log.log(Level.WARNING, \"[Updater] +------------------------------------------------+\");\n in.close();\n return RelationalStatus.BEHIND;\n } else if (rs == RelationalStatus.AHEAD) {\n log.log(Level.WARNING, \"[Updater] +-----------------------------------------------------+\");\n log.log(Level.WARNING, \"[Updater] You are running a developmental version of the plugin!\");\n log.log(Level.WARNING, \"[Updater] Most recent stable version: \" + inputLine);\n log.log(Level.WARNING, \"[Updater] Current version: \" + getVersion());\n log.log(Level.WARNING, \"[Updater] Please notice that the build may contain critical bugs!\");\n log.log(Level.WARNING, \"[Updater] +-----------------------------------------------------+\");\n in.close();\n return RelationalStatus.AHEAD;\n } else {\n log.log(Level.INFO, \"[Updater] You are running the latest version of the plugin!\");\n in.close();\n return RelationalStatus.UP_TO_DATE;\n }\n }\n } catch (Exception e) {\n e.printStackTrace();\n log.log(Level.WARNING, \"[Updater] +----------------------------------------------------+\");\n log.log(Level.WARNING, \"[Updater] Could not establish a connection to check for updates!\");\n log.log(Level.WARNING, \"[Updater] Current version: \" + getVersion());\n log.log(Level.WARNING, \"[Updater] Please check for new updates from: \");\n log.log(Level.WARNING, \"[Updater] https://www.spigotmc.org/resources/tradeshop.32762/\");\n log.log(Level.WARNING, \"[Updater] +----------------------------------------------------+\");\n }\n return RelationalStatus.UNKNOWN;\n }", "public void incrementVersion() {\n this.version++;\n }", "public int getLastVersion() {\n return emlVersion - 1;\n }", "public boolean hasOldVersionNumber() {\n return (getVersionNumber() < CURRENT_VERSION_NO);\n }", "public void incrementVersion() {\n this.version += 1;\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 }", "ArtifactIdentifier getLatestVersion();", "private org.eclipse.aether.version.Version getLastVersion()\n\t\t\tthrows MojoExecutionException {\n\n\t\t// build the artifact description with version range from 0 up to (non\n\t\t// inclusive) current version\n\n\t\tString artifactDescription = ARTIFACT_DESCRIPTION.replace(\"groupId\",\n\t\t\t\tgroupId);\n\t\tartifactDescription = artifactDescription.replace(\"artifactId\", name);\n\t\tartifactDescription = artifactDescription.replace(\"version\", version);\n\n\t\tArtifact artifact = new DefaultArtifact(artifactDescription);\n\t\tgetLog().info(\n\t\t\t\tString.format(\"searching for artifacts in range %s\",\n\t\t\t\t\t\tartifactDescription));\n\t\tVersionRangeRequest rangeRequest = new VersionRangeRequest();\n\t\trangeRequest.setArtifact(artifact);\n\t\trangeRequest.setRepositories(projectRepos);\n\n\t\tVersionRangeResult rangeResult;\n\t\ttry {\n\t\t\trangeResult = repoSystem.resolveVersionRange(repoSession,\n\t\t\t\t\trangeRequest);\n\t\t\tList<org.eclipse.aether.version.Version> versions = rangeResult\n\t\t\t\t\t.getVersions();\n\t\t\tgetLog().debug(\n\t\t\t\t\tString.format(\"found versions %s\",\n\t\t\t\t\t\t\trangeResult.getVersions()));\n\t\t\t// could not find a previous version\n\t\t\tif (versions.isEmpty()) {\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\torg.eclipse.aether.version.Version lastVersion = versions\n\t\t\t\t\t.get(versions.size() - 1);\n\t\t\tgetLog().debug(String.format(\"previous version is %s\", lastVersion));\n\t\t\treturn lastVersion;\n\n\t\t} catch (VersionRangeResolutionException e) {\n\t\t\tthrow new MojoExecutionException(\"could not calculate versions\", e);\n\t\t}\n\n\t}", "Long getVersion();", "public void setLatest(boolean latest) {\n this.latest = latest;\n }", "protected ValueVersion getLastChunk() {\n\n if (numChunks < 0) {\n throw new IllegalStateException(\"Chunk count is unknown:\" +\n numChunks);\n }\n\n if (numChunks == 0) {\n return null;\n }\n\n final long superChunkId = ((numChunks - 1) / chunksPerPartition) + 1;\n final long chunkId = ((numChunks - 1) % chunksPerPartition) + 1;\n\n final Key lastChunkKey =\n chunkKeyFactory.create(internalLOBKey, superChunkId, chunkId);\n\n return kvsImpl.get(lastChunkKey, Consistency.ABSOLUTE,\n chunkTimeoutMs, TimeUnit.MILLISECONDS);\n }", "public abstract int getVersion();", "public void downloadVersionNotes(String currentVersion) throws IOException {\n setUpdateLevel(UPDATE_ERROR); // So if something goes wrong, it's at this error level\n URLConnection inputConnection;\n InputStream textInputStream;\n BufferedReader myReader;\n URL patchNotesURL = new URL(PATCH_NOTES_LINK);\n inputConnection = patchNotesURL.openConnection();\n textInputStream = inputConnection.getInputStream();\n myReader = new BufferedReader(new InputStreamReader(textInputStream));\n String line;\n String lineSeparator = System.getProperty(\"line.separator\", \"\\n\");\n StringBuilder allText = new StringBuilder();\n boolean versionFound = false;\n while ((line = myReader.readLine()) != null) {\n line = line.trim();\n if (line.contains(\"~~~\" + currentVersion + \"~~~\")) {\n setUpdateLevel(UPDATE_NONE);\n versionFound = true;\n }\n if (line.startsWith(\"TOKEN:\")) {\n String d = line.substring(6).toUpperCase();\n if (d.startsWith(\"UPDATETYPE:\")) {\n if (!versionFound) {\n String load = d.substring(11);\n switch (load) {\n case \"BETA\":\n setUpdateLevel(UPDATE_BETA);\n break;\n case \"UPDATE\":\n setUpdateLevel(UPDATE_MINOR);\n break;\n case \"MAJORUPDATE\":\n setUpdateLevel(UPDATE_MAJOR);\n break;\n case \"INVALIDUPDATE\": // Token should be at EOF for all PatchNotes\n setUpdateLevel(UPDATE_NOT_FOUND);\n break;\n default:\n System.out.println(\"Unknown updateType token: \" + load);\n break;\n }\n }\n } else {\n System.out.println(\"Unknown token: \" + d);\n }\n } else {\n allText.append(line);\n allText.append(lineSeparator);\n }\n }\n versionNotes = allText.toString().trim();\n System.out.println(\"Finished loading version notes.\");\n myReader.close();\n }", "org.naru.park.ParkController.CommonAction getGetLatestReading();", "long getVersion();", "long getVersion();", "long getVersion();", "long getVersion();", "@Override\n \tpublic long getLatestSequenceNumber() {\n \t\tsharedLock.lock();\n \t\ttry {\n \t\t\treturn sequenceNumber;\n \t\t} finally {\n \t\t\tsharedLock.unlock();\n \t\t}\n \t}", "protected Version updateMetadata(Version version) {\n\n final Value propsArray = lobProps.serialize();\n\n final ReturnValueVersion prevValueVersion =\n new ReturnValueVersion(Choice.VERSION);\n\n final Version storedVersion =\n kvsImpl.putIfVersion(internalLOBKey, propsArray,\n version,\n prevValueVersion,\n lobDurability,\n chunkTimeoutMs, TimeUnit.MILLISECONDS);\n\n /*\n * Take this opportunity to perform checks for any concurrent\n * modifications.\n */\n if (storedVersion == null) {\n /* Update failed. */\n if (prevValueVersion.getVersion() == null) {\n throw new ConcurrentModificationException(\"LOB was deleted: \" +\n internalLOBKey);\n }\n throw new ConcurrentModificationException\n (\"LOB was updated concurrently\");\n }\n\n return storedVersion;\n }", "long getCurrentRevision();", "public boolean isNewerVersionAvailable() {\n\t\tString url = \"https://raw.githubusercontent.com/kleekru/RoboTarPC/master/currentversion\";\n\t\tLOG.info(\"checking for new version at address: {}\", url);\n\t\tthis.remoteVersion = getRemoteVersion(url);\n\t\treturn isNewerVersion(remoteVersion);\n\t}", "public long getVersion(){\n return localVersion;\n }", "String getLatestVersion(long padId);", "protected ValueVersion setupForResume(Version metadataVersion)\n throws IOException {\n\n numChunks = computeNumChunks();\n\n if (numChunks == 0) {\n lobSize = 0;\n return null;\n }\n\n final ValueVersion lastChunkVV = getLastChunk();\n final int lastChunkLength =\n (lastChunkVV == null) ? 0 :\n lastChunkVV.getValue().getValue().length;\n\n lobSize = ((numChunks - 1) * chunkSize) + lastChunkLength;\n verifyTrailingBytes(metadataVersion);\n\n return lastChunkVV;\n }", "@Override\r\n public void setMaxVersions(int parseInt) {\n\r\n }", "@Override\n public void upgrade() {\n log.trace(\">upgrade\");\n if (Float.compare(LATEST_VERSION, getVersion()) != 0) {\n // Does nothing currently\n data.put(VERSION, new Float(LATEST_VERSION));\n }\n log.trace(\"<upgrade\");\n }", "public Document getLatestVersion(boolean major) {\n throw new UnsupportedOperationException();\n }", "@Override\n public HashedVersion getEndVersion() {\n return getSnapshot().getHashedVersion();\n }", "public int promoteVersion() {\n return dbVersion.incrementAndGet();\n }", "protected static void getLatestPack() {\n\t\tSystem.out.println(\"Getting Latest Pack Version Link...\");\n\t\ttempPackURL = ConfigHandler.packLatestLink;\n\t\tSystem.out.println(\"Link Found!\");\n\t}", "long currentRevision();", "Integer getVersion();", "@java.lang.Override\n public long getVersion() {\n return version_;\n }", "long getValueReferenceAndVersion(int entryIndex, int[] version) {\n long valueReference;\n int v;\n do {\n v = getValueVersion(entryIndex);\n valueReference = getValueReference(entryIndex);\n } while (v != getValueVersion(entryIndex));\n version[0] = v;\n return valueReference;\n }", "public int getCurrentVersion() {\n return currentVersion_;\n }", "public boolean hasNewVersion() {\n String newVersion = newVersionName();\r\n if(TextUtils.isEmpty(newVersion)) {\r\n return false;\r\n }\r\n\r\n if(newVersion.indexOf('.') == -1) {\r\n return false;\r\n }\r\n String[] newVerNums = newVersion.split(\"\\\\.\");\r\n if(newVerNums.length != 2) {\r\n return false;\r\n }\r\n\r\n int newMajorVersion = 0;\r\n try {\r\n newMajorVersion = Integer.valueOf(newVerNums[0]);\r\n } catch (NumberFormatException e) {\r\n e.printStackTrace();\r\n return false;\r\n }\r\n\r\n int newMinorVersion = 0;\r\n\r\n try {\r\n newMinorVersion = Integer.valueOf(newVerNums[1]);\r\n } catch (NumberFormatException e) {\r\n e.printStackTrace();\r\n return false;\r\n }\r\n\r\n if(newMajorVersion > mMajorVersion) {\r\n Log.i(LOG_TAG, \"find new major version update + \" + newVersionUrl());\r\n return true;\r\n } else if(newMajorVersion == mMajorVersion) {\r\n if(newMinorVersion > mMinorVersion) {\r\n Log.i(LOG_TAG, \"find new minor version update + \" + newVersionUrl());\r\n return true;\r\n }\r\n }\r\n Log.i(LOG_TAG, \"no new version found.\");\r\n\r\n return false;\r\n }", "public void setReadLatestOfTable()\n {\n \t m_acl = \tm_acl | (1<<5);\n }", "@Override\n\t\t\t\t\tpublic void onUpdateFound(boolean newVersion, String whatsNew) {\n\t\t\t\t\t}", "public static long mintANewVersion() {\n SimpleDateFormat dateFormat = new SimpleDateFormat(\"yyyyMMddHHmmss\");\n dateFormat.setTimeZone(TimeZone.getTimeZone(\"UTC\"));\n String formattedDate = dateFormat.format(new Date());\n\n String versionStr = formattedDate + String.format(\"%03d\",versionCounter.incrementAndGet() % 1000);\n\n return Long.parseLong(versionStr);\n }", "protected FormatVersion<TargetType, ReaderType> version(int version) {\n FormatVersion<TargetType, ReaderType> v = this.versions[version];\n if (v == null) {\n v = new FormatVersion<>(version);\n this.versions[v.getVersion()] = v;\n }\n\n return v;\n }", "@Test\n public void testCanRun() {\n final int oldestSupported = AccumuloDataVersion.ROOT_TABLET_META_CHANGES;\n final int currentVersion = AccumuloDataVersion.get();\n IntConsumer shouldPass = ServerContext::ensureDataVersionCompatible;\n IntConsumer shouldFail = v -> assertThrows(IllegalStateException.class,\n () -> ServerContext.ensureDataVersionCompatible(v));\n IntStream.rangeClosed(oldestSupported, currentVersion).forEach(shouldPass);\n IntStream.of(oldestSupported - 1, currentVersion + 1).forEach(shouldFail);\n }", "@SuppressWarnings(\"unused\")\n private static boolean buildingToPreviousVersion(DdlVersionBean ddlVersionBean) {\n int buildingToVersion = ddlVersionBean.getBuildingToVersion();\n \n boolean buildingToPreviousVersion = GrouperDdl.V44.getVersion() > buildingToVersion;\n\n return buildingToPreviousVersion;\n }", "long getVersionNumber();", "private void checkUpdateAvailability() {\n\t\t\n\t\t// Grab the data from the device and manifest\n\t\tString currentVersion = Utils.getProp(\"ro.ota.version\");\n\t\tcurrentVersion = currentVersion.replaceAll(\"[^0-9]\", \"\"); // Strip anyhting not a number\n\t\tString manifestVer = results.getVersion();\n\t\tmanifestVer = manifestVer.replaceAll(\"[^0-9]\", \"\");\n\n\t\t// Parse ints\n\t\tint manifestNumber = Integer.parseInt(manifestVer);\n\t\tint currentNumber = Integer.parseInt(currentVersion);\n\t\t\n\t\t// Pad out to be at least 5 digits long\n\t\t// That way, 1.2 shows bigger than 1.1.1\n\t\t// Because 12000 > 11100\n\t\t// Without this it would show 12 > 111\n\t\tif(manifestVer.length() <= 2){\n\t\t\tmanifestNumber *= 1000;\n\t\t} else if(manifestVer.length() <= 3) {\n\t\t\tmanifestNumber *= 100;\n\t\t} else if(manifestVer.length() <= 4) {\n\t\t\tmanifestNumber *= 10;\n\t\t}\n\t\t\n\t\t// Same again\n\t\tif(currentVersion.length() <= 2){\n\t\t\tcurrentNumber *= 1000;\n\t\t} else if(currentVersion.length() <= 3) {\n\t\t\tcurrentNumber *= 100;\n\t\t} else if(currentVersion.length() <= 4) {\n\t\t\tcurrentNumber *= 10;\n\t\t}\n\t\t\n\t\t// Set pref\n\t\tPreferences.setUpdateAvailable(mContext, manifestNumber > currentNumber);\n\t}", "@Override\n\tpublic boolean supportsVersioning()\n\t{\n\t\treturn true;\n\t}", "protected ByteStringMessage<ProtocolAppliedWaveletDelta> lookupAppliedDelta(\n HashedVersion version) {\n return appliedDeltas.floor(emptyAppliedDeltaAtVersion(version.getVersion()));\n }", "private ProxyDatasetHandler readDatasetScanAddLatest( Element simpleLatestElem, InvCatalogImpl catalog )\r\n {\r\n // Default values is simpleLatestElem is null.\r\n ProxyDatasetHandler latestAdder = null;\r\n String latestName = \"latest.xml\";\r\n boolean latestOnTop = true;\r\n String latestServiceName = \"latest\";\r\n boolean isResolver = true;\r\n\r\n // If simpleLatestElem exists, read values.\r\n if ( simpleLatestElem != null )\r\n {\r\n // Get latest name.\r\n String tmpLatestName = simpleLatestElem.getAttributeValue( \"name\" );\r\n if ( tmpLatestName != null )\r\n latestName = tmpLatestName;\r\n\r\n // Does latest go on top or bottom of list.\r\n Attribute topAtt = simpleLatestElem.getAttribute( \"top\" );\r\n if ( topAtt != null )\r\n {\r\n try\r\n {\r\n latestOnTop = topAtt.getBooleanValue();\r\n }\r\n catch ( DataConversionException e )\r\n {\r\n latestOnTop = true;\r\n }\r\n }\r\n\r\n // Get the latest service name.\r\n String tmpLatestServiceName = simpleLatestElem.getAttributeValue( \"serviceName\" );\r\n if ( tmpLatestServiceName != null )\r\n latestServiceName = tmpLatestServiceName;\r\n\r\n // Get isResolver.\r\n String isResolverString = simpleLatestElem.getAttributeValue( \"isResolver\" );\r\n if ( isResolverString != null )\r\n if ( isResolverString.equalsIgnoreCase( \"false\" ) )\r\n isResolver = false;\r\n }\r\n\r\n // Build the SimpleLatestProxyDsHandler\r\n InvService service = catalog.findService( latestServiceName );\r\n if ( service == null )\r\n logger.warn( \"readDatasetScanAddLatest(): named service <\" + latestServiceName + \"> not found.\" );\r\n else\r\n latestAdder = new SimpleLatestProxyDsHandler( latestName, latestOnTop, service, isResolver );\r\n\r\n return latestAdder;\r\n }", "public Date getLatestProkaryoteUpdate() {\n return getLatestUpdate(namespace + \".genome_prok\");\n }", "org.naru.park.ParkController.CommonActionOrBuilder getGetLatestReadingOrBuilder();", "@java.lang.Override\n public long getVersion() {\n return instance.getVersion();\n }", "@Override\n public SourceVersion getSupportedSourceVersion() {\n\tSourceVersion cversion = super.getSupportedSourceVersion();\n\tSourceVersion version = SourceVersion.latest();\n\treturn (cversion.ordinal() > version.ordinal())? cversion: version;\n }", "@SuppressWarnings(\"unused\")\n private Long getVersion() {\n return version;\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 }", "public boolean newer(KernelVersion kv)\n {\n if (version > kv.version)\n return true;\n else if (version < kv.version)\n return false;\n if (patchLevel > kv.patchLevel)\n return true;\n else if (patchLevel < kv.patchLevel)\n return false;\n if (subLevel > kv.subLevel)\n return true;\n else if (subLevel < kv.subLevel)\n return false;\n if (isFedora && kv.isFedora)\n {\n\tif (fedoraRelease > kv.fedoraRelease)\n\t return true;\n\telse\n\t return false;\n }\n else if (isVanilla && kv.isVanilla)\n {\n\treturn extraLevel > kv.extraLevel;\n }\n else\n {\n\t// Can't tell\n\treturn false;\n }\n }", "public int getCurrentVersion() {\n return currentVersion_;\n }", "boolean hasCurrentVersion();", "public boolean canReadLatestOfTable()\n {\n \t \treturn getAccessBit(5);\n }", "@java.lang.Override\n public com.google.cloud.datafusion.v1beta1.Version getAvailableVersion(int index) {\n return availableVersion_.get(index);\n }", "public int getVersion() {\n return (buffer.get(0) & 0xC0) >> 6;\n }", "T latest();", "public boolean fetchNext(Transaction trans, DatasetCursor cursor,\n DBObject obj, Filter filter, boolean forUpdate)\n throws StorageException, LockConflict {\n Rowid rowid = cursor.getRowid();\n int index = rowid.getIndex();\n\n while (true) {\n ++index;\n\n if (index < 0 || index >= dir.getCount())\n return false;\n\n rowid.setIndex((short) index);\n\n if (_read(trans, obj, index, forUpdate, filter))\n return true;\n }\n }", "private void checkHighVersion2() throws Exception {\n\t\tBigDecimal version = editData.getVersion();\r\n\t\tString versionGroup = editData.getVersionGroup();\r\n\t\t//String oql = \"where version = '\".concat(version.toString()).concat(\"' and versionGroup = '\").concat(versionGroup).concat(\"'\");\r\n\t\tString oql = \"where version > \".concat(version.toString()).concat(\" and versionGroup = '\").concat(versionGroup).concat(\"'\");\r\n\t\t/* modified by zhaoqin for R140507-0295 on 2014/05/14 end */\r\n\t\t\r\n\t\tif (getBizInterface().exists(oql)) {\r\n\t\t\tthrow new EASBizException(new NumericExceptionSubItem(\"1\", \"存在更高版本不能进行此操作\"));\r\n\t\t}\r\n\t}", "public long latestVersion(String namespace, String id) throws StageException;", "@Override\r\n\tpublic int getVersion() {\n\t\treturn 0;\r\n\t}", "public int getDeltaNumForNextWatermark();", "Article findLatestArticle();", "@Override\n public void updateToNextDoc() {\n if(idx < postingList.size())\n idx += postingList.get(idx+1)+2;\n }", "int getLatestCopyNo(int materialID)\n throws SQLException, NoSuchElementException;", "private int getNextUpdateKey() {\n synchronized (monitor) {\n if (lobbyUpdates.size() == 0) {\n return 1;\n }\n return lobbyUpdates.lastKey() + 1;\n }\n }", "@Test\n public void testFindLatest() {\n Calendar calendar = Calendar.getInstance();\n StatusUpdate lastStatusUpdate = null;\n for (int i = 0; i < 10; i++) {\n calendar.add(Calendar.DAY_OF_YEAR, 1);\n StatusUpdate status = new StatusUpdate(\"Status Update\" + i, calendar.getTime());\n statusUpdateDao.save(status);\n lastStatusUpdate = status;\n }\n StatusUpdate retrieved = statusUpdateDao.findFirstByOrderByAddedDesc();\n assertEquals(\"Latest status update \", lastStatusUpdate, retrieved);\n }", "public interface CheckStorageService {\n Date latestVersion();\n}", "int getNextProcessor(Job newJob) {\n if (Tasks[newJob.identifier].fixed == true) {\r\n return (0);\r\n\r\n } else {\r\n\r\n int processor = 0;\r\n int identifier = newJob.identifier;\r\n double tempLag = -10; //needs to be big at first, so that it chooses the \r\n\r\n for (int i = 0; i < this.Tasks[newJob.identifier].numMigrations; i++) {\r\n \r\n this.Tasks[identifier].lag[this.Tasks[identifier].index[i]] = this.Tasks[identifier].lag[this.Tasks[identifier].index[i]]+ this.Tasks[identifier].f[this.Tasks[identifier].index[i]];\r\n double tempLag2 = this.Tasks[identifier].lag[this.Tasks[identifier].index[i]];\r\n\r\n if (tempLag2 > tempLag) { //tempLag will be 0 the first time, and thus smaller\r\n tempLag = tempLag2;\r\n processor = i;\r\n }\r\n }\r\n\r\n Tasks[identifier].lag[this.Tasks[identifier].index[processor]] = Tasks[identifier].lag[this.Tasks[identifier].index[processor]] - 1;\r\n return (processor);\r\n }\r\n }", "@Override\n public Optional<JSONObject> loadLatest(final String keyId) {\n return loadLatestTimer.record(() -> {\n try {\n // Have to use query api to use limit and reverse sort order\n ItemCollection<QueryOutcome> itemCollection = table.query(new QuerySpec()\n .withHashKey(PARTITION_KEY, keyId)\n .withProjectionExpression(ATTRIBUTE_KEY_RECORD)\n .withScanIndexForward(false) // sorts descending\n .withMaxResultSize(1) // limit 1\n .withConsistentRead(true)); // always use strong consistency\n\n Iterator<Item> iterator = itemCollection.iterator();\n if (iterator.hasNext()) {\n Item item = iterator.next();\n return Optional.of(new JSONObject(item.getMap(ATTRIBUTE_KEY_RECORD)));\n }\n }\n catch (SdkBaseException se) {\n logger.error(\"Metastore error\", se);\n }\n\n return Optional.empty();\n });\n }", "@Override\n public ApiFuture<MetadataT> peekMetadata() {\n ApiFuture<OperationSnapshot> future = pollingFuture.peekAttemptResult();\n synchronized (lock) {\n if (peekedAttemptResult == future) {\n return peekedPollResult;\n }\n peekedAttemptResult = future;\n peekedPollResult =\n ApiFutures.transform(peekedAttemptResult, metadataTransformer, directExecutor());\n return peekedPollResult;\n }\n }", "@Override\n\t\tprotected Version doInBackground(Void... params) {\n\t\t\treturn new UpdateApk(getApplicationContext()).hasNewVersion();\n\t\t}", "@Override\n public int getVersion() {\n return 0;\n }" ]
[ "0.65319574", "0.65110517", "0.6254132", "0.59781414", "0.5830988", "0.5708174", "0.56948686", "0.56531507", "0.5587894", "0.5566702", "0.556488", "0.5550703", "0.5546625", "0.55444175", "0.5539868", "0.5539276", "0.5515459", "0.5507193", "0.5498596", "0.5478319", "0.5431846", "0.5418035", "0.5417529", "0.54175276", "0.5390055", "0.5387589", "0.5370578", "0.53196394", "0.53165245", "0.5306347", "0.5292699", "0.5281938", "0.5274365", "0.5239409", "0.5238341", "0.5235116", "0.52189374", "0.52081704", "0.52081704", "0.52081704", "0.52081704", "0.52001923", "0.5189442", "0.5155818", "0.5145202", "0.51348525", "0.5132927", "0.5127988", "0.512462", "0.51211923", "0.51026905", "0.5090331", "0.5083967", "0.5077368", "0.5061924", "0.5056122", "0.50473833", "0.5043414", "0.5032083", "0.50293213", "0.50292116", "0.5022706", "0.5010389", "0.50033003", "0.49926382", "0.49923122", "0.49911687", "0.49890256", "0.49831784", "0.49789256", "0.49630895", "0.4957018", "0.495273", "0.4940885", "0.49403805", "0.49400494", "0.49280527", "0.49273902", "0.49241707", "0.4923639", "0.49210873", "0.49169758", "0.49114275", "0.49045816", "0.48890686", "0.48890483", "0.4887361", "0.4882623", "0.48808217", "0.4879231", "0.48785207", "0.48720208", "0.48719692", "0.4870179", "0.48700967", "0.48590618", "0.485672", "0.4855986", "0.48461682", "0.4838933" ]
0.6539498
0
Processes a valid command.
public interface UserCommand { /** * Processes the command. * @throws IOException * @throws ClassNotFoundException * @throws InterruptedException * @throws DescriptorException */ public void process(final JCommander jCommander) throws IOException, InterruptedException, ClassNotFoundException, DescriptorException; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void parseCommand(String command){\n\t\tif(command!=null && command.length()>0){\n\t\t\tif(!subMenuFlag){\n\t\t\t\tmainMenuCommand(command);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsubMenuCommand(command);\n\t\t\t}\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"Please enter a valid command.\");\n\t\t}\n\t}", "protected void processCommand(String command) throws EmptyException {\n if (command.equals(\"a\")) {\n doAddTask();\n } else if (command.equals(\"r\")) {\n doRemoveTask();\n } else if (command.equals(\"p\")) {\n doViewList();\n } else if (command.equals(\"m\")) {\n //doMarkComplete();\n } else if (command.equals(\"n\")) {\n doCount();\n } else if (command.equals(\"s\")) {\n doSave();\n } else if (command.equals(\"c\")) {\n doClear();\n } else {\n System.out.println(\"Selection not valid...\");\n }\n }", "public void handleCommand(String command);", "private void processCommand(String command) {\n switch (command) {\n case \"reserve\":\n doReserve();\n break;\n case \"view\":\n doView();\n break;\n case \"deposit\":\n doDeposit();\n break;\n }\n }", "public String processCommand(Command command) //refactored\n {\n boolean wantToQuit = false;\n //System.out.println(\"hitter boolean\");\n commandWord = command.getAction();//fehler\n //System.out.println(command);\n //System.out.println(\"enum == null\" + (commandWord == null));\n String result = \"\";\n //System.out.println(\"heyho\");\n //System.out.println(result);\n switch(commandWord){\n //case UNKNOWN: return \"I don't know what you mean...\"; break;\n \n case HELP: result += printHelp(); break;\n case GO: result += goRoom(command); break;\n case QUIT: return quit(command);//refactored from refactoring\n default: result += \"I don't know what you mean...\";\n }\n return result;\n }", "public void\n\t\t\thandleCommand(/*@ non_null */ String command);", "private void processCommand(String command) {\n if (command.equals(\"1\")) {\n insertItem();\n } else if (command.equals(\"2\")) {\n removeItem();\n } else if (command.equals(\"3\")) {\n viewList();\n } else if (command.equals(\"4\")) {\n saveToDoList();\n } else if (command.equals(\"5\")) {\n loadToDoList();\n } else {\n System.out.println(\"Selection not valid...\");\n }\n }", "private boolean processCommand(Command command) \n {\n boolean wantToQuit = false;\n\n CommandWord commandWord = command.getCommandWord();\n\n switch (commandWord) \n {\n case UNKNOWN:\n System.out.println(\"I don't know what you mean...\");\n break;\n\n case HELP:\n printHelp();\n break;\n\n case GO:\n goRoom(command);\n break;\n\n //my command expect when i Quit\n case PICK:\n pickItem();\n break;\n \n //drink the redbull\n case DRINK:\n drink();\n break;\n \n //show inventory\n case SHOW:\n showInventory();\n break;\n \n //show objective\n case GOAL:\n remindGoal();\n break;\n\n case QUIT:\n wantToQuit = quit(command);\n break;\n }\n return wantToQuit;\n }", "public static void handleInvalidCommandException() {\n System.out.println(\"\\tSorry sir, I do not recognise this command.\");\n Help.execute();\n Duke.jarvis.printDivider();\n }", "public void processCommand(String command, MessageReceivedEvent event){\n command = command.toLowerCase();\n String[] parsing = command.split(\" \");\n switch(parsing[1]){\n case \"new\":\n validateNewCraftEntry(parsing, event);\n break;\n case \"list\":\n generateCraftingList(event);\n break;\n case \"help\":\n showHelp(event);\n break;\n case \"listall\":\n listall(event);\n break;\n case \"cancel\":\n cancelCraft(event);\n break;\n }\n }", "private void processCommand(Command command) {\n if (command.commandIsUnknown()) {\n System.out.println(\"I don't know what you mean...\");\n } else {\n String commandWord = command.getCommandWord();\n // process all possible commands\n if (commandWord.equals(\"help\")) {\n printHelp();\n } else if (commandWord.equals(\"go\")) {\n if (!command.hasSecondWord()) {\n System.out.println(\"Go where?\");\n } else {\n goDirection(command);\n }\n } else if (commandWord.equals(\"quit\")) {\n if (command.hasSecondWord()) {\n System.out.println(\"Quit what?\");\n } else {\n finished = true;\n }\n }\n }\n }", "private boolean processCommand(Command command) \n {\n boolean wantToQuit = false;\n\n if(command.isUnknown()) {\n System.out.println(\"I don't know what you mean...\");\n return false;\n }\n\n String commandWord = command.getCommandWord();\n if (commandWord.equals(\"help\"))\n printHelp();\n else if (commandWord.equals(\"go\"))\n goRoom(command);\n else if (commandWord.equals(\"quit\"))\n wantToQuit = quit(command);\n\n return wantToQuit;\n }", "private void processCommand()\n {\n String vInput = this.aEntryField.getText();\n this.aEntryField.setText(\"\");\n\n this.aEngine.interpretCommand( vInput );\n }", "private void extractCommand() throws IllegalCommandException {\n if (userInput.contentEquals(COMMAND_WORD_BYE)) {\n commandType = CommandType.BYE;\n } else if (userInput.startsWith(COMMAND_WORD_LIST)) {\n commandType = CommandType.LIST;\n } else if (userInput.startsWith(COMMAND_WORD_DONE)) {\n commandType = CommandType.DONE;\n } else if (userInput.startsWith(COMMAND_WORD_TODO)) {\n commandType = CommandType.TODO;\n } else if (userInput.startsWith(COMMAND_WORD_DEADLINE)) {\n commandType = CommandType.DEADLINE;\n } else if (userInput.startsWith(COMMAND_WORD_EVENT)) {\n commandType = CommandType.EVENT;\n } else if (userInput.startsWith(COMMAND_WORD_DELETE)) {\n commandType = CommandType.DELETE;\n } else if (userInput.startsWith(COMMAND_WORD_FIND)) {\n commandType = CommandType.FIND;\n } else if (userInput.contentEquals(COMMAND_WORD_HELP)) {\n commandType = CommandType.HELP;\n } else {\n throw new IllegalCommandException();\n }\n }", "private void parseAndExecuteCommand(RawCommand command, GamePlayer player) {\n String commandSting = command.getCommand();\n\n String[] commandLine = commandSting.split(\",\");\n\n DoNothingCommand doNothingCommand = new DoNothingCommand();\n\n TowerDefensePlayer towerDefensePlayer = (TowerDefensePlayer) player;\n\n if (commandLine.length == 1) {\n doNothingCommand.performCommand(towerDefenseGameMap, player);\n return;\n }\n if (commandLine.length != 3) {\n doNothingCommand.performCommand(towerDefenseGameMap, player);\n towerDefenseGameMap.addErrorToErrorList(String.format(\n \"Unable to parse command expected 3 parameters, got %d\", commandLine.length), towerDefensePlayer);\n }\n try {\n int positionX = Integer.parseInt(commandLine[0]);\n int positionY = Integer.parseInt(commandLine[1]);\n BuildingType buildingType = BuildingType.values()[Integer.parseInt(commandLine[2])];\n\n new PlaceBuildingCommand(positionX, positionY, buildingType).performCommand(towerDefenseGameMap, player);\n } catch (NumberFormatException e) {\n doNothingCommand.performCommand(towerDefenseGameMap, player);\n towerDefenseGameMap.addErrorToErrorList(String.format(\n \"Unable to parse command entries, all parameters should be integers. Received:%s\",\n commandSting), towerDefensePlayer);\n } catch (IllegalArgumentException e) {\n doNothingCommand.performCommand(towerDefenseGameMap, player);\n towerDefenseGameMap.addErrorToErrorList(String.format(\n \"Unable to parse building type: Expected 0[Defense], 1[Attack], 2[Energy]. Received:%s\",\n commandLine[2]), towerDefensePlayer);\n } catch (InvalidCommandException e) {\n doNothingCommand.performCommand(towerDefenseGameMap, player);\n towerDefenseGameMap.addErrorToErrorList(\n \"Invalid command received: \" + e.getMessage(), towerDefensePlayer);\n } catch (IndexOutOfBoundsException e) {\n doNothingCommand.performCommand(towerDefenseGameMap, player);\n towerDefenseGameMap.addErrorToErrorList(String.format(\n \"Out of map bounds, X:%s Y: %s\", commandLine[0], commandLine[1]), towerDefensePlayer);\n }\n }", "private void processInput(String command) {\r\n\r\n if (command.equals(\"1\")) {\r\n displayListings();\r\n } else if (command.equals(\"2\")) {\r\n listYourCar();\r\n } else if (command.equals(\"3\")) {\r\n removeYourCar(user);\r\n } else if (command.equals(\"4\")) {\r\n checkIfWon();\r\n } else if (command.equals(\"5\")) {\r\n saveCarListings();\r\n } else if (command.equals(\"6\")) {\r\n exitApp = true;\r\n } else {\r\n System.out.println(\"Invalid selection\");\r\n }\r\n }", "private boolean processCommand(Command command) \n {\n boolean wantToQuit = false;\n\n if(command.isUnknown()) {\n System.out.println(\"I don't know what you mean...\");\n return false;\n }\n\n String commandWord = command.getCommandWord();\n if (commandWord.equals(\"help\")) {\n printHelp();\n }\n else if (commandWord.equals(\"go\")) {\n player.goRoom(command); \n }\n else if (commandWord.equals(\"look\")) { \n player.look();\n }\n else if (commandWord.equals(\"eat\")) {\n player.eat();\n }\n else if (commandWord.equals(\"quit\")) {\n wantToQuit = quit(command);\n }\n else if (commandWord.equals(\"back\")) {\n player.goBack(); \n }\n else if (commandWord.equals(\"take\")) {\n player.take(command);\n }\n else if (commandWord.equals(\"drop\")) {\n player.drop(command);\n }\n else if (commandWord.equals(\"items\")) {\n player.getItems();\n }\n else if (commandWord.equals(\"equipar\")) {\n player.equipar(command);\n }\n return wantToQuit;\n }", "private boolean processCommand(Command command)//Method was given\n {\n if(command.isUnknown())\n {\n System.out.println(\"I don't know what you mean...\");\n return false;\n }\n\n String commandWord = command.getCommandWord();\n if (commandWord.equals(\"help\"))\n printHelp();\n else if (commandWord.equals(\"go\"))\n goRoom(command);\n else if (commandWord.equals(\"talk\"))\n talkToCharacter(currentRoom);\n else if (commandWord.equals(\"grab\"))\n {\n secondWord = command.getSecondWord();\n if (secondWord == null)\n {\n System.out.println(\"Grab what?\");\n }\n else\n {\n grabItem(secondWord);\n }\n }\n else if (commandWord.equals(\"eat\"))\n {\n secondWord = command.getSecondWord();\n if (secondWord == null)\n {\n System.out.println(\"Eat what?\");\n }\n else\n {\n eatItem(secondWord);\n }\n }\n else if (commandWord.equals(\"inventory\")) \n player.getInventory();\n else if (commandWord.equals(\"drop\"))\n {\n secondWord = command.getSecondWord();\n if (secondWord == null)\n {\n System.out.println(\"Drop what?\");\n }\n else\n {\n dropItem(secondWord);\n }\n }\n else if (commandWord.equals(\"inspect\"))\n {\n secondWord = command.getSecondWord();\n if (secondWord == null)\n {\n System.out.println(\"Inspect what?\");\n }\n else\n {\n inspectItem(secondWord);\n }\n }\n else if (commandWord.equals(\"quit\"))\n {\n if(command.hasSecondWord())\n System.out.println(\"Quit what?\");\n else\n return true; // signal that we want to quit\n }\n else if (commandWord.equals(\"look\"))\n {\n System.out.println(currentRoom.longDescription());\n }\n return false;\n }", "private boolean processCommand(Command command) \n {\n boolean wantToQuit = false;\n\n CommandWord commandWord = command.getCommandWord();\n\n if(commandWord == CommandWord.UNKNOWN) {\n Logger.Log(\"I don't know what you mean...\");\n return false;\n }\n \n if (commandWord == CommandWord.HELP) {\n printHelp();\n }\n else if (commandWord == CommandWord.GO) {\n goRoom(command);\n }\n \n else if (commandWord == CommandWord.TAKE) {\n takeItem(command);\n }\n \n else if (commandWord == CommandWord.USE) {\n useItem(command);\n }\n \n else if (commandWord == CommandWord.LOOK) {\n Logger.Log(currentRoom.getLongDescription());\n }\n \n else if (commandWord == CommandWord.VIEW) {\n viewPlayer(command);\n }\n \n else if (commandWord == CommandWord.QUIT) {\n wantToQuit = quit(command);\n }\n // else command not recognised.\n return wantToQuit;\n }", "public static void processCommand(String command) {\n\n\t\tString commandType = command.substring(0, command.indexOf(\" \"));\n\n\t\tswitch (commandType) {\n\t\t\n\t\tcase COMMAND_ADD:\n\t\t\tFileStorage.addEvent(command);\n\t\t\tbreak;\n\n\t\tcase COMMAND_DELETE:\n\t\t\tFileStorage.deleteEvent(command);\n\t\t\tbreak;\n\n\t\tcase COMMAND_EDIT:\n\t\t\tFileStorage.editEvent(command);\n\t\t\tbreak;\n\t\t\n\t\tcase COMMAND_RECUR:\n\t\t\tFileStorage.recurEvent(command);\n\t\t\tbreak;\n\t\t\t\n\t\tcase COMMAND_NAVIGATE:\n\t\t\tFileStorage.navigateDay(command);\n\t\t\tbreak;\n\t\t\t\n\t\tdefault:\n\t\t\tSystem.out.println(MESSAGE_INVALID);\n\t\t\tbreak;\n\t\t\t\n\t\t}\n\t}", "@Override\n\tpublic String processCommand(String command) {\n\t\tif (this.isValid(\"c\", command)) {\n\t\t\t// structure matches the quit command, check to see if\n\t\t\t// the first\n\t\t\t// char is right\n\t\t\tif (command.charAt(0) == 'Q') {\n\t\t\t\trunning = false;\n\t\t\t} else {\n\t\t\t\tSystem.out\n\t\t\t\t\t\t.print((testing) ? \"\" : \"Invalid command!\");\n\t\t\t}\n\t\t} else if (this.isValid(\"c| |c| |n\", command)) {\n\t\t\t// structure matches the insert command, check to see if\n\t\t\t// the first\n\t\t\t// char is right\n\t\t\tif (command.charAt(0) == 'a') {\n\t\t\t\tchar insertChar = command.charAt(2);\n\t\t\t\tint index = Integer.parseInt(command.substring(4));\n\t\t\t\tif (linkedList.insert(insertChar, index)) {\n\t\t\t\t\tunMixCode = \"r\" + (index + 1) + unMixCode;\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Invalid index!\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out\n\t\t\t\t\t\t.print((testing) ? \"\" : \"Invalid command!\");\n\t\t\t}\n\t\t} else if (this.isValid(\"c| |c\", command)) {\n\t\t\t// structure matches the remove command, check to see if\n\t\t\t// the first\n\t\t\t// char is right\n\t\t\tif (command.charAt(0) == 'r') {\n\t\t\t\tchar removeChar = command.charAt(2);\n\t\t\t\tlinkedList.remove(removeChar);\n\t\t\t\tfor (int i = curMessage.length() - 1; i >= 0; i--) {\n\t\t\t\t\tif (removeChar == curMessage.charAt(i)) {\n\t\t\t\t\t\tunMixCode = \"a\" + removeChar + (i - 1)\n\t\t\t\t\t\t\t\t+ unMixCode;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out\n\t\t\t\t\t\t.print((testing) ? \"\" : \"Invalid command!\");\n\t\t\t}\n\t\t} else if (this.isValid(\"c| |n| |n| |n\", command)) {\n\t\t\t// structure matches the cut command, check to see if\n\t\t\t// the first char\n\t\t\t// is right\n\t\t\tif (command.charAt(0) == 'c') {\n\t\t\t\tcommand = command.substring(2);\n\t\t\t\tint space1 = command.indexOf(\" \");\n\t\t\t\tint space2 = command.indexOf(\" \", space1 + 1);\n\t\t\t\tint startIndex = Integer\n\t\t\t\t\t\t.parseInt(command.substring(0, space1));\n\t\t\t\tint endIndex = Integer.parseInt(\n\t\t\t\t\t\tcommand.substring(space1 + 1, space2));\n\t\t\t\tint clipboardIndex = Integer\n\t\t\t\t\t\t.parseInt(command.substring(space2 + 1));\n\t\t\t\tboolean ok = true;\n\t\t\t\tif (startIndex < 0\n\t\t\t\t\t\t|| startIndex >= curMessage.length()) {\n\t\t\t\t\tok = false;\n\t\t\t\t}\n\t\t\t\tif (endIndex < startIndex || endIndex < 0\n\t\t\t\t\t\t|| endIndex >= curMessage.length()) {\n\t\t\t\t\tok = false;\n\t\t\t\t}\n\t\t\t\tif (clipboardIndex < 0 || clipboardIndex >= 1000) {\n\t\t\t\t\tok = false;\n\t\t\t\t}\n\t\t\t\tif (ok) {\n\t\t\t\t\tLinkedList temp = new LinkedList();\n\t\t\t\t\ttemp.setToString(linkedList.toString()\n\t\t\t\t\t\t\t.substring(startIndex, endIndex + 1));\n\t\t\t\t\tclipboards.add(clipboardIndex, temp.getTop());\n\t\t\t\t\tfor (int i = endIndex; i >= startIndex; i--) {\n\t\t\t\t\t\tunMixCode = \"a\"\n\t\t\t\t\t\t\t\t+ curMessage.toString().charAt(i)\n\t\t\t\t\t\t\t\t+ (i - 1) + unMixCode;\n\t\t\t\t\t\tlinkedList.removeAt(i);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(\n\t\t\t\t\t\t\t(testing) ? \"\" : \"Invalid command!\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out\n\t\t\t\t\t\t.print((testing) ? \"\" : \"Invalid command!\");\n\t\t\t}\n\t\t} else if (this.isValid(\"c| |n| |n\", command)) {\n\t\t\t// structure matches the paste command, check to see if\n\t\t\t// the first\n\t\t\t// char is right\n\t\t\tif (command.charAt(0) == 'p') {\n\t\t\t\tcommand = command.substring(2);\n\t\t\t\tint spc1 = command.indexOf(' ');\n\t\t\t\tint startIndex = Integer\n\t\t\t\t\t\t.parseInt(command.substring(0, spc1));\n\t\t\t\tint clipboardIndex = Integer\n\t\t\t\t\t\t.parseInt(command.substring(spc1 + 1));\n\t\t\t\tboolean ok = true;\n\t\t\t\tif (startIndex < 0\n\t\t\t\t\t\t|| startIndex >= curMessage.length()) {\n\t\t\t\t\tif (startIndex != -1) {\n\t\t\t\t\t\tok = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (clipboardIndex < 0 || clipboardIndex >= 1000) {\n\t\t\t\t\tok = false;\n\t\t\t\t}\n\t\t\t\tLinkedList temp = new LinkedList();\n\t\t\t\ttemp.setTop(clipboards.get(clipboardIndex));\n\t\t\t\tif (temp.getTop() == null) {\n\t\t\t\t\tok = false;\n\t\t\t\t}\n\t\t\t\tif (ok) {\n\t\t\t\t\tfor (char c : temp.toString().toCharArray()) {\n\t\t\t\t\t\tif (linkedList.insert(c, startIndex)) {\n\t\t\t\t\t\t\tunMixCode = \"r\" + (startIndex + 1)\n\t\t\t\t\t\t\t\t\t+ unMixCode;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstartIndex++;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(\n\t\t\t\t\t\t\t(testing) ? \"\" : \"Invalid command!\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out\n\t\t\t\t\t\t.print((testing) ? \"\" : \"Invalid command!\");\n\t\t\t}\n\t\t} else if (this.isValid(\"c| |s\", command)) {\n\t\t\t// structure matches the save command, check to see if\n\t\t\t// the first\n\t\t\t// char is right\n\t\t\tif (command.charAt(0) == 's') {\n\t\t\t\tString fileName = command.substring(2,\n\t\t\t\t\t\tcommand.length());\n\t\t\t\ttry {\n\t\t\t\t\tPrintWriter saver = new PrintWriter(\n\t\t\t\t\t\t\tnew BufferedWriter(\n\t\t\t\t\t\t\t\t\tnew FileWriter(fileName)));\n\t\t\t\t\tsaver.print(unMixCode);\n\t\t\t\t\tsaver.close();\n\t\t\t\t\tif (!testing) {\n\t\t\t\t\t\tSystem.out.println(\"Saved successfully\");\n\t\t\t\t\t}\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out\n\t\t\t\t\t\t.print((testing) ? \"\" : \"Invalid command!\");\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.out.print((testing) ? \"\" : \"Invalid command!\");\n\t\t}\n\t\tcurMessage = linkedList.toString();\n\t\treturn curMessage;\n\t}", "protected void checkCommand(String com) throws IllegalArgumentException {\n if (com.length() != PushCacheProtocol.COMMAND_LEN) {\n throw new IllegalArgumentException(\"Command \\\"\" + com + \"\\\" is wrong length\");\n }\n if (com.charAt(3) != '\\0') {\n throw new IllegalArgumentException(\"Command \\\"\" + com + \"\\\" is not null terminated\");\n }\n }", "private void processCommand(String command) {\n if (command.equals(\"a\")) {\n doAddTask();\n } else if (command.equals(\"r\")) {\n doRemoveTask();\n } else if (command.equals(\"c\")) {\n doMarkTaskAsCompleted();\n } else if (command.equals(\"m\")) {\n doModifyTask();\n } else if (command.equals(\"v\")) {\n doViewAllTasks();\n } else if (command.equals(\"ct\")) {\n doViewAllCompletedTasks();\n } else if (command.equals(\"s\")) {\n saveTasks();\n } else {\n System.out.println(\"Invalid selection, kindly select from the options available.\");\n }\n }", "private boolean processCommand(Command command) \n {\n boolean wantToQuit = false;\n\n CommandWord commandWord = command.getCommandWord();\n\n switch (commandWord) {\n case UNKNOWN:\n System.out.println(\"I don't know what you mean...\");\n break;\n\n case HELP:\n printHelp();\n break;\n\n case GO:\n goRoom(command);\n break;\n\n case QUIT:\n wantToQuit = quit(command);\n break;\n \n case LOOK:\n look();\n break;\n \n case RELAX:\n relax();\n break;\n \n case BACK:\n back();\n break;\n }\n return wantToQuit;\n }", "public CommandType parseCommand() {\n try {\n extractCommand();\n extractParameters();\n parameterData = new ParameterParser(commandType, parameters).processParameters();\n executeCommand();\n } catch (IllegalCommandException e) {\n commandUi.printInvalidCommand();\n } catch (IndexOutOfBoundsException e) {\n commandUi.printInvalidParameters();\n } catch (MissingTaskLiteralException e) {\n commandUi.printMissingLiteral(e.getMessage());\n } catch (NumberFormatException e) {\n commandUi.printTaskDoneNotInteger();\n } catch (DateTimeFormatException e) {\n commandUi.printDateTimeFormatIncorrect();\n }\n\n return commandType;\n }", "private void parseCommand(String line) throws IllegalArgumentException {\n\t\tString[] tokens = line.split(\"\\\\s+\");\n\t\tString commandString;\n\t\tif(tokens.length == 4) {\n\t\t\tcommandString = tokens[2] + \" \" + tokens[3];\n\t\t}\n\t\telse if(tokens.length == 3) {\n\t\t\tcommandString = tokens[2];\n\t\t}\n\t\telse {\n\t\t\tthrow new IllegalArgumentException(\"Invalid command argument\");\n\t\t}\n\t\tthis.registerCommand(tokens[1].charAt(0), commandString);\n\t}", "private void handleCommand() throws IOException {\n\t\tboolean commandHasParameter = false;\n\t\tboolean parameterIsNegative = false;\n\t\tint parameterValue = 0;\n\t\tStringBuilder commandText = new StringBuilder();\n\t\tStringBuilder parameterText = new StringBuilder();\n\n\t\tint ch = source.read();\n\t\tif (ch == -1) {\n\t\t\tthrow new EOFException();\n\t\t}\n\n\t\tcommandText.append((char) ch);\n\n\t\tif (!Character.isLetter(ch)) {\n\t\t\thandleCommand(commandText, 0, commandHasParameter);\n\t\t\treturn;\n\t\t}\n\n\t\twhile (true) {\n\t\t\tch = source.read();\n\t\t\tif (ch == -1 || !Character.isLetter(ch)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcommandText.append((char) ch);\n\t\t\tif (commandText.length() > MAX_COMMAND_LENGTH) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif (ch == -1) {\n\t\t\tthrow new EOFException();\n\t\t}\n\n\t\tif (commandText.length() > MAX_COMMAND_LENGTH) {\n\t\t\tthrow new IllegalArgumentException(\"Invalid keyword: \"\n\t\t\t\t\t+ commandText.toString());\n\t\t}\n\n\t\tif (ch == '-') {\n\t\t\tparameterIsNegative = true;\n\t\t\tch = source.read();\n\t\t\tif (ch == -1) {\n\t\t\t\tthrow new EOFException();\n\t\t\t}\n\t\t}\n\t\tif (Character.isDigit(ch)) {\n\t\t\tcommandHasParameter = true;\n\t\t\tparameterText.append((char) ch);\n\t\t\twhile (true) {\n\t\t\t\tch = source.read();\n\t\t\t\tif (ch == -1 || !Character.isDigit(ch)) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tparameterText.append((char) ch);\n\t\t\t\tif (parameterText.length() > MAX_PARAMETER_LENGTH) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (parameterText.length() > MAX_PARAMETER_LENGTH) {\n\t\t\t\tthrow new IllegalArgumentException(\"Invalid parameter: \"\n\t\t\t\t\t\t+ parameterText.toString());\n\t\t\t}\n\n\t\t\tparameterValue = Integer.parseInt(parameterText.toString());\n\t\t\tif (parameterIsNegative) {\n\t\t\t\tparameterValue = -parameterValue;\n\t\t\t}\n\t\t}\n\n\t\tif (ch != ' ') {\n\t\t\tsource.canselRead(ch);\n\t\t}\n\n\t\thandleCommand(commandText, parameterValue, commandHasParameter);\n\t}", "boolean processCommand() throws IOException\n\t{\n\t\tString[] commands = in.readLine().split(\" \");\n\t\tif (commands[0].equalsIgnoreCase(\"F\") && isNum(commands[1]) && isNum(commands[2])) {\n\t\t\tprocessFireCmd(new String[] {commands[1], commands[2]});\n\t\t} else if (commands[0].equalsIgnoreCase(\"C\")) {\n\t\t\tprocessChatCmd (Arrays.copyOfRange(commands, 1, commands.length).toString());\n\t\t} else if (commands[0].equalsIgnoreCase(\"D\")) {\n\t\t\tout.println(\"My board: \\n\");\n\t\t\tboard.draw();\n\t\t\tout.println(\"Target's board: \\n\");\n\t\t\ttargets.draw();\n\t\t\tout.flush();\n\t\t} else {\n\t\t\tout.println(\"Unknown command.\");\n\t\t\tout.flush();\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "private boolean processCommand(String line) {\n if (line.length() == 0) {\n return true;\n }\n Matcher command = COMMAND_PATN.matcher(line);\n if (command.matches()) {\n switch (command.group(1).toLowerCase()) {\n case \"#\":\n return true;\n case \"manual\":\n manualCommand(command.group(2).toLowerCase());\n return true;\n case \"auto\":\n autoCommand(command.group(2).toLowerCase());\n return true;\n case \"seed\":\n seedCommand(command.group(2));\n return true;\n case \"board\": case \"b\":\n System.out.println(_board.toString2());\n return true;\n case \"autoprint\":\n autoPrintCommand();\n return true;\n case \"set\":\n setCommand(command.group(2), command.group(3));\n return true;\n case \"dump\":\n System.out.println(_board.toString());\n return true;\n case \"start\":\n _playing = true;\n return true;\n case \"clear\":\n _playing = false;\n _board.clear();\n return true;\n case \"quit\":\n quit();\n return true;\n case \"help\": case \"?\":\n help();\n return true;\n default:\n return false;\n }\n }\n return false;\n }", "private boolean isValid(String structure, String command) {\n\t\t// checks to see if the provided structure matches the\n\t\t// command\n\t\t// 'c' = char\n\t\t// 'n' = number (can take up more than one character, and\n\t\t// can be\n\t\t// negative\n\t\t// ' ' = space\n\t\t// 's' = string (that has to go till the end of the command\n\t\t// with no\n\t\t// spaces\n\t\tString[] format = structure.split(\"|\");\n\t\tboolean valid = true;\n\t\tint curIndex = 0;\n\t\tforloop: for (String str : format) {\n\t\t\tswitch (str.charAt(0)) {\n\t\t\tcase 'c':\n\t\t\t\tif (command.length() > curIndex) {\n\t\t\t\t\tif (!Character\n\t\t\t\t\t\t\t.isAlphabetic(command.charAt(curIndex))\n\t\t\t\t\t\t\t&& !Character.isWhitespace(\n\t\t\t\t\t\t\t\t\tcommand.charAt(curIndex))) {\n\t\t\t\t\t\tvalid = false;\n\t\t\t\t\t\tbreak forloop;\n\t\t\t\t\t}\n\t\t\t\t\tcurIndex++;\n\t\t\t\t} else {\n\t\t\t\t\tvalid = false;\n\t\t\t\t\tbreak forloop;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 'n':\n\t\t\t\tif (command.length() > curIndex) {\n\t\t\t\t\tboolean wait = false;\n\t\t\t\t\tif (!Character.isDigit(command.charAt(curIndex))\n\t\t\t\t\t\t\t&& command.charAt(curIndex) != '-') {\n\t\t\t\t\t\tvalid = false;\n\t\t\t\t\t\tbreak forloop;\n\t\t\t\t\t}\n\t\t\t\t\tif (command.charAt(curIndex) == '-') {\n\t\t\t\t\t\twait = true;\n\t\t\t\t\t}\n\t\t\t\t\tcurIndex++;\n\t\t\t\t\twhile (command.length() > curIndex && Character\n\t\t\t\t\t\t\t.isDigit(command.charAt(curIndex))) {\n\t\t\t\t\t\twait = false;\n\t\t\t\t\t\tcurIndex++;\n\t\t\t\t\t}\n\t\t\t\t\tif (wait) {\n\t\t\t\t\t\tvalid = false;\n\t\t\t\t\t\tbreak forloop;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvalid = false;\n\t\t\t\t\tbreak forloop;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase ' ':\n\t\t\t\tif (command.length() > curIndex) {\n\t\t\t\t\tif (!Character.isWhitespace(\n\t\t\t\t\t\t\tcommand.charAt(curIndex))) {\n\t\t\t\t\t\tvalid = false;\n\t\t\t\t\t\tbreak forloop;\n\t\t\t\t\t}\n\t\t\t\t\tcurIndex++;\n\t\t\t\t} else {\n\t\t\t\t\tvalid = false;\n\t\t\t\t\tbreak forloop;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 's':\n\t\t\t\tif (command.length() > curIndex) {\n\t\t\t\t\twhile (command.length() > curIndex) {\n\t\t\t\t\t\tif (!Character.isAlphabetic(\n\t\t\t\t\t\t\t\tcommand.charAt(curIndex))\n\t\t\t\t\t\t\t\t&& command\n\t\t\t\t\t\t\t\t\t\t.charAt(curIndex) != '.') {\n\t\t\t\t\t\t\tvalid = false;\n\t\t\t\t\t\t\tbreak forloop;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcurIndex++;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvalid = false;\n\t\t\t\t\tbreak forloop;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (curIndex != command.length()) {\n\t\t\tvalid = false;\n\t\t}\n\t\treturn valid;\n\t}", "public boolean isCommandValid(Character character, String command)\n\n {\n\n \n\n if(command.length() > 4 && isKill(command))\n { \n HandleKill(character, command);\n return true;\n }\n if(isPossess(command))\n {\n HandlePossess(character);\n return true;\n }\n if(isDontPossess(command))\n {\n HandleDontPossess(character);\n return true;\n }\n if(isJump(command))\n\n {\n\n HandleJump();\n\n return true;\n\n }\n\n if(isSit(command))\n\n {\n\n HandleSit();\n\n return true;\n\n }\n\n if(isSing(command))\n\n {\n\n HandleSing();\n\n return true;\n\n }\n\n if(isDance(command))\n\n {\n\n HandleDance();\n\n return true;\n\n }\n\n if(isDirections(command))\n\n {\n\n HandleDirections(character.currentArea);\n\n return true;\n\n }\n\n if(isExit(command))\n\n {\n\n HandleExit();\n\n return true;\n\n }\n \n if(isHeal(command))\n\n {\n\n HandleHeal(character);\n\n return true;\n\n }\n\n if(isStats(command))\n\n {\n\n HandleStats(character);\n\n return true;\n\n }\n\n \n\n switch(character.currentArea.paths)\n\n {\n\n case Constants.North:\n\n if(isNorth(command))\n\n return true;\n\n else\n\n return false;\n\n case Constants.South:\n\n if(isSouth(command))\n\n return true;\n\n else\n\n return false;\n\n case Constants.East:\n\n if(isEast(command))\n\n return true;\n\n else\n\n return false;\n\n case Constants.West:\n\n if(isWest(command))\n\n return true;\n\n else\n\n return false;\n\n \n\n case Constants.NorthAndSouth:\n\n if(isNorth(command) || isSouth(command))\n\n return true;\n\n else\n\n return false;\n\n case Constants.NorthAndEast:\n\n if(isNorth(command) || isEast(command))\n\n return true;\n\n else\n\n return false;\n\n case Constants.NorthAndWest:\n\n if(isNorth(command) || isWest(command))\n\n return true;\n\n else\n\n return false;\n\n case Constants.SouthAndEast:\n\n if(isSouth(command) || isEast(command))\n\n return true;\n\n else\n\n return false;\n\n case Constants.SouthAndWest:\n\n if(isSouth(command) || isWest(command))\n\n return true;\n\n else\n\n return false;\n\n case Constants.EastAndWest:\n\n if(isEast(command) || isWest(command))\n\n return true;\n\n else\n\n return false;\n\n \n\n case Constants.NorthSouthAndEast:\n\n if(isNorth(command) || isSouth(command) || isEast(command))\n\n return true;\n\n else\n\n return false;\n\n case Constants.NorthSouthAndWest:\n\n if(isNorth(command) || isSouth(command) || isWest(command))\n\n return true;\n\n else\n\n return false;\n\n case Constants.NorthEastAndWest:\n\n if(isNorth(command) || isEast(command) || isWest(command))\n\n return true;\n\n else\n\n return false;\n\n case Constants.SouthEastAndWest:\n\n if(isSouth(command) || isEast(command) || isWest(command))\n\n return true;\n\n else\n\n return false;\n\n \n\n case Constants.NorthSouthEastAndWest:\n\n if(isNorth(command) || isSouth(command) || isWest(command) || isEast(command))\n\n return true;\n\n else\n\n return false;\n\n default:\n\n break;\n\n \n\n }\n\n \n character.canPossess = false;\n return false;\n\n \n\n }", "void processCommand (String command, ZMsg msg);", "public static Command parse(String fullCommand) throws DukeException {\n String[] arr = fullCommand.split(\"\\\\s+\", 2);\n String command = arr[0];\n if (command.equals(\"todo\")) {\n if (arr.length == 1) {\n throw new DukeException(\"OOPS!!! The description of a todo cannot be empty.\");\n } else {\n Task task = new Todo(arr[1]);\n return new AddCommand(task);\n }\n } else if (command.equals(\"deadline\")) {\n if (arr.length == 1) {\n throw new DukeException(\"OOPS!!! The description of a deadline cannot be empty.\");\n } else {\n String[] deadlineArr = arr[1].split(\" /by \", 2);\n if (deadlineArr.length == 1) {\n throw new DukeException(\"OOPS!!! You forgot to specify a date/time for the deadline.\");\n } else {\n Task task = new Deadline(deadlineArr[0], deadlineArr[1]);\n return new AddCommand(task);\n }\n }\n } else if (command.equals(\"event\")) {\n if (arr.length == 1) {\n throw new DukeException(\"OOPS!!! The description of an event cannot be empty.\");\n } else {\n String[] eventArr = arr[1].split(\" /at \", 2);\n if (eventArr.length == 1) {\n throw new DukeException(\"OOPS!!! You forgot to specify a date/time for the event.\");\n } else {\n Task task = new Event(eventArr[0], eventArr[1]);\n return new AddCommand(task);\n }\n }\n } else if (command.equals(\"done\")) {\n String[] array = arr[1].split(\"\\\\s+\");\n int[] options = new int[array.length];\n for (int i = 0; i < options.length; i++) {\n options[i] = Integer.parseInt(array[i]);\n }\n return new DoneCommand(options);\n } else if (command.equals(\"delete\")) {\n String[] array = arr[1].split(\"\\\\s+\");\n int[] options = new int[array.length];\n for (int i = 0; i < options.length; i++) {\n options[i] = Integer.parseInt(array[i]);\n }\n return new DeleteCommand(options);\n } else if (command.equals(\"list\")) {\n return new ListCommand();\n } else if (command.equals(\"find\")) {\n return new FindCommand(arr[1]);\n } else if (command.equals(\"bye\")) {\n return new ExitCommand();\n } else {\n throw new DukeException(\"OOPS!!! I'm sorry, but I don't know what that means :-(\");\n }\n }", "protected String processCommand(String command)\n {\n switch (command)\n {\n case \"HELLO\":\n return \"h\";\n case \"MOVE N\":\n return \"mn\";\n case \"MOVE S\":\n return \"ms\";\n case \"MOVE E\":\n return \"me\";\n case \"MOVE W\":\n return \"mw\";\n case \"PICKUP\":\n return \"p\";\n case \"LOOK\":\n return \"l\";\n case \"QUIT\":\n return \"q\";\n default:\n return \"i\";\n }\n }", "private void processCommand(Command command) {\n // Switch construct\n System.out.println(); // formatting\n CommandWord commandWord = command.getCommandWord();\n switch (commandWord) {\n case ATTACK:\n System.out.println(\"You attack the monster!\");\n\n // calculate the damage this enemy will do\n int playerDifferenceHit = player.getMaxHit() - player.getMinHit(); // 5 - 3 = 2. \n int playerMinimumDamage = randomize.getRandomDamage(playerDifferenceHit); // returns 1-3\n int damage = playerDifferenceHit + playerMinimumDamage; // add the minimum damage, to random hit damage.\n\n System.out.println(\"You deal \" +damage+ \" damage!\");\n enemy.removeHealth(damage);\n\n enemyturn(); // let the enemy attack\n break;\n\n case EAT: // reach out to the main game again, then parse the command as usual\n int tempHealth = player.getHealth();\n eatItem(command);\n\n if (tempHealth == player.getHealth()) {\n // The player failed to eat something. Decrease the round\n round--;\n } else {\n // The player succesfully ate and recovered some HP.\n enemyturn(); // let the enemy attack\n }\n break;\n\n case INSPECT:\n System.out.println(\"You have a good look at the enemy:\");\n System.out.println(enemy.getDescription() + \" The enemy has \" + enemy.getHealth() + \" health left.\");\n System.out.println(\"You have a good look at yourself:\");\n System.out.println(\"You have \" + player.getHealth() + \" health left.\");\n round--;\n break;\n\n case RUN:\n System.out.println(\"You try to run...\");\n int canRun = randomize.getRandomNumber(4); // gets back 1 -4\n if (canRun == 4) {\n System.out.println(\".. but fail!\");\n enemyturn(); // let the enemy attack\n } else {\n System.out.println(\".. and succeed!\");\n succeededrun = true;\n }\n break;\n\n default:\n System.out.println(\"That option does not exist! Please try again.\");\n System.out.println(\"Your battle options are: Attack, Eat, Inspect, Run\");\n System.out.println(\"\");\n round--;\n break;\n }\n }", "public Command parse(String fullCommand) throws InvalidInputException, UnknownException {\n checkDelimiters(fullCommand);\n String[] tokens = fullCommand.split(\"\\\\s+\");\n\n // If tokenized command returns an empty array (entered a string with only white spaces),\n // raise an exception\n if (tokens.length == 0) {\n throw new InvalidInputException(InvalidInputException.Type.EMPTY_STRING);\n }\n // If first token (command) is empty, there are empty spaces typed in at the front - so we remove it\n if (tokens[0].isEmpty()) {\n tokens = Arrays.copyOfRange(tokens, 1, tokens.length);\n // Check again to make sure it is not empty after removing first element\n if (tokens.length == 0) {\n throw new InvalidInputException(InvalidInputException.Type.EMPTY_STRING);\n }\n }\n\n HashMap<String, String> arguments = new HashMap<>();\n // Conver input command to lowercase to make it case insensitive\n String command = tokens[0].toLowerCase();\n arguments.put(\"command\", command);\n\n // Default key is \"payload\"\n String key = \"payload\";\n ArrayList<String> values = new ArrayList<>();\n for (int i = 1; i < tokens.length; ++i) {\n String token = tokens[i];\n // Check whether this token is a new key\n if (!token.isEmpty() && token.charAt(0) == '/') {\n // If it is, save current value into the map and start a new k-v pair\n arguments.put(key, String.join(DELIMITER, values));\n key = token.substring(1);\n values.clear();\n } else {\n // If not, append this token to the end of the value\n values.add(token);\n }\n }\n\n // Store the last k-v pair\n // Store even when `values` is empty, as that indicates an empty string\n arguments.put(key, String.join(DELIMITER, values));\n\n // Initialize a respective class from the command (by capitalize first character)\n String className = command + \"Command\";\n className = className.substring(0, 1).toUpperCase() + className.substring(1);\n className = Constants.COMMAND_CLASS_PREFIX + className;\n try {\n Class<?> cls = Class.forName(className);\n Constructor<?> constructor = cls.getDeclaredConstructor(Ui.class, Data.class, HashMap.class);\n Object obj = constructor.newInstance(ui, data, arguments);\n return (Command) obj;\n } catch (ClassNotFoundException classNotFoundException) {\n // *Command class cannot be found!\n throw new InvalidInputException(InvalidInputException.Type.UNKNOWN_COMMAND, classNotFoundException);\n } catch (Exception exception) {\n // Some other weird error occurred here (e.g. dev bugs)\n // We should NEVER reach this block, if we do, log under the highest level\n throw new UnknownException(exception);\n }\n }", "protected boolean ValidateCommand()\n {\n //Create a new ArrayList object and add the valid commands\n ArrayList<String> validCommands = new ArrayList<>();\n validCommands.add(\"^\");\n validCommands.add(\"$\");\n validCommands.add(\"-\");\n validCommands.add(\"+\");\n validCommands.add(\"a\");\n validCommands.add(\"t\");\n validCommands.add(\"d\");\n validCommands.add(\"l\");\n validCommands.add(\"n\");\n validCommands.add(\"p\");\n validCommands.add(\"q\");\n validCommands.add(\"w\");\n validCommands.add(\"x\");\n validCommands.add(\"=\");\n validCommands.add(\"#\");\n validCommands.add(\"c\");\n validCommands.add(\"v\");\n validCommands.add(\"s\");\n validCommands.add(\"b\");\n \n //Check if the inserted command is valid\n return validCommands.contains(this.Command);\n }", "public InvalidCommandException(String command) {\n super(command + \" is not a valid command\");\n }", "protected abstract DispatchOutcome dispatchCommand(CommandEnvelope cmd);", "public boolean isValidCommand(String cmd) {\r\n\t\tboolean isValidCmd = false;\r\n\t\tList validOtherCmd = Arrays.asList(\"MOVE\", \"LEFT\", \"RIGHT\", \"REPORT\");\r\n\r\n\t\tif (validOtherCmd.contains(cmd.toUpperCase())) {\r\n\t\t\tisValidCmd = true;\r\n\t\t}\r\n\r\n\t\tif (isValidPlaceCommand(cmd)) {\r\n\t\t\tisValidCmd = true;\r\n\t\t}\r\n\t\treturn isValidCmd;\r\n\t}", "public static void processCommand(String command) {\n instance.doCommand(command);\n }", "private void handleCommand(StringBuilder commandBuffer, int parameter,\n\t\t\tboolean hasParameter) throws IOException {\n\t\tString commandName = commandBuffer.toString();\n\t\tRtfComands command = RtfComands.getInstance(commandName);\n\n\t\tif (command != null) {\n\t\t\tif (command != RtfComands.hex) {\n\t\t\t\thandleCharacterData();\n\n\t\t\t}\n\n\t\t\tswitch (command) {\n\t\t\tcase bin: {\n\t\t\t\thandleBinaryData(parameter);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tcase hex: {\n\t\t\t\tparsingHex = true;\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tdefault: {\n\t\t\t\thandler.handleCommand(command, parameter, hasParameter, false);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "@Override\r\n public void execute()\r\n {\r\n printInvalidCommandMessage();\r\n }", "final public void basicCommand() throws ParseException {\n if (jj_2_75(4)) {\n if (jj_2_55(4)) {\n jj_consume_token(MOVE);\n numero();\n } else if (jj_2_56(4)) {\n jj_consume_token(RIGHT);\n numero();\n } else if (jj_2_57(4)) {\n jj_consume_token(LEFT);\n numero();\n } else if (jj_2_58(4)) {\n jj_consume_token(ROTATE);\n numero();\n } else if (jj_2_59(4)) {\n jj_consume_token(DROP);\n numero();\n } else if (jj_2_60(4)) {\n jj_consume_token(FREE);\n numero();\n } else if (jj_2_61(4)) {\n jj_consume_token(PICK);\n numero();\n } else if (jj_2_62(4)) {\n jj_consume_token(POP);\n numero();\n } else if (jj_2_63(4)) {\n jj_consume_token(BLOCKEDP);\n } else if (jj_2_64(4)) {\n jj_consume_token(NOP);\n } else if (jj_2_65(4)) {\n jj_consume_token(LOOK);\n if (jj_2_49(4)) {\n jj_consume_token(N);\n } else if (jj_2_50(4)) {\n jj_consume_token(E);\n } else if (jj_2_51(4)) {\n jj_consume_token(W);\n } else if (jj_2_52(4)) {\n jj_consume_token(S);\n } else {\n jj_consume_token(-1);\n throw new ParseException();\n }\n } else if (jj_2_66(4)) {\n jj_consume_token(CHECK);\n if (jj_2_53(4)) {\n jj_consume_token(C);\n } else if (jj_2_54(4)) {\n jj_consume_token(B);\n } else {\n jj_consume_token(-1);\n throw new ParseException();\n }\n numero();\n } else if (jj_2_67(4)) {\n block();\n } else if (jj_2_68(4)) {\n repeat();\n } else if (jj_2_69(4)) {\n conditional();\n } else if (jj_2_70(4)) {\n define();\n } else if (jj_2_71(4)) {\n function();\n } else if (jj_2_72(4)) {\n funcall();\n } else if (jj_2_73(4)) {\n varcall();\n } else {\n jj_consume_token(-1);\n throw new ParseException();\n }\n } else {\n label_13:\n while (true) {\n if (jj_2_74(4)) {\n ;\n } else {\n break label_13;\n }\n jj_consume_token(34);\n }\n }\n }", "@Test(expected = InvalidCommandException.class)\n public void testInvalidCommand() {\n interpreterInstance.interpret(\"notacommand argumentshere\");\n }", "private static boolean validCommand(String line) {\n if (line.equals(\"GET\") || line.equals(\"BOARD\")) {\n return true;\n } else if (line.matches(\"PUT .*\")) {\n if (line.matches(\"PUT [1234]\")) {\n return true;\n } else {\n System.out.println(INVALID_PUT_COLUMN_ERROR_MESSAGE);\n return false;\n }\n } else {\n System.out.println(INVALID_COMMAND_ERROR_MESSAGE);\n return false;\n }\n }", "public void parseCommand(byte command) throws Exception {\r\n\r\n\t switch(command){\r\n\t case Constants.ROTATE_LEFT:\r\n\t rotateLeft();\r\n\t break;\r\n\t case Constants.ROTATE_RIGHT:\r\n\t rotateRight();\r\n\t break;\r\n\t case Constants.MOVE:\r\n\t move();\r\n\t break;\r\n\t default:\r\n\t throw new Exception(\"Invalid signal\");\r\n\t }\r\n\t }", "private void handleCommand(String input) throws ClientOfflineException, ServerException {\n String[] params = input.split(\" \");\n Command command = this.availableCommandMap.get(params[0]);\n String argument = (params.length <= 1) ? null : params[1];\n command.execute(this, argument);\n }", "private CommandResult executeInvalidCommand(Command userCommand) {\n return new CommandResult(userCommand, CommandResult.EXECUTION_FAIL, CommandResult.INVALID_COMMAND);\n }", "private void handleCommand(Message msg, String commands) {\n String[] tokens = commands.split(\" \");\n String command = tokens[0];\n\n switch(command) {\n case \"query\":\n queryProblems(msg, tokens);\n break;\n case \"help\":\n printHelpMessage(msg, tokens);\n break;\n default:\n // Implement more commands later\n break;\n }\n }", "public abstract void doCommand(String command);", "@Override\n public Command parseCommand(String commandText, ViewController viewController, Cli cli) throws InvalidCommandException {\n\n System.out.println(this+\": \"+commandText);\n String word = \"\";\n Resource resource;\n String prefix = \"\";\n String suffix = \"\";\n boolean found = false;\n ArrayList<Resource> resources = new ArrayList<>();\n\n if (commandText.length() == 0)\n throw new InvalidCommandException();\n\n commandText = Command.deleteInitSpaces(commandText);\n\n for (int i = 0;i<commandText.length();i++){\n if (commandText.charAt(i) != ' '){\n prefix = prefix + commandText.charAt(i);\n } else {\n for (i++;i<commandText.length();i++)\n suffix = suffix + commandText.charAt(i);\n }\n }\n\n if (prefix.equals(\"coin\") || prefix.equals(\"rock\") || prefix.equals(\"shield\") || prefix.equals(\"servant\")){\n\n resource = Command.fromStringToResource(prefix);\n resources.add(resource);\n\n for (int i = 0;i<suffix.length();i++){\n if (suffix.charAt(i) != ' '){\n word = word + suffix.charAt(i);\n } else {\n resource = Command.fromStringToResource(word);\n if(resource != null )\n for(Resource r : possibleResources)\n if (r == resource)\n resources.add(resource);\n word = \"\";\n }\n }\n resource = Command.fromStringToResource(word);\n if(resource != null )\n for(Resource r : possibleResources)\n if (r == resource)\n resources.add(resource);\n\n if (resources.size() != numberOfWhiteMarbles){\n throw new InvalidCommandException();\n }\n return new WhiteMarbleCommand(resources,cli);\n } else {\n switch (prefix) {\n case \"exit\": {\n return new ExitCommand();\n }\n case \"help\": {\n return new HelpCommand();\n }\n case \"showGameboard\": {\n return new ShowGameBoardCommand(cli);\n }\n case \"showMarket\": {\n return new ShowMarketCommand(cli);\n }\n case \"showPlayer\": {\n\n int n = 0;\n int temp;\n found = false;\n\n for (int i = 0; i < suffix.length() && !found; i++) {\n if (suffix.charAt(i) != ' ') {\n temp = suffix.charAt(i) - '0';\n if (temp < 0 || temp > 9)\n throw new InvalidCommandException();\n n = temp;\n found = true;\n }\n\n }\n if (n < 1 || n > 4)\n throw new InvalidCommandException();\n return new ShowPlayerCommand(n, viewController);\n\n }\n case \"showProductionDecks\": {\n return new ShowProductionDeckCommand(cli);\n }\n case \"showReserve\": {\n return new ShowReserveCommand(cli);\n }\n default: {\n throw new InvalidCommandException();\n }\n }\n }\n }", "@Override\n public Command parseCommand(String commandText, ViewController viewController, Cli cli) throws InvalidCommandException {\n\n String prefix = \"\";\n String suffix = \"\";\n\n for (int i = 0;i<commandText.length();i++){\n if (commandText.charAt(i) != ' '){\n prefix = prefix + commandText.charAt(i);\n } else {\n for (i++;i<commandText.length();i++)\n suffix = suffix + commandText.charAt(i);\n }\n }\n\n\n if (prefix.equals(\"\"))\n throw new InvalidCommandException();\n\n switch(prefix){\n case \"exit\" : {\n return new ExitCommand();\n }\n case \"help\" : {\n return new HelpCommand();\n }\n case \"showGameboard\" : {\n return new ShowGameBoardCommand(cli);\n }\n case \"showMarket\" : {\n return new ShowMarketCommand(cli);\n }\n case \"showPlayer\" : {\n\n int n = 0;\n int temp;\n boolean found = false;\n\n for (int i = 0; i < suffix.length() && !found; i++) {\n if ( suffix.charAt(i) != ' '){\n temp = suffix.charAt(i) -'0';\n if (temp < 0 || temp > 9)\n throw new InvalidCommandException();\n n = temp;\n found = true;\n }\n\n }\n if (n < 1 || n > 4)\n throw new InvalidCommandException();\n return new ShowPlayerCommand(n, viewController);\n\n }\n case \"showProductionDecks\" : {\n return new ShowProductionDeckCommand(cli);\n }\n case \"showReserve\" : {\n return new ShowReserveCommand(cli);\n }\n default: {\n throw new InvalidCommandException();\n }\n }\n\n }", "@Override\r\n\tpublic boolean validCommand(CommandStack stack) {\r\n\t\treturn true;\r\n\t}", "private Command parseCommand(String input) {\r\n\r\n String[] splittedInput = input.toUpperCase().split(\" \");\r\n String command = splittedInput[0];\r\n\r\n switch (command) {\r\n case \"PLACE\":\r\n return new PlaceCommand(input);\r\n case \"MOVE\":\r\n return new MoveCommand();\r\n case \"LEFT\":\r\n return new RotateLeftCommand();\r\n case \"RIGHT\":\r\n return new RotateRightCommand();\r\n case \"REPORT\":\r\n return new ReportCommand();\r\n default:\r\n return new IgnoreCommand();\r\n }\r\n }", "public final void invalidInput() {\n\t\tout.println(\"Command not recognized. Please try again.\");\n\t}", "public void analyzeCommand(String cmd)\n {\n commandEntered(cmd);\n }", "public ArrayList<Command> parseCommand(String command) throws InvalidCommandException {\n\n\n\t\tArrayList<Command> cmds = new ArrayList<Command>();\n\t\tString cmd;\n\t\tString[] text;\n\n\t\tArrayList<Parameter> parameters = new ArrayList<Parameter>();\n\n\t\tint indexOfFirstSpace = 0;\n\t\tint indexOfFirstInvertedSlash = 0;\n\t\tboolean passFirstSpace = false;\n\n\t\t// check and find the first space and slash.\n\t\tfor (int i = 0; i < command.length(); i++) {\n\t\t\tif (command.charAt(i) == ' ' && !passFirstSpace) {\n\t\t\t\tindexOfFirstSpace = i;\n\t\t\t\tpassFirstSpace = true;\n\t\t\t} else if (command.charAt(i) == INVERTED_SLASH) {\n\t\t\t\tindexOfFirstInvertedSlash = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tindexOfFirstSpace = getEquivalentIndexForCommandWithoutParameter(command, indexOfFirstSpace);\n\n\t\tif (indexOfFirstSpace == 0) {\n\t\t\treturn null;\n\t\t}\n\n\t\tcmd = command.substring(0, indexOfFirstSpace);\n\t\tint cmdType = mapCommandType(cmd);\n\n\t\tif (cmdType == ERROR_COMMAND_TYPE) {\n\t\t\tthrow new InvalidCommandException(command);\n\t\t}\n\n\t\tif (!command.contains(VERTICAL_DASH)) {\n\t\t\tperformSmartParsing(command, parameters);\n\t\t}\n\n\t\ttext = extractTextAndPerformParameterParsing(command, parameters, indexOfFirstSpace, indexOfFirstInvertedSlash);\n\t\tif (text != null) {\n\t\t\tfor (String textEntry : text) {\n\t\t\t\tcmds.add(new Command(cmdType, trimOffDateIfAny(textEntry), parameters));\n\n\t\t\t}\n\t\t} else {\n\t\t\tcmds.add(new Command(cmdType, \"\", parameters));\n\t\t}\n\n\t\treturn cmds;\n\t}", "Command handleExecute(CommandExecute commandExecute);", "private boolean runCommand( String command ) throws SQLException, NoDatabaseConnectionException, InputValidationException{\r\n\t\t\r\n\t\tif(command.length() == 0)\r\n\t\t\treturn true;\r\n\t\t\r\n\t\tboolean syntaxProblems = false;\r\n\t\t//String[] input = StringUtils.split(command);\r\n\t\tString[] input;\r\n\t\t\r\n\t\ttry{\r\n\t\t\tinput = parseCommand( command );\r\n\t\t}catch( QuoteSequenceException e){\r\n\t\t\tSystem.out.println( e.getDescription() );\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\t \r\n\t\t\r\n\t\t// 1 -- Try to execute the desired command\r\n\t\t\r\n\t\tfor( int c = 0; c < consoleCommands.length; c++){\r\n\t\t\t\r\n\t\t\tif( consoleCommands[c].matchesName( input[0] )){\r\n\t\t\t\tSystem.out.println();//Inserts a space before the command to make easier for the user to parse the output\r\n\t\t\t\tCommandResult result = consoleCommands[c].run(input);\r\n\t\t\t\tsyntaxProblems = (result == CommandResult.ERROR);\r\n\t\t\t\t\r\n\t\t\t\tif( result == CommandResult.TERMINATE_CONSOLE )\r\n\t\t\t\t\treturn false;\r\n\t\t\t\telse\r\n\t\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\t// 2 -- Show a message if the command was not recognized (execution will not get to this point unless the command failed). \r\n\t\tSystem.out.println(\"Command not recognized\");\r\n\t\tsyntaxProblems = true;\r\n\t\t\r\n\t\t// 3 -- Show the help if the syntax used was incorrect\r\n\t\tif( syntaxProblems ){\r\n\t\t\tdefaultCommand.run(input);\r\n\t\t\t/*System.out.println(\"Type \\\"help\\\" to see the available commands\");\r\n\t\t\t//boolean firstPrinted = false;\r\n\t\t\tVector<String[]> commands = new Vector<String[]>();\r\n\t\t\tcommands.add(new String[]{\"Similar Command\", \"Usage\"});\r\n\t\t\t\r\n\t\t\tfor( int c = 0; c < consoleCommands.length; c++){\r\n\t\t\t\t\r\n\t\t\t\tif( consoleCommands[c].getName().toLowerCase().startsWith( input[0].toLowerCase() ) ){\r\n\t\t\t\t\tcommands.add(new String[]{consoleCommands[c].getName(), consoleCommands[c].description});\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif( commands.size() > 1 ){\r\n\t\t\t\tString[][] commandsArray = new String[commands.size()][];\r\n\t\t\t\tcommands.toArray(commandsArray);\r\n\t\t\t\tSystem.out.println();\r\n\t\t\t\tSystem.out.println(ConsoleCommand.getTableFromString(commandsArray, true));\r\n\t\t\t}*/\r\n\t\t}\r\n\t\t\r\n\t\t// 4 -- Return true, noting that the console listener should not shutdown\r\n\t\treturn true;\r\n\t\t\r\n\t}", "public static Command parseCommand(String command) throws DukeException {\n try {\n String[] args = getArgs(command.trim());\n String commandWord = args[0];\n boolean isOneWord = isOneWord(command.trim());\n\n if (isOneWord) {\n switch (commandWord.toLowerCase()) {\n case \"list\":\n return new ListCommand();\n case \"bye\":\n return new ExitCommand();\n case \"listtag\":\n return new ListTagCommand();\n default:\n throw new DukeException(MESSAGE_INVALID_INPUT);\n }\n\n } else {\n switch (commandWord.toLowerCase()) {\n case \"todo\":\n return new AddTodo(args[1]);\n case \"deadline\":\n return new AddDeadline(args[1]);\n case \"event\":\n return new AddEvent(args[1]);\n case \"done\":\n return new DoneCommand(args[1]);\n case \"delete\":\n return new DeleteCommand(args[1]);\n case \"find\":\n return new FindCommand(args[1]);\n case \"findtag\":\n return new FindTagCommand(args[1]);\n case \"addtag\":\n return new AddTagCommand(args[1]);\n case \"deltag\":\n return new DeleteTagCommand(args[1]);\n default:\n throw new DukeException(MESSAGE_INVALID_INPUT);\n }\n }\n\n } catch (ArrayIndexOutOfBoundsException e) {\n throw new DukeException(MESSAGE_INVALID_INPUT);\n }\n }", "ACommand CheckCommand(String NameCommand);", "public void parseCommand(CommandType command) throws ExecutionException, InterruptedException {\n try {\r\n if (lock.isLocked(new UserSingleType(command.event().getMessageAuthor().asUser().get(), command.event().getServer().get()))) {\r\n command.event().getMessage().delete();\r\n return;\r\n } else if(lock.isChLocked(new UserChannelLockType(new UserSingleType(command.event().getMessageAuthor().asUser().get(), command.event().getServer().get()), command.event().getChannel()))){\r\n command.event().getMessage().delete();\r\n return;\r\n }\r\n }catch (Exception ignored){}\r\n if(command.command().startsWith(prefix)) { // to prevent expressions for unrelated messages\r\n command.api().getServerById(command.event().getServer().get().getId()).get();\r\n if (!command.event().getServer().get().hasPermission(command.api().getYourself(), PermissionType.ADMINISTRATOR)) {// Bot permissions check, without administrator access our bot should be not work\r\n command.event().getMessage().reply(\"This bot cannot be work without Administrator permission.\");\r\n return;\r\n }\r\n if (command.command().equals(prefix + commands[0])) commandAction.commandPing(command);\r\n else if (command.command().equals(prefix + commands[1])) commandAction.commandServer(command);\r\n else if (command.command().equals(prefix + commands[2])) commandAction.commandInf(command);\r\n else if (command.command().equals(prefix + commands[3])) commandAction.commandInvite(command);\r\n else if (command.command().equals(prefix + commands[4])) commandAction.commandKick(command);\r\n else if (command.command().equals(prefix + commands[5])) commandAction.commandBan(command);\r\n else if (command.command().equals(prefix + commands[6])) commandAction.commandMute(command);\r\n else if (command.command().equals(prefix + commands[7])) commandAction.commandUnMute(command);\r\n else if (command.command().equals(prefix + commands[8])) commandAction.commandDef(command);\r\n else if (command.command().equals(prefix + commands[9])) commandAction.commandUnDef(command);\r\n else if (command.command().equals(prefix + commands[10])) commandAction.commandWarn(command);\r\n else if (command.command().equals(prefix + commands[11])) commandAction.commandUnWarn(command);\r\n else if (command.command().equals(prefix + commands[12])) commandAction.commandClear(command);\r\n else if (command.command().equals(prefix + commands[13])) commandAction.commandLock(command, lock);\r\n else if (command.command().equals(prefix + commands[14])) commandAction.commandUnlock(command, lock);\r\n else if (command.command().equals(prefix + commands[15])) commandAction.commandDelete(command);\r\n else if (command.command().equals(prefix + commands[16])) commandAction.commandChLock(command, lock);\r\n else if (command.command().equals(prefix + commands[17])) commandAction.commandChUnlock(command, lock);\r\n else if (command.command().equals(prefix + commands[18])) commandAction.commandUnBanAll(command);\r\n else if (command.command().equals(prefix + commands[19])) commandAction.commandUnlockAll(command, lock);\r\n else if (command.command().equals(prefix + commands[20])) commandAction.commandSet(command);\r\n else if (command.command().equals(prefix + commands[21])) commandAction.commandHelp(command);\r\n }\r\n }", "private boolean commandAnalyzerLR(List<Token> lineLexTokens) {\r\n\t\tToken cmdToken = lineLexTokens.get(0);\r\n\t\t// command declaration must have NUM_PARAM_CMD parameters\r\n\t\tif (lineLexTokens.size()!= NUM_PARAMS_CMD) {\r\n\t\t\tlog.error(\"Command '\" + cmdToken.value + \"' must contain \" \r\n\t\t\t\t\t+ NUM_PARAMS_CMD + \" parameters.\", new ParserException());\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tToken valToken = lineLexTokens.get(1);\r\n\t\tString lineLex = cmdToken.lexSymbol + \r\n\t\t\t\t valToken.lexSymbol;\r\n\t\tString regex = \"\"; // regular expression\r\n\r\n\t\t// Check the syntax of this command declaration \r\n\t\tKeywords cmdKeyword = Keywords.lookup(cmdToken.value);\r\n\t\t\r\n\t\t// default error message\r\n\t\tfinal String errMsg = \"Command declaration '\" + cmdToken.value + \r\n\t\t \t\t\t \t\"' is in a wrong format.\";\r\n\t\t\r\n\t\tswitch(cmdKeyword){\r\n\t\t\tcase _COORD_SYSTEM:\r\n\t\t\t\t// \"\\\\$cmd$space\"\r\n\t\t\t\tregex = \"\\\\\"+Symbols.CommandSymbol +\r\n\t\t\t\t\t \"\\\\\"+Symbols.CoordinateSysSymbol;\r\n\t\t\t\tif (!lineLex.matches(regex)) {\r\n\t\t\t\t\tlog.error(errMsg + \" Check coordinates system types \"\r\n\t\t\t\t\t\t\t+ \"definition.\", new ParserException());\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\t\t\r\n\t\t\tcase _SPATIAL_DIM:\r\n\t\t\t\t// \"\\\\$cmd[1-3]\"\r\n\t\t\t\tregex = \"\\\\\"+Symbols.CommandSymbol + \"[1-3]\";\r\n\t\t\t\tString dimCmd = cmdToken.lexSymbol + valToken.value;\r\n\t\t\t\tif (!dimCmd.matches(regex)) {\r\n\t\t\t\t\tlog.error(errMsg + \" Dimensions must be 1, 2 or 3.\", \r\n\t\t\t\t\t\t\tnew ParserException());\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase _IGNORE_LINES:\r\n\t\t\t\t// \"\\\\$cmd[1-9,15,18]\"\r\n\t\t\t\tregex = \"\\\\\"+Symbols.CommandSymbol + \r\n\t\t\t\t \"\\\\[[^,]{0}(,{0,1}[0-9]|,{0,1}[0-9]\\\\-[0-9])+\\\\]\";\r\n\t\t\t\tString ignoreCmd = cmdToken.lexSymbol + valToken.value;\r\n\t\t\t\tif (!ignoreCmd.matches(regex)) {\r\n\t\t\t\t\tlog.error(errMsg, new ParserException());\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\tcase _AUTO_ID:\r\n\t\t\t\t// \"\\\\$cmd\\\\$str\"\r\n\t\t\t\tregex = \"\\\\\"+Symbols.CommandSymbol +\r\n\t\t\t\t\t \"\\\\\"+Symbols.StringSymbol;\r\n\t\t\t\tif (!lineLex.matches(regex)) {\r\n\t\t\t\t\tlog.error(errMsg + \" Check ID prefix declaration.\", \r\n\t\t\t\t\t\t\tnew ParserException());\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\t\t\r\n\t\t\tcase _IGNORE_ATTR:\r\n\t\t\t\t// \"\\\\$cmd\\\\$delim\"\r\n\t\t\t\tregex = \"\\\\\"+Symbols.CommandSymbol +\r\n\t\t\t\t\t \"\\\\\"+Symbols.DelimiterSymbol;\r\n\t\t\t\tif (!lineLex.matches(regex)) {\r\n\t\t\t\t\tlog.error(errMsg + \" Check attribute delimiter.\", \r\n\t\t\t\t\t\t\tnew ParserException());\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\t\t\r\n\t\t\tcase _RECORDS_DELIM:\t\r\n\t\t\t\t// \"\\\\$cmd\\\\$delim\"\r\n\t\t\t\tregex = \"\\\\\"+Symbols.CommandSymbol +\r\n\t\t\t\t\t \"\\\\\"+Symbols.DelimiterSymbol;\r\n\t\t\t\tif (!lineLex.matches(regex)) {\r\n\t\t\t\t\tlog.error(errMsg + \" Check records delimiter.\", \r\n\t\t\t\t\t\t\tnew ParserException());\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\t\r\n\t\t\tcase _DECIMAL_PREC:\r\n\t\t\t\t// \"\\\\$cmd\\\\d+\"\r\n\t\t\t\tregex = \"\\\\\"+Symbols.CommandSymbol + \"\\\\d+\";\r\n\t\t\t\tString precisionCmd = cmdToken.lexSymbol + valToken.value;\r\n\t\t\t\tif (!precisionCmd.matches(regex)) {\r\n\t\t\t\t\tlog.error(errMsg + \" Decimal precision must be an \"\r\n\t\t\t\t\t\t\t+ \"integer number.\", new ParserException());\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\t\t\r\n\t\t\tdefault:\r\n\t\t\t\t// default format for commands\r\n\t\t\t\t// \"\\\\$cmd(\\\\$str|\\\\$delim)\"\r\n\t\t\t\tregex = \"\\\\\"+Symbols.CommandSymbol + \r\n\t\t\t\t\t \"(\\\\\"+Symbols.StringSymbol + \"|\" +\r\n\t\t\t\t\t \"\\\\\"+Symbols.DelimiterSymbol + \")\";\r\n\t\t\t\tif (!lineLex.matches(regex)) {\r\n\t\t\t\t\tlog.error(errMsg, new ParserException());\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t// no syntax error in this command declaration\r\n\t\treturn true;\r\n\t}", "@Test\n\t//Test for invalid command\n\tpublic void testForInvalidCommand() {\n\t\t\t\n\t\t//-d option present but no delimiter given\n\t\tString command1 = \"paste -d a.txt\";\n\t\t\n\t\tpasteTool = new PASTETool();\n\t\t\n\t\tString actual = pasteTool.execute(workingDirectory, command1);\n\t\tString expected = \"Invalid Command\";\n\t\t\t\n\t\tassertEquals(expected, actual);\n\t\tassertEquals(pasteTool.getStatusCode(),-1);\n\t}", "public void onCmd(String cmd) \n {\n \tString split[] = cmd.split(\" \");\n \tif (split.length <= 1)\n \t{\n \t\tacm(\"No command was typed. Use \\\"help\\\" for a list of commands\");\n \t\treturn;\n \t}\n \telse\n \t{\n \t\tfor (ICommand command : commands)\n \t\t{\n \t\t\tif (command.getCommand().equalsIgnoreCase(split[1]))\n \t\t\t{\n \t\t\t\tcommand.onCmd(split);\n \t\t\t\treturn;\n \t\t\t}\n \t\t}\n \t\tacm(\"\\\"\" + split[1] + \"\\\" Unknown command. Use \\\"help\\\" for a list of commands\");\n \t}\n }", "private void processCommands() {\n while (!commandQueue.isEmpty()) {\n var msg = commandQueue.remove();\n treatCommand.parseCommand(msg);\n }\n }", "private void commandCheck() {\n\t\t//add user command\n\t\tif(cmd.getText().toLowerCase().equals(\"adduser\")) {\n\t\t\t/*\n\t\t\t * permissions check: if user is an admin, proceed. If not, error with a permission error.\n\t\t\t * There will be more user level commands added in version 2, like changing rename to allow a\n\t\t\t * user to rename themselves, but not any other user. Admins can still rename all users.\n\t\t\t */\n\t\t\tif(type.equals(\"admin\")) {\n\t\t\t\taddUser();\n\t\t\t}\n\t\t\telse {\n\t\t\t\terror(PERMISSIONS);\n\t\t\t}\n\t\t}\n\t\t//delete user command\n\t\telse if(cmd.getText().toLowerCase().equals(\"deluser\")) {\n\t\t\t//permissions check: if user is an admin, proceed. If not, error with a permission error.\n\t\t\tif(type.equals(\"admin\")) {\n\t\t\t\tdelUser();\n\t\t\t}\n\t\t\telse {\n\t\t\t\terror(PERMISSIONS);\n\t\t\t};\n\t\t}\n\t\t//rename user command\n\t\telse if(cmd.getText().toLowerCase().equals(\"rename\")) {\n\t\t\t//permissions check: if user is an admin, allow the user o chose a user to rename.\n\t\t\t//If not, allow the user to rename themselves only.\n\t\t\tif(type.equals(\"admin\")) {\n\t\t\t\trename(ALL);\n\t\t\t}\n\t\t\telse {\n\t\t\t\trename(SELF);\n\t\t\t}\n\t\t}\n\t\t//promote user command\n\t\telse if(cmd.getText().toLowerCase().equals(\"promote\")) {\n\t\t\t//permissions check: if user is an admin, proceed. If not, error with a permission error.\n\t\t\tif(type.equals(\"admin\")) {\n\t\t\t\tpromote();\n\t\t\t}\n\t\t\telse {\n\t\t\t\terror(PERMISSIONS);\n\t\t\t}\n\t\t}\n\t\t//demote user command\n\t\telse if(cmd.getText().toLowerCase().equals(\"demote\")) {\n\t\t\t//permissions check: if user is an admin, proceed. If not, error with a permission error.\n\t\t\tif(type.equals(\"admin\")) {\n\t\t\t\tdemote();\n\t\t\t}\n\t\t\telse {\n\t\t\t\terror(PERMISSIONS);\n\t\t\t}\n\t\t}\n\t\t//the rest of the commands are user level, no permission checking\n\t\telse if(cmd.getText().toLowerCase().equals(\"ccprocess\")) {\n\t\t\tccprocess();\n\t\t}\n\t\telse if(cmd.getText().toLowerCase().equals(\"cprocess\")) {\n\t\t\tcprocess();\n\t\t}\n\t\telse if(cmd.getText().toLowerCase().equals(\"opentill\")) {\n\t\t\topenTill();\n\t\t}\n\t\telse if(cmd.getText().toLowerCase().equals(\"closetill\")) {\n\t\t\tcloseTill();\n\t\t}\n\t\telse if(cmd.getText().toLowerCase().equals(\"opendrawer\")) {\n\t\t\topenDrawer();\n\t\t}\n\t\telse if(cmd.getText().toLowerCase().equals(\"sale\")) {\n\t\t\tsale();\n\t\t}\n\t\t//if the command that was entered does not match any command, return an error.\n\t\telse {\n\t\t\terror(CMD_NOT_FOUND);\n\t\t}\n\t}", "@Override\n\tpublic void processCommand(String s)\n\t{\n\t\tif (s.contentEquals(\"atStart\"))\n\t\t{\n\t\t\tprinttest(s);\n\t\t\tSystem.out.println(isAtStart());\n\t\t}\n\t\telse if (s.contentEquals(\"atEnd\"))\n\t\t{\n\t\t\tprinttest(s);\n\t\t\tSystem.out.println(isAtEnd());\n\t\t}\n\t\telse if (s.contentEquals(\"moveToStart\"))\n\t\t{\n\t\t\tmoveToStart();\n\t\t\tprinttest(s);\n\t\t}\n\t\telse if (s.contentEquals(\"moveToEnd\"))\n\t\t{\n\t\t\tmoveToEnd();\n\t\t\tprinttest(s);\n\t\t}\n\t\telse if (s.contentEquals(\"toString\"))\n\t\t{\n\t\t\tprinttest(s);\n\t\t}\n\t\telse if (s.startsWith(\"toStringCursor\"))\n\t\t{\n\t\t\tprinttest(s);\n\t\t}\n\t\telse if (s.contentEquals(\"moveLeft\"))\n\t\t{\n\t\t\tmoveLeft();\n\t\t\tprinttest(s);\n\t\t}\n\t\telse if (s.contentEquals(\"moveRight\"))\n\t\t{\n\t\t\tmoveRight();\n\t\t\tprinttest(s);\n\t\t}\n\t\t\n\t\t//ERROR CHECKING\n\t\telse if(left.isEmpty() && right.isEmpty())\n\t\t{\n\t\t\t//we have no inputted characters\n\t\t\tSystem.out.println();\n\t\t\tSystem.out.println(\"Now executing the command \" + s + \"...\");\n\t\t\tSystem.out.println(\"The Results of this command are:\");\n\t\t\tSystem.out.println(\"Sorry but you need to input something before using that command...\");\n\t\t}\n\t\telse if (s.startsWith(\"insertChar\"))\n\t\t{\n\t\t\tinsertChar(s.charAt(s.length() - 1));\n\t\t\tprinttest(s);\n\t\t}\n\t\telse if (s.contentEquals(\"backspace\"))\n\t\t{\n\t\t\tbackspace();\n\t\t\tprinttest(s);\n\t\t}\n\t\telse if (s.contentEquals(\"delete\"))\n\t\t{\n\t\t\tdelete();\n\t\t\tprinttest(s);\n\t\t}\n\t\telse if (s.startsWith(\"search\"))\n\t\t{\n\t\t\tsearch(s.charAt(s.length() - 1));\n\t\t\tprinttest(s);\n\t\t}\n\t\t\n\t\t//ERORR CHECKING\n\t\telse\n\t\t{\n\t\t\t//it is an unaccepted command, doing it this way since we cant pass two strings to printtest\n\t\t\tSystem.out.println();\n\t\t\tSystem.out.println(\"Now executing the command \" + s + \"...\");\n\t\t\tSystem.out.println(\"The Results of this command are:\");\n\t\t\tSystem.out.println(\"Sorry but this is not valid command...\");\n\t\t}\n\n\t}", "public String getValidCommand(String msg) {\n String enteredCmd = getCommand(msg);\n while (enteredCmd.isEmpty()||isSpecialCharacter(enteredCmd)) {\n enteredCmd = getCommand(ANSI_RED+\"Not a valid input. Please enter again\"+ANSI_RESET);\n }\n return enteredCmd;\n }", "@Test\n\tpublic void parseCommandTest() {\n\t\tassertFalse(myManager.parseCommand(\"quit\"));\n\t\tassertFalse(myManager.parseCommand(\"Quit\"));\n\t\tassertFalse(myManager.parseCommand(\"q uit\"));\n\t\t\n\t\tassertTrue(myManager.parseCommand(\"new job\"));\n\t\tassertTrue(myManager.parseCommand(\"NEW job\"));\n\t\tassertTrue(myManager.parseCommand(\"new\"));\n\t\tassertFalse(myManager.parseCommand(\"new jobzo\"));\n\t}", "public ICommand translate(String command) throws IllegalArgumentException{\n ArrayList<String> parsedCommand = new ArrayList<String>(Arrays.asList(command.split(\"\\\\s+\")));\n if(parsedCommand.size() <= 0)\n throw new IllegalArgumentException(\"No command specified.\");\n command = parsedCommand.remove(0);\n\n // Analyze command\n switch(command){\n case \"move\":\n case \"mv\":\n case \"m\":\n if(parsedCommand.size() == 2)\n return translateMove(parsedCommand);\n else if(parsedCommand.size() == 3)\n return translateMoveMulti(parsedCommand);\n else throw new IllegalArgumentException(\"Invalid argument count of 'move' command.\");\n \n case \"next\":\n case \"n\":\n this.expectedArgumentCount(parsedCommand, 0);\n return new CommandNext(model.getRepository());\n\n case \"renew\":\n case \"rn\":\n this.expectedArgumentCount(parsedCommand, 0);\n return new CommandRenew(model.getRepository());\n\n case \"undo\":\n case \"u\":\n return new ControlCommand(\"undo\");\n\n case \"redo\":\n case \"rd\":\n case \"r\":\n return new ControlCommand(\"redo\");\n\n case \"quit\":\n case \"q\":\n return new ControlCommand(\"quit\");\n\n case \"help\":\n this.expectedArgumentCount(parsedCommand, 0);\n this.printHelp();\n return new ControlCommand(\"none\");\n\n case \"hint\":\n case \"h\":\n this.expectedArgumentCount(parsedCommand, 0);\n return new ControlCommand(\"hint\");\n\n case \"save\":\n this.expectedArgumentCount(parsedCommand, 1);\n return new ControlCommand(\"save\", new ArrayList<String>(){{add(parsedCommand.get(0));}});\n\n case \"load\":\n this.expectedArgumentCount(parsedCommand, 1);\n return new ControlCommand(\"load\", new ArrayList<String>(){{add(parsedCommand.get(0));}});\n\n default:\n throw new IllegalArgumentException(\"Ivalid command specified. See 'help' for more informations.\");\n }\n }", "protected void handleOther(final boolean invalidCmd) {\r\n\t\t// do nothing\r\n\t}", "Optional<String> validate(String command, List<String> args);", "public void processCommand(Object\tsource,\n\t\t\t\t\t\t\t String\tcommandOriginal,\n\t\t\t\t\t\t\t String\tp1,\n\t\t\t\t\t\t\t String\tp2,\n\t\t\t\t\t\t\t String\tp3,\n\t\t\t\t\t\t\t String\tp4,\n\t\t\t\t\t\t\t String\tp5,\n\t\t\t\t\t\t\t String\tp6,\n\t\t\t\t\t\t\t String\tp7,\n\t\t\t\t\t\t\t String\tp8,\n\t\t\t\t\t\t\t String\tp9,\n\t\t\t\t\t\t\t String\tp10)\n\t{\n\t\tXml xml;\n\t\tString command = commandOriginal.trim().toLowerCase();\n\t\tif (command.isEmpty())\n\t\t\treturn;\t// Nothing to do\n\n//////////\n// Quit\n\t\tif (command.equals(\"quit\")) {\n\t\t\t// Exiting the system\n\t\t\tSystem.exit(0);\n\n\n//////////\n// Back\n\t\t} else if (command.equals(\"back\")) {\n\t\t\t// Navigating back through chain\n\t\t\tm_opbm.navigateBack();\n\t\t\t// Note: For rawedits and edits, use the rawedit_* and edit_* commands below\n\n\n//////////\n// Home\n\t\t} else if (command.equals(\"home\")) {\n\t\t\t// Navigating back through chain\n\t\t\tm_opbm.navigateHome();\n\n\n//////////\n// LeftPanel\n\t\t} else if (command.equals(\"leftpanel\")) {\n\t\t\t// Navigating to a leftpanel\n\t\t\tm_opbm.navigateToLeftPanel(m_opbm.expandMacros(p1));\n\n\n//////////\n// Raw Edit related\n\t\t} else if (command.equals(\"rawedit\")) {\n\t\t\t// Raw editing (full-page edit box) of whatever file is specified\n\t\t\tm_opbm.rawedit(m_opbm.expandMacros(p1));\n\n\t\t} else if (command.equals(\"rawedit_save\")) {\n\t\t\t// Saving the current contents of the active rawedit\n\t\t\tm_opbm.rawEditSave();\n\n\t\t} else if (command.equals(\"rawedit_save_and_close\")) {\n\t\t\t// Saving the current contents of the active rawedit, and returning to the previous panel\n\t\t\tm_opbm.rawEditSaveAndClose();\n\t\t\tm_opbm.navigateBack();\n\n\t\t} else if (command.equals(\"rawedit_close\") || command.equals(\"rawedit_back\")) {\n\t\t\t// Saving the current contents of the active rawedit, and returning to the previous panel\n\t\t\tm_opbm.rawEditClose();\n\t\t\tm_opbm.navigateBack();\n\n\t\t} else if (command.equals(\"rawedit_home\")) {\n\t\t\t// Navigating back through chain\n\t\t\tm_opbm.rawEditClose();\n\t\t\tm_opbm.navigateHome();\n\n\n//////////\n// Edit related\n\t\t} else if (command.equals(\"edit\")) {\n\t\t\t// Raw editing (full-page edit box) of whatever file is specified\n\t\t\tm_opbm.edit(m_opbm.expandMacros(p1));\n\n\t\t} else if (command.equals(\"edit_save\")) {\n\t\t\t// Saving the current contents of the active rawedit\n\t\t\tm_opbm.editSave();\n\n\t\t} else if (command.equals(\"edit_save_and_close\")) {\n\t\t\t// Saving the current contents of the active rawedit, and returning to the previous panel\n\t\t\tm_opbm.editSave();\n\t\t\tm_opbm.editClose();\n\t\t\tm_opbm.navigateBack();\n\n\t\t} else if (command.equals(\"edit_close\") || command.equals(\"edit_back\")) {\n\t\t\t// Saving the current contents of the active rawedit, and returning to the previous panel\n\t\t\tm_opbm.editClose();\n\t\t\tm_opbm.navigateBack();\n\n\t\t} else if (command.equals(\"edit_home\")) {\n\t\t\t// Navigating back through chain\n\t\t\tm_opbm.editClose();\n\t\t\tm_opbm.navigateHome();\n\n\n//////////\n// LISTBOX BUTTONS\n\t\t} else if (command.equals(\"listbox_add\")) {\n\t\t\t// User clicked on the \"add\" listbox button on the flow control input\n\t\t\tm_opbm.listBoxAddCommand();\n\n\t\t} else if (command.equals(\"listbox_delete\")) {\n\t\t\t// User clicked on the \"delete\" listbox button on the flow control input\n\t\t\tm_opbm.listBoxDeleteCommand();\n\n\t\t} else if (command.equals(\"listbox_clone\")) {\n\t\t\t// User clicked on the \"clone\" listbox button on the flow control input\n\t\t\tm_opbm.listBoxCloneCommand();\n\n\t\t} else if (command.equals(\"listbox_move_up\")) {\n\t\t\t// User clicked on the \"Up\" listbox button\n\t\t\tm_opbm.listBoxCommand(\"up\", (PanelRightListbox)source);\n\n\t\t} else if (command.equals(\"listbox_move_down\")) {\n\t\t\t// User clicked on the \"Down\" listbox button\n\t\t\tm_opbm.listBoxCommand(\"down\", (PanelRightListbox)source);\n\n\n//////////\n// LOOKUPBOX BUTTONS\n\t\t} else if (command.equals(\"lookupbox_add\")) {\n\t\t\t// User clicked on the \"add\" listbox button on the flow control input\n\t\t\t// p1 = whereTo\n\t\t\t// p2 = after\n\t\t\t// p3 = whereFrom\n\t\t\t// p4 = allow customs?\n\t\t\tm_opbm.lookupboxAddCommand((PanelRightLookupbox)source, p1, p2, p3, Utils.interpretBooleanAsYesNo(p4, true).equalsIgnoreCase(\"yes\"));\n\n\t\t} else if (command.equals(\"lookupbox_subtract\")) {\n\t\t\t// User clicked on the \"subtract\" listbox button\n\t\t\tm_opbm.lookupboxCommand(\"subtract\", (PanelRightLookupbox)source);\n\n\t\t} else if (command.equals(\"lookupbox_move_up\")) {\n\t\t\t// User clicked on the \"Up\" listbox button\n\t\t\tm_opbm.lookupboxCommand(\"up\", (PanelRightLookupbox)source);\n\n\t\t} else if (command.equals(\"lookupbox_move_down\")) {\n\t\t\t// User clicked on the \"Down\" listbox button\n\t\t\tm_opbm.lookupboxCommand(\"down\", (PanelRightLookupbox)source);\n\n\t\t} else if (command.equals(\"lookupbox_zoom\")) {\n\t\t\t// User clicked on the \"zoom\" listbox button\n\t\t\t// p1 = name of edit to use for display\n\t\t\t// p2 = reference in \"zoom\" field in edit to only show those fields which contain that portion\n\t\t\t// p3 = override for data source (if present)\n\t\t\tp3 = \"\";\n\t\t\tif (p1.equalsIgnoreCase(\"relativeto\"))\n\t\t\t{\n\t\t\t\t// The name isn't a hard-coded name, because it is one of a list.\n\t\t\t\t// We have to find out which name belongs here based on whatever\n\t\t\t\t// one of the list is currently selected.\n\t\t\t\txml = m_opbm.getListboxOrLookupboxSelectedItem((PanelRightLookupbox)source);\n\t\t\t\tif (xml == null)\n\t\t\t\t{ // Cannot execut the command because nothing is selected, or there is no data\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tp1 = m_macroMaster.parseMacros(((PanelRightLookupbox)source).getEditForXml(xml.getName()));\n\t\t\t\tif (p1.contains(\":\"))\n\t\t\t\t{\n\t\t\t\t\t// We have to separate out the edit from the location where the data source is specified\n\t\t\t\t\tp3 = p1.substring(p1.indexOf(\":\") + 1);\n\t\t\t\t\tp1 = p1.substring(0, p1.indexOf(\":\"));\n\t\t\t\t}\n\n\t\t\t} else {\n\t\t\t\tp1 = m_macroMaster.parseMacros(p1);\n\n\t\t\t}\n\n\t\t\tif (!p1.isEmpty()) {\n\t\t\t\tm_opbm.lookupboxZoomCommand((PanelRightLookupbox)source, p1, p2, p3);\n\n\t\t\t} else {\n\t\t\t\t// An error, we need an edit to display content\n\t\t\t\tif (p2.isEmpty())\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"No p1 or edits parameter was found for lookupbox_zoom \\\"\" + ((PanelRightLookupbox)source).getName() + \"\\\"\");\n\t\t\t\telse\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"No p1 or edits was found for lookupbox_zoom(\" + p2 +\") \\\"\" + ((PanelRightLookupbox)source).getName() + \"\\\"\");\n\t\t\t}\n\n\t\t} else if (command.equals(\"save_custom\")) {\n\t\t\t// User clicked on the \"zoom\" listbox button on the flow control input\n\t\t\t// p1 = uuid of tupel containing everything to update\n\t\t\tm_opbm.saveCustomCommand(p1);\n\n\t\t} else if (command.equals(\"cancel_custom\")) {\n\t\t\t// User clicked on the \"zoom\" listbox button on the flow control input\n\t\t\t// p1 = uuid of tupel containing everything to update\n\t\t\tm_opbm.cancelCustomCommand(p1);\n\n\n//////////\n// LOOKUPBOX UPDATE\n\t\t} else if (command.equals(\"lookupbox_update\")) {\n\t\t\t// User clicked on a listbox that's related to a lookupbox that needs\n\t\t\t// to have its information updated after the change in entry\n\t\t\tm_opbm.lookupboxUpdateCommand(p1);\n\n\n//////////\n// WEB_BROWSER\n\t\t} else if (command.equals(\"web_browser\")) {\n\t\t\t// Wants to link to the specified web browser address\n\t\t\tm_opbm.webBrowser(p1, p2, p3, p4, p5, p6, p7, p8, p9, p10);\n\n//////////\n// BENCHMARKS\n\t\t} else if (command.equals(\"run_atom_benchmark\")) {\n\t\t\tm_opbm.benchmarkRunAtom(null, 1, true, (PanelRightItem)source, m_opbm, m_macroMaster, m_settingsMaster, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10);\n\n//////////\n// RESULTS VIEWER\n\t\t} else if (command.equals(\"run_results_viewer_sample\")) {\n\t\t\tm_opbm.createAndShowResultsViewer(\"results_sample.xml\");\n\t\t} else if (command.equals(\"run_results_viewer\")) {\n\t\t\tm_opbm.createAndShowResultsViewer(\"output.xml\");\n\n\n//////////\n// CLOSING BRACE\n\t\t}\n\n\n\t}", "public Command parse(String inputCommand) {\n Matcher matcher = BASIC_COMMAND_FORMAT.matcher(inputCommand.trim());\n if (!matcher.matches()) {\n return new IncorrectCommand(\"This is a incorrect format, \"\n + \" you may type the list to see all the commands.\"\n + \" the command should not contain the separator '|'\");\n }\n\n String commandWord = matcher.group(\"commandWord\");\n String arguments = matcher.group(\"arguments\");\n\n switch (commandWord) {\n case AddCommand.COMMAND_WORD:\n return prepareAdd(arguments);\n case ListCommand.COMMAND_WORD:\n return prepareList(arguments);\n\n case DoneCommand.COMMAND_WORD:\n return prepareDone(arguments);\n case DueCommand.COMMAND_WORD:\n return prepareDue(arguments);\n case DeleteCommand.COMMAND_WORD:\n return prepareDelete(arguments);\n\n case SetCommand.COMMAND_WORD:\n return prepareSet(arguments);\n\n case ExitCommand.COMMAND_WORD:\n return new ExitCommand();\n\n case ProjModeCommand.COMMAND_WORD:\n return new ProjModeCommand();\n\n // case HelpCommand.COMMAND_WORD:\n // default:\n // return new HelpCommand();\n\n default:\n return new IncorrectCommand(\"IncorrectCommand\");\n }\n\n }", "public InvalidCommandException() {\n super(EXCEPTION_INVALID_COMMAND_MESSAGE);\n }", "public static Command parse(String input) throws DukeException {\r\n String[] inputArr = input.split(\" \", 2);\r\n String command = inputArr[0];\r\n\r\n switch (command) {\r\n case \"bye\":\r\n return new ExitCommand();\r\n case \"list\":\r\n return new ListCommand();\r\n case \"done\":\r\n try {\r\n return new DoneCommand(inputArr[1]);\r\n } catch (ArrayIndexOutOfBoundsException e) {\r\n throw new DukeException(\"Please specify the task number you wish to\\n mark as done!\");\r\n }\r\n case \"delete\":\r\n try {\r\n return new DeleteCommand(inputArr[1]);\r\n } catch (ArrayIndexOutOfBoundsException e) {\r\n throw new DukeException(\"Please specify the task number you wish to\\n delete!\");\r\n }\r\n case \"todo\":\r\n try {\r\n return new AddCommand(new Todo(inputArr[1]));\r\n } catch (ArrayIndexOutOfBoundsException e) {\r\n throw new DukeException(\"The description of a todo cannot be empty.\");\r\n }\r\n case \"deadline\":\r\n try {\r\n String[] detailsArr = inputArr[1].split(\" /by \");\r\n return new AddCommand(new Deadline(detailsArr[0], detailsArr[1]));\r\n } catch (ArrayIndexOutOfBoundsException e) {\r\n throw new DukeException(\r\n \"Please follow the format:\\n deadline <description> /by <DD/MM/YYYY HHMM>\");\r\n }\r\n case \"event\":\r\n try {\r\n String[] detailsArr = inputArr[1].split(\" /at \");\r\n return new AddCommand(new Event(detailsArr[0], detailsArr[1]));\r\n } catch (ArrayIndexOutOfBoundsException e) {\r\n throw new DukeException(\r\n \"Please follow the format:\\n event <description> /at <DD/MM/YYYY HHMM>\");\r\n }\r\n case \"find\":\r\n try {\r\n return new FindCommand(inputArr[1]);\r\n } catch (ArrayIndexOutOfBoundsException e) {\r\n throw new DukeException(\"Please specify what you are searching for!\");\r\n }\r\n default:\r\n throw new DukeException(\"I'm sorry, but I don't know what that means!\");\r\n }\r\n }", "public void processCommand() {\n if (cam != null) {\n // No commands if no draw canvas to retrieve them from!\n if (this.cam.getDr().isKeyPressed(KeyEvent.VK_UP) || StdDraw.isKeyPressed(KeyEvent.VK_UP))\n this.setR(this.getR().minus(this.getFacingVector().times(1e8)));\n if (this.cam.getDr().isKeyPressed(KeyEvent.VK_DOWN) || StdDraw.isKeyPressed(KeyEvent.VK_DOWN)) \n this.setR(this.getR().plus(this.getFacingVector().times(1e8)));\n if (this.cam.getDr().isKeyPressed(KeyEvent.VK_LEFT) || StdDraw.isKeyPressed(KeyEvent.VK_LEFT)) \n this.rot += FOV_INCREMENT;\n if (this.cam.getDr().isKeyPressed(KeyEvent.VK_RIGHT) || StdDraw.isKeyPressed(KeyEvent.VK_RIGHT)) \n this.rot -= FOV_INCREMENT; \n }\n }", "void legalCommand();", "@Override\r\n\tpublic String execute(String request) {\n\t\treturn response = \"The command is invalid\";\r\n\r\n\t}", "public BadCommandException(String cmd){\n super(cmd);\n }", "public abstract boolean doCommand() throws Exception;", "@Test\n public void parseAddCommand_validCommand_success() throws ChatbotException {\n Command addTodoCmd = ChatbotParser.parseCommand(\"todo read book\");\n assertTrue(addTodoCmd instanceof AddCommand);\n assertEquals(((AddCommand) addTodoCmd).getToAdd().getDescription(), \"read book\");\n\n // Test add deadline\n Command addDeadlineCmd = ChatbotParser.parseCommand(\"deadline return book /by 2020-10-10\");\n assertTrue(addDeadlineCmd instanceof AddCommand);\n assertEquals(((AddCommand) addDeadlineCmd).getToAdd().getDescription(), \"return book\");\n assertEquals(((AddCommand) addDeadlineCmd).getToAdd().getDate().toString(), \"2020-10-10\");\n\n // Test add event\n Command addEventCmd = ChatbotParser.parseCommand(\"event attend wedding /at 2020-11-11\");\n assertTrue(addEventCmd instanceof AddCommand);\n assertEquals(((AddCommand) addEventCmd).getToAdd().getDescription(), \"attend wedding\");\n assertEquals(((AddCommand) addEventCmd).getToAdd().getDate().toString(), \"2020-11-11\");\n }", "private void executeCommand(String c) {\n // split command and arguments\n int index = c.indexOf(' ');\n String command = ((index == -1) ? c.toUpperCase() : (c.substring(0, index)).toUpperCase());\n String args = ((index == -1) ? null : c.substring(index + 1));\n\n debugOutput(\"Command: \" + command + \" Args: \" + args);\n\n // dispatcher mechanism for different commands\n switch (command) {\n case \"USER\":\n handleUser(args);\n break;\n\n case \"PASS\":\n handlePass(args);\n break;\n\n case \"CWD\":\n handleCwd(args);\n break;\n\n case \"LIST\":\n handleNlst(args);\n break;\n\n case \"NLST\":\n handleNlst(args);\n break;\n\n case \"PWD\":\n case \"XPWD\":\n handlePwd();\n break;\n\n case \"QUIT\":\n handleQuit();\n break;\n\n case \"PASV\":\n handlePasv();\n break;\n\n case \"EPSV\":\n handleEpsv();\n break;\n\n case \"SYST\":\n handleSyst();\n break;\n\n case \"FEAT\":\n handleFeat();\n break;\n\n case \"PORT\":\n handlePort(args);\n break;\n\n case \"EPRT\":\n handleEPort(args);\n break;\n\n case \"RETR\":\n handleRetr(args);\n break;\n\n case \"MKD\":\n case \"XMKD\":\n handleMkd(args);\n break;\n\n case \"RMD\":\n case \"XRMD\":\n handleRmd(args);\n break;\n\n case \"TYPE\":\n handleType(args);\n break;\n\n case \"STOR\":\n handleStor(args);\n break;\n\n default:\n sendMsgToClient(\"501 Unknown command\");\n break;\n\n }\n\n }", "@Override\n\tpublic Command parse(String cad, Game execContext) throws WrongCommandFormatException{\n\n\t\t\n\t\tExamineCommand examineCommand = new ExamineCommand();\n\t\tString words[] = cad.split(\" \");\n\t\n\t\tif((words[0].toUpperCase().equals(\"EXAMINE\") || words[0].toUpperCase().equals(\"EXAMINAR\"))){\n\t\t\tif(words.length != 1)\n\t\t\t\tthrow new WrongCommandFormatException();\t\t\t\t\t\n\t\t\telse\n\t\t\t\texamineCommand.game = execContext;\n\t\t}\n\t\telse\n\t\t\tthrow new WrongCommandFormatException();\t\n\n\t\t\n\t\treturn examineCommand;\n\t}", "private void handleCommand(String commands) throws IOException {\n String[] command = commands.split(String.valueOf(Command.DELIMITER));\n String cmdResult;\n if (command[0].equalsIgnoreCase(String.valueOf(Command.PLAYER_JOINED))) {\n // handlePlayerJoined\n handlePlayerJoined(command[1]);\n } else if (command[0].equalsIgnoreCase(String.valueOf(Command.UPDATE_COLOR))) {\n // handleUpdateColor\n handleColorUpdate(Color.fromString(command[1]));\n } else if (command[0].equalsIgnoreCase(String.valueOf(Command.SYNC_BOARD))) {\n // handleSyncBoard\n updateBoard(command);\n } else if (command[0].equalsIgnoreCase(String.valueOf(Command.MAKE_MOVE))) {\n // handleMakeMove\n handleMove();\n\n\n// } else if (command.equals(Character.toString(ProtocolMessages.EXIT))) {\n// in.close();\n// out.close();\n// sock.close();\n } else {\n clientTUI.showMessage(\"Check your parameters\");\n try {\n sendMessage(\"Unknown Command\");\n } catch (ServerUnavailableException e) {\n e.printStackTrace();\n }\n }\n }", "public boolean handleCommand(LocalPlayer player, String[] split) {\n try {\n split[0] = split[0].substring(1);\n\n // No command found!\n if (!commandManager.hasCommand(split[0])) {\n return false;\n }\n\n try {\n commandManager.execute(split, player, player);\n } catch (CommandPermissionsException e) {\n player.sendMessage(ChatColor.RED + \"You don't have permission to do this.\");\n } catch (MissingNestedCommandException e) {\n player.sendMessage(ChatColor.RED + e.getUsage());\n } catch (CommandUsageException e) {\n player.sendMessage(ChatColor.RED + e.getMessage());\n player.sendMessage(ChatColor.RED + e.getUsage());\n } catch (UnhandledCommandException e) {\n return false;\n } catch (WrappedCommandException e) {\n throw e.getCause();\n } catch (CommandException e) {\n player.sendMessage(ChatColor.RED + e.getMessage());\n } catch (NumberFormatException e) {\n player.sendMessage(ChatColor.RED + \"Number expected; string given.\");\n }\n } catch (Throwable e) {\n player.sendMessage(ChatColor.RED + \"Please report this error: [See console]\");\n player.sendMessage(ChatColor.RED + e.getClass().getName() + \": \" + e.getMessage());\n e.printStackTrace();\n }\n\n return true;\n }", "public Command parseCommand(String userInput) throws ParseException {\n final Matcher matcher = BASIC_COMMAND_FORMAT.matcher(userInput.trim());\n if (!matcher.matches()) {\n throw new ParseException(String.format(MESSAGE_INVALID_COMMAND_FORMAT, HelpCommand.MESSAGE_USAGE));\n }\n\n final String commandWord = matcher.group(\"commandWord\");\n final String arguments = matcher.group(\"arguments\");\n switch (commandWord) {\n\n // ========================== Easy Travel Commands =========================\n case HelpCommand.COMMAND_WORD:\n return new HelpCommand();\n\n case ExitCommand.COMMAND_WORD:\n return new ExitCommand();\n\n // ========================== Trip Commands =========================\n case SetTripCommand.COMMAND_WORD:\n return new SetTripCommandParser().parse(arguments);\n\n case DeleteTripCommand.COMMAND_WORD:\n return new DeleteTripCommand();\n\n case CheckStatusCommand.COMMAND_WORD:\n return new CheckStatusCommand();\n\n case EditBudgetCommand.COMMAND_WORD:\n return new EditBudgetCommandParser().parse(arguments);\n\n case RenameCommand.COMMAND_WORD:\n return new RenameCommandParser().parse(arguments);\n // ========================== Schedule Commands =========================\n case ScheduleCommand.COMMAND_WORD:\n return new ScheduleCommandParser().parse(arguments);\n\n case UnscheduleCommand.COMMAND_WORD:\n return new UnscheduleCommandParser().parse(arguments);\n\n case ListScheduleCommand.COMMAND_WORD:\n return new ListScheduleCommand();\n\n // ========================== Fixed Expense Commands =========================\n case AddFixedExpenseCommand.COMMAND_WORD:\n return new AddFixedExpenseCommandParser().parse(arguments);\n\n case ClearFixedExpenseCommand.COMMAND_WORD:\n return new ClearFixedExpenseCommand();\n\n case DeleteFixedExpenseCommand.COMMAND_WORD:\n return new DeleteFixedExpenseCommandParser().parse(arguments);\n\n case EditFixedExpenseCommand.COMMAND_WORD:\n return new EditFixedExpenseCommandParser().parse(arguments);\n\n case CheckBudgetStatus.COMMAND_WORD:\n return new CheckBudgetStatus();\n\n case SortFixedExpenseCommand.COMMAND_WORD:\n return new SortFixedExpenseCommandParser().parse(arguments);\n\n case ListFixedExpenseCommand.COMMAND_WORD:\n return new ListFixedExpenseCommand();\n\n // ========================== Transport Booking Commands =========================\n case AddTransportBookingCommand.COMMAND_WORD:\n return new AddTransportBookingCommandParser().parse(arguments);\n\n case EditTransportBookingCommand.COMMAND_WORD:\n return new EditTransportBookingCommandParser().parse(arguments);\n\n case DeleteTransportBookingCommand.COMMAND_WORD:\n return new DeleteTransportBookingCommandParser().parse(arguments);\n\n case ClearTransportBookingCommand.COMMAND_WORD:\n return new ClearTransportBookingCommand();\n\n case SortTransportBookingCommand.COMMAND_WORD:\n return new SortTransportBookingCommandParser().parse(arguments);\n\n case ListTransportBookingCommand.COMMAND_WORD:\n return new ListTransportBookingCommand();\n\n // ========================== Packing List Commands =========================\n case AddItemCommand.COMMAND_WORD:\n return new AddItemCommandParser().parse(arguments);\n\n case AddPresetCommand.COMMAND_WORD:\n return new AddPresetCommandParser().parse(arguments);\n\n case CheckItemCommand.COMMAND_WORD:\n return new CheckItemCommandParser().parse(arguments);\n\n case ClearItemCommand.COMMAND_WORD:\n return new ClearItemCommand();\n\n case DeleteItemCommand.COMMAND_WORD:\n return new DeleteItemCommandParser().parse(arguments);\n\n case EditItemCommand.COMMAND_WORD:\n return new EditItemCommandParser().parse(arguments);\n\n case FindItemCommand.COMMAND_WORD:\n return new FindItemCommandParser().parse(arguments);\n\n case FindItemCategoryCommand.COMMAND_WORD:\n return new FindItemCategoryCommandParser().parse(arguments);\n\n case UncheckItemCommand.COMMAND_WORD:\n return new UncheckItemCommandParser().parse(arguments);\n\n case ListItemCommand.COMMAND_WORD:\n return new ListItemCommand();\n\n case ListPresetCommand.COMMAND_WORD:\n return new ListPresetCommand();\n\n case SortItemCommand.COMMAND_WORD:\n return new SortItemCommandParser().parse(arguments);\n\n\n // ========================== Activity Commands =========================\n case AddActivityCommand.COMMAND_WORD:\n return new AddActivityCommandParser().parse(arguments);\n\n case DeleteActivityCommand.COMMAND_WORD:\n return new DeleteActivityCommandParser().parse(arguments);\n\n case ClearActivityCommand.COMMAND_WORD:\n return new ClearActivityCommand();\n\n case EditActivityCommand.COMMAND_WORD:\n return new EditActivityCommandParser().parse(arguments);\n\n case FindActivityCommand.COMMAND_WORD:\n return new FindActivityCommandParser().parse(arguments);\n\n case FindActivityTagCommand.COMMAND_WORD:\n return new FindActivityTagCommandParser().parse(arguments);\n\n case ListActivityCommand.COMMAND_WORD:\n return new ListActivityCommand();\n\n case SortActivityCommand.COMMAND_WORD:\n return new SortActivityCommandParser().parse(arguments);\n\n // ========================== Accommodation Commands =========================\n case AddAccommodationBookingCommand.COMMAND_WORD:\n return new AddAccommodationBookingCommandParser().parse(arguments);\n\n case ClearAccommodationBookingCommand.COMMAND_WORD:\n return new ClearAccommodationBookingCommand();\n\n case DeleteAccommodationBookingCommand.COMMAND_WORD:\n return new DeleteAccommodationBookingCommandParser().parse(arguments);\n\n case EditAccommodationBookingCommand.COMMAND_WORD:\n return new EditAccommodationBookingCommandParser().parse(arguments);\n\n case SortAccommodationBookingCommand.COMMAND_WORD:\n return new SortAccommodationBookingParser().parse(arguments);\n\n case ListAccommodationBookingCommand.COMMAND_WORD:\n return new ListAccommodationBookingCommand();\n\n // ========================== Invalid Commands =========================\n default:\n throw new ParseException(MESSAGE_UNKNOWN_COMMAND);\n }\n }", "private void processSingleCmd(final String[] cmdArgs) {\n\n switch (cmdArgs[0].toUpperCase()) {\n\n case \"PLACE\":\n logger.info(\"PLACE - Request received\");\n GridLocation location = new GridLocation( Integer.parseInt(cmdArgs[1]),\n Integer.parseInt(cmdArgs[2]),\n GridLocation.FACING.valueOf(cmdArgs[3]));\n placeHolder = Optional.of( new Robot(location) );\n break;\n\n case \"MOVE\":\n logger.info(\"MOVE - Request received\");\n if (placeHolder.isPresent()) {\n placeHolder.get().move();\n }\n break;\n\n case \"LEFT\":\n logger.info(\"LEFT - Request received\");\n if (placeHolder.isPresent()) {\n placeHolder.get().left();\n }\n break;\n\n case \"RIGHT\":\n logger.info(\"RIGHT - Request received\");\n if (placeHolder.isPresent()) {\n placeHolder.get().right();\n }\n break;\n\n case \"REPORT\":\n logger.info(\"REPORT - Request received\");\n if (placeHolder.isPresent()) {\n placeHolder.get().report();\n }\n break;\n\n default:\n logger.info(\"NO Intelligible - Request received\");\n // Unable to match any command - ignore\n break;\n }\n }", "boolean executeCommand(ICommand _command) throws Exception;", "public boolean isValidCommandWord(String commandWord) {\n if (commandWord.equals(\"\")) {\n return false;\n } else {\n return true;\n }\n }", "@Override\n\tpublic void validateCommand(CommandRequest commandRequest) throws ValidationException {\n\t\tlogger.trace(\"Enter validateCommand\");\n\t\tif (commandRequest.getLineInput().length() < (currentCommand.getKey().length() + 2)) {\n\t\t\tthrow new ValidationException(\"Invalid Input\");\n\t\t}\n\t\t\n\t\tString[] inputs = commandRequest.getLineInput().split(\" \");\n\t\tif (inputs.length < 2) {\n\t\t\tthrow new ValidationException(\"Insufficient Input Command for : \" + currentCommand.name() + \n\t\t\t\tcommandRequest.getLineInput());\n\t\t}\n\t\t\n\t\tInteger leaveSlotNumber = null;\n\t\t\n\t\ttry {\n\t\t\tleaveSlotNumber = Integer.parseInt(inputs[1]);\n\t\t} catch (NumberFormatException exception) {\n\t\t\tthrow new ValidationException(\"Invalid Leave Slot Number \", exception);\n\t\t}\n\t\t\n\t\tif (leaveSlotNumber < 1) {\n\t\t\tthrow new ValidationException(\"Invalid Leave Slot Number : \" + leaveSlotNumber);\n\t\t}\n\t\n\t\tcommandRequest.setCommand(Command.LEAVE);\n\t\tcommandRequest.setDataInput(String.valueOf(leaveSlotNumber));\n\t\tlogger.trace(\"Exit validateCommand\");\n\t}", "public static Command parse(String command) throws DukeException {\n // remove trailing/leading whitespace and split by whitespace(s)\n command = command.strip();\n String[] commands = command.split(\"[ ]+\");\n String[] args = Arrays.copyOfRange(commands, 1, commands.length);\n\n assert args.length == commands.length - 1 : \"Incorrect array copy\";\n\n switch (commands[0]) {\n case \"todo\":\n return parseTodoCommand(args);\n case \"event\":\n return parseEventCommand(args);\n case \"deadline\":\n return parseDeadlineCommand(args);\n case \"find\":\n return parseFindCommand(args);\n case \"done\":\n return parseDoneCommand(args);\n case \"delete\":\n return parseDeleteCommand(args);\n case \"list\":\n return parseListCommand(args);\n case \"remindme\":\n return parseRemindCommand(args);\n case \"bye\":\n return parseBye(args);\n default:\n throw new DukeMissingDescriptionException(\"Hmm... I'm sorry, but I don't know what that means...\");\n }\n }", "public static Commands parse(String fullCommand) throws InvalidCommandException {\n String[] inputs = fullCommand.split(\"\\\\s+\", 2);\n String commandType = inputs[0].trim().toUpperCase();\n checkCommands(commandType);\n return Commands.valueOf(commandType);\n }", "public Command parse(String command) throws DukeException {\n String[] commandSplit = command.split(\"\\\\s+\", 2);\n String commandWord = commandSplit[0].toLowerCase();\n String desc = \"\";\n if (commandSplit.length == 2) {\n desc = commandSplit[1];\n }\n\n switch (commandWord) {\n case DoneCommand.COMMAND_WORD:\n return doneParse(desc);\n\n case ListCommand.COMMAND_WORD:\n return new ListCommand();\n\n case ToDoCommand.COMMAND_WORD:\n return toDoParse(desc);\n\n case DeadlineCommand.COMMAND_WORD:\n return deadlineParse(desc);\n\n case EventCommand.COMMAND_WORD:\n return eventParse(desc);\n\n case DeleteCommand.COMMAND_WORD:\n return deleteParse(desc);\n\n case FindCommand.COMMAND_WORD:\n return new FindCommand(desc);\n case UpdateCommand.COMMAND_WORD:\n return new UpdateParser(desc).parse();\n case ByeCommand.COMMAND_WORD:\n return new ByeCommand();\n default:\n throw new DukeException(INVALID_COMMAND_MESSAGE);\n }\n }", "public void processInput(String command) {\r\n\t\t//begin\r\n\t\tString word = \"\";\r\n\t\tint i = 0;\r\n\t\tboolean processingInput = true;\r\n\t\t\r\n\t\t//loop that runs through whole command and breaks it apart\r\n\t\twhile(processingInput == true && i < command.length()) {\r\n\t\t\t\r\n\t\t\tif(command.charAt(i) == ',' && i < command.length()) {\r\n\t\t\t\t\r\n\t\t\t\ti += 2;\r\n\t\t\t\tword = word.toLowerCase();\r\n\t\t\t\t//word = word.trim();\r\n\t\t\t\tboolean hasError = false;\r\n\t\t\t\t\r\n\t\t\t\tif(word.compareTo(\"publish\") == 0 && checkIfHasCorrectFormat(command, \"publish\") == true) {\r\n\t\t\t\t\tString producer = \"\";\r\n\t\t\t\t\tString prodCat = \"\";\r\n\t\t\t\t\tString brandName = \"\";\r\n\t\t\t\t\t//loop that gets producer name from command line\r\n\t\t\t\t\twhile(i < command.length() && command.charAt(i) != ',') {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tproducer += command.charAt(i);\r\n\t\t\t\t\t\ti++;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tproducer = producer.toLowerCase();\r\n\t\t\t\t\t//producer = producer.trim();\r\n\t\t\t\t\ti += 2;\r\n\t\t\t\t\t\r\n\t\t\t\t\t//loop that gets the product category from command line\r\n\t\t\t\t\twhile(i < command.length() && command.charAt(i) != ',') {\t\r\n\t\t\t\t\t\tprodCat += command.charAt(i);\r\n\t\t\t\t\t\ti++;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tprodCat = prodCat.toLowerCase();\r\n\t\t\t\t\t//prodCat = prodCat.trim();\r\n\t\t\t\t\ti += 2;\r\n\t\t\t\t\t\r\n\t\t\t\t\t//loop that gets brand name from command line\r\n\t\t\t\t\twhile(i < command.length()) {\r\n\t\t\t\t\t\tif(command.charAt(i) != ',') {\r\n\t\t\t\t\t\t\tbrandName += command.charAt(i);\r\n\t\t\t\t\t\t i++;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\thasError = true;\r\n\t\t\t\t\t\t\ti++;\r\n\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\tbrandName = brandName.toLowerCase();\r\n\t\t\t\t\t//brandName = brandName.trim();\r\n\t\t\t\t\tif(hasError == false) {\r\n\t\t\t\t\t\t//adds producer to producerList\r\n\t\t\t\t\t\taddProducer(producer);\r\n\t\t\t\t\t\t//performs a publish for the given producer\r\n\t\t\t\t\t\ti = 0;\r\n\t\t\t\t\t\tboolean foundMatch = false;\r\n\t\t\t\t\t\twhile(i < producerList.size() && foundMatch == false) {\r\n\t\t\t\t\t\t\tProducer tempProducer = producerList.get(i);\r\n\t\t\t\t\t\t\tif(producer.compareTo(tempProducer.getPublisherName()) == 0) {\r\n\t\t\t\t\t\t\t\tfoundMatch = true;\r\n\t\t\t\t\t\t\t\ttempProducer.publish(brandName, prodCat);\r\n\t\t\t\t\t\t\t\tproducerList.set(i, tempProducer); \r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\ti++;\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\telse if(word.compareTo(\"subscribe\") == 0 && checkIfHasCorrectFormat(command, \"subscribe\") == true) { \r\n\t\t\t\t\tString retailer = \"\";\r\n\t\t\t\t\tString prodCat = \"\";\r\n\t\t\t\t\t\r\n\t\t\t\t\t//loop that gets the retailer name\r\n\t\t\t\t\twhile(i < command.length() && command.charAt(i) != ',') {\t\r\n\t\t\t\t\t\tretailer += command.charAt(i);\r\n\t\t\t\t\t\ti++;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tretailer = retailer.toLowerCase();\r\n\t\t\t\t\t//retailer = retailer.trim();\r\n\t\t\t\t\ti += 2;\r\n\t\t\t\t\t\r\n\t\t\t\t\t//loop that gets the product category\r\n\t\t\t\t\twhile(i < command.length() && i < command.length()) {\r\n\t\t\t\t\t\tif(command.charAt(i) != ',') {\r\n\t\t\t\t\t\t\tprodCat += command.charAt(i);\t\r\n\t\t\t\t\t\t i++;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\thasError = true;\r\n\t\t\t\t\t\t\ti++;\r\n\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\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\tprodCat = prodCat.toLowerCase();\r\n\t\t\t\t\t//prodCat = prodCat.trim();\r\n\t\t\t\t\tif(hasError == false) {\r\n\t\t\t\t\t\taddRetailer(retailer);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\ti = 0;\r\n\t\t\t\t\t\tboolean foundMatch = false;\r\n\t\t\t\t\t\twhile(i < retailerList.size() && foundMatch == false) {\r\n\t\t\t\t\t\t\tRetailer tempRetailer = retailerList.get(i);\r\n\t\t\t\t\t\t\tif(retailer.compareTo(tempRetailer.getSubscriberName()) == 0) {\r\n\t\t\t\t\t\t\t\tfoundMatch = true;\r\n\t\t\t\t\t\t\t\ttempRetailer.subscribe(prodCat);\r\n\t\t\t\t\t\t\t\tretailerList.set(i, tempRetailer); //NOT SURE IF I OR I + 1 OR I - 1 ****************************************8\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t//broker.subscribeCommand(retailer, prodCat);\r\n\t\t\t\t}\r\n\t\t\t\telse if(word.compareTo(\"unsubscribe\") == 0 && checkIfHasCorrectFormat(command, \"unsubscribe\") == true) {\r\n\t\t\t\t\t\r\n\t\t\t\t\tString retailer = \"\";\r\n\t\t\t\t\tString prodCat = \"\";\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t//loop that gets the retailer name\r\n\t\t\t\t\twhile(i < command.length() && command.charAt(i) != ',') {\r\n\t\t\t\t\t\tretailer += command.charAt(i);\t\t\t\t\t\t\r\n\t\t\t\t\t\ti++;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tretailer = retailer.toLowerCase();\r\n\t\t\t\t\tretailer = retailer.trim();\r\n\t\t\t\t\ti += 2;\r\n\t\t\t\t\t\r\n\t\t\t\t\t//loop that gets the product category\r\n\t\t\t\t\twhile(i < command.length()) {\r\n\t\t\t\t\t\tif(command.charAt(i) != ',') {\r\n\t\t\t\t\t\t\tprodCat += command.charAt(i);\t\r\n\t\t\t\t\t\t i++;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\thasError = true;\r\n\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tprodCat = prodCat.toLowerCase();\r\n\t\t\t\t\t//prodCat = prodCat.trim();\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(hasError == false) {\r\n\t\t\t\t\t\ti = 0;\r\n\t\t\t\t\t\tboolean foundMatch = false;\r\n\t\t\t\t\t\twhile(i < retailerList.size() && foundMatch == false) {\r\n\t\t\t\t\t\t\tRetailer tempRetailer = retailerList.get(i);\r\n\t\t\t\t\t\t\tif(retailer.compareTo(tempRetailer.getSubscriberName()) == 0) {\r\n\t\t\t\t\t\t\t\tfoundMatch = true;\r\n\t\t\t\t\t\t\t\ttempRetailer.unsubscribe(prodCat);\r\n\t\t\t\t\t\t\t\tretailerList.set(i, tempRetailer); //NOT SURE IF I OR I + 1 OR I - 1 ****************************************8\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\ti++;\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\t\r\n\t\t\t\tprocessingInput = false;\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tword += command.charAt(i);\t\t\t\t\r\n\t\t\t}\r\n\t\t\ti++;\r\n\t\t}\r\n\t\t\r\n\t\t//end\r\n\t}", "public void processCommand(String line) {\n\t\ttry {\n\t\t\tString[] command = line.replaceAll(\"[$]\", \"\").split(\" \");\n\t\t\tif (command[0].equals(\"Add\") && command.length == 4) {\n\t\t\t\tadd(command[1], command[2], Integer.valueOf(command[3]));\n\t\t\t} else if (command[0].equals(\"Charge\") && command.length == 3) {\n\t\t\t\tcharge(command[1], Integer.valueOf(command[2]));\n\t\t\t} else if (command[0].equals(\"Credit\") && command.length == 3) {\n\t\t\t\tcredit(command[1], Integer.valueOf(command[2]));\n\t\t\t}\n\t\t} catch (Throwable e) {\n\t\t\tthrow new RuntimeException(e);\n\t\t}\n\t}", "boolean processLine() throws IOException, AmbiguousException, PlayerDebugException\n\t{\n\t\tif (!hasMoreTokens())\n\t\t\treturn false;\n\n\t\tString command = nextToken();\n\t\tboolean quit = false;\n\t\tint cmdID = commandFor(command);\n\n\t\t/* assume line will not be repeated. (i.e. user hits CR nothing happens) */\n\t\tm_repeatLine = null;\n\n\t\tswitch(cmdID)\n\t\t{\n\t\t\tcase CMD_QUIT:\n\t\t\t\tquit = doQuit();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_CONTINUE:\n\t\t\t\tdoContinue();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_HOME:\n\t\t\t\tdoHome();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_HELP:\n\t\t\t\tdoHelp();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_SHOW:\n\t\t\t\tdoShow();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_STEP:\n\t\t\t\tdoStep();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_NEXT:\n\t\t\t\tdoNext();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_FINISH:\n\t\t\t\tdoFinish();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_BREAK:\n\t\t\t\tdoBreak();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_CLEAR:\n\t\t\t\tdoClear();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_SET:\n\t\t\t\tdoSet();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_LIST:\n\t\t\t\tdoList();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_PRINT:\n\t\t\t\tdoPrint();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_TUTORIAL:\n\t\t\t\tdoTutorial();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_INFO:\n\t\t\t\tdoInfo();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_FILE:\n\t\t\t\tdoFile();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_DELETE:\n\t\t\t\tdoDelete();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_RUN:\n\t\t\t\tdoRun();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_SOURCE:\n\t\t\t\tdoSource();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_KILL:\n\t\t\t\tdoKill();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_HANDLE:\n\t\t\t\tdoHandle();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_ENABLE:\n\t\t\t\tdoEnable();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_DISABLE:\n\t\t\t\tdoDisable();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_DISPLAY:\n\t\t\t\tdoDisplay();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_UNDISPLAY:\n\t\t\t\tdoUnDisplay();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_COMMANDS:\n\t\t\t\tdoCommands();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_PWD:\n\t\t\t\tdoPWD();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_CF:\n\t\t\t\tdoCF();\n\t\t\t\tbreak;\n\n//\t\t\tcase CMD_AWATCH:\n//\t\t\t\tdoWatch(true, true);\n//\t\t\t\tbreak;\n\n\t\t\tcase CMD_WATCH:\n\t\t\t\tdoWatch(false, true);\n\t\t\t\tbreak;\n\n//\t\t\tcase CMD_RWATCH:\n//\t\t\t\tdoWatch(true, false);\n//\t\t\t\tbreak;\n\n case CMD_CONDITION:\n doCondition();\n break;\n\n case CMD_WHAT:\n doWhat();\n break;\n\n case CMD_DISASSEMBLE:\n doDisassemble();\n break;\n\n case CMD_HALT:\n doHalt();\n break;\n\n case CMD_MCTREE:\n doMcTree();\n break;\n\n case CMD_VIEW_SWF:\n doViewSwf();\n break;\n\n case CMD_DOWN:\n doDown();\n break;\n\n case CMD_UP:\n doUp();\n break;\n\n case CMD_FRAME:\n doFrame();\n break;\n\n\t\t\tcase CMD_COMMENT:\n\t\t\t\t; // nop\n\t\t\t\tbreak;\n\n\t\t\tcase INFO_STACK_CMD:\n\t\t\t\t; // from bt\n\t\t\t\tdoInfoStack();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_DIRECTORY:\n\t\t\t\tdoDirectory();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_CATCH:\n\t\t\t\tdoCatch();\n\t\t\t\tbreak;\n\n\t\t\tcase CMD_CONNECT:\n\t\t\t\tdoConnect();\n\t\t\t\tbreak;\n\n\t\t\tdefault:\n\t\t\t\tdoUnknown(command);\n\t\t\t\tbreak;\n\t\t}\n\t\treturn quit;\n\t}", "@Override\n public void dealWithCommand(MessageReceivedEvent event) {\n List<String> contentSplit = new ArrayList<>(Arrays.asList(event.getMessage().getContentStripped().split(\" \")));\n\n // remove the command part of the message\n contentSplit.remove(0);\n boolean isXpDesired = DetermineArguments.determineIsXpDesired(contentSplit);\n boolean isCollection = DetermineArguments.determineIsCollection(contentSplit);\n long timeToSpend = DetermineArguments.determineTimeToSpend(contentSplit, event.getTextChannel());\n int classLevel = DetermineArguments.determineClassLevel(contentSplit, event.getTextChannel());\n long amountDesired = DetermineArguments.determineAmountDesired(contentSplit, event.getTextChannel());\n\n // be done if something bad was found\n if (timeToSpend == -2 || classLevel == -2 || amountDesired == -2)\n return;\n\n if (contentSplit.isEmpty()) {\n // user did not specify what player they want\n event.getChannel().sendMessage(\"Specify what player you want to analyze.\").queue();\n return;\n }\n String username = contentSplit.get(0);\n WynncraftPlayer player = GetPlayerStats.get(username);\n if (player == null) {\n event.getChannel().sendMessage(\"Either the api is down, or '\" + username + \"' is not a player.\").queue();\n return;\n }\n\n // tell the user we're working on the answer\n event.getMessage().addReaction(\"\\uD83D\\uDEE0\").queue();\n\n List<String> classNames = new ArrayList<>();\n for (WynncraftClass playerClass : player.classes) {\n classNames.add(playerClass.name);\n }\n ChoiceArguments choiceArguments = new ChoiceArguments(\n isXpDesired, isCollection, timeToSpend, amountDesired, classLevel, classNames, player, true);\n\n\n long xpDesiredGivenPerc = 0;\n long emeraldDesiredGivenPerc = 0;\n for (WynncraftClass wynncraftClass : player.classes)\n for (Quest quest : wynncraftClass.questsNotCompleted) {\n if (quest.levelMinimum <= (classLevel == -1 ? wynncraftClass.combatLevel : classLevel)) {\n xpDesiredGivenPerc += quest.xp;\n emeraldDesiredGivenPerc += quest.emerald;\n }\n }\n xpDesiredGivenPerc *= GetAnswers.DEFAULT_PERCENTAGE_AMOUNT;\n emeraldDesiredGivenPerc *= GetAnswers.DEFAULT_PERCENTAGE_AMOUNT;\n\n FinalQuestOptionsAll finalQuestOptionsAll = GetAnswers.getAllFullAnswers(player, choiceArguments);\n String spreadsheetId = SheetsWrite.writeSheet(finalQuestOptionsAll, event.getAuthor().getIdLong(), player.name, true);\n if (spreadsheetId == null) return;\n new QuestRecommendationMessagePlayer(spreadsheetId, finalQuestOptionsAll, event.getChannel(), choiceArguments, xpDesiredGivenPerc, emeraldDesiredGivenPerc);\n\n event.getMessage().removeReaction(\"\\uD83D\\uDEE0\", DiscordBot.client.getSelfUser()).queue();\n }", "@Override\n\tpublic void processCommand(JMVCommandEvent arg0) {\n\t}" ]
[ "0.72073495", "0.7109285", "0.69942605", "0.698809", "0.69534093", "0.6949651", "0.69106287", "0.6880428", "0.68580765", "0.6846474", "0.6838375", "0.68251663", "0.68183863", "0.679636", "0.6752877", "0.6741385", "0.6726418", "0.67099607", "0.6701789", "0.6682872", "0.6673375", "0.66595685", "0.6651884", "0.66335267", "0.6585459", "0.6563574", "0.64815784", "0.6448509", "0.6395827", "0.63828856", "0.63800555", "0.6374389", "0.6351401", "0.6336026", "0.63350296", "0.6319439", "0.6314738", "0.6311966", "0.62981385", "0.6292292", "0.6289747", "0.62569743", "0.62340987", "0.6226551", "0.6225323", "0.62191314", "0.6213611", "0.6188869", "0.61800426", "0.6171444", "0.61538434", "0.61406356", "0.6109377", "0.6102284", "0.6088058", "0.60796994", "0.6062963", "0.6062578", "0.6062345", "0.60603553", "0.6058336", "0.60571563", "0.6053081", "0.6053018", "0.60526687", "0.60511", "0.60459274", "0.60412776", "0.6039169", "0.603713", "0.6024866", "0.6019209", "0.60160315", "0.5992283", "0.59861845", "0.59787387", "0.59731907", "0.5958639", "0.5944737", "0.59305304", "0.59292865", "0.5911382", "0.59001404", "0.5889271", "0.5884562", "0.5882554", "0.5873825", "0.5866502", "0.58602566", "0.58558667", "0.5853766", "0.5845634", "0.5841995", "0.58403385", "0.5837584", "0.58278334", "0.58274126", "0.5823929", "0.5810002", "0.5792183", "0.5786784" ]
0.0
-1
Returns the value of the 'Type Reference' reference. If the meaning of the 'Type Reference' reference isn't clear, there really should be more of a description here...
PSObject getTypeReference();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "TypeReference getTypeReference();", "public String getRefType() {\n return refType;\n }", "String getReferenceType();", "public IDatatype getReference() { \n\t\treturn myReference;\n\t}", "int getReferenceKind();", "ReferenceKind getKind();", "@Test\n void rawType_rawType() {\n var ref = new TypeRef<String>() {};\n assertEquals(String.class, ref.rawType());\n }", "public ClassReferenceMirror getType() {\n\t\treturn type;\n\t}", "public void printType() {\n System.out.println(\"Type: \" + objRef.getClass().getName());\n }", "public abstract byte getReferenceKind();", "@Pure\n\tprotected TypeReferences getTypeReferences() {\n\t\treturn this.typeReferences;\n\t}", "TypeRef getType();", "public void setRefType(String refType) {\n this.refType = refType == null ? null : refType.trim();\n }", "@Override\r\n\tpublic String getRefBillType() {\n\t\treturn null;\r\n\t}", "@Override\r\n\tpublic String getRefBillType() {\n\t\treturn null;\r\n\t}", "java.lang.String getType();", "java.lang.String getType();", "java.lang.String getType();", "java.lang.String getType();", "java.lang.String getType();", "java.lang.String getType();", "java.lang.String getType();", "java.lang.String getType();", "java.lang.String getType();", "java.lang.String getType();", "java.lang.String getType();", "java.lang.String getType();", "java.lang.String getType();", "public Type getType() {\n return referentType;\n }", "public String getRefNodeType() {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\treturn \"lfims:branchDetails\";\r\n\t\t\t\t\t}", "public final void mT__177() throws RecognitionException {\n try {\n int _type = T__177;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:177:8: ( 'typeRef' )\n // ../org.xtext.example.json.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyjson.g:177:10: 'typeRef'\n {\n match(\"typeRef\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "Type_use getType_use();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();", "String getTypeAsString();", "public String getType();", "public String getType();", "public String getType();", "public String getType();", "public String getType();", "public String getType();", "public String getType();", "public String getType();", "public String getType();", "public String getType();", "public String getType();", "public String getType();", "public String getType();", "@Override\n public String getType() {\n Object ref = type_;\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 type_ = s;\n return s;\n }\n }", "@Override\n public String getType() {\n Object ref = type_;\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 type_ = s;\n return s;\n }\n }", "type getType();", "public String getType() {\n\t\treturn TYPE_NAME;\n\t}", "private static Object referenceValue(IDatatype type, Object value) {\n if (Reference.TYPE.isAssignableFrom(type)) {\n DisplayNameProvider nameProvider = DisplayNameProvider.getInstance();\n List<AbstractVariable> possibleDecls = ReferenceValuesFinder.findPossibleValues(\n de.uni_hildesheim.sse.qmApp.model.VariabilityModel.Configuration.INFRASTRUCTURE.getConfiguration()\n .getProject(), (Reference) type);\n for (int i = 0; i < possibleDecls.size(); i++) {\n AbstractVariable declaration = possibleDecls.get(i);\n String name = nameProvider.getDisplayName(declaration);\n if (name.equals(value)) {\n value = declaration;\n break;\n }\n }\n } \n return value;\n }", "public String getReference() {\n return reference;\n }", "public final ResolvedReferenceTypeDeclaration getTypeDeclaration() {\n return typeDeclaration;\n }", "Type getType();", "Type getType();", "Type getType();", "Type getType();", "Type getType();", "Type getType();", "Type getType();", "Type getType();", "Type getType();", "Type getType();", "Type getType();", "public Type getType();", "public java.lang.String getReference() {\n return reference;\n }", "public String getType() {\n Object ref = type_;\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 type_ = s;\n }\n return s;\n }\n }", "public String getType() {\n Object ref = type_;\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 type_ = s;\n }\n return s;\n }\n }", "int getTypeValue();", "int getTypeValue();", "int getTypeValue();", "int getTypeValue();", "int getTypeValue();", "int getTypeValue();", "int getTypeValue();" ]
[ "0.80819196", "0.7908603", "0.75616217", "0.729146", "0.71254116", "0.7049593", "0.6884951", "0.6880185", "0.6847889", "0.683599", "0.6718658", "0.6683015", "0.6557335", "0.6553712", "0.6553712", "0.6498885", "0.6498885", "0.6498885", "0.6498885", "0.6498885", "0.6498885", "0.6498885", "0.6498885", "0.6498885", "0.6498885", "0.6498885", "0.6498885", "0.6498885", "0.6477534", "0.64648384", "0.6433298", "0.64004844", "0.63847184", "0.63847184", "0.63847184", "0.63847184", "0.63847184", "0.63847184", "0.63847184", "0.63847184", "0.63847184", "0.63847184", "0.63847184", "0.63847184", "0.63847184", "0.63847184", "0.63847184", "0.63847184", "0.63847184", "0.63847184", "0.63847184", "0.63847184", "0.63847184", "0.63847184", "0.63847184", "0.63847184", "0.63847184", "0.63592917", "0.63267195", "0.63267195", "0.63267195", "0.63267195", "0.63267195", "0.63267195", "0.63267195", "0.63267195", "0.63267195", "0.63267195", "0.63267195", "0.63267195", "0.63267195", "0.6319195", "0.6319195", "0.63117015", "0.6306964", "0.62974805", "0.6290466", "0.62900037", "0.6281849", "0.6281849", "0.6281849", "0.6281849", "0.6281849", "0.6281849", "0.6281849", "0.6281849", "0.6281849", "0.6281849", "0.6281849", "0.6278452", "0.6271461", "0.62688", "0.62688", "0.62462837", "0.62462837", "0.62462837", "0.62462837", "0.62462837", "0.62462837", "0.62462837" ]
0.8076036
1
Initialize a new NavigatorPane, which is a Diva GraphicsPane with a layer added for catalog symbols.
public NavigatorPane() { _initNewLayer(_symbolLayer); _rebuildLayerArray(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public AStationPane() {\n }", "public void initialize() {\n this.setPreferredSize(new com.ulcjava.base.application.util.Dimension(548, 372));\n this.add(getTitlePane(), new com.ulcjava.base.application.GridBagConstraints(0, 0, 3, 1, -1, -1,\n com.ulcjava.base.application.GridBagConstraints.CENTER, com.ulcjava.base.application.GridBagConstraints.NONE,\n new com.ulcjava.base.application.util.Insets(0, 0, 0, 0), 0, 0));\n this.add(getXpertIvyPane(), new com.ulcjava.base.application.GridBagConstraints(0, 1, 1, 1, -1, -1,\n com.ulcjava.base.application.GridBagConstraints.CENTER, com.ulcjava.base.application.GridBagConstraints.NONE,\n new com.ulcjava.base.application.util.Insets(0, 0, 0, 0), 0, 0));\n this.add(getLicensePane(), new com.ulcjava.base.application.GridBagConstraints(0, 2, 1, 1, -1, -1,\n com.ulcjava.base.application.GridBagConstraints.CENTER, com.ulcjava.base.application.GridBagConstraints.NONE,\n new com.ulcjava.base.application.util.Insets(0, 0, 0, 0), 0, 0));\n this.add(getDatabasePane(), new com.ulcjava.base.application.GridBagConstraints(0, 3, 1, 1, -1, -1,\n com.ulcjava.base.application.GridBagConstraints.CENTER, com.ulcjava.base.application.GridBagConstraints.NONE,\n new com.ulcjava.base.application.util.Insets(0, 0, 0, 0), 0, 0));\n this.add(getJavaPane(), new com.ulcjava.base.application.GridBagConstraints(0, 4, 1, 1, -1, -1,\n com.ulcjava.base.application.GridBagConstraints.CENTER, com.ulcjava.base.application.GridBagConstraints.NONE,\n new com.ulcjava.base.application.util.Insets(0, 0, 0, 0), 0, 0));\n }", "public NavigationPanel()\n\t{\n\t\tmakeContent();\n\t}", "public void initProductionSpaces(){\n\n if (productionSpaces != null){\n for(int i = 0;i<3;i++){\n if (productionSpaces[i] != null)\n this.remove(productionSpaces[i]);\n }\n }\n\n productionSpaces = new JLayeredPane[3];\n productionCards = new JLabel[3][3];\n for(int i = 0;i<3;i++){\n productionSpaces[i] = new JLayeredPane();\n\n productionSpaces[i].setSize(psWidth,psHeight);\n productionSpaces[i].setBounds(psx[i],psy,psWidth,psHeight);\n\n //productionSpaces[i].setBackground(Color.WHITE);\n productionSpaces[i].setOpaque(false);\n add(productionSpaces[i]);\n\n }\n\n }", "public PaneOrganizer() {\n\t\t\n\t\t_root = new BorderPane();\n\t\t_game = new Game(_root);\n\t\tthis.setupButton();\n\t\t\n\t}", "private void initializeExplorer() {\n\t\tthis.hydraExplorer = new HydraExplorer(this.stage);\n\t\tthis.splitPane.setTopComponent(this.hydraExplorer);\n\t\tthis.initializeExplorerCommands();\n\t}", "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 void initializePresentation() {\r\n viewRankingAttemptFX = new ViewRankingAttemptFX(this);\r\n viewRankingPlayerFX = new ViewRankingPlayerFX(this);\r\n viewLoginFX = new ViewLoginFX(this);\r\n viewRegisterFX = new ViewRegisterFX(this);\r\n viewProblemListFX = new ViewProblemListFX(this);\r\n viewLoginFX = new ViewLoginFX(this);\r\n viewRegisterFX = new ViewRegisterFX(this);\r\n viewMenuFX = new ViewMenuFX(this);\r\n viewSettingsFX = new ViewSettingsFX(this);\r\n viewGenerateFX = new ViewGenerateFX(this);\r\n viewAttemptFX = new ViewAttemptFX(this);\r\n viewAttemptListFX = new ViewAttemptListFX(this);\r\n\r\n viewsFX.add(viewLoginFX);\r\n viewsFX.add(viewRankingAttemptFX);\r\n viewsFX.add(viewRankingPlayerFX);\r\n viewsFX.add(viewRegisterFX);\r\n viewsFX.add(viewProblemListFX);\r\n viewsFX.add(viewMenuFX);\r\n viewsFX.add(viewSettingsFX);\r\n viewsFX.add(viewGenerateFX);\r\n viewsFX.add(viewAttemptFX);\r\n viewsFX.add(viewAttemptListFX);\r\n\r\n }", "private BorderPane initializeBorderPane() {\n BorderPane toReturn = new BorderPane();\n\n // Set menu pane\n HBox menu = addTopBox();\n toReturn.setTop(menu);\n\n // Set center pane\n gameMap = new CreatureControl();\n toReturn.setCenter(gameMap);\n\n // Set bottom pane\n HBox bottom = addBottomBox();\n toReturn.setBottom(bottom);\n\n // Roll the animation\n timeline.setCycleCount(Timeline.INDEFINITE);\n\n // Roll the track\n title.setCycleCount(MediaPlayer.INDEFINITE);\n gaming.setCycleCount(MediaPlayer.INDEFINITE);\n playBGM();\n\n return toReturn;\n }", "private void initPane() {\n\t\tContainer localContainer = getContentPane();\n\t\tlocalContainer.setLayout(new BorderLayout());\n\t\t\n\t\tsplitpane_left_top.setBorder(BorderFactory.createTitledBorder(\"Training Data\"));\n\t\tsplitpane_left_bottom.setBorder(BorderFactory.createTitledBorder(\"Tree View\"));\n\t\tsplitpane_left.setDividerLocation(400);\n\t\tsplitpane_left.setLastDividerLocation(0);\n\t\tsplitpane_left.setOneTouchExpandable(true);\n\t\tsplitpane_right.setBorder(BorderFactory.createTitledBorder(\"Classifer Output\"));\n\t\tsplitpane_main.setDividerLocation(500);\n\t\tsplitpane_main.setLastDividerLocation(0);\n\t\tsplitpane_main.setOneTouchExpandable(true);\n\t\tlocalContainer.add(splitpane_main, \"Center\");\n\t\tlocalContainer.add(statusPanel,BorderLayout.SOUTH);\n\t}", "private void createLayeredPane(){\n\t\tcontentPane = new JLayeredPane();\n\t\tcontentPane.setPreferredSize(windowSize);\n\t\tcontentPane.setOpaque(true);\n\t\tcontentPane.setVisible(true);\n\t}", "private void initFaithPathPane() {\n this.faithPathPane = new FaithPathPane();\n faithPathPane.setOpaque(false);\n faithPathPane.setSize(faithPathWidth,faithPathHeight);\n faithPathPane.setBounds(0,0,faithPathWidth,faithPathHeight);\n\n this.add(faithPathPane);\n }", "public Panneaux(){\n this.infoPane = new InfoPane();\n this.leftPanel = new LeftPanel();\n this.catalogue = leftPanel.getCatatalogue();\n this.panier = leftPanel.getPanier();\n }", "public void initNavigationBar() {\n navigationBar = new JPanel();\n navigationBar.setBackground(new Color(199, 0, 0));\n navigationBar.setLayout(new FlowLayout());\n navigationBar.setPreferredSize(new Dimension(buttonHeight + 10, buttonHeight + 10));\n navigationBar.setBorder(BorderFactory.createBevelBorder(0));\n\n initMarketButton();\n initProdCardButton();\n initReserveButton();\n initPlayerMenu();\n\n this.navigationBar.add(marketButton);\n this.navigationBar.add(prodCardButton);\n this.navigationBar.add(reserveButton);\n this.navigationBar.add(menuPanel);\n\n }", "public void initialPanes()\r\n\t{\n\t\t\t\tlmg.setLayout(null);\r\n\t\t\t\tlmg.setBounds(0, 0, 1280, 720);\r\n\t\t\t\t\r\n\t\t//adding child panes\r\n\t\t\t\t//World background pane\r\n\t\t\t\t\tlmg.add(wB, new Integer(0));\r\n\t\t\t\t//World pane\r\n\t\t\t\t\tlmg.add(w, new Integer(1));\r\n\t\t\t\t\t\r\n\t\t//DisplayPanel adds the layered pane which holds all child pane\r\n\t\t\t\tadd(lmg);\r\n\t}", "public void initBaseProductionSpace(){\n this.baseProductionPanel = new BaseProductionPanel(gui);\n\n this.add(baseProductionPanel);\n }", "public void openGamePane() {\n\t\tParent root;\n\t\ttry {\n\t\t\tFXMLLoader loader = new FXMLLoader(getClass().getResource(GAMEPANELOCATION));\n\t\t\tloader.setController(this);\n\t\t\troot = loader.load();\n\t\t\tScene scene = new Scene(root);\n\t\t\tStage stage = new Stage();\n\t\t\tstage.setScene(scene);\n\t\t\tstage.show();\n\t\t} catch (IOException e1) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te1.printStackTrace();\n\t\t}\n\t\tgamePane.setBackground(new Background(new BackgroundFill(new Color(195/256.0,222/256.0,250/256.0,1),CornerRadii.EMPTY, Insets.EMPTY)));\n\t\tgameObjects=new HashMap<Integer,GameObjectVisualComponent>();\n\t\tpodium=new ArrayList<Text>();\n\t\tpodium.add(new Text(gamePane.getWidth()-100,15,\"TOP\"));\n\t\tgamePane.getChildren().add(podium.get(0));\n\t}", "public void Initialize()\n\t{\n\t\tsetObject(new GraphicsLayer());\n\t}", "private void initMainComponents() {\n\t\tsetBackground(Color.RED);\n\t\tsetTitle(\"TABL\");\n\t\tsetDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tsetBounds(100, 100, 974, 842);\n\t\tcontentPane = new JPanel();\n\t\tcontentPane.setBackground(new Color(100, 149, 237));\n\t\tcontentPane.setBorder(new EmptyBorder(5, 5, 5, 5));\n\t\tsetContentPane(contentPane);\n\t\t\n\t\tcontentPane.setVisible(true);\n\t\tcontentPane.setLayout(null);\n\t\t\n\t\t\n\t\tlayeredPane = new JLayeredPane();\n\t\tlayeredPane.setBounds(10, 40, 941, 757);\n\t\tcontentPane.add(layeredPane);\n\t\t\n\t\tsetForeground(Color.BLACK);\n\t\tsetIconImage(Toolkit.getDefaultToolkit().getImage(AdminManageUsers.class.getResource(\"/resources/Logo.PNG\")));\n\n\t}", "@Override\n\tpublic void setPane() {\n\t\tNewRecordPane RecListPane = new NewRecordPane();\n\t\trootPane = new HomePane(new MainLeftPane(),RecListPane);\n\t}", "public void init() {\n try {\n java.net.URL codeBase = getCodeBase();\n codeBaseString = codeBase.toString();\n } catch (Exception e) {\n // probably running as an application, try the application\n // code base\n codeBaseString = \"file:./\";\n }\n\n if (colorMode == USE_COLOR) {\n objColor = red;\n } else {\n objColor = white;\n }\n\n Container contentPane = getContentPane();\n\n contentPane.setLayout(new BorderLayout());\n\n GraphicsConfiguration config = SimpleUniverse\n .getPreferredConfiguration();\n\n canvas = new Canvas3D(config);\n\n u = new SimpleUniverse(canvas);\n\n if (isApplication) {\n offScreenCanvas = new OffScreenCanvas3D(config, true);\n // set the size of the off-screen canvas based on a scale\n // of the on-screen size\n Screen3D sOn = canvas.getScreen3D();\n Screen3D sOff = offScreenCanvas.getScreen3D();\n Dimension dim = sOn.getSize();\n dim.width *= OFF_SCREEN_SCALE;\n dim.height *= OFF_SCREEN_SCALE;\n sOff.setSize(dim);\n sOff.setPhysicalScreenWidth(sOn.getPhysicalScreenWidth()\n * OFF_SCREEN_SCALE);\n sOff.setPhysicalScreenHeight(sOn.getPhysicalScreenHeight()\n * OFF_SCREEN_SCALE);\n\n // attach the offscreen canvas to the view\n u.getViewer().getView().addCanvas3D(offScreenCanvas);\n\n }\n contentPane.add(\"Center\", canvas);\n\n // setup the env nodes and their GUI elements\n setupLights();\n setupBackgrounds();\n setupFogs();\n setupSounds();\n\n // Create a simple scene and attach it to the virtual universe\n BranchGroup scene = createSceneGraph();\n\n // set up sound\n u.getViewer().createAudioDevice();\n\n // get the view\n view = u.getViewer().getView();\n\n // Get the viewing platform\n ViewingPlatform viewingPlatform = u.getViewingPlatform();\n\n // Move the viewing platform back to enclose the -4 -> 4 range\n double viewRadius = 4.0; // want to be able to see circle\n // of viewRadius size around origin\n // get the field of view\n double fov = u.getViewer().getView().getFieldOfView();\n\n // calc view distance to make circle view in fov\n float viewDistance = (float) (viewRadius / Math.tan(fov / 2.0));\n tmpVector.set(0.0f, 0.0f, viewDistance);// setup offset\n tmpTrans.set(tmpVector); // set trans to translate\n // move the view platform\n viewingPlatform.getViewPlatformTransform().setTransform(tmpTrans);\n\n // add an orbit behavior to move the viewing platform\n OrbitBehavior orbit = new OrbitBehavior(canvas, OrbitBehavior.STOP_ZOOM);\n orbit.setSchedulingBounds(infiniteBounds);\n viewingPlatform.setViewPlatformBehavior(orbit);\n\n u.addBranchGraph(scene);\n\n contentPane.add(\"East\", guiPanel());\n }", "private void initialize() {\n layout = new HorizontalLayout();\n\n workspaceTabs = new TabSheet();\n\n WorkspacePanel panel = new WorkspacePanel(\"Workspace 1\");\n workspaceTabs.addTab(panel).setCaption(\"Workspace 1\");\n DropHandler dropHandler = searchMenu.createDropHandler(panel.getBaseLayout());\n panel.setDropHandler(dropHandler);\n\n layout.addComponent(workspaceTabs);\n\n setContent(layout);\n }", "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 }", "public LayerViewPanel()\r\n {\r\n \r\n }", "public Catalogs() {\n initComponents();\n this.setLocationRelativeTo(null);\n\n }", "public static void newPane(String resourceURL) throws IOException { \n\t\tMain.root = (Pane) FXMLLoader.load(Main.class.getResource(resourceURL));\n\t\t\n\t}", "public menuPrincipalView() {\n initComponents();\n }", "public Parent creatPanel() {\r\n\t\t\r\n\t\thlavniPanel = new BorderPane();\r\n\t\thlavniPanel.setCenter(creatGameDesk());\r\n\t\thlavniPanel.setTop(createMenuBar());\r\n\t\t\r\n\t\thlavniPanel.setBackground(new Background(new BackgroundFill(Color.BURLYWOOD, CornerRadii.EMPTY, Insets.EMPTY)));\r\n\t\thlavniPanel.setPadding(new Insets(8));\r\n\t\treturn hlavniPanel;\r\n\t}", "private void initNavigation() {\n List<String> healthRoles = Arrays.asList(Roles.ROLE_USER.name(), Roles.ROLE_ADMIN.name());\n \n // static hack to speed up development for other places\n GNode<NavigationElement> root = \n new GNode<NavigationElement>(new NavigationElement(HomePage.class, \"Home.label\", EMPTY_LIST, ComponentPosition.LEFT))\n .addChild(new GNode<NavigationElement>(\n new NavigationElement(Lightbox2Page.class, \"WicketStuff.label\", EMPTY_LIST, ComponentPosition.LEFT), Arrays.asList(\n new GNode<NavigationElement>(new NavigationElement(Lightbox2Page.class, \"Lightbox2.label\", EMPTY_LIST, ComponentPosition.LEFT)),\n new GNode<NavigationElement>(new NavigationElement(Gmap3Page.class, \"Gmap3.label\", EMPTY_LIST, ComponentPosition.LEFT)),\n new GNode<NavigationElement>(new NavigationElement(InmethodGridPage.class, \"InmethodGrid.label\", EMPTY_LIST, ComponentPosition.LEFT)),\n new GNode<NavigationElement>(new NavigationElement(EditableGridPage.class, \"EditableGrid.label\", EMPTY_LIST, ComponentPosition.LEFT))\n )\n )\n )\n .addChild(new GNode<NavigationElement>(\n new NavigationElement(ManageMeasurementsPage.class, \"Health.label\", healthRoles, ComponentPosition.LEFT), Arrays.asList(\n new GNode<NavigationElement>(new NavigationElement(PlotWeightPage.class, \"Wheight.label\", healthRoles, ComponentPosition.LEFT)),\n new GNode<NavigationElement>(new NavigationElement(PlotFatPage.class, \"Fat.label\", healthRoles, ComponentPosition.LEFT)),\n new GNode<NavigationElement>(new NavigationElement(PlotWaterPage.class, \"Water.label\", healthRoles, ComponentPosition.LEFT)),\n new GNode<NavigationElement>(new NavigationElement(BmiWikiPage.class, \"BMI.label\", healthRoles, ComponentPosition.LEFT)),\n new GNode<NavigationElement>(new NavigationElement(BackupRestorePage.class, \"Backup/Restore.label\", healthRoles, ComponentPosition.LEFT)),\n new GNode<NavigationElement>(new NavigationElement(HealthSettingsPage.class, \"Settings.label\", Arrays.asList(Roles.ROLE_ADMIN.name()), ComponentPosition.LEFT))\n )\n )\n )\n .addChild(new GNode<NavigationElement>(\n new NavigationElement(AdminPage.class, \"Admin.label\", Arrays.asList(Roles.ROLE_ADMIN.name()), ComponentPosition.RIGHT), Arrays.asList(\n new GNode<NavigationElement>(new NavigationElement(ManageUsersPage.class, \"Users.label\", Arrays.asList(Roles.ROLE_ADMIN.name()), ComponentPosition.LEFT)),\n new GNode<NavigationElement>(new NavigationElement(ManageRolesPage.class, \"Roles.label\", Arrays.asList(Roles.ROLE_ADMIN.name()), ComponentPosition.LEFT)),\n new GNode<NavigationElement>(new NavigationElement(BackupPage.class, \"Backup.label\", Arrays.asList(Roles.ROLE_ADMIN.name()), ComponentPosition.LEFT))\n )\n )\n )\n .addChild(new GNode<NavigationElement>(new NavigationElement(UserSettingsPage.class, \"Settings.label\", Arrays.asList(Roles.ROLE_USER.name(), Roles.ROLE_ADMIN.name()), ComponentPosition.RIGHT))\n );\n tree = new GTree<NavigationElement>(root);\n }", "protected void setupViewControllers() {\r\n\t\tViewControlsLayer viewControlsLayer = new ViewControlsLayer();\r\n\t\t@SuppressWarnings(\"unused\")\r\n\t\tToolTipController toolTipController = new ToolTipController(getWWD(),\r\n\t\t\t\tAVKey.DISPLAY_NAME, null);\r\n\t\t@SuppressWarnings(\"unused\")\r\n\t\tHighlightController highlightController = new HighlightController(getWWD(),\r\n\t\t\t\tSelectEvent.ROLLOVER);\r\n\r\n\t\tinsertBeforeCompass(viewControlsLayer);\r\n\t\tgetWWD().addSelectListener(new ViewControlsSelectListener(getWWD(),\r\n\t\t\t\tviewControlsLayer));\r\n\t}", "private void initComponents() {\n\n scenePanel = new javax.swing.JPanel();\n\n setLayout(new javax.swing.BoxLayout(this, javax.swing.BoxLayout.PAGE_AXIS));\n\n scenePanel.setLayout(new javax.swing.BoxLayout(scenePanel, javax.swing.BoxLayout.LINE_AXIS));\n add(scenePanel);\n }", "private void initialize() {\n\t\tthis.setContentPane(getJContentPane());\n\t\tthis.setContentPane(getJContentPane());\n\t\tthis.setSize(810, 600);\n\t\tthis.setContentPane(getJContentPane());\n\t\tthis.setBackground(new java.awt.Color(226,226,222));\n\t\tthis.setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE);\n\t\tthis.setModal(true);\n\t\tthis.setResizable(false);\n\t\tthis.setName(\"FramePrincipalLR\");\n\t\tthis.setTitle(\"CR - Lista de Regalos\");\n\t\tthis.setLocale(new java.util.Locale(\"es\", \"VE\", \"\"));\n\t\tthis.setUndecorated(false);\n\t}", "@Override\n\tpublic void setPane() {\n\t\tNewSchedulePane SchListPane = new NewSchedulePane();\n\t\trootPane = new HomePane(new MainLeftPane(),SchListPane);\n\t}", "private void initialize() {\n\t\tSystem.setProperty(\"sun.java2d.uiScale\", \"1.0\");\n\n\t\tframe = new JFrame();\n\t\tframe.getContentPane().setBackground(new Color(47, 79, 79));\n\t\tframe.getContentPane().setLayout(null);\n\t\t\n\t\t\n\n\t\tpanellHome =new Home_Panel();\n\t\tpanellHome.setBounds(0, 0, 733, 494);\t\n\t\t\n\t\tpanelAnimalInsertion =new AnimalInsertion_Panel();\n\t\tpanelAnimalInsertion.setBounds(0, 0, 733, 494);\n\t\t\n\t\tpanelAvailableAnimals=new AvailableAnimals_Panel();\n\t\tpanelAvailableAnimals.setBounds(0, 0, 791, 585);\n\n\t\tpanelAdoptionHistory=new AdoptionHistory_Panel();\n\t\tpanelAdoptionHistory.setBounds(0, 0, 733, 535);\n\n\t\tpanelAdoptionStatistics=new AdoptionStatistics_Panel();\n\t\tpanelAdoptionStatistics.setBounds(0, 0, 733, 535);\n\t\t\n\t\tpanelProffesionalServices=new ProffesionalServices_Panel();\n\t\tpanelProffesionalServices.setBounds(0, 0, 733, 535);\n\t\t\n\t\t\n\t\tJPanel panelMenu = new JPanel();\n\t\tpanelMenu.setBackground(new Color(0, 128, 128));\n\t\tpanelMenu.setBounds(0, 0, 218, 585);\n\t\tframe.getContentPane().add(panelMenu);\n\t\tpanelMenu.setLayout(null);\n\t\t\n\t\tJPanel paneHome = new JPanel();\n\t\tpaneHome.addMouseListener(new PanelButtonMouseAdapter(paneHome)\n\t{\n\t\t\t\n\t\t\tpublic void mouseClicked(MouseEvent e) \n\t\t\t{\n\n\t\t\t\tmenuClicked(panellHome);\n\n\t\t\t}\n\t\t\t\t\n\t});\n\t\tpaneHome.setBackground(new Color(0, 139, 139));\n\t\tpaneHome.setBounds(0, 131, 214, 37);\n\t\tpanelMenu.add(paneHome);\n\t\tpaneHome.setLayout(null);\n\t\t\n\t\tJLabel lblNewLabel = new JLabel(\"Home\");\n\t\tlblNewLabel.setForeground(new Color(255, 255, 255));\n\t\tlblNewLabel.setFont(new Font(\"Dialog\", Font.BOLD, 14));\n\t\tlblNewLabel.setBounds(78, 12, 45, 13);\n\t\tpaneHome.add(lblNewLabel);\n\t\t\n\t\t\n\t\tJPanel paneAvailableAnimals = new JPanel();\n\t\tpaneAvailableAnimals.addMouseListener(new PanelButtonMouseAdapter(paneAvailableAnimals)\n\t\t{\n\t\t\t\n\t\t\tpublic void mouseClicked(MouseEvent e) \n\t\t\t{\n\t\t\t\t\n\t\t\t\tmenuClicked(panelAvailableAnimals);\n\t\t\t\t\n\n\t\t\t}\n\t\t\t\t\n\t});\n\t\t\n\t\tpaneAvailableAnimals.setBackground(new Color(0, 139, 139));\n\t\tpaneAvailableAnimals.setBounds(0, 169, 214, 37);\n\t\tpanelMenu.add(paneAvailableAnimals);\n\t\tpaneAvailableAnimals.setLayout(null);\n\t\t\n\t\tJLabel lblAvailableAnimals = new JLabel(\"Available Animals\");\n\t\tlblAvailableAnimals.setForeground(new Color(255, 255, 255));\n\t\tlblAvailableAnimals.setFont(new Font(\"Dialog\", Font.BOLD, 14));\n\t\tlblAvailableAnimals.setBounds(38, 6, 132, 27);\n\t\tpaneAvailableAnimals.add(lblAvailableAnimals);\n\t\t\n\t\tJPanel paneAnimalInsertion = new JPanel();\n\t\tpaneAnimalInsertion.addMouseListener(new PanelButtonMouseAdapter(paneAnimalInsertion)\n{\n\t\t\t\n\t\t\tpublic void mouseClicked(MouseEvent e) \n\t\t\t{\n\t\t\t\t\n\t\t\t\tmenuClicked(panelAnimalInsertion);\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t\t\n\t});\n\t\tpaneAnimalInsertion.setBackground(new Color(0, 139, 139));\n\t\tpaneAnimalInsertion.setBounds(0, 205, 214, 37);\n\t\tpanelMenu.add(paneAnimalInsertion);\n\t\tpaneAnimalInsertion.setLayout(null);\n\t\t\n\t\tJLabel lblAnimalInsertion = new JLabel(\"Animal Insertion\");\n\t\tlblAnimalInsertion.setForeground(new Color(255, 255, 255));\n\t\tlblAnimalInsertion.setFont(new Font(\"Dialog\", Font.BOLD, 14));\n\t\tlblAnimalInsertion.setBounds(38, 10, 142, 17);\n\t\tpaneAnimalInsertion.add(lblAnimalInsertion);\n\t\t\n\t\tJPanel paneAdoptionHistory = new JPanel();\n\t\tpaneAdoptionHistory.addMouseListener(new PanelButtonMouseAdapter(paneAdoptionHistory)\n\t\t\t\t{\n\t\t\tpublic void mouseClicked(MouseEvent e) \n\t\t\t{\n\t\t\t\tmenuClicked(panelAdoptionHistory);\n\n\t\t\t}\n\t\t\t\t\n\t});\n\t\tpaneAdoptionHistory.setBackground(new Color(0, 139, 139));\n\t\tpaneAdoptionHistory.setBounds(0, 241, 214, 37);\n\t\tpanelMenu.add(paneAdoptionHistory);\n\t\tpaneAdoptionHistory.setLayout(null);\n\t\t\n\t\tJLabel lblAdoptionsHistory = new JLabel(\"Adoption's History\");\n\t\tlblAdoptionsHistory.setForeground(new Color(255, 255, 255));\n\t\tlblAdoptionsHistory.setFont(new Font(\"Dialog\", Font.BOLD, 14));\n\t\tlblAdoptionsHistory.setBounds(38, 7, 129, 27);\n\t\tpaneAdoptionHistory.add(lblAdoptionsHistory);\n\t\t\n\t\tJLabel lblNewLabel_1 = new JLabel(\"\");\n\t\tlblNewLabel_1.setIcon(new ImageIcon(image));\n\t\tlblNewLabel_1.setBounds(60, 10, 125, 111);\n\t\tpanelMenu.add(lblNewLabel_1);\n\t\t\n\t\tJPanel paneAdoptionStatistics = new JPanel();\n\t\tpaneAdoptionStatistics.addMouseListener(new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mousePressed(MouseEvent e) {\n\t\t\t\tmenuClicked(panelAdoptionStatistics);\n\n\t\t\t\t\n\t\t\t}\n\t\t});\n\t\tpaneAdoptionStatistics.setLayout(null);\n\t\tpaneAdoptionStatistics.setBackground(new Color(0, 139, 139));\n\t\tpaneAdoptionStatistics.setBounds(0, 277, 214, 37);\n\t\tpanelMenu.add(paneAdoptionStatistics);\n\t\t\n\t\tJLabel lblAdoptionsStatistics = new JLabel(\"Adoption's Statistics\");\n\t\tlblAdoptionsStatistics.setForeground(Color.WHITE);\n\t\tlblAdoptionsStatistics.setFont(new Font(\"Dialog\", Font.BOLD, 14));\n\t\tlblAdoptionsStatistics.setBounds(22, 3, 166, 27);\n\t\tpaneAdoptionStatistics.add(lblAdoptionsStatistics);\n\t\t\n\t\tJLabel lblNewLabel_2 = new JLabel(\"Shir Bata\");\n\t\tlblNewLabel_2.setForeground(Color.WHITE);\n\t\tlblNewLabel_2.setBounds(28, 516, 64, 23);\n\t\tpanelMenu.add(lblNewLabel_2);\n\t\t\n\t\tJLabel lblKoralBukra = new JLabel(\"Koral Bukra\");\n\t\tlblKoralBukra.setForeground(Color.WHITE);\n\t\tlblKoralBukra.setBounds(112, 516, 106, 23);\n\t\tpanelMenu.add(lblKoralBukra);\n\t\t\n\t\tJLabel lblMotiBarshazky = new JLabel(\"Moti Barshazky\");\n\t\tlblMotiBarshazky.setForeground(Color.WHITE);\n\t\tlblMotiBarshazky.setBounds(109, 536, 109, 23);\n\t\tpanelMenu.add(lblMotiBarshazky);\n\t\t\n\t\tJLabel lblTomerCarmel = new JLabel(\"Tomer Carmel\");\n\t\tlblTomerCarmel.setForeground(Color.WHITE);\n\t\tlblTomerCarmel.setBounds(18, 536, 106, 23);\n\t\tpanelMenu.add(lblTomerCarmel);\n\t\t\n\t\tJPanel paneProffessionalServices = new JPanel();\n\t\tpaneProffessionalServices.addMouseListener(new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mousePressed(MouseEvent e) {\n\t\t\t\tmenuClicked(panelProffesionalServices);\n\n\t\t\t\t\n\t\t\t}\n\t\t});\n\t\tpaneProffessionalServices.setLayout(null);\n\t\tpaneProffessionalServices.setBackground(new Color(0, 139, 139));\n\t\tpaneProffessionalServices.setBounds(0, 315, 214, 37);\n\t\tpanelMenu.add(paneProffessionalServices);\n\t\t\n\t\tJLabel lblProffessionalServices = new JLabel(\"Proffessional Services\");\n\t\tlblProffessionalServices.setForeground(Color.WHITE);\n\t\tlblProffessionalServices.setFont(new Font(\"Dialog\", Font.BOLD, 14));\n\t\tlblProffessionalServices.setBounds(22, 3, 166, 27);\n\t\tpaneProffessionalServices.add(lblProffessionalServices);\n\t\t\n\t\t\n\t\n\t\t\n\t\t\n\t\tJPanel panel = new JPanel();\n\t\tpanel.setBackground(new Color(47, 79, 79));\n\t\tpanel.setBounds(219, 0, 791, 585);\n\t\tframe.getContentPane().add(panel);\n\t\tpanel.setLayout(null);\n\t\tframe.setBounds(100, 100, 1024, 622);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tpanel.add(panelAnimalInsertion);\n\t\tpanel.add(panelAvailableAnimals);\n\t\tpanel.add(panellHome);\n\t\tpanel.add(panelAdoptionHistory);\n\t\tpanel.add(panelAdoptionStatistics);\n\t\tpanel.add(panelProffesionalServices);\n\t\t\n\t\t\n\t\t\n\t\tHome_Panel home_Panel = new Home_Panel();\n\t\thome_Panel.setBounds(0, 0, 733, 494);\n\t\tpanel.add(home_Panel);\n\t\tmenuClicked(panellHome);\n\n\t\t\n\t}", "public void init()\n {\n buildUI(getContentPane());\n }", "public Navigator() {\n landmarks = new Landmarks();\n\n currentLocation = new Location(6, 0, 'D');\n home = new Location(6, 0, 'D');\n\n currentDestination = home;\n currentDestinationName = \"\";\n\n readLandmarks();\n readConfig();\n noteManager = new NoteManager();\n eventManager = new EventManager();\n\n }", "private void montarLayeredPane() {\n\t\tlayeredPane = new JLayeredPane();\r\n\t\tgetContentPane().add(layeredPane, BorderLayout.NORTH);\r\n\t\tlayeredPane.setPreferredSize(new Dimension(this.getWidth(), this.getHeight()));\r\n\r\n\t\tlayeredPane.setOpaque(true);\r\n\t\tlayeredPane.setBackground(Color.WHITE.darker());\r\n\t}", "public View() {\n this.view = new ViewPanel();\n //this.view.setGraph(this.graph);\n initComponents();\n this.m_algoritmos.setEnabled(false);\n this.mi_maze.setEnabled(false);\n this.mi_salvarImagem.setEnabled(false);\n }", "public PaneOrganizer() {\n\t\t_root = new BorderPane(); // new border pane\n\t\t\n\t\tLabel score = new Label(\"Score: 0\"); // score label\n\t\tscore.setTextFill(Color.WHITE); // text color\n\t\t\n\t\tLabel lives = new Label(\"Lives: 3\"); // lives label\n\t\tlives.setTextFill(Color.WHITE); // text color\n\t\t\n\t\tGame game = new Game(score, lives); // game pane\n\t\tHBox hbox = new HBox(); // hbox to organize the quit button\n\n\t\tButton quit = new Button(\"Quit\"); // Creating quit button\n\t\tquit.setOnAction(new QuitHandler()); // add the quit handler\n\t\tquit.minHeight(Constants.QUIT_HEIGHT); // sizing\n\n\t\thbox.getChildren().addAll(quit, score, lives); // add components to hbox\n\t\thbox.setSpacing(20);\n\t\t\n\t\t_root.setCenter(game); // set the game pane\n\t\t_root.setBottom(hbox); // set the hbox\n\t\t_root.setStyle(\"-fx-background-color: black\");\n\t}", "public void initModule(){\n SplitPane pane = new SplitPane();\n VBox module = (VBox) loader.getNamespace().get(\"vbox_grapher\");\n ScrollPane module_parent = (ScrollPane) loader.getNamespace().get(\"vbox_grapher_parent\");\n\n //bug solution (set resizable with parent):\n module_parent.setFitToHeight(true);\n module_parent.setFitToWidth(true);\n\n //clear(module);\n createGraphes(-1, module);\n }", "public GameWindow(){\n setSize(1012,785);\n setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\n setLayout(null);\n\n JLabel sun = new JLabel(\"SUN\");\n sun.setLocation(37,80);\n sun.setSize(60,20);\n\n GamePanel gp = new GamePanel(sun);\n gp.setLocation(0,0);\n getLayeredPane().add(gp,new Integer(0));\n \n PlantCard sunflower = new PlantCard(new ImageIcon(this.getClass().getResource(\"images/cards/card_sunflower.png\")).getImage());\n sunflower.setLocation(110,8);\n sunflower.setAction((ActionEvent e) -> {\n gp.activePlantingBrush = PlantType.Sunflower;\n });\n getLayeredPane().add(sunflower,new Integer(3));\n\n PlantCard peashooter = new PlantCard(new ImageIcon(this.getClass().getResource(\"images/cards/card_peashooter.png\")).getImage());\n peashooter.setLocation(175,8);\n peashooter.setAction((ActionEvent e) -> {\n gp.activePlantingBrush = PlantType.Peashooter;\n });\n getLayeredPane().add(peashooter,new Integer(3));\n\n PlantCard freezepeashooter = new PlantCard(new ImageIcon(this.getClass().getResource(\"images/cards/card_freezepeashooter.png\")).getImage());\n freezepeashooter.setLocation(240,8);\n freezepeashooter.setAction((ActionEvent e) -> {\n gp.activePlantingBrush = PlantType.FreezePeashooter;\n });\n getLayeredPane().add(freezepeashooter,new Integer(3));\n\n\n\n getLayeredPane().add(sun,new Integer(2));\n setResizable(false);\n setVisible(true);\n }", "private void addComponentsToLayers() {\n JLayeredPane layer = getLayeredPane();\n layer.add(canvas, new Integer(1));\n layer.add(searchArea, new Integer(2));\n layer.add(searchButton, new Integer(2));\n layer.add(zoomInButton, new Integer(2));\n layer.add(zoomOutButton, new Integer(2));\n layer.add(fullscreenButton, new Integer(2));\n layer.add(showRoutePanelButton, new Integer(2));\n layer.add(routePanel, new Integer(2));\n layer.add(optionsButton, new Integer(2));\n layer.add(mapTypeButton, new Integer(2));\n layer.add(mapTypePanel, new Integer(2));\n layer.add(resultPane, new Integer(3));\n layer.add(resultStartPane, new Integer(3));\n layer.add(resultEndPane, new Integer(3));\n layer.add(iconPanel, new Integer(3));\n layer.add(optionsPanel, new Integer(2));\n layer.add(directionPane, new Integer(2));\n layer.add(closeDirectionList, new Integer(2));\n layer.add(travelTimePanel, new Integer(3));\n\n }", "private void init() {\n setDefaultCloseOperation(EXIT_ON_CLOSE);\n controlPanel = new ControlPanel(this);\n canvas = new DrawingPanel(this);\n shapeController = ShapeController.getInstance();\n\n shapeController.setFactory(new RegularPolygonShapeFactory(6, 50));\n optionsPanel = new RegularPolygonOptionsPanel(this, 6, 50);\n toolPanel = new ToolPanel(this);\n\n add(optionsPanel, BorderLayout.NORTH);\n add(canvas, BorderLayout.CENTER);\n add(controlPanel, BorderLayout.SOUTH);\n add(toolPanel, BorderLayout.EAST);\n\n pack();\n }", "private void initialize( )\n {\n this.setSize( 300, 200 );\n this.setLayout( new BorderLayout( ) );\n this.setBorder( BorderFactory.createTitledBorder( null, \"GnericMenu\", TitledBorder.DEFAULT_JUSTIFICATION, TitledBorder.DEFAULT_POSITION, null, null ) );\n this.add( getJScrollPane( ), BorderLayout.CENTER );\n\n itemAddMenuItem.addActionListener( this );\n itemDelCategory.addActionListener( this );\n popupmenuCategory.add( itemAddMenuItem );\n popupmenuCategory.add( itemDelCategory );\n\n itemDel.addActionListener( this );\n popupmenuItem.add( itemDel );\n\n itemAddCategory.addActionListener( this );\n popupmenuMenu.add( itemAddCategory );\n }", "private void initialize() {\n\t\tframe = new JFrame();\n\t\tframe.setBounds(100, 100, 800, 800);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\t\n\t\tJPanel browserPanel = new JPanel();\n\t\tframe.getContentPane().add(browserPanel, BorderLayout.CENTER);\n\t\t\n\t\t// create javafx panel for browser\n browserFxPanel = new JFXPanel();\n browserPanel.add(browserFxPanel);\n \n // create JavaFX scene\n Platform.runLater(new Runnable() {\n public void run() {\n createScene();\n }\n });\n\t}", "public void init() {\n fIconkit = new Iconkit(this);\n\n\t\tsetLayout(new BorderLayout());\n\n fView = createDrawingView();\n\n Panel attributes = createAttributesPanel();\n createAttributeChoices(attributes);\n add(\"North\", attributes);\n\n Panel toolPanel = createToolPalette();\n createTools(toolPanel);\n add(\"West\", toolPanel);\n\n add(\"Center\", fView);\n Panel buttonPalette = createButtonPanel();\n createButtons(buttonPalette);\n add(\"South\", buttonPalette);\n\n initDrawing();\n setBufferedDisplayUpdate();\n setupAttributes();\n }", "private void initialize() {\r\n\t\tSpringLayout springLayout = new SpringLayout();\r\n\t\tthis.setLayout(springLayout);\r\n\r\n\t\tcoi = new ContenedorOfertasInterno(gui);\r\n\r\n\t\tscrollPane = new JScrollPane(coi, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,\r\n\t\t\t\tJScrollPane.HORIZONTAL_SCROLLBAR_NEVER);\r\n\t\tscrollPane.getVerticalScrollBar().setUI(new ThinSolidScrollBarUi(7));\r\n\t\tscrollPane.getVerticalScrollBar().setUnitIncrement(16);\r\n\t\tscrollPane.setPreferredSize(new Dimension(1006, 563));\r\n\t\tscrollPane.setBackground(Color.BLUE);\r\n\r\n\t\tthis.add(scrollPane);\r\n\t\tthis.setLayer(scrollPane, 1);\r\n\r\n\t}", "public void init() throws MalformedURLException {\n Parent root = loadHierarchy(\"src/main/java/com/mycompany/propertytycoon/gui/mainmenu/homepage.fxml\");\n Scene scene = new Scene(root);\n\n currStage.setTitle(\"Property Tycoon\");\n currStage.setScene(scene);\n URL url = new File(\"src/main/java/resources/img/PTBarLogo.png\").toURI().toURL();\n Image i = new Image(url.toString());\n currStage.getIcons().add(i);\n currStage.show();\n }", "private AnchorPane construirCamadas() {\n AnchorPane painelCamadas = new AnchorPane();\n painelCamadas.setPrefSize(400, 400);\n\n /*******************************************\n * [ACORDEON]\n ********************************************/\n this.camadas = new Accordion();\n this.camadas.setPrefSize(370,350);\n this.camadas.setLayoutX(30);\n this.camadas.setLayoutY(10);\n painelCamadas.getChildren().add(camadas);\n\n /*******************************************\n * [IMAGEVIEW SETA]\n ********************************************/\n this.setaImagem = allImage.getImageView(\"seta\");\n this.setaImagem.setFitWidth(26);\n this.setaImagem.setFitHeight(26);\n this.setaImagem.setLayoutY(10);\n this.setaImagem.setVisible(false);\n painelCamadas.getChildren().add(setaImagem);\n\n\n /*******************************************\n * [CAMADA DE APLICACAO]\n ********************************************/\n camadaAplicacao = new Camada(\"Camada Aplicacao\",setaImagem,10,camadas);\n this.camadas.getPanes().add(camadaAplicacao);\n \n /*******************************************\n * [CAMADA ENLACE DE DADOS]\n ********************************************/\n camadaEnlace = new Camada(\"Camada Enlace de Dados\",setaImagem,37,camadas);\n this.camadas.getPanes().add(camadaEnlace);\n\n /*******************************************\n * [CAMADA FISICA]\n ********************************************/\n camadaFisica = new Camada(\"Camada Fisica\",setaImagem,62,camadas);\n this.camadas.getPanes().add(camadaFisica);\n\n return painelCamadas;\n }", "public NavigationController( BrowserFieldScreen widgetScreen ) {\r\n _browserField = widgetScreen.getWidgetBrowserField();\r\n _navigationNamespace = widgetScreen.getNavigationExtension();\r\n _widgetFieldManager = widgetScreen.getWidgetFieldManager();\r\n _currentNodeHovered = true;\r\n _defaultHoverEffect = true;\r\n _iframeHashtable = new Hashtable();\r\n }", "public void initialize(){\t\t\n\n\t\tsetBounds(100, 100, 900, 620);\n\t\tcontentPane = new JPanel();\n\t\tcontentPane.setBackground(SystemColor.control);\n\t\tcontentPane.setBorder(new EmptyBorder(5, 5, 5, 5));\n\t\tcontentPane.setLayout(null);\n\t\tsetLayout(null);\n\n\t\t//build the image of the board for toggling the active squares\n\t\t//buildBoardImage();\n\n\t\tboardView = new BoardView(new Color(20,200,160), model, 1, app);\n\t\tboardView.builderInitialize(app);\n\t\tboardView.setSize(408, 440);\n\t\tboardView.setLocation(39, 158);\n\t\tadd(boardView);\n\n\t\tcomboBox = new JComboBox<String>();\n\t\tcomboBox.setModel(new DefaultComboBoxModel<String>(new String[] {\"Puzzle\", \"Lightning\", \"Theme\"}));\n\t\tcomboBox.setToolTipText(\"\");\n\t\tcomboBox.setMaximumRowCount(3);\n\t\tcomboBox.setBounds(593, 158, 97, 26);\n\t\tcomboBox.addItemListener(this);\n\t\tthis.add(comboBox, \"ComboBox\");\n\n\t\tJLabel lblTitle = new JLabel(\"LetterCraze: Builder\");\n\t\tlblTitle.setFont(new Font(\"Impact\", Font.BOLD | Font.ITALIC, 40));\n\t\tlblTitle.setBounds(39, 11, 522, 109);\n\t\tadd(lblTitle);\n\n\t\tpnlLevelSwitch = new JPanel();\n\t\tpnlLevelSwitch.setName(\"pnlLevelSwitch\");\n\t\tpnlLevelSwitch.setBounds(479, 192, 379, 362);\n\t\tpnlLevelSwitch.setLayout(new CardLayout());\n\t\tadd(pnlLevelSwitch);\n\n\t\tJPanel pnlPuzzle = new BuilderPuzzlePanelView(labelFont);\n\t\tpnlLevelSwitch.add(pnlPuzzle, \"Puzzle\");\n\t\tpnlPuzzle.setBackground(new Color(102,255,102));\n\t\tpnlPuzzle.setLayout(null);\n\n\t\tJPanel pnlLightning = new BuilderLightningPanelView();\n\t\tpnlLightning.setBackground(Color.ORANGE);\n\t\tpnlLevelSwitch.add(pnlLightning, \"Lightning\");\n\t\tpnlLightning.setLayout(null);\n\n\n\t\tJPanel pnlTheme = new BuilderThemePanelView(labelFont);\n\t\tpnlTheme.setBackground(Color.PINK);\n\t\tpnlLevelSwitch.add(pnlTheme, \"Theme\");\n\t\tpnlTheme.setLayout(null);\n\n\t\tcontentPane.setVisible(true);\n\t\tcontentPane.repaint();\n\t\tJButton btnReset = new JButton(\"Reset Level\");\n\t\tbtnReset.addMouseListener(new ResetBoardSquaresController(this, model));\n\t\tbtnReset.setBounds(39, 118, 107, 29);\n\t\tadd(btnReset);\n\n\t\tJButton btnSaveLevel = new JButton(\"Save And Exit\");\n\t\tbtnSaveLevel.setBounds(156, 118, 111, 29);\n\t\tbtnSaveLevel.addMouseListener(new SaveLevelController(this, cardLayoutPanel, model));\n\t\t//btnSaveLevel.addMouseListener(new ExitWithoutSavingController(this, cardLayoutPanel, model));\n\t\tadd(btnSaveLevel);\n\n\t\tJLabel lblLevelType = new JLabel(\"Level Type\");\n\t\tlblLevelType.setFont(labelFont);\n\t\tlblLevelType.setBounds(491, 158, 92, 26);\n\t\tadd(lblLevelType);\n\n\t\tJButton btnCloseWithoutSaving = new JButton(\"Close Without Saving\");\n\t\t//TODO replace with close builder controller\n\t\tbtnCloseWithoutSaving.addMouseListener(new ExitWithoutSavingController(this, cardLayoutPanel, model));\n\t\tbtnCloseWithoutSaving.setBounds(273, 118, 174, 29);\n\t\tadd(btnCloseWithoutSaving);\n\t\t\n\t\tJButton btnPreviewLevel = new JButton(\"Show Me The Money!\");\n\t\tbtnPreviewLevel.addMouseListener(new PreviewLevelController(this, model, cardLayoutPanel));\n\t\tbtnPreviewLevel.setBounds(491, 118, 199, 29);\n\t\tadd(btnPreviewLevel);\n\t\trepaint();\n\t}", "public ReportPane() {\n initComponents();\n }", "private void initTabs() {\n\t\tJPanel newTab = new JPanel();\r\n\t\taddTab(\"\", newTab); //$NON-NLS-1$\r\n\t\tsetTabComponentAt(0, new NewPaneButton());\r\n\t\tsetEnabledAt(0, false);\r\n\t\t// Add a new pane\r\n\t\taddPane();\r\n }", "public MenuPrincipal() {\n initComponents();\n this.setLocationRelativeTo(null);\n }", "TabbelPane() {\r\n\t\t\tpanelDB = new JPanelCluster(\"mine\", new EventFromDb());\r\n\t\t\tpanelFile = new JPanelCluster(\"store from file\", new EventFromFile());\r\n\t\t\tImageIcon icon = new ImageIcon(\"database.png\");\r\n\t\t\tImage image = icon.getImage();\r\n\t\t\tImage newimage = image.getScaledInstance(20, 20, java.awt.Image.SCALE_SMOOTH);\r\n\t\t\ticon.setImage(newimage);\r\n\t\t\tschermata.addTab(\"DB\", icon, panelDB);\r\n\t\t\ticon = new ImageIcon(\"file.png\");\r\n\t\t\timage = icon.getImage();\r\n\t\t\tnewimage = image.getScaledInstance(20, 20, java.awt.Image.SCALE_SMOOTH);\r\n\t\t\ticon.setImage(newimage);\r\n\t\t\tschermata.addTab(\"file\", icon, panelFile);\r\n\t\t\tsetVisible(true);\r\n\t\t}", "public BracketPane(Bracket currentBracket) {\n displayedSubtree=0;\n this.currentBracket = currentBracket;\n\n bracketMap = new HashMap<>();\n nodeMap = new HashMap<>();\n panes = new HashMap<>();\n nodes = new ArrayList<>();\n ArrayList<Root> roots = new ArrayList<>();\n\n center = new GridPane();\n\n ArrayList<StackPane> buttons = new ArrayList<>();\n buttons.add(customButton(\"EAST\"));\n buttons.add(customButton(\"WEST\"));\n buttons.add(customButton(\"MIDWEST\"));\n buttons.add(customButton(\"SOUTH\"));\n buttons.add(customButton(\"FULL\"));\n\n ArrayList<GridPane> gridPanes = new ArrayList<>();\n\n for (int m = 0; m < buttons.size() - 1; m++) {\n roots.add(new Root(3 + m));\n panes.put(buttons.get(m), roots.get(m));\n }\n Pane finalPane = createFinalFour();\n //buttons.add(customButton(\"FINAL\"));\n //panes.put(buttons.get(5), finalPane);\n fullPane = new GridPane();\n GridPane gp1 = new GridPane();\n gp1.add(roots.get(0), 0, 0);\n gp1.add(roots.get(1), 0, 1);\n GridPane gp2 = new GridPane();\n gp2.add(roots.get(2), 0, 0);\n gp2.add(roots.get(3), 0, 1);\n gp2.setNodeOrientation(NodeOrientation.RIGHT_TO_LEFT);\n\n fullPane.add(gp1, 0, 0);\n fullPane.add(finalPane, 1, 0, 1, 2);\n fullPane.add(gp2, 2, 0);\n fullPane.setAlignment(Pos.CENTER);\n panes.put(buttons.get((buttons.size() - 1)), fullPane);\n finalPane.toBack();\n\n // Initializes the button grid\n GridPane buttonGrid = new GridPane();\n for (int i = 0; i < buttons.size(); i++)\n buttonGrid.add(buttons.get(i), 0, i);\n buttonGrid.setAlignment(Pos.CENTER);\n\n // set default center to the button grid\n this.setCenter(buttonGrid);\n\n for (StackPane t : buttons) {\n t.setOnMouseEntered(mouseEvent -> {\n t.setStyle(\"-fx-background-color: lightblue;\");\n t.setEffect(new InnerShadow(10, Color.LIGHTCYAN));\n });\n t.setOnMouseExited(mouseEvent -> {\n t.setStyle(\"-fx-background-color: orange;\");\n t.setEffect(null);\n });\n t.setOnMouseClicked(mouseEvent -> {\n setCenter(null);\n /**\n * @update Grant & Tyler \n * \t\t\tpanes are added as ScrollPanes to retain center alignment when moving through full-view and region-view\n */\n center.add(new ScrollPane(panes.get(t)), 0, 0);\n center.setAlignment(Pos.CENTER);\n setCenter(center);\n //Grant 5/7 this is for clearing the tree it kind of works \n displayedSubtree=buttons.indexOf(t)==7?0:buttons.indexOf(t)+3;\n });\n }\n\n }", "public void init() {\r\n\t\t/*\r\n\t\t * Initialize panel for base\r\n\t\t */\r\n\t\tbaseList = GameMap.getBaseList();\r\n\t\tthis.add(new BaseInfoPanel(baseList.getFirst(), controlPanel));\r\n\t}", "public FramedPane() {\n\t\tLoggingTool.print( \"Constructing new FramedPane.\" );\n\t\t// Draw Frame\n\t\tLine topLine = new Line( 1, 1, this.getWidth(), 1 );\n\t\tLine rightLine = new Line( this.getWidth(), 1, this.getWidth(), this.getHeight() );\n\t\tLine leftLine = new Line( 1, 1, 1, this.getHeight() );\n\t\tLine bottomLine = new Line( 1, this.getHeight(), this.getWidth(), this.getHeight() );\n\n\t\ttopLine.endXProperty().bind( this.widthProperty().subtract( 1 ) );\n\n\t\trightLine.startXProperty().bind( this.widthProperty().subtract( 1 ) );\n\t\trightLine.endXProperty().bind( rightLine.startXProperty() );\n\t\trightLine.endYProperty().bind( this.heightProperty().subtract( 1 ) );\n\n\t\tleftLine.endYProperty().bind( this.heightProperty().subtract( 1 ) );\n\n\t\tbottomLine.startYProperty().bind( this.heightProperty().subtract( 1 ) );\n\t\tbottomLine.endXProperty().bind( this.widthProperty().subtract( 1 ) );\n\t\tbottomLine.endYProperty().bind( bottomLine.startYProperty() );\n\n\t\tthis.getChildren().addAll( topLine, rightLine, leftLine, bottomLine );\n\t}", "public void init() {\n\t\t//initializing graphics area\n \tcanvas = new FacePamphletCanvas();\n \tadd(canvas);\n \t\n\t\taddInteractors();\n\t\taddActionListeners();\n }", "private void createGUI() {\n ResizeGifPanel newContentPane = new ResizeGifPanel();\n newContentPane.setOpaque(true); \n setContentPane(newContentPane); \n }", "public EDMGraphScene() {\n setKeyEventProcessingType(EventProcessingType.FOCUSED_WIDGET_AND_ITS_PARENTS);\n\n addChild(backgroundLayer);\n addChild(mainLayer);\n addChild(connectionLayer);\n addChild(upperLayer);\n\n router = RouterFactory.createOrthogonalSearchRouter(mainLayer, connectionLayer);\n\n getActions().addAction(ActionFactory.createZoomAction());\n getActions().addAction(ActionFactory.createPanAction());\n getActions().addAction(ActionFactory.createSelectAction(new SceneSelectProvider()));\n\n graphLayout.addGraphLayoutListener(new GridGraphListener());\n sceneLayout = LayoutFactory.createSceneGraphLayout(this, graphLayout);\n }", "private void createNewVisualPane(int solverId) {\n }", "@Override \n protected void startup() {\n GretellaView view = new GretellaView(this);\n show( view );\n view.initView(); \n }", "@Override\n\tpublic void initialize(URL fxmlFileLocation, ResourceBundle resources) {\n\t\tmainMenu.setGraphic(new ImageView(\"/Images/stackedlines.png\"));\n\t\tarea1.setText(Constants.DASHBOARD_TEXT_BOX1);\n\t\tarea2.setText(Constants.DASHBOARD_TEXT_BOX2);\n\t\tarea1.setFocusTraversable(false);\n\t\tarea2.setFocusTraversable(false);\n\t\tpopulateCharts();\n\t}", "public KonTabbedPane() {\n // Initialize the ArrayList\n graphInterfaces = new ArrayList<DrawingLibraryInterface>();\n\n DirectedGraph<String, DefaultEdge> graph = CreateTestGraph();\n\n /*\n * Adds a tab\n */\n DrawingLibraryInterface<String, DefaultEdge> graphInterface =\n DrawingLibraryFactory.createNewInterface(graph);\n \n graphInterfaces.add(graphInterface);\n\n // Adds the graph to the tab and adds the tab to the pane\n add(graphInterface.getPanel());\n addTab(\"First Tab\", graphInterface.getPanel());\n\n /*\n * Adds a tab\n */\n graphInterface = DrawingLibraryFactory.createNewInterface(graph);\n graphInterfaces.add(graphInterface);\n\n // Adds the graph to the tab and adds the tab to the pane\n add(graphInterface.getPanel());\n\n graphInterface.getGraphManipulationInterface().highlightNode(graph\n .vertexSet().iterator().next(), true);\n\n addTab(\"Second Tab\", graphInterface.getPanel());\n }", "@Override\n\tpublic void setPane() {\n\t\tNewTaskPane textListPane = new NewTaskPane();\n\t\trootPane = new HomePane(new MainLeftPane(),textListPane);\t\t\n\t}", "private void createUI() {\n\t\tthis.rootPane = new TetrisRootPane(true);\n\t\tthis.controller = new TetrisController(this, rootPane, getWorkingDirectory());\n\t\tthis.listener = new TetrisActionListener(controller, this, rootPane);\n\t\t\n\t\trootPane.setActionListener(listener);\n\t\trootPane.setGameComponents(controller.getGameComponent(), controller.getPreviewComponent());\n\t\trootPane.initialize();\n\t\t\n\t\tPanelBorder border = controller.getPlayer().getPanel().getPanelBorder(\"Tetris v\" + controller.getVersion());\n\t\tborder.setRoundedCorners(true);\n\t\tJPanel panel = new JPanel(new FlowLayout(FlowLayout.CENTER, 0, 0));\n\t\tpanel.setBackground(getBackgroundColor(border.getLineColor()));\n\t\tpanel.setBorder(border);\n\t\tpanel.setPreferredSize(new Dimension(564, 551));\n\t\tpanel.add(rootPane);\n\t\trootPane.addPanelBorder(border, panel);\n\t\t\n\t\tthis.setContentPane(panel);\n\t\tthis.setSize(564, 550);\n\t\t\n\t\tcontroller.initializeUI();\n\t}", "public void initView() {\n JPanel pane= new JPanel();\n panel = new JPanel();\n this.getFile(pane);\n JScrollPane scp = new JScrollPane(pane);\n scp.setPreferredSize(new Dimension(500, 280));\n scp.setVisible(true);\n enter.setPreferredSize(new Dimension(100, 50));\n enter.setVisible(true);\n enter.setActionCommand(\"enter\");\n enter.addActionListener(this);\n send.setPreferredSize(new Dimension(80, 50));\n send.setVisible(true);\n send.setActionCommand(\"sendOptions\");\n send.addActionListener(this);\n send.setEnabled(true);\n back.setVisible(true);\n back.setActionCommand(\"back\");\n back.addActionListener(this);\n back.setPreferredSize(new Dimension(80, 50));\n \n panel.add(scp);\n panel.add(send);\n panel.add(enter);\n panel.add(back);\n Launch.frame.add(panel);\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 initGUI() {\n\t\tContainer cp = getContentPane();\n\t\tcp.setLayout(new BorderLayout());\n\t\t\n\t\tJPanel top = new JPanel(new GridLayout(0, 1));\n\t\tcp.add(top, BorderLayout.PAGE_START);\n\t\t\n\t\ttop.add(createMenuBar());\n\n\t\tJTabbedPane tabs = new JTabbedPane();\n\t\ttabs.add(\"Encryptor\", encryptorPanel);\n\t\ttabs.add(\"Decryptor\", decryptorPanel);\n\t\ttabs.setSelectedComponent(encryptorPanel);\n\t\t\n\t\tcp.add(tabs);\n\t}", "private void initPane(Container pane){\n\n\t\tif(!(pane.getLayout() instanceof BorderLayout)){\n\t\t\tpane.add(new JLabel(\"Container doesn't use BorderLayout!\"));\n\t\t\treturn;\n\t\t}\n\n\t\tpane.setBackground(Color.DARK_GRAY);\n\n\t\tif(!DEVELOPMENT_MODE){\n\t\t\t// Transparent 16 x 16 pixel cursor image\n\t\t\tBufferedImage cursorImg = new BufferedImage(16, 16, BufferedImage.TYPE_INT_ARGB);\n\t\t\t// Create a new blank cursor\n\t\t\tCursor blankCursor = Toolkit.getDefaultToolkit().createCustomCursor(cursorImg, new Point(0, 0), \"blank cursor\");\n\t\t\t// Set the blank cursor to the JFrame\n\t\t\tpane.setCursor(blankCursor);\n\t\t}\n\n//\t\tWebcam webcam = Webcam.getDefault();\n//\t\twebcam.setViewSize(WebcamResolution.QVGA.getSize());\n\n//\t\twebcamPanel = new WebcamPanel(webcam);\n//\t\twebcamPanel.setFPSDisplayed(true);\n//\t\twebcamPanel.setDisplayDebugInfo(true);\n//\t\twebcamPanel.setImageSizeDisplayed(true);\n//\t\twebcamPanel.setFPSLimit(FRAMERATE);\n//\n//\t\tpane.add(webcamPanel);\n//\n//\t\twebcamPanel.add(new JLabel(\"Hello world!\"));\n\n\t\tvideoContainer = new JLabel((ImageIcon)null); // Will be initialised later\n\t\tvideoContainer.setVerticalTextPosition(SwingConstants.CENTER);\n\t\tvideoContainer.setFont(FONT);\n\t\tvideoContainer.setForeground(new Color(0xff6655));\n\t\tvideoContainer.setText(\"Camera error!\");\n\n\t\tpane.add(videoContainer);\n\n\t}", "public ViewController(ContainerPane pane){\n this.pane = pane;\n }", "private void initAdminCard(Pane root) {\n\t\t//Get stack pane\n\t\tfinal StackPane sp1 = (StackPane) root.lookup(\"#sp1\");\n\n\t\t//set depth\n\t\tJFXDepthManager.setDepth(sp1, 2);\n\t\tFont font = Font.font(\"Verdana\", FontWeight.BOLD, 15);\n\t\t// initialize Header\n\t\tStackPane header = new StackPane();\n\t\tLabel headerText = new Label(\"Administration\");\n\t\theaderText.setFont(font);\n\t\theaderText.setTextFill(Paint.valueOf(\"#FFF\"));\n\t\theader.getChildren().add(headerText);\n\t\theader.setStyle(\"-fx-background-radius: 5 5 0 0; -fx-background-color: \" + headerColor);\n\t\tVBox.setVgrow(header, Priority.ALWAYS);\n\n\t\t//Initialize body\n\t\tStackPane body = new StackPane();\n\t\tbody.setMinHeight(80);\n\t\t//Create Image For Icon\n\t\tImageView icon = new ImageView(new Image(this.getClass().getResourceAsStream(\"boss.png\")));\n\t\tStackPane.setAlignment(icon, Pos.CENTER);\n\t\tStackPane.setMargin(icon, new Insets(5, 5, 5, 5));\n\t\t//Add icon in body\n\t\tbody.getChildren().add(icon);\n\n\t\t//Create vbox for header and body\n\t\tVBox content = new VBox();\n\t\tJFXRippler ripper = new JFXRippler(content);\n\t\tcontent.getChildren().addAll(header, body);\n\t\tbody.setStyle(\"-fx-background-radius: 0 0 5 5; -fx-background-color: rgb(255,255,255,0.87);\");\n\n\t\t//Initialize Button\n\t\tJFXButton button = new JFXButton(\"\");\n\t\tbutton.setTooltip(new Tooltip(\"Login As Administrator\"));\n\t\tbutton.setButtonType(ButtonType.RAISED);\n\t\tbutton.setStyle(\"-fx-background-radius: 40;-fx-background-color: #01A05E\");\n\t\tbutton.setPrefSize(40, 40);\n\t\tbutton.setRipplerFill(Color.valueOf(headerColor));\n\t\tbutton.setScaleX(0);\n\t\tbutton.setScaleY(0);\n\n\t\t//Glyph icon\n\t\tSVGGlyph glyph = new SVGGlyph(-1, \"Login\",\n\t\t\t\t\"M1008 6.286q18.857 13.714 15.429 36.571l-146.286 877.714q-2.857 16.571-18.286 25.714-8 4.571-17.714 4.571-6.286 \"\n\t\t\t\t\t\t+ \"0-13.714-2.857l-258.857-105.714-138.286 168.571q-10.286 13.143-28 13.143-7.429 \"\n\t\t\t\t\t\t+ \"0-12.571-2.286-10.857-4-17.429-13.429t-6.571-20.857v-199.429l493.714-605.143-610.857 \"\n\t\t\t\t\t\t+ \"528.571-225.714-92.571q-21.143-8-22.857-31.429-1.143-22.857 18.286-33.714l950.857-548.571q8.571-5.143 18.286-5.143\" + \" 11.429 0 20.571 6.286z\",\n\t\t\t\tColor.WHITE);\n\t\tglyph.setSize(20, 20);\n\n\t\tbutton.setGraphic(glyph);\n\t\tbutton.translateYProperty().bind(Bindings.createDoubleBinding(() -> {\n\t\t\treturn header.getBoundsInParent().getHeight() - button.getHeight() / 2;\n\t\t}, header.boundsInParentProperty(), button.heightProperty()));\n\t\tStackPane.setMargin(button, new Insets(0, 12, 0, 0));\n\t\tStackPane.setAlignment(button, Pos.BOTTOM_RIGHT);\n\n\t\t//Create timeline for animation\n\t\tTimeline animation = new Timeline(new KeyFrame(Duration.millis(240), new KeyValue(button.scaleXProperty(), 1, javafx.animation.Interpolator.EASE_IN),\n\t\t\t\tnew KeyValue(button.scaleYProperty(), 1, javafx.animation.Interpolator.EASE_IN)));\n\t\tanimation.setDelay(Duration.millis(1000));\n\t\tanimation.play();\n\t\tsp1.getChildren().addAll(content, button, ripper);\n\n\t\t///Event on Button\n\t\tbutton.setOnAction(new EventHandler<ActionEvent>() {\n\n\t\t\t@Override\n\t\t\tpublic void handle(ActionEvent event) {\n\t\t\t\t\n\t\t\t}\n\t\t});\n\t}", "private void init() {\n setLayout(new BorderLayout());\n setBackground(ProgramPresets.COLOR_BACKGROUND);\n add(getTitlePanel(), BorderLayout.NORTH);\n add(getTextPanel(), BorderLayout.CENTER);\n add(getLinkPanel(), BorderLayout.SOUTH);\n }", "public void initialize() {\n\t\tselectedDrawingTool = 1;\n\t\tlblDrawingTool = new JLabel[NUM_DRAWING_TOOLS];\n\t\tnetwork = null;\n\t\tvisitorListMap = new HashMap<String, Color>();\n\t\tsetTitle(\"Whiteboard conference room\");\n\t\t\n\t\t// set frame options\n\t\tsetResizable(false);\n\t\tsetBounds(100, 30, 1024, 768);\n\t\tsetDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\t\n\t\t// Set background color\n\t\tgetContentPane().setBackground(THEME_BACKGROUND);\n\t\tgetContentPane().setLayout(null);\n\t\t\n\t\t// Set icons\n\t\tImageIcon roomIcon = null;\n\t\tImageIcon roomCreateIcon = null;\n\t\tImageIcon roomJoinIcon = null;\n\t\ttry { roomIcon = new ImageIcon(ImageIO.read(getClass().getResource(\"/resources/roomIcon.png\"))); } catch (IOException e1) { e1.printStackTrace(); }\n\t\ttry { roomCreateIcon = new ImageIcon(ImageIO.read(getClass().getResource(\"/resources/roomCreateIcon.png\"))); } catch (IOException e1) { e1.printStackTrace(); }\n\t\ttry { roomJoinIcon = new ImageIcon(ImageIO.read(getClass().getResource(\"/resources/roomJoinIcon.png\"))); } catch (IOException e1) { e1.printStackTrace(); }\n\t\t\n\t\t// Room\n\t\tJTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);\n\t\ttabbedPane.setBounds(10, 10, 250, 518);\n\t\ttabbedPane.setBackground(THEME_BACKGROUND);\n\t\ttabbedPane.setForeground(THEME_FOREGROUND);\n\t\ttabbedPane.setUI(new customTabbedPaneUI());\n\t\t\n\t\t// Room - tab 1\n\t\tJPanel roomPanel1 = new JPanel();\n\t\troomPanel1.setFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\troomPanel1.setLayout(null);\n\t\troomPanel1.setBorder(BorderFactory.createMatteBorder(1, 5, 1, 1, THEME_FOREGROUND));\n\t\troomPanel1.setBackground(THEME_BACKGROUND);\n\t\ttabbedPane.addTab(\"Room\", roomIcon, roomPanel1, \"\");\n\t\t\n\t\tJPanel roomPanel1SubPanelProfile = new JPanel();\n\t\troomPanel1SubPanelProfile.setLayout(null);\n\t\troomPanel1SubPanelProfile.setBounds(15, 10, 215, 60);\n\t\troomPanel1SubPanelProfile.setBackground(THEME_BACKGROUND);\n\t\tTitledBorder titledColoredProfileBorder = new TitledBorder(\"Profile\");\n\t\ttitledColoredProfileBorder.setBorder(BorderFactory.createMatteBorder(1, 5, 1, 1, THEME_FOREGROUND));\n\t\ttitledColoredProfileBorder.setTitleFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\ttitledColoredProfileBorder.setTitleColor(THEME_FOREGROUND);\n\t\troomPanel1SubPanelProfile.setBorder(titledColoredProfileBorder);\n\t\t\n\t\tlblUsername = new JLabel(\"Username: \" + DEFAULT_USERNAME);\n\t\tlblUsername.setBounds(15, 17, 180, 15);\n\t\tlblUsername.setFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\tlblUsername.setForeground(THEME_FOREGROUND);\n\t\troomPanel1SubPanelProfile.add(lblUsername);\n\t\t\n\t\tJLabel lblColorChooser = new JLabel(\"Color:\");\n\t\tlblColorChooser.setFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\tlblColorChooser.setBounds(15, 36, 120, 15);\n\t\tlblColorChooser.setForeground(THEME_FOREGROUND);\n\t\troomPanel1SubPanelProfile.add(lblColorChooser);\n\t\t\n\t\tlblColor = new JLabel(\"\");\n\t\tlblColor.setBounds(53, 36, 15, 15);\n\t\tlblColor.setOpaque(true);\n\t\tlblColor.setBackground(new Color(0,0,0));\n\t\tlblColor.setFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\troomPanel1SubPanelProfile.add(lblColor);\n\t\t\n\t\troomPanel1.add(roomPanel1SubPanelProfile);\n\t\t\n\t\tJPanel roomPanel1SubPanelServerInfo = new JPanel();\n\t\troomPanel1SubPanelServerInfo.setLayout(null);\n\t\troomPanel1SubPanelServerInfo.setBounds(15, 80, 215, 60);\n\t\troomPanel1SubPanelServerInfo.setBackground(THEME_BACKGROUND);\n\t\tTitledBorder titledColoredServerInfoBorder = new TitledBorder(\"Server info.\");\n\t\ttitledColoredServerInfoBorder.setBorder(BorderFactory.createMatteBorder(1, 5, 1, 1, THEME_FOREGROUND));\n\t\ttitledColoredServerInfoBorder.setTitleFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\ttitledColoredServerInfoBorder.setTitleColor(THEME_FOREGROUND);\n\t\troomPanel1SubPanelServerInfo.setBorder(titledColoredServerInfoBorder);\n\t\t\n\t\tlblServerInfoIP = new JLabel(\"IP address: Not connected.\");\n\t\tlblServerInfoIP.setBounds(15, 17, 175, 15);\n\t\tlblServerInfoIP.setFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\tlblServerInfoIP.setForeground(THEME_FOREGROUND);\n\t\troomPanel1SubPanelServerInfo.add(lblServerInfoIP);\n\t\t\n\t\tlblServerInfoPort = new JLabel(\"Port: \");\n\t\tlblServerInfoPort.setFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\tlblServerInfoPort.setBounds(15, 36, 170, 15);\n\t\tlblServerInfoPort.setForeground(THEME_FOREGROUND);\n\t\troomPanel1SubPanelServerInfo.add(lblServerInfoPort);\n\t\t\n\t\troomPanel1.add(roomPanel1SubPanelServerInfo);\n\t\t\n\t\tJPanel roomPanel1SubPanelDrawingTools = new JPanel();\n\t\troomPanel1SubPanelDrawingTools.setLayout(null);\n\t\troomPanel1SubPanelDrawingTools.setBounds(15, 150, 215, 190);\n\t\troomPanel1SubPanelDrawingTools.setBackground(THEME_BACKGROUND);\n\t\tTitledBorder titledColoredDrawingToolsBorder = new TitledBorder(\"Drawing tools\");\n\t\ttitledColoredDrawingToolsBorder.setBorder(BorderFactory.createMatteBorder(1, 5, 1, 1, THEME_FOREGROUND));\n\t\ttitledColoredDrawingToolsBorder.setTitleFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\ttitledColoredDrawingToolsBorder.setTitleColor(THEME_FOREGROUND);\n\t\troomPanel1SubPanelDrawingTools.setBorder(titledColoredDrawingToolsBorder);\n\t\t\n\t\t// Drawing tool #1\n\t\ttry {\n\t\t\tlblDrawingTool[0] = new JLabel(new ImageIcon(ImageIO.read(getClass().getResource(\"/resources/roomDrawingTool1.png\"))));\n\t\t\tlblDrawingTool[0].setBackground(THEME_BACKGROUND);\n\t\t\tlblDrawingTool[0].setBounds(25, 20, 25, 25);\n\t\t\tlblDrawingTool[0].addMouseListener(new drawingTool1MouseListener());\n\t\t\tgetContentPane().add(lblDrawingTool[0]);\n\t\t} catch (IOException e) { e.printStackTrace(); }\n\t\t\n\t\t// Drawing tool #2\n\t\ttry {\n\t\t\tlblDrawingTool[1] = new JLabel(new ImageIcon(ImageIO.read(getClass().getResource(\"/resources/roomDrawingTool2Offset.png\"))));\n\t\t\tlblDrawingTool[1].setBackground(THEME_BACKGROUND);\n\t\t\tlblDrawingTool[1].setBounds(60, 20, 25, 25);\n\t\t\tlblDrawingTool[1].addMouseListener(new drawingTool2MouseListener());\n\t\t\tgetContentPane().add(lblDrawingTool[1]);\n\t\t} catch (IOException e) { e.printStackTrace(); }\n\t\t\n\t\t// Drawing tool #3\n\t\ttry {\n\t\t\tlblDrawingTool[2] = new JLabel(new ImageIcon(ImageIO.read(getClass().getResource(\"/resources/roomDrawingTool3Offset.png\"))));\n\t\t\tlblDrawingTool[2].setBackground(THEME_BACKGROUND);\n\t\t\tlblDrawingTool[2].setBounds(95, 20, 25, 25);\n\t\t\tlblDrawingTool[2].addMouseListener(new drawingTool3MouseListener());\n\t\t\tgetContentPane().add(lblDrawingTool[2]);\n\t\t} catch (IOException e) { e.printStackTrace(); }\n\t\t\n\t\t// Drawing tool #4\n\t\ttry {\n\t\t\tlblDrawingTool[3] = new JLabel(new ImageIcon(ImageIO.read(getClass().getResource(\"/resources/roomDrawingTool4Offset.png\"))));\n\t\t\tlblDrawingTool[3].setBackground(THEME_BACKGROUND);\n\t\t\tlblDrawingTool[3].setBounds(130, 20, 25, 25);\n\t\t\tlblDrawingTool[3].addMouseListener(new drawingTool4MouseListener());\n\t\t\tgetContentPane().add(lblDrawingTool[3]);\n\t\t} catch (IOException e) { e.printStackTrace(); }\n\t\t\n\t\t// Drawing tool #5\n\t\ttry {\n\t\t\tlblDrawingTool[4] = new JLabel(new ImageIcon(ImageIO.read(getClass().getResource(\"/resources/roomDrawingTool5Offset.png\"))));\n\t\t\tlblDrawingTool[4].setBackground(THEME_BACKGROUND);\n\t\t\tlblDrawingTool[4].setBounds(165, 20, 25, 25);\n\t\t\tlblDrawingTool[4].addMouseListener(new drawingTool5MouseListener());\n\t\t\tgetContentPane().add(lblDrawingTool[4]);\n\t\t} catch (IOException e) { e.printStackTrace(); }\n\t\t\t\t\n\t\t// Drawing tool #6\n\t\ttry {\n\t\t\tlblDrawingTool[5] = new JLabel(new ImageIcon(ImageIO.read(getClass().getResource(\"/resources/roomDrawingTool6Offset.png\"))));\n\t\t\tlblDrawingTool[5].setBackground(THEME_BACKGROUND);\n\t\t\tlblDrawingTool[5].setBounds(25, 55, 25, 25);\n\t\t\tlblDrawingTool[5].addMouseListener(new drawingTool6MouseListener());\n\t\t\tgetContentPane().add(lblDrawingTool[5]);\n\t\t} catch (IOException e) { e.printStackTrace(); }\n\t\t\n\t\troomPanel1SubPanelDrawingTools.add(lblDrawingTool[0]);\n\t\troomPanel1SubPanelDrawingTools.add(lblDrawingTool[1]);\n\t\troomPanel1SubPanelDrawingTools.add(lblDrawingTool[2]);\n\t\troomPanel1SubPanelDrawingTools.add(lblDrawingTool[3]);\n\t\troomPanel1SubPanelDrawingTools.add(lblDrawingTool[4]);\n\t\troomPanel1SubPanelDrawingTools.add(lblDrawingTool[5]);\n\t\t\n\t\troomPanel1.add(roomPanel1SubPanelDrawingTools);\n\t\t\n\t\tJPanel roomPanel1SubPanelColor = new JPanel();\n\t\troomPanel1SubPanelColor.setLayout(null);\n\t\troomPanel1SubPanelColor.setFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\troomPanel1SubPanelColor.setBounds(15, 345, 215, 55);\n\t\troomPanel1SubPanelColor.setBackground(THEME_BACKGROUND);\n\t\tTitledBorder titledColoredColorBorder = new TitledBorder(\"Change color\");\n\t\ttitledColoredColorBorder.setBorder(BorderFactory.createMatteBorder(1, 5, 1, 1, THEME_FOREGROUND));\n\t\ttitledColoredColorBorder.setTitleFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\ttitledColoredColorBorder.setTitleColor(THEME_FOREGROUND);\n\t\troomPanel1SubPanelColor.setBorder(titledColoredColorBorder);\n\t\t\n\t\tJButton btnChangeColor = new JButton(\"Choose\");\n\t\tbtnChangeColor.addActionListener(new changeColorBtnActionListener());\n\t\tbtnChangeColor.setBounds(16, 21, 180, 20);\n\t\tbtnChangeColor.setBackground(THEME_BACKGROUND);\n\t\tbtnChangeColor.setForeground(THEME_FOREGROUND);\n\t\tbtnChangeColor.setFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\troomPanel1SubPanelColor.add(btnChangeColor);\n\t\t\n\t\troomPanel1.add(roomPanel1SubPanelColor);\n\t\t\n\t\tJPanel roomPanel1SubPanelUsername = new JPanel();\n\t\troomPanel1SubPanelUsername.setLayout(null);\n\t\troomPanel1SubPanelUsername.setFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\troomPanel1SubPanelUsername.setBounds(15, 400, 215, 75);\n\t\troomPanel1SubPanelUsername.setBackground(THEME_BACKGROUND);\n\t\tTitledBorder titledColoredUsernameBorder = new TitledBorder(\"Change username\");\n\t\ttitledColoredUsernameBorder.setBorder(BorderFactory.createMatteBorder(1, 5, 1, 1, THEME_FOREGROUND));\n\t\ttitledColoredUsernameBorder.setTitleFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\ttitledColoredUsernameBorder.setTitleColor(THEME_FOREGROUND);\n\t\troomPanel1SubPanelUsername.setBorder(titledColoredUsernameBorder);\n\n\t\tJLabel lblNewUsername = new JLabel(\"New username:\");\n\t\tlblNewUsername.setBounds(15, 26, 100, 15);\n\t\tlblNewUsername.setFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\tlblNewUsername.setForeground(THEME_FOREGROUND);\n\t\troomPanel1SubPanelUsername.add(lblNewUsername);\n\t\t\n\t\ttfNewUsername = new JTextField();\n\t\ttfNewUsername.setBounds(110, 23, 86, 20);\n\t\ttfNewUsername.setFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\ttfNewUsername.setBackground(THEME_BACKGROUND);\n\t\ttfNewUsername.setForeground(THEME_FOREGROUND);\n\t\troomPanel1SubPanelUsername.add(tfNewUsername);\n\t\t\n\t\tJButton btnChangeUsername = new JButton(\"Confirm\");\n\t\tbtnChangeUsername.addActionListener(new changeUsernameBtnActionListener());\n\t\tbtnChangeUsername.setBounds(15, 47, 180, 20);\n\t\tbtnChangeUsername.setBackground(THEME_BACKGROUND);\n\t\tbtnChangeUsername.setForeground(THEME_FOREGROUND);\n\t\tbtnChangeUsername.setFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\troomPanel1SubPanelUsername.add(btnChangeUsername);\n\t\t\n\t\troomPanel1.add(roomPanel1SubPanelUsername);\n\t\t\n\t\t// Room - tab 2\n\t\tJPanel roomPanel2 = new JPanel();\n\t\troomPanel2.setLayout(null);\n\t\troomPanel2.setFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\troomPanel2.setBackground(THEME_BACKGROUND);\n\t\tJPanel roomPanel2SubPanelCreateServer = new JPanel();\n\t\troomPanel2SubPanelCreateServer.setFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\troomPanel2SubPanelCreateServer.setLayout(null);\n\t\troomPanel2SubPanelCreateServer.setBounds(15, 10, 215, 90);\n\t\troomPanel2SubPanelCreateServer.setBackground(THEME_BACKGROUND);\n\t\tTitledBorder titledColoredCreateServerBorder = new TitledBorder(\"Host server\");\n\t\ttitledColoredCreateServerBorder.setBorder(BorderFactory.createMatteBorder(1, 5, 1, 1, THEME_FOREGROUND));\n\t\ttitledColoredCreateServerBorder.setTitleFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\ttitledColoredCreateServerBorder.setTitleColor(THEME_FOREGROUND);\n\t\troomPanel2SubPanelCreateServer.setBorder(titledColoredCreateServerBorder);\n\t\t\n\t\tJLabel lblCreateIP = new JLabel(\"Server ip: \" + getWANIP());\n\t\tlblCreateIP.setBounds(15, 17, 170, 12);\n\t\tlblCreateIP.setFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\tlblCreateIP.setForeground(THEME_FOREGROUND);\n\t\troomPanel2SubPanelCreateServer.add(lblCreateIP);\n\t\t\n\t\tJLabel lblCreatePort = new JLabel(\"Port number:\");\n\t\tlblCreatePort.setBounds(15, 36, 120, 15);\n\t\tlblCreatePort.setFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\tlblCreatePort.setForeground(THEME_FOREGROUND);\n\t\troomPanel2SubPanelCreateServer.add(lblCreatePort);\n\t\t\n\t\ttfCreatePort = new JTextField();\n\t\ttfCreatePort.setToolTipText(\"Port number for server hosting\");\n\t\ttfCreatePort.setBounds(93, 35, 86, 20);\n\t\ttfCreatePort.setBackground(THEME_BACKGROUND);\n\t\ttfCreatePort.setForeground(THEME_FOREGROUND);\n\t\ttfCreatePort.setFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\troomPanel2SubPanelCreateServer.add(tfCreatePort);\n\t\t\n\t\tJButton btnCreate = new JButton(\"Create\");\n\t\tbtnCreate.addActionListener(new createBtnActionListener(this));\n\t\tbtnCreate.setBounds(16, 60, 180, 20);\n\t\tbtnCreate.setBackground(THEME_BACKGROUND);\n\t\tbtnCreate.setForeground(THEME_FOREGROUND);\n\t\tbtnCreate.setFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\troomPanel2SubPanelCreateServer.add(btnCreate);\n\t\t\n\t\troomPanel2.add(roomPanel2SubPanelCreateServer);\n\t\ttabbedPane.addTab(\"Create\", roomCreateIcon, roomPanel2, \"\");\n\t\t\n\t\t// Room - tab 3\n\t\tJPanel roomPanel3 = new JPanel();\n\t\troomPanel3.setLayout(null);\n\t\troomPanel3.setFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\troomPanel3.setBackground(THEME_BACKGROUND);\n\t\tJPanel roomPanel3SubPanelJoinServer = new JPanel();\n\t\troomPanel3SubPanelJoinServer.setFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\troomPanel3SubPanelJoinServer.setLayout(null);\n\t\troomPanel3SubPanelJoinServer.setBounds(15, 10, 215, 100);\n\t\troomPanel3SubPanelJoinServer.setBackground(THEME_BACKGROUND);\n\t\tTitledBorder titledColoredJoinServerBorder = new TitledBorder(\"Join server\");\n\t\ttitledColoredJoinServerBorder.setBorder(BorderFactory.createMatteBorder(1, 5, 1, 1, THEME_FOREGROUND));\n\t\ttitledColoredJoinServerBorder.setTitleFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\ttitledColoredJoinServerBorder.setTitleColor(THEME_FOREGROUND);\n\t\troomPanel3SubPanelJoinServer.setBorder(titledColoredJoinServerBorder);\n\t\t\n\t\tJLabel lblJoinIP = new JLabel(\"Server ip:\");\n\t\tlblJoinIP.setBounds(15, 19, 150, 15);\n\t\tlblJoinIP.setFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\tlblJoinIP.setForeground(THEME_FOREGROUND);\n\t\troomPanel3SubPanelJoinServer.add(lblJoinIP);\n\t\t\n\t\ttfJoinIP = new JTextField();\n\t\ttfJoinIP.setToolTipText(\"Server IP of host\");\n\t\ttfJoinIP.setBounds(93, 15, 86, 20);\n\t\ttfJoinIP.setFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\ttfJoinIP.setBackground(THEME_BACKGROUND);\n\t\ttfJoinIP.setForeground(THEME_FOREGROUND);\n\t\troomPanel3SubPanelJoinServer.add(tfJoinIP);\n\t\t\n\t\tJLabel lblJoinPort = new JLabel(\"Port number:\");\n\t\tlblJoinPort.setBounds(15, 43, 120, 15);\n\t\tlblJoinPort.setFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\tlblJoinPort.setForeground(THEME_FOREGROUND);\n\t\troomPanel3SubPanelJoinServer.add(lblJoinPort);\n\t\t\n\t\ttfJoinPort = new JTextField();\n\t\ttfJoinPort.setToolTipText(\"Port number for server hosting\");\n\t\ttfJoinPort.setBounds(93, 40, 86, 20);\n\t\ttfJoinPort.setFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\ttfJoinPort.setBackground(THEME_BACKGROUND);\n\t\ttfJoinPort.setForeground(THEME_FOREGROUND);\n\t\troomPanel3SubPanelJoinServer.add(tfJoinPort);\n\t\t\n\t\tJButton btnJoin = new JButton(\"Join\");\n\t\tbtnJoin.addActionListener(new joinBtnActionListener(this));\n\t\tbtnJoin.setBounds(16, 67, 180, 20);\n\t\tbtnJoin.setBackground(THEME_BACKGROUND);\n\t\tbtnJoin.setForeground(THEME_FOREGROUND);\n\t\tbtnJoin.setFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\troomPanel3SubPanelJoinServer.add(btnJoin);\n\t\t\n\t\troomPanel3.add(roomPanel3SubPanelJoinServer);\n\t\ttabbedPane.addTab(\"Join\", roomJoinIcon, roomPanel3, \"\");\n\t\t\n\t\tgetContentPane().add(tabbedPane);\n\t\t\n\t\t// Visitor list\n\t\tvisitorListModel = new DefaultListModel<String>();\n\t\t\n\t\tvisitorList = new JList<String>(visitorListModel);\n\t\tvisitorList.setCellRenderer(new NameRenderer());\n\t\tvisitorList.setBounds(20, 20, 200, 144);\n\t\tvisitorList.setBackground(THEME_BACKGROUND);\n\t\tJScrollPane visitorListScrollPane = new JScrollPane();\n\t\tvisitorListScrollPane.setViewportView(visitorList);\n\t\tvisitorListScrollPane.setBorder(null);\n\t\tvisitorListScrollPane.setBounds(20, 20, 210, 160);\n\t\t\n\t\tJPanel panelVisitorList = new JPanel();\n\t\tpanelVisitorList.setOpaque(false);\n\t\tpanelVisitorList.setFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\tpanelVisitorList.setLayout(null);\n\t\tpanelVisitorList.setBounds(10, 534, 250, 194);\n\t\tTitledBorder titledColoredVisitorListBorder = new TitledBorder(\"Visitor list\");\n\t\ttitledColoredVisitorListBorder.setBorder(BorderFactory.createMatteBorder(1, 5, 1, 1, THEME_FOREGROUND));\n\t\ttitledColoredVisitorListBorder.setTitleColor(THEME_FOREGROUND);\n\t\ttitledColoredVisitorListBorder.setTitleFont(new Font(DEFAULT_FONT, Font.PLAIN, DEFAULT_FONT_SIZE));\n\t\tpanelVisitorList.setBorder(titledColoredVisitorListBorder);\n\t\t\n\t\tpanelVisitorList.add(visitorListScrollPane);\n\t\t\n\t\tgetContentPane().add(panelVisitorList);\n\t\t\n\t\t// Whiteboard\n\t\twhiteboardBi = new BufferedImage(720, 715, BufferedImage.TYPE_INT_RGB);\n\t\twhiteboardPanel = new WhiteBoardPanel(whiteboardBi);\n\t\twhiteboardPanel.setLayout(null);\n\t\twhiteboardPanel.setBounds(280, 13, 720, 715);\n\t\twhiteboardPanel.setBackground(THEME_BACKGROUND);\n\t\t\n\t\t// Leave button\n\t\ttry {\n\t\t\tlblLeave = new JLabel(new ImageIcon(ImageIO.read(getClass().getResource(\"/resources/roomLeaveIcon2.png\"))));\n\t\t\tlblLeave.setBackground(new Color(100,50,150,200));\n\t\t\tlblLeave.setBounds(696, 0, 24, 24);\n\t\t\tlblLeave.setVisible(true);\n\t\t\tlblLeave.addMouseListener(new leaveIconMouseListener());\n\t\t\twhiteboardPanel.add(lblLeave);\n\t\t} catch (IOException e) { e.printStackTrace(); }\n\t\t\n\t\t// Trash button\n\t\ttry {\n\t\t\tlblTrash = new JLabel(new ImageIcon(ImageIO.read(getClass().getResource(\"/resources/roomTrashIconOffset.png\"))));\n\t\t\tlblTrash.setBackground(new Color(100,50,150,200));\n\t\t\tlblTrash.setBounds(0, 0, 24, 24);\n\t\t\tlblTrash.setVisible(true);\n\t\t\tlblTrash.addMouseListener(new trashIconMouseListener());\n\t\t\twhiteboardPanel.add(lblTrash);\n\t\t} catch (IOException e) { e.printStackTrace(); }\n\t\t\n\t\tgetContentPane().add(whiteboardPanel);\n\t\t\n\t}", "public void start() {\n BorderPane borderPane = new BorderPane();\n VBox centerPane = new VBox();\n\n borderPane.setTop(lobbyMenu());\n\n String TITLE = \"Connect 4\";\n Text title = new Text(TITLE);\n title.setFont(Font.font(\"Arial\", FontWeight.BOLD, 30));\n centerPane.getChildren().add(title);\n centerPane.getChildren().add(lobbyButtons());\n centerPane.setAlignment(Pos.CENTER);\n\n borderPane.setCenter(centerPane);\n\n Scene scene = new Scene(borderPane, 520, 360);\n\n stage.setTitle(TITLE);\n stage.setScene(scene);\n }", "void createScene(){\n\t\tmainScene = new Scene(mainPane);\r\n\t\t\r\n\t\t//If keyEvent is not focussed on a node on the scene, you can attach\r\n\t\t//a keyEvent to a scene to be consumed by the screen itself.\r\n\t\tCloser closer = new Closer();\r\n\t\tmainScene.setOnKeyPressed(closer);\r\n\t}", "private void initialize() {\r\n\t\tthis.setLayout(new BorderLayout());\r\n\t\tthis.setBounds(new Rectangle(0, 0, 393, 177));\r\n\t\tthis.add(getBasePanel(), BorderLayout.CENTER);\r\n\r\n\t}", "public GraphicLayer() {\r\n super();\r\n }", "public NavigationView(NavigationController parentNavigationController) \n {\n this.parentNavigationController = parentNavigationController;\n initComponents();\n }", "public LImagePane() {\n\tsetLayout(null);\n\tsetOpaque(false);\n }", "public gui() {\n initComponents();\n jLayeredPane1.setVisible(false);\n jLayeredPane2.setVisible(false);\n// jTextArea1.addMouseListener(new ContextMenuMouseListener());\n// jTextArea1.setDragEnabled(true);\n \n }", "public void initialize(){\n\t\tDrawingBotV3.logger.entering(\"FX Controller\", \"initialize\");\n\n initToolbar();\n initViewport();\n initPlottingControls();\n initProgressBar();\n initDrawingAreaPane();\n initPreProcessingPane();\n\t\tinitConnectionPortPane();\n initPFMControls();\n initPenSettingsPane();\n\n\n viewportStackPane.setOnMousePressed(DrawingBotV3.INSTANCE::mousePressedJavaFX);\n viewportStackPane.setOnMouseDragged(DrawingBotV3.INSTANCE::mouseDraggedJavaFX);\n\n viewportScrollPane.setHvalue(0.5);\n viewportScrollPane.setVvalue(0.5);\n\n initSeparateStages();\n\n DrawingBotV3.INSTANCE.currentFilters.addListener((ListChangeListener<ObservableImageFilter>) c -> DrawingBotV3.INSTANCE.onImageFiltersChanged());\n DrawingBotV3.logger.exiting(\"FX Controller\", \"initialize\");\n }", "private void initilize()\n\t{\n\t\tdimXNet = project.getNoC().getNumRotX();\n\t\tdimYNet = project.getNoC().getNumRotY();\n\t\t\n\t\taddProperties();\n\t\taddComponents();\n\t\tsetVisible(true);\n\t}", "private void initialize() {\n\t\tframe = new JFrame();\n\t\tframe.setBounds(0, 0, 1000, 700);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tframe.getContentPane().setLayout(null);\n\t\t\n\t\tframeContent = new JPanel();\n\t\tframe.getContentPane().add(frameContent);\n\t\tframeContent.setBounds(10, 10, 700, 640);\n\t\tframeContent.setLayout(null);\n\t\t\n\t\tinfoPane = new JPanel();\n\t\tframe.getContentPane().add(infoPane);\n\t\tinfoPane.setBounds(710, 10, 300, 640);\n\t\tinfoPane.setLayout(null);\n\t}", "private void openDecisionPane() {\n\t\tParent root;\n\t\ttry {\n\t\t\tFXMLLoader loader = new FXMLLoader(getClass().getResource(DECISIONPANELOCATION));\n\t\t\tloader.setController(this);\n\t\t\troot = loader.load();\n\t\t\tScene scene = new Scene(root);\n\t\t\tStage stage = new Stage();\n\t\t\tstage.setScene(scene);\n\t\t\tstage.show();\n\t\t} catch (IOException e1) {\n\t\t\te1.printStackTrace();\n\t\t}\n\t}", "public void initialize(){\n\t\ttoolBar.setDrawingPanel(drawingPanel);\n\t\t// component initialization\n\t\tmenuBar.initialize();\t\n\t\ttoolBar.initialize();\t\n\t\tdrawingPanel.initialize();\n\t\t\n\t\t\n\t}", "public CalculadoraVisualNetbeans() {\n initComponents();\n setLocationRelativeTo(this);\n }", "public MainContentPane() {\r\n\t\tsuper();\r\n\r\n\t\t// Add design-time configured components.\r\n\t\tinitComponents();\r\n\t}", "public PagePane() {\n instance = this;\n u = CommonUtil.getInstance();\n toolBar = ToolBar.getInstance();\n MsgBoard.getInstance().subscribe(this);\n generalModel = (GeneralModel) GeneralEditor.getInstance().getModel();\n gridModel = (GridModel) GridEditor.getInstance().getModel();\n model = new PageModel();\n mousePt = new Point(generalModel.getWidth() / 2, generalModel.getHeight() / 2);\n canvasWidth = Builder.CANVAS_WIDTH;\n canvasHeight = Builder.CANVAS_HEIGHT;\n this.addMouseListener(new MouseHandler());\n this.addMouseMotionListener(new MouseMotionHandler());\n this.addKeyListener(new DeleteKeyListener());\n this.setLocation(0, 0);\n this.setOpaque(true);\n this.setFocusable( true ); \n this.setBorder(BorderFactory.createLineBorder(Color.black));\n this.setVisible(true);\n bZoom = true;\n }", "private void createTopPanel(){\n computerPaquetView = new ViewDeckVisible(true);\n this.getContentPane().add(computerPaquetView);\n }", "private void initialize() {\r\n\t\tthis.setSize(378, 283);\r\n\t\tthis.setJMenuBar(getMenubar());\r\n\t\tthis.setContentPane(getJContentPane());\r\n\t\tthis.setTitle(\"JAVIER\");\r\n\t}", "public OptionPane() {\n\t\t\n\t\tinit();\n\t}", "public MenuPrincipal() {\n initComponents();\n \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}", "public LeafletMapView() {\n super();\n\n this.getChildren().add(webView);\n }", "private void initialiseUI()\n { \n // The actual data go in this component.\n String defaultRootElement = \"icr:regionSetData\";\n JPanel contentPanel = initialiseContentPanel(defaultRootElement);\n pane = new JScrollPane(contentPanel);\n \n panelLayout = new GroupLayout(this);\n\t\tthis.setLayout(panelLayout);\n\t\tthis.setBackground(DAOConstants.BG_COLOUR);\n\n\t\tpanelLayout.setAutoCreateContainerGaps(true);\n\n panelLayout.setHorizontalGroup(\n\t\t\tpanelLayout.createParallelGroup()\n\t\t\t.addComponent(pane, 10, 520, 540)\n );\n\n panelLayout.setVerticalGroup(\n\t\t\tpanelLayout.createSequentialGroup()\n .addComponent(pane, 10, GroupLayout.PREFERRED_SIZE, Short.MAX_VALUE)\n );\n }", "private Navigator() {\n }", "public PhotoOrganizer() {\n\t\t\n\n\t\t// set up the panel on the left with two subpanels in a vertical layout\n\t\tJPanel catalogPanel = new JPanel();\n\t\tcatalogPanel.setLayout(new BoxLayout(catalogPanel,\n\t\t\t\tBoxLayout.PAGE_AXIS));\n\t\t\n\t\t// make the row of buttons \n\t\tJPanel buttonPanel = makeButtonPanel();\n\t\tcatalogPanel.add(buttonPanel);\n\t\t\n\t\t// make the album tree\n\t\t\n\t\talbumTree = makeCatalogTree();\n\t\talbumTree.setEditable(true);\n\t\tcatalogPanel.add(new JScrollPane(albumTree));\n\t\t\n\t\t// make the image previewer\n\t\tpreviewPane = new PreviewPane();\n\n\t\t// put the catalog tree and image previewer side by side, \n\t\t// with an adjustable splitter between\n\t\tJSplitPane splitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT,\n\t\t\t\tcatalogPanel, previewPane);\n\t\tsplitPane.setDividerLocation(1200);\n\t\tthis.add(splitPane);\n\t\t\n\t\t/*SlideShowWindow slideShowWindow = new SlideShowWindow();\n\t\tslideShowWindow.setVisible(true); */\n\t\t\n\t\t// give the whole window a good default size\n\t\tthis.setTitle(\"Photo Organizer\");\n this.setSize(1600,600);\n \n \n \n this.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);\n this.addWindowListener(new WindowAdapter() {\n @Override\n public void windowClosing(WindowEvent event) {\n \tif(POamount==1){\n \t\t\n \t\tsetDefaultCloseOperation(EXIT_ON_CLOSE);\n \t\tSystem.exit(0);\n \t}\n \telse{\n \t\tsetDefaultCloseOperation(DISPOSE_ON_CLOSE);\n \t\tpoc.closingWindow(po);\n \t}\n \n }\n });\n\n // end the program when the user presses the window's Close button\n\t\t\n\t\t\n\t\t\n\t\taddSearchAlbums();\n\t\tallAlbumsList= allCurrentAlbums();\n\t\t\n\t\tpreviewPane.display(root);\n\t\t\n\t\tpoc = new PhotoOrganizerController(this);\n\t\t\n\t\t\n\t\n\t\t\n\t\t\n\t}", "@Override\n\tpublic void initialize(URL fxmlFileLocation, ResourceBundle resources) {\n\t\tmainMenu.setGraphic(new ImageView(\"/Images/stackedlines.png\"));\n\t\tpopulateQuestions();\n\t}" ]
[ "0.6110588", "0.5919887", "0.5881298", "0.5868958", "0.5794006", "0.57916373", "0.577653", "0.57666814", "0.57308125", "0.56744057", "0.5650351", "0.56404656", "0.5616656", "0.5606597", "0.55991304", "0.55934685", "0.55902666", "0.5586751", "0.55855453", "0.5579376", "0.5540928", "0.55274993", "0.5513288", "0.55110097", "0.55082923", "0.54906446", "0.54739213", "0.5457779", "0.54553634", "0.544545", "0.5426597", "0.54133654", "0.54064107", "0.5405976", "0.54057205", "0.53979963", "0.5396896", "0.5392046", "0.5387496", "0.538522", "0.5379108", "0.53748745", "0.53689796", "0.53679556", "0.53678524", "0.5365522", "0.5364726", "0.5359516", "0.5359377", "0.53369194", "0.5330996", "0.5305992", "0.52936023", "0.52933884", "0.5283899", "0.5277315", "0.52713466", "0.52539724", "0.5248594", "0.5234037", "0.52241415", "0.5217939", "0.5215528", "0.5208167", "0.52059895", "0.52039146", "0.5190697", "0.5188927", "0.5185315", "0.51705486", "0.5167631", "0.5167308", "0.51669824", "0.5163407", "0.51498187", "0.5149208", "0.5143494", "0.5142136", "0.51410306", "0.5140433", "0.51384103", "0.51382095", "0.51375395", "0.5135953", "0.51349354", "0.51288515", "0.5125527", "0.51197946", "0.51168305", "0.5116128", "0.5115752", "0.5114902", "0.5106033", "0.5097641", "0.5089955", "0.50892985", "0.50842243", "0.50822604", "0.5078786", "0.5075697" ]
0.8181939
0
Return the layer to use to draw teh catalog symbols.
public SymbolLayer getSymbolLayer() { return _symbolLayer; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Layer.Layers getLayer();", "int getLayer();", "private IGraphicsContainer3D getGraphicsLayer() {\n\t\t\tILayer iLayer;\n\t\t\tboolean chkLyr = false;\n\t\t\ttry {\n\t\t\t\tint layerCount = ADAPSMain.getGlobeBean().getGlobeDisplay().getScene().getLayerCount();\n\t\t\t\tfor(int i=0;i< layerCount;i++){\n\t\t\t\t\tiLayer = ADAPSMain.getGlobeBean().getGlobeDisplay().getScene().getLayer(i);\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t} catch (AutomationException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException 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\n\t\t\treturn null;\n\t\t}", "public int getLayer() {\r\n\t\treturn layer;\r\n\t}", "public Layer getLayer() {\n return layer;\n }", "public Layer getLayer() {\n\t\treturn layer;\n\t}", "public int getLayer()\n\t{\n\t\treturn layer;\n\t}", "String getLayerShapeName();", "public Layer getLayer() {\n return _layer;\n }", "public String getCartogramLayerName ()\n\t{\n\t\treturn mCartogramLayerName;\n\t}", "@Override\n FeatureMapLayer getLayer();", "public Layer getActiveLayer() {\n\t\treturn null;\n\t}", "String getLayer2Info();", "public PLayer getToolLayer() {\n return toolLayer;\n }", "Layer createLayer();", "public Layer getLayer( String name ) {\n return (Layer)layers.get( name );\n }", "private Layer gdsGetLayer(String str)\n \t{\n \t\tint openParen = str.indexOf('(');\n \t\tString layerName = openParen >= 0 ? str.substring(0, openParen-1) : str;\n \n Technology tech = ((TechGDSTab)technologySelection.getSelectedItem()).tech;\n \t\tif (tech == null) return null;\n \n \t\tLayer layer = tech.findLayer(layerName);\n \t\treturn layer;\n \t}", "protected IFigure getFeedbackLayer() {\n\t\treturn getLayer(LayerConstants.SCALED_FEEDBACK_LAYER);\n\t}", "String getLayer1Info();", "@Override\n\tpublic String GetLayerName() {\n\t\treturn pLayerName;\n\t}", "public static interface Layer {\n\t\t/** Return the size of this layer.\n\t\t * Note that rounded corners may fall outside of these insets;\n\t\t * that is why it is important that these layers always be painted\n\t\t * in the correct z-order to achieve the right result.\n\t\t */\n\t\tpublic Insets getInsets();\n\t\t\n\t\t/** Paint this layer.\n\t\t * \n\t\t * @param g the graphics to paint to.\n\t\t * @param x the left edge of the area to paint.\n\t\t * @param y the top edge of the area to paint.\n\t\t * @param width the width of the area to paint.\n\t\t * @param height the height of the area to paint.\n\t\t */\n\t\tpublic void paint(Graphics2D g,int x,int y,int width,int height);\n\t\t\n\t\t/** \n\t\t * @return a <code>String</code> capable of constructing this object.\n\t\t */\n\t\tpublic String getConstructionString();\n\t}", "public int getRenderLayer() {\n\t\treturn renderLayer;\n\t}", "public String getLayerId()\r\n {\r\n return myLayerId;\r\n }", "LayerType getLayerType() {\n return layerType;\n }", "public Layer getLayer(String name) {\n if (layers == null)\n return null;\n return layers.get(name);\n }", "AtomosLayer getAtomosLayer();", "@Override\r\n public int getFXLayer()\r\n {\r\n return 3;\r\n }", "public final BaseDodlesViewGroup getActiveLayer() {\n if (activeLayer == null) {\n activeLayer = getScene();\n }\n\n return activeLayer;\n }", "public static Layer getSelectedLayer(PlugInContext context) {\r\n return LayerTools.getSelectedLayer(context);\r\n }", "public OverlayLayer getOverlayLayer () {\r\n\t\t\treturn _overlayLayer;\r\n \t}", "public String getSymbol()\n {\n return annot.getString(COSName.SY);\n }", "public String getName ( ) {\r\n\t\treturn \"TASS Mark IV Patches Catalog\";\r\n\t}", "@Override\n public Layer getLayer(GPLayerBean key) {\n return this.layers.get(key);\n }", "public String getCostCurrencyShortcut() {\r\n return costCurrencyShortcut;\r\n }", "public Layer getLayerByName(String layerName) {\r\n\t\tLayerList layers = getWWD().getModel().getLayers();\r\n\t\tfor(Layer aLayer: layers) {\r\n\t\t\tif(aLayer.getName().equals(layerName)) {\r\n\t\t\t\treturn aLayer;\r\n\t\t\t}\r\n\t\t}\r\n\t\tSystem.err.println(\"[MapPanel.getLayerByName(\"+layerName+\")] An installed layer with the requested name was not found! Returning null.\");\r\n\t\treturn null;\r\n\t}", "@VisibleForTesting\n public SurfaceControl getWindowingLayer() {\n return this.mWindowingLayer;\n }", "public CoordinateSystem getCoordinateSystem() {\n System.out.println(\"BaseCatalog: getCoordinateSystem() \");\n CoordinateSystem cs = null;\n if (_layout.getMapElementCount() >0 ) {\n MapElement mapEle = (MapElement)_layout.getMapElements().next();\n cs = mapEle.getMap().getCoordinateSystem();\n }\n System.out.println(\"BaseCatalog: getCoordinateSystem() \" + cs);\n return cs;\n }", "public LineSymbolPainter getSymbolPainter() {\n return symbolPainter;\n }", "private JComboBox getLayersComboBox() {\n\t\tif (layersComboBox == null) {\n\t\t\tlayersComboBox = new JComboBox();\n\t\t\tDefaultComboBoxModel defaultModel = new DefaultComboBoxModel(\n\t\t\t\t\tgetLayerNames());\n\t\t\tlayersComboBox.setModel(defaultModel);\n\t\t\tlayersComboBox.setBounds(142, 63, 260, 21);\n\t\t\tlayersComboBox.addItemListener(new java.awt.event.ItemListener() {\n\t\t\t\tpublic void itemStateChanged(ItemEvent e) {\n\t\t\t\t\tif (e.getStateChange() == ItemEvent.SELECTED) {\n\t\t\t\t\t\t// Cambiar el estado del CheckBox\n\t\t\t\t\t\tinitSelectedItemsJCheckBox();\n\n\t\t\t\t\t\t// Cambiar el estado del layerFieldsComboBox\n\t\t\t\t\t\tDefaultComboBoxModel defaultModel = new DefaultComboBoxModel(\n\t\t\t\t\t\t\t\tgetFieldNames());\n\t\t\t\t\t\tlayerFieldsComboBox.setModel(defaultModel);\n\t\t\t\t\t\tverifyTypeBufferComboEnabled();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\treturn layersComboBox;\n\t}", "public List<DesignLayerNode> getLayerDeclarationNodes()\n {\n return info.getRootNode().layerDeclarationNodes;\n }", "public String bkD() {\n return CommonUtils.g(CommonUtils.cz(this.nP.getContext()));\n }", "Layer[] getLayers();", "@SideOnly(Side.CLIENT)\n\tpublic BlockRenderLayer getBlockLayer() {\n\t\treturn BlockRenderLayer.SOLID;\n\t}", "public Color getSymbolColour() {\n return this.symbolColour;\n }", "protected void addTacticalSymbols()\r\n {\n RenderableLayer layer = new RenderableLayer();\r\n layer.setName(\"Tactical Symbols\");\r\n \r\n // Create a tactical symbol for the MIL-STD-2525 symbology set. The symbol identifier specifies a\r\n // MIL-STD-2525 friendly Special Operations Forces Drone Aircraft. The position places the tactical symbol\r\n // at 3km above mean sea level.\r\n TacticalSymbol symbol = new MilStd2525TacticalSymbol(\"SFAPMFQM------A\",\r\n Position.fromDegrees(34.4934, -117.6003, 3000));\r\n symbol.setValue(AVKey.DISPLAY_NAME, \"MIL-STD-2525 Tactical Symbol\"); // Tool tip text.\r\n layer.addRenderable(symbol);\r\n \r\n // Add the symbol layer to the World Wind model.\r\n this.getWwd().getModel().getLayers().add(layer);\r\n \r\n // Update the layer panel to display the symbol layer.\r\n this.getLayerPanel().update(this.getWwd());\r\n }", "@SideOnly(Side.CLIENT)\n\tpublic BlockRenderLayer getBlockLayer()\n\t{\n\t\treturn BlockRenderLayer.CUTOUT;\n\t}", "public GraphicLayer() {\r\n super();\r\n }", "LinkLayer getLinkLayer();", "@SideOnly(Side.CLIENT)\r\n public BlockRenderLayer getBlockLayer() {\r\n return BlockRenderLayer.CUTOUT;\r\n }", "public Layer getLayer(String layerName) {\r\n Integer layerID = this.layerNameToIDMap.get(layerName);\r\n return layerID != null ? this.layers.get(layerID) : null;\r\n }", "public PLayer getMapLayer() {\n return mapLayer;\n }", "@Override\n public ArrayList<BoardLayerView> getLayerArrayList() {\n return this.layers;\n }", "@Override\n public ListIterator<BoardLayerView> getLayers() {\n return this.layers.listIterator();\n }", "void addLayer(Layer layer, int whichLayer);", "public ArrayList<Layer> getLayers() {\r\n return this.layers;\r\n }", "@Override\n protected void drawGuiContainerForegroundLayer(int par1, int par2) {\n super.drawGuiContainerForegroundLayer(par1, par2);\n this.fontRendererObj.drawString(StatCollector.translateToLocal(\"gui.Extracter.name\"), 65, 6, 4210752);\n this.fontRendererObj.drawString(StatCollector.translateToLocal(\"container.inventory\"), 8, this.ySize - 96 + 2, 4210752);\n }", "@Override\n public String getGlobalCompositeOperation() {\n return graphicsEnvironmentImpl.getGlobalCompositeOperation(canvas);\n }", "@Override\n public int getLayerPosition() throws G2AccessException {\n java.lang.Object retnValue = getAttributeValue (SystemAttributeSymbols.LAYER_POSITION_);\n return ((Integer)retnValue).intValue ();\n }", "public String catalog() {\n return catalogName;\n }", "public String catalog() {\n return catalogName;\n }", "@Override\n\tpublic int getGameLayer() {\n\t\treturn 0;\n\t}", "@Override\n\tprotected void drawGuiContainerForegroundLayer(int par1, int par2) {\n \n\t\tif(getStyle() == Style.MODERN) {\n\t\t\tint xOffset = 0;\n\t\t\tint yOffset = 0;\n\t\t\tint xInvOffset = 0;\n\t\t\tint yInvOffset = 0;\n\t\t\t\n\t\t\tif(header == 0) {\n\t\t\t\txOffset = -15;\n\t\t\t\tyOffset = -3;\n\t\t\t}\n\t\t\tif(header == 4) {\n\t\t\t\txOffset = 30;\n\t\t\t\tyOffset = -3;\n\t\t\t}\n\t\t\tif(header_type == 3) {\n\t\t\t\txInvOffset = -8;\n\t\t\t\tyInvOffset = 3;\n\t\t\t}\n\t\t\tif(header_type == 4) {\n\t\t\t\txInvOffset = -5;\n\t\t\t\tyInvOffset = 2;\n\t\t\t}\n\t\t\t\n\t\t\tthis.fontRenderer.drawString(TextFormatting.WHITE + this.getName(), 176 / 2 - fontRenderer.getStringWidth(this.getName()) / 2 + xOffset, 5 + yOffset, 4210752);\n\t\t\tthis.fontRenderer.drawString(TextFormatting.WHITE + GCCoreUtil.translate(\"container.inventory\"), 15 + xInvOffset, this.ySize - 24*3 - 13 + yInvOffset, 4210752);\n\t\t\n\t\t} else {\n\t\t\tthis.fontRenderer.drawString(TextFormatting.DARK_GRAY + this.getName(), 176 / 2 - fontRenderer.getStringWidth(this.getName()) / 2, 5, 4210752);\n\t\t\tthis.fontRenderer.drawString(TextFormatting.DARK_GRAY + GCCoreUtil.translate(\"container.inventory\"), 8, this.ySize - 24*3 - 8, 4210752);\n\t\t}\n\t\t\n\n\t}", "@Override\r\n\tprotected void drawGuiContainerForegroundLayer(int param1, int param2) {\n\t\tfontRendererObj.drawString(StatCollector.translateToLocal(\"container.wooden_hopper\"), 8, 6, 4210752);\r\n\t\t//draws \"Inventory\" or your regional equivalent\r\n\t\tfontRendererObj.drawString(StatCollector.translateToLocal(\"container.inventory\"), 8, ySize - 96 + 2, 4210752);\r\n\t}", "public String getName ( ) {\r\n\t\treturn \"MSX Infrared Astrometric Catalog\";\r\n\t}", "public OverlayLayer getOverlay(){\r\n\t\treturn overlayLayer_;\r\n\t}", "public static Icon getToolWindow() {\n\t\tif (ApplicationInfo.getInstance().getBuild().getBaselineVersion() >= 182) {\n\t\t\treturn IconLoader.getIcon(\"/icons/org/antlr/intellij/plugin/toolWindowAntlr.svg\");\n\t\t}\n\n\t\treturn IconLoader.getIcon(\"/icons/org/antlr/intellij/plugin/antlr.png\");\n\t}", "public EventLayer getEventLayer () {\r\n\t\t\treturn _eventLayer;\r\n \t}", "OurIfcMaterialLayer createOurIfcMaterialLayer();", "@Override\n public BoardLayerView getLayer(int index) {\n if (index >= this.layers.size() || index < 0) {\n return null;\n }\n\n return this.layers.get(index);\n }", "public String getAllLayersAsList() {\n\t\treturn null;\n\t}", "public CX getCostCenter() { \r\n\t\tCX retVal = this.getTypedField(25, 0);\r\n\t\treturn retVal;\r\n }", "String getSymbol();", "public String getCostCategory() {\n\t\treturn this.costCategory;\n\t}", "public Catalog getCatalog();", "public EnvironmentPaint getSkyPaint() {\n return this.skyPaint;\n }", "public Optional<ImageLayer> getActiveImageLayerOpt() {\n if (activeLayer instanceof ImageLayer) {\n ImageLayer imageLayer = (ImageLayer) activeLayer;\n return Optional.of(imageLayer);\n }\n return Optional.empty();\n }", "public Symbol getCurrentPlayerSymbol();", "public String getSymbol() {\n }", "public Range getLayerRange() {\r\n\t\treturn layerRange;\r\n\t}", "private JComboBox getJComboBox() {\r\n\t\tif (jComboBox == null) {\r\n\t\t\tjComboBox = new JComboBox();\r\n\t\t\tjComboBox.addActionListener(\r\n\t\t\t\t\tnew ActionListener(){\r\n\t\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent arg0) {\r\n\t\t\tLayer selected=(Layer)jComboBox.getSelectedItem();\r\n\t\t\tif (selected!=null)\r\n\t\t\t\t{\r\n\t\t\t\tjLabel.setText(aplicacion.getI18nString(\"SelectSheetLayerPrintPanel.Generar\")+\" \" +selected.getFeatureCollectionWrapper().size()+\" \"+aplicacion.getI18nString(\"SelectSheetLayerPrintPanel.Hojas\"));\r\n\t\t\t\t}\r\n\t\t\t\r\n\t\t\t}});\r\n\t\t\t\r\n\t\t}\r\n\t\treturn jComboBox;\r\n\t}", "protected void addTacticalGraphics()\r\n {\n RenderableLayer layer = new RenderableLayer();\r\n layer.setName(\"Tactical Graphics\");\r\n \r\n // Define the control point positions for the tactical graphic we create below.\r\n List<Position> positions = Arrays.asList(\r\n Position.fromDegrees(34.4980, -117.5541, 0),\r\n Position.fromDegrees(34.4951, -117.4667, 0),\r\n Position.fromDegrees(34.4733, -117.4303, 0),\r\n Position.fromDegrees(34.4217, -117.4056, 0),\r\n Position.fromDegrees(34.4780, -117.5300, 0));\r\n \r\n // Create a tactical graphic for the MIL-STD-2525 symbology set. The graphic identifies a MIL-STD-2525\r\n // friendly Supporting Attack.\r\n TacticalGraphicFactory factory = new MilStd2525GraphicFactory();\r\n TacticalGraphic graphic = factory.createGraphic(\"GFGPOLAGS-----X\", positions, null);\r\n graphic.setValue(AVKey.DISPLAY_NAME, \"MIL-STD-2525 Tactical Graphic\"); // Tool tip text.\r\n layer.addRenderable(graphic);\r\n \r\n // Create point placemarks to mark each of the control points used to define the tactical graphic. This\r\n // provides a visualization of how the control point positions affect the displayed graphic.\r\n this.addControlPoints(positions, layer);\r\n \r\n // Add the graphic layer to the World Wind model.\r\n this.getWwd().getModel().getLayers().add(layer);\r\n \r\n // Update the layer panel to display the graphic layer.\r\n this.getLayerPanel().update(this.getWwd());\r\n }", "protected void drawGuiContainerForegroundLayer(int par1, int par2)\n {\n super.fontRenderer.drawString(this.name, (super.xSize - super.fontRenderer.getStringWidth(this.name)) / 2, 6, 4210752);\n super.fontRenderer.drawString(this.inv, 8, super.ySize - 96 + 2, 4210752);\n }", "String getCatalogName();", "public RecodedReal getLineWidth(){\n return ps == null ? null :ps.getWidthLegend();\n }", "Catalog getCatalog();", "Catalog getCatalog();", "private ImageLayer getSelectedLayer(LinkedList<ImageLayer> drawingLayers) {\n for (int i = 0; i < drawingLayers.size(); i++) {\n ImageLayer drawingLayer = drawingLayers.get(i);\n if (drawingLayer.isSelected()) {\n return drawingLayer;\n }\n }\n return null;\n }", "@Override\n\tprotected void drawGuiContainerForegroundLayer(int p_146979_1_, int p_146979_2_) {\n\t\tString s = this.tile.hasCustomInventoryName() ? this.tile.getInventoryName() : I18n.format(this.tile.getInventoryName(), new Object[0]);\n\t\tthis.fontRendererObj.drawString(s, this.xSize / 2 - this.fontRendererObj.getStringWidth(s) / 2, 6, 4210752);\n\t\tthis.fontRendererObj.drawString(I18n.format(\"container.inventory\", new Object[0]), 8, this.ySize - 96 + 2, 4210752);\n\t}", "@Override\n protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY)\n {\n this.fontRenderer.drawString(this.toolboxInv.getDisplayName().getUnformattedText(), 8, 6, 4210752);\n this.fontRenderer.drawString(this.playerInv.getDisplayName().getUnformattedText(), 8, this.ySize - 96 + 2, 4210752);\n }", "public abstract String getSymbol();", "@Override\n\tpublic int getMaximumLayer() {\n\t\treturn MAX_LAYER;\n\t}", "public Symbol getConnectionStyleSnapshot();", "public PortletCategory getTopLevelPortletCategory();", "private String selectedTargetLayerActions(final CCombo comboTargetLayer) {\n\n\t\tassert comboTargetLayer != null;\n\n\t\tILayer selectedLayer = null;\n\t\tISOCommand cmd = getCommand();\n\t\tClass<? extends Geometry> currentClass = cmd.getTargetLayerGeometryClass();\n\t\tString geomName = \"\"; //$NON-NLS-1$\n\t\tif (currentClass != null) {\n\t\t\tgeomName = currentClass.getSimpleName();\n\t\t} else {\n\t\t\tgeomName = Geometry.class.getSimpleName();\n\t\t}\n\t\tString layerName = \"\"; //$NON-NLS-1$\n\t\tint index = comboTargetLayer.getSelectionIndex();\n\t\tif (index != -1) {\n\t\t\tlayerName = comboTargetLayer.getItem(index);\n\t\t\tif (!(layerName.equals(this.lastNameGenerated))) {\n\n\t\t\t\tselectedLayer = (ILayer) comboTargetLayer.getData(layerName);\n\n\t\t\t\tsetCurrentTarget(selectedLayer);\n\t\t\t\tdispatchEvent(selectedLayer);\n\t\t\t\t// displays the layer's geometry\n\t\t\t\tSimpleFeatureType schema = selectedLayer.getSchema();\n\t\t\t\tGeometryDescriptor geomAttrType = schema.getGeometryDescriptor();\n\t\t\t\tgeomName = geomAttrType.getType().getBinding().getSimpleName();\n\t\t\t\tsetGeometryComboEnabled(false);\n\t\t\t}\n\t\t} else {\n\n\t\t\tsetCurrentTarget(selectedLayer);\n\t\t\tdispatchEvent(selectedLayer);\n\t\t\tsetGeometryComboEnabled(true);\n\t\t}\n\n\t\tthis.comboGeometryList.select(this.comboGeometryList.indexOf(geomName));\n\n\t\treturn layerName;\n\t}", "public final LWGraphicsConfig getLWGC() {\n return (LWGraphicsConfig) getGraphicsConfiguration();\n }", "@Override\n\tpublic ICategoryView getShopCategoryView() {\n\t\tLog.debug(\"getShopCategoryView is null ......................\");\n\t\treturn null;\n\t}", "@Override\n\tpublic BaseLayer GetUnderLayer() {\n\t\tif (p_UnderLayer == null)\n\t\t\treturn null;\n\t\treturn p_UnderLayer;\n\t}", "public Layer getFirstLayer() {\n \t\tif (0 == n_points) return this.layer;\n \t\tif (-1 == n_points) setupForDisplay(); //reload\n \t\tLayer la = this.layer;\n \t\tdouble z = Double.MAX_VALUE;\n \t\tfor (int i=0; i<n_points; i++) {\n \t\t\tLayer layer = layer_set.getLayer(p_layer[i]);\n \t\t\tif (layer.getZ() < z) la = layer;\n \t\t}\n \t\treturn la;\n \t}", "@Override\n protected void drawGuiContainerForegroundLayer(final int x, final int y)\n {\n final String containerName;\n\n if (grinder.isInvNameLocalized())\n {\n containerName = grinder.getInvName();\n } else\n {\n containerName = StatCollector.translateToLocal(grinder.getInvName());\n }\n\n fontRenderer.drawString(containerName, (xSize / 2) - (fontRenderer.getStringWidth(containerName) / 2), 3, 4210752);\n fontRenderer.drawString(StatCollector.translateToLocal(NBTConstants.INVENTORY), 9, (ySize - 96) + 3, 4210752);\n }", "public Layer getLayer( String name, String serverAddress ) {\n Layer layer = null;\n int i = 0;\n while ( i < list.size() && layer == null ) {\n Layer tmp = (Layer)list.get( i );\n String s = tmp.getServer().getOnlineResource().toExternalForm();\n if ( tmp.getName().equals( name ) && s.equals( serverAddress ) ) {\n layer = tmp;\n }\n i++;\n }\n return layer;\n }" ]
[ "0.6751465", "0.63487554", "0.6244125", "0.62380755", "0.62348354", "0.6213616", "0.6211455", "0.6173307", "0.61025536", "0.6003385", "0.59489125", "0.5851996", "0.58350897", "0.5798399", "0.578963", "0.57553816", "0.57451797", "0.5710058", "0.565422", "0.5651735", "0.55624485", "0.5555533", "0.5532561", "0.5529271", "0.5479762", "0.5478894", "0.54470736", "0.5380767", "0.53799534", "0.5376577", "0.5361152", "0.5351992", "0.53045404", "0.5278774", "0.5246916", "0.52210224", "0.52135134", "0.5179686", "0.5160541", "0.51529527", "0.51426065", "0.51220727", "0.51162934", "0.511613", "0.50867116", "0.50855064", "0.50670946", "0.5064556", "0.50631684", "0.5045431", "0.50431675", "0.504307", "0.5037744", "0.5031918", "0.502787", "0.5019101", "0.50172913", "0.49955952", "0.49831533", "0.49831533", "0.49826956", "0.49784386", "0.49769142", "0.4961758", "0.49610215", "0.49499568", "0.4935493", "0.49348754", "0.4916765", "0.48993567", "0.48897302", "0.48817286", "0.48787075", "0.48699638", "0.48495173", "0.4841417", "0.48391336", "0.48249698", "0.48238194", "0.48010066", "0.47951555", "0.4795073", "0.47916076", "0.4791035", "0.47909415", "0.47909415", "0.4788697", "0.47873765", "0.47833282", "0.47795925", "0.47792646", "0.47757435", "0.4771412", "0.47572258", "0.4752852", "0.4752733", "0.47481826", "0.47374484", "0.47262895", "0.4725958" ]
0.66796255
1
Set the object used to draw catalog symbols
public void setPlotter(TablePlotter plotter) { _symbolLayer.setPlotter(plotter); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void\nsetCharSymbol(DrawCharObject drawObject)\nthrows Exception\n{\n\tthis.setCharSymbol(drawObject.getDrawChar(), ((DrawCharObject)drawObject).getFont());\n\tthis.setUseSymbol(true);\n}", "public SvgCommand ( Catalog catalog ) {\n super (catalog);\n init();\n }", "public void setObject(XSerial obj);", "void setGraphicsCreator(Graphics g, Object creator);", "public void Initialize()\n\t{\n\t\tsetObject(new GraphicsLayer());\n\t}", "public void setGuiObject(Object guiObject);", "public void constructDrawing(){\r\n\r\n resetToEmpty(); // should be empty anyway\r\n\r\n// universe=TFormula.atomicTermsInListOfFormulas(fInterpretation);\r\n \r\n Set <String> universeStrSet=TFormula.atomicTermsInListOfFormulas(fInterpretation);\r\n \r\n universe=\"\";\r\n \r\n for (Iterator i=universeStrSet.iterator();i.hasNext();)\r\n \tuniverse+=i.next();\r\n \r\n\r\n findPropertyExtensions();\r\n\r\n findRelationsExtensions();\r\n\r\n determineLines();\r\n\r\n createProperties();\r\n\r\n createIndividuals();\r\n\r\n createRelations();\r\n\r\n deselect(); //all shapes are created selected\r\n\r\n\r\n fPalette.check(); // some of the names may need updating\r\n\r\n repaint();\r\n\r\n}", "public DisplayObject(String id) {\n\t\tthis.setId(id);\n\t\tpointTransform =new AffineTransform();\n\t\tinitBbox();\n\t}", "public void setGraphics(PrivateObjectiveMP privateObjective, PublicObjectiveMP[] pubObjs, int[] toolsID)\n {\n this.privateObjective=privateObjective;\n this.pubObjs=pubObjs;\n this.toolsID=toolsID;\n printerMaker.setTools(toolsID);\n width=80;\n }", "void setShapeLabel(String Label);", "public void setObjectName(String text) {\n\t\tif (selectedObjects.size() > 0)\n\t\t\tselectedObjects.get(0).changeName(text);\n\n\t}", "public void setOwner(RMParentShape anObj) { _owner = anObj; }", "public void changeToStandard(){\n drawAttributeManager.toggleStandardView();\n getContentPane().setBackground(DrawAttribute.whiteblue);\n canvas.repaint();\n }", "public SceneLabelObjectState(SceneObjectState state){\n\t\tsuper(state);\n\t\tsuper.setObjectsPrimaryType(SceneObjectType.Label);\n\t\t//super.getCurrentType()=SceneObjectType.DialogBox;\n\t\t//super.setObjectsOnlyType(SceneObjectType.DialogBox); //we don't set this anymore as subclasses may set this themselves!\n\n\t\t//Clear css parameters from general settings passed to this\n\t\t//This is because Dialogue objects treats these differently.\n\t\t//We fill them up correctly when the dialogue specific stuff is processed\n\t\tCurrentBoxCSS=\"\";\n\n\t}", "public void init() {\n fIconkit = new Iconkit(this);\n\n\t\tsetLayout(new BorderLayout());\n\n fView = createDrawingView();\n\n Panel attributes = createAttributesPanel();\n createAttributeChoices(attributes);\n add(\"North\", attributes);\n\n Panel toolPanel = createToolPalette();\n createTools(toolPanel);\n add(\"West\", toolPanel);\n\n add(\"Center\", fView);\n Panel buttonPalette = createButtonPanel();\n createButtons(buttonPalette);\n add(\"South\", buttonPalette);\n\n initDrawing();\n setBufferedDisplayUpdate();\n setupAttributes();\n }", "public ShopGraphics(MainMenu program) {\r\n\t\tsuper();\r\n\t\tthis.program = program;\r\n\t\tinitializeObjects();\r\n\t}", "public void setObject(double height) {\n // remove the object from the pane if it's already existed\n removeFromPane(object);\n \n // create object rectangle\n // x coordinate = Xcenter - half of the rectangle's width\n // y coordinate = Y coordinate of the ground line - rectangle's height\n object = new Rectangle(objectWidth, height);\n object.setLayoutX(objectCenterX - objectWidth / 2);\n object.setLayoutY(groundLineY - height);\n\n // Check the comboBox to set the corresponding object\n // fill the appropriate image to the object rectangle\n if (pickPicture.getValue().equals(\"Candle\")) {\n object.setFill(AssetManager.getCandleImage());\n } else if (pickPicture.getValue().equals(\"Can\")) {\n object.setFill(AssetManager.getCanImage());\n } else {\n object.setFill(AssetManager.getPencilImage());\n }\n\n // add the object rectangle to the pane\n addToPane(object);\n\n // update the object height value\n objectHeight = object.getHeight();\n }", "public void setCurrentObject(java.lang.Object syntax) {\n\tif (syntax == null) {\n\t\tgetPnlEditor().setEditable(false);\n\t\tgetPnlEditor().setText(null);\n\t} else {\n\t\tgetPnlEditor().setEditable(true);\n\t\tif(syntax instanceof ConstraintDef){\n\t\t\tConstraintDef constraintDef = (ConstraintDef)syntax;\n\t\t\tgetPnlEditor().setText(ElementUtils.mapNlsString(((ConstraintExpression)constraintDef.getBody()).getSyntax()));\n\t\t}else{\n\t\t\tgetPnlEditor().setText(ElementUtils.mapNlsString(((ch.ehi.basics.types.NlsString)syntax)));\n\t\t}\n\t}\n}", "public final void setSymbol(String symbol)\n {\n String newSymbol = \"None\";\n if (\"paragraph\".equals(symbol))\n {\n newSymbol = \"P\";\n }\n annot.setString(COSName.SY, newSymbol);\n }", "@Override\r\n public void setObject(String object) {\n }", "public void setObjectLayer(String layer) {\n\t\tthis.objectpath = layer; \n\t\tobjectLayer = getMapLayer(objectpath);\n\t\tobjects = objectLayer.getObjects();\n\t\taddCollisions();\n\t}", "private void setGeometry() {\n this.setCullHint(Spatial.CullHint.Dynamic);\n this.setLocalTranslation(realPosition);\n //attach geometry to this object\n // mat.setColor(\"Color\", colors[r.nextInt(colors.length)]);\n if (!companyTextures.containsKey(this.company)) {\n mat.setTexture(\"ColorMap\", Colors.get(r.nextInt(Colors.size())));\n } else {\n mat.setTexture(\"ColorMap\", companyTextures.get(this.company));\n }\n geom.setMaterial(mat);\n this.attachChild(geom.clone());\n }", "public void setGraph(){\r\n setDisplay(currentGraph);\r\n }", "void setTvAttrib() {\r\n obj1.brandname = \"PANASONIC\"; //setting brandname for obj1\r\n obj1.size = 65; //setting size for obj1\r\n vendor.add(obj1); //adding to arraylist vendor\r\n\r\n obj2.brandname = \"KELVIN\"; //setting brandname for obj2\r\n obj2.size = 51; //setting size for obj2\r\n vendor.add(obj2); //adding to arraylist vendor\r\n\r\n obj3.brandname = \"SONY\"; //setting size for obj2\r\n obj3.size = 42; //setting size for obj2\r\n vendor.add(obj3); //adding to arraylist vendor\r\n\r\n }", "public void setDrawingCap(CAP cap);", "public void assignShape() {\n\t\t\n\t}", "public ModifyProductFrame() {\n initComponents();\n setIcon();\n }", "@Override\n public void setObject(Object arg0)\n {\n \n }", "protected abstract void setShapes();", "@Override\n public void setRenderer(Object arg0)\n {\n \n }", "private void addGraphicObject(GraphicObject g_obj, int x, int y) {\n\t\tg_obj.setFillColor(this.currentFillColor);\n g_obj.setStroke(this.currentStrokeColor, this.currentStrokeSize.getValue());\n\n\t\tthis.canvas.add(g_obj, x, y);\n\t}", "void setSymbol(Environment environment, Character newSymbol);", "protected void setGraphicFrame(XSSFGraphicFrame frame) {\n\t\tthis.frame = frame;\n\t}", "public int selectObject (int obj_no, boolean standard) {\n if (standard) {\n Handle handle = null;\n switch (obj_no) {\n case Constants.STOCK_WHITE_BRUSH:\n log (\"select stock white brush\");\n handle = new BrushHandle(Color.white);\n break;\n case Constants.STOCK_LTGRAY_BRUSH:\n log (\"select stock light gray brush\");\n handle = new BrushHandle(Color.lightGray);\n break;\n case Constants.STOCK_GRAY_BRUSH:\n log (\"select stock gray brush\");\n handle = new BrushHandle(Color.gray);\n break;\n case Constants.STOCK_DKGRAY_BRUSH:\n log (\"select stock dark gray brush\");\n handle = new BrushHandle(Color.darkGray);\n break;\n case Constants.STOCK_BLACK_BRUSH:\n log (\"select stock black brush\");\n handle = new BrushHandle(Color.black);\n break;\n case Constants.STOCK_NULL_BRUSH:\n log (\"select stock null brush\");\n handle = new BrushHandle();\n break;\n case Constants.STOCK_WHITE_PEN:\n log (\"select stock white pen\");\n handle = new PenHandle(new BasicStroke(0), Color.white);\n break;\n case Constants.STOCK_BLACK_PEN:\n log (\"select stock black pen\");\n handle = new PenHandle(new BasicStroke(0), Color.black);\n break;\n case Constants.STOCK_NULL_PEN:\n log (\"select stock null pen\");\n handle = new PenHandle();\n break;\n case Constants.STOCK_OEM_FIXED_FONT:\n log (\"select stock oem fixed font\");\n handle = new FontHandle(\"Courier\");\n break;\n case Constants.STOCK_ANSI_FIXED_FONT:\n log (\"select stock ansi fixed font\");\n handle = new FontHandle(\"Courier\");\n break;\n case Constants.STOCK_ANSI_VAR_FONT:\n log (\"select stock ansi var font\");\n handle = new FontHandle(\"Times\");\n break;\n case Constants.STOCK_SYSTEM_FONT:\n log (\"select stock system font\");\n handle = new FontHandle(\"Courier\");\n break;\n case Constants.STOCK_DEVICE_DEFAULT_FONT:\n log (\"select stock device default font\");\n handle = new FontHandle(\"Times\");\n break;\n case Constants.STOCK_DEFAULT_PALETTE:\n log (\"select stock default palette\");\n break;\n case Constants.STOCK_SYSTEM_FIXED_FONT:\n log (\"select stock system fixed font\");\n handle = new FontHandle(\"Courier\");\n break;\n default:\n log (\"bad stock object \"+obj_no+\" for select\");\n return ERROR;\n }\n if (handle != null)\n context.select(handle);\n return OK;\n }\n if (obj_no < 0 || obj_no >= handles.length) {\n log (\"bad number for select: \"+obj_no);\n return ERROR;\n }\n if (handles[obj_no] == null) {\n log (\"object \"+obj_no+\" for select is null\");\n return ERROR;\n }\n context.select (handles[obj_no]);\n log (\"select(\"+obj_no+\")=>\"+handles[obj_no]);\n return OK;\n }", "public void set(XObject object) {\r\n if(object == null)\r\n throw new IllegalArgumentException(\"XObject was null.\");\r\n name = object.getName();\r\n id = object.getId();\r\n parent = object.getParent();\r\n }", "public void setAttributes(IEntityObject obj) {\r\n\tDispenser dObj = (Dispenser) obj;\r\n\tdObj.pk = this.pk;\r\n\tdObj.versionInfoID = this.versionInfoID;\r\n\tdObj.interfaceID = this.interfaceID;\t\r\n\tdObj.setBlender(this.blender);\r\n }", "public void setGraphics(Graphics2D graphics) {\r\n\t\tthis.graphics = graphics;\r\n\t}", "public SceneLabelObjectState(SceneDivObjectState state){\t\t\n\t\tsuper(state); //will create a SceneDivObjectState from the supplied state\n\t\tsuper.setObjectsPrimaryType(SceneObjectType.Label); //subtypes should also run this statement straight after the super command in order to override their parents type and set their own as the primary/\n\n\t\t//Clear css parameters from general settings passed to this\n\t\t//This is because Dialogue objects treats these differently.\n\t\t//We fill them up correctly when the dialogue specific stuff is processed\n\t\tCurrentBoxCSS=\"\";\n\n\t}", "public void setShape(Info shape) {\n \n }", "public void setFont(RMFont aFont) { }", "public void useStarObjectColor ( ) {\r\n\t\tcolor = null;\r\n\t}", "public MilStd2525PointGraphic(String sidc)\n {\n this.symbol = this.createSymbol(sidc);\n }", "private void addTextObject(GraphicObject g_obj, int x, int y) {\n Color stroke = new Color(0, 0, 0, 0);\n\n g_obj.setFillColor(this.currentFillColor);\n g_obj.setStroke(stroke, 0);\n\n\t\tthis.canvas.add(g_obj, x, y);\n\t}", "public SWTGraphics(GC gc) {\n this.gc = gc;\n init();\n }", "public Font(Obj paramObj) {\n/* 113 */ this.a = paramObj.__GetHandle();\n/* 114 */ this.b = paramObj.__GetRefHandle();\n/* */ }", "@Override\n protected final void setGraphics() {\n super.setGraphics();\n Graphics g = toDraw.getGraphics();\n g.setColor(Color.BLACK); \n \n for (int i = 0; i < choices.size(); i++) { \n g.drawString(choices.get(i).getValue(), wGap, (i + 1) * hItemBox);\n }\n }", "public void setDrawingLayer(DrawingLayer drawingLayer)\n\t{\t\t\n\t\tspawnDrawingLayer = drawingLayer;\n\t}", "public void setDefaultAppearance(String daValue) {\n/* 540 */ getCOSObject().setString(COSName.DA, daValue);\n/* */ }", "public void setObjectAtLocation(Point p, Object o);", "public CSAnnotLabel(Object object) {\r\n this.object = object;\r\n }", "private void setShape(ChamberShape theShape) {\n mySize = theShape;\n createDoorsFromExits();\n }", "public abstract void drawSimplified(Object o);", "public void addGraphicObject(GraphicObject obj)\n {\n graphicObjects.addLast(obj);\n }", "public void setSymbolTable(SymbolTable st) {\n\t this.st = st;\n\t }", "static void InitiateDraw() {\n\t\tshape = new GeneralPath();\n\t\ti1.setOverlay(null);\n\t\tOL = new Overlay();\n\t}", "private void setFont() {\n\t}", "public void setContext( TextComponentContext oContext ) throws TextComponentException {\n\t\tsuper.setContext(oContext);\n\t\tSystem.out.println(\"Industry: \"+oContext.m_sIndustry);\n\t\tSystem.out.println(\"Region: \"+oContext.m_sRegion);\n\t\tSystem.out.println(\"Extension: \"+oContext.m_sExtension);\n\t}", "protected void setSymbol(char c){\r\n\t\tthis.symbol = c;\r\n\t}", "public void title(){\n textFont(select,30);\n fill(150);\n text(\"PLANE SELECT\",482,72);\n fill(0);\n text(\"PLANE SELECT\",480,70);\n}", "public void Initialize1(GraphicsLayer.RenderingMode mode)\n\t{\n\t\tsetObject(new GraphicsLayer(mode));\n\t}", "public abstract void setContentObject(Object object);", "private void setAttributes() {\n this.setVisible(true);\n this.setSize(500, 500);\n this.setTitle(\"cuttco.com\");\n this.setDefaultCloseOperation(EXIT_ON_CLOSE);\n }", "public SceneLabelObjectState(SceneLabelObjectState state){\t\t\n\t\tsuper(state); //will create a SceneDivObjectState from the supplied state\n\t\tsuper.setObjectsPrimaryType(SceneObjectType.Label); //subtypes should also run this statement straight after the super command in order to override their parents type and set their own as the primary/\n\n\n\t\tthis.ObjectsCurrentText = state.ObjectsCurrentText;\n\t\tthis.CSSname = state.CSSname;\n\t\tthis.cursorVisible=state.cursorVisible;\n\t\tthis.TypedText=state.TypedText;\t\t\n\t\tthis.Custom_Key_Beep = state.Custom_Key_Beep;\n\t\tthis.Custom_Space_Beep = state.Custom_Space_Beep;\n\n\t}", "void init ( String awtOrSwt) {\n this.gui.wdgInputText.setText(\"any text input\");\n this.gui.gralMng.createGraphic(awtOrSwt, 'E', this.log);\n }", "public void setSymbol(Symbol symbol) {\r\n\t\tthis.symbol = symbol;\r\n\t}", "public Symbol(Variation variation, Drawable[] symbols, int initial, int reel, GambleScreen gambleScreen) {\n super(symbols[initial]);\n this.player=player;\n this.reel=reel;\n this.variation=variation;\n this.symbols=symbols;\n this.gambleScreen=gambleScreen;\n face=initial;\n symbolHeight=(int)symbols[initial].getMinHeight();\n }", "protected void initCrossHairs() {\n guiFont = assetManager.loadFont(\"Interface/Fonts/Default.fnt\");\n BitmapText ch = new BitmapText(guiFont, false);\n ch.setSize(guiFont.getCharSet().getRenderedSize() * 2);\n ch.setText(\"+\"); // crosshairs\n ch.setLocalTranslation( // center\n settings.getWidth() / 2 - ch.getLineWidth()/2, settings.getHeight() / 2 + ch.getLineHeight()/2, 0);\n guiNode.attachChild(ch);\n }", "private void renderObjetos()\n {\n for (int i=0;i<NCONSUMIBLES;i++)\n {\n //EDIT:Ruta de Inventario\n Consumible consumible=(Consumible)VenganzaBelial.atributoGestion.getInv().getItems().get(i);\n if(eleccionJugador==i)\n {\n opcionesJugadorTTF.drawString(10,i*20+400,consumible.getNombre()+\" \"+consumible.getNumero()+\"/10\");\n }\n else{\n opcionesJugadorTTF.drawString(10, i * 20 + 400, consumible.getNombre()+\" \"+consumible.getNumero()+\"/10\", notChosen);\n }\n }\n }", "public\tvoid setobject(object obj) {\r\n\t\t oop.value=obj.value;\r\n\t\t oop.size=obj.size;\r\n\t\t \r\n\t}", "public Ventana() {\n initComponents();\n this.tipos.add(GD_C);\n this.tipos.add(GD_S);\n this.tipos.add(GND_C);\n this.tipos.add(GND_S);\n this.panel.setArea_text(text);\n\n }", "private static void setUniverse(double R) {\n StdDraw.setXscale((-R), (R));\n StdDraw.setYscale((-R), (R));\n }", "public void updateObjectImage() {\r\n\t\tif (this.objectDescriptionTabItem != null) this.objectDescriptionTabItem.redrawImageCanvas();\r\n\t}", "private void renderObjetos() {\n \tcpPrincipal.add(_cPrincipal);\n\n _cPrincipal.add(rPrincipal);\n rPrincipal.add(cLabels);\n rPrincipal.add(cTexts);\n \n //rPrincipal.setBorder(new Border(1, Color.BLUE,Border.STYLE_DASHED));\n \n _cPrincipal.add(rMensaje);\n _cPrincipal.add(rBotones); \n \n cLabels.add(lApellido);\n cLabels.add(lNombres);\n cLabels.add(lDocNum);\n cLabels.add(lTelefono);\n cLabels.add(lCelular);\n //cLabels.add(lRazonSocial);\n \n cTexts.add(tApellido);\n cTexts.add(tNombres); \n cTexts.add(tDoc);\n cTexts.add(tTelefono);\n cTexts.add(tCelular);\n //cTexts.add(tRazonSocial); \n \n rMensaje.add(lMensaje);\n\n ApplicationInstance.getActive().setFocusedComponent(tApellido);\n \n }", "public void set_as_bezier() {\n surface_type = 1;\n }", "@Override\n public void setObjectRegistry(ObjectRegistry oReg) {\n COMPSsRuntimeImpl.oReg = oReg;\n }", "public void setObject(Object aObject) {\r\n\t\tthis.object = aObject;\r\n\t}", "public void setCarColor(){\n\t\tthis.carColor = \"white\";\n\t}", "public void mousePressed(GraphicObject graphicObject, Event event) {\n\t\tint x, y;\n\t\t\n\t\tx = DOM.eventGetClientX(event) - canvas.getAbsoluteLeft() + Window.getScrollLeft();\n\t\ty = DOM.eventGetClientY(event) - canvas.getAbsoluteTop() + Window.getScrollTop(); \n\t\t\n\t\tif(!action.isSelect() && !action.isPolyline() && !action.isTextBox() && !action.isPencil()) {\n\n switch(action.getAction()) {\n\n\t\t\t\n\t\t\t\tcase Action.LINE:\n\t\t\t\t\t/* Starts to draw a line */\n\t\t\t\t\tcurr_obj = new Line(0, 0, 1, 1);\n\t\t\t\t\tbreak;\n\t\t\t\tcase Action.RECTANGLE:\n\t\t\t\t\t/* Starts to draw a rectangle */\n\t\t\t\t\tcurr_obj = new Rect(1, 1);\n\t\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t\tcase Action.CIRCLE:\n\t\t\t\t\t/* Starts to draw a circle */\n\t\t\t\t\tcurr_obj = new Circle(1);\n\t\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t\tcase Action.ELLIPSE:\n\t\t\t\t\t/* Starts to draw a Ellipse */\n\t\t\t\t\tcurr_obj = new Ellipse(1, 1);\n\t\t\t\t\tbreak;\n\n }\n\t\t\t\n\t\t\tlastPosition[0] = x;\n\t\t\tlastPosition[1] = y;\n\t\t\t\n\t\t\tobjPosition[0] = x;\n\t\t\tobjPosition[1] = y;\n\t\t\t\n\t\t\taddGraphicObject( curr_obj, x, y);\n\t\t\t\n\t\t/* Selects a object */\n\t\t} else if(action.isSelect() && (graphicObject != null)) {\n /** If there was another object previously selected, unselect it. */\n if(curr_obj != null && graphicObject != curr_obj && graphicObject.getGroup() != transformPoints) {\n unSelect();\n }\n\n /** If we didn't click on any Transform Point, then we select the object. */\n if((graphicObject.getGroup() != transformPoints)) {\n\n if(curr_obj == null) {\n Rectangle bnds = graphicObject.getBounds();\n if(bnds != null) {\n /** This may seem strange but for some object types, mainly Paths and Ellipses, Tatami's method getBounds() will return null until the object is translated. */\n graphicObject.translate(1, 1);\n graphicObject.translate(-1, -1);\n if(bnds.getHeight() == 0 && bnds.getWidth() == 0) {\n bnds = graphicObject.getBounds();\n }\n\n this.backupStyle();\n\n fillOpacity.setValue(graphicObject.uGetFillColor().getAlpha());\n strokeOpacity.setValue(graphicObject.getStrokeColor().getAlpha());\n\n currentFillColor = graphicObject.uGetFillColor();\n DOM.setStyleAttribute(fill.getElement(), \"backgroundColor\",currentFillColor.toCss(false));\n currentFillColor.setAlpha(graphicObject.uGetFillColor().getAlpha());\n\n currentStrokeColor = graphicObject.getStrokeColor();\n DOM.setStyleAttribute(stroke.getElement(), \"backgroundColor\",currentStrokeColor.toCss(false));\n this.currentStrokeSize.setValue(graphicObject.getStrokeWidth());\n //chooseStrokeSize(graphicObject.getStrokeWidth()-1, graphicObject.getStrokeWidth());\n createTransformPoints(bnds, graphicObject);\n }\n\n curr_obj = graphicObject;\n }\n lastPosition[0] = x;\n lastPosition[1] = y;\n objPosition[0] = x;\n objPosition[1] = y;\n isMovable = true;\n\n /** if the user clicked on a transform point, this settles the variables for the object tranformation. */\n } else {\n lastPosition[0] = x;\n lastPosition[1] = y;\n isTransformable = true;\n aux_obj = curr_obj;\n\t\t\t\tcurr_obj = graphicObject;\n currRotation = 0.0;\n if(curr_obj == transformPointers[Action.ROTATE]) {\n canvas.remove(transformPoints);\n transformPoints.clear();\n }\n }\n\n /** Starts to draw a TextBox.\n * To add usability, a Text object is allways composed by a Text object and a TextBox. The TextBox is simillar to a Rectangle but it's alpha values are set to 0(it's transparent) and has the size of the text's bounds.\n * This allows the user to select a Text object more easily because now he has a rectangle with the size of the Text's boundaries to click on. The TextBox contains a link to the Text (and also the Text to the TextBox) so when a user click on it, we know which Text Object is selected and perform the given actions on it as well.\n * Note: This weren't supported by Tatami, i had to implement it.\n * */\n } else if(this.action.isTextBox()) {\n\n this.curr_obj = new com.objetdirect.tatami.client.gfx.TextBox(1.0, 1.0, null);\n this.lastPosition[0] = x;\n\t\t\tthis.lastPosition[1] = y;\n\n\t\t\tthis.objPosition[0] = x;\n\t\t\tthis.objPosition[1] = y;\n\n\t\t\tthis.addTextBox( this.curr_obj, x, y);\n } else if(this.action.isPencil()) {\n /* Starts to draw with the pencil */\n curr_obj = new Path();\n ((Path)curr_obj).moveTo(x, y);\n Color fill = new Color(this.currentFillColor.getRed(), this.currentFillColor.getGreen(), this.currentFillColor.getBlue(), 0);\n\n objPosition[0] = x;\n\t\t\tobjPosition[1] = y;\n\n curr_obj.setFillColor(fill);\n curr_obj.setStroke(currentStrokeColor, currentStrokeSize.getValue());\n canvas.add(curr_obj, 0, 0);\n /* Otherwise it adds a new point in the Polyline */\n } else if(this.action.isPolyline() && curr_obj != null) {\n this.lastPosition[0] = x;\n this.lastPosition[1] = y;\n }\n\t}", "private void initialize() {\r\n\t\tsetLabels();\r\n\t\tinitPoints();\r\n\t\tsetButtons();\r\n\t\tthis.setTitle(\"Digite os pesos dos pontos\");\r\n\t\tthis.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);\r\n\t}", "private void createComponents(String label) {\n itsCombo = createComboBox();\n JScrollPane scroll = new JScrollPane(itsCombo);\n scroll.setPreferredSize(new Dimension(WIDTH, HEIGHT));\n\n LabeledComponent c = new LabeledComponent(\"Symbol\", itsCombo);\n itsComp = c;\n }", "public void setSymbolType(final SymbolType SYMBOL_TYPE) {\n symbolType = SYMBOL_TYPE;\n init(getInnerBounds().width, getInnerBounds().height);\n repaint(getInnerBounds());\n }", "public void setBySpel(String spel, Object object) {\r\n\t\texpressionParser.parseExpression(spel).setValue(scopedContext, object);\t\t\r\n\t}", "public void initializeGc(GC gc, DiagramContext context) {\n\t\tgc.setAntialias(SWT.ON);\n\t\tgc.setFont(getStandardFont(context));\n\t\tgc.setLineCap(SWT.CAP_ROUND);\n\t\tgc.setLineJoin(SWT.JOIN_ROUND);\n\t}", "@Test\n\tpublic void testModifySymbolFontFromCatalog() throws Exception {\n\n\t\t// Modify the font of selected symbol\n\t\tint oldSymbolFontIndex = mathEditSymbolsDlgFont.getSelIndex();\n\t\tint modifiedSymbolFondIndex = (oldSymbolFontIndex + 1 == mathEditSymbolsDlgFont\n\t\t\t\t.getItemCount()) ? 0 : (oldSymbolFontIndex + 1);\n\t\tmathEditSymbolsDlgFont.select(modifiedSymbolFondIndex);\n\t\t// select the next font of old font\n\t\tString modifiedSymbolFont = mathEditSymbolsDlgFont.getSelText();\n\t\tString selectedSymbol = mathEditSymbolsDlgSymbol.getText();\n\t\tmathEditSymbolsDlgModify.click();\n\t\tmathEditSymbolsDlg.ok();\n\n\t\t// Verify if the font of symbol is modified successfully\n\t\tmathSymbolsDlgEditButton.click();\n\t\tmathEditSymbolsDlgSymbol.select(selectedSymbol);\n\t\tassertEquals(\"Font of symbol is not modified successfully\",\n\t\t\t\tmodifiedSymbolFont, mathEditSymbolsDlgFont.getSelText());\n\t}", "public void showDraw(){\n\t\tdraw = new Document( drawFilePath);\n\t}", "public void setLabels() {\n \t\tif(getTreeMode() == MODE_DEPENDENCY) {\n \t\t\tindNode.setUserObject(app.getPlain(\"FreeObjects\"));\n \t\t\tmodel.nodeChanged(indNode);\n \t\t\t\n \t\t\tdepNode.setUserObject(app.getPlain(\"DependentObjects\"));\n \t\t\tmodel.nodeChanged(depNode);\n \t\t\t\n \t\t\tauxiliaryNode.setUserObject(app.getPlain(\"AuxiliaryObjects\"));\n \t\t\tmodel.nodeChanged(auxiliaryNode);\n \t\t} else {\n \t\t\tDefaultMutableTreeNode node;\n \t\t\tfor (String key : typeNodesMap.keySet()) {\n \t\t\t\tnode = typeNodesMap.get(key);\n \t\t\t\tnode.setUserObject(app.getPlain(key));\n \t\t\t\tmodel.nodeChanged(node);\n \t\t\t}\n \t\t}\n \t\t\n \t\tif(helperBar != null) {\n \t\t\thelperBar.updateLabels();\n \t\t}\n \t}", "public CanvasAWT(Graphics2D graphic){\r\n\t\ttarget = graphic;\r\n\t}", "@Override // the one in displayable. i don't even use this one\n // draws armor on the objectGrid\n public void draw(ObjectDisplayGrid objectGrid){\n Char armor = new Char(']'); // char representing a Scroll\n objectGrid.addObjectToDisplay(armor, posX, posY); // don't fix what isn't broken\n // should be armor though ??\n }", "public NavigatorPane() {\n _initNewLayer(_symbolLayer);\n _rebuildLayerArray();\n }", "@Override\n\tpublic void setPaint() {\n\t\tisPaint = true;\n\t}", "public void updateGraphic(int id, Symbol symbol)\n\t{\n\t\tgetObject().updateGraphic(id, symbol);\n\t\treturn;\n\t}", "public void setCon(Object o) {\n con = o;\n }", "public void setNewObjectType(int newObjectType) {\r\n\r\n if (this.newObjectType == newObjectType) return;\r\n\r\n if (newObjectType == ReportElementType.NONE) {\r\n this.setCursor( java.awt.Cursor.getDefaultCursor());\r\n } else {\r\n this.setCursor( java.awt.Cursor.getPredefinedCursor(java.awt.Cursor.CROSSHAIR_CURSOR));\r\n }\r\n this.newObjectType = newObjectType;\r\n }", "public DrawHouse(){\r\n\t\tcanvas = new SketchPad(1000, 1000);\r\n\t\tpen = new DrawingTool(canvas);\r\n\t}", "void setFigure(FigureInfo f);", "private void initialize() {\nproductCatalog.add(new ProductStockPair(new Product(100.0, \"SYSC2004\", 0), 76));\nproductCatalog.add(new ProductStockPair(new Product(55.0, \"SYSC4906\", 1), 0));\nproductCatalog.add(new ProductStockPair(new Product(45.0, \"SYSC2006\", 2), 32));\nproductCatalog.add(new ProductStockPair(new Product(35.0, \"MUSI1001\", 3), 3));\nproductCatalog.add(new ProductStockPair(new Product(0.01, \"CRCJ1000\", 4), 12));\nproductCatalog.add(new ProductStockPair(new Product(25.0, \"ELEC4705\", 5), 132));\nproductCatalog.add(new ProductStockPair(new Product(145.0, \"SYSC4907\", 6), 322));\n}", "public void setObjectName(String objectName) { this.objectName=objectName; }", "public void update() { \r\n // create container\r\n Element container = createContainer(root.actual(), name, \r\n wiz.getTotalWidth(), wiz.getTotalHeight());\r\n \r\n if (root.isType(OBJECTS)) {\r\n setAttributeIfMissing(container, POS_X, \"0\");\r\n setAttributeIfMissing(container, POS_Y, \"0\"); \r\n }\r\n \r\n // create background circle\r\n int startAng = wiz.getStartAngle();\r\n int endAng = wiz.getEndAngle();\r\n Element ellipse; \r\n ellipse = createEllipse(container, \"background\", wiz.getBackgroundWidth(), wiz.getBackgroundWidth(),\r\n startAng, endAng,\r\n wiz.getFillAttribute(), wiz.getLineAttribute(), !wiz.isCuttedCircle()); \r\n setIncludeAttributes(ellipse, (wiz.getTotalWidth() - wiz.getBackgroundWidth()) / 2, \r\n (wiz.getTotalHeight() - wiz.getBackgroundWidth()) / 2);\r\n \r\n //create meter \r\n int minVal = (int) (wiz.getMinValue() / wiz.getScale()) - wiz.getOffset();\r\n int maxVal = (int) (wiz.getMaxValue() / wiz.getScale()) - wiz.getOffset();\r\n Element meter = createMeter(container, \"metercomp\", wiz.getMeterWidth(), \r\n startAng, endAng, minVal, maxVal,\r\n wiz.getValue(), wiz.getTicks(), wiz.isClockwise(),\r\n wiz.getNeedleColor(), wiz.getArcAndTickColor(), wiz.getNumberReference());\r\n setIncludeAttributes(meter, (wiz.getTotalWidth() - wiz.getMeterWidth()) / 2,\r\n (wiz.getTotalHeight() - wiz.getMeterWidth()) / 2);\r\n \r\n // create numbers\r\n if (startAng > endAng) startAng -= 360;\r\n if (wiz.isClockwise()) {\r\n int temp = startAng;\r\n startAng = endAng;\r\n endAng = temp;\r\n }\r\n Element fontElement = root.getModel().getElementByName(wiz.getFontAttribute());\r\n int fontWidth = (int) BitmapFont.nameToDimension(fontElement.getAttribute(FONT_SIZE)).getWidth();\r\n int fontHeight = (int) BitmapFont.nameToDimension(fontElement.getAttribute(FONT_SIZE)).getHeight();\r\n int i;\r\n for (i = 0; i < wiz.getNumbers() && wiz.getNumbers() > 1; i++) {\r\n int value = wiz.getMinValue() + i*(wiz.getMaxValue()-wiz.getMinValue()) / (wiz.getNumbers()-1); \r\n String valueString = Integer.toString(value);\r\n int stringWidth = (fontWidth * valueString.length());\r\n \r\n Element number = createString(container, \"label\" + i, fontWidth * valueString.length(), \r\n fontHeight, valueString, wiz.getFontAttribute());\r\n \r\n double ang = Math.toRadians(startAng + i * (endAng - startAng) / (wiz.getNumbers() - 1));\r\n double rad = wiz.getMeterWidth() / 2 + wiz.getNumberDistance();\r\n int x = wiz.getTotalWidth() / 2 + (int) (Math.cos(-ang) * rad) - stringWidth / 2;\r\n int y = wiz.getTotalHeight() / 2 + (int) (Math.sin(-ang) * rad) - fontHeight / 2;\r\n setIncludeAttributes(number, x, y);\r\n }\r\n \r\n // labelX, X >= i -> poistetaan\r\n removeExtraElements(container, \"label\", i);\r\n \r\n // create a numberfield\r\n int extraSpace = wiz.getOffset() < 0 ? 1 : 0;\r\n int nroWidth = fontWidth * (Integer.toString(wiz.getMaxValue()).length() + extraSpace);\r\n Element numberfield = createNumber(container, \"number\", nroWidth, fontHeight, wiz.getValue(), \r\n wiz.getNumberReference(), wiz.getFontAttribute(), wiz.getOffset(), wiz.getScale());\r\n setIncludeAttributes(numberfield, (wiz.getTotalWidth() - nroWidth/*meterWizard.getMeterWidth()*/) / 2, \r\n wiz.getTotalHeight() / 2 + wiz.getMeterWidth() / 4);\r\n \r\n // create heading\r\n String text = wiz.getHeading();\r\n Element heading = createString(container, \"title\", fontWidth*text.length(), fontHeight, text, wiz.getFontAttribute());\r\n setIncludeAttributes(heading, (wiz.getTotalWidth() - fontWidth * text.length()) / 2, \r\n wiz.getTotalHeight() / 2 - wiz.getMeterWidth() / 4);\r\n \r\n // moves the attribute-objects to include objects with roles\r\n // System.out.println(\"finalizing...\");\r\n // Tools.createRoles(container);\r\n }", "@Override\r\n\tpublic void mouseClicked(MouseEvent coordinate) {\r\n\t\tSystem.out.println(\"Create a Usecase object!!\");\r\n\t\t\r\n\t\tPoint p = new Point(coordinate.getPoint());\r\n\t\t\r\n\t\tint Object_Width = 100;\r\n\t\tint Object_Height = 50;\r\n\t\tint Object_Depth = Canvas.getInstance().getCurrentDepth();\r\n\t\t\r\n\t\tCanvas.getInstance().getArrayList().add( new Object_Usecase( p , Object_Width , Object_Height , Object_Depth , \"Usecase\" ) );\r\n\t\t\r\n\t\tCanvas.getInstance().setCurrentDepth(++Object_Depth);\r\n\t}", "@Override\n\tpublic void setAttribute(String name, Object value) {\n super.setAttribute(name, value);\n Enumeration<Figure> k = figures();\n while (k.hasMoreElements())\n k.nextElement().setAttribute(name, value);\n }", "void setSymbolStream(ISymbolStreamComp aSymbolStream);" ]
[ "0.6217918", "0.5629141", "0.5545547", "0.5534116", "0.55263925", "0.55134", "0.55114484", "0.54614687", "0.54466605", "0.5409612", "0.53774977", "0.5345406", "0.5297074", "0.5286049", "0.5260473", "0.5257282", "0.525294", "0.5234733", "0.52291936", "0.5197037", "0.5183664", "0.51767373", "0.5175827", "0.5142255", "0.5138732", "0.51342505", "0.5124777", "0.51227933", "0.51024765", "0.50953704", "0.5088762", "0.50874114", "0.5084947", "0.50819623", "0.50578827", "0.50529283", "0.50329584", "0.50263566", "0.5023129", "0.50227284", "0.5006542", "0.50063825", "0.49953964", "0.49890727", "0.49850473", "0.4979887", "0.4977906", "0.4973176", "0.49598515", "0.49519354", "0.4949681", "0.4931138", "0.4924393", "0.4919589", "0.48957926", "0.48893088", "0.48782432", "0.48749837", "0.4863902", "0.48545814", "0.48542416", "0.4854166", "0.48506838", "0.48434412", "0.48404822", "0.48355722", "0.48338786", "0.48321536", "0.48308688", "0.4820945", "0.48183137", "0.48123503", "0.48091033", "0.48072648", "0.4804121", "0.48009098", "0.47955105", "0.47922656", "0.4791442", "0.47890598", "0.47853282", "0.478453", "0.4781712", "0.47808862", "0.4780172", "0.47778696", "0.4776558", "0.47748962", "0.47737554", "0.4766234", "0.47654948", "0.47618437", "0.4759083", "0.47552368", "0.4752249", "0.4750793", "0.4748207", "0.47471827", "0.4745172", "0.47447443", "0.47427493" ]
0.0
-1
Rebuild the array of layers for use by iterators. Override superclass to include the new layer.
@Override protected void _rebuildLayerArray() { _layers = new CanvasLayer[] { _foregroundEventLayer, _symbolLayer, _overlayLayer, _foregroundLayer, _backgroundLayer, _backgroundEventLayer}; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void allLayers()\n\t{\n\t\tint totalLayers = this.psd.getLayersCount();\n\t\t\n\t\tLayer layer;\n\t\t\n\t\tfor (int i = totalLayers - 1; i >= 0; i--) {\n\t\t\tlayer = this.psd.getLayer(i);\n\t\t\t\n\t\t\tif (!layer.isVisible() || (layer.getType() == LayerType.NORMAL && layer.getWidth() == 0)) {\n\t\t\t\tthis.layersToRemove.add(layer);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t\n\t\t\tlayer.adjustPositionAndSizeInformation();\n\t\t\tthis.layerId++;\n\t\t\t\n\t\t\tif (LayerType.NORMAL == layer.getType()) {\n\t\t\t\t\n\t\t\t\tlayer.setUniqueLayerId(this.layerId);\n\t\t\t\tlayer.setGroupLayerId(0);\n\t\t\t\tlayer.setDepth(0);\n\t\t\t\t\n\t\t\t\tthis.layers.add(layer);\n\t\t\t\t\n\t\t\t} else if (LayerType.OPEN_FOLDER == layer.getType() || LayerType.CLOSED_FOLDER == layer.getType()) {\n\t\t\t\t\n\t\t\t\tlayer.setUniqueLayerId(this.layerId);\n\t\t\t\tlayer.setGroupLayerId(0);\n\t\t\t\tlayer.setDepth(0);\n\t\t\t\t\n\t\t\t\tthis.layers.add(layer);\n\t\t\t\t\n\t\t\t\tif (layer.getLayersCount() > 0) {\n\t\t\t\t\tthis.subLayers(layer, this.layerId, 1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public abstract NetworkBuilder withLayers(int[] layers);", "private void createLayers(boolean bl, int[] arrn) {\n ILayer[] arriLayer = this.mLayers;\n if (bl) {\n for (int i = -1 + this.mLayerCount; i >= 0; --i) {\n arriLayer[i] = new FixedCapacityLayer(arrn[i]);\n }\n return;\n }\n for (int i = -1 + this.mLayerCount; i >= 0; --i) {\n arriLayer[i] = new DynamicCapacityLayer(arrn[i]);\n }\n }", "public static void clearLayers(){\n\t\tfor(int i=0;i<ChangeLayer.Layers.length;i++){\n\t\t\tChangeLayer.Layers[i].clear();\n\t\t\t}\n\t}", "private void updateLayers() {\n AktieCubeLayer aktieCubeLayer;\n AktieCubeShape[] shapes;\n int i, j, k;\n\n // up layer\n aktieCubeLayer = mAktieCubeLayers[kUp];\n shapes = aktieCubeLayer.mShapes;\n for (i = 0; i < 9; i++)\n shapes[i] = mAktieCubes[mPermutation[i]];\n\n // down layer\n aktieCubeLayer = mAktieCubeLayers[kDown];\n shapes = aktieCubeLayer.mShapes;\n for (i = 18, k = 0; i < 27; i++)\n shapes[k++] = mAktieCubes[mPermutation[i]];\n\n // left layer\n aktieCubeLayer = mAktieCubeLayers[kLeft];\n shapes = aktieCubeLayer.mShapes;\n for (i = 0, k = 0; i < 27; i += 9)\n for (j = 0; j < 9; j += 3)\n shapes[k++] = mAktieCubes[mPermutation[i + j]];\n\n // right layer\n aktieCubeLayer = mAktieCubeLayers[kRight];\n shapes = aktieCubeLayer.mShapes;\n for (i = 2, k = 0; i < 27; i += 9)\n for (j = 0; j < 9; j += 3)\n shapes[k++] = mAktieCubes[mPermutation[i + j]];\n\n // front layer\n aktieCubeLayer = mAktieCubeLayers[kFront];\n shapes = aktieCubeLayer.mShapes;\n for (i = 6, k = 0; i < 27; i += 9)\n for (j = 0; j < 3; j++)\n shapes[k++] = mAktieCubes[mPermutation[i + j]];\n\n // back layer\n aktieCubeLayer = mAktieCubeLayers[kBack];\n shapes = aktieCubeLayer.mShapes;\n for (i = 0, k = 0; i < 27; i += 9)\n for (j = 0; j < 3; j++)\n shapes[k++] = mAktieCubes[mPermutation[i + j]];\n\n // middle layer\n aktieCubeLayer = mAktieCubeLayers[kMiddle];\n shapes = aktieCubeLayer.mShapes;\n for (i = 1, k = 0; i < 27; i += 9)\n for (j = 0; j < 9; j += 3)\n shapes[k++] = mAktieCubes[mPermutation[i + j]];\n\n // equator layer\n aktieCubeLayer = mAktieCubeLayers[kEquator];\n shapes = aktieCubeLayer.mShapes;\n for (i = 9, k = 0; i < 18; i++)\n shapes[k++] = mAktieCubes[mPermutation[i]];\n\n // side layer\n aktieCubeLayer = mAktieCubeLayers[kSide];\n shapes = aktieCubeLayer.mShapes;\n for (i = 3, k = 0; i < 27; i += 9)\n for (j = 0; j < 3; j++)\n shapes[k++] = mAktieCubes[mPermutation[i + j]];\n }", "public void setLayers( Layer[] layers ) {\n this.layers.clear();\n this.list.clear();\n\n if ( layers != null ) {\n for ( int i = 0; i < layers.length; i++ ) {\n this.layers.put( layers[i].getName(), layers[i] );\n list.add( layers[i] );\n }\n }\n }", "public LayerList( Layer[] layers ) {\n setLayers( layers );\n }", "public abstract void initLayers();", "public Layer[] reconstruct(){\r\n ArrayList<String[]> rawData = pullFromText(location);\r\n return rawData != null ? reformat(rawData) : null;\r\n }", "private Layer[] reformat(ArrayList<String[]> preProcess){\r\n Layer[] reconstruction = new Layer[preProcess.size()];\r\n\r\n for(int layer = 0; layer < reconstruction.length; layer++){\r\n Neuron[] neurons = new Neuron[preProcess.get(layer).length];\r\n\r\n for(int neuron = 0; neuron < neurons.length; neuron++){\r\n int trim = preProcess.get(layer)[neuron].length() - 1;\r\n\r\n preProcess.get(layer)[neuron] = preProcess.get(layer)[neuron].substring(1, trim).replaceAll(\"\\\\s+\", \"\");\r\n String[] synapses = preProcess.get(layer)[neuron].split(\",\");\r\n neurons[neuron] = new Neuron();\r\n\r\n if(layer == reconstruction.length - 1)\r\n neurons[neuron].setActivation(activation.LEAKY_REC_LIN);\r\n\r\n for (int synapse = 0; synapse < synapses.length; synapse++) {\r\n String[] connection = synapses[synapse].split(\"=\");\r\n\r\n if (!synapses[synapse].contains(\"null\")) {\r\n int location = Integer.parseInt(connection[0]);\r\n float weight = Float.parseFloat(connection[1]);\r\n\r\n if (synapse < synapses.length - 1)\r\n neurons[neuron].setSynapse(location, weight);\r\n else\r\n neurons[neuron].setBias(weight);\r\n }\r\n }\r\n }\r\n reconstruction[layer] = new Layer(neurons);\r\n }\r\n return reconstruction;\r\n }", "@Override\n public void addAllLayers(Collection<BoardLayerView> layers) {\n this.layers.addAll(layers);\n }", "private void createLayers() {\n mAktieCubeLayers[kUp] = new AktieCubeLayer(AktieCubeLayer.kAxisY);\n mAktieCubeLayers[kDown] = new AktieCubeLayer(AktieCubeLayer.kAxisY);\n mAktieCubeLayers[kLeft] = new AktieCubeLayer(AktieCubeLayer.kAxisX);\n mAktieCubeLayers[kRight] = new AktieCubeLayer(AktieCubeLayer.kAxisX);\n mAktieCubeLayers[kFront] = new AktieCubeLayer(AktieCubeLayer.kAxisZ);\n mAktieCubeLayers[kBack] = new AktieCubeLayer(AktieCubeLayer.kAxisZ);\n mAktieCubeLayers[kMiddle] = new AktieCubeLayer(AktieCubeLayer.kAxisX);\n mAktieCubeLayers[kEquator] = new AktieCubeLayer(AktieCubeLayer.kAxisY);\n mAktieCubeLayers[kSide] = new AktieCubeLayer(AktieCubeLayer.kAxisZ);\n }", "public Layer[] getLayers() {\n\t\tLayer[] copy = new Layer[layers.length];\n\t\tSystem.arraycopy(layers, 0, copy, 0, copy.length);\n\t\treturn copy;\n\t}", "public void incrementLayer () {\n layer++;\n }", "Layer[] getLayers();", "public r3inputlayer(double[] inputarray, int depth){\r\n double[][][] newarray = new double[inputarray.length][1][depth + 2];\r\n for(int i = 0; i < inputarray.length; i++){\r\n newarray[i][0][0] = inputarray[i];\r\n }\r\n this.state = newarray;\r\n this.width = inputarray.length;\r\n }", "public double[] execute(double[] inputs) {\n _layers[0] = inputs.clone();\n for (int i = 1; i < _layers.length; i++) {\n // Each iteration fills out the ith layer with the values needed.\n// System.out.println(\"i = \" + i);\n// System.out.println(\"layers[0].length: \" + _layers[0].length);\n _layers[i] = getNextLayer(_layers[i-1], _weights[i-1], _biases[i-1]);\n }\n return _layers[_layers.length-1];\n }", "public void initLayers() {\n\t\t/* Initialise the weights */\n\t Random rng = new Random(1);\n double distributeRandom = 1.0 / SIZE_INPUT_LAYER;\n\t\tweightsOfHiddenLayer = new double[SIZE_HIDDEN_LAYER][SIZE_INPUT_LAYER]; \n\t\tweightsOfOutputLayer = new double[SIZE_OUTPUT_LAYER][SIZE_HIDDEN_LAYER]; \n\t\t/* Initialise the biases */\n\t\tbiasOfHiddenLayer = new double[SIZE_HIDDEN_LAYER];\n\t\tbiasOfOutputLayer = new double[SIZE_OUTPUT_LAYER];\t\t\n\t\tfor(int i = 0; i < SIZE_HIDDEN_LAYER; i++) {\n\t\t\tfor(int j = 0; j < SIZE_INPUT_LAYER; j++) {\n\t\t\t\tweightsOfHiddenLayer[i][j] = rng.nextDouble() * (distributeRandom - (-distributeRandom)) + (-distributeRandom);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < SIZE_OUTPUT_LAYER; i++) {\n\t\t\tfor(int j = 0; j < SIZE_HIDDEN_LAYER; j++) {\n\t\t\t\tweightsOfOutputLayer[i][j] = rng.nextDouble() * (distributeRandom - (-distributeRandom)) + (-distributeRandom);\n\t\t\t}\n\t\t}\n\t}", "public void switchBaseLayers() {\n\n\t\tgetViewer().setBaseLayerId(baseLayerName);\n\t}", "private void addLayers(ArrayList<Layer> layersToAdd) {\n ArrayList<Layer> layers = new ArrayList<Layer>(layerManager.getLayers());\n layers.addAll(layersToAdd);\n layerManager.setLayers(layers);\n // close right drawer\n if (mLayerMenu != null) {\n if (mDrawerLayout.isDrawerOpen(mLayerMenu)) {\n mDrawerLayout.closeDrawer(mLayerMenu);\n }\n }\n }", "public DynamicModelPart rebuild() {\n this.cuboids = new ObjectArrayList<DynamicModelPart.DynamicCuboid>();\n return addCuboidsUsingSeeds();\n }", "private void addLayers() throws InitializeLayerException {\n this.targetParcelsLayer = new CadastreChangeTargetCadastreObjectLayer();\n this.getMap().addLayer(targetParcelsLayer);\n }", "@Override\n public void setLayerArrayList(ArrayList<BoardLayerView> layers) {\n this.layers = layers;\n }", "private void processLayerMap() {\r\n for (int l = 0; l < layers.size(); l++) {\r\n Layer layer = layers.get(l);\r\n this.layerNameToIDMap.put(layer.name, l);\r\n }\r\n }", "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 void addLayer(Editor newLayer) {\n\n if (newLayer.isPreview())\n return;\n\n HashMap<Editor, LayerPanel> editorLayers = new HashMap<>(layers.size());\n layers.put(newLayer, editorLayers);\n\n for (Editor editor : layers.keySet()) {\n\n if (editor.getOrientation() == newLayer.getOrientation())\n continue;\n\n // First add the new layer to every editor\n addLayer(editor, newLayer);\n\n // Then add every layer to the new one\n addLayer(newLayer, editor);\n }\n }", "protected abstract void rebuildNetwork(int numNodes);", "private void restartArray() {\n for (int i = 0; i < 8; i++) {\n for (int j = 0; j < 8; j++) {\n Start.shemaArray[i][j].baseModel.state = 0;\n }\n }\n }", "private void rebuildPolygon() {\n //recalculate new center\n float borderNeeded = mPolygonShapeSpec.hasBorder() ? mPolygonShapeSpec.getBorderWidth() : 0;\n float shadowNeeded = mPolygonShapeSpec.hasShadow() ? mPolygonShapeSpec.getShadowRadius() : 0;\n mPolygonShapeSpec.setCenterX(mPolygonShapeSpec.getDiameter() / 2 + (float) (getPaddingLeft() +\n getPaddingRight()) / 2 + borderNeeded + shadowNeeded);\n mPolygonShapeSpec.setCenterY(mPolygonShapeSpec.getDiameter() / 2 + (float) (getPaddingTop() +\n getPaddingBottom()) / 2 + borderNeeded + shadowNeeded);\n\n if (mPolygonShapeSpec.getNumVertex() < 3)\n return;\n\n mPath = mPolygonShape.getPolygonPath(mPolygonShapeSpec);\n }", "private void subLayers(Layer layer, int layerGroupId, int depth)\n\t{\n\t\tLayer subLayer;\n\t\tint totalLayers = layer.getLayersCount();\n\t\t\n\t\tfor (int i = totalLayers - 1; i >= 0; i--) {\n\t\t\tsubLayer = layer.getLayer(i);\n\t\t\t\n\t\t\tif (!subLayer.isVisible() || (subLayer.getType() == LayerType.NORMAL && subLayer.getWidth() == 0)) {\n\t\t\t\tthis.layersToRemove.add(subLayer);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t\n\t\t\tsubLayer.adjustPositionAndSizeInformation();\n\t\t\tthis.layerId++;\n\t\t\t\n\t\t\tif (LayerType.NORMAL == subLayer.getType()) {\n\t\t\t\t\n\t\t\t\tsubLayer.setUniqueLayerId(this.layerId);\n\t\t\t\tsubLayer.setGroupLayerId(layerGroupId);\n\t\t\t\tsubLayer.setDepth(depth);\n\t\t\t\t\n\t\t\t\tthis.layers.add(subLayer);\n\t\t\t\t\n\t\t\t} else if (LayerType.OPEN_FOLDER == subLayer.getType() || LayerType.CLOSED_FOLDER == subLayer.getType()) {\n\t\t\t\t\n\t\t\t\tsubLayer.setUniqueLayerId(this.layerId);\n\t\t\t\tsubLayer.setGroupLayerId(layerGroupId);\n\t\t\t\tsubLayer.setDepth(depth);\n\t\t\t\t\n\t\t\t\tthis.layers.add(subLayer);\n\t\t\t\t\n\t\t\t\tif (subLayer.getLayersCount() > 0) {\n\t\t\t\t\tthis.subLayers(subLayer, this.layerId, depth + 1);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t}", "private void updateAllTiles() {\r\n mEntireBoard.updateDrawableState();\r\n for (int large = 0; large < 9; large++) {\r\n mLargeTiles[large].updateDrawableState();\r\n for (int small = 0; small < 9; small++) {\r\n mSmallTiles[large][small].updateDrawableState();\r\n }\r\n }\r\n }", "@Override\n \tpublic Object[] getImageArray() {\n \t\t// Release 3 times an RGB stack with this dimensions.\n \t\tlayers.get(0).getProject().getLoader().releaseToFit((long)(getSize() * getWidth() * getHeight() * 4 * 3));\n \t\tfinal Object[] ia = new Object[getSize()];\n \t\tfor (int i=0; i<ia.length; i++) {\n \t\t\tia[i] = getProcessor(i+1).getPixels(); // slices 1<=slice<=n_slices\n \t\t}\n \t\treturn ia;\n \t}", "private void addComponentsToLayers() {\n JLayeredPane layer = getLayeredPane();\n layer.add(canvas, new Integer(1));\n layer.add(searchArea, new Integer(2));\n layer.add(searchButton, new Integer(2));\n layer.add(zoomInButton, new Integer(2));\n layer.add(zoomOutButton, new Integer(2));\n layer.add(fullscreenButton, new Integer(2));\n layer.add(showRoutePanelButton, new Integer(2));\n layer.add(routePanel, new Integer(2));\n layer.add(optionsButton, new Integer(2));\n layer.add(mapTypeButton, new Integer(2));\n layer.add(mapTypePanel, new Integer(2));\n layer.add(resultPane, new Integer(3));\n layer.add(resultStartPane, new Integer(3));\n layer.add(resultEndPane, new Integer(3));\n layer.add(iconPanel, new Integer(3));\n layer.add(optionsPanel, new Integer(2));\n layer.add(directionPane, new Integer(2));\n layer.add(closeDirectionList, new Integer(2));\n layer.add(travelTimePanel, new Integer(3));\n\n }", "@Override\r\n \tpublic void refresh() {\r\n \t\tview.clear();\t\t\r\n \t\t// Fetch the data about this dataset from the server\r\n \t\tnodeService.getNodeJSON(NodeType.LAYER, this.layerId, new AsyncCallback<String>() {\r\n \t\t\t@Override\r\n \t\t\tpublic void onSuccess(String layerJson) {\t\t\t\t\t\t\t\r\n \t\t\t\ttry {\r\n \t\t\t\t\tlayerModel = nodeModelCreator.createLayer(layerJson);\t\t\t\t\t\r\n \t\t\t\t} catch (RestServiceException ex) {\r\n \t\t\t\t\tif(!DisplayUtils.handleServiceException(ex, placeChanger, authenticationController.getLoggedInUser())) {\r\n \t\t\t\t\t\tonFailure(null);\r\n \t\t\t\t\t}\r\n \t\t\t\t\treturn;\r\n \t\t\t\t}\t\t\t\t\t\r\n \t\t\t\t// Load calls that required the model \r\n \t\t\t\tloadLicenseAgreement(layerModel, showDownload);\r\n \t\t\t\tloadPermissionLevel(layerModel);\r\n \t\t\t\tloadDownloadLocations(layerModel, showDownload); \r\n \t\t\t}\r\n \t\t\t\r\n \t\t\t@Override\r\n \t\t\tpublic void onFailure(Throwable caught) {\r\n \t\t\t\tview.showErrorMessage(\"An error occured retrieving this Layer. Please try reloading the page.\");\r\n \t\t\t}\t\t\t\r\n \t\t});\t\t\r\n \t\t\t\t\r\n \t\tloadLayerPreview();\t\t\r\n \t}", "public Layer(Layer prevLayer) {\r\n\t\tthis.prevLayer = prevLayer; //Set the previous layer\r\n\t}", "@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 void updateLayerList ()\n\t{\n\t\n\t\tString selectedLayer = null;\n\t\tif (mLayerMenu != null)\n\t\t{\n\t\t\tselectedLayer = (String)mLayerMenu.getSelectedItem();\n\t\t}\n\t\n\t\tmLayerMenu.removeAllItems();\n\t\t\n\t\t// Add all polygon layers to the list.\n\t\tint nlayers = AppContext.layerManager.size();\n\t\t\n\t\t// Check for each layer whether it is a polygon layer or not.\n\t\tfor (int lyrcnt = 0; lyrcnt < nlayers; lyrcnt++)\n\t\t{\n\t\t\tLayer lyr = AppContext.layerManager.getLayer(lyrcnt);\n\t\t\tFeatureCollectionWrapper fcw = lyr.getFeatureCollectionWrapper();\n\t\t\tint nfeat = fcw.size();\n\t\t\tif (nfeat > 0)\n\t\t\t{\n\t\t\t\tFeature feat = (Feature)fcw.getFeatures().get(0);\n\t\t\t\tGeometry geom = feat.getGeometry();\n\t\t\t\tif (geom.getArea() != 0.0)\n\t\t\t\t{\n\t\t\t\t\tString layerName = lyr.getName();\n\t\t\t\t\tmLayerMenu.addItem(layerName);\n\t\t\t\t\tif (layerName == selectedLayer)\n\t\t\t\t\t\tmLayerMenu.setSelectedItem(layerName);\n\t\t\t\t}\n\t\t\t}\n\t\t\n\t\t}\n\t\t\n\t}", "private void filterResultLayers() {\n\n\t\tif (this.modifyNewLayerName) {\n\t\t\treturn;\n\t\t}\n\n\t\tloadComboWithLayerList(comboTargetLayer, ParameterName.TARGET_GEOMETRY_CLASS);\n\t\tloadResultLayersGeometry();\n\t\trestoreSelectedTargetLayer();\n\t}", "@Override\n public ArrayList<BoardLayerView> getLayerArrayList() {\n return this.layers;\n }", "public void changeLayer(int layer) {\n if(layer < 0 || layer > maxLayerIndex) { return; }\n if(layer == currentLayer) { return; }\n if(imgData != null) {\n currentLayer = layer;\n int[] displayImageData = resolveRaw(imgData[currentLayer]);\n raster.setPixels(0, 0, imgWidth, imgHeight, displayImageData);\n image.setData(raster);\n if(maskList != null && maskList.size() != 0) {\n int[] displayMaskData = resolveMasks();\n maskRaster.setDataElements(0, 0, imgWidth, imgHeight, displayMaskData);\n maskImage.setData(maskRaster);\n }\n repaint();\n }\n }", "void addLayer(Layer layer, int whichLayer);", "private void rebuildImageIfNeeded() {\n Rectangle origRect = this.getBounds(); //g.getClipBounds();\n// System.out.println(\"origRect \" + origRect.x + \" \" + origRect.y + \" \" + origRect.width + \" \" + origRect.height);\n\n backBuffer = createImage(origRect.width, origRect.height);\n// System.out.println(\"Image w \" + backBuffer.getWidth(null) + \", h\" + backBuffer.getHeight(null));\n Graphics backGC = backBuffer.getGraphics();\n backGC.setColor(Color.BLACK);\n backGC.fillRect(0, 0, origRect.width, origRect.height);\n// updateCSysEntList(combinedRotatingMatrix);\n paintWorld(backGC);\n }", "public void updateLayer() {\n bufferedImage = null;\n repaint();\n panelResized();\n }", "@Override\n public Iterator<BoardLayerView> iterator() {\n return this.layers.iterator();\n }", "Layer createLayer();", "public void addLayersToGUI() {\n Layer previousActiveLayer = activeLayer;\n\n layerList.forEach(this::addLayerToGUI);\n\n setActiveLayer(previousActiveLayer, AddToHistory.NO);\n }", "public void \n\tupdateAll() throws EditorException{\n\t\tupdated.set(false);\n\t\t//Disable layer selection options if the model does not support them\n\t\tlayerBox.setDisable(!editor.model().allowsLayers());\n\t\tnewLayer.setDisable(!editor.model().allowsLayers());\n\t\t\n\t\tlayers.clear();\n\t\tlayers.add(Optional.empty());\n\t\tfor(int i : editor.model().layer_getLayerIDs()){\n\t\t\tlayers.add(Optional.of(i));\n\t\t}\n\t\tif(!layers.contains(currentLayer)){\n\t\t\tcurrentLayer = Optional.empty();\n\t\t}\n\t\tupdateProperties(currentLayer);\n\t\tupdated.set(true);\n\t}", "@Override\r\n\tprotected void refreshVisuals() {\n\t\tif (getParent() instanceof LayerEditPart && getParent().getParent()!=null && getParent().getParent() instanceof CompositeLayerEditPart) {\r\n\t\t\tgetParent().getParent().refresh();\r\n\t\t} \r\n\t\tif (getParent() instanceof LayerEditPart) {\r\n\t\t\tgetParent().refresh();\r\n\t\t} \r\n\t\tsuper.refreshVisuals();\r\n\t}", "@Override\n public ListIterator<BoardLayerView> getLayers() {\n return this.layers.listIterator();\n }", "@Override\n public void fitBoundsToLayers() {\n int width = 0;\n int height = 0;\n\n Rectangle layerBounds = new Rectangle();\n\n for (int i = 0; i < this.layers.size(); i++) {\n this.getLayer(i).getBounds(layerBounds);\n\n if (width < layerBounds.width) {\n width = layerBounds.width;\n }\n\n if (height < layerBounds.height) {\n height = layerBounds.height;\n }\n }\n\n this.bounds.width = width;\n this.bounds.height = height;\n }", "public Layer[] getLayers() {\n Layer[] cl = new Layer[list.size()];\n return (Layer[])list.toArray( cl );\n }", "@Override\r\n\tpublic void redo() {\n\t\tfor(IShape shape : tempList)\r\n\t\t\tshapeList.add(shape);\r\n\t}", "public void process()\n\t{\n\t\tthis.layers = new ArrayList<Layer>();\n\t\t\n\t\t/**\n\t\t * list of layers to remove\n\t\t */\n\t\tthis.layersToRemove = new ArrayList<Layer>();\n\t\t\n\t\t/**\n\t\t * find all layers we need to process in the document\n\t\t */\n\t\tthis.allLayers();\n\t\t\n\t\t/**\n\t\t * we'll remove all layers which are unused in psd\n\t\t */\n\t\tthis.removeUnusedLayers();\n\t\t\n//\t\tthis.discoverMaximumLayerDepth();\n\t\t\n\t\t/*this.showLayersInformation(this.layers);\n\t\tSystem.exit(0)*/;\n\t}", "public Collection<Layer> getAllLayers() {\n return Collections.unmodifiableCollection(layers.values());\n }", "void releaseOldLayers() throws IOException;", "@Override\r\n\tpublic void append(Layer other)\r\n\t{\n\r\n\t}", "protected abstract void paintLayers(Graphics2D g);", "public Layer() {\n\t\tfor (int i = 0; i < 16; i++) {\n\t\t\tfor (int j = 0; j < 16; j++) {\n\t\t\t\tgrid[i][j] = false;\n\t\t\t}\n\t\t}\n\t}", "private void initialize() {\r\n // init hidden layers\r\n for (int i = 0; i < neurons.length; i++) {\r\n for (int j = 0; j < neurons[i].length; j++) {\r\n // create neuron\r\n Neuron n = new Neuron(i, bias, this);\r\n neurons[i][j] = n;\r\n Log.log(Log.DEBUG, \"Adding Layer \" + (i + 1) + \" Neuron \" + (j + 1));\r\n }\r\n }\r\n }", "private double[] getNextLayer(double[] prevLayer, double[][] weights, double[] biases) {\n double[] output = new double[weights.length];\n for (int i = 0; i < output.length; i++) {\n // Runs for each output node.\n double outputI = 0.0;\n for (int j = 0; j < weights[i].length; j++) {\n // Runs for each input node connected to that output node.\n outputI += weights[i][j] * prevLayer[j];\n }\n outputI += biases[i];\n output[i] = sigmoid(outputI);\n }\n return output;\n }", "private void project(WLayer wLayer, LLayer aLayer) {\n for (WDoc wdoc : wLayer.col()) {\n for (WPara wpara : wdoc.col()) {\n for (WForm wform : wpara.col()) {\n wform2tags.addEmpty(wform);\n }\n }\n }\n\n // todo project all the way to w layer\n // fill tags\n for (LDoc ldoc : aLayer.col()) {\n for (LPara lpara : ldoc.col ()) {\n for (Edge edge : lpara.getEdges()) {\n List<WForm> wforms = new ArrayList<>(DataUtil.getWForms(edge));\n\n if (false) { // todo !!\n for (FForm form : wforms) { // todo horrible, but usually these is just one iteration in each cycle\n for (Errorr err : edge.getErrors()) {\n wform2tags.add((WForm)form, err.getTag());\n }\n wform2emend.addAll( (WForm)form, edge.getHigher() );\n }\n }\n else {\n counter.totalEForms += edge.getHigher().size(); \n if (wforms.isEmpty()) {\n // inserted form(s), i.e. form(s) without a w-layer counterpart\n counter.inserted += edge.getHigher().size(); \n }\n else {\n for (Errorr err : edge.getErrors()) {\n wform2tags.add((WForm)wforms.get(0), err.getTag());\n }\n wform2emend.addAll( (WForm)wforms.get(0), edge.getHigher() );\n \n if (wforms.size() > 1) {\n for (FForm form : wforms.subList(1, wforms.size()) ) { // todo horrible, but usually these is just one iteration in each cycle\n wform2tags.add((WForm)form, \"_\");\n wform2emend.addAll((WForm)form, Arrays.asList(new LForm(aLayer, \"\", FForm.Type.normal, \"_\")));\n }\n }\n }\n \n }\n }\n }\n }\n\n }", "public ArrayList<Layer> getLayers() {\r\n return this.layers;\r\n }", "void set_empty(int p_layer)\r\n {\r\n arr[p_layer].set_empty();\r\n }", "@Override\n public void redraw() {\n firePropertyChange(AVKey.LAYER, null, this);\n }", "private void createHiddenLayer() {\r\n\t\tint layers = 1;\r\n\t\t\r\n\t\tint hiddenLayerSize = 0; \r\n\t\tint prevLayerSize = numAttributes;\r\n\t\t\r\n\t\tfor (int layer = 0; layer < layers; layer++) {\r\n\t\t\thiddenLayerSize = (numAttributes + numClasses) / 2;\r\n\t\t\t\r\n\t\t\tfor (int nob = 0; nob < hiddenLayerSize; nob++) {\r\n\t\t\t\tInnerNode temp = new InnerNode(String.valueOf(nextId), random);\r\n\t\t\t\tnextId++;\r\n\t\t\t\taddNode(temp);\r\n\t\t\t\tif (layer > 0) {\r\n\t\t\t\t\t// then do connections\r\n\t\t\t\t\tfor (int noc = innerNodes.size() - nob - 1 - prevLayerSize; noc < innerNodes.size() - nob - 1; noc++) {\r\n\t\t\t\t\t\tNeuralNode.connect(innerNodes.get(noc), temp);\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\tprevLayerSize = hiddenLayerSize;\r\n\t\t}\r\n\r\n\t\tif (hiddenLayerSize == 0) {\r\n\t\t\tfor (InputNode input : inputs) {\r\n\t\t\t\tfor (NeuralNode node : innerNodes) {\r\n\t\t\t\t\tNeuralNode.connect(input, node);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tfor (NeuralNode input : inputs) {\r\n\t\t\t\tfor (int nob = numClasses; nob < numClasses + hiddenLayerSize; nob++) {\r\n\t\t\t\t\tNeuralNode.connect(input, innerNodes.get(nob));\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tfor (int noa = innerNodes.size() - prevLayerSize; noa < innerNodes.size(); noa++) {\r\n\t\t\t\tfor (int nob = 0; nob < numClasses; nob++) {\r\n\t\t\t\t\tNeuralNode.connect(innerNodes.get(noa), innerNodes.get(nob));\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}", "private void grow() {\n int growSize = size + (size<<1);\n array = Arrays.copyOf(array, growSize);\n }", "public void update() {\n\t\tfor (Entry<String, Integer> entry : countMap.entrySet()) {\n\t\t\tcountMap.put(entry.getKey(), 0);\n\t\t}\n\t\tfor (int i = 0; i < numRows; i++) {\n\t\t\tfor (int j = 0; j < numCols; j++) {\n\t\t\t\tCell c = newGrid[i][j];\n\t\t\t\tc.setRow(i);\n\t\t\t\tc.setCol(j);\n\t\t\t\tblocks[i][j].setFill(c.getColor());\n\t\t\t\tcurrentGrid[i][j] = newGrid[i][j];\n\t\t\t}\n\t\t}\n\t\tempty(newGrid);\n\t}", "@Override\n public int getTotalLayers() {\n return this.layers.size();\n }", "private\t\tvoid\t\tinitialize()\n\t\t{\n\t\tif (iterateThroughAllLayers && editor.hasLayers())\n\t\t\t{\n\t\t\thasLayers = true;\n\t\t\tif (!startAtTop)\n\t\t\t\tlayerNum = 0;\n\t\t\telse\n\t\t\t\tlayerNum = editor.getNumberOfLayers() - 1;\n\t\t\t\n\t\t\titerator = new MiContainerIterator(\n\t\t\t\teditor.getLayer(layerNum), !startAtTop, \n\t\t\t\titerateIntoPartsOfParts, iterateIntoAttachmentsOfParts);\n\t\t\t}\n\t\telse\n\t\t\t{\n\t\t\titerator = new MiContainerIterator(\n\t\t\t\teditor.getCurrentLayer(), !startAtTop, \n\t\t\t\titerateIntoPartsOfParts, iterateIntoAttachmentsOfParts);\n\t\t\t}\n\t\t}", "public final void rebuild(int numNodes){\n\tclear();\n\trebuildNetwork(numNodes);\n }", "public void redimensionar() {\n\t\tthis.numCub *= 1.5;\n\t}", "public void layerUpdate(int layerToBeUpdated ){\n\t\tRandom rand = new Random();\n\n\t\tfor(int i = 0; i < this.layers[layerToBeUpdated].length; i++){\n\t\t\tdouble x = this.layers[layerToBeUpdated][i].getBias();\n\t\t\tfor(int j = 0; j < this.layers[(layerToBeUpdated + 1) % 2].length; j++){\n\n\t\t\t\tif(layerToBeUpdated == 0){\n\t\t\t\t\tx += this.connections[i][j]*this.layers[1][j].getState();\n\t\t\t\t} else {\n\t\t\t\t\tx += this.connections[j][i]*this.layers[0][j].getState();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif(Sigmoid.getINSTANCE().apply(x) >= rand.nextDouble()){\n\t\t\t\tthis.layers[layerToBeUpdated][i].setState(1);\n\t\t\t} else {\n\t\t\t\tthis.layers[layerToBeUpdated][i].setState(0);\n\t\t\t}\n\n\t\t}\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 Layer konstruisiFinalniLayer(ArrayList<Integer> a) {\n\t\tLayer lejer = new Layer(sirina, visina);\r\n\t\tArrayList<Layer> aktivniLejeri=new ArrayList();\r\n\r\n\t\tif (a.size() == 0) return lejer;\r\n\t\tfor ( Integer i : layers.keySet()) {\r\n\t\t\tif (inAktivni(i, a)) {\r\n\t\t\t\taktivniLejeri.add(layers.get(i));\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (aktivniLejeri.size() == 0) return lejer;\r\n\t\tfor (int i = 0; i < sirina; i++) {\r\n\t\t\tfor (int j = 0; j < visina; j++) {\r\n\t\t\t\tPiksel piksel = aktivniLejeri.get(0).getPixel(i, j);\r\n\t\t\t\tdouble r = piksel.getR() * 1.0 / 255;\r\n\t\t\t\tdouble g = piksel.getG() * 1.0 / 255;\r\n\t\t\t\tdouble b = piksel.getB() * 1.0 / 255;\r\n\t\t\t\tdouble opacity = piksel.getOpacity() * 1.0 / 255;\r\n\r\n\t\t\t\t\r\n\t\t\t\tif (i == 410 && j == 40) {\r\n\t\t\t\t\t//std::cout << \"s\";\r\n\t\t\t\t}\r\n\t\t\t\tif (i == 40 && j == 410) {\r\n\t\t\t\t\t//std::cout << \"s\";\r\n\t\t\t\t}\r\n\t\t\t\t\tfor (int k = 1; k != aktivniLejeri.size(); k++) {\r\n\t\t\t\t\t\tif (opacity == 1.0) { continue; }\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tPiksel p1 = aktivniLejeri.get(k).getPixel(i,j);\r\n\t\t\t\t\t\tdouble r1 = p1.getR() * 1.0 / 255;\r\n\t\t\t\t\t\tdouble g1 = p1.getG() * 1.0 / 255;\r\n\t\t\t\t\t\tdouble b1 = p1.getB() * 1.0 / 255;\r\n\t\t\t\t\t\tdouble opacity1= p1.getOpacity() * 1.0 / 255;\r\n\t\t\t\t\t\tif (opacity1 == 0)continue;\r\n\t\t\t\t\t\tdouble temp = (1 - opacity)* opacity1 ;\r\n\t\t\t\t\t\tdouble opt = opacity + temp;\r\n\t\t\t\t\t\tdouble temp2 = temp / opt;\r\n\t\t\t\t\t\tdouble temp3 = opacity / opt;\r\n\t\t\t\t\t\tdouble rt = r * temp3 + r1 * temp2;\r\n\t\t\t\t\t\tdouble gt = g * temp3 + g1 * temp2;\r\n\t\t\t\t\t\tdouble bt = b * temp3 + b1 * temp2;\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tr = rt;\r\n\t\t\t\t\t\tb = bt;\r\n\t\t\t\t\t\tg = gt;\r\n\t\t\t\t\t\topacity = opt;\r\n\r\n\t\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tPiksel novi = new Piksel(r*255, g*255, b*255, 0, opacity*255);\r\n\t\t\t\tlejer.overwritepixel(i, j, novi);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn lejer;\r\n\t\r\n\r\n\r\n\r\n\r\n\r\n\t}", "public final void updateAll(Input input) {\n\t\t//todo INPUT\n\t\tInput in = viewport.adjust(input);\n\t\tupdate(in);\n\t\tchildren.forEach((layer) -> layer.updateAll(in));\n\t}", "float activate(float[] input) {\n if (inputLayer.length != input.length) throw new IllegalArgumentException(\"input.length and inputLayer.length do not match\");\n\n System.arraycopy(input, 0, inputLayer, 0, inputLayer.length);\n\n // Calculate the output\n process();\n\n return outputLayer;\n }", "private void updatePolygons() {\n for ( Polygon p : polygons ) {\n p.update();\n }\n }", "public interface MultiLayerModel extends ReadOnlyModel {\n\n /**\n * filters image based on operation given.\n *\n * @param img the image\n * @param multiplier the number of times to filter\n * @param operation operation to do\n * @return array of pixels\n */\n List<List<Pixel>> filter(Image img, int multiplier, String operation);\n\n /**\n * transforms image based on operation given.\n *\n * @param img the image\n * @param operation operation to do\n * @return array of pixels\n */\n List<List<Pixel>> transform(Image img, String operation);\n\n /**\n * creates a layer in the model.\n */\n Layer createLayer();\n\n /**\n * A method used to set the given image.\n *\n * @param image the image\n * @param layer the layer\n */\n void setImage(Layer layer, Image image);\n\n /**\n * A method meant to determine the visibility of the layer, determined by the user; is true unless\n * the user specifies that the layer should be invisible.\n *\n * @param visibility the visibility\n * @param layer the layer\n */\n void setVisibility(Layer layer, boolean visibility);\n\n\n /**\n * Adds a layer to this model.\n *\n * @param whichLayer where to add layer\n * @param layer the layer\n */\n\n void addLayer(Layer layer, int whichLayer);\n\n\n /**\n * Creates an image from a pixelArray.\n *\n * @param pixelArray the array\n * @return the created Image\n */\n Image createImage(List<List<Pixel>> pixelArray);\n\n\n /**\n * Removes a layer from this model.\n *\n * @param whichLayer the layer to remove\n */\n void removeLayer(int whichLayer);\n\n\n /**\n * Determines if the layers all have same dimensions.\n *\n * @param layers the layers\n * @return the boolean true or false\n */\n boolean sameDimensions(List<Layer> layers);\n\n /**\n * Determines if the pixelArray as equal dimensions.\n *\n * @param pixelArray the pixelArray\n * @return the boolean true or false\n */\n boolean equalPixelArrayDim(List<List<Pixel>> pixelArray);\n\n /**\n * Gets top most visible layer.\n *\n * @return the top most visible layer\n */\n Layer getTopMostVisible();\n\n\n}", "@Override // com.android.server.wm.WindowContainer\n public void assignChildLayers(SurfaceControl.Transaction t) {\n assignStackOrdering(t);\n for (int i = 0; i < this.mChildren.size(); i++) {\n ((TaskStack) this.mChildren.get(i)).assignChildLayers(t);\n }\n }", "@Override\n public Builder layerSize(int layerSize) {\n super.layerSize(layerSize);\n return this;\n }", "private void increaseSize() {\n data = Arrays.copyOf(data, size * 3 / 2);\n }", "@Override\n public void refreshDrawable() {\n for(Drawable d : Scene.objects) {\n if(d.getName().equals(this.name)) {\n Scene.objects.set(Scene.objects.indexOf(d), new Draw_Tunnel(this));\n }\n }\n }", "public void rebuild()\n {\n this.tilePropertyPanel.table.clearChildren();\n this.spritePropertyPanel.table.clearChildren();\n this.mapPropertyPanel.removeablePropertyPanel.table.clearChildren();\n if(map.selectedLayer != null)\n {\n this.layerPropertyPanel.setVisible(true);\n this.layerPropertyPanel.layerWidthProperty.value.setText(Integer.toString(map.selectedLayer.width));\n this.layerPropertyPanel.layerHeightProperty.value.setText(Integer.toString(map.selectedLayer.height));\n this.layerPropertyPanel.layerZProperty.value.setText(Float.toString(map.selectedLayer.z));\n }\n else\n this.layerPropertyPanel.setVisible(false);\n if(map.tileMenu.selectedTiles.size == 1)\n {\n if(map.tileMenu.selectedTiles.first().tool == TileMenuTools.TILE)\n {\n Array<PropertyField> tileProperties = map.tileMenu.selectedTiles.first().lockedProperties;\n for (int i = 0; i < tileProperties.size; i++)\n this.tilePropertyPanel.table.add(tileProperties.get(i)).padBottom(1).row();\n this.tilePropertyPanel.setVisible(true);\n }\n else if(map.tileMenu.selectedTiles.first().tool == TileMenuTools.SPRITE)\n {\n Array<PropertyField> spriteProperties = map.tileMenu.selectedTiles.first().lockedProperties;\n for (int i = 0; i < spriteProperties.size; i++)\n this.spritePropertyPanel.table.add(spriteProperties.get(i)).padBottom(1).row();\n this.spritePropertyPanel.setVisible(true);\n }\n }\n if(map.selectedSprites.size > 0)\n {\n Array<PropertyField> spriteProperties = map.selectedSprites.first().lockedProperties;\n for (int i = 0; i < spriteProperties.size; i++)\n this.spritePropertyPanel.table.add(spriteProperties.get(i)).padBottom(1).row();\n this.spritePropertyPanel.setVisible(true);\n }\n if(map.selectedSprites.size == 0 && map.tileMenu.selectedTiles.size == 0)\n {\n for(int i = 0; i < mapPropertyPanel.properties.size; i ++)\n {\n this.mapPropertyPanel.removeablePropertyPanel.table.add(mapPropertyPanel.properties.get(i)).padBottom(1).row();\n }\n this.mapPropertyPanel.removeablePropertyPanel.setVisible(true);\n }\n if(this.layerPropertyPanel.isVisible())\n this.layerPropertyPanel.setSize(getWidth(), toolHeight);\n else\n this.layerPropertyPanel.setSize(getWidth(), 0);\n if(this.tilePropertyPanel.isVisible())\n this.tilePropertyPanel.setSize(getWidth(), toolHeight);\n else\n this.tilePropertyPanel.setSize(getWidth(), 0);\n if(this.spritePropertyPanel.isVisible())\n this.spritePropertyPanel.setSize(getWidth(), toolHeight);\n else\n this.spritePropertyPanel.setSize(getWidth(), 0);\n if(this.mapPropertyPanel.removeablePropertyPanel.isVisible())\n this.mapPropertyPanel.removeablePropertyPanel.setSize(getWidth(), toolHeight);\n else\n this.mapPropertyPanel.removeablePropertyPanel.setSize(getWidth(), 0);\n\n this.propertyPanel.rebuild();\n this.propertyTable.invalidateHierarchy();\n\n setSize(getWidth(), getHeight()); // refits everything\n }", "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 }", "public void startImage() {\r\n\t\tm_blocks = new Vector<BlockList>();\r\n\t\tm_feature.clear();\r\n\t\tfor (int i = 0; i < 3; i++) {\r\n\t\t\tBlockList blockList = new BlockList();\r\n\t\t\tm_blocks.add(blockList);\r\n\t\t}\r\n\t}", "public ArrayList<Layer> getImageLayers() {\n\t\tArrayList<Layer> layers = new ArrayList<Layer>();\n\t\t\n\t\tLayer layer;\n\t\t\n\t\tfor (int i = 0; i < this.layers.size(); i++) {\n\t\t\tlayer = this.layers.get(i);\n\t\t\t\n\t\t\tif (\n\t\t\t\t\t(\n\t\t\t\t\t\tlayer.getType() == LayerType.OPEN_FOLDER ||\n\t\t\t\t\t\tlayer.getType() == LayerType.CLOSED_FOLDER\n\t\t\t\t\t) \n\t\t\t\t\t\n\t\t\t\t\t||\n\t\t\t\t\t\n\t\t\t\t\tlayer.isTextLayer() ||\n\t\t\t\t\t\n\t\t\t\t\t(\n\t\t\t\t\t\tlayer.getWidth() == 1 ||\n\t\t\t\t\t\tlayer.getHeight() == 1\n\t\t\t\t\t)\n\t\t\t\t\t\n\t\t\t\t\t||\n\t\t\t\t\t\n\t\t\t\t\tlayer.isShapeLayer()\n\t\t\t\t\t\n\t\t\t\t\t||\n\t\t\t\t\t\n\t\t\t\t\tlayer.isImageSingleColored()\n\t\t\t) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t\n\t\t\tlayers.add(layer);\n\t\t}\n\t\t\n\t\treturn layers;\n\t}", "public void setLayerIndex(int index){\n layerIndex = index;\n }", "public void reconstruct ()\n\t{\n\t\tsuper.reconstruct ();\t//calls the superclass's reconstruct method\n\t\txDimension1 = rXD1;\n\t\txDimension2 = rXD2;\n\t\txDimension3 = rXD3;\n\t\t\n\t\tyDimension1 = rYD1;\n\t\tyDimension2 = rYD2;\n\t\tyDimension3 = rYD3;\n\t\t\n\t\tturnInt = 0;\n\t}", "public Node[] getChildren() {\n\t\tNode[] nextLayer = new Node[nextLayerNodes.keySet().toArray().length];\n\t\tfor (int i = 0; i < nextLayer.length; i++) {\n\t\t\tnextLayer[i] = (Node) nextLayerNodes.keySet().toArray()[i];\n\t\t}\n\t\treturn nextLayer;\n\t}", "@Override\n\tpublic void updateWw4RNNLayer(ProjectionLayer layer) {\n\t\t\n\t}", "@Override\n \tpublic int getSize() {\n \t\treturn layers.size();\n \t}", "@Override\n protected Object freshBatch(Object reuse)\n {\n throw new NotImplementedException();\n }", "public void renewImage() {\r\n\t\t//myHistoryManager.clearHistory();\r\n\t\tindexes.clear();\r\n\t\tcache.clear();\r\n\t\tcolorCache.clear();\r\n\t\tstrokeSizes.clear();\r\n\t\t\r\n//\t\tfor (AbstractHistory tempHistory : newHistorys) {\r\n//\t\t\tmyHistoryManager.addHistory(tempHistory);\r\n//\t\t}\r\n\r\n\t\tsurface.clear();\r\n\t\tint start = 0;\r\n\t\tfor (start = 0; start < myHistoryManager.historys.size(); start++) {\r\n\r\n\t\t\tAbstractHistory history = myHistoryManager.historys.get(start);\r\n\t\t\tif (history.getType() == \"AddHistory\") {\r\n\r\n\t\t\t\tPoint endPos = ((AddHistory) history).endPos;\r\n\t\t\t\tMyColor pathColor = ((AddHistory) history).pathColor;\r\n\t\t\t\tstrokeSize = ((AddHistory) history).strokeSize;\r\n\t\t\t\tdouble x = endPos.getVector2().getX();\r\n\t\t\t\tdouble y = endPos.getVector2().getY();\r\n\r\n\t\t\t\tif (strokePointCount == 2) {\r\n\t\t\t\t\tcanvas_context.setStrokeStyle(pathColor.getColorCode());\r\n\t\t\t\t\tcanvas_context.setFillStyle(pathColor.getColorCode());\r\n\t\t\t\t\tcanvas_context.setLineWidth(((double) strokeSize) * 0.5);\r\n\t\t\t\t\tcanvas_context.setLineCap(LineCap.ROUND);\r\n\t\t\t\t\tcanvas_context.setLineJoin(LineJoin.ROUND);\r\n\t\t\t\t\tcanvas_context.setShadowBlur(((double) strokeSize) * 0.3);\r\n\t\t\t\t\tcanvas_context.setShadowColor(pathColor.getColorCode());\r\n\t\t\t\t\t\r\n\t\t\t\t\t/* get the x, y */\r\n\t\t\t\t\tp3.x = x;\r\n\t\t\t\t\tp3.y = y;\r\n\t\t\t\t\tp0.x = p1.x + (p1.x - p2.x);\r\n\t\t\t\t\tp0.y = p1.y + (p1.y - p2.y);\r\n\t\t\t\t\tstrokePointCount++;\r\n\r\n\t\t\t\t\t\r\n\t\t\t\t\tget_buffer(p0, p1, p2, p3, bufferCount);\r\n\t\t\t\t\tbufferCount = buffList.size();\r\n\t\t\t\t\toldx = (int) buffList.get(0).x;\r\n\t\t\t\t\toldy = (int) buffList.get(0).y;\r\n\t\t\t\t\tcanvas_context.beginPath();\r\n\t\t\t\t\tcanvas_context.moveTo(oldx, oldy);\r\n\t\t\t\t\tcache.add(new Vector2(oldx, oldy));\r\n\t\t\t\t\t\r\n\t\t\t\t\t/*\r\n\t\t\t\t\t * draw all interpolated points found through Hermite\r\n\t\t\t\t\t * interpolation\r\n\t\t\t\t\t */\r\n\t\t\t\t\tint i = 1;\r\n\t\t\t\t\tfor (i = 1; i < bufferCount - 2; i++) {\r\n\t\t\t\t\t\tx = buffList.get(i).x;\r\n\t\t\t\t\t\ty = buffList.get(i).y;\r\n\t\t\t\t\t\tcache.add(new Vector2(x, y));\r\n\t\t\t\t\t\tdouble nextx = buffList.get(i + 1).x;\r\n\t\t\t\t\t\tdouble nexty = buffList.get(i + 1).y;\r\n\t\t\t\t\t\tdouble c = (x + nextx) / 2;\r\n\t\t\t\t\t\tdouble d = (y + nexty) / 2;\r\n\t\t\t\t\t\tcanvas_context.quadraticCurveTo(x, y, c, d);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tx = buffList.get(i).x;\r\n\t\t\t\t\ty = buffList.get(i).y;\r\n\t\t\t\t\tcache.add(new Vector2(x, y));\r\n\t\t\t\t\tdouble nextx = buffList.get(i + 1).x;\r\n\t\t\t\t\tdouble nexty = buffList.get(i + 1).y;\r\n\t\t\t\t\tcache.add(new Vector2(nextx, nexty));\r\n\t\t\t\t\t\r\n\t\t\t\t\tcanvas_context.quadraticCurveTo(x, y, nextx, nexty);\r\n\t\t\t\t\t\r\n\t\t\t\t\t/* adaptive buffering using Hermite interpolation */\r\n\t\t\t\t\tint distance = (int) Math.sqrt(Math.pow(x - p2.x, 2)\r\n\t\t\t\t\t\t\t+ Math.pow(y - p2.y, 2));\r\n\t\t\t\t\tbufferCount = ((int) distance / 10) > 6 ? 6 : 3;\r\n\t\t\t\t\tbufferCount = bufferCount < 10 ? bufferCount : 10;\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\tcolorCache.remove(colorCache.size()-1);\r\n\t\t\t\t\tcolorCache.add(pathColor);\r\n\t\t\t\t\t\r\n\t\t\t\t} else {\r\n\r\n\t\t\t\t\t/* update the touch point list */\r\n\t\t\t\t\tp0.x = p1.x;\r\n\t\t\t\t\tp0.y = p1.y;\r\n\t\t\t\t\tp1.x = p2.x;\r\n\t\t\t\t\tp1.y = p2.y;\r\n\t\t\t\t\tp2.x = p3.x;\r\n\t\t\t\t\tp2.y = p3.y;\r\n\t\t\t\t\tp3.x = x;\r\n\t\t\t\t\tp3.y = y;\r\n\r\n\t\t\t\t\tget_buffer(p0, p1, p2, p3, bufferCount);\r\n\r\n\t\t\t\t\t/*\r\n\t\t\t\t\t * draw all interpolated points found through Hermite\r\n\t\t\t\t\t * interpolation\r\n\t\t\t\t\t */\r\n\t\t\t\t\tbufferCount = buffList.size();\r\n\t\t\t\t\tint i = 1;\r\n\t\t\t\t\tfor (i = 1; i < bufferCount - 2; i++) {\r\n\t\t\t\t\t\tx = buffList.get(i).x;\r\n\t\t\t\t\t\ty = buffList.get(i).y;\r\n\t\t\t\t\t\tcache.add(new Vector2(x, y));\r\n\t\t\t\t\t\tdouble nextx = buffList.get(i + 1).x;\r\n\t\t\t\t\t\tdouble nexty = buffList.get(i + 1).y;\r\n\t\t\t\t\t\tdouble c = (x + nextx) / 2;\r\n\t\t\t\t\t\tdouble d = (y + nexty) / 2;\r\n\t\t\t\t\t\tcanvas_context.quadraticCurveTo(x, y, c, d);\r\n\r\n\t\t\t\t\t}\r\n\t\t\t\t\tx = buffList.get(i).x;\r\n\t\t\t\t\ty = buffList.get(i).y;\r\n\t\t\t\t\tcache.add(new Vector2(x, y));\r\n\t\t\t\t\t\r\n\t\t\t\t\tdouble nextx = buffList.get(i + 1).x;\r\n\t\t\t\t\tdouble nexty = buffList.get(i + 1).y;\r\n\t\t\t\t\tcache.add(new Vector2(nextx, nexty));\r\n\t\t\t\t\t\r\n\t\t\t\t\tcanvas_context.quadraticCurveTo(x, y, nextx, nexty);\r\n\t\t\t\t\t\r\n\t\t\t\t\t/* adaptive buffering using Hermite interpolation */\r\n\t\t\t\t\tint distance = (int) Math.sqrt(Math.pow(x - p2.x, 2)\r\n\t\t\t\t\t\t\t+ Math.pow(y - p2.y, 2));\r\n\t\t\t\t\tbufferCount = ((int) distance / 10) > 6 ? 6 : 3;\r\n\t\t\t\t\tbufferCount = bufferCount < 10 ? bufferCount : 10;\r\n\t\t\t\t\t// logger.log(Level.SEVERE, \"bufferCount \"+\r\n\t\t\t\t\t// bufferCount);\r\n\t\t\t\t}\r\n\r\n\t\t\t} else if (history.getType() == \"PathHeadHistory\") {\r\n\t\t\t\t\r\n\t\t\t\tMyColor pathColor = ((PathHeadHistory) history).pathColor;\r\n\t\t\t\tstrokeSize = ((PathHeadHistory) history).strokeSize;\r\n\t\t\t\t\r\n\t\t\t\tPoint position = ((PathHeadHistory) history).position;\r\n\t\t\t\tdouble x = position.getVector2().getX();\r\n\t\t\t\tdouble y = position.getVector2().getY();\r\n\t\t\t\tstrokePointCount = 0;\r\n\r\n\t\t\t\t/* initialize the points */\r\n\t\t\t\tp1.x = x;\r\n\t\t\t\tp1.y = y;\r\n\t\t\t\tp2.x = x;\r\n\t\t\t\tp2.y = y;\r\n\t\t\t\tstrokePointCount++;\r\n\t\t\t\tstrokePointCount++;\r\n\t\t\t\tcanvas_context.stroke();\r\n\t\t\t\t\r\n\t\t\t\t/* add index to indexes list */\r\n\t\t\t\tindexes.add(cache.size());\r\n\t\t\t\tcache.add(new Vector2(x, y));\r\n\t\t\t\tstrokeSizes.add(strokeSize);\r\n\t\t\t\tcolorCache.add(pathColor);\r\n\t\t\t\t\r\n\t\t\t\t/* set stroke color, size, and shadow */\r\n\t\t\t\tcanvas_context.setStrokeStyle(pathColor.getColorCode());\r\n\t\t\t\tcanvas_context.setFillStyle(pathColor.getColorCode());\r\n\t\t\t\tcanvas_context.setLineWidth(((double) strokeSize) * 0.4);\r\n\t\t\t\tcanvas_context.beginPath();\r\n\t\t\t\tcanvas_context.arc(x, y, ((double) strokeSize) * 0.4, 0,\r\n\t\t\t\t\t\t2 * Math.PI);\r\n\t\t\t\tcanvas_context.fill();\r\n\t\t\t\t\r\n\t\t\t\tbufferCount = 3;\r\n\r\n\t\t\t}\r\n\t\t}\r\n\t\tcanvas_context.stroke();\r\n\t\tstrokePointCount = 0;\r\n\t}", "@SuppressWarnings(\"unchecked\")\n\tprotected void grow(){\n\t\t// makes new arraylist\n\t\tT[] temp = (T[]) new Object[data.length *2];\n\t\tfor(int i = 0; i < data.length; i++ ){\n\t\t\ttemp[i] = data[i];\n\t\t}\n\t\tdata = temp;\n\t}", "private double[][] emptyW() {\n double[][] temp = new double[inputLayerSize][numNodeFeatures];\n for (int i = 0; i < inputLayerSize; i++) {\n temp[i] = new double[numNodeFeatures];\n }\n return temp;\n }", "private void updateHiddenLayersErrors() {\r\n\t\t// Back iterate hidden layers\r\n\t\tList<Layer> layers = getNetwork().getLayers();\r\n\t\tfor (int i = layers.size() - 2; i > 0; i--) {\r\n\t\t\tLayer layer = layers.get(i);\r\n\t\t\t// Iterate the neurons of the layer\r\n\t\t\tList<Neuron> neurons = layer.getNeurons();\r\n\t\t\tfor (Neuron neuron : neurons) {\r\n\t\t\t\t// Do update.\r\n\t\t\t\tupdateHiddenLayersErrors(neuron);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public Path visualizeAllFilters() throws ParseException{\n\t\tint nombreFiltres = (int) Math.ceil(Math.sqrt(this.layers[1].length));\n\t\tint pixelParFiltre = (int) Math.sqrt(this.layers[0].length);\n\t\tint ecart = (nombreFiltres-1);\n\t\tint taille = (nombreFiltres*pixelParFiltre)+ecart;\n\t\tdouble[][] allFilters = new double[taille][taille];\n\t\tfor(int k=0; k<taille; k++){\n\t\t\tfor(int j = 0; j<taille; j++){\n\t\t\t\tallFilters[k][j] = 1; \n\t\t\t}\n\t\t}\n\n\t\t\n\t\tfor(int i=0; i < this.layers[1].length; i++){\n\n\t\t\tdouble[] image1DFilter = new double[this.layers[0].length];\n\n\t\t\t/*For each filter we put one output \n\t\t\t * node to 1 the others to 0\n\t\t\t */\n\t\t\t\n\t\t\t\n\t\t\tfor(int j=0; j<this.layers[1].length; j++){\n\t\t\t\tif (j==i){\n\t\t\t\t\tthis.layers[1][j].setState(1);\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tthis.layers[1][j].setState(0);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t/*We update the visible layer given the distribution\n\t\t\t * of the hidden layer we set and store it in image1DFilter\n\t\t\t * \n\t\t\t */\n\t\t\t\n\t\t\t/*for(int k = 0; k < this.layers[0].length; k++){\n\t\t\t\tdouble x = this.layers[0][i].getBias();\n\t\t\t\tfor(int j = 0; j < this.layers[(0 + 1) % 2].length; j++){\n\t\t\t\t\tx += this.connections[k][j]*this.layers[1][j].getState();\n\t\t\t\t}\n\t\t\t\timage1DFilter[k]=Sigmoid.getINSTANCE().apply(x);\n\t\t\t}*/\n\t\t\t\n\t\t\tfor(int k = 0; k < this.layers[0].length; k++){\n\t\t\t\tdouble x = this.layers[0][k].getBias();\n\t\t\t\tx += this.connections[k][i];\n\t\t\t\timage1DFilter[k]=Sigmoid.getINSTANCE().apply(x);\n\t\t\t}\n\t\t\t\n\n\t\t\tdouble [][]image2DFilter = Tools.image1Dto2Ddouble(image1DFilter, pixelParFiltre, pixelParFiltre);\n\n\t\t\tint rang = i % nombreFiltres;\n\t\t\tint ligne =(int) Math.floor(i/nombreFiltres);\n\t\t\t\n\t\t\t// System.out.println(ligne + \",\" + rang );\n\n\t\t\tfor(int k = 0; k< image2DFilter[0].length; k++){\n\t\t\t\tfor(int j = 0; j<image2DFilter[0].length; j++){\n\t\t\t\t\tallFilters[ligne*(pixelParFiltre+1)+k][rang*(pixelParFiltre+1)+j]=image2DFilter[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t/*\n\t\t\t * for(int o=0; o<image2DFilter[0].length -1 ; o++){\n\t\t\t\tfor(int j=0; j<image2DFilter[1].length; j++){\n\t\t\t\t\tSystem.out.println(image2DFilter[i][j]);\n\t\t\t\t}\n\t\t\t}\n\t\t\t *\n\t\t\t */\n\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\tOutputWeights output = new OutputWeights(allFilters);\n\t\tString date = \"_\" + LocalDateTime.now();\n\t\tint month = LocalDateTime.now().getMonthValue();\n\t\tint year = LocalDateTime.now().getYear();\n\t\tint day = LocalDateTime.now().getDayOfMonth();\n\t\tint hour = LocalDateTime.now().getHour();\n\t\tint minute = LocalDateTime.now().getMinute();\n\t\tint seconde = LocalDateTime.now().getSecond();\n\t\t\n\t\tdate = day + \"-\" + month + \"-\" + year + \"_\" + hour + \"h\" + minute + \"m\" + seconde;\n\t\t\n\t\tPath path = Paths.get(\"RBM_Filters/Filtre_\" + date, date + \"_AllFilters\" + \".bmp\");\n\t\tFile f = new File(\"RBM_Filters/Filtre_\" + date);\n\t\tf.mkdirs();\n\t\ttry {\n\t\t\toutput.toBmp(path);\n\t\t\tSystem.out.println(\"Images Cr�es\");\n\t\t} catch (java.io.IOException e) {\n\n\t\t\tSystem.out.println(\"Exception\");\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\treturn path;\n\t\t\n\t}", "SourceBuilder createRestServiceLayers();", "public void updateOnCtWindowChange() {\n int[] displayImageData = resolveRaw(imgData[currentLayer]);\n raster.setPixels(0, 0, imgWidth, imgHeight, displayImageData);\n image.setData(raster);\n }", "public void initTiles(Renderer r) {\n\n\t\tshadowMap = new int[tiles.length][tiles[0].length];\n\n\t\tfor (int i = 0; i < tiles.length; i++) {\n\t\t\tfor (int j = 0; j < tiles[0].length; j++) {\n\t\t\t\t// r.addModel(tiles[i][j].getModel());\n\t\t\t\tTile tile = tiles[i][j];\n\n\t\t\t\t// Add model of the tile\n\t\t\t\tr.addModel(tile.getModel());\n\n\t\t\t\t// Setup shadow map\n\t\t\t\tif (tile.blockLight()) {\n\t\t\t\t\tshadowMap[i][j] = 1;\n\t\t\t\t} else {\n\t\t\t\t\tshadowMap[i][j] = 0;\n\t\t\t\t}\n\n\t\t\t\t// If there are any items add them too\n\t\t\t\tif (tile instanceof BasicFloor) {\n\t\t\t\t\tBasicFloor floor = (BasicFloor) tile;\n\t\t\t\t\tif (!floor.getItems().isEmpty()) {\n\t\t\t\t\t\tfor (Item item : floor.getItems()) {\n\t\t\t\t\t\t\tr.addModelData(item.getModelData());\n\t\t\t\t\t\t\tr.addModel(item.getModel());\n\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\tr.getCamera(\"MainCamera\").setTarget(\n\t\t\t\tnew Vec3(tiles.length / 2 * 0.2, 0, tiles[0].length / 2 * 0.2));\n\t\tr.setMap(shadowMap);\n\t}" ]
[ "0.6552287", "0.62102294", "0.60324115", "0.6023765", "0.59932363", "0.5858593", "0.5758369", "0.5756109", "0.5714178", "0.5669856", "0.56685084", "0.5668221", "0.56654304", "0.56207335", "0.5602589", "0.5593488", "0.5541193", "0.54401314", "0.54078954", "0.53978264", "0.5380546", "0.5363142", "0.5361274", "0.53405476", "0.5332252", "0.53298753", "0.53288037", "0.52841556", "0.52802217", "0.5278048", "0.52742654", "0.52667856", "0.5238063", "0.5230427", "0.5221525", "0.5203159", "0.51924616", "0.51857245", "0.5177815", "0.5160926", "0.5131555", "0.5119393", "0.5115931", "0.5104919", "0.5085394", "0.5061694", "0.5058074", "0.5013586", "0.5012361", "0.50103074", "0.5004184", "0.49999735", "0.49837735", "0.49510902", "0.494909", "0.49458972", "0.4943022", "0.49401623", "0.49254835", "0.4921818", "0.49194434", "0.49193627", "0.49156693", "0.4906357", "0.48942193", "0.48937103", "0.48902163", "0.4889286", "0.48877284", "0.48748246", "0.4866013", "0.4865006", "0.48576343", "0.48566002", "0.48521787", "0.48459455", "0.48394173", "0.4829468", "0.48281664", "0.48105687", "0.4802319", "0.47967026", "0.47922692", "0.47900912", "0.4784741", "0.47838214", "0.47824284", "0.4775926", "0.47659492", "0.47596014", "0.47542894", "0.47541508", "0.47489697", "0.47447807", "0.4744267", "0.47372818", "0.4734756", "0.4721307", "0.4716392", "0.4712732" ]
0.80134696
0
The Package for the model. It contains accessors for the meta objects to represent each class, each feature of each class, each operation of each class, each enum, and each data type
public interface IotdslPackage extends EPackage { /** * The package name. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ String eNAME = "iotdsl"; /** * The package namespace URI. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ String eNS_URI = "http://www.unamur.be/iot/IoTDSL"; /** * The package namespace name. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ String eNS_PREFIX = "iotdsl"; /** * The singleton instance of the package. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ IotdslPackage eINSTANCE = be.unamur.iot.iotdsl.impl.IotdslPackageImpl.init(); /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.IotModelImpl <em>Iot Model</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.IotModelImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getIotModel() * @generated */ int IOT_MODEL = 0; /** * The feature id for the '<em><b>Imports</b></em>' containment reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int IOT_MODEL__IMPORTS = 0; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int IOT_MODEL__NAME = 1; /** * The feature id for the '<em><b>Content</b></em>' containment reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int IOT_MODEL__CONTENT = 2; /** * The number of structural features of the '<em>Iot Model</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int IOT_MODEL_FEATURE_COUNT = 3; /** * The number of operations of the '<em>Iot Model</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int IOT_MODEL_OPERATION_COUNT = 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.ImportImpl <em>Import</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.ImportImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getImport() * @generated */ int IMPORT = 1; /** * The feature id for the '<em><b>Imported Namespace</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int IMPORT__IMPORTED_NAMESPACE = 0; /** * The number of structural features of the '<em>Import</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int IMPORT_FEATURE_COUNT = 1; /** * The number of operations of the '<em>Import</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int IMPORT_OPERATION_COUNT = 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.ContentImpl <em>Content</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.ContentImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getContent() * @generated */ int CONTENT = 2; /** * The number of structural features of the '<em>Content</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int CONTENT_FEATURE_COUNT = 0; /** * The number of operations of the '<em>Content</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int CONTENT_OPERATION_COUNT = 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.TypeImpl <em>Type</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.TypeImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getType() * @generated */ int TYPE = 3; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int TYPE__NAME = CONTENT_FEATURE_COUNT + 0; /** * The number of structural features of the '<em>Type</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int TYPE_FEATURE_COUNT = CONTENT_FEATURE_COUNT + 1; /** * The number of operations of the '<em>Type</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int TYPE_OPERATION_COUNT = CONTENT_OPERATION_COUNT + 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.PrimitiveTypeImpl <em>Primitive Type</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.PrimitiveTypeImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getPrimitiveType() * @generated */ int PRIMITIVE_TYPE = 4; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int PRIMITIVE_TYPE__NAME = TYPE__NAME; /** * The number of structural features of the '<em>Primitive Type</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int PRIMITIVE_TYPE_FEATURE_COUNT = TYPE_FEATURE_COUNT + 0; /** * The number of operations of the '<em>Primitive Type</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int PRIMITIVE_TYPE_OPERATION_COUNT = TYPE_OPERATION_COUNT + 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.DeclaredTypeImpl <em>Declared Type</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.DeclaredTypeImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getDeclaredType() * @generated */ int DECLARED_TYPE = 5; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int DECLARED_TYPE__NAME = TYPE__NAME; /** * The number of structural features of the '<em>Declared Type</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int DECLARED_TYPE_FEATURE_COUNT = TYPE_FEATURE_COUNT + 0; /** * The number of operations of the '<em>Declared Type</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int DECLARED_TYPE_OPERATION_COUNT = TYPE_OPERATION_COUNT + 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.EnumerationImpl <em>Enumeration</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.EnumerationImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getEnumeration() * @generated */ int ENUMERATION = 6; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ENUMERATION__NAME = DECLARED_TYPE__NAME; /** * The feature id for the '<em><b>Literals</b></em>' containment reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ENUMERATION__LITERALS = DECLARED_TYPE_FEATURE_COUNT + 0; /** * The number of structural features of the '<em>Enumeration</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ENUMERATION_FEATURE_COUNT = DECLARED_TYPE_FEATURE_COUNT + 1; /** * The number of operations of the '<em>Enumeration</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ENUMERATION_OPERATION_COUNT = DECLARED_TYPE_OPERATION_COUNT + 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.EnumLiteralImpl <em>Enum Literal</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.EnumLiteralImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getEnumLiteral() * @generated */ int ENUM_LITERAL = 7; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ENUM_LITERAL__NAME = 0; /** * The number of structural features of the '<em>Enum Literal</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ENUM_LITERAL_FEATURE_COUNT = 1; /** * The number of operations of the '<em>Enum Literal</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ENUM_LITERAL_OPERATION_COUNT = 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.NodeImpl <em>Node</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.NodeImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getNode() * @generated */ int NODE = 8; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int NODE__NAME = DECLARED_TYPE__NAME; /** * The number of structural features of the '<em>Node</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int NODE_FEATURE_COUNT = DECLARED_TYPE_FEATURE_COUNT + 0; /** * The number of operations of the '<em>Node</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int NODE_OPERATION_COUNT = DECLARED_TYPE_OPERATION_COUNT + 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.DeviceImpl <em>Device</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.DeviceImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getDevice() * @generated */ int DEVICE = 9; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int DEVICE__NAME = NODE__NAME; /** * The feature id for the '<em><b>Features</b></em>' containment reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int DEVICE__FEATURES = NODE_FEATURE_COUNT + 0; /** * The number of structural features of the '<em>Device</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int DEVICE_FEATURE_COUNT = NODE_FEATURE_COUNT + 1; /** * The number of operations of the '<em>Device</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int DEVICE_OPERATION_COUNT = NODE_OPERATION_COUNT + 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.GatewayImpl <em>Gateway</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.GatewayImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getGateway() * @generated */ int GATEWAY = 10; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int GATEWAY__NAME = NODE__NAME; /** * The number of structural features of the '<em>Gateway</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int GATEWAY_FEATURE_COUNT = NODE_FEATURE_COUNT + 0; /** * The number of operations of the '<em>Gateway</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int GATEWAY_OPERATION_COUNT = NODE_OPERATION_COUNT + 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.FeatureImpl <em>Feature</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.FeatureImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getFeature() * @generated */ int FEATURE = 11; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int FEATURE__NAME = 0; /** * The number of structural features of the '<em>Feature</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int FEATURE_FEATURE_COUNT = 1; /** * The number of operations of the '<em>Feature</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int FEATURE_OPERATION_COUNT = 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.PropertyImpl <em>Property</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.PropertyImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getProperty() * @generated */ int PROPERTY = 12; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int PROPERTY__NAME = FEATURE__NAME; /** * The feature id for the '<em><b>Value</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int PROPERTY__VALUE = FEATURE_FEATURE_COUNT + 0; /** * The number of structural features of the '<em>Property</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int PROPERTY_FEATURE_COUNT = FEATURE_FEATURE_COUNT + 1; /** * The number of operations of the '<em>Property</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int PROPERTY_OPERATION_COUNT = FEATURE_OPERATION_COUNT + 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.CapabilityImpl <em>Capability</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.CapabilityImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getCapability() * @generated */ int CAPABILITY = 13; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int CAPABILITY__NAME = FEATURE__NAME; /** * The feature id for the '<em><b>Parameters</b></em>' containment reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int CAPABILITY__PARAMETERS = FEATURE_FEATURE_COUNT + 0; /** * The number of structural features of the '<em>Capability</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int CAPABILITY_FEATURE_COUNT = FEATURE_FEATURE_COUNT + 1; /** * The number of operations of the '<em>Capability</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int CAPABILITY_OPERATION_COUNT = FEATURE_OPERATION_COUNT + 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.ActuatingImpl <em>Actuating</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.ActuatingImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getActuating() * @generated */ int ACTUATING = 14; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ACTUATING__NAME = CAPABILITY__NAME; /** * The feature id for the '<em><b>Parameters</b></em>' containment reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ACTUATING__PARAMETERS = CAPABILITY__PARAMETERS; /** * The number of structural features of the '<em>Actuating</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ACTUATING_FEATURE_COUNT = CAPABILITY_FEATURE_COUNT + 0; /** * The number of operations of the '<em>Actuating</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ACTUATING_OPERATION_COUNT = CAPABILITY_OPERATION_COUNT + 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.SensingImpl <em>Sensing</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.SensingImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getSensing() * @generated */ int SENSING = 15; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int SENSING__NAME = CAPABILITY__NAME; /** * The feature id for the '<em><b>Parameters</b></em>' containment reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int SENSING__PARAMETERS = CAPABILITY__PARAMETERS; /** * The number of structural features of the '<em>Sensing</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int SENSING_FEATURE_COUNT = CAPABILITY_FEATURE_COUNT + 0; /** * The number of operations of the '<em>Sensing</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int SENSING_OPERATION_COUNT = CAPABILITY_OPERATION_COUNT + 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.ParameterImpl <em>Parameter</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.ParameterImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getParameter() * @generated */ int PARAMETER = 16; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int PARAMETER__NAME = 0; /** * The feature id for the '<em><b>Type</b></em>' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int PARAMETER__TYPE = 1; /** * The number of structural features of the '<em>Parameter</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int PARAMETER_FEATURE_COUNT = 2; /** * The number of operations of the '<em>Parameter</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int PARAMETER_OPERATION_COUNT = 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.ConfigurationImpl <em>Configuration</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.ConfigurationImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getConfiguration() * @generated */ int CONFIGURATION = 17; /** * The feature id for the '<em><b>Confname</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int CONFIGURATION__CONFNAME = CONTENT_FEATURE_COUNT + 0; /** * The feature id for the '<em><b>Nodes</b></em>' containment reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int CONFIGURATION__NODES = CONTENT_FEATURE_COUNT + 1; /** * The feature id for the '<em><b>Paths</b></em>' containment reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int CONFIGURATION__PATHS = CONTENT_FEATURE_COUNT + 2; /** * The number of structural features of the '<em>Configuration</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int CONFIGURATION_FEATURE_COUNT = CONTENT_FEATURE_COUNT + 3; /** * The number of operations of the '<em>Configuration</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int CONFIGURATION_OPERATION_COUNT = CONTENT_OPERATION_COUNT + 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.NodeInstanceImpl <em>Node Instance</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.NodeInstanceImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getNodeInstance() * @generated */ int NODE_INSTANCE = 18; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int NODE_INSTANCE__NAME = 0; /** * The feature id for the '<em><b>Type</b></em>' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int NODE_INSTANCE__TYPE = 1; /** * The number of structural features of the '<em>Node Instance</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int NODE_INSTANCE_FEATURE_COUNT = 2; /** * The number of operations of the '<em>Node Instance</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int NODE_INSTANCE_OPERATION_COUNT = 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.CommunicationPathImpl <em>Communication Path</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.CommunicationPathImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getCommunicationPath() * @generated */ int COMMUNICATION_PATH = 19; /** * The feature id for the '<em><b>Source</b></em>' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int COMMUNICATION_PATH__SOURCE = 0; /** * The feature id for the '<em><b>Taget</b></em>' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int COMMUNICATION_PATH__TAGET = 1; /** * The feature id for the '<em><b>Protocol</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int COMMUNICATION_PATH__PROTOCOL = 2; /** * The number of structural features of the '<em>Communication Path</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int COMMUNICATION_PATH_FEATURE_COUNT = 3; /** * The number of operations of the '<em>Communication Path</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int COMMUNICATION_PATH_OPERATION_COUNT = 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.RuleImpl <em>Rule</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.RuleImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getRule() * @generated */ int RULE = 20; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int RULE__NAME = CONTENT_FEATURE_COUNT + 0; /** * The feature id for the '<em><b>Triggers</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int RULE__TRIGGERS = CONTENT_FEATURE_COUNT + 1; /** * The feature id for the '<em><b>Reactions</b></em>' containment reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int RULE__REACTIONS = CONTENT_FEATURE_COUNT + 2; /** * The number of structural features of the '<em>Rule</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int RULE_FEATURE_COUNT = CONTENT_FEATURE_COUNT + 3; /** * The number of operations of the '<em>Rule</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int RULE_OPERATION_COUNT = CONTENT_OPERATION_COUNT + 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.ExpressionImpl <em>Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.ExpressionImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getExpression() * @generated */ int EXPRESSION = 21; /** * The number of structural features of the '<em>Expression</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int EXPRESSION_FEATURE_COUNT = 0; /** * The number of operations of the '<em>Expression</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int EXPRESSION_OPERATION_COUNT = 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.DelayImpl <em>Delay</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.DelayImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getDelay() * @generated */ int DELAY = 22; /** * The feature id for the '<em><b>Time</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int DELAY__TIME = 0; /** * The feature id for the '<em><b>Unit</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int DELAY__UNIT = 1; /** * The number of structural features of the '<em>Delay</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int DELAY_FEATURE_COUNT = 2; /** * The number of operations of the '<em>Delay</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int DELAY_OPERATION_COUNT = 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.NotExpressionImpl <em>Not Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.NotExpressionImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getNotExpression() * @generated */ int NOT_EXPRESSION = 23; /** * The feature id for the '<em><b>Event</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int NOT_EXPRESSION__EVENT = EXPRESSION_FEATURE_COUNT + 0; /** * The number of structural features of the '<em>Not Expression</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int NOT_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1; /** * The number of operations of the '<em>Not Expression</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int NOT_EXPRESSION_OPERATION_COUNT = EXPRESSION_OPERATION_COUNT + 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.EventOccurrenceImpl <em>Event Occurrence</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.EventOccurrenceImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getEventOccurrence() * @generated */ int EVENT_OCCURRENCE = 24; /** * The feature id for the '<em><b>Instance</b></em>' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int EVENT_OCCURRENCE__INSTANCE = EXPRESSION_FEATURE_COUNT + 0; /** * The feature id for the '<em><b>Capability</b></em>' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int EVENT_OCCURRENCE__CAPABILITY = EXPRESSION_FEATURE_COUNT + 1; /** * The feature id for the '<em><b>Attributes</b></em>' containment reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int EVENT_OCCURRENCE__ATTRIBUTES = EXPRESSION_FEATURE_COUNT + 2; /** * The feature id for the '<em><b>Operator</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int EVENT_OCCURRENCE__OPERATOR = EXPRESSION_FEATURE_COUNT + 3; /** * The feature id for the '<em><b>Value</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int EVENT_OCCURRENCE__VALUE = EXPRESSION_FEATURE_COUNT + 4; /** * The number of structural features of the '<em>Event Occurrence</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int EVENT_OCCURRENCE_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 5; /** * The number of operations of the '<em>Event Occurrence</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int EVENT_OCCURRENCE_OPERATION_COUNT = EXPRESSION_OPERATION_COUNT + 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.ReactionImpl <em>Reaction</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.ReactionImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getReaction() * @generated */ int REACTION = 25; /** * The feature id for the '<em><b>Instance</b></em>' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int REACTION__INSTANCE = 0; /** * The feature id for the '<em><b>Capability</b></em>' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int REACTION__CAPABILITY = 1; /** * The feature id for the '<em><b>Attributes</b></em>' containment reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int REACTION__ATTRIBUTES = 2; /** * The number of structural features of the '<em>Reaction</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int REACTION_FEATURE_COUNT = 3; /** * The number of operations of the '<em>Reaction</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int REACTION_OPERATION_COUNT = 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.AttributeImpl <em>Attribute</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.AttributeImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getAttribute() * @generated */ int ATTRIBUTE = 26; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ATTRIBUTE__NAME = 0; /** * The number of structural features of the '<em>Attribute</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ATTRIBUTE_FEATURE_COUNT = 1; /** * The number of operations of the '<em>Attribute</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ATTRIBUTE_OPERATION_COUNT = 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.AndExpressionImpl <em>And Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.AndExpressionImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getAndExpression() * @generated */ int AND_EXPRESSION = 27; /** * The feature id for the '<em><b>Left</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int AND_EXPRESSION__LEFT = EXPRESSION_FEATURE_COUNT + 0; /** * The feature id for the '<em><b>Right</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int AND_EXPRESSION__RIGHT = EXPRESSION_FEATURE_COUNT + 1; /** * The number of structural features of the '<em>And Expression</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int AND_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; /** * The number of operations of the '<em>And Expression</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int AND_EXPRESSION_OPERATION_COUNT = EXPRESSION_OPERATION_COUNT + 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.TimingExpressionImpl <em>Timing Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.TimingExpressionImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getTimingExpression() * @generated */ int TIMING_EXPRESSION = 28; /** * The feature id for the '<em><b>Following</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int TIMING_EXPRESSION__FOLLOWING = EXPRESSION_FEATURE_COUNT + 0; /** * The feature id for the '<em><b>Preceding</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int TIMING_EXPRESSION__PRECEDING = EXPRESSION_FEATURE_COUNT + 1; /** * The number of structural features of the '<em>Timing Expression</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int TIMING_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; /** * The number of operations of the '<em>Timing Expression</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int TIMING_EXPRESSION_OPERATION_COUNT = EXPRESSION_OPERATION_COUNT + 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.WithinExpressionImpl <em>Within Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.WithinExpressionImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getWithinExpression() * @generated */ int WITHIN_EXPRESSION = 29; /** * The feature id for the '<em><b>Following</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int WITHIN_EXPRESSION__FOLLOWING = TIMING_EXPRESSION__FOLLOWING; /** * The feature id for the '<em><b>Preceding</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int WITHIN_EXPRESSION__PRECEDING = TIMING_EXPRESSION__PRECEDING; /** * The feature id for the '<em><b>Delay</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int WITHIN_EXPRESSION__DELAY = TIMING_EXPRESSION_FEATURE_COUNT + 0; /** * The number of structural features of the '<em>Within Expression</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int WITHIN_EXPRESSION_FEATURE_COUNT = TIMING_EXPRESSION_FEATURE_COUNT + 1; /** * The number of operations of the '<em>Within Expression</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int WITHIN_EXPRESSION_OPERATION_COUNT = TIMING_EXPRESSION_OPERATION_COUNT + 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.AfterExpressionImpl <em>After Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.AfterExpressionImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getAfterExpression() * @generated */ int AFTER_EXPRESSION = 30; /** * The feature id for the '<em><b>Following</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int AFTER_EXPRESSION__FOLLOWING = TIMING_EXPRESSION__FOLLOWING; /** * The feature id for the '<em><b>Preceding</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int AFTER_EXPRESSION__PRECEDING = TIMING_EXPRESSION__PRECEDING; /** * The number of structural features of the '<em>After Expression</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int AFTER_EXPRESSION_FEATURE_COUNT = TIMING_EXPRESSION_FEATURE_COUNT + 0; /** * The number of operations of the '<em>After Expression</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int AFTER_EXPRESSION_OPERATION_COUNT = TIMING_EXPRESSION_OPERATION_COUNT + 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.ValueImpl <em>Value</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.ValueImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getValue() * @generated */ int VALUE = 31; /** * The number of structural features of the '<em>Value</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int VALUE_FEATURE_COUNT = 0; /** * The number of operations of the '<em>Value</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int VALUE_OPERATION_COUNT = 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.StringConstantImpl <em>String Constant</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.StringConstantImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getStringConstant() * @generated */ int STRING_CONSTANT = 32; /** * The feature id for the '<em><b>Value</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int STRING_CONSTANT__VALUE = VALUE_FEATURE_COUNT + 0; /** * The number of structural features of the '<em>String Constant</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int STRING_CONSTANT_FEATURE_COUNT = VALUE_FEATURE_COUNT + 1; /** * The number of operations of the '<em>String Constant</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int STRING_CONSTANT_OPERATION_COUNT = VALUE_OPERATION_COUNT + 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.IntConstantImpl <em>Int Constant</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.IntConstantImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getIntConstant() * @generated */ int INT_CONSTANT = 33; /** * The feature id for the '<em><b>Value</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int INT_CONSTANT__VALUE = VALUE_FEATURE_COUNT + 0; /** * The number of structural features of the '<em>Int Constant</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int INT_CONSTANT_FEATURE_COUNT = VALUE_FEATURE_COUNT + 1; /** * The number of operations of the '<em>Int Constant</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int INT_CONSTANT_OPERATION_COUNT = VALUE_OPERATION_COUNT + 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.impl.BoolConstantImpl <em>Bool Constant</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.BoolConstantImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getBoolConstant() * @generated */ int BOOL_CONSTANT = 34; /** * The feature id for the '<em><b>Value</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int BOOL_CONSTANT__VALUE = VALUE_FEATURE_COUNT + 0; /** * The number of structural features of the '<em>Bool Constant</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int BOOL_CONSTANT_FEATURE_COUNT = VALUE_FEATURE_COUNT + 1; /** * The number of operations of the '<em>Bool Constant</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int BOOL_CONSTANT_OPERATION_COUNT = VALUE_OPERATION_COUNT + 0; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.DefaultType <em>Default Type</em>}' enum. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.DefaultType * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getDefaultType() * @generated */ int DEFAULT_TYPE = 35; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.Operator <em>Operator</em>}' enum. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.Operator * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getOperator() * @generated */ int OPERATOR = 36; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.Protocol <em>Protocol</em>}' enum. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.Protocol * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getProtocol() * @generated */ int PROTOCOL = 37; /** * The meta object id for the '{@link be.unamur.iot.iotdsl.Unit <em>Unit</em>}' enum. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.Unit * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getUnit() * @generated */ int UNIT = 38; /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.IotModel <em>Iot Model</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Iot Model</em>'. * @see be.unamur.iot.iotdsl.IotModel * @generated */ EClass getIotModel(); /** * Returns the meta object for the containment reference list '{@link be.unamur.iot.iotdsl.IotModel#getImports <em>Imports</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference list '<em>Imports</em>'. * @see be.unamur.iot.iotdsl.IotModel#getImports() * @see #getIotModel() * @generated */ EReference getIotModel_Imports(); /** * Returns the meta object for the attribute '{@link be.unamur.iot.iotdsl.IotModel#getName <em>Name</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the attribute '<em>Name</em>'. * @see be.unamur.iot.iotdsl.IotModel#getName() * @see #getIotModel() * @generated */ EAttribute getIotModel_Name(); /** * Returns the meta object for the containment reference list '{@link be.unamur.iot.iotdsl.IotModel#getContent <em>Content</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference list '<em>Content</em>'. * @see be.unamur.iot.iotdsl.IotModel#getContent() * @see #getIotModel() * @generated */ EReference getIotModel_Content(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.Import <em>Import</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Import</em>'. * @see be.unamur.iot.iotdsl.Import * @generated */ EClass getImport(); /** * Returns the meta object for the attribute '{@link be.unamur.iot.iotdsl.Import#getImportedNamespace <em>Imported Namespace</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the attribute '<em>Imported Namespace</em>'. * @see be.unamur.iot.iotdsl.Import#getImportedNamespace() * @see #getImport() * @generated */ EAttribute getImport_ImportedNamespace(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.Content <em>Content</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Content</em>'. * @see be.unamur.iot.iotdsl.Content * @generated */ EClass getContent(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.Type <em>Type</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Type</em>'. * @see be.unamur.iot.iotdsl.Type * @generated */ EClass getType(); /** * Returns the meta object for the attribute '{@link be.unamur.iot.iotdsl.Type#getName <em>Name</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the attribute '<em>Name</em>'. * @see be.unamur.iot.iotdsl.Type#getName() * @see #getType() * @generated */ EAttribute getType_Name(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.PrimitiveType <em>Primitive Type</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Primitive Type</em>'. * @see be.unamur.iot.iotdsl.PrimitiveType * @generated */ EClass getPrimitiveType(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.DeclaredType <em>Declared Type</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Declared Type</em>'. * @see be.unamur.iot.iotdsl.DeclaredType * @generated */ EClass getDeclaredType(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.Enumeration <em>Enumeration</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Enumeration</em>'. * @see be.unamur.iot.iotdsl.Enumeration * @generated */ EClass getEnumeration(); /** * Returns the meta object for the containment reference list '{@link be.unamur.iot.iotdsl.Enumeration#getLiterals <em>Literals</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference list '<em>Literals</em>'. * @see be.unamur.iot.iotdsl.Enumeration#getLiterals() * @see #getEnumeration() * @generated */ EReference getEnumeration_Literals(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.EnumLiteral <em>Enum Literal</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Enum Literal</em>'. * @see be.unamur.iot.iotdsl.EnumLiteral * @generated */ EClass getEnumLiteral(); /** * Returns the meta object for the attribute '{@link be.unamur.iot.iotdsl.EnumLiteral#getName <em>Name</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the attribute '<em>Name</em>'. * @see be.unamur.iot.iotdsl.EnumLiteral#getName() * @see #getEnumLiteral() * @generated */ EAttribute getEnumLiteral_Name(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.Node <em>Node</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Node</em>'. * @see be.unamur.iot.iotdsl.Node * @generated */ EClass getNode(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.Device <em>Device</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Device</em>'. * @see be.unamur.iot.iotdsl.Device * @generated */ EClass getDevice(); /** * Returns the meta object for the containment reference list '{@link be.unamur.iot.iotdsl.Device#getFeatures <em>Features</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference list '<em>Features</em>'. * @see be.unamur.iot.iotdsl.Device#getFeatures() * @see #getDevice() * @generated */ EReference getDevice_Features(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.Gateway <em>Gateway</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Gateway</em>'. * @see be.unamur.iot.iotdsl.Gateway * @generated */ EClass getGateway(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.Feature <em>Feature</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Feature</em>'. * @see be.unamur.iot.iotdsl.Feature * @generated */ EClass getFeature(); /** * Returns the meta object for the attribute '{@link be.unamur.iot.iotdsl.Feature#getName <em>Name</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the attribute '<em>Name</em>'. * @see be.unamur.iot.iotdsl.Feature#getName() * @see #getFeature() * @generated */ EAttribute getFeature_Name(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.Property <em>Property</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Property</em>'. * @see be.unamur.iot.iotdsl.Property * @generated */ EClass getProperty(); /** * Returns the meta object for the containment reference '{@link be.unamur.iot.iotdsl.Property#getValue <em>Value</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference '<em>Value</em>'. * @see be.unamur.iot.iotdsl.Property#getValue() * @see #getProperty() * @generated */ EReference getProperty_Value(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.Capability <em>Capability</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Capability</em>'. * @see be.unamur.iot.iotdsl.Capability * @generated */ EClass getCapability(); /** * Returns the meta object for the containment reference list '{@link be.unamur.iot.iotdsl.Capability#getParameters <em>Parameters</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference list '<em>Parameters</em>'. * @see be.unamur.iot.iotdsl.Capability#getParameters() * @see #getCapability() * @generated */ EReference getCapability_Parameters(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.Actuating <em>Actuating</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Actuating</em>'. * @see be.unamur.iot.iotdsl.Actuating * @generated */ EClass getActuating(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.Sensing <em>Sensing</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Sensing</em>'. * @see be.unamur.iot.iotdsl.Sensing * @generated */ EClass getSensing(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.Parameter <em>Parameter</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Parameter</em>'. * @see be.unamur.iot.iotdsl.Parameter * @generated */ EClass getParameter(); /** * Returns the meta object for the attribute '{@link be.unamur.iot.iotdsl.Parameter#getName <em>Name</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the attribute '<em>Name</em>'. * @see be.unamur.iot.iotdsl.Parameter#getName() * @see #getParameter() * @generated */ EAttribute getParameter_Name(); /** * Returns the meta object for the reference '{@link be.unamur.iot.iotdsl.Parameter#getType <em>Type</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the reference '<em>Type</em>'. * @see be.unamur.iot.iotdsl.Parameter#getType() * @see #getParameter() * @generated */ EReference getParameter_Type(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.Configuration <em>Configuration</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Configuration</em>'. * @see be.unamur.iot.iotdsl.Configuration * @generated */ EClass getConfiguration(); /** * Returns the meta object for the attribute '{@link be.unamur.iot.iotdsl.Configuration#getConfname <em>Confname</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the attribute '<em>Confname</em>'. * @see be.unamur.iot.iotdsl.Configuration#getConfname() * @see #getConfiguration() * @generated */ EAttribute getConfiguration_Confname(); /** * Returns the meta object for the containment reference list '{@link be.unamur.iot.iotdsl.Configuration#getNodes <em>Nodes</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference list '<em>Nodes</em>'. * @see be.unamur.iot.iotdsl.Configuration#getNodes() * @see #getConfiguration() * @generated */ EReference getConfiguration_Nodes(); /** * Returns the meta object for the containment reference list '{@link be.unamur.iot.iotdsl.Configuration#getPaths <em>Paths</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference list '<em>Paths</em>'. * @see be.unamur.iot.iotdsl.Configuration#getPaths() * @see #getConfiguration() * @generated */ EReference getConfiguration_Paths(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.NodeInstance <em>Node Instance</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Node Instance</em>'. * @see be.unamur.iot.iotdsl.NodeInstance * @generated */ EClass getNodeInstance(); /** * Returns the meta object for the attribute '{@link be.unamur.iot.iotdsl.NodeInstance#getName <em>Name</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the attribute '<em>Name</em>'. * @see be.unamur.iot.iotdsl.NodeInstance#getName() * @see #getNodeInstance() * @generated */ EAttribute getNodeInstance_Name(); /** * Returns the meta object for the reference '{@link be.unamur.iot.iotdsl.NodeInstance#getType <em>Type</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the reference '<em>Type</em>'. * @see be.unamur.iot.iotdsl.NodeInstance#getType() * @see #getNodeInstance() * @generated */ EReference getNodeInstance_Type(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.CommunicationPath <em>Communication Path</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Communication Path</em>'. * @see be.unamur.iot.iotdsl.CommunicationPath * @generated */ EClass getCommunicationPath(); /** * Returns the meta object for the reference '{@link be.unamur.iot.iotdsl.CommunicationPath#getSource <em>Source</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the reference '<em>Source</em>'. * @see be.unamur.iot.iotdsl.CommunicationPath#getSource() * @see #getCommunicationPath() * @generated */ EReference getCommunicationPath_Source(); /** * Returns the meta object for the reference '{@link be.unamur.iot.iotdsl.CommunicationPath#getTaget <em>Taget</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the reference '<em>Taget</em>'. * @see be.unamur.iot.iotdsl.CommunicationPath#getTaget() * @see #getCommunicationPath() * @generated */ EReference getCommunicationPath_Taget(); /** * Returns the meta object for the attribute '{@link be.unamur.iot.iotdsl.CommunicationPath#getProtocol <em>Protocol</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the attribute '<em>Protocol</em>'. * @see be.unamur.iot.iotdsl.CommunicationPath#getProtocol() * @see #getCommunicationPath() * @generated */ EAttribute getCommunicationPath_Protocol(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.Rule <em>Rule</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Rule</em>'. * @see be.unamur.iot.iotdsl.Rule * @generated */ EClass getRule(); /** * Returns the meta object for the attribute '{@link be.unamur.iot.iotdsl.Rule#getName <em>Name</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the attribute '<em>Name</em>'. * @see be.unamur.iot.iotdsl.Rule#getName() * @see #getRule() * @generated */ EAttribute getRule_Name(); /** * Returns the meta object for the containment reference '{@link be.unamur.iot.iotdsl.Rule#getTriggers <em>Triggers</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference '<em>Triggers</em>'. * @see be.unamur.iot.iotdsl.Rule#getTriggers() * @see #getRule() * @generated */ EReference getRule_Triggers(); /** * Returns the meta object for the containment reference list '{@link be.unamur.iot.iotdsl.Rule#getReactions <em>Reactions</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference list '<em>Reactions</em>'. * @see be.unamur.iot.iotdsl.Rule#getReactions() * @see #getRule() * @generated */ EReference getRule_Reactions(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.Expression <em>Expression</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Expression</em>'. * @see be.unamur.iot.iotdsl.Expression * @generated */ EClass getExpression(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.Delay <em>Delay</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Delay</em>'. * @see be.unamur.iot.iotdsl.Delay * @generated */ EClass getDelay(); /** * Returns the meta object for the attribute '{@link be.unamur.iot.iotdsl.Delay#getTime <em>Time</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the attribute '<em>Time</em>'. * @see be.unamur.iot.iotdsl.Delay#getTime() * @see #getDelay() * @generated */ EAttribute getDelay_Time(); /** * Returns the meta object for the attribute '{@link be.unamur.iot.iotdsl.Delay#getUnit <em>Unit</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the attribute '<em>Unit</em>'. * @see be.unamur.iot.iotdsl.Delay#getUnit() * @see #getDelay() * @generated */ EAttribute getDelay_Unit(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.NotExpression <em>Not Expression</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Not Expression</em>'. * @see be.unamur.iot.iotdsl.NotExpression * @generated */ EClass getNotExpression(); /** * Returns the meta object for the containment reference '{@link be.unamur.iot.iotdsl.NotExpression#getEvent <em>Event</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference '<em>Event</em>'. * @see be.unamur.iot.iotdsl.NotExpression#getEvent() * @see #getNotExpression() * @generated */ EReference getNotExpression_Event(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.EventOccurrence <em>Event Occurrence</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Event Occurrence</em>'. * @see be.unamur.iot.iotdsl.EventOccurrence * @generated */ EClass getEventOccurrence(); /** * Returns the meta object for the reference '{@link be.unamur.iot.iotdsl.EventOccurrence#getInstance <em>Instance</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the reference '<em>Instance</em>'. * @see be.unamur.iot.iotdsl.EventOccurrence#getInstance() * @see #getEventOccurrence() * @generated */ EReference getEventOccurrence_Instance(); /** * Returns the meta object for the reference '{@link be.unamur.iot.iotdsl.EventOccurrence#getCapability <em>Capability</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the reference '<em>Capability</em>'. * @see be.unamur.iot.iotdsl.EventOccurrence#getCapability() * @see #getEventOccurrence() * @generated */ EReference getEventOccurrence_Capability(); /** * Returns the meta object for the containment reference list '{@link be.unamur.iot.iotdsl.EventOccurrence#getAttributes <em>Attributes</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference list '<em>Attributes</em>'. * @see be.unamur.iot.iotdsl.EventOccurrence#getAttributes() * @see #getEventOccurrence() * @generated */ EReference getEventOccurrence_Attributes(); /** * Returns the meta object for the attribute '{@link be.unamur.iot.iotdsl.EventOccurrence#getOperator <em>Operator</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the attribute '<em>Operator</em>'. * @see be.unamur.iot.iotdsl.EventOccurrence#getOperator() * @see #getEventOccurrence() * @generated */ EAttribute getEventOccurrence_Operator(); /** * Returns the meta object for the containment reference '{@link be.unamur.iot.iotdsl.EventOccurrence#getValue <em>Value</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference '<em>Value</em>'. * @see be.unamur.iot.iotdsl.EventOccurrence#getValue() * @see #getEventOccurrence() * @generated */ EReference getEventOccurrence_Value(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.Reaction <em>Reaction</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Reaction</em>'. * @see be.unamur.iot.iotdsl.Reaction * @generated */ EClass getReaction(); /** * Returns the meta object for the reference '{@link be.unamur.iot.iotdsl.Reaction#getInstance <em>Instance</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the reference '<em>Instance</em>'. * @see be.unamur.iot.iotdsl.Reaction#getInstance() * @see #getReaction() * @generated */ EReference getReaction_Instance(); /** * Returns the meta object for the reference '{@link be.unamur.iot.iotdsl.Reaction#getCapability <em>Capability</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the reference '<em>Capability</em>'. * @see be.unamur.iot.iotdsl.Reaction#getCapability() * @see #getReaction() * @generated */ EReference getReaction_Capability(); /** * Returns the meta object for the containment reference list '{@link be.unamur.iot.iotdsl.Reaction#getAttributes <em>Attributes</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference list '<em>Attributes</em>'. * @see be.unamur.iot.iotdsl.Reaction#getAttributes() * @see #getReaction() * @generated */ EReference getReaction_Attributes(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.Attribute <em>Attribute</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Attribute</em>'. * @see be.unamur.iot.iotdsl.Attribute * @generated */ EClass getAttribute(); /** * Returns the meta object for the attribute '{@link be.unamur.iot.iotdsl.Attribute#getName <em>Name</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the attribute '<em>Name</em>'. * @see be.unamur.iot.iotdsl.Attribute#getName() * @see #getAttribute() * @generated */ EAttribute getAttribute_Name(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.AndExpression <em>And Expression</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>And Expression</em>'. * @see be.unamur.iot.iotdsl.AndExpression * @generated */ EClass getAndExpression(); /** * Returns the meta object for the containment reference '{@link be.unamur.iot.iotdsl.AndExpression#getLeft <em>Left</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference '<em>Left</em>'. * @see be.unamur.iot.iotdsl.AndExpression#getLeft() * @see #getAndExpression() * @generated */ EReference getAndExpression_Left(); /** * Returns the meta object for the containment reference '{@link be.unamur.iot.iotdsl.AndExpression#getRight <em>Right</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference '<em>Right</em>'. * @see be.unamur.iot.iotdsl.AndExpression#getRight() * @see #getAndExpression() * @generated */ EReference getAndExpression_Right(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.TimingExpression <em>Timing Expression</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Timing Expression</em>'. * @see be.unamur.iot.iotdsl.TimingExpression * @generated */ EClass getTimingExpression(); /** * Returns the meta object for the containment reference '{@link be.unamur.iot.iotdsl.TimingExpression#getFollowing <em>Following</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference '<em>Following</em>'. * @see be.unamur.iot.iotdsl.TimingExpression#getFollowing() * @see #getTimingExpression() * @generated */ EReference getTimingExpression_Following(); /** * Returns the meta object for the containment reference '{@link be.unamur.iot.iotdsl.TimingExpression#getPreceding <em>Preceding</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference '<em>Preceding</em>'. * @see be.unamur.iot.iotdsl.TimingExpression#getPreceding() * @see #getTimingExpression() * @generated */ EReference getTimingExpression_Preceding(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.WithinExpression <em>Within Expression</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Within Expression</em>'. * @see be.unamur.iot.iotdsl.WithinExpression * @generated */ EClass getWithinExpression(); /** * Returns the meta object for the containment reference '{@link be.unamur.iot.iotdsl.WithinExpression#getDelay <em>Delay</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference '<em>Delay</em>'. * @see be.unamur.iot.iotdsl.WithinExpression#getDelay() * @see #getWithinExpression() * @generated */ EReference getWithinExpression_Delay(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.AfterExpression <em>After Expression</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>After Expression</em>'. * @see be.unamur.iot.iotdsl.AfterExpression * @generated */ EClass getAfterExpression(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.Value <em>Value</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Value</em>'. * @see be.unamur.iot.iotdsl.Value * @generated */ EClass getValue(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.StringConstant <em>String Constant</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>String Constant</em>'. * @see be.unamur.iot.iotdsl.StringConstant * @generated */ EClass getStringConstant(); /** * Returns the meta object for the attribute '{@link be.unamur.iot.iotdsl.StringConstant#getValue <em>Value</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the attribute '<em>Value</em>'. * @see be.unamur.iot.iotdsl.StringConstant#getValue() * @see #getStringConstant() * @generated */ EAttribute getStringConstant_Value(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.IntConstant <em>Int Constant</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Int Constant</em>'. * @see be.unamur.iot.iotdsl.IntConstant * @generated */ EClass getIntConstant(); /** * Returns the meta object for the attribute '{@link be.unamur.iot.iotdsl.IntConstant#getValue <em>Value</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the attribute '<em>Value</em>'. * @see be.unamur.iot.iotdsl.IntConstant#getValue() * @see #getIntConstant() * @generated */ EAttribute getIntConstant_Value(); /** * Returns the meta object for class '{@link be.unamur.iot.iotdsl.BoolConstant <em>Bool Constant</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Bool Constant</em>'. * @see be.unamur.iot.iotdsl.BoolConstant * @generated */ EClass getBoolConstant(); /** * Returns the meta object for the attribute '{@link be.unamur.iot.iotdsl.BoolConstant#getValue <em>Value</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the attribute '<em>Value</em>'. * @see be.unamur.iot.iotdsl.BoolConstant#getValue() * @see #getBoolConstant() * @generated */ EAttribute getBoolConstant_Value(); /** * Returns the meta object for enum '{@link be.unamur.iot.iotdsl.DefaultType <em>Default Type</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for enum '<em>Default Type</em>'. * @see be.unamur.iot.iotdsl.DefaultType * @generated */ EEnum getDefaultType(); /** * Returns the meta object for enum '{@link be.unamur.iot.iotdsl.Operator <em>Operator</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for enum '<em>Operator</em>'. * @see be.unamur.iot.iotdsl.Operator * @generated */ EEnum getOperator(); /** * Returns the meta object for enum '{@link be.unamur.iot.iotdsl.Protocol <em>Protocol</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for enum '<em>Protocol</em>'. * @see be.unamur.iot.iotdsl.Protocol * @generated */ EEnum getProtocol(); /** * Returns the meta object for enum '{@link be.unamur.iot.iotdsl.Unit <em>Unit</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for enum '<em>Unit</em>'. * @see be.unamur.iot.iotdsl.Unit * @generated */ EEnum getUnit(); /** * Returns the factory that creates the instances of the model. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the factory that creates the instances of the model. * @generated */ IotdslFactory getIotdslFactory(); /** * <!-- begin-user-doc --> * Defines literals for the meta objects that represent * <ul> * <li>each class,</li> * <li>each feature of each class,</li> * <li>each operation of each class,</li> * <li>each enum,</li> * <li>and each data type</li> * </ul> * <!-- end-user-doc --> * @generated */ interface Literals { /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.IotModelImpl <em>Iot Model</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.IotModelImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getIotModel() * @generated */ EClass IOT_MODEL = eINSTANCE.getIotModel(); /** * The meta object literal for the '<em><b>Imports</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference IOT_MODEL__IMPORTS = eINSTANCE.getIotModel_Imports(); /** * The meta object literal for the '<em><b>Name</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute IOT_MODEL__NAME = eINSTANCE.getIotModel_Name(); /** * The meta object literal for the '<em><b>Content</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference IOT_MODEL__CONTENT = eINSTANCE.getIotModel_Content(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.ImportImpl <em>Import</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.ImportImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getImport() * @generated */ EClass IMPORT = eINSTANCE.getImport(); /** * The meta object literal for the '<em><b>Imported Namespace</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute IMPORT__IMPORTED_NAMESPACE = eINSTANCE.getImport_ImportedNamespace(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.ContentImpl <em>Content</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.ContentImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getContent() * @generated */ EClass CONTENT = eINSTANCE.getContent(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.TypeImpl <em>Type</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.TypeImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getType() * @generated */ EClass TYPE = eINSTANCE.getType(); /** * The meta object literal for the '<em><b>Name</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute TYPE__NAME = eINSTANCE.getType_Name(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.PrimitiveTypeImpl <em>Primitive Type</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.PrimitiveTypeImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getPrimitiveType() * @generated */ EClass PRIMITIVE_TYPE = eINSTANCE.getPrimitiveType(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.DeclaredTypeImpl <em>Declared Type</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.DeclaredTypeImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getDeclaredType() * @generated */ EClass DECLARED_TYPE = eINSTANCE.getDeclaredType(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.EnumerationImpl <em>Enumeration</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.EnumerationImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getEnumeration() * @generated */ EClass ENUMERATION = eINSTANCE.getEnumeration(); /** * The meta object literal for the '<em><b>Literals</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference ENUMERATION__LITERALS = eINSTANCE.getEnumeration_Literals(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.EnumLiteralImpl <em>Enum Literal</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.EnumLiteralImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getEnumLiteral() * @generated */ EClass ENUM_LITERAL = eINSTANCE.getEnumLiteral(); /** * The meta object literal for the '<em><b>Name</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute ENUM_LITERAL__NAME = eINSTANCE.getEnumLiteral_Name(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.NodeImpl <em>Node</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.NodeImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getNode() * @generated */ EClass NODE = eINSTANCE.getNode(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.DeviceImpl <em>Device</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.DeviceImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getDevice() * @generated */ EClass DEVICE = eINSTANCE.getDevice(); /** * The meta object literal for the '<em><b>Features</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference DEVICE__FEATURES = eINSTANCE.getDevice_Features(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.GatewayImpl <em>Gateway</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.GatewayImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getGateway() * @generated */ EClass GATEWAY = eINSTANCE.getGateway(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.FeatureImpl <em>Feature</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.FeatureImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getFeature() * @generated */ EClass FEATURE = eINSTANCE.getFeature(); /** * The meta object literal for the '<em><b>Name</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute FEATURE__NAME = eINSTANCE.getFeature_Name(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.PropertyImpl <em>Property</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.PropertyImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getProperty() * @generated */ EClass PROPERTY = eINSTANCE.getProperty(); /** * The meta object literal for the '<em><b>Value</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference PROPERTY__VALUE = eINSTANCE.getProperty_Value(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.CapabilityImpl <em>Capability</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.CapabilityImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getCapability() * @generated */ EClass CAPABILITY = eINSTANCE.getCapability(); /** * The meta object literal for the '<em><b>Parameters</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference CAPABILITY__PARAMETERS = eINSTANCE.getCapability_Parameters(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.ActuatingImpl <em>Actuating</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.ActuatingImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getActuating() * @generated */ EClass ACTUATING = eINSTANCE.getActuating(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.SensingImpl <em>Sensing</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.SensingImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getSensing() * @generated */ EClass SENSING = eINSTANCE.getSensing(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.ParameterImpl <em>Parameter</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.ParameterImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getParameter() * @generated */ EClass PARAMETER = eINSTANCE.getParameter(); /** * The meta object literal for the '<em><b>Name</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute PARAMETER__NAME = eINSTANCE.getParameter_Name(); /** * The meta object literal for the '<em><b>Type</b></em>' reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference PARAMETER__TYPE = eINSTANCE.getParameter_Type(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.ConfigurationImpl <em>Configuration</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.ConfigurationImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getConfiguration() * @generated */ EClass CONFIGURATION = eINSTANCE.getConfiguration(); /** * The meta object literal for the '<em><b>Confname</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute CONFIGURATION__CONFNAME = eINSTANCE.getConfiguration_Confname(); /** * The meta object literal for the '<em><b>Nodes</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference CONFIGURATION__NODES = eINSTANCE.getConfiguration_Nodes(); /** * The meta object literal for the '<em><b>Paths</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference CONFIGURATION__PATHS = eINSTANCE.getConfiguration_Paths(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.NodeInstanceImpl <em>Node Instance</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.NodeInstanceImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getNodeInstance() * @generated */ EClass NODE_INSTANCE = eINSTANCE.getNodeInstance(); /** * The meta object literal for the '<em><b>Name</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute NODE_INSTANCE__NAME = eINSTANCE.getNodeInstance_Name(); /** * The meta object literal for the '<em><b>Type</b></em>' reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference NODE_INSTANCE__TYPE = eINSTANCE.getNodeInstance_Type(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.CommunicationPathImpl <em>Communication Path</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.CommunicationPathImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getCommunicationPath() * @generated */ EClass COMMUNICATION_PATH = eINSTANCE.getCommunicationPath(); /** * The meta object literal for the '<em><b>Source</b></em>' reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference COMMUNICATION_PATH__SOURCE = eINSTANCE.getCommunicationPath_Source(); /** * The meta object literal for the '<em><b>Taget</b></em>' reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference COMMUNICATION_PATH__TAGET = eINSTANCE.getCommunicationPath_Taget(); /** * The meta object literal for the '<em><b>Protocol</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute COMMUNICATION_PATH__PROTOCOL = eINSTANCE.getCommunicationPath_Protocol(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.RuleImpl <em>Rule</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.RuleImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getRule() * @generated */ EClass RULE = eINSTANCE.getRule(); /** * The meta object literal for the '<em><b>Name</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute RULE__NAME = eINSTANCE.getRule_Name(); /** * The meta object literal for the '<em><b>Triggers</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference RULE__TRIGGERS = eINSTANCE.getRule_Triggers(); /** * The meta object literal for the '<em><b>Reactions</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference RULE__REACTIONS = eINSTANCE.getRule_Reactions(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.ExpressionImpl <em>Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.ExpressionImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getExpression() * @generated */ EClass EXPRESSION = eINSTANCE.getExpression(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.DelayImpl <em>Delay</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.DelayImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getDelay() * @generated */ EClass DELAY = eINSTANCE.getDelay(); /** * The meta object literal for the '<em><b>Time</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute DELAY__TIME = eINSTANCE.getDelay_Time(); /** * The meta object literal for the '<em><b>Unit</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute DELAY__UNIT = eINSTANCE.getDelay_Unit(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.NotExpressionImpl <em>Not Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.NotExpressionImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getNotExpression() * @generated */ EClass NOT_EXPRESSION = eINSTANCE.getNotExpression(); /** * The meta object literal for the '<em><b>Event</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference NOT_EXPRESSION__EVENT = eINSTANCE.getNotExpression_Event(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.EventOccurrenceImpl <em>Event Occurrence</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.EventOccurrenceImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getEventOccurrence() * @generated */ EClass EVENT_OCCURRENCE = eINSTANCE.getEventOccurrence(); /** * The meta object literal for the '<em><b>Instance</b></em>' reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference EVENT_OCCURRENCE__INSTANCE = eINSTANCE.getEventOccurrence_Instance(); /** * The meta object literal for the '<em><b>Capability</b></em>' reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference EVENT_OCCURRENCE__CAPABILITY = eINSTANCE.getEventOccurrence_Capability(); /** * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference EVENT_OCCURRENCE__ATTRIBUTES = eINSTANCE.getEventOccurrence_Attributes(); /** * The meta object literal for the '<em><b>Operator</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute EVENT_OCCURRENCE__OPERATOR = eINSTANCE.getEventOccurrence_Operator(); /** * The meta object literal for the '<em><b>Value</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference EVENT_OCCURRENCE__VALUE = eINSTANCE.getEventOccurrence_Value(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.ReactionImpl <em>Reaction</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.ReactionImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getReaction() * @generated */ EClass REACTION = eINSTANCE.getReaction(); /** * The meta object literal for the '<em><b>Instance</b></em>' reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference REACTION__INSTANCE = eINSTANCE.getReaction_Instance(); /** * The meta object literal for the '<em><b>Capability</b></em>' reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference REACTION__CAPABILITY = eINSTANCE.getReaction_Capability(); /** * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference REACTION__ATTRIBUTES = eINSTANCE.getReaction_Attributes(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.AttributeImpl <em>Attribute</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.AttributeImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getAttribute() * @generated */ EClass ATTRIBUTE = eINSTANCE.getAttribute(); /** * The meta object literal for the '<em><b>Name</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute ATTRIBUTE__NAME = eINSTANCE.getAttribute_Name(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.AndExpressionImpl <em>And Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.AndExpressionImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getAndExpression() * @generated */ EClass AND_EXPRESSION = eINSTANCE.getAndExpression(); /** * The meta object literal for the '<em><b>Left</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference AND_EXPRESSION__LEFT = eINSTANCE.getAndExpression_Left(); /** * The meta object literal for the '<em><b>Right</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference AND_EXPRESSION__RIGHT = eINSTANCE.getAndExpression_Right(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.TimingExpressionImpl <em>Timing Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.TimingExpressionImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getTimingExpression() * @generated */ EClass TIMING_EXPRESSION = eINSTANCE.getTimingExpression(); /** * The meta object literal for the '<em><b>Following</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference TIMING_EXPRESSION__FOLLOWING = eINSTANCE.getTimingExpression_Following(); /** * The meta object literal for the '<em><b>Preceding</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference TIMING_EXPRESSION__PRECEDING = eINSTANCE.getTimingExpression_Preceding(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.WithinExpressionImpl <em>Within Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.WithinExpressionImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getWithinExpression() * @generated */ EClass WITHIN_EXPRESSION = eINSTANCE.getWithinExpression(); /** * The meta object literal for the '<em><b>Delay</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference WITHIN_EXPRESSION__DELAY = eINSTANCE.getWithinExpression_Delay(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.AfterExpressionImpl <em>After Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.AfterExpressionImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getAfterExpression() * @generated */ EClass AFTER_EXPRESSION = eINSTANCE.getAfterExpression(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.ValueImpl <em>Value</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.ValueImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getValue() * @generated */ EClass VALUE = eINSTANCE.getValue(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.StringConstantImpl <em>String Constant</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.StringConstantImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getStringConstant() * @generated */ EClass STRING_CONSTANT = eINSTANCE.getStringConstant(); /** * The meta object literal for the '<em><b>Value</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute STRING_CONSTANT__VALUE = eINSTANCE.getStringConstant_Value(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.IntConstantImpl <em>Int Constant</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.IntConstantImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getIntConstant() * @generated */ EClass INT_CONSTANT = eINSTANCE.getIntConstant(); /** * The meta object literal for the '<em><b>Value</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute INT_CONSTANT__VALUE = eINSTANCE.getIntConstant_Value(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.BoolConstantImpl <em>Bool Constant</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.BoolConstantImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getBoolConstant() * @generated */ EClass BOOL_CONSTANT = eINSTANCE.getBoolConstant(); /** * The meta object literal for the '<em><b>Value</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute BOOL_CONSTANT__VALUE = eINSTANCE.getBoolConstant_Value(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.DefaultType <em>Default Type</em>}' enum. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.DefaultType * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getDefaultType() * @generated */ EEnum DEFAULT_TYPE = eINSTANCE.getDefaultType(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.Operator <em>Operator</em>}' enum. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.Operator * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getOperator() * @generated */ EEnum OPERATOR = eINSTANCE.getOperator(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.Protocol <em>Protocol</em>}' enum. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.Protocol * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getProtocol() * @generated */ EEnum PROTOCOL = eINSTANCE.getProtocol(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.Unit <em>Unit</em>}' enum. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.Unit * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getUnit() * @generated */ EEnum UNIT = eINSTANCE.getUnit(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "IoT_metamodelPackage getIoT_metamodelPackage();", "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__AGENT);\n\n agentEClass = createEClass(AGENT);\n createEAttribute(agentEClass, AGENT__NAME);\n\n intentEClass = createEClass(INTENT);\n createEReference(intentEClass, INTENT__SUPER_TYPE);\n createEReference(intentEClass, INTENT__IS_FOLLOW_UP);\n createEReference(intentEClass, INTENT__QUESTION);\n createEReference(intentEClass, INTENT__TRAINING);\n\n isFollowUpEClass = createEClass(IS_FOLLOW_UP);\n createEReference(isFollowUpEClass, IS_FOLLOW_UP__INTENT);\n\n entityEClass = createEClass(ENTITY);\n createEReference(entityEClass, ENTITY__EXAMPLE);\n\n questionEClass = createEClass(QUESTION);\n createEReference(questionEClass, QUESTION__QUESTION_ENTITY);\n createEAttribute(questionEClass, QUESTION__PROMPT);\n\n questionEntityEClass = createEClass(QUESTION_ENTITY);\n createEReference(questionEntityEClass, QUESTION_ENTITY__WITH_ENTITY);\n\n trainingEClass = createEClass(TRAINING);\n createEReference(trainingEClass, TRAINING__TRAININGREF);\n\n trainingRefEClass = createEClass(TRAINING_REF);\n createEAttribute(trainingRefEClass, TRAINING_REF__PHRASE);\n createEReference(trainingRefEClass, TRAINING_REF__DECLARATION);\n\n declarationEClass = createEClass(DECLARATION);\n createEAttribute(declarationEClass, DECLARATION__TRAININGSTRING);\n createEReference(declarationEClass, DECLARATION__REFERENCE);\n\n entityExampleEClass = createEClass(ENTITY_EXAMPLE);\n createEAttribute(entityExampleEClass, ENTITY_EXAMPLE__NAME);\n\n sysvariableEClass = createEClass(SYSVARIABLE);\n createEAttribute(sysvariableEClass, SYSVARIABLE__VALUE);\n\n referenceEClass = createEClass(REFERENCE);\n createEReference(referenceEClass, REFERENCE__ENTITY);\n createEReference(referenceEClass, REFERENCE__SYSVAR);\n }", "public void createPackageContents() {\r\n\t\tif (isCreated)\r\n\t\t\treturn;\r\n\t\tisCreated = true;\r\n\r\n\t\t// Create classes and their features\r\n\t\tspringProjectEClass = createEClass(SPRING_PROJECT);\r\n\t\tcreateEAttribute(springProjectEClass, SPRING_PROJECT__BASE_PACKAGE);\r\n\t\tcreateEAttribute(springProjectEClass, SPRING_PROJECT__NAME);\r\n\t\tcreateEReference(springProjectEClass, SPRING_PROJECT__DB_SOURCE);\r\n\t\tcreateEReference(springProjectEClass, SPRING_PROJECT__ENTITIES);\r\n\t\tcreateEReference(springProjectEClass, SPRING_PROJECT__CONTROLLERS);\r\n\r\n\t\trestControllerEClass = createEClass(REST_CONTROLLER);\r\n\t\tcreateEAttribute(restControllerEClass, REST_CONTROLLER__NAME);\r\n\t\tcreateEAttribute(restControllerEClass, REST_CONTROLLER__PATH);\r\n\t\tcreateEReference(restControllerEClass, REST_CONTROLLER__USED_ENTITIES);\r\n\t\tcreateEReference(restControllerEClass, REST_CONTROLLER__MAPPINGS);\r\n\r\n\t\trestMappingEClass = createEClass(REST_MAPPING);\r\n\t\tcreateEAttribute(restMappingEClass, REST_MAPPING__PATH);\r\n\t\tcreateEAttribute(restMappingEClass, REST_MAPPING__NAME);\r\n\t\tcreateEReference(restMappingEClass, REST_MAPPING__USED_ENTITY);\r\n\t\tcreateEAttribute(restMappingEClass, REST_MAPPING__BODY);\r\n\r\n\t\tgetMappingEClass = createEClass(GET_MAPPING);\r\n\r\n\t\tpostMappingEClass = createEClass(POST_MAPPING);\r\n\t\tcreateEReference(postMappingEClass, POST_MAPPING__PARAMETERS);\r\n\r\n\t\tentityEClass = createEClass(ENTITY);\r\n\t\tcreateEReference(entityEClass, ENTITY__SUPER_CLASS);\r\n\t\tcreateEAttribute(entityEClass, ENTITY__NAME);\r\n\t\tcreateEAttribute(entityEClass, ENTITY__GENERATE_REPOSITORY);\r\n\t\tcreateEReference(entityEClass, ENTITY__FIELDS);\r\n\t\tcreateEReference(entityEClass, ENTITY__MAPPING);\r\n\r\n\t\tmappingEClass = createEClass(MAPPING);\r\n\t\tcreateEAttribute(mappingEClass, MAPPING__NAME);\r\n\t\tcreateEReference(mappingEClass, MAPPING__ENTITY);\r\n\t\tcreateEAttribute(mappingEClass, MAPPING__IS_LIST);\r\n\t\tcreateEReference(mappingEClass, MAPPING__MAPPING_TYPE);\r\n\r\n\t\tmappingTypeEClass = createEClass(MAPPING_TYPE);\r\n\t\tcreateEAttribute(mappingTypeEClass, MAPPING_TYPE__CASCADE);\r\n\t\tcreateEReference(mappingTypeEClass, MAPPING_TYPE__MAPPED_BY);\r\n\r\n\t\toneToManyEClass = createEClass(ONE_TO_MANY);\r\n\r\n\t\tmanyToOneEClass = createEClass(MANY_TO_ONE);\r\n\r\n\t\tmanyToManyEClass = createEClass(MANY_TO_MANY);\r\n\t\tcreateEAttribute(manyToManyEClass, MANY_TO_MANY__JOIN_TABLE_NAME);\r\n\t\tcreateEAttribute(manyToManyEClass, MANY_TO_MANY__JOIN_COLUMNS);\r\n\t\tcreateEAttribute(manyToManyEClass, MANY_TO_MANY__INVERSE_JOIN_COLUMNS);\r\n\r\n\t\toneToOneEClass = createEClass(ONE_TO_ONE);\r\n\r\n\t\tfieldEClass = createEClass(FIELD);\r\n\t\tcreateEAttribute(fieldEClass, FIELD__IS_ID);\r\n\t\tcreateEAttribute(fieldEClass, FIELD__NAME);\r\n\t\tcreateEAttribute(fieldEClass, FIELD__DATATYPE);\r\n\r\n\t\tdbSourceEClass = createEClass(DB_SOURCE);\r\n\t\tcreateEAttribute(dbSourceEClass, DB_SOURCE__ENABLE_CONSOLE);\r\n\t\tcreateEAttribute(dbSourceEClass, DB_SOURCE__WEB_ALLOW_OOTHERS);\r\n\t\tcreateEAttribute(dbSourceEClass, DB_SOURCE__CONSOLE_PATH);\r\n\t\tcreateEAttribute(dbSourceEClass, DB_SOURCE__URL);\r\n\t\tcreateEAttribute(dbSourceEClass, DB_SOURCE__USER);\r\n\t\tcreateEAttribute(dbSourceEClass, DB_SOURCE__PASSWORD);\r\n\t\tcreateEAttribute(dbSourceEClass, DB_SOURCE__DRIVE_CLASS_NAME);\r\n\t\tcreateEAttribute(dbSourceEClass, DB_SOURCE__SERVER_PORT);\r\n\r\n\t\t// Create enums\r\n\t\tcascadeEEnum = createEEnum(CASCADE);\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 createPackageContents()\n {\n if (isCreated) return;\n isCreated = true;\n\n // Create classes and their features\n modelEClass = createEClass(MODEL);\n createEReference(modelEClass, MODEL__ELEMENTS);\n\n elementEClass = createEClass(ELEMENT);\n createEReference(elementEClass, ELEMENT__STATE);\n createEReference(elementEClass, ELEMENT__TRANSITION);\n\n stateEClass = createEClass(STATE);\n createEAttribute(stateEClass, STATE__NAME);\n createEReference(stateEClass, STATE__STATES_PROPERTIES);\n\n statesPropertiesEClass = createEClass(STATES_PROPERTIES);\n createEAttribute(statesPropertiesEClass, STATES_PROPERTIES__COLOR);\n createEAttribute(statesPropertiesEClass, STATES_PROPERTIES__THICKNESS);\n createEAttribute(statesPropertiesEClass, STATES_PROPERTIES__POSITION);\n\n transitionEClass = createEClass(TRANSITION);\n createEReference(transitionEClass, TRANSITION__START);\n createEReference(transitionEClass, TRANSITION__END);\n createEReference(transitionEClass, TRANSITION__TRANSITION_PROPERTIES);\n createEReference(transitionEClass, TRANSITION__LABEL);\n createEAttribute(transitionEClass, TRANSITION__INIT);\n\n labelEClass = createEClass(LABEL);\n createEAttribute(labelEClass, LABEL__TEXT);\n createEAttribute(labelEClass, LABEL__POSITION);\n\n coordinatesStatesTransitionEClass = createEClass(COORDINATES_STATES_TRANSITION);\n createEAttribute(coordinatesStatesTransitionEClass, COORDINATES_STATES_TRANSITION__STATE_TRANSITION);\n\n transitionPropertiesEClass = createEClass(TRANSITION_PROPERTIES);\n createEAttribute(transitionPropertiesEClass, TRANSITION_PROPERTIES__COLOR);\n createEAttribute(transitionPropertiesEClass, TRANSITION_PROPERTIES__THICKNESS);\n createEAttribute(transitionPropertiesEClass, TRANSITION_PROPERTIES__CURVE);\n }", "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__SPEC);\n\n statementEClass = createEClass(STATEMENT);\n createEReference(statementEClass, STATEMENT__DEF);\n createEReference(statementEClass, STATEMENT__OUT);\n createEReference(statementEClass, STATEMENT__IN);\n createEAttribute(statementEClass, STATEMENT__COMMENT);\n\n definitionEClass = createEClass(DEFINITION);\n createEAttribute(definitionEClass, DEFINITION__NAME);\n createEReference(definitionEClass, DEFINITION__PARAM_LIST);\n createEAttribute(definitionEClass, DEFINITION__TYPE);\n createEReference(definitionEClass, DEFINITION__EXPRESSION);\n\n paramListEClass = createEClass(PARAM_LIST);\n createEAttribute(paramListEClass, PARAM_LIST__PARAMS);\n createEAttribute(paramListEClass, PARAM_LIST__TYPES);\n\n outEClass = createEClass(OUT);\n createEReference(outEClass, OUT__EXP);\n createEAttribute(outEClass, OUT__NAME);\n\n inEClass = createEClass(IN);\n createEAttribute(inEClass, IN__NAME);\n createEAttribute(inEClass, IN__TYPE);\n\n typedExpressionEClass = createEClass(TYPED_EXPRESSION);\n createEReference(typedExpressionEClass, TYPED_EXPRESSION__EXP);\n createEAttribute(typedExpressionEClass, TYPED_EXPRESSION__TYPE);\n\n expressionEClass = createEClass(EXPRESSION);\n\n valueEClass = createEClass(VALUE);\n createEAttribute(valueEClass, VALUE__OP);\n createEReference(valueEClass, VALUE__EXP);\n createEReference(valueEClass, VALUE__STATEMENTS);\n createEAttribute(valueEClass, VALUE__NAME);\n createEReference(valueEClass, VALUE__ARGS);\n\n argEClass = createEClass(ARG);\n createEAttribute(argEClass, ARG__ARG);\n createEReference(argEClass, ARG__EXP);\n\n ifStatementEClass = createEClass(IF_STATEMENT);\n createEReference(ifStatementEClass, IF_STATEMENT__IF);\n createEReference(ifStatementEClass, IF_STATEMENT__THEN);\n createEReference(ifStatementEClass, IF_STATEMENT__ELSE);\n\n operationEClass = createEClass(OPERATION);\n createEReference(operationEClass, OPERATION__LEFT);\n createEAttribute(operationEClass, OPERATION__OP);\n createEReference(operationEClass, OPERATION__RIGHT);\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)\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 createPackageContents()\n {\n if (isCreated) return;\n isCreated = true;\n\n // Create classes and their features\n mathExpEClass = createEClass(MATH_EXP);\n createEReference(mathExpEClass, MATH_EXP__DECLARATIONS);\n\n declarationEClass = createEClass(DECLARATION);\n\n externalDefEClass = createEClass(EXTERNAL_DEF);\n createEAttribute(externalDefEClass, EXTERNAL_DEF__NAME);\n createEReference(externalDefEClass, EXTERNAL_DEF__PARAMETERS);\n\n parameterEClass = createEClass(PARAMETER);\n createEReference(parameterEClass, PARAMETER__TYPE);\n createEAttribute(parameterEClass, PARAMETER__PARAMETER_NAME);\n\n typeEClass = createEClass(TYPE);\n createEAttribute(typeEClass, TYPE__NAME);\n\n resultStatementEClass = createEClass(RESULT_STATEMENT);\n createEAttribute(resultStatementEClass, RESULT_STATEMENT__LABEL);\n createEReference(resultStatementEClass, RESULT_STATEMENT__EXP);\n\n expressionEClass = createEClass(EXPRESSION);\n\n plusEClass = createEClass(PLUS);\n createEReference(plusEClass, PLUS__LEFT);\n createEReference(plusEClass, PLUS__RIGHT);\n\n minusEClass = createEClass(MINUS);\n createEReference(minusEClass, MINUS__LEFT);\n createEReference(minusEClass, MINUS__RIGHT);\n\n multEClass = createEClass(MULT);\n createEReference(multEClass, MULT__LEFT);\n createEReference(multEClass, MULT__RIGHT);\n\n divEClass = createEClass(DIV);\n createEReference(divEClass, DIV__LEFT);\n createEReference(divEClass, DIV__RIGHT);\n\n varEClass = createEClass(VAR);\n createEAttribute(varEClass, VAR__ID);\n\n letEClass = createEClass(LET);\n createEAttribute(letEClass, LET__ID);\n createEReference(letEClass, LET__BINDING);\n createEReference(letEClass, LET__BODY);\n\n externalUseEClass = createEClass(EXTERNAL_USE);\n createEReference(externalUseEClass, EXTERNAL_USE__EXTERNAL);\n createEReference(externalUseEClass, EXTERNAL_USE__ARGUMENTS);\n\n numEClass = createEClass(NUM);\n createEAttribute(numEClass, NUM__VALUE);\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// 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(maturityModelEClass, MaturityModel.class, \"MaturityModel\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMaturityModel_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityModel_Version(), ecorePackage.getEString(), \"version\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityModel_ReleaseDate(), ecorePackage.getEDate(), \"releaseDate\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityModel_Author(), ecorePackage.getEString(), \"author\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityModel_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityModel_Acronym(), ecorePackage.getEString(), \"acronym\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityModel_Url(), ecorePackage.getEString(), \"url\", null, 0, 1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMaturityModel_Organizes(), this.getProcessArea(), null, \"organizes\", null, 0, -1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMaturityModel_EvolvesInto(), this.getMaturityLevel(), null, \"evolvesInto\", null, 0, -1, MaturityModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(processAreaEClass, ProcessArea.class, \"ProcessArea\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getProcessArea_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ProcessArea.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getProcessArea_ShortDescription(), ecorePackage.getEString(), \"shortDescription\", null, 0, 1, ProcessArea.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getProcessArea_MainDescription(), ecorePackage.getEString(), \"mainDescription\", null, 0, 1, ProcessArea.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getProcessArea_Acronym(), ecorePackage.getEString(), \"acronym\", null, 0, 1, ProcessArea.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProcessArea_Defines(), this.getSpecificPractice(), null, \"defines\", null, 0, -1, ProcessArea.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProcessArea_Implements(), this.getMaturityLevel(), null, \"implements\", null, 0, 1, ProcessArea.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(specificPracticeEClass, SpecificPractice.class, \"SpecificPractice\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getSpecificPractice_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, SpecificPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSpecificPractice_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, SpecificPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSpecificPractice_Acronym(), ecorePackage.getEString(), \"acronym\", null, 0, 1, SpecificPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSpecificPractice_ComplementaryDescription(), ecorePackage.getEString(), \"complementaryDescription\", null, 0, 1, SpecificPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(maturityLevelEClass, MaturityLevel.class, \"MaturityLevel\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMaturityLevel_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, MaturityLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityLevel_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, MaturityLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMaturityLevel_Acronym(), ecorePackage.getEString(), \"acronym\", null, 0, 1, MaturityLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMaturityLevel_EvolvesInto(), this.getGenericPractice(), null, \"evolvesInto\", null, 0, -1, MaturityLevel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(genericPracticeEClass, GenericPractice.class, \"GenericPractice\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getGenericPractice_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, GenericPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getGenericPractice_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, GenericPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getGenericPractice_Acronym(), ecorePackage.getEString(), \"acronym\", null, 0, 1, GenericPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getGenericPractice_ComplementaryDescription(), ecorePackage.getEString(), \"complementaryDescription\", null, 0, 1, GenericPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getGenericPractice_Divided(), this.getGPSubPractice(), null, \"divided\", null, 0, -1, GenericPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(gpSubPracticeEClass, GPSubPractice.class, \"GPSubPractice\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getGPSubPractice_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, GPSubPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getGPSubPractice_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, GPSubPractice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getGPSubPractice_Acronym(), ecorePackage.getEString(), \"acronym\", null, 0, 1, GPSubPractice.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\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\telementEClass = createEClass(ELEMENT);\n\t\tcreateEOperation(elementEClass, ELEMENT___GET_ONTOLOGY);\n\t\tcreateEOperation(elementEClass, ELEMENT___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP);\n\n\t\tannotationEClass = createEClass(ANNOTATION);\n\t\tcreateEReference(annotationEClass, ANNOTATION__PROPERTY);\n\t\tcreateEReference(annotationEClass, ANNOTATION__LITERAL_VALUE);\n\t\tcreateEReference(annotationEClass, ANNOTATION__REFERENCE_VALUE);\n\t\tcreateEReference(annotationEClass, ANNOTATION__OWNING_ELEMENT);\n\t\tcreateEOperation(annotationEClass, ANNOTATION___GET_VALUE);\n\t\tcreateEOperation(annotationEClass, ANNOTATION___GET_ANNOTATED_ELEMENT);\n\n\t\tidentifiedElementEClass = createEClass(IDENTIFIED_ELEMENT);\n\t\tcreateEReference(identifiedElementEClass, IDENTIFIED_ELEMENT__OWNED_ANNOTATIONS);\n\t\tcreateEOperation(identifiedElementEClass, IDENTIFIED_ELEMENT___GET_IRI);\n\n\t\timportEClass = createEClass(IMPORT);\n\t\tcreateEAttribute(importEClass, IMPORT__KIND);\n\t\tcreateEAttribute(importEClass, IMPORT__NAMESPACE);\n\t\tcreateEAttribute(importEClass, IMPORT__PREFIX);\n\t\tcreateEReference(importEClass, IMPORT__OWNING_ONTOLOGY);\n\t\tcreateEOperation(importEClass, IMPORT___GET_IRI);\n\t\tcreateEOperation(importEClass, IMPORT___GET_SEPARATOR);\n\n\t\tinstanceEClass = createEClass(INSTANCE);\n\t\tcreateEReference(instanceEClass, INSTANCE__OWNED_PROPERTY_VALUES);\n\n\t\taxiomEClass = createEClass(AXIOM);\n\t\tcreateEOperation(axiomEClass, AXIOM___GET_CHARACTERIZED_TERM);\n\n\t\tassertionEClass = createEClass(ASSERTION);\n\t\tcreateEOperation(assertionEClass, ASSERTION___GET_SUBJECT);\n\t\tcreateEOperation(assertionEClass, ASSERTION___GET_OBJECT);\n\n\t\tpredicateEClass = createEClass(PREDICATE);\n\t\tcreateEReference(predicateEClass, PREDICATE__ANTECEDENT_RULE);\n\t\tcreateEReference(predicateEClass, PREDICATE__CONSEQUENT_RULE);\n\n\t\targumentEClass = createEClass(ARGUMENT);\n\t\tcreateEAttribute(argumentEClass, ARGUMENT__VARIABLE);\n\t\tcreateEReference(argumentEClass, ARGUMENT__LITERAL);\n\t\tcreateEReference(argumentEClass, ARGUMENT__INSTANCE);\n\n\t\tliteralEClass = createEClass(LITERAL);\n\t\tcreateEOperation(literalEClass, LITERAL___GET_VALUE);\n\t\tcreateEOperation(literalEClass, LITERAL___GET_STRING_VALUE);\n\t\tcreateEOperation(literalEClass, LITERAL___GET_LEXICAL_VALUE);\n\t\tcreateEOperation(literalEClass, LITERAL___GET_TYPE_IRI);\n\n\t\tontologyEClass = createEClass(ONTOLOGY);\n\t\tcreateEAttribute(ontologyEClass, ONTOLOGY__NAMESPACE);\n\t\tcreateEAttribute(ontologyEClass, ONTOLOGY__PREFIX);\n\t\tcreateEReference(ontologyEClass, ONTOLOGY__OWNED_IMPORTS);\n\t\tcreateEOperation(ontologyEClass, ONTOLOGY___GET_IRI);\n\t\tcreateEOperation(ontologyEClass, ONTOLOGY___GET_SEPARATOR);\n\n\t\tmemberEClass = createEClass(MEMBER);\n\t\tcreateEAttribute(memberEClass, MEMBER__NAME);\n\t\tcreateEOperation(memberEClass, MEMBER___GET_REF);\n\t\tcreateEOperation(memberEClass, MEMBER___IS_REF);\n\t\tcreateEOperation(memberEClass, MEMBER___RESOLVE);\n\t\tcreateEOperation(memberEClass, MEMBER___GET_IRI);\n\t\tcreateEOperation(memberEClass, MEMBER___GET_ABBREVIATED_IRI);\n\n\t\tvocabularyBoxEClass = createEClass(VOCABULARY_BOX);\n\n\t\tdescriptionBoxEClass = createEClass(DESCRIPTION_BOX);\n\n\t\tvocabularyEClass = createEClass(VOCABULARY);\n\t\tcreateEReference(vocabularyEClass, VOCABULARY__OWNED_STATEMENTS);\n\n\t\tvocabularyBundleEClass = createEClass(VOCABULARY_BUNDLE);\n\n\t\tdescriptionEClass = createEClass(DESCRIPTION);\n\t\tcreateEReference(descriptionEClass, DESCRIPTION__OWNED_STATEMENTS);\n\n\t\tdescriptionBundleEClass = createEClass(DESCRIPTION_BUNDLE);\n\n\t\tstatementEClass = createEClass(STATEMENT);\n\n\t\tvocabularyMemberEClass = createEClass(VOCABULARY_MEMBER);\n\n\t\tdescriptionMemberEClass = createEClass(DESCRIPTION_MEMBER);\n\n\t\tvocabularyStatementEClass = createEClass(VOCABULARY_STATEMENT);\n\t\tcreateEReference(vocabularyStatementEClass, VOCABULARY_STATEMENT__OWNING_VOCABULARY);\n\n\t\tdescriptionStatementEClass = createEClass(DESCRIPTION_STATEMENT);\n\t\tcreateEReference(descriptionStatementEClass, DESCRIPTION_STATEMENT__OWNING_DESCRIPTION);\n\n\t\ttermEClass = createEClass(TERM);\n\n\t\truleEClass = createEClass(RULE);\n\t\tcreateEReference(ruleEClass, RULE__REF);\n\t\tcreateEReference(ruleEClass, RULE__ANTECEDENT);\n\t\tcreateEReference(ruleEClass, RULE__CONSEQUENT);\n\n\t\tbuiltInEClass = createEClass(BUILT_IN);\n\t\tcreateEReference(builtInEClass, BUILT_IN__REF);\n\n\t\tspecializableTermEClass = createEClass(SPECIALIZABLE_TERM);\n\t\tcreateEReference(specializableTermEClass, SPECIALIZABLE_TERM__OWNED_SPECIALIZATIONS);\n\n\t\tpropertyEClass = createEClass(PROPERTY);\n\n\t\ttypeEClass = createEClass(TYPE);\n\n\t\trelationBaseEClass = createEClass(RELATION_BASE);\n\t\tcreateEReference(relationBaseEClass, RELATION_BASE__SOURCES);\n\t\tcreateEReference(relationBaseEClass, RELATION_BASE__TARGETS);\n\t\tcreateEReference(relationBaseEClass, RELATION_BASE__REVERSE_RELATION);\n\t\tcreateEAttribute(relationBaseEClass, RELATION_BASE__FUNCTIONAL);\n\t\tcreateEAttribute(relationBaseEClass, RELATION_BASE__INVERSE_FUNCTIONAL);\n\t\tcreateEAttribute(relationBaseEClass, RELATION_BASE__SYMMETRIC);\n\t\tcreateEAttribute(relationBaseEClass, RELATION_BASE__ASYMMETRIC);\n\t\tcreateEAttribute(relationBaseEClass, RELATION_BASE__REFLEXIVE);\n\t\tcreateEAttribute(relationBaseEClass, RELATION_BASE__IRREFLEXIVE);\n\t\tcreateEAttribute(relationBaseEClass, RELATION_BASE__TRANSITIVE);\n\n\t\tspecializablePropertyEClass = createEClass(SPECIALIZABLE_PROPERTY);\n\t\tcreateEReference(specializablePropertyEClass, SPECIALIZABLE_PROPERTY__OWNED_EQUIVALENCES);\n\n\t\tclassifierEClass = createEClass(CLASSIFIER);\n\t\tcreateEReference(classifierEClass, CLASSIFIER__OWNED_EQUIVALENCES);\n\t\tcreateEReference(classifierEClass, CLASSIFIER__OWNED_PROPERTY_RESTRICTIONS);\n\n\t\tscalarEClass = createEClass(SCALAR);\n\t\tcreateEReference(scalarEClass, SCALAR__REF);\n\t\tcreateEReference(scalarEClass, SCALAR__OWNED_ENUMERATION);\n\t\tcreateEReference(scalarEClass, SCALAR__OWNED_EQUIVALENCES);\n\n\t\tentityEClass = createEClass(ENTITY);\n\t\tcreateEReference(entityEClass, ENTITY__OWNED_KEYS);\n\n\t\tstructureEClass = createEClass(STRUCTURE);\n\t\tcreateEReference(structureEClass, STRUCTURE__REF);\n\n\t\taspectEClass = createEClass(ASPECT);\n\t\tcreateEReference(aspectEClass, ASPECT__REF);\n\n\t\tconceptEClass = createEClass(CONCEPT);\n\t\tcreateEReference(conceptEClass, CONCEPT__REF);\n\t\tcreateEReference(conceptEClass, CONCEPT__OWNED_ENUMERATION);\n\n\t\trelationEntityEClass = createEClass(RELATION_ENTITY);\n\t\tcreateEReference(relationEntityEClass, RELATION_ENTITY__REF);\n\t\tcreateEReference(relationEntityEClass, RELATION_ENTITY__FORWARD_RELATION);\n\n\t\tannotationPropertyEClass = createEClass(ANNOTATION_PROPERTY);\n\t\tcreateEReference(annotationPropertyEClass, ANNOTATION_PROPERTY__REF);\n\n\t\tsemanticPropertyEClass = createEClass(SEMANTIC_PROPERTY);\n\t\tcreateEOperation(semanticPropertyEClass, SEMANTIC_PROPERTY___IS_FUNCTIONAL);\n\t\tcreateEOperation(semanticPropertyEClass, SEMANTIC_PROPERTY___GET_DOMAIN_LIST);\n\t\tcreateEOperation(semanticPropertyEClass, SEMANTIC_PROPERTY___GET_RANGE_LIST);\n\n\t\tscalarPropertyEClass = createEClass(SCALAR_PROPERTY);\n\t\tcreateEReference(scalarPropertyEClass, SCALAR_PROPERTY__REF);\n\t\tcreateEAttribute(scalarPropertyEClass, SCALAR_PROPERTY__FUNCTIONAL);\n\t\tcreateEReference(scalarPropertyEClass, SCALAR_PROPERTY__DOMAINS);\n\t\tcreateEReference(scalarPropertyEClass, SCALAR_PROPERTY__RANGES);\n\t\tcreateEOperation(scalarPropertyEClass, SCALAR_PROPERTY___GET_DOMAIN_LIST);\n\t\tcreateEOperation(scalarPropertyEClass, SCALAR_PROPERTY___GET_RANGE_LIST);\n\n\t\tstructuredPropertyEClass = createEClass(STRUCTURED_PROPERTY);\n\t\tcreateEReference(structuredPropertyEClass, STRUCTURED_PROPERTY__REF);\n\t\tcreateEAttribute(structuredPropertyEClass, STRUCTURED_PROPERTY__FUNCTIONAL);\n\t\tcreateEReference(structuredPropertyEClass, STRUCTURED_PROPERTY__DOMAINS);\n\t\tcreateEReference(structuredPropertyEClass, STRUCTURED_PROPERTY__RANGES);\n\t\tcreateEOperation(structuredPropertyEClass, STRUCTURED_PROPERTY___GET_DOMAIN_LIST);\n\t\tcreateEOperation(structuredPropertyEClass, STRUCTURED_PROPERTY___GET_RANGE_LIST);\n\n\t\trelationEClass = createEClass(RELATION);\n\t\tcreateEOperation(relationEClass, RELATION___IS_INVERSE_FUNCTIONAL);\n\t\tcreateEOperation(relationEClass, RELATION___IS_SYMMETRIC);\n\t\tcreateEOperation(relationEClass, RELATION___IS_ASYMMETRIC);\n\t\tcreateEOperation(relationEClass, RELATION___IS_REFLEXIVE);\n\t\tcreateEOperation(relationEClass, RELATION___IS_IRREFLEXIVE);\n\t\tcreateEOperation(relationEClass, RELATION___IS_TRANSITIVE);\n\t\tcreateEOperation(relationEClass, RELATION___GET_DOMAINS);\n\t\tcreateEOperation(relationEClass, RELATION___GET_RANGES);\n\t\tcreateEOperation(relationEClass, RELATION___GET_INVERSE);\n\t\tcreateEOperation(relationEClass, RELATION___GET_DOMAIN_LIST);\n\t\tcreateEOperation(relationEClass, RELATION___GET_RANGE_LIST);\n\n\t\tforwardRelationEClass = createEClass(FORWARD_RELATION);\n\t\tcreateEReference(forwardRelationEClass, FORWARD_RELATION__RELATION_ENTITY);\n\t\tcreateEOperation(forwardRelationEClass, FORWARD_RELATION___GET_REF);\n\t\tcreateEOperation(forwardRelationEClass, FORWARD_RELATION___IS_FUNCTIONAL);\n\t\tcreateEOperation(forwardRelationEClass, FORWARD_RELATION___IS_INVERSE_FUNCTIONAL);\n\t\tcreateEOperation(forwardRelationEClass, FORWARD_RELATION___IS_SYMMETRIC);\n\t\tcreateEOperation(forwardRelationEClass, FORWARD_RELATION___IS_ASYMMETRIC);\n\t\tcreateEOperation(forwardRelationEClass, FORWARD_RELATION___IS_REFLEXIVE);\n\t\tcreateEOperation(forwardRelationEClass, FORWARD_RELATION___IS_IRREFLEXIVE);\n\t\tcreateEOperation(forwardRelationEClass, FORWARD_RELATION___IS_TRANSITIVE);\n\t\tcreateEOperation(forwardRelationEClass, FORWARD_RELATION___GET_DOMAINS);\n\t\tcreateEOperation(forwardRelationEClass, FORWARD_RELATION___GET_RANGES);\n\t\tcreateEOperation(forwardRelationEClass, FORWARD_RELATION___GET_INVERSE);\n\n\t\treverseRelationEClass = createEClass(REVERSE_RELATION);\n\t\tcreateEReference(reverseRelationEClass, REVERSE_RELATION__RELATION_BASE);\n\t\tcreateEOperation(reverseRelationEClass, REVERSE_RELATION___GET_REF);\n\t\tcreateEOperation(reverseRelationEClass, REVERSE_RELATION___IS_FUNCTIONAL);\n\t\tcreateEOperation(reverseRelationEClass, REVERSE_RELATION___IS_INVERSE_FUNCTIONAL);\n\t\tcreateEOperation(reverseRelationEClass, REVERSE_RELATION___IS_SYMMETRIC);\n\t\tcreateEOperation(reverseRelationEClass, REVERSE_RELATION___IS_ASYMMETRIC);\n\t\tcreateEOperation(reverseRelationEClass, REVERSE_RELATION___IS_REFLEXIVE);\n\t\tcreateEOperation(reverseRelationEClass, REVERSE_RELATION___IS_IRREFLEXIVE);\n\t\tcreateEOperation(reverseRelationEClass, REVERSE_RELATION___IS_TRANSITIVE);\n\t\tcreateEOperation(reverseRelationEClass, REVERSE_RELATION___GET_DOMAINS);\n\t\tcreateEOperation(reverseRelationEClass, REVERSE_RELATION___GET_RANGES);\n\t\tcreateEOperation(reverseRelationEClass, REVERSE_RELATION___GET_INVERSE);\n\n\t\tunreifiedRelationEClass = createEClass(UNREIFIED_RELATION);\n\t\tcreateEReference(unreifiedRelationEClass, UNREIFIED_RELATION__REF);\n\t\tcreateEOperation(unreifiedRelationEClass, UNREIFIED_RELATION___GET_DOMAINS);\n\t\tcreateEOperation(unreifiedRelationEClass, UNREIFIED_RELATION___GET_RANGES);\n\t\tcreateEOperation(unreifiedRelationEClass, UNREIFIED_RELATION___GET_INVERSE);\n\n\t\tnamedInstanceEClass = createEClass(NAMED_INSTANCE);\n\t\tcreateEReference(namedInstanceEClass, NAMED_INSTANCE__OWNED_TYPES);\n\n\t\tconceptInstanceEClass = createEClass(CONCEPT_INSTANCE);\n\t\tcreateEReference(conceptInstanceEClass, CONCEPT_INSTANCE__REF);\n\n\t\trelationInstanceEClass = createEClass(RELATION_INSTANCE);\n\t\tcreateEReference(relationInstanceEClass, RELATION_INSTANCE__REF);\n\t\tcreateEReference(relationInstanceEClass, RELATION_INSTANCE__SOURCES);\n\t\tcreateEReference(relationInstanceEClass, RELATION_INSTANCE__TARGETS);\n\n\t\tstructureInstanceEClass = createEClass(STRUCTURE_INSTANCE);\n\t\tcreateEReference(structureInstanceEClass, STRUCTURE_INSTANCE__TYPE);\n\t\tcreateEReference(structureInstanceEClass, STRUCTURE_INSTANCE__OWNING_AXIOM);\n\t\tcreateEReference(structureInstanceEClass, STRUCTURE_INSTANCE__OWNING_ASSERTION);\n\n\t\tkeyAxiomEClass = createEClass(KEY_AXIOM);\n\t\tcreateEReference(keyAxiomEClass, KEY_AXIOM__PROPERTIES);\n\t\tcreateEReference(keyAxiomEClass, KEY_AXIOM__OWNING_ENTITY);\n\t\tcreateEOperation(keyAxiomEClass, KEY_AXIOM___GET_KEYED_ENTITY);\n\t\tcreateEOperation(keyAxiomEClass, KEY_AXIOM___GET_CHARACTERIZED_TERM);\n\n\t\tspecializationAxiomEClass = createEClass(SPECIALIZATION_AXIOM);\n\t\tcreateEReference(specializationAxiomEClass, SPECIALIZATION_AXIOM__SUPER_TERM);\n\t\tcreateEReference(specializationAxiomEClass, SPECIALIZATION_AXIOM__OWNING_TERM);\n\t\tcreateEOperation(specializationAxiomEClass, SPECIALIZATION_AXIOM___GET_SUB_TERM);\n\t\tcreateEOperation(specializationAxiomEClass, SPECIALIZATION_AXIOM___GET_CHARACTERIZED_TERM);\n\n\t\tinstanceEnumerationAxiomEClass = createEClass(INSTANCE_ENUMERATION_AXIOM);\n\t\tcreateEReference(instanceEnumerationAxiomEClass, INSTANCE_ENUMERATION_AXIOM__INSTANCES);\n\t\tcreateEReference(instanceEnumerationAxiomEClass, INSTANCE_ENUMERATION_AXIOM__OWNING_CONCEPT);\n\t\tcreateEOperation(instanceEnumerationAxiomEClass, INSTANCE_ENUMERATION_AXIOM___GET_ENUMERATED_CONCEPT);\n\t\tcreateEOperation(instanceEnumerationAxiomEClass, INSTANCE_ENUMERATION_AXIOM___GET_CHARACTERIZED_TERM);\n\n\t\tpropertyRestrictionAxiomEClass = createEClass(PROPERTY_RESTRICTION_AXIOM);\n\t\tcreateEReference(propertyRestrictionAxiomEClass, PROPERTY_RESTRICTION_AXIOM__PROPERTY);\n\t\tcreateEReference(propertyRestrictionAxiomEClass, PROPERTY_RESTRICTION_AXIOM__OWNING_CLASSIFIER);\n\t\tcreateEReference(propertyRestrictionAxiomEClass, PROPERTY_RESTRICTION_AXIOM__OWNING_AXIOM);\n\t\tcreateEOperation(propertyRestrictionAxiomEClass, PROPERTY_RESTRICTION_AXIOM___GET_RESTRICTING_DOMAIN);\n\t\tcreateEOperation(propertyRestrictionAxiomEClass, PROPERTY_RESTRICTION_AXIOM___GET_CHARACTERIZED_TERM);\n\n\t\tliteralEnumerationAxiomEClass = createEClass(LITERAL_ENUMERATION_AXIOM);\n\t\tcreateEReference(literalEnumerationAxiomEClass, LITERAL_ENUMERATION_AXIOM__LITERALS);\n\t\tcreateEReference(literalEnumerationAxiomEClass, LITERAL_ENUMERATION_AXIOM__OWNING_SCALAR);\n\t\tcreateEOperation(literalEnumerationAxiomEClass, LITERAL_ENUMERATION_AXIOM___GET_ENUMERATED_SCALAR);\n\t\tcreateEOperation(literalEnumerationAxiomEClass, LITERAL_ENUMERATION_AXIOM___GET_CHARACTERIZED_TERM);\n\n\t\tclassifierEquivalenceAxiomEClass = createEClass(CLASSIFIER_EQUIVALENCE_AXIOM);\n\t\tcreateEReference(classifierEquivalenceAxiomEClass, CLASSIFIER_EQUIVALENCE_AXIOM__SUPER_CLASSIFIERS);\n\t\tcreateEReference(classifierEquivalenceAxiomEClass, CLASSIFIER_EQUIVALENCE_AXIOM__OWNED_PROPERTY_RESTRICTIONS);\n\t\tcreateEReference(classifierEquivalenceAxiomEClass, CLASSIFIER_EQUIVALENCE_AXIOM__OWNING_CLASSIFIER);\n\t\tcreateEOperation(classifierEquivalenceAxiomEClass, CLASSIFIER_EQUIVALENCE_AXIOM___GET_SUB_CLASSIFIER);\n\t\tcreateEOperation(classifierEquivalenceAxiomEClass, CLASSIFIER_EQUIVALENCE_AXIOM___GET_CHARACTERIZED_TERM);\n\n\t\tscalarEquivalenceAxiomEClass = createEClass(SCALAR_EQUIVALENCE_AXIOM);\n\t\tcreateEReference(scalarEquivalenceAxiomEClass, SCALAR_EQUIVALENCE_AXIOM__SUPER_SCALAR);\n\t\tcreateEReference(scalarEquivalenceAxiomEClass, SCALAR_EQUIVALENCE_AXIOM__OWNING_SCALAR);\n\t\tcreateEAttribute(scalarEquivalenceAxiomEClass, SCALAR_EQUIVALENCE_AXIOM__LENGTH);\n\t\tcreateEAttribute(scalarEquivalenceAxiomEClass, SCALAR_EQUIVALENCE_AXIOM__MIN_LENGTH);\n\t\tcreateEAttribute(scalarEquivalenceAxiomEClass, SCALAR_EQUIVALENCE_AXIOM__MAX_LENGTH);\n\t\tcreateEAttribute(scalarEquivalenceAxiomEClass, SCALAR_EQUIVALENCE_AXIOM__PATTERN);\n\t\tcreateEAttribute(scalarEquivalenceAxiomEClass, SCALAR_EQUIVALENCE_AXIOM__LANGUAGE);\n\t\tcreateEReference(scalarEquivalenceAxiomEClass, SCALAR_EQUIVALENCE_AXIOM__MIN_INCLUSIVE);\n\t\tcreateEReference(scalarEquivalenceAxiomEClass, SCALAR_EQUIVALENCE_AXIOM__MIN_EXCLUSIVE);\n\t\tcreateEReference(scalarEquivalenceAxiomEClass, SCALAR_EQUIVALENCE_AXIOM__MAX_INCLUSIVE);\n\t\tcreateEReference(scalarEquivalenceAxiomEClass, SCALAR_EQUIVALENCE_AXIOM__MAX_EXCLUSIVE);\n\t\tcreateEOperation(scalarEquivalenceAxiomEClass, SCALAR_EQUIVALENCE_AXIOM___GET_SUB_SCALAR);\n\t\tcreateEOperation(scalarEquivalenceAxiomEClass, SCALAR_EQUIVALENCE_AXIOM___GET_CHARACTERIZED_TERM);\n\n\t\tpropertyEquivalenceAxiomEClass = createEClass(PROPERTY_EQUIVALENCE_AXIOM);\n\t\tcreateEReference(propertyEquivalenceAxiomEClass, PROPERTY_EQUIVALENCE_AXIOM__SUPER_PROPERTY);\n\t\tcreateEReference(propertyEquivalenceAxiomEClass, PROPERTY_EQUIVALENCE_AXIOM__OWNING_PROPERTY);\n\t\tcreateEOperation(propertyEquivalenceAxiomEClass, PROPERTY_EQUIVALENCE_AXIOM___GET_SUB_PROPERTY);\n\t\tcreateEOperation(propertyEquivalenceAxiomEClass, PROPERTY_EQUIVALENCE_AXIOM___GET_CHARACTERIZED_TERM);\n\n\t\tpropertyRangeRestrictionAxiomEClass = createEClass(PROPERTY_RANGE_RESTRICTION_AXIOM);\n\t\tcreateEAttribute(propertyRangeRestrictionAxiomEClass, PROPERTY_RANGE_RESTRICTION_AXIOM__KIND);\n\t\tcreateEReference(propertyRangeRestrictionAxiomEClass, PROPERTY_RANGE_RESTRICTION_AXIOM__RANGE);\n\n\t\tpropertyCardinalityRestrictionAxiomEClass = createEClass(PROPERTY_CARDINALITY_RESTRICTION_AXIOM);\n\t\tcreateEAttribute(propertyCardinalityRestrictionAxiomEClass, PROPERTY_CARDINALITY_RESTRICTION_AXIOM__KIND);\n\t\tcreateEAttribute(propertyCardinalityRestrictionAxiomEClass, PROPERTY_CARDINALITY_RESTRICTION_AXIOM__CARDINALITY);\n\t\tcreateEReference(propertyCardinalityRestrictionAxiomEClass, PROPERTY_CARDINALITY_RESTRICTION_AXIOM__RANGE);\n\n\t\tpropertyValueRestrictionAxiomEClass = createEClass(PROPERTY_VALUE_RESTRICTION_AXIOM);\n\t\tcreateEReference(propertyValueRestrictionAxiomEClass, PROPERTY_VALUE_RESTRICTION_AXIOM__LITERAL_VALUE);\n\t\tcreateEReference(propertyValueRestrictionAxiomEClass, PROPERTY_VALUE_RESTRICTION_AXIOM__STRUCTURE_INSTANCE_VALUE);\n\t\tcreateEReference(propertyValueRestrictionAxiomEClass, PROPERTY_VALUE_RESTRICTION_AXIOM__NAMED_INSTANCE_VALUE);\n\t\tcreateEOperation(propertyValueRestrictionAxiomEClass, PROPERTY_VALUE_RESTRICTION_AXIOM___GET_VALUE);\n\n\t\tpropertySelfRestrictionAxiomEClass = createEClass(PROPERTY_SELF_RESTRICTION_AXIOM);\n\n\t\ttypeAssertionEClass = createEClass(TYPE_ASSERTION);\n\t\tcreateEReference(typeAssertionEClass, TYPE_ASSERTION__TYPE);\n\t\tcreateEReference(typeAssertionEClass, TYPE_ASSERTION__OWNING_INSTANCE);\n\t\tcreateEOperation(typeAssertionEClass, TYPE_ASSERTION___GET_SUBJECT);\n\t\tcreateEOperation(typeAssertionEClass, TYPE_ASSERTION___GET_OBJECT);\n\n\t\tpropertyValueAssertionEClass = createEClass(PROPERTY_VALUE_ASSERTION);\n\t\tcreateEReference(propertyValueAssertionEClass, PROPERTY_VALUE_ASSERTION__PROPERTY);\n\t\tcreateEReference(propertyValueAssertionEClass, PROPERTY_VALUE_ASSERTION__LITERAL_VALUE);\n\t\tcreateEReference(propertyValueAssertionEClass, PROPERTY_VALUE_ASSERTION__STRUCTURE_INSTANCE_VALUE);\n\t\tcreateEReference(propertyValueAssertionEClass, PROPERTY_VALUE_ASSERTION__NAMED_INSTANCE_VALUE);\n\t\tcreateEReference(propertyValueAssertionEClass, PROPERTY_VALUE_ASSERTION__OWNING_INSTANCE);\n\t\tcreateEOperation(propertyValueAssertionEClass, PROPERTY_VALUE_ASSERTION___GET_VALUE);\n\t\tcreateEOperation(propertyValueAssertionEClass, PROPERTY_VALUE_ASSERTION___GET_SUBJECT);\n\t\tcreateEOperation(propertyValueAssertionEClass, PROPERTY_VALUE_ASSERTION___GET_OBJECT);\n\n\t\tunaryPredicateEClass = createEClass(UNARY_PREDICATE);\n\t\tcreateEReference(unaryPredicateEClass, UNARY_PREDICATE__ARGUMENT);\n\n\t\tbinaryPredicateEClass = createEClass(BINARY_PREDICATE);\n\t\tcreateEReference(binaryPredicateEClass, BINARY_PREDICATE__ARGUMENT1);\n\t\tcreateEReference(binaryPredicateEClass, BINARY_PREDICATE__ARGUMENT2);\n\n\t\tbuiltInPredicateEClass = createEClass(BUILT_IN_PREDICATE);\n\t\tcreateEReference(builtInPredicateEClass, BUILT_IN_PREDICATE__BUILT_IN);\n\t\tcreateEReference(builtInPredicateEClass, BUILT_IN_PREDICATE__ARGUMENTS);\n\n\t\ttypePredicateEClass = createEClass(TYPE_PREDICATE);\n\t\tcreateEReference(typePredicateEClass, TYPE_PREDICATE__TYPE);\n\n\t\trelationEntityPredicateEClass = createEClass(RELATION_ENTITY_PREDICATE);\n\t\tcreateEReference(relationEntityPredicateEClass, RELATION_ENTITY_PREDICATE__TYPE);\n\n\t\tpropertyPredicateEClass = createEClass(PROPERTY_PREDICATE);\n\t\tcreateEReference(propertyPredicateEClass, PROPERTY_PREDICATE__PROPERTY);\n\n\t\tsameAsPredicateEClass = createEClass(SAME_AS_PREDICATE);\n\n\t\tdifferentFromPredicateEClass = createEClass(DIFFERENT_FROM_PREDICATE);\n\n\t\tquotedLiteralEClass = createEClass(QUOTED_LITERAL);\n\t\tcreateEAttribute(quotedLiteralEClass, QUOTED_LITERAL__VALUE);\n\t\tcreateEAttribute(quotedLiteralEClass, QUOTED_LITERAL__LANG_TAG);\n\t\tcreateEReference(quotedLiteralEClass, QUOTED_LITERAL__TYPE);\n\t\tcreateEOperation(quotedLiteralEClass, QUOTED_LITERAL___GET_LEXICAL_VALUE);\n\t\tcreateEOperation(quotedLiteralEClass, QUOTED_LITERAL___GET_TYPE_IRI);\n\n\t\tintegerLiteralEClass = createEClass(INTEGER_LITERAL);\n\t\tcreateEAttribute(integerLiteralEClass, INTEGER_LITERAL__VALUE);\n\t\tcreateEOperation(integerLiteralEClass, INTEGER_LITERAL___GET_TYPE_IRI);\n\n\t\tdecimalLiteralEClass = createEClass(DECIMAL_LITERAL);\n\t\tcreateEAttribute(decimalLiteralEClass, DECIMAL_LITERAL__VALUE);\n\t\tcreateEOperation(decimalLiteralEClass, DECIMAL_LITERAL___GET_TYPE_IRI);\n\n\t\tdoubleLiteralEClass = createEClass(DOUBLE_LITERAL);\n\t\tcreateEAttribute(doubleLiteralEClass, DOUBLE_LITERAL__VALUE);\n\t\tcreateEOperation(doubleLiteralEClass, DOUBLE_LITERAL___GET_TYPE_IRI);\n\n\t\tbooleanLiteralEClass = createEClass(BOOLEAN_LITERAL);\n\t\tcreateEAttribute(booleanLiteralEClass, BOOLEAN_LITERAL__VALUE);\n\t\tcreateEOperation(booleanLiteralEClass, BOOLEAN_LITERAL___IS_VALUE);\n\t\tcreateEOperation(booleanLiteralEClass, BOOLEAN_LITERAL___GET_TYPE_IRI);\n\n\t\t// Create enums\n\t\tseparatorKindEEnum = createEEnum(SEPARATOR_KIND);\n\t\trangeRestrictionKindEEnum = createEEnum(RANGE_RESTRICTION_KIND);\n\t\tcardinalityRestrictionKindEEnum = createEEnum(CARDINALITY_RESTRICTION_KIND);\n\t\timportKindEEnum = createEEnum(IMPORT_KIND);\n\n\t\t// Create data types\n\t\tunsignedIntEDataType = createEDataType(UNSIGNED_INT);\n\t\tunsignedIntegerEDataType = createEDataType(UNSIGNED_INTEGER);\n\t\tdecimalEDataType = createEDataType(DECIMAL);\n\t\tidEDataType = createEDataType(ID);\n\t\tnamespaceEDataType = createEDataType(NAMESPACE);\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)\n\t\t\treturn;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tbagTypeEClass = createEClass(BAG_TYPE);\n\n\t\ttupleTypeEClass = createEClass(TUPLE_TYPE);\n\t\tcreateEReference(tupleTypeEClass, TUPLE_TYPE__OCL_LIBRARY);\n\n\t\tcollectionTypeEClass = createEClass(COLLECTION_TYPE);\n\t\tcreateEReference(collectionTypeEClass, COLLECTION_TYPE__ELEMENT_TYPE);\n\t\tcreateEReference(collectionTypeEClass, COLLECTION_TYPE__OCL_LIBRARY);\n\t\tcreateEAttribute(collectionTypeEClass, COLLECTION_TYPE__KIND);\n\n\t\tinvalidTypeEClass = createEClass(INVALID_TYPE);\n\t\tcreateEReference(invalidTypeEClass, INVALID_TYPE__OCL_LIBRARY);\n\n\t\torderedSetTypeEClass = createEClass(ORDERED_SET_TYPE);\n\n\t\tsequenceTypeEClass = createEClass(SEQUENCE_TYPE);\n\n\t\tsetTypeEClass = createEClass(SET_TYPE);\n\n\t\tvoidTypeEClass = createEClass(VOID_TYPE);\n\t\tcreateEReference(voidTypeEClass, VOID_TYPE__OCL_LIBRARY);\n\n\t\ttypeTypeEClass = createEClass(TYPE_TYPE);\n\t\tcreateEReference(typeTypeEClass, TYPE_TYPE__REPRESENTED_TYPE);\n\n\t\toclLibraryEClass = createEClass(OCL_LIBRARY);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_BOOLEAN);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_STRING);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_INTEGER);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_REAL);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_ANY);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_VOID);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_INVALID);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_TYPE);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_COLLECTION);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_SEQUENCE);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_BAG);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_SET);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_ORDERED_SET);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_TUPLE);\n\n\t\tanyTypeEClass = createEClass(ANY_TYPE);\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\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 createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tcharacteristicComponentEClass = createEClass(CHARACTERISTIC_COMPONENT);\n\t\tcreateEAttribute(characteristicComponentEClass, CHARACTERISTIC_COMPONENT__NAME);\n\t\tcreateEAttribute(characteristicComponentEClass, CHARACTERISTIC_COMPONENT__MODULE);\n\t\tcreateEAttribute(characteristicComponentEClass, CHARACTERISTIC_COMPONENT__PREFIX);\n\t\tcreateEAttribute(characteristicComponentEClass, CHARACTERISTIC_COMPONENT__CONTAINER);\n\t\tcreateEReference(characteristicComponentEClass, CHARACTERISTIC_COMPONENT__ACTIONS);\n\t\tcreateEReference(characteristicComponentEClass, CHARACTERISTIC_COMPONENT__ATTRIBUTES);\n\t\tcreateEReference(characteristicComponentEClass, CHARACTERISTIC_COMPONENT__PROPERTIES);\n\t\tcreateEReference(characteristicComponentEClass, CHARACTERISTIC_COMPONENT__USED_BACI_TYPES);\n\t\tcreateEReference(characteristicComponentEClass, CHARACTERISTIC_COMPONENT__USED_DEV_IOS);\n\t\tcreateEReference(characteristicComponentEClass, CHARACTERISTIC_COMPONENT__COMPONENT_INSTANCES);\n\n\t\tactionEClass = createEClass(ACTION);\n\t\tcreateEAttribute(actionEClass, ACTION__NAME);\n\t\tcreateEAttribute(actionEClass, ACTION__TYPE);\n\t\tcreateEReference(actionEClass, ACTION__PARAMETERS);\n\n\t\tparameterEClass = createEClass(PARAMETER);\n\t\tcreateEAttribute(parameterEClass, PARAMETER__NAME);\n\t\tcreateEAttribute(parameterEClass, PARAMETER__TYPE);\n\n\t\tattributeEClass = createEClass(ATTRIBUTE);\n\t\tcreateEAttribute(attributeEClass, ATTRIBUTE__NAME);\n\t\tcreateEAttribute(attributeEClass, ATTRIBUTE__TYPE);\n\t\tcreateEAttribute(attributeEClass, ATTRIBUTE__REQUIRED);\n\t\tcreateEAttribute(attributeEClass, ATTRIBUTE__DEFAULT_VALUE);\n\n\t\tpropertyEClass = createEClass(PROPERTY);\n\t\tcreateEAttribute(propertyEClass, PROPERTY__NAME);\n\t\tcreateEReference(propertyEClass, PROPERTY__BACI_TYPE);\n\t\tcreateEReference(propertyEClass, PROPERTY__DEV_IO);\n\n\t\tusedDevIOsEClass = createEClass(USED_DEV_IOS);\n\t\tcreateEReference(usedDevIOsEClass, USED_DEV_IOS__DEV_IOS);\n\n\t\tdevIOEClass = createEClass(DEV_IO);\n\t\tcreateEAttribute(devIOEClass, DEV_IO__NAME);\n\t\tcreateEAttribute(devIOEClass, DEV_IO__REQUIRED_LIBRARIES);\n\t\tcreateEReference(devIOEClass, DEV_IO__DEV_IO_VARIABLES);\n\n\t\tdevIOVariableEClass = createEClass(DEV_IO_VARIABLE);\n\t\tcreateEAttribute(devIOVariableEClass, DEV_IO_VARIABLE__NAME);\n\t\tcreateEAttribute(devIOVariableEClass, DEV_IO_VARIABLE__TYPE);\n\t\tcreateEAttribute(devIOVariableEClass, DEV_IO_VARIABLE__IS_READ);\n\t\tcreateEAttribute(devIOVariableEClass, DEV_IO_VARIABLE__IS_WRITE);\n\t\tcreateEAttribute(devIOVariableEClass, DEV_IO_VARIABLE__IS_PROPERTY_SPECIFIC);\n\n\t\tusedBaciTypesEClass = createEClass(USED_BACI_TYPES);\n\t\tcreateEReference(usedBaciTypesEClass, USED_BACI_TYPES__BACI_TYPES);\n\n\t\tbaciTypeEClass = createEClass(BACI_TYPE);\n\t\tcreateEAttribute(baciTypeEClass, BACI_TYPE__NAME);\n\t\tcreateEAttribute(baciTypeEClass, BACI_TYPE__ACCESS_TYPE);\n\t\tcreateEAttribute(baciTypeEClass, BACI_TYPE__BASIC_TYPE);\n\t\tcreateEAttribute(baciTypeEClass, BACI_TYPE__SEQ_TYPE);\n\n\t\tcomponentInstancesEClass = createEClass(COMPONENT_INSTANCES);\n\t\tcreateEReference(componentInstancesEClass, COMPONENT_INSTANCES__INSTANCES);\n\t\tcreateEReference(componentInstancesEClass, COMPONENT_INSTANCES__CONTAINING_CARACTERISTIC_COMPONENT);\n\n\t\tinstanceEClass = createEClass(INSTANCE);\n\t\tcreateEAttribute(instanceEClass, INSTANCE__NAME);\n\t\tcreateEReference(instanceEClass, INSTANCE__CONTAINING_COMPONENT_INSTANCES);\n\t\tcreateEReference(instanceEClass, INSTANCE__ATTRIBUTE_VALUES_CONTAINER);\n\t\tcreateEReference(instanceEClass, INSTANCE__CHARACTERISTIC_VALUES_CONTAINER);\n\t\tcreateEAttribute(instanceEClass, INSTANCE__AUTO_START);\n\t\tcreateEAttribute(instanceEClass, INSTANCE__DEFAULT);\n\n\t\tattributeValuesEClass = createEClass(ATTRIBUTE_VALUES);\n\t\tcreateEReference(attributeValuesEClass, ATTRIBUTE_VALUES__INSTANCE_ATTRIBUTES);\n\t\tcreateEReference(attributeValuesEClass, ATTRIBUTE_VALUES__CONTAINING_INSTANCE);\n\n\t\tattributeValueEClass = createEClass(ATTRIBUTE_VALUE);\n\t\tcreateEAttribute(attributeValueEClass, ATTRIBUTE_VALUE__NAME);\n\t\tcreateEAttribute(attributeValueEClass, ATTRIBUTE_VALUE__VALUE);\n\n\t\tcharacteristicValuesEClass = createEClass(CHARACTERISTIC_VALUES);\n\t\tcreateEAttribute(characteristicValuesEClass, CHARACTERISTIC_VALUES__PROPERTY_NAME);\n\t\tcreateEReference(characteristicValuesEClass, CHARACTERISTIC_VALUES__INSTANCE_CHARACTERISTICS);\n\t\tcreateEReference(characteristicValuesEClass, CHARACTERISTIC_VALUES__CONTAINING_INSTANCE);\n\n\t\tcharacteristicValueEClass = createEClass(CHARACTERISTIC_VALUE);\n\t\tcreateEAttribute(characteristicValueEClass, CHARACTERISTIC_VALUE__NAME);\n\t\tcreateEAttribute(characteristicValueEClass, CHARACTERISTIC_VALUE__VALUE);\n\n\t\tpropertyDefinitionEClass = createEClass(PROPERTY_DEFINITION);\n\n\t\t// Create enums\n\t\taccessTypeEEnum = createEEnum(ACCESS_TYPE);\n\t\tbasicTypeEEnum = createEEnum(BASIC_TYPE);\n\t\tseqTypeEEnum = createEEnum(SEQ_TYPE);\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\tannotationModelEClass = createEClass(ANNOTATION_MODEL);\r\n\t\tcreateEAttribute(annotationModelEClass, ANNOTATION_MODEL__NAME);\r\n\t\tcreateEReference(annotationModelEClass, ANNOTATION_MODEL__HAS_ANNOTATED_ELEMENT);\r\n\t\tcreateEReference(annotationModelEClass, ANNOTATION_MODEL__HAS_ANNOTATION);\r\n\r\n\t\tannotationEClass = createEClass(ANNOTATION);\r\n\r\n\t\tauthorizableResourceEClass = createEClass(AUTHORIZABLE_RESOURCE);\r\n\t\tcreateEReference(authorizableResourceEClass, AUTHORIZABLE_RESOURCE__HAS_RESOURCE_ACCESS_POLICY_SET);\r\n\t\tcreateEReference(authorizableResourceEClass, AUTHORIZABLE_RESOURCE__IS_AUTHORIZABLE_RESOURCE);\r\n\t\tcreateEAttribute(authorizableResourceEClass, AUTHORIZABLE_RESOURCE__BTRACK_OWNERSHIP);\r\n\r\n\t\tresourceAccessPolicySetEClass = createEClass(RESOURCE_ACCESS_POLICY_SET);\r\n\t\tcreateEAttribute(resourceAccessPolicySetEClass, RESOURCE_ACCESS_POLICY_SET__NAME);\r\n\t\tcreateEAttribute(resourceAccessPolicySetEClass, RESOURCE_ACCESS_POLICY_SET__POLICY_COMBINING_ALGORITHM);\r\n\t\tcreateEReference(resourceAccessPolicySetEClass, RESOURCE_ACCESS_POLICY_SET__HAS_RESOURCE_ACCESS_POLICY);\r\n\t\tcreateEReference(resourceAccessPolicySetEClass, RESOURCE_ACCESS_POLICY_SET__HAS_RESOURCE_ACCESS_POLICY_SET);\r\n\r\n\t\tannotatedElementEClass = createEClass(ANNOTATED_ELEMENT);\r\n\r\n\t\tannResourceEClass = createEClass(ANN_RESOURCE);\r\n\t\tcreateEReference(annResourceEClass, ANN_RESOURCE__ANNOTATES_RESOURCE);\r\n\r\n\t\tresourceAccessPolicyEClass = createEClass(RESOURCE_ACCESS_POLICY);\r\n\t\tcreateEAttribute(resourceAccessPolicyEClass, RESOURCE_ACCESS_POLICY__NAME);\r\n\t\tcreateEAttribute(resourceAccessPolicyEClass, RESOURCE_ACCESS_POLICY__RULE_COMBINING_ALGORITHM);\r\n\t\tcreateEReference(resourceAccessPolicyEClass, RESOURCE_ACCESS_POLICY__HAS_APPLY_CONDITION);\r\n\t\tcreateEReference(resourceAccessPolicyEClass, RESOURCE_ACCESS_POLICY__HAS_RESOURCE_ACCESS_RULE);\r\n\r\n\t\tconditionEClass = createEClass(CONDITION);\r\n\t\tcreateEAttribute(conditionEClass, CONDITION__OPERATOR);\r\n\t\tcreateEReference(conditionEClass, CONDITION__HAS_LEFT_SIDE_OPERAND);\r\n\t\tcreateEReference(conditionEClass, CONDITION__HAS_RIGHT_SIDE_OPERAND);\r\n\r\n\t\tattributeEClass = createEClass(ATTRIBUTE);\r\n\t\tcreateEAttribute(attributeEClass, ATTRIBUTE__ATTRIBUTE_CATEGORY);\r\n\t\tcreateEReference(attributeEClass, ATTRIBUTE__IS_ATTRIBUTE_EXISTING_PROPERTY);\r\n\t\tcreateEAttribute(attributeEClass, ATTRIBUTE__VALUE);\r\n\t\tcreateEReference(attributeEClass, ATTRIBUTE__IS_ATTRIBUTE_NEW_PROPERTY);\r\n\t\tcreateEReference(attributeEClass, ATTRIBUTE__IS_ATTRIBUTE_RESOURCE);\r\n\r\n\t\tannPropertyEClass = createEClass(ANN_PROPERTY);\r\n\t\tcreateEReference(annPropertyEClass, ANN_PROPERTY__ANNOTATES_PROPERTY);\r\n\r\n\t\tresourceAccessRuleEClass = createEClass(RESOURCE_ACCESS_RULE);\r\n\t\tcreateEReference(resourceAccessRuleEClass, RESOURCE_ACCESS_RULE__HAS_MATCH_CONDITION);\r\n\t\tcreateEAttribute(resourceAccessRuleEClass, RESOURCE_ACCESS_RULE__NAME);\r\n\t\tcreateEAttribute(resourceAccessRuleEClass, RESOURCE_ACCESS_RULE__RULE_TYPE);\r\n\t\tcreateEReference(resourceAccessRuleEClass, RESOURCE_ACCESS_RULE__HAS_ALLOWED_ACTION);\r\n\r\n\t\tauthorizationSubjectEClass = createEClass(AUTHORIZATION_SUBJECT);\r\n\t\tcreateEReference(authorizationSubjectEClass, AUTHORIZATION_SUBJECT__IS_AUTHORIZATION_SUBJECT);\r\n\r\n\t\tannCRUDActivityEClass = createEClass(ANN_CRUD_ACTIVITY);\r\n\t\tcreateEReference(annCRUDActivityEClass, ANN_CRUD_ACTIVITY__ANNOTATES_CRUD_ACTIVITY);\r\n\r\n\t\tallowedActionEClass = createEClass(ALLOWED_ACTION);\r\n\t\tcreateEReference(allowedActionEClass, ALLOWED_ACTION__IS_ALLOWED_ACTION);\r\n\r\n\t\tnewPropertyEClass = createEClass(NEW_PROPERTY);\r\n\t\tcreateEReference(newPropertyEClass, NEW_PROPERTY__BELONGS_TO_RESOURCE);\r\n\t\tcreateEAttribute(newPropertyEClass, NEW_PROPERTY__NAME);\r\n\t\tcreateEAttribute(newPropertyEClass, NEW_PROPERTY__TYPE);\r\n\t\tcreateEAttribute(newPropertyEClass, NEW_PROPERTY__BIS_UNIQUE);\r\n\r\n\t\t// Create enums\r\n\t\tcombiningAlgorithmEEnum = createEEnum(COMBINING_ALGORITHM);\r\n\t\toperatorEEnum = createEEnum(OPERATOR);\r\n\t\tattributeCategoryEEnum = createEEnum(ATTRIBUTE_CATEGORY);\r\n\t\truleTypeEEnum = createEEnum(RULE_TYPE);\r\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 createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\teDomainSchemaEClass = createEClass(EDOMAIN_SCHEMA);\n\t\tcreateEReference(eDomainSchemaEClass, EDOMAIN_SCHEMA__CS);\n\t\tcreateEReference(eDomainSchemaEClass, EDOMAIN_SCHEMA__DS);\n\n\t\teControlSchemaEClass = createEClass(ECONTROL_SCHEMA);\n\t\tcreateEReference(eControlSchemaEClass, ECONTROL_SCHEMA__ACTOR);\n\n\t\teDataSchemaEClass = createEClass(EDATA_SCHEMA);\n\t\tcreateEReference(eDataSchemaEClass, EDATA_SCHEMA__CS);\n\t\tcreateEReference(eDataSchemaEClass, EDATA_SCHEMA__ITEM);\n\n\t\teDomainSpecificEntityEClass = createEClass(EDOMAIN_SPECIFIC_ENTITY);\n\t\tcreateEAttribute(eDomainSpecificEntityEClass, EDOMAIN_SPECIFIC_ENTITY__COMMAND_PRIORITY);\n\t\tcreateEReference(eDomainSpecificEntityEClass, EDOMAIN_SPECIFIC_ENTITY__CMD);\n\n\t\teDomainSpecificCommandEClass = createEClass(EDOMAIN_SPECIFIC_COMMAND);\n\t\tcreateEAttribute(eDomainSpecificCommandEClass, EDOMAIN_SPECIFIC_COMMAND__CMD_ID);\n\n\t\teActorEClass = createEClass(EACTOR);\n\t\tcreateEAttribute(eActorEClass, EACTOR__KIND_INTERACTION);\n\t\tcreateEReference(eActorEClass, EACTOR__TYPES_CONTROLLED);\n\n\t\teItemEClass = createEClass(EITEM);\n\t\tcreateEAttribute(eItemEClass, EITEM__ARISING_BEHAVIOR);\n\t\tcreateEReference(eItemEClass, EITEM__TYPE);\n\n\t\teDomainSpecificTypeEClass = createEClass(EDOMAIN_SPECIFIC_TYPE);\n\t\tcreateEAttribute(eDomainSpecificTypeEClass, EDOMAIN_SPECIFIC_TYPE__INTERACTION_BEHAVIOR);\n\t\tcreateEAttribute(eDomainSpecificTypeEClass, EDOMAIN_SPECIFIC_TYPE__CARDINALITY);\n\n\t\t// Create enums\n\t\teArisingEEnum = createEEnum(EARISING);\n\t\teCardinalityEEnum = createEEnum(ECARDINALITY);\n\t\teInteractionBehaviorEEnum = createEEnum(EINTERACTION_BEHAVIOR);\n\t\teCoordinationBehaviorEEnum = createEEnum(ECOORDINATION_BEHAVIOR);\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\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 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\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 createPackageContents()\n {\n if (isCreated) return;\n isCreated = true;\n\n // Create classes and their features\n modelEClass = createEClass(MODEL);\n createEReference(modelEClass, MODEL__STMTS);\n\n simpleStatementEClass = createEClass(SIMPLE_STATEMENT);\n\n assignmentEClass = createEClass(ASSIGNMENT);\n createEReference(assignmentEClass, ASSIGNMENT__LEFT_HAND_SIDE);\n createEReference(assignmentEClass, ASSIGNMENT__RIGHT_HAND_SIDE);\n\n expressionEClass = createEClass(EXPRESSION);\n\n unaryMinusExpressionEClass = createEClass(UNARY_MINUS_EXPRESSION);\n createEReference(unaryMinusExpressionEClass, UNARY_MINUS_EXPRESSION__SUB);\n\n unaryPlusExpressionEClass = createEClass(UNARY_PLUS_EXPRESSION);\n createEReference(unaryPlusExpressionEClass, UNARY_PLUS_EXPRESSION__SUB);\n\n logicalNegationExpressionEClass = createEClass(LOGICAL_NEGATION_EXPRESSION);\n createEReference(logicalNegationExpressionEClass, LOGICAL_NEGATION_EXPRESSION__SUB);\n\n bracketExpressionEClass = createEClass(BRACKET_EXPRESSION);\n createEReference(bracketExpressionEClass, BRACKET_EXPRESSION__SUB);\n\n pointerCallEClass = createEClass(POINTER_CALL);\n\n variableCallEClass = createEClass(VARIABLE_CALL);\n createEAttribute(variableCallEClass, VARIABLE_CALL__NAME);\n\n arraySpecifierEClass = createEClass(ARRAY_SPECIFIER);\n\n unarySpecifierEClass = createEClass(UNARY_SPECIFIER);\n createEAttribute(unarySpecifierEClass, UNARY_SPECIFIER__INDEX);\n\n rangeSpecifierEClass = createEClass(RANGE_SPECIFIER);\n createEAttribute(rangeSpecifierEClass, RANGE_SPECIFIER__FROM);\n createEAttribute(rangeSpecifierEClass, RANGE_SPECIFIER__TO);\n\n ioFunctionsEClass = createEClass(IO_FUNCTIONS);\n createEAttribute(ioFunctionsEClass, IO_FUNCTIONS__FILE_NAME);\n\n infoFunctionsEClass = createEClass(INFO_FUNCTIONS);\n\n manipFunctionsEClass = createEClass(MANIP_FUNCTIONS);\n\n arithFunctionsEClass = createEClass(ARITH_FUNCTIONS);\n createEReference(arithFunctionsEClass, ARITH_FUNCTIONS__EXPRESSION);\n createEReference(arithFunctionsEClass, ARITH_FUNCTIONS__FIELD);\n createEReference(arithFunctionsEClass, ARITH_FUNCTIONS__WHERE_EXPRESSION);\n\n loadEClass = createEClass(LOAD);\n\n storeEClass = createEClass(STORE);\n createEReference(storeEClass, STORE__EXPRESSION);\n\n exportEClass = createEClass(EXPORT);\n createEReference(exportEClass, EXPORT__EXPRESSION);\n\n printEClass = createEClass(PRINT);\n createEReference(printEClass, PRINT__EXPRESSION);\n\n depthEClass = createEClass(DEPTH);\n createEReference(depthEClass, DEPTH__EXPRESSION);\n\n fieldInfoEClass = createEClass(FIELD_INFO);\n createEReference(fieldInfoEClass, FIELD_INFO__EXPRESSION);\n\n containsEClass = createEClass(CONTAINS);\n createEReference(containsEClass, CONTAINS__KEYS);\n createEReference(containsEClass, CONTAINS__RIGHT);\n\n selectEClass = createEClass(SELECT);\n createEReference(selectEClass, SELECT__FIELDS);\n createEReference(selectEClass, SELECT__FROM_EXPRESSION);\n createEReference(selectEClass, SELECT__WHERE_EXPRESSION);\n\n lengthEClass = createEClass(LENGTH);\n createEReference(lengthEClass, LENGTH__EXPRESSION);\n\n sumEClass = createEClass(SUM);\n\n productEClass = createEClass(PRODUCT);\n\n constantEClass = createEClass(CONSTANT);\n\n primitiveEClass = createEClass(PRIMITIVE);\n createEAttribute(primitiveEClass, PRIMITIVE__STR);\n createEAttribute(primitiveEClass, PRIMITIVE__INT_NUM);\n createEAttribute(primitiveEClass, PRIMITIVE__FLOAT_NUM);\n createEAttribute(primitiveEClass, PRIMITIVE__BOOL);\n createEAttribute(primitiveEClass, PRIMITIVE__NIL);\n\n arrayEClass = createEClass(ARRAY);\n createEReference(arrayEClass, ARRAY__VALUES);\n\n jSonObjectEClass = createEClass(JSON_OBJECT);\n createEReference(jSonObjectEClass, JSON_OBJECT__FIELDS);\n\n fieldEClass = createEClass(FIELD);\n createEReference(fieldEClass, FIELD__KEY);\n createEReference(fieldEClass, FIELD__VALUE);\n\n disjunctionExpressionEClass = createEClass(DISJUNCTION_EXPRESSION);\n createEReference(disjunctionExpressionEClass, DISJUNCTION_EXPRESSION__LEFT);\n createEReference(disjunctionExpressionEClass, DISJUNCTION_EXPRESSION__RIGHT);\n\n conjunctionExpressionEClass = createEClass(CONJUNCTION_EXPRESSION);\n createEReference(conjunctionExpressionEClass, CONJUNCTION_EXPRESSION__LEFT);\n createEReference(conjunctionExpressionEClass, CONJUNCTION_EXPRESSION__RIGHT);\n\n equalityExpressionEClass = createEClass(EQUALITY_EXPRESSION);\n createEReference(equalityExpressionEClass, EQUALITY_EXPRESSION__LEFT);\n createEReference(equalityExpressionEClass, EQUALITY_EXPRESSION__RIGHT);\n\n inequalityExpressionEClass = createEClass(INEQUALITY_EXPRESSION);\n createEReference(inequalityExpressionEClass, INEQUALITY_EXPRESSION__LEFT);\n createEReference(inequalityExpressionEClass, INEQUALITY_EXPRESSION__RIGHT);\n\n superiorExpressionEClass = createEClass(SUPERIOR_EXPRESSION);\n createEReference(superiorExpressionEClass, SUPERIOR_EXPRESSION__LEFT);\n createEReference(superiorExpressionEClass, SUPERIOR_EXPRESSION__RIGHT);\n\n superiorOrEqualExpressionEClass = createEClass(SUPERIOR_OR_EQUAL_EXPRESSION);\n createEReference(superiorOrEqualExpressionEClass, SUPERIOR_OR_EQUAL_EXPRESSION__LEFT);\n createEReference(superiorOrEqualExpressionEClass, SUPERIOR_OR_EQUAL_EXPRESSION__RIGHT);\n\n inferiorExpressionEClass = createEClass(INFERIOR_EXPRESSION);\n createEReference(inferiorExpressionEClass, INFERIOR_EXPRESSION__LEFT);\n createEReference(inferiorExpressionEClass, INFERIOR_EXPRESSION__RIGHT);\n\n inferiorOrEqualExpressionEClass = createEClass(INFERIOR_OR_EQUAL_EXPRESSION);\n createEReference(inferiorOrEqualExpressionEClass, INFERIOR_OR_EQUAL_EXPRESSION__LEFT);\n createEReference(inferiorOrEqualExpressionEClass, INFERIOR_OR_EQUAL_EXPRESSION__RIGHT);\n\n additionExpressionEClass = createEClass(ADDITION_EXPRESSION);\n createEReference(additionExpressionEClass, ADDITION_EXPRESSION__LEFT);\n createEReference(additionExpressionEClass, ADDITION_EXPRESSION__RIGHT);\n\n substractionExpressionEClass = createEClass(SUBSTRACTION_EXPRESSION);\n createEReference(substractionExpressionEClass, SUBSTRACTION_EXPRESSION__LEFT);\n createEReference(substractionExpressionEClass, SUBSTRACTION_EXPRESSION__RIGHT);\n\n multiplicationExpressionEClass = createEClass(MULTIPLICATION_EXPRESSION);\n createEReference(multiplicationExpressionEClass, MULTIPLICATION_EXPRESSION__LEFT);\n createEReference(multiplicationExpressionEClass, MULTIPLICATION_EXPRESSION__RIGHT);\n\n divisionExpressionEClass = createEClass(DIVISION_EXPRESSION);\n createEReference(divisionExpressionEClass, DIVISION_EXPRESSION__LEFT);\n createEReference(divisionExpressionEClass, DIVISION_EXPRESSION__RIGHT);\n\n moduloExpressionEClass = createEClass(MODULO_EXPRESSION);\n createEReference(moduloExpressionEClass, MODULO_EXPRESSION__LEFT);\n createEReference(moduloExpressionEClass, MODULO_EXPRESSION__RIGHT);\n\n arrayCallEClass = createEClass(ARRAY_CALL);\n createEReference(arrayCallEClass, ARRAY_CALL__CALLEE);\n createEReference(arrayCallEClass, ARRAY_CALL__SPECIFIER);\n\n fieldCallEClass = createEClass(FIELD_CALL);\n createEReference(fieldCallEClass, FIELD_CALL__CALLEE);\n createEAttribute(fieldCallEClass, FIELD_CALL__FIELD);\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}", "public void createPackageContents() {\n if (isCreated) return;\n isCreated = true;\n\n // Create classes and their features\n calcEClass = createEClass(CALC);\n createEReference(calcEClass, CALC__EXPR);\n\n exprEClass = createEClass(EXPR);\n\n bitShiftExprEClass = createEClass(BIT_SHIFT_EXPR);\n createEReference(bitShiftExprEClass, BIT_SHIFT_EXPR__CHILDREN);\n createEAttribute(bitShiftExprEClass, BIT_SHIFT_EXPR__OPERATORS);\n\n bitShiftExprChildEClass = createEClass(BIT_SHIFT_EXPR_CHILD);\n\n additiveExprEClass = createEClass(ADDITIVE_EXPR);\n createEReference(additiveExprEClass, ADDITIVE_EXPR__CHILDREN);\n createEAttribute(additiveExprEClass, ADDITIVE_EXPR__OPERATORS);\n\n additiveExprChildEClass = createEClass(ADDITIVE_EXPR_CHILD);\n\n multiplicativeExprEClass = createEClass(MULTIPLICATIVE_EXPR);\n createEReference(multiplicativeExprEClass, MULTIPLICATIVE_EXPR__CHILDREN);\n createEAttribute(multiplicativeExprEClass, MULTIPLICATIVE_EXPR__OPERATORS);\n\n multiplicativeExprChildEClass = createEClass(MULTIPLICATIVE_EXPR_CHILD);\n\n numberEClass = createEClass(NUMBER);\n createEAttribute(numberEClass, NUMBER__VALUE);\n\n // Create enums\n bitShiftOpEEnum = createEEnum(BIT_SHIFT_OP);\n additiveOpEEnum = createEEnum(ADDITIVE_OP);\n multiplicativeOpEEnum = createEEnum(MULTIPLICATIVE_OP);\n }", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\treadCsvFileEClass = createEClass(READ_CSV_FILE);\n\t\tcreateEAttribute(readCsvFileEClass, READ_CSV_FILE__URI);\n\n\t\tprintEClass = createEClass(PRINT);\n\t\tcreateEReference(printEClass, PRINT__INPUT);\n\n\t\twriteCsvFileEClass = createEClass(WRITE_CSV_FILE);\n\t\tcreateEReference(writeCsvFileEClass, WRITE_CSV_FILE__TABLE);\n\t\tcreateEAttribute(writeCsvFileEClass, WRITE_CSV_FILE__URI);\n\n\t\texcludeColumnsEClass = createEClass(EXCLUDE_COLUMNS);\n\t\tcreateEReference(excludeColumnsEClass, EXCLUDE_COLUMNS__TABLE);\n\t\tcreateEAttribute(excludeColumnsEClass, EXCLUDE_COLUMNS__COLUMNS);\n\n\t\tselectColumnsEClass = createEClass(SELECT_COLUMNS);\n\t\tcreateEReference(selectColumnsEClass, SELECT_COLUMNS__TABLE);\n\t\tcreateEAttribute(selectColumnsEClass, SELECT_COLUMNS__COLUMNS);\n\n\t\tassertTablesMatchEClass = createEClass(ASSERT_TABLES_MATCH);\n\t\tcreateEReference(assertTablesMatchEClass, ASSERT_TABLES_MATCH__LEFT);\n\t\tcreateEReference(assertTablesMatchEClass, ASSERT_TABLES_MATCH__RIGHT);\n\t\tcreateEAttribute(assertTablesMatchEClass, ASSERT_TABLES_MATCH__IGNORE_COLUMN_ORDER);\n\t\tcreateEAttribute(assertTablesMatchEClass, ASSERT_TABLES_MATCH__IGNORE_MISSING_COLUMNS);\n\n\t\twriteLinesEClass = createEClass(WRITE_LINES);\n\t\tcreateEAttribute(writeLinesEClass, WRITE_LINES__URI);\n\t\tcreateEAttribute(writeLinesEClass, WRITE_LINES__APPEND);\n\n\t\treadLinesEClass = createEClass(READ_LINES);\n\t\tcreateEAttribute(readLinesEClass, READ_LINES__URI);\n\n\t\tselectRowsEClass = createEClass(SELECT_ROWS);\n\t\tcreateEReference(selectRowsEClass, SELECT_ROWS__TABLE);\n\t\tcreateEAttribute(selectRowsEClass, SELECT_ROWS__COLUMN);\n\t\tcreateEAttribute(selectRowsEClass, SELECT_ROWS__VALUE);\n\t\tcreateEAttribute(selectRowsEClass, SELECT_ROWS__MATCH);\n\n\t\texcludeRowsEClass = createEClass(EXCLUDE_ROWS);\n\t\tcreateEReference(excludeRowsEClass, EXCLUDE_ROWS__TABLE);\n\t\tcreateEAttribute(excludeRowsEClass, EXCLUDE_ROWS__COLUMN);\n\t\tcreateEAttribute(excludeRowsEClass, EXCLUDE_ROWS__VALUE);\n\t\tcreateEAttribute(excludeRowsEClass, EXCLUDE_ROWS__MATCH);\n\n\t\tasTableDataEClass = createEClass(AS_TABLE_DATA);\n\t\tcreateEReference(asTableDataEClass, AS_TABLE_DATA__INPUT);\n\n\t\treadPropertiesEClass = createEClass(READ_PROPERTIES);\n\t\tcreateEAttribute(readPropertiesEClass, READ_PROPERTIES__URI);\n\n\t\t// Create enums\n\t\tignoreColumnsModeEEnum = createEEnum(IGNORE_COLUMNS_MODE);\n\t\trowMatchModeEEnum = createEEnum(ROW_MATCH_MODE);\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\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 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 createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tsutEClass = createEClass(SUT);\n\t\tcreateEAttribute(sutEClass, SUT__HOSTNAME);\n\t\tcreateEAttribute(sutEClass, SUT__IP);\n\t\tcreateEAttribute(sutEClass, SUT__HARDWARE);\n\t\tcreateEReference(sutEClass, SUT__SUT);\n\t\tcreateEReference(sutEClass, SUT__METRICMODEL);\n\t\tcreateEAttribute(sutEClass, SUT__TYPE);\n\n\t\tloadGeneratorEClass = createEClass(LOAD_GENERATOR);\n\t\tcreateEAttribute(loadGeneratorEClass, LOAD_GENERATOR__HOSTNAME);\n\t\tcreateEAttribute(loadGeneratorEClass, LOAD_GENERATOR__IP);\n\t\tcreateEAttribute(loadGeneratorEClass, LOAD_GENERATOR__IS_MONITOR);\n\t\tcreateEReference(loadGeneratorEClass, LOAD_GENERATOR__SUT);\n\t\tcreateEReference(loadGeneratorEClass, LOAD_GENERATOR__METRICMODEL);\n\t\tcreateEAttribute(loadGeneratorEClass, LOAD_GENERATOR__HARDWARE);\n\t\tcreateEReference(loadGeneratorEClass, LOAD_GENERATOR__MONITOR);\n\n\t\tmonitorEClass = createEClass(MONITOR);\n\t\tcreateEAttribute(monitorEClass, MONITOR__HOSTNAME);\n\t\tcreateEAttribute(monitorEClass, MONITOR__IP);\n\t\tcreateEReference(monitorEClass, MONITOR__SUT);\n\t\tcreateEAttribute(monitorEClass, MONITOR__HARDWARE);\n\t\tcreateEAttribute(monitorEClass, MONITOR__DESCRIPTION);\n\n\t\tmetricModelEClass = createEClass(METRIC_MODEL);\n\t\tcreateEAttribute(metricModelEClass, METRIC_MODEL__NAME);\n\t\tcreateEReference(metricModelEClass, METRIC_MODEL__MEMORY);\n\t\tcreateEReference(metricModelEClass, METRIC_MODEL__TRANSACTION);\n\t\tcreateEReference(metricModelEClass, METRIC_MODEL__DISK);\n\t\tcreateEReference(metricModelEClass, METRIC_MODEL__CRITERIA);\n\t\tcreateEReference(metricModelEClass, METRIC_MODEL__THRESHOLD);\n\t\tcreateEReference(metricModelEClass, METRIC_MODEL__ASSOCIATIONCOUNTERCRITERIATHRESHOLD);\n\t\tcreateEReference(metricModelEClass, METRIC_MODEL__DISK_COUNTER);\n\t\tcreateEReference(metricModelEClass, METRIC_MODEL__TRANSACTION_COUNTER);\n\t\tcreateEReference(metricModelEClass, METRIC_MODEL__MEMORY_COUNTER);\n\t\tcreateEReference(metricModelEClass, METRIC_MODEL__COUNTER);\n\t\tcreateEReference(metricModelEClass, METRIC_MODEL__METRIC);\n\n\t\t// Create enums\n\t\tsuT_TYPEEEnum = createEEnum(SUT_TYPE);\n\t\thardwareEEnum = createEEnum(HARDWARE);\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// 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\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() {\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 createPackageContents()\r\n {\r\n if (isCreated) return;\r\n isCreated = true;\r\n\r\n // Create classes and their features\r\n productEClass = createEClass(PRODUCT);\r\n createEAttribute(productEClass, PRODUCT__PRICE);\r\n createEAttribute(productEClass, PRODUCT__NAME);\r\n createEAttribute(productEClass, PRODUCT__ID);\r\n createEReference(productEClass, PRODUCT__PRODUCER);\r\n createEReference(productEClass, PRODUCT__WISHLISTS);\r\n createEReference(productEClass, PRODUCT__OFFERED_BY);\r\n\r\n customerEClass = createEClass(CUSTOMER);\r\n createEReference(customerEClass, CUSTOMER__ALL_BOUGHT_PRODUCTS);\r\n createEAttribute(customerEClass, CUSTOMER__NAME);\r\n createEAttribute(customerEClass, CUSTOMER__AGE);\r\n createEAttribute(customerEClass, CUSTOMER__ID);\r\n createEReference(customerEClass, CUSTOMER__WISHLISTS);\r\n createEAttribute(customerEClass, CUSTOMER__USERNAME);\r\n\r\n producerEClass = createEClass(PRODUCER);\r\n createEAttribute(producerEClass, PRODUCER__ID);\r\n createEAttribute(producerEClass, PRODUCER__NAME);\r\n createEReference(producerEClass, PRODUCER__PRODUCTS);\r\n\r\n storeEClass = createEClass(STORE);\r\n createEReference(storeEClass, STORE__CUSTOMERS);\r\n createEReference(storeEClass, STORE__PRODUCTS);\r\n createEReference(storeEClass, STORE__PRODUCERS);\r\n createEReference(storeEClass, STORE__SELLERS);\r\n\r\n bookEClass = createEClass(BOOK);\r\n createEAttribute(bookEClass, BOOK__AUTHOR);\r\n\r\n dvdEClass = createEClass(DVD);\r\n createEAttribute(dvdEClass, DVD__INTERPRET);\r\n\r\n wishlistEClass = createEClass(WISHLIST);\r\n createEReference(wishlistEClass, WISHLIST__PRODUCTS);\r\n\r\n sellerEClass = createEClass(SELLER);\r\n createEAttribute(sellerEClass, SELLER__NAME);\r\n createEAttribute(sellerEClass, SELLER__ID);\r\n createEAttribute(sellerEClass, SELLER__USERNAME);\r\n createEReference(sellerEClass, SELLER__ALL_PRODUCTS_TO_SELL);\r\n createEReference(sellerEClass, SELLER__EREFERENCE0);\r\n createEReference(sellerEClass, SELLER__SOLD_PRODUCTS);\r\n }", "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 {\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 }", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tbaseElementEClass = createEClass(BASE_ELEMENT);\n\t\tcreateEReference(baseElementEClass, BASE_ELEMENT__KEY_VALUE_MAPS);\n\t\tcreateEAttribute(baseElementEClass, BASE_ELEMENT__ID);\n\t\tcreateEAttribute(baseElementEClass, BASE_ELEMENT__NAME);\n\t\tcreateEAttribute(baseElementEClass, BASE_ELEMENT__DESCRIPTION);\n\n\t\tkeyValueMapEClass = createEClass(KEY_VALUE_MAP);\n\t\tcreateEAttribute(keyValueMapEClass, KEY_VALUE_MAP__KEY);\n\t\tcreateEReference(keyValueMapEClass, KEY_VALUE_MAP__VALUES);\n\n\t\tvalueEClass = createEClass(VALUE);\n\t\tcreateEAttribute(valueEClass, VALUE__TAG);\n\t\tcreateEAttribute(valueEClass, VALUE__VALUE);\n\n\t\t// Create enums\n\t\ttimeUnitEEnum = createEEnum(TIME_UNIT);\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\tpartyQualEClass = createEClass(PARTY_QUAL);\n\t\tcreateEReference(partyQualEClass, PARTY_QUAL__PARTY);\n\t\tcreateEReference(partyQualEClass, PARTY_QUAL__PARTY_QUAL_TYPE);\n\t\tcreateEAttribute(partyQualEClass, PARTY_QUAL__FROM_DATE);\n\t\tcreateEAttribute(partyQualEClass, PARTY_QUAL__QUALIFICATION_DESC);\n\t\tcreateEReference(partyQualEClass, PARTY_QUAL__STATUS);\n\t\tcreateEAttribute(partyQualEClass, PARTY_QUAL__THRU_DATE);\n\t\tcreateEAttribute(partyQualEClass, PARTY_QUAL__TITLE);\n\t\tcreateEReference(partyQualEClass, PARTY_QUAL__VERIF_STATUS);\n\n\t\tpartyQualTypeEClass = createEClass(PARTY_QUAL_TYPE);\n\t\tcreateEAttribute(partyQualTypeEClass, PARTY_QUAL_TYPE__PARTY_QUAL_TYPE_ID);\n\t\tcreateEAttribute(partyQualTypeEClass, PARTY_QUAL_TYPE__DESCRIPTION);\n\t\tcreateEAttribute(partyQualTypeEClass, PARTY_QUAL_TYPE__HAS_TABLE);\n\t\tcreateEReference(partyQualTypeEClass, PARTY_QUAL_TYPE__PARENT_TYPE);\n\n\t\tpartyResumeEClass = createEClass(PARTY_RESUME);\n\t\tcreateEAttribute(partyResumeEClass, PARTY_RESUME__RESUME_ID);\n\t\tcreateEReference(partyResumeEClass, PARTY_RESUME__CONTENT);\n\t\tcreateEReference(partyResumeEClass, PARTY_RESUME__PARTY);\n\t\tcreateEAttribute(partyResumeEClass, PARTY_RESUME__RESUME_DATE);\n\t\tcreateEAttribute(partyResumeEClass, PARTY_RESUME__RESUME_TEXT);\n\n\t\tpartySkillEClass = createEClass(PARTY_SKILL);\n\t\tcreateEReference(partySkillEClass, PARTY_SKILL__PARTY);\n\t\tcreateEReference(partySkillEClass, PARTY_SKILL__SKILL_TYPE);\n\t\tcreateEAttribute(partySkillEClass, PARTY_SKILL__RATING);\n\t\tcreateEAttribute(partySkillEClass, PARTY_SKILL__SKILL_LEVEL);\n\t\tcreateEAttribute(partySkillEClass, PARTY_SKILL__STARTED_USING_DATE);\n\t\tcreateEAttribute(partySkillEClass, PARTY_SKILL__YEARS_EXPERIENCE);\n\n\t\tperfRatingTypeEClass = createEClass(PERF_RATING_TYPE);\n\t\tcreateEAttribute(perfRatingTypeEClass, PERF_RATING_TYPE__PERF_RATING_TYPE_ID);\n\t\tcreateEAttribute(perfRatingTypeEClass, PERF_RATING_TYPE__DESCRIPTION);\n\t\tcreateEAttribute(perfRatingTypeEClass, PERF_RATING_TYPE__HAS_TABLE);\n\t\tcreateEReference(perfRatingTypeEClass, PERF_RATING_TYPE__PARENT_TYPE);\n\n\t\tperfReviewEClass = createEClass(PERF_REVIEW);\n\t\tcreateEReference(perfReviewEClass, PERF_REVIEW__EMPLOYEE_PARTY);\n\t\tcreateEAttribute(perfReviewEClass, PERF_REVIEW__EMPLOYEE_ROLE_TYPE_ID);\n\t\tcreateEAttribute(perfReviewEClass, PERF_REVIEW__PERF_REVIEW_ID);\n\t\tcreateEAttribute(perfReviewEClass, PERF_REVIEW__COMMENTS);\n\t\tcreateEReference(perfReviewEClass, PERF_REVIEW__EMPL_POSITION);\n\t\tcreateEAttribute(perfReviewEClass, PERF_REVIEW__FROM_DATE);\n\t\tcreateEReference(perfReviewEClass, PERF_REVIEW__MANAGER_PARTY);\n\t\tcreateEAttribute(perfReviewEClass, PERF_REVIEW__MANAGER_ROLE_TYPE_ID);\n\t\tcreateEReference(perfReviewEClass, PERF_REVIEW__PAYMENT);\n\t\tcreateEAttribute(perfReviewEClass, PERF_REVIEW__THRU_DATE);\n\n\t\tperfReviewItemEClass = createEClass(PERF_REVIEW_ITEM);\n\t\tcreateEReference(perfReviewItemEClass, PERF_REVIEW_ITEM__EMPLOYEE_PARTY);\n\t\tcreateEAttribute(perfReviewItemEClass, PERF_REVIEW_ITEM__EMPLOYEE_ROLE_TYPE_ID);\n\t\tcreateEAttribute(perfReviewItemEClass, PERF_REVIEW_ITEM__PERF_REVIEW_ID);\n\t\tcreateEAttribute(perfReviewItemEClass, PERF_REVIEW_ITEM__PERF_REVIEW_ITEM_SEQ_ID);\n\t\tcreateEAttribute(perfReviewItemEClass, PERF_REVIEW_ITEM__COMMENTS);\n\t\tcreateEReference(perfReviewItemEClass, PERF_REVIEW_ITEM__PERF_RATING_TYPE);\n\t\tcreateEReference(perfReviewItemEClass, PERF_REVIEW_ITEM__PERF_REVIEW_ITEM_TYPE);\n\n\t\tperfReviewItemTypeEClass = createEClass(PERF_REVIEW_ITEM_TYPE);\n\t\tcreateEAttribute(perfReviewItemTypeEClass, PERF_REVIEW_ITEM_TYPE__PERF_REVIEW_ITEM_TYPE_ID);\n\t\tcreateEAttribute(perfReviewItemTypeEClass, PERF_REVIEW_ITEM_TYPE__DESCRIPTION);\n\t\tcreateEAttribute(perfReviewItemTypeEClass, PERF_REVIEW_ITEM_TYPE__HAS_TABLE);\n\t\tcreateEReference(perfReviewItemTypeEClass, PERF_REVIEW_ITEM_TYPE__PARENT_TYPE);\n\n\t\tperformanceNoteEClass = createEClass(PERFORMANCE_NOTE);\n\t\tcreateEReference(performanceNoteEClass, PERFORMANCE_NOTE__PARTY);\n\t\tcreateEAttribute(performanceNoteEClass, PERFORMANCE_NOTE__FROM_DATE);\n\t\tcreateEAttribute(performanceNoteEClass, PERFORMANCE_NOTE__ROLE_TYPE_ID);\n\t\tcreateEAttribute(performanceNoteEClass, PERFORMANCE_NOTE__COMMENTS);\n\t\tcreateEAttribute(performanceNoteEClass, PERFORMANCE_NOTE__COMMUNICATION_DATE);\n\t\tcreateEAttribute(performanceNoteEClass, PERFORMANCE_NOTE__THRU_DATE);\n\n\t\tpersonTrainingEClass = createEClass(PERSON_TRAINING);\n\t\tcreateEReference(personTrainingEClass, PERSON_TRAINING__PARTY);\n\t\tcreateEReference(personTrainingEClass, PERSON_TRAINING__TRAINING_CLASS_TYPE);\n\t\tcreateEAttribute(personTrainingEClass, PERSON_TRAINING__FROM_DATE);\n\t\tcreateEAttribute(personTrainingEClass, PERSON_TRAINING__APPROVAL_STATUS);\n\t\tcreateEReference(personTrainingEClass, PERSON_TRAINING__APPROVER);\n\t\tcreateEAttribute(personTrainingEClass, PERSON_TRAINING__REASON);\n\t\tcreateEAttribute(personTrainingEClass, PERSON_TRAINING__THRU_DATE);\n\t\tcreateEReference(personTrainingEClass, PERSON_TRAINING__TRAINING_REQUEST);\n\t\tcreateEReference(personTrainingEClass, PERSON_TRAINING__WORK_EFFORT);\n\n\t\tresponsibilityTypeEClass = createEClass(RESPONSIBILITY_TYPE);\n\t\tcreateEAttribute(responsibilityTypeEClass, RESPONSIBILITY_TYPE__RESPONSIBILITY_TYPE_ID);\n\t\tcreateEAttribute(responsibilityTypeEClass, RESPONSIBILITY_TYPE__DESCRIPTION);\n\t\tcreateEAttribute(responsibilityTypeEClass, RESPONSIBILITY_TYPE__HAS_TABLE);\n\t\tcreateEReference(responsibilityTypeEClass, RESPONSIBILITY_TYPE__PARENT_TYPE);\n\n\t\tskillTypeEClass = createEClass(SKILL_TYPE);\n\t\tcreateEAttribute(skillTypeEClass, SKILL_TYPE__SKILL_TYPE_ID);\n\t\tcreateEAttribute(skillTypeEClass, SKILL_TYPE__DESCRIPTION);\n\t\tcreateEAttribute(skillTypeEClass, SKILL_TYPE__HAS_TABLE);\n\t\tcreateEReference(skillTypeEClass, SKILL_TYPE__PARENT_TYPE);\n\n\t\ttrainingClassTypeEClass = createEClass(TRAINING_CLASS_TYPE);\n\t\tcreateEAttribute(trainingClassTypeEClass, TRAINING_CLASS_TYPE__TRAINING_CLASS_TYPE_ID);\n\t\tcreateEAttribute(trainingClassTypeEClass, TRAINING_CLASS_TYPE__DESCRIPTION);\n\t\tcreateEAttribute(trainingClassTypeEClass, TRAINING_CLASS_TYPE__HAS_TABLE);\n\t\tcreateEReference(trainingClassTypeEClass, TRAINING_CLASS_TYPE__PARENT_TYPE);\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\troleEClass = createEClass(ROLE);\n\t\tcreateEReference(roleEClass, ROLE__SOCIETY);\n\t\tcreateEReference(roleEClass, ROLE__IS_REALIZED_BY_INDIVIDUAL);\n\t\tcreateEReference(roleEClass, ROLE__PARENT);\n\t\tcreateEReference(roleEClass, ROLE__CHILDREN);\n\t\tcreateEAttribute(roleEClass, ROLE__ID);\n\t\tcreateEAttribute(roleEClass, ROLE__NAME);\n\n\t\tindividualRealizationEClass = createEClass(INDIVIDUAL_REALIZATION);\n\t\tcreateEReference(individualRealizationEClass, INDIVIDUAL_REALIZATION__TARGET);\n\t\tcreateEReference(individualRealizationEClass, INDIVIDUAL_REALIZATION__SOURCE);\n\t\tcreateEReference(individualRealizationEClass, INDIVIDUAL_REALIZATION__SOCIETY);\n\t\tcreateEAttribute(individualRealizationEClass, INDIVIDUAL_REALIZATION__ID);\n\n\t\tsocietyEClass = createEClass(SOCIETY);\n\t\tcreateEReference(societyEClass, SOCIETY__GENERALIZATIONS);\n\t\tcreateEReference(societyEClass, SOCIETY__RELAIZATIONS);\n\t\tcreateEReference(societyEClass, SOCIETY__INDIVIDUALS);\n\t\tcreateEAttribute(societyEClass, SOCIETY__NAME);\n\t\tcreateEReference(societyEClass, SOCIETY__ROLES);\n\n\t\tspecializationEClass = createEClass(SPECIALIZATION);\n\t\tcreateEReference(specializationEClass, SPECIALIZATION__TARGET);\n\t\tcreateEReference(specializationEClass, SPECIALIZATION__SOURCE);\n\t\tcreateEReference(specializationEClass, SPECIALIZATION__SOCIETY);\n\t\tcreateEAttribute(specializationEClass, SPECIALIZATION__ID);\n\n\t\tindividualInstanceEClass = createEClass(INDIVIDUAL_INSTANCE);\n\t\tcreateEReference(individualInstanceEClass, INDIVIDUAL_INSTANCE__REALIZES);\n\t\tcreateEAttribute(individualInstanceEClass, INDIVIDUAL_INSTANCE__ID);\n\t\tcreateEAttribute(individualInstanceEClass, INDIVIDUAL_INSTANCE__NAME);\n\t\tcreateEReference(individualInstanceEClass, INDIVIDUAL_INSTANCE__SOCIETY);\n\n\t\tsocialInstanceEClass = createEClass(SOCIAL_INSTANCE);\n\t\tcreateEOperation(socialInstanceEClass, SOCIAL_INSTANCE___GET_ID);\n\t\tcreateEOperation(socialInstanceEClass, SOCIAL_INSTANCE___GET_NAME);\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 createPackageContents() {\n if(isCreated) {\n return;\n }\n isCreated = true;\n\n // Create classes and their features\n namedElementEClass = createEClass(NAMED_ELEMENT);\n createEAttribute(namedElementEClass, NAMED_ELEMENT__NAME);\n\n modularizationModelEClass = createEClass(MODULARIZATION_MODEL);\n createEReference(modularizationModelEClass, MODULARIZATION_MODEL__MODULES);\n createEReference(modularizationModelEClass, MODULARIZATION_MODEL__CLASSES);\n\n moduleEClass = createEClass(MODULE);\n createEReference(moduleEClass, MODULE__CLASSES);\n\n classEClass = createEClass(CLASS);\n createEReference(classEClass, CLASS__MODULE);\n createEReference(classEClass, CLASS__DEPENDS_ON);\n createEReference(classEClass, CLASS__DEPENDED_ON_BY);\n }", "public void createPackageContents()\n {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tclarityAbstractObjectEClass = createEClass(CLARITY_ABSTRACT_OBJECT);\n\t\tcreateEAttribute(clarityAbstractObjectEClass, CLARITY_ABSTRACT_OBJECT__CLARITY_CONNECTION);\n\n\t\tclarityAddFilesEClass = createEClass(CLARITY_ADD_FILES);\n\n\t\tclarityGetBatchResultEClass = createEClass(CLARITY_GET_BATCH_RESULT);\n\n\t\tclarityGetKeyEClass = createEClass(CLARITY_GET_KEY);\n\n\t\tclarityQueryBatchEClass = createEClass(CLARITY_QUERY_BATCH);\n\n\t\tclarityReloadFileEClass = createEClass(CLARITY_RELOAD_FILE);\n\n\t\tclarityRemoveFilesEClass = createEClass(CLARITY_REMOVE_FILES);\n\n\t\tstartBatchEClass = createEClass(START_BATCH);\n\t}", "public GeneralModel() {\n initThemes();\n initProperties();\n }", "public void createPackageContents() {\r\n if (isCreated) return;\r\n isCreated = true;\r\n\r\n // Create classes and their features\r\n kShapeLayoutEClass = createEClass(KSHAPE_LAYOUT);\r\n createEAttribute(kShapeLayoutEClass, KSHAPE_LAYOUT__XPOS);\r\n createEAttribute(kShapeLayoutEClass, KSHAPE_LAYOUT__YPOS);\r\n createEAttribute(kShapeLayoutEClass, KSHAPE_LAYOUT__WIDTH);\r\n createEAttribute(kShapeLayoutEClass, KSHAPE_LAYOUT__HEIGHT);\r\n createEReference(kShapeLayoutEClass, KSHAPE_LAYOUT__INSETS);\r\n\r\n kEdgeLayoutEClass = createEClass(KEDGE_LAYOUT);\r\n createEReference(kEdgeLayoutEClass, KEDGE_LAYOUT__BEND_POINTS);\r\n createEReference(kEdgeLayoutEClass, KEDGE_LAYOUT__SOURCE_POINT);\r\n createEReference(kEdgeLayoutEClass, KEDGE_LAYOUT__TARGET_POINT);\r\n\r\n kLayoutDataEClass = createEClass(KLAYOUT_DATA);\r\n\r\n kPointEClass = createEClass(KPOINT);\r\n createEAttribute(kPointEClass, KPOINT__X);\r\n createEAttribute(kPointEClass, KPOINT__Y);\r\n\r\n kInsetsEClass = createEClass(KINSETS);\r\n createEAttribute(kInsetsEClass, KINSETS__TOP);\r\n createEAttribute(kInsetsEClass, KINSETS__BOTTOM);\r\n createEAttribute(kInsetsEClass, KINSETS__LEFT);\r\n createEAttribute(kInsetsEClass, KINSETS__RIGHT);\r\n\r\n kIdentifierEClass = createEClass(KIDENTIFIER);\r\n createEAttribute(kIdentifierEClass, KIDENTIFIER__ID);\r\n\r\n kVectorEClass = createEClass(KVECTOR);\r\n createEAttribute(kVectorEClass, KVECTOR__X);\r\n createEAttribute(kVectorEClass, KVECTOR__Y);\r\n\r\n kVectorChainEClass = createEClass(KVECTOR_CHAIN);\r\n }", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\ttableEClass = createEClass(TABLE);\n\t\tcreateEReference(tableEClass, TABLE__DATABASE);\n\t\tcreateEReference(tableEClass, TABLE__COLUMNS);\n\t\tcreateEReference(tableEClass, TABLE__CONSTRAINTS);\n\n\t\ttableConstraintEClass = createEClass(TABLE_CONSTRAINT);\n\t\tcreateEAttribute(tableConstraintEClass, TABLE_CONSTRAINT__NAME);\n\t\tcreateEReference(tableConstraintEClass, TABLE_CONSTRAINT__TABLE);\n\n\t\tprimaryKeyTableConstraintEClass = createEClass(PRIMARY_KEY_TABLE_CONSTRAINT);\n\t\tcreateEReference(primaryKeyTableConstraintEClass, PRIMARY_KEY_TABLE_CONSTRAINT__COLUMNS);\n\n\t\tuniqueTableConstraintEClass = createEClass(UNIQUE_TABLE_CONSTRAINT);\n\t\tcreateEReference(uniqueTableConstraintEClass, UNIQUE_TABLE_CONSTRAINT__COLUMNS);\n\n\t\tcheckTableConstraintEClass = createEClass(CHECK_TABLE_CONSTRAINT);\n\t\tcreateEReference(checkTableConstraintEClass, CHECK_TABLE_CONSTRAINT__EXPRESSION);\n\n\t\tforeignKeyTableConstraintEClass = createEClass(FOREIGN_KEY_TABLE_CONSTRAINT);\n\t\tcreateEReference(foreignKeyTableConstraintEClass, FOREIGN_KEY_TABLE_CONSTRAINT__COLUMNS);\n\t\tcreateEReference(foreignKeyTableConstraintEClass, FOREIGN_KEY_TABLE_CONSTRAINT__FOREIGN_TABLE);\n\t\tcreateEReference(foreignKeyTableConstraintEClass, FOREIGN_KEY_TABLE_CONSTRAINT__FOREIGN_COLUMNS);\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\tqueryExpressionEClass = createEClass(QUERY_EXPRESSION);\n\n\t\tvalueExpressionEClass = createEClass(VALUE_EXPRESSION);\n\n\t\tsearchConditionEClass = createEClass(SEARCH_CONDITION);\n\n\t\tqueryExpressionDefaultEClass = createEClass(QUERY_EXPRESSION_DEFAULT);\n\t\tcreateEAttribute(queryExpressionDefaultEClass, QUERY_EXPRESSION_DEFAULT__SQL);\n\n\t\tsearchConditionDefaultEClass = createEClass(SEARCH_CONDITION_DEFAULT);\n\t\tcreateEAttribute(searchConditionDefaultEClass, SEARCH_CONDITION_DEFAULT__SQL);\n\n\t\tvalueExpressionDefaultEClass = createEClass(VALUE_EXPRESSION_DEFAULT);\n\t\tcreateEAttribute(valueExpressionDefaultEClass, VALUE_EXPRESSION_DEFAULT__SQL);\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\tgemmaEClass = createEClass(GEMMA);\r\n\t\tcreateEReference(gemmaEClass, GEMMA__MACRO_OMS);\r\n\t\tcreateEReference(gemmaEClass, GEMMA__TRANSICIONES);\r\n\t\tcreateEReference(gemmaEClass, GEMMA__VARIABLES_GEMMA);\r\n\r\n\t\tmacroOmEClass = createEClass(MACRO_OM);\r\n\t\tcreateEAttribute(macroOmEClass, MACRO_OM__NAME);\r\n\t\tcreateEAttribute(macroOmEClass, MACRO_OM__TIPO);\r\n\t\tcreateEReference(macroOmEClass, MACRO_OM__OMS);\r\n\r\n\t\tomEClass = createEClass(OM);\r\n\t\tcreateEAttribute(omEClass, OM__NAME);\r\n\t\tcreateEAttribute(omEClass, OM__TIPO);\r\n\t\tcreateEAttribute(omEClass, OM__ES_OM_RAIZ);\r\n\t\tcreateEReference(omEClass, OM__VARIABLES_OM);\r\n\t\tcreateEAttribute(omEClass, OM__ES_VISIBLE);\r\n\r\n\t\ttrasicionEntreOmOmEClass = createEClass(TRASICION_ENTRE_OM_OM);\r\n\t\tcreateEReference(trasicionEntreOmOmEClass, TRASICION_ENTRE_OM_OM__ORIGEN);\r\n\t\tcreateEReference(trasicionEntreOmOmEClass, TRASICION_ENTRE_OM_OM__DESTINO);\r\n\r\n\t\ttransicionEntreMacroOmOmEClass = createEClass(TRANSICION_ENTRE_MACRO_OM_OM);\r\n\t\tcreateEReference(transicionEntreMacroOmOmEClass, TRANSICION_ENTRE_MACRO_OM_OM__ORIGEN);\r\n\t\tcreateEReference(transicionEntreMacroOmOmEClass, TRANSICION_ENTRE_MACRO_OM_OM__DESTINO);\r\n\r\n\t\texpresionBinariaEClass = createEClass(EXPRESION_BINARIA);\r\n\t\tcreateEReference(expresionBinariaEClass, EXPRESION_BINARIA__EXPRESION_IZQUIERDA);\r\n\t\tcreateEReference(expresionBinariaEClass, EXPRESION_BINARIA__EXPRESION_DERECHA);\r\n\t\tcreateEAttribute(expresionBinariaEClass, EXPRESION_BINARIA__OPERADOR);\r\n\r\n\t\telementoExpresionEClass = createEClass(ELEMENTO_EXPRESION);\r\n\r\n\t\tvariableOmEClass = createEClass(VARIABLE_OM);\r\n\t\tcreateEAttribute(variableOmEClass, VARIABLE_OM__NAME);\r\n\r\n\t\ttransicionEClass = createEClass(TRANSICION);\r\n\t\tcreateEAttribute(transicionEClass, TRANSICION__NAME);\r\n\t\tcreateEReference(transicionEClass, TRANSICION__ELEMENTO_EXPRESION);\r\n\r\n\t\tvariableGemmaEClass = createEClass(VARIABLE_GEMMA);\r\n\t\tcreateEAttribute(variableGemmaEClass, VARIABLE_GEMMA__NAME);\r\n\r\n\t\trefVariableGemmaEClass = createEClass(REF_VARIABLE_GEMMA);\r\n\t\tcreateEReference(refVariableGemmaEClass, REF_VARIABLE_GEMMA__VARIABLE_GEMMA);\r\n\t\tcreateEAttribute(refVariableGemmaEClass, REF_VARIABLE_GEMMA__NIVEL_DE_ESCRITURA);\r\n\r\n\t\texpresionNotEClass = createEClass(EXPRESION_NOT);\r\n\t\tcreateEReference(expresionNotEClass, EXPRESION_NOT__ELEMENTO_EXPRESION);\r\n\r\n\t\trefVariableOmEClass = createEClass(REF_VARIABLE_OM);\r\n\t\tcreateEReference(refVariableOmEClass, REF_VARIABLE_OM__VARIABLE_OM);\r\n\r\n\t\texpresionConjuntaEClass = createEClass(EXPRESION_CONJUNTA);\r\n\t\tcreateEReference(expresionConjuntaEClass, EXPRESION_CONJUNTA__ELEMENTO_EXPRESION);\r\n\r\n\t\t// Create enums\r\n\t\ttipoOmEEnum = createEEnum(TIPO_OM);\r\n\t\ttipoMacroOmEEnum = createEEnum(TIPO_MACRO_OM);\r\n\t\ttipoOperadorEEnum = createEEnum(TIPO_OPERADOR);\r\n\t\tnivelDeEscrituraEEnum = createEEnum(NIVEL_DE_ESCRITURA);\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\tCommonPackage theCommonPackage = (CommonPackage)EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI);\n\t\tModelPackage theModelPackage = (ModelPackage)EPackage.Registry.INSTANCE.getEPackage(ModelPackage.eNS_URI);\n\t\tColumnPackage theColumnPackage = (ColumnPackage)EPackage.Registry.INSTANCE.getEPackage(ColumnPackage.eNS_URI);\n\t\tExpressionPackage theExpressionPackage = (ExpressionPackage)EPackage.Registry.INSTANCE.getEPackage(ExpressionPackage.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\ttableEClass.getESuperTypes().add(theCommonPackage.getNameProvider());\n\t\tprimaryKeyTableConstraintEClass.getESuperTypes().add(this.getTableConstraint());\n\t\tuniqueTableConstraintEClass.getESuperTypes().add(this.getTableConstraint());\n\t\tcheckTableConstraintEClass.getESuperTypes().add(this.getTableConstraint());\n\t\tforeignKeyTableConstraintEClass.getESuperTypes().add(this.getTableConstraint());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(tableEClass, Table.class, \"Table\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTable_Database(), theModelPackage.getDatabase(), theModelPackage.getDatabase_Tables(), \"database\", null, 1, 1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTable_Columns(), theColumnPackage.getColumn(), theColumnPackage.getColumn_Table(), \"columns\", null, 0, -1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTable_Constraints(), this.getTableConstraint(), this.getTableConstraint_Table(), \"constraints\", null, 0, -1, Table.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(tableConstraintEClass, TableConstraint.class, \"TableConstraint\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getTableConstraint_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, TableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTableConstraint_Table(), this.getTable(), this.getTable_Constraints(), \"table\", null, 1, 1, TableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(primaryKeyTableConstraintEClass, PrimaryKeyTableConstraint.class, \"PrimaryKeyTableConstraint\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPrimaryKeyTableConstraint_Columns(), theColumnPackage.getIndexedColumn(), null, \"columns\", null, 1, -1, PrimaryKeyTableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(uniqueTableConstraintEClass, UniqueTableConstraint.class, \"UniqueTableConstraint\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getUniqueTableConstraint_Columns(), theColumnPackage.getIndexedColumn(), null, \"columns\", null, 1, -1, UniqueTableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(checkTableConstraintEClass, CheckTableConstraint.class, \"CheckTableConstraint\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getCheckTableConstraint_Expression(), theExpressionPackage.getExpression(), null, \"expression\", null, 1, 1, CheckTableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(foreignKeyTableConstraintEClass, ForeignKeyTableConstraint.class, \"ForeignKeyTableConstraint\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getForeignKeyTableConstraint_Columns(), theColumnPackage.getColumn(), null, \"columns\", null, 1, -1, ForeignKeyTableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getForeignKeyTableConstraint_ForeignTable(), this.getTable(), null, \"foreignTable\", null, 1, 1, ForeignKeyTableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getForeignKeyTableConstraint_ForeignColumns(), theColumnPackage.getColumn(), null, \"foreignColumns\", null, 1, -1, ForeignKeyTableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t}", "GoalModelingPackage getGoalModelingPackage();", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tannotationEClass = createEClass(ANNOTATION);\n\t\tcreateEReference(annotationEClass, ANNOTATION__IMPLEMENTATIONS);\n\n\t\timplementationEClass = createEClass(IMPLEMENTATION);\n\t\tcreateEAttribute(implementationEClass, IMPLEMENTATION__CODE);\n\t\tcreateEReference(implementationEClass, IMPLEMENTATION__TECHNOLOGY);\n\t\tcreateEReference(implementationEClass, IMPLEMENTATION__LANGUAGE);\n\n\t\tsemanticsEClass = createEClass(SEMANTICS);\n\t\tcreateEReference(semanticsEClass, SEMANTICS__ANNOTATIONS);\n\t\tcreateEReference(semanticsEClass, SEMANTICS__LANGUAGES);\n\t\tcreateEReference(semanticsEClass, SEMANTICS__TECHNOLOGIES);\n\n\t\ttargetLanguageEClass = createEClass(TARGET_LANGUAGE);\n\n\t\ttechnologyEClass = createEClass(TECHNOLOGY);\n\n\t\tnamedElementEClass = createEClass(NAMED_ELEMENT);\n\t\tcreateEAttribute(namedElementEClass, NAMED_ELEMENT__NAME);\n\t}", "public void createPackageContents() {\r\n\t\tif (isCreated)\r\n\t\t\treturn;\r\n\t\tisCreated = true;\r\n\r\n\t\t// Create classes and their features\r\n\t\tissueEClass = createEClass(ISSUE);\r\n\t\tcreateEReference(issueEClass, ISSUE__PROPOSALS);\r\n\t\tcreateEReference(issueEClass, ISSUE__SOLUTION);\r\n\t\tcreateEReference(issueEClass, ISSUE__CRITERIA);\r\n\t\tcreateEAttribute(issueEClass, ISSUE__ACTIVITY);\r\n\t\tcreateEReference(issueEClass, ISSUE__ASSESSMENTS);\r\n\r\n\t\tproposalEClass = createEClass(PROPOSAL);\r\n\t\tcreateEReference(proposalEClass, PROPOSAL__ASSESSMENTS);\r\n\t\tcreateEReference(proposalEClass, PROPOSAL__ISSUE);\r\n\r\n\t\tsolutionEClass = createEClass(SOLUTION);\r\n\t\tcreateEReference(solutionEClass, SOLUTION__UNDERLYING_PROPOSALS);\r\n\t\tcreateEReference(solutionEClass, SOLUTION__ISSUE);\r\n\r\n\t\tcriterionEClass = createEClass(CRITERION);\r\n\t\tcreateEReference(criterionEClass, CRITERION__ASSESSMENTS);\r\n\r\n\t\tassessmentEClass = createEClass(ASSESSMENT);\r\n\t\tcreateEReference(assessmentEClass, ASSESSMENT__PROPOSAL);\r\n\t\tcreateEReference(assessmentEClass, ASSESSMENT__CRITERION);\r\n\t\tcreateEAttribute(assessmentEClass, ASSESSMENT__VALUE);\r\n\r\n\t\tcommentEClass = createEClass(COMMENT);\r\n\t\tcreateEReference(commentEClass, COMMENT__SENDER);\r\n\t\tcreateEReference(commentEClass, COMMENT__RECIPIENTS);\r\n\t\tcreateEReference(commentEClass, COMMENT__COMMENTED_ELEMENT);\r\n\r\n\t\taudioCommentEClass = createEClass(AUDIO_COMMENT);\r\n\t\tcreateEReference(audioCommentEClass, AUDIO_COMMENT__AUDIO_FILE);\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\tontologicalStructureEClass = createEClass(ONTOLOGICAL_STRUCTURE);\n\t\tcreateEReference(ontologicalStructureEClass, ONTOLOGICAL_STRUCTURE__ONTOLOGICAL_CONCEPTS);\n\t\tcreateEReference(ontologicalStructureEClass, ONTOLOGICAL_STRUCTURE__CONDITIONS);\n\t\tcreateEReference(ontologicalStructureEClass, ONTOLOGICAL_STRUCTURE__PROPERTIES);\n\n\t\tontologicalConceptEClass = createEClass(ONTOLOGICAL_CONCEPT);\n\t\tcreateEAttribute(ontologicalConceptEClass, ONTOLOGICAL_CONCEPT__LABEL);\n\t\tcreateEAttribute(ontologicalConceptEClass, ONTOLOGICAL_CONCEPT__URI);\n\n\t\tconditionEClass = createEClass(CONDITION);\n\t\tcreateEAttribute(conditionEClass, CONDITION__LABEL);\n\n\t\tlogicalConditionEClass = createEClass(LOGICAL_CONDITION);\n\n\t\tnaturalLangConditionEClass = createEClass(NATURAL_LANG_CONDITION);\n\t\tcreateEAttribute(naturalLangConditionEClass, NATURAL_LANG_CONDITION__STATEMENT);\n\n\t\tmathConditionEClass = createEClass(MATH_CONDITION);\n\n\t\tnegformulaEClass = createEClass(NEGFORMULA);\n\t\tcreateEReference(negformulaEClass, NEGFORMULA__CONDITION_STATEMENT);\n\n\t\toRformulaEClass = createEClass(ORFORMULA);\n\t\tcreateEReference(oRformulaEClass, ORFORMULA__LEFT_CONDITION_STATEMENT);\n\t\tcreateEReference(oRformulaEClass, ORFORMULA__RIGHT_CONDITION_STATEMENT);\n\n\t\tanDformulaEClass = createEClass(AN_DFORMULA);\n\t\tcreateEReference(anDformulaEClass, AN_DFORMULA__LEFT_CONDITION_STATEMENT);\n\t\tcreateEReference(anDformulaEClass, AN_DFORMULA__RIGHT_CONDITION_STATEMENT);\n\n\t\tequalFormulaEClass = createEClass(EQUAL_FORMULA);\n\t\tcreateEReference(equalFormulaEClass, EQUAL_FORMULA__LEFT_CONDITION_STATEMENT);\n\t\tcreateEReference(equalFormulaEClass, EQUAL_FORMULA__RIGHT_CONDITION_STATEMENT);\n\n\t\tmoreEqformulaEClass = createEClass(MORE_EQFORMULA);\n\t\tcreateEReference(moreEqformulaEClass, MORE_EQFORMULA__LEFT_CONDITION_STATEMENT);\n\t\tcreateEReference(moreEqformulaEClass, MORE_EQFORMULA__RIGHT_CONDITION_STATEMENT);\n\n\t\tlessformulaEClass = createEClass(LESSFORMULA);\n\t\tcreateEReference(lessformulaEClass, LESSFORMULA__LEFT_CONDITION_STATEMENT);\n\t\tcreateEReference(lessformulaEClass, LESSFORMULA__RIGHT_CONDITION_STATEMENT);\n\n\t\tpropertyEClass = createEClass(PROPERTY);\n\t\tcreateEAttribute(propertyEClass, PROPERTY__LABEL);\n\n\t\tnumberPropertyEClass = createEClass(NUMBER_PROPERTY);\n\t\tcreateEAttribute(numberPropertyEClass, NUMBER_PROPERTY__VALUE);\n\n\t\tbooleanPropertyEClass = createEClass(BOOLEAN_PROPERTY);\n\t\tcreateEAttribute(booleanPropertyEClass, BOOLEAN_PROPERTY__VALUE);\n\n\t\tstringPropertyEClass = createEClass(STRING_PROPERTY);\n\t\tcreateEAttribute(stringPropertyEClass, STRING_PROPERTY__VALUE);\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\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 createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tfticBaseEClass = createEClass(FTIC_BASE);\n\n\t\titemEClass = createEClass(ITEM);\n\n\t\thypertextEClass = createEClass(HYPERTEXT);\n\t\tcreateEReference(hypertextEClass, HYPERTEXT__CONTENT);\n\n\t\ttextElementEClass = createEClass(TEXT_ELEMENT);\n\t\tcreateEAttribute(textElementEClass, TEXT_ELEMENT__VISIBLE_CONTENT);\n\n\t\tlinkEClass = createEClass(LINK);\n\t\tcreateEReference(linkEClass, LINK__TARGET);\n\n\t\ttermEClass = createEClass(TERM);\n\n\t\tfactorTableEClass = createEClass(FACTOR_TABLE);\n\t\tcreateEAttribute(factorTableEClass, FACTOR_TABLE__TYPE);\n\t\tcreateEReference(factorTableEClass, FACTOR_TABLE__ENTRIES);\n\n\t\tftEntryEClass = createEClass(FT_ENTRY);\n\t\tcreateEAttribute(ftEntryEClass, FT_ENTRY__NUMBERING);\n\t\tcreateEAttribute(ftEntryEClass, FT_ENTRY__NAME);\n\t\tcreateEReference(ftEntryEClass, FT_ENTRY__CHILDREN);\n\n\t\tfactorCategoryEClass = createEClass(FACTOR_CATEGORY);\n\n\t\tfactorEClass = createEClass(FACTOR);\n\t\tcreateEReference(factorEClass, FACTOR__DESCRIPTION);\n\t\tcreateEReference(factorEClass, FACTOR__FLEXIBILITY);\n\t\tcreateEReference(factorEClass, FACTOR__CHANGEABILITY);\n\t\tcreateEReference(factorEClass, FACTOR__INFLUENCE);\n\t\tcreateEAttribute(factorEClass, FACTOR__PRIORITY);\n\n\t\tissueCardEClass = createEClass(ISSUE_CARD);\n\t\tcreateEAttribute(issueCardEClass, ISSUE_CARD__NAME);\n\t\tcreateEReference(issueCardEClass, ISSUE_CARD__DESCRIPTION);\n\t\tcreateEReference(issueCardEClass, ISSUE_CARD__SOLUTION);\n\t\tcreateEReference(issueCardEClass, ISSUE_CARD__STRATEGIES);\n\t\tcreateEReference(issueCardEClass, ISSUE_CARD__INFLUENCING_FACTORS);\n\t\tcreateEReference(issueCardEClass, ISSUE_CARD__RELATED_ISSUES);\n\n\t\tstrategyEClass = createEClass(STRATEGY);\n\t\tcreateEAttribute(strategyEClass, STRATEGY__NAME);\n\t\tcreateEReference(strategyEClass, STRATEGY__DESCRIPTION);\n\n\t\tinfluencingFactorEClass = createEClass(INFLUENCING_FACTOR);\n\t\tcreateEReference(influencingFactorEClass, INFLUENCING_FACTOR__DESCRIPTION);\n\t\tcreateEReference(influencingFactorEClass, INFLUENCING_FACTOR__FACTOR);\n\n\t\trelatedIssueEClass = createEClass(RELATED_ISSUE);\n\t\tcreateEReference(relatedIssueEClass, RELATED_ISSUE__ISSUE);\n\t\tcreateEReference(relatedIssueEClass, RELATED_ISSUE__DESCRIPTION);\n\n\t\tfticPackageEClass = createEClass(FTIC_PACKAGE);\n\t\tcreateEReference(fticPackageEClass, FTIC_PACKAGE__TABLES);\n\t\tcreateEReference(fticPackageEClass, FTIC_PACKAGE__ISSUE_CARDS);\n\t\tcreateEAttribute(fticPackageEClass, FTIC_PACKAGE__NAME);\n\n\t\t// Create enums\n\t\tcategoryTypeEEnum = createEEnum(CATEGORY_TYPE);\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 ViewMetamodel getMetamodel();", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tstateEClass = createEClass(STATE);\n\t\tcreateEAttribute(stateEClass, STATE__NAME);\n\t\tcreateEAttribute(stateEClass, STATE__INVARIANT);\n\t\tcreateEAttribute(stateEClass, STATE__INITIAL);\n\t\tcreateEAttribute(stateEClass, STATE__URGENT);\n\t\tcreateEAttribute(stateEClass, STATE__COMMITTED);\n\n\t\tconnectorEClass = createEClass(CONNECTOR);\n\t\tcreateEAttribute(connectorEClass, CONNECTOR__NAME);\n\t\tcreateEReference(connectorEClass, CONNECTOR__DIAGRAM);\n\n\t\tdiagramEClass = createEClass(DIAGRAM);\n\t\tcreateEAttribute(diagramEClass, DIAGRAM__NAME);\n\t\tcreateEReference(diagramEClass, DIAGRAM__CONNECTORS);\n\t\tcreateEReference(diagramEClass, DIAGRAM__STATES);\n\t\tcreateEReference(diagramEClass, DIAGRAM__SUBDIAGRAMS);\n\t\tcreateEReference(diagramEClass, DIAGRAM__EDGES);\n\t\tcreateEAttribute(diagramEClass, DIAGRAM__IS_PARALLEL);\n\n\t\tedgeEClass = createEClass(EDGE);\n\t\tcreateEReference(edgeEClass, EDGE__START);\n\t\tcreateEReference(edgeEClass, EDGE__END);\n\t\tcreateEReference(edgeEClass, EDGE__EREFERENCE0);\n\t\tcreateEAttribute(edgeEClass, EDGE__SELECT);\n\t\tcreateEAttribute(edgeEClass, EDGE__GUARD);\n\t\tcreateEAttribute(edgeEClass, EDGE__SYNC);\n\t\tcreateEAttribute(edgeEClass, EDGE__UPDATE);\n\t\tcreateEAttribute(edgeEClass, EDGE__COMMENTS);\n\n\t\tendPointEClass = createEClass(END_POINT);\n\t\tcreateEReference(endPointEClass, END_POINT__OUTGOING_EDGES);\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\tuserEClass = createEClass(USER);\n\t\tcreateEAttribute(userEClass, USER__NAME);\n\t\tcreateEReference(userEClass, USER__UR);\n\n\t\troleEClass = createEClass(ROLE);\n\t\tcreateEAttribute(roleEClass, ROLE__NAME);\n\t\tcreateEReference(roleEClass, ROLE__RD);\n\t\tcreateEReference(roleEClass, ROLE__SENIORS);\n\t\tcreateEReference(roleEClass, ROLE__JUNIORS);\n\t\tcreateEReference(roleEClass, ROLE__RU);\n\n\t\tpermissionEClass = createEClass(PERMISSION);\n\t\tcreateEAttribute(permissionEClass, PERMISSION__NAME);\n\t\tcreateEReference(permissionEClass, PERMISSION__PD);\n\n\t\tpolicyEClass = createEClass(POLICY);\n\t\tcreateEReference(policyEClass, POLICY__USERS);\n\t\tcreateEReference(policyEClass, POLICY__ROLES);\n\t\tcreateEReference(policyEClass, POLICY__PERMISSIONS);\n\t\tcreateEAttribute(policyEClass, POLICY__NAME);\n\t\tcreateEReference(policyEClass, POLICY__DEMARCATIONS);\n\n\t\tdemarcationEClass = createEClass(DEMARCATION);\n\t\tcreateEAttribute(demarcationEClass, DEMARCATION__NAME);\n\t\tcreateEReference(demarcationEClass, DEMARCATION__DP);\n\t\tcreateEReference(demarcationEClass, DEMARCATION__SUBS);\n\t\tcreateEReference(demarcationEClass, DEMARCATION__SUPS);\n\t\tcreateEReference(demarcationEClass, DEMARCATION__DR);\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\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 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}", "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\tbankEClass = createEClass(BANK);\r\n\t\tcreateEReference(bankEClass, BANK__MANAGERS);\r\n\t\tcreateEReference(bankEClass, BANK__ACCOUNTS);\r\n\t\tcreateEReference(bankEClass, BANK__CLIENTS);\r\n\r\n\t\tclientEClass = createEClass(CLIENT);\r\n\t\tcreateEReference(clientEClass, CLIENT__MANAGER);\r\n\t\tcreateEReference(clientEClass, CLIENT__ACCOUNTS);\r\n\t\tcreateEAttribute(clientEClass, CLIENT__NAME);\r\n\t\tcreateEReference(clientEClass, CLIENT__SPONSORSHIPS);\r\n\t\tcreateEAttribute(clientEClass, CLIENT__CAPACITY);\r\n\r\n\t\tmanagerEClass = createEClass(MANAGER);\r\n\t\tcreateEReference(managerEClass, MANAGER__CLIENTS);\r\n\t\tcreateEAttribute(managerEClass, MANAGER__NAME);\r\n\r\n\t\taccountEClass = createEClass(ACCOUNT);\r\n\t\tcreateEReference(accountEClass, ACCOUNT__OWNERS);\r\n\t\tcreateEAttribute(accountEClass, ACCOUNT__CREDIT);\r\n\t\tcreateEAttribute(accountEClass, ACCOUNT__OVERDRAFT);\r\n\t\tcreateEReference(accountEClass, ACCOUNT__CARDS);\r\n\r\n\t\tcardEClass = createEClass(CARD);\r\n\t\tcreateEAttribute(cardEClass, CARD__NUMBER);\r\n\t\tcreateEAttribute(cardEClass, CARD__TYPE);\r\n\r\n\t\t// Create enums\r\n\t\tcardTypeEEnum = createEEnum(CARD_TYPE);\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\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 createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tinstructionEClass = createEClass(INSTRUCTION);\n\n\t\tnamedElementEClass = createEClass(NAMED_ELEMENT);\n\t\tcreateEAttribute(namedElementEClass, NAMED_ELEMENT__NAME);\n\n\t\tgoForwardEClass = createEClass(GO_FORWARD);\n\t\tcreateEAttribute(goForwardEClass, GO_FORWARD__CM);\n\t\tcreateEAttribute(goForwardEClass, GO_FORWARD__INFINITE);\n\n\t\tgoBackwardEClass = createEClass(GO_BACKWARD);\n\t\tcreateEAttribute(goBackwardEClass, GO_BACKWARD__CM);\n\t\tcreateEAttribute(goBackwardEClass, GO_BACKWARD__INFINITE);\n\n\t\tbeginEClass = createEClass(BEGIN);\n\n\t\trotateEClass = createEClass(ROTATE);\n\t\tcreateEAttribute(rotateEClass, ROTATE__DEGREES);\n\t\tcreateEAttribute(rotateEClass, ROTATE__RANDOM);\n\n\t\treleaseEClass = createEClass(RELEASE);\n\n\t\tactionEClass = createEClass(ACTION);\n\n\t\tblockEClass = createEClass(BLOCK);\n\n\t\tendEClass = createEClass(END);\n\n\t\tchoreographyEClass = createEClass(CHOREOGRAPHY);\n\t\tcreateEReference(choreographyEClass, CHOREOGRAPHY__INSTRUCTIONS);\n\t\tcreateEReference(choreographyEClass, CHOREOGRAPHY__EDGE_INSTRUCTIONS);\n\n\t\tedgeInstructionEClass = createEClass(EDGE_INSTRUCTION);\n\t\tcreateEReference(edgeInstructionEClass, EDGE_INSTRUCTION__SOURCE);\n\t\tcreateEReference(edgeInstructionEClass, EDGE_INSTRUCTION__TARGET);\n\n\t\tgrabEClass = createEClass(GRAB);\n\t}", "public void createPackageContents()\n {\n if (isCreated) return;\n isCreated = true;\n\n // Create classes and their features\n stylesheetEClass = createEClass(STYLESHEET);\n createEAttribute(stylesheetEClass, STYLESHEET__CHAR_SET);\n createEReference(stylesheetEClass, STYLESHEET__IMPORTS);\n createEReference(stylesheetEClass, STYLESHEET__STATEMENTS);\n\n cssTopLevelStatementEClass = createEClass(CSS_TOP_LEVEL_STATEMENT);\n\n cssOtherTopLevelDeclarationEClass = createEClass(CSS_OTHER_TOP_LEVEL_DECLARATION);\n\n importDeclarationEClass = createEClass(IMPORT_DECLARATION);\n createEAttribute(importDeclarationEClass, IMPORT_DECLARATION__IMPORT_URI);\n createEAttribute(importDeclarationEClass, IMPORT_DECLARATION__URL);\n createEAttribute(importDeclarationEClass, IMPORT_DECLARATION__MEDIA);\n\n mediaDeclarationEClass = createEClass(MEDIA_DECLARATION);\n createEReference(mediaDeclarationEClass, MEDIA_DECLARATION__MEDIA_QUERIES);\n createEReference(mediaDeclarationEClass, MEDIA_DECLARATION__MEDIA);\n createEReference(mediaDeclarationEClass, MEDIA_DECLARATION__MEMBERS);\n\n mediaDeclarationMembersEClass = createEClass(MEDIA_DECLARATION_MEMBERS);\n\n mediaQueryEClass = createEClass(MEDIA_QUERY);\n createEAttribute(mediaQueryEClass, MEDIA_QUERY__ONLY);\n createEAttribute(mediaQueryEClass, MEDIA_QUERY__NOT);\n createEAttribute(mediaQueryEClass, MEDIA_QUERY__MEDIA_TYPE);\n createEReference(mediaQueryEClass, MEDIA_QUERY__EXPRESSIONS);\n\n mediaQueryExpressionEClass = createEClass(MEDIA_QUERY_EXPRESSION);\n createEAttribute(mediaQueryExpressionEClass, MEDIA_QUERY_EXPRESSION__FEATURE);\n createEReference(mediaQueryExpressionEClass, MEDIA_QUERY_EXPRESSION__EXPRESSION);\n\n pageDeclarationEClass = createEClass(PAGE_DECLARATION);\n createEAttribute(pageDeclarationEClass, PAGE_DECLARATION__PSEUDO_PAGE);\n createEReference(pageDeclarationEClass, PAGE_DECLARATION__BODY);\n\n namespaceDeclarationEClass = createEClass(NAMESPACE_DECLARATION);\n createEAttribute(namespaceDeclarationEClass, NAMESPACE_DECLARATION__NAME);\n createEAttribute(namespaceDeclarationEClass, NAMESPACE_DECLARATION__URL);\n\n fontFaceDeclarationEClass = createEClass(FONT_FACE_DECLARATION);\n createEReference(fontFaceDeclarationEClass, FONT_FACE_DECLARATION__BODY);\n\n ruleSetEClass = createEClass(RULE_SET);\n createEReference(ruleSetEClass, RULE_SET__SELECTORS);\n createEReference(ruleSetEClass, RULE_SET__BODY);\n\n ruleSetBodyEClass = createEClass(RULE_SET_BODY);\n createEReference(ruleSetBodyEClass, RULE_SET_BODY__DECLARATIONS);\n\n propertyDeclarationEClass = createEClass(PROPERTY_DECLARATION);\n createEReference(propertyDeclarationEClass, PROPERTY_DECLARATION__VALUES_LISTS);\n\n knownPropertyDeclarationEClass = createEClass(KNOWN_PROPERTY_DECLARATION);\n createEAttribute(knownPropertyDeclarationEClass, KNOWN_PROPERTY_DECLARATION__NAME);\n\n unrecognizedPropertyDeclarationEClass = createEClass(UNRECOGNIZED_PROPERTY_DECLARATION);\n createEAttribute(unrecognizedPropertyDeclarationEClass, UNRECOGNIZED_PROPERTY_DECLARATION__NAME);\n\n propertyValuesListsEClass = createEClass(PROPERTY_VALUES_LISTS);\n createEReference(propertyValuesListsEClass, PROPERTY_VALUES_LISTS__LISTS);\n\n propertyValuesListEClass = createEClass(PROPERTY_VALUES_LIST);\n createEReference(propertyValuesListEClass, PROPERTY_VALUES_LIST__VALUES);\n\n propertyValueEClass = createEClass(PROPERTY_VALUE);\n createEReference(propertyValueEClass, PROPERTY_VALUE__VALUE);\n createEAttribute(propertyValueEClass, PROPERTY_VALUE__IMPORTANT);\n\n selectorEClass = createEClass(SELECTOR);\n\n simpleSelectorEClass = createEClass(SIMPLE_SELECTOR);\n\n typeSelectorEClass = createEClass(TYPE_SELECTOR);\n createEReference(typeSelectorEClass, TYPE_SELECTOR__NAMESPACE_PREFIX);\n createEAttribute(typeSelectorEClass, TYPE_SELECTOR__TYPE);\n\n namespacePrefixEClass = createEClass(NAMESPACE_PREFIX);\n createEReference(namespacePrefixEClass, NAMESPACE_PREFIX__NAMESPACE);\n\n universalSelectorEClass = createEClass(UNIVERSAL_SELECTOR);\n createEReference(universalSelectorEClass, UNIVERSAL_SELECTOR__NAMESPACE_PREFIX);\n\n attributeSelectorEClass = createEClass(ATTRIBUTE_SELECTOR);\n createEReference(attributeSelectorEClass, ATTRIBUTE_SELECTOR__ATTRIBUTE);\n createEAttribute(attributeSelectorEClass, ATTRIBUTE_SELECTOR__MATCHER);\n createEReference(attributeSelectorEClass, ATTRIBUTE_SELECTOR__VALUE);\n\n attributeEClass = createEClass(ATTRIBUTE);\n createEReference(attributeEClass, ATTRIBUTE__NAMESPACE_PREFIX);\n createEAttribute(attributeEClass, ATTRIBUTE__NAME);\n\n attributeValueLiteralEClass = createEClass(ATTRIBUTE_VALUE_LITERAL);\n\n idSelectorEClass = createEClass(ID_SELECTOR);\n createEAttribute(idSelectorEClass, ID_SELECTOR__NAME);\n\n classSelectorEClass = createEClass(CLASS_SELECTOR);\n createEAttribute(classSelectorEClass, CLASS_SELECTOR__NAME);\n\n pseudoSelectorEClass = createEClass(PSEUDO_SELECTOR);\n\n noArgsPseudoClassSelectorEClass = createEClass(NO_ARGS_PSEUDO_CLASS_SELECTOR);\n createEAttribute(noArgsPseudoClassSelectorEClass, NO_ARGS_PSEUDO_CLASS_SELECTOR__PSEUDO);\n\n pseudoElementSelectorEClass = createEClass(PSEUDO_ELEMENT_SELECTOR);\n createEAttribute(pseudoElementSelectorEClass, PSEUDO_ELEMENT_SELECTOR__DOUBLE_SEMI_COLON);\n createEAttribute(pseudoElementSelectorEClass, PSEUDO_ELEMENT_SELECTOR__PSEUDO);\n\n languagePseudoClassSelectorEClass = createEClass(LANGUAGE_PSEUDO_CLASS_SELECTOR);\n createEAttribute(languagePseudoClassSelectorEClass, LANGUAGE_PSEUDO_CLASS_SELECTOR__LANGUGAGE_ID);\n\n functionalPseudoClassSelectorEClass = createEClass(FUNCTIONAL_PSEUDO_CLASS_SELECTOR);\n createEAttribute(functionalPseudoClassSelectorEClass, FUNCTIONAL_PSEUDO_CLASS_SELECTOR__PSEUDO);\n createEReference(functionalPseudoClassSelectorEClass, FUNCTIONAL_PSEUDO_CLASS_SELECTOR__ARGUMENT);\n\n typeArgumentEClass = createEClass(TYPE_ARGUMENT);\n\n linearArgumentEClass = createEClass(LINEAR_ARGUMENT);\n createEReference(linearArgumentEClass, LINEAR_ARGUMENT__COEFFICIENT);\n createEAttribute(linearArgumentEClass, LINEAR_ARGUMENT__CONSTANT_SIGN);\n createEAttribute(linearArgumentEClass, LINEAR_ARGUMENT__CONSTANT);\n\n coefficientEClass = createEClass(COEFFICIENT);\n createEAttribute(coefficientEClass, COEFFICIENT__IDENT);\n createEAttribute(coefficientEClass, COEFFICIENT__INT);\n\n constantArgumentEClass = createEClass(CONSTANT_ARGUMENT);\n createEAttribute(constantArgumentEClass, CONSTANT_ARGUMENT__SIGN);\n createEAttribute(constantArgumentEClass, CONSTANT_ARGUMENT__INT);\n\n parityArgumentEClass = createEClass(PARITY_ARGUMENT);\n createEAttribute(parityArgumentEClass, PARITY_ARGUMENT__PARITY);\n\n negationSelectorEClass = createEClass(NEGATION_SELECTOR);\n createEReference(negationSelectorEClass, NEGATION_SELECTOR__SIMPLE_SELECTOR);\n\n valueLiteralEClass = createEClass(VALUE_LITERAL);\n\n numberLiteralEClass = createEClass(NUMBER_LITERAL);\n\n sizeLiteralEClass = createEClass(SIZE_LITERAL);\n\n stringLiteralEClass = createEClass(STRING_LITERAL);\n createEAttribute(stringLiteralEClass, STRING_LITERAL__VALUE);\n\n colorLiteralEClass = createEClass(COLOR_LITERAL);\n\n componentColorLiteralEClass = createEClass(COMPONENT_COLOR_LITERAL);\n\n colorComponentLiteralEClass = createEClass(COLOR_COMPONENT_LITERAL);\n createEReference(colorComponentLiteralEClass, COLOR_COMPONENT_LITERAL__NUMBER);\n createEAttribute(colorComponentLiteralEClass, COLOR_COMPONENT_LITERAL__PERCENTAGE);\n\n urlLiteralEClass = createEClass(URL_LITERAL);\n createEAttribute(urlLiteralEClass, URL_LITERAL__VALUE);\n\n bareWordLiteralEClass = createEClass(BARE_WORD_LITERAL);\n createEAttribute(bareWordLiteralEClass, BARE_WORD_LITERAL__BARE_WORD);\n\n functionCallLiteralEClass = createEClass(FUNCTION_CALL_LITERAL);\n createEAttribute(functionCallLiteralEClass, FUNCTION_CALL_LITERAL__FUNCTION);\n createEReference(functionCallLiteralEClass, FUNCTION_CALL_LITERAL__ARGUMENTS);\n\n descendantCombinatorEClass = createEClass(DESCENDANT_COMBINATOR);\n createEReference(descendantCombinatorEClass, DESCENDANT_COMBINATOR__LEFT);\n createEAttribute(descendantCombinatorEClass, DESCENDANT_COMBINATOR__WS_I);\n createEReference(descendantCombinatorEClass, DESCENDANT_COMBINATOR__RIGHT);\n\n childCombinatorEClass = createEClass(CHILD_COMBINATOR);\n createEReference(childCombinatorEClass, CHILD_COMBINATOR__LEFT);\n createEAttribute(childCombinatorEClass, CHILD_COMBINATOR__WS_L);\n createEAttribute(childCombinatorEClass, CHILD_COMBINATOR__WS_R);\n createEReference(childCombinatorEClass, CHILD_COMBINATOR__RIGHT);\n\n adjacentSiblingCombinatorEClass = createEClass(ADJACENT_SIBLING_COMBINATOR);\n createEReference(adjacentSiblingCombinatorEClass, ADJACENT_SIBLING_COMBINATOR__LEFT);\n createEAttribute(adjacentSiblingCombinatorEClass, ADJACENT_SIBLING_COMBINATOR__WS_L);\n createEAttribute(adjacentSiblingCombinatorEClass, ADJACENT_SIBLING_COMBINATOR__WS_R);\n createEReference(adjacentSiblingCombinatorEClass, ADJACENT_SIBLING_COMBINATOR__RIGHT);\n\n generalSiblingCombinatorEClass = createEClass(GENERAL_SIBLING_COMBINATOR);\n createEReference(generalSiblingCombinatorEClass, GENERAL_SIBLING_COMBINATOR__LEFT);\n createEAttribute(generalSiblingCombinatorEClass, GENERAL_SIBLING_COMBINATOR__WS_L);\n createEAttribute(generalSiblingCombinatorEClass, GENERAL_SIBLING_COMBINATOR__WS_R);\n createEReference(generalSiblingCombinatorEClass, GENERAL_SIBLING_COMBINATOR__RIGHT);\n\n simpleSelectorSequenceEClass = createEClass(SIMPLE_SELECTOR_SEQUENCE);\n createEReference(simpleSelectorSequenceEClass, SIMPLE_SELECTOR_SEQUENCE__HEAD);\n createEReference(simpleSelectorSequenceEClass, SIMPLE_SELECTOR_SEQUENCE__SIMPLE_SELECTORS);\n\n universalNamespacePrefixEClass = createEClass(UNIVERSAL_NAMESPACE_PREFIX);\n\n withoutNamespacePrefixEClass = createEClass(WITHOUT_NAMESPACE_PREFIX);\n\n stringAttributeValueLiteralEClass = createEClass(STRING_ATTRIBUTE_VALUE_LITERAL);\n createEAttribute(stringAttributeValueLiteralEClass, STRING_ATTRIBUTE_VALUE_LITERAL__VALUE);\n\n integerAttributeValueLiteralEClass = createEClass(INTEGER_ATTRIBUTE_VALUE_LITERAL);\n createEAttribute(integerAttributeValueLiteralEClass, INTEGER_ATTRIBUTE_VALUE_LITERAL__VALUE);\n\n decimalAttributeValueLiteralEClass = createEClass(DECIMAL_ATTRIBUTE_VALUE_LITERAL);\n createEAttribute(decimalAttributeValueLiteralEClass, DECIMAL_ATTRIBUTE_VALUE_LITERAL__VALUE);\n\n integerLiteralEClass = createEClass(INTEGER_LITERAL);\n createEAttribute(integerLiteralEClass, INTEGER_LITERAL__INT);\n\n decimalLiteralEClass = createEClass(DECIMAL_LITERAL);\n createEAttribute(decimalLiteralEClass, DECIMAL_LITERAL__DECIMAL);\n\n quantifiedSizeLiteralEClass = createEClass(QUANTIFIED_SIZE_LITERAL);\n createEReference(quantifiedSizeLiteralEClass, QUANTIFIED_SIZE_LITERAL__NUMBER);\n createEAttribute(quantifiedSizeLiteralEClass, QUANTIFIED_SIZE_LITERAL__DIMENSION);\n\n qualifiedSizeLiteralEClass = createEClass(QUALIFIED_SIZE_LITERAL);\n createEAttribute(qualifiedSizeLiteralEClass, QUALIFIED_SIZE_LITERAL__BAREWORD);\n\n fontHeightLiteralEClass = createEClass(FONT_HEIGHT_LITERAL);\n createEReference(fontHeightLiteralEClass, FONT_HEIGHT_LITERAL__FONT_HEIGHT);\n createEReference(fontHeightLiteralEClass, FONT_HEIGHT_LITERAL__LINE_HEIGHT);\n createEAttribute(fontHeightLiteralEClass, FONT_HEIGHT_LITERAL__LINE_HEIGHT_DIMENSION);\n\n rgbColorEClass = createEClass(RGB_COLOR);\n createEAttribute(rgbColorEClass, RGB_COLOR__RGB);\n\n namedColorEClass = createEClass(NAMED_COLOR);\n createEAttribute(namedColorEClass, NAMED_COLOR__COLOR);\n\n componentRGBColorEClass = createEClass(COMPONENT_RGB_COLOR);\n createEReference(componentRGBColorEClass, COMPONENT_RGB_COLOR__RED);\n createEReference(componentRGBColorEClass, COMPONENT_RGB_COLOR__GREEN);\n createEReference(componentRGBColorEClass, COMPONENT_RGB_COLOR__BLUE);\n\n componentRGBAlphaColorEClass = createEClass(COMPONENT_RGB_ALPHA_COLOR);\n createEReference(componentRGBAlphaColorEClass, COMPONENT_RGB_ALPHA_COLOR__RED);\n createEReference(componentRGBAlphaColorEClass, COMPONENT_RGB_ALPHA_COLOR__GREEN);\n createEReference(componentRGBAlphaColorEClass, COMPONENT_RGB_ALPHA_COLOR__BLUE);\n createEReference(componentRGBAlphaColorEClass, COMPONENT_RGB_ALPHA_COLOR__OPACITY);\n\n componentHSLColorEClass = createEClass(COMPONENT_HSL_COLOR);\n createEReference(componentHSLColorEClass, COMPONENT_HSL_COLOR__HUE);\n createEReference(componentHSLColorEClass, COMPONENT_HSL_COLOR__SATURATION);\n createEReference(componentHSLColorEClass, COMPONENT_HSL_COLOR__LIGHTNESS);\n\n componentHSLAlphaColorEClass = createEClass(COMPONENT_HSL_ALPHA_COLOR);\n createEReference(componentHSLAlphaColorEClass, COMPONENT_HSL_ALPHA_COLOR__HUE);\n createEReference(componentHSLAlphaColorEClass, COMPONENT_HSL_ALPHA_COLOR__SATURATION);\n createEReference(componentHSLAlphaColorEClass, COMPONENT_HSL_ALPHA_COLOR__LIGHTNESS);\n createEReference(componentHSLAlphaColorEClass, COMPONENT_HSL_ALPHA_COLOR__OPACITY);\n\n alphaLiteralEClass = createEClass(ALPHA_LITERAL);\n createEReference(alphaLiteralEClass, ALPHA_LITERAL__OPACITY);\n\n // Create enums\n knownPropertiesEEnum = createEEnum(KNOWN_PROPERTIES);\n attributeSelectorMatchersEEnum = createEEnum(ATTRIBUTE_SELECTOR_MATCHERS);\n noArgsPseudosEEnum = createEEnum(NO_ARGS_PSEUDOS);\n pseudoElementsEEnum = createEEnum(PSEUDO_ELEMENTS);\n functionalPseudoClassesEEnum = createEEnum(FUNCTIONAL_PSEUDO_CLASSES);\n paritiesEEnum = createEEnum(PARITIES);\n dimensionsEEnum = createEEnum(DIMENSIONS);\n colorNamesEEnum = createEEnum(COLOR_NAMES);\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\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 createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tmaturityModelEClass = createEClass(MATURITY_MODEL);\n\t\tcreateEAttribute(maturityModelEClass, MATURITY_MODEL__NAME);\n\t\tcreateEAttribute(maturityModelEClass, MATURITY_MODEL__VERSION);\n\t\tcreateEAttribute(maturityModelEClass, MATURITY_MODEL__RELEASE_DATE);\n\t\tcreateEAttribute(maturityModelEClass, MATURITY_MODEL__AUTHOR);\n\t\tcreateEAttribute(maturityModelEClass, MATURITY_MODEL__DESCRIPTION);\n\t\tcreateEAttribute(maturityModelEClass, MATURITY_MODEL__ACRONYM);\n\t\tcreateEAttribute(maturityModelEClass, MATURITY_MODEL__URL);\n\t\tcreateEReference(maturityModelEClass, MATURITY_MODEL__ORGANIZES);\n\t\tcreateEReference(maturityModelEClass, MATURITY_MODEL__EVOLVES_INTO);\n\n\t\tprocessAreaEClass = createEClass(PROCESS_AREA);\n\t\tcreateEAttribute(processAreaEClass, PROCESS_AREA__NAME);\n\t\tcreateEAttribute(processAreaEClass, PROCESS_AREA__SHORT_DESCRIPTION);\n\t\tcreateEAttribute(processAreaEClass, PROCESS_AREA__MAIN_DESCRIPTION);\n\t\tcreateEAttribute(processAreaEClass, PROCESS_AREA__ACRONYM);\n\t\tcreateEReference(processAreaEClass, PROCESS_AREA__DEFINES);\n\t\tcreateEReference(processAreaEClass, PROCESS_AREA__IMPLEMENTS);\n\n\t\tspecificPracticeEClass = createEClass(SPECIFIC_PRACTICE);\n\t\tcreateEAttribute(specificPracticeEClass, SPECIFIC_PRACTICE__NAME);\n\t\tcreateEAttribute(specificPracticeEClass, SPECIFIC_PRACTICE__DESCRIPTION);\n\t\tcreateEAttribute(specificPracticeEClass, SPECIFIC_PRACTICE__ACRONYM);\n\t\tcreateEAttribute(specificPracticeEClass, SPECIFIC_PRACTICE__COMPLEMENTARY_DESCRIPTION);\n\n\t\tmaturityLevelEClass = createEClass(MATURITY_LEVEL);\n\t\tcreateEAttribute(maturityLevelEClass, MATURITY_LEVEL__NAME);\n\t\tcreateEAttribute(maturityLevelEClass, MATURITY_LEVEL__DESCRIPTION);\n\t\tcreateEAttribute(maturityLevelEClass, MATURITY_LEVEL__ACRONYM);\n\t\tcreateEReference(maturityLevelEClass, MATURITY_LEVEL__EVOLVES_INTO);\n\n\t\tgenericPracticeEClass = createEClass(GENERIC_PRACTICE);\n\t\tcreateEAttribute(genericPracticeEClass, GENERIC_PRACTICE__NAME);\n\t\tcreateEAttribute(genericPracticeEClass, GENERIC_PRACTICE__DESCRIPTION);\n\t\tcreateEAttribute(genericPracticeEClass, GENERIC_PRACTICE__ACRONYM);\n\t\tcreateEAttribute(genericPracticeEClass, GENERIC_PRACTICE__COMPLEMENTARY_DESCRIPTION);\n\t\tcreateEReference(genericPracticeEClass, GENERIC_PRACTICE__DIVIDED);\n\n\t\tgpSubPracticeEClass = createEClass(GP_SUB_PRACTICE);\n\t\tcreateEAttribute(gpSubPracticeEClass, GP_SUB_PRACTICE__NAME);\n\t\tcreateEAttribute(gpSubPracticeEClass, GP_SUB_PRACTICE__DESCRIPTION);\n\t\tcreateEAttribute(gpSubPracticeEClass, GP_SUB_PRACTICE__ACRONYM);\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}", "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 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}", "public Map<String, AClassDecl> basicClasses() {\n\t\tLinkedList<PFeature> featList;\n\t\tLinkedList<PFormal> formalList;\n\t\tPFeature pf;\n\t\t\n\t\tfeatList = new LinkedList<PFeature>();\n\t\t\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"abort\"),\n\t\t\t\tnew LinkedList<PFormal>(),\n\t\t\t\tnew TTypeId(\"Object\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\t\t\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"type_name\"),\n\t\t\t\tnew LinkedList<PFormal>(),\n\t\t\t\tnew TTypeId(\"String\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\n\t\tfeatList.add(pf);\n\t\t\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"copy\"),\n\t\t\t\tnew LinkedList<PFormal>(),\n\t\t\t\tnew TTypeId(\"SELF_TYPE\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\n\t\tfeatList.add(pf);\n\t\t\n\t\tAClassDecl ObjectClass = new AClassDecl(\n\t\t\t\tnew TTypeId(\"Object\"),\n\t\t\t\tnew TTypeId(\"_no_class\"),\n\t\t\t\tfeatList\n\t\t\t\t);\n\t\t\n\t\t// The IO class inherits from Object. Its methods are\n\t\t// out_string(Str) : SELF_TYPE writes a string to the output\n\t\t// out_int(Int) : SELF_TYPE \" an int \" \" \"\n\t\t// in_string() : Str reads a string from the input\n\t\t// in_int() : Int \" an int \" \" \"\n\t\tfeatList = new LinkedList<PFeature>();\n\t\t\n\t\tformalList = new LinkedList<PFormal>();\t\t\n\t\tformalList.add(new AFormal(new TObjectId(\"arg\"), new TTypeId(\"String\")));\t\t\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"out_string\"),\n\t\t\t\tformalList,\n\t\t\t\tnew TTypeId(\"SELF_TYPE\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\n\t\tformalList = new LinkedList<PFormal>();\t\t\n\t\tformalList.add(new AFormal(new TObjectId(\"arg\"), new TTypeId(\"Int\")));\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"out_int\"),\n\t\t\t\tformalList,\n\t\t\t\tnew TTypeId(\"SELF_TYPE\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\n\t\tformalList = new LinkedList<PFormal>();\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"in_string\"),\n\t\t\t\tformalList,\n\t\t\t\tnew TTypeId(\"String\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"in_int\"),\n\t\t\t\tformalList,\n\t\t\t\tnew TTypeId(\"Int\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\n\t\tAClassDecl IOClass = new AClassDecl(\n\t\t\t\tnew TTypeId(\"IO\"),\n\t\t\t\tnew TTypeId(\"Object\"),\n\t\t\t\tfeatList\n\t\t\t\t);\n\n\n\t\t// The Int class has no methods and only a single attribute, the\n\t\t// \"val\" for the integer.\n\t\tfeatList = new LinkedList<PFeature>();\n\t\tpf = new AAttributeFeature(\n\t\t\t\tnew TObjectId(\"_val\"),\n\t\t\t\tnew TTypeId(\"_prim_slot\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\t\t\n\t\tAClassDecl IntClass = new AClassDecl(\n\t\t\t\tnew TTypeId(\"Int\"),\n\t\t\t\tnew TTypeId(\"Object\"),\n\t\t\t\tfeatList\n\t\t\t\t);\n\n\t\t// Bool also has only the \"val\" slot.\n\t\tfeatList = new LinkedList<PFeature>();\n\t\tpf = new AAttributeFeature(\n\t\t\t\tnew TObjectId(\"_val\"),\n\t\t\t\tnew TTypeId(\"_prim_slot\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\t\t\n\t\tAClassDecl BoolClass = new AClassDecl(\n\t\t\t\tnew TTypeId(\"Bool\"),\n\t\t\t\tnew TTypeId(\"Object\"),\n\t\t\t\tfeatList\n\t\t\t\t);\n\n\t\t// The class Str has a number of slots and operations:\n\t\t// val the length of the string\n\t\t// str_field the string itself\n\t\t// length() : Int returns length of the string\n\t\t// concat(arg: Str) : Str performs string concatenation\n\t\t// substr(arg: Int, arg2: Int): Str substring selection\n\t\tfeatList = new LinkedList<PFeature>();\n\t\tpf = new AAttributeFeature(\n\t\t\t\tnew TObjectId(\"_val\"),\n\t\t\t\tnew TTypeId(\"_prim_slot\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\n\t\tpf = new AAttributeFeature(\n\t\t\t\tnew TObjectId(\"_str_field\"),\n\t\t\t\tnew TTypeId(\"_prim_slot\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\t\t\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"length\"),\n\t\t\t\tnew LinkedList<PFormal>(),\n\t\t\t\tnew TTypeId(\"Int\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\n\t\tfeatList.add(pf);\t\t\n\n\t\tformalList = new LinkedList<PFormal>();\n\t\tformalList.add(new AFormal(new TObjectId(\"arg\"), new TTypeId(\"String\")));\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"concat\"),\n\t\t\t\tformalList,\n\t\t\t\tnew TTypeId(\"String\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\n\t\tformalList = new LinkedList<PFormal>();\n\t\tformalList.add(new AFormal(new TObjectId(\"arg\"), new TTypeId(\"Int\")));\n\t\tformalList.add(new AFormal(new TObjectId(\"arg2\"), new TTypeId(\"Int\")));\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"substr\"),\n\t\t\t\tformalList,\n\t\t\t\tnew TTypeId(\"String\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\t\t\n\t\t\n\t\tAClassDecl StringClass = new AClassDecl(\n\t\t\t\tnew TTypeId(\"String\"),\n\t\t\t\tnew TTypeId(\"Object\"),\n\t\t\t\tfeatList\n\t\t\t\t);\n\t\t\n\n\t\t/*\n\t\t * Do something with Object_class, IO_class, Int_class, Bool_class, and\n\t\t * Str_class here \n\t\t * \n\t\t */\n\n\t\tMap<String, AClassDecl> map = new TreeMap<String, AClassDecl>();\n\t\t\t\tOBJECT = new Klass();\n\t\t\t\tOBJECT.name = \"Object\";\n\t\t\t\tOBJECT.parent = null;\n\t\t\t\tOBJECT.methods = null;\n\t\t \t\tOBJECT.vars = null;\n\t\t \t\t\n\t\t \t\tIO = new Klass();\n\t\t \t\tIO.name = \"IO\";\n\t\t \t\tIO.parent = OBJECT;\n\n\t\t \t\t\n\t\t \t\tINT = new Klass();\n\t\t \t\tINT.name = \"Int\";\n\t\t \t\tINT.parent = OBJECT;\n\n\t\t \t\t\n\t\t \t\tBOOL = new Klass();\n\t\t \t\tBOOL.name = \"Bool\";\n\t\t \t\tBOOL.parent = OBJECT;\n\n\t\t\t\t\n\t\t \t\tSTR = new Klass();\n\t\t\t\tSTR.name =\"String\";\n\t\t\t\tSTR.parent = OBJECT;\n\n\t\t\t\t\n\t\t\t\tERROR = new Klass();\n\t\t\t\tERROR.name = \"ERROR\";\n\t\t\t\tERROR.parent = OBJECT;\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tVOID = new Klass();\n\t\t\t\tVOID.name = \"VOID\";\n\t\t\t\tVOID.parent = OBJECT;\n\n\t\t\t\tklasses.put(\"Object\", OBJECT);\n\t\t\t\tklasses.put(\"IO\", IO);\n\t\t\t\tklasses.put(\"Int\", INT);\n\t\t\t\tklasses.put(\"Bool\", BOOL);\n\t\t\t klasses.put(\"String\", STR);\n\t\t\t\t\n\t\tmap.put(\"Object\", ObjectClass);\n\t\tmap.put(\"IO\", IOClass);\n\t\tmap.put(\"Int\", IntClass);\n\t\tmap.put(\"Bool\", BoolClass);\n\t\tmap.put(\"String\", StringClass);\n\t\t\n\t\treturn map;\n\t\t\n\t}", "public void createPackageContents() {\r\n\t\tif (isCreated)\r\n\t\t\treturn;\r\n\t\tisCreated = true;\r\n\r\n\t\t// Create classes and their features\r\n\t\tnamedElementEClass = createEClass(NAMED_ELEMENT);\r\n\t\tcreateEAttribute(namedElementEClass, NAMED_ELEMENT__NAME);\r\n\r\n\t\tcomDiagEClass = createEClass(COM_DIAG);\r\n\t\tcreateEReference(comDiagEClass, COM_DIAG__ELEMENTS);\r\n\t\tcreateEAttribute(comDiagEClass, COM_DIAG__LEVEL);\r\n\r\n\t\tcomDiagElementEClass = createEClass(COM_DIAG_ELEMENT);\r\n\t\tcreateEReference(comDiagElementEClass, COM_DIAG_ELEMENT__GRAPH);\r\n\r\n\t\tlifelineEClass = createEClass(LIFELINE);\r\n\t\tcreateEAttribute(lifelineEClass, LIFELINE__NUMBER);\r\n\r\n\t\tmessageEClass = createEClass(MESSAGE);\r\n\t\tcreateEAttribute(messageEClass, MESSAGE__OCCURENCE);\r\n\t\tcreateEReference(messageEClass, MESSAGE__SOURCE);\r\n\t\tcreateEReference(messageEClass, MESSAGE__TARGET);\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\ttaskEClass = createEClass(TASK);\n\t\tcreateEAttribute(taskEClass, TASK__TASK_ID);\n\t\tcreateEAttribute(taskEClass, TASK__NAME);\n\t\tcreateEReference(taskEClass, TASK__SUBTASKS);\n\t\tcreateEAttribute(taskEClass, TASK__DEADLINE);\n\n\t\tperiodicTaskEClass = createEClass(PERIODIC_TASK);\n\t\tcreateEAttribute(periodicTaskEClass, PERIODIC_TASK__PERIOD);\n\t\tcreateEAttribute(periodicTaskEClass, PERIODIC_TASK__OFFSET);\n\n\t\taperiodicTaskEClass = createEClass(APERIODIC_TASK);\n\t\tcreateEReference(aperiodicTaskEClass, APERIODIC_TASK__INTERARRIVAL_DISTRIBUTION);\n\n\t\tsubtaskEClass = createEClass(SUBTASK);\n\t\tcreateEAttribute(subtaskEClass, SUBTASK__NAME);\n\t\tcreateEAttribute(subtaskEClass, SUBTASK__PRIORITY);\n\t\tcreateEAttribute(subtaskEClass, SUBTASK__RET_ANCHOR_USED);\n\t\tcreateEAttribute(subtaskEClass, SUBTASK__ACTIVATION_SYNCHRONOUS);\n\t\tcreateEReference(subtaskEClass, SUBTASK__EXEC_TIME_DISTRIBUTION);\n\t\tcreateEAttribute(subtaskEClass, SUBTASK__BYPASS);\n\t\tcreateEAttribute(subtaskEClass, SUBTASK__DOWNSAMPLING_FACTOR);\n\t\tcreateEAttribute(subtaskEClass, SUBTASK__CALLING_THREAD_PRIORITY);\n\t\tcreateEReference(subtaskEClass, SUBTASK__MUTEXES);\n\t\tcreateEAttribute(subtaskEClass, SUBTASK__PIN_ID);\n\n\t\tdistributionEClass = createEClass(DISTRIBUTION);\n\n\t\tconstantEClass = createEClass(CONSTANT);\n\t\tcreateEAttribute(constantEClass, CONSTANT__VALUE);\n\n\t\texponentialEClass = createEClass(EXPONENTIAL);\n\t\tcreateEAttribute(exponentialEClass, EXPONENTIAL__MEAN);\n\n\t\tuniformEClass = createEClass(UNIFORM);\n\t\tcreateEAttribute(uniformEClass, UNIFORM__MAX);\n\t\tcreateEAttribute(uniformEClass, UNIFORM__MIN);\n\n\t\tunknownEClass = createEClass(UNKNOWN);\n\t\tcreateEAttribute(unknownEClass, UNKNOWN__MEAN);\n\t\tcreateEAttribute(unknownEClass, UNKNOWN__MIN);\n\t\tcreateEAttribute(unknownEClass, UNKNOWN__MAX);\n\n\t\tnormalEClass = createEClass(NORMAL);\n\t\tcreateEAttribute(normalEClass, NORMAL__MEAN);\n\t\tcreateEAttribute(normalEClass, NORMAL__STD_DEV);\n\n\t\tperformanceModelEClass = createEClass(PERFORMANCE_MODEL);\n\t\tcreateEReference(performanceModelEClass, PERFORMANCE_MODEL__TASKS);\n\t\tcreateEAttribute(performanceModelEClass, PERFORMANCE_MODEL__NAME);\n\t\tcreateEReference(performanceModelEClass, PERFORMANCE_MODEL__MUTEXES);\n\t\tcreateEAttribute(performanceModelEClass, PERFORMANCE_MODEL__SOURCE_FILE);\n\n\t\tssTaskEClass = createEClass(SS_TASK);\n\t\tcreateEAttribute(ssTaskEClass, SS_TASK__BUDGET);\n\t\tcreateEAttribute(ssTaskEClass, SS_TASK__REPLENISHMENT_PERIOD);\n\t\tcreateEAttribute(ssTaskEClass, SS_TASK__BACKGROUND_PRIORITY);\n\n\t\tmutexEClass = createEClass(MUTEX);\n\t\tcreateEAttribute(mutexEClass, MUTEX__NAME);\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\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 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}", "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 createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\ttaskModelEClass = createEClass(TASK_MODEL);\n\t\tcreateEReference(taskModelEClass, TASK_MODEL__ROOT);\n\t\tcreateEReference(taskModelEClass, TASK_MODEL__TASKS);\n\t\tcreateEAttribute(taskModelEClass, TASK_MODEL__NAME);\n\n\t\ttaskEClass = createEClass(TASK);\n\t\tcreateEAttribute(taskEClass, TASK__ID);\n\t\tcreateEAttribute(taskEClass, TASK__NAME);\n\t\tcreateEReference(taskEClass, TASK__OPERATOR);\n\t\tcreateEReference(taskEClass, TASK__SUBTASKS);\n\t\tcreateEReference(taskEClass, TASK__PARENT);\n\t\tcreateEAttribute(taskEClass, TASK__MIN);\n\t\tcreateEAttribute(taskEClass, TASK__MAX);\n\t\tcreateEAttribute(taskEClass, TASK__ITERATIVE);\n\n\t\tuserTaskEClass = createEClass(USER_TASK);\n\n\t\tapplicationTaskEClass = createEClass(APPLICATION_TASK);\n\n\t\tinteractionTaskEClass = createEClass(INTERACTION_TASK);\n\n\t\tabstractionTaskEClass = createEClass(ABSTRACTION_TASK);\n\n\t\tnullTaskEClass = createEClass(NULL_TASK);\n\n\t\ttemporalOperatorEClass = createEClass(TEMPORAL_OPERATOR);\n\n\t\tchoiceOperatorEClass = createEClass(CHOICE_OPERATOR);\n\n\t\torderIndependenceOperatorEClass = createEClass(ORDER_INDEPENDENCE_OPERATOR);\n\n\t\tinterleavingOperatorEClass = createEClass(INTERLEAVING_OPERATOR);\n\n\t\tsynchronizationOperatorEClass = createEClass(SYNCHRONIZATION_OPERATOR);\n\n\t\tparallelOperatorEClass = createEClass(PARALLEL_OPERATOR);\n\n\t\tdisablingOperatorEClass = createEClass(DISABLING_OPERATOR);\n\n\t\tsequentialEnablingInfoOperatorEClass = createEClass(SEQUENTIAL_ENABLING_INFO_OPERATOR);\n\n\t\tsequentialEnablingOperatorEClass = createEClass(SEQUENTIAL_ENABLING_OPERATOR);\n\n\t\tsuspendResumeOperatorEClass = createEClass(SUSPEND_RESUME_OPERATOR);\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\tanalyzerJobEClass = createEClass(ANALYZER_JOB);\n\t\tcreateEReference(analyzerJobEClass, ANALYZER_JOB__RFS_SERVICE);\n\n\t\tcomponentFailureEClass = createEClass(COMPONENT_FAILURE);\n\t\tcreateEReference(componentFailureEClass, COMPONENT_FAILURE__COMPONENT_REF);\n\n\t\tcomponentWorkFlowRunEClass = createEClass(COMPONENT_WORK_FLOW_RUN);\n\t\tcreateEReference(componentWorkFlowRunEClass, COMPONENT_WORK_FLOW_RUN__FAILURE_REFS);\n\n\t\texpressionFailureEClass = createEClass(EXPRESSION_FAILURE);\n\t\tcreateEReference(expressionFailureEClass, EXPRESSION_FAILURE__EXPRESSION_REF);\n\n\t\tfailureEClass = createEClass(FAILURE);\n\t\tcreateEAttribute(failureEClass, FAILURE__MESSAGE);\n\n\t\tjobEClass = createEClass(JOB);\n\t\tcreateEAttribute(jobEClass, JOB__END_TIME);\n\t\tcreateEAttribute(jobEClass, JOB__INTERVAL);\n\t\tcreateEAttribute(jobEClass, JOB__JOB_STATE);\n\t\tcreateEAttribute(jobEClass, JOB__NAME);\n\t\tcreateEAttribute(jobEClass, JOB__REPEAT);\n\t\tcreateEAttribute(jobEClass, JOB__START_TIME);\n\n\t\tjobRunContainerEClass = createEClass(JOB_RUN_CONTAINER);\n\t\tcreateEReference(jobRunContainerEClass, JOB_RUN_CONTAINER__JOB);\n\t\tcreateEReference(jobRunContainerEClass, JOB_RUN_CONTAINER__WORK_FLOW_RUNS);\n\n\t\tmetricSourceJobEClass = createEClass(METRIC_SOURCE_JOB);\n\t\tcreateEReference(metricSourceJobEClass, METRIC_SOURCE_JOB__METRIC_SOURCES);\n\n\t\tnodeReporterJobEClass = createEClass(NODE_REPORTER_JOB);\n\t\tcreateEReference(nodeReporterJobEClass, NODE_REPORTER_JOB__NODE);\n\n\t\tnodeTypeReporterJobEClass = createEClass(NODE_TYPE_REPORTER_JOB);\n\t\tcreateEReference(nodeTypeReporterJobEClass, NODE_TYPE_REPORTER_JOB__NODE_TYPE);\n\t\tcreateEReference(nodeTypeReporterJobEClass, NODE_TYPE_REPORTER_JOB__SCOPE_OBJECT);\n\n\t\toperatorReporterJobEClass = createEClass(OPERATOR_REPORTER_JOB);\n\t\tcreateEReference(operatorReporterJobEClass, OPERATOR_REPORTER_JOB__OPERATOR);\n\n\t\tretentionJobEClass = createEClass(RETENTION_JOB);\n\n\t\trfsServiceMonitoringJobEClass = createEClass(RFS_SERVICE_MONITORING_JOB);\n\t\tcreateEReference(rfsServiceMonitoringJobEClass, RFS_SERVICE_MONITORING_JOB__RFS_SERVICE);\n\n\t\trfsServiceReporterJobEClass = createEClass(RFS_SERVICE_REPORTER_JOB);\n\t\tcreateEReference(rfsServiceReporterJobEClass, RFS_SERVICE_REPORTER_JOB__RFS_SERVICE);\n\n\t\tserviceUserFailureEClass = createEClass(SERVICE_USER_FAILURE);\n\t\tcreateEReference(serviceUserFailureEClass, SERVICE_USER_FAILURE__SERVICE_USER_REF);\n\n\t\tworkFlowRunEClass = createEClass(WORK_FLOW_RUN);\n\t\tcreateEAttribute(workFlowRunEClass, WORK_FLOW_RUN__ENDED);\n\t\tcreateEAttribute(workFlowRunEClass, WORK_FLOW_RUN__LOG);\n\t\tcreateEAttribute(workFlowRunEClass, WORK_FLOW_RUN__PROGRESS);\n\t\tcreateEAttribute(workFlowRunEClass, WORK_FLOW_RUN__PROGRESS_MESSAGE);\n\t\tcreateEAttribute(workFlowRunEClass, WORK_FLOW_RUN__PROGRESS_TASK);\n\t\tcreateEAttribute(workFlowRunEClass, WORK_FLOW_RUN__STARTED);\n\t\tcreateEAttribute(workFlowRunEClass, WORK_FLOW_RUN__STATE);\n\n\t\t// Create enums\n\t\tjobRunStateEEnum = createEEnum(JOB_RUN_STATE);\n\t\tjobStateEEnum = createEEnum(JOB_STATE);\n\n\t\t// Create data types\n\t\tjobRunStateObjectEDataType = createEDataType(JOB_RUN_STATE_OBJECT);\n\t\tjobStateObjectEDataType = createEDataType(JOB_STATE_OBJECT);\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\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// 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 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 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 createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tblockEClass = createEClass(BLOCK);\n\t\tcreateEReference(blockEClass, BLOCK__STMTS);\n\n\t\tstmtEClass = createEClass(STMT);\n\n\t\tarithEClass = createEClass(ARITH);\n\n\t\talVarRefEClass = createEClass(AL_VAR_REF);\n\t\tcreateEAttribute(alVarRefEClass, AL_VAR_REF__NAME);\n\n\t\tarithLitEClass = createEClass(ARITH_LIT);\n\t\tcreateEAttribute(arithLitEClass, ARITH_LIT__VAL);\n\n\t\tarithOpEClass = createEClass(ARITH_OP);\n\t\tcreateEReference(arithOpEClass, ARITH_OP__LHS);\n\t\tcreateEReference(arithOpEClass, ARITH_OP__RHS);\n\n\t\tarithPlusEClass = createEClass(ARITH_PLUS);\n\n\t\tarithMinusEClass = createEClass(ARITH_MINUS);\n\n\t\tprintEClass = createEClass(PRINT);\n\t\tcreateEAttribute(printEClass, PRINT__NAME);\n\n\t\tassignEClass = createEClass(ASSIGN);\n\t\tcreateEAttribute(assignEClass, ASSIGN__NAME);\n\t\tcreateEReference(assignEClass, ASSIGN__VAL);\n\n\t\tifStmtEClass = createEClass(IF_STMT);\n\t\tcreateEReference(ifStmtEClass, IF_STMT__IF_BRANCH);\n\t\tcreateEReference(ifStmtEClass, IF_STMT__ELSE_BRANCH);\n\t\tcreateEReference(ifStmtEClass, IF_STMT__TEST);\n\n\t\trandRangeEClass = createEClass(RAND_RANGE);\n\t\tcreateEAttribute(randRangeEClass, RAND_RANGE__MIN);\n\t\tcreateEAttribute(randRangeEClass, RAND_RANGE__MAX);\n\n\t\tequalityTestEClass = createEClass(EQUALITY_TEST);\n\t\tcreateEReference(equalityTestEClass, EQUALITY_TEST__LHS);\n\t\tcreateEReference(equalityTestEClass, EQUALITY_TEST__RHS);\n\t}", "ThingMLPackage getThingMLPackage();", "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 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}", "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}", "ComponentmodelPackage getComponentmodelPackage();", "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// 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 createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tliveScoreEClass = createEClass(LIVE_SCORE);\n\t\tcreateEReference(liveScoreEClass, LIVE_SCORE__PREFEREDPLAYER);\n\t\tcreateEAttribute(liveScoreEClass, LIVE_SCORE__SALONNAME);\n\n\t\tpreferedPlayerEClass = createEClass(PREFERED_PLAYER);\n\t\tcreateEAttribute(preferedPlayerEClass, PREFERED_PLAYER__NAME);\n\t\tcreateEAttribute(preferedPlayerEClass, PREFERED_PLAYER__WON);\n\t\tcreateEAttribute(preferedPlayerEClass, PREFERED_PLAYER__PLAYINGS);\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\tblockArchitecturePkgEClass = createEClass(BLOCK_ARCHITECTURE_PKG);\n\n\t\tblockArchitectureEClass = createEClass(BLOCK_ARCHITECTURE);\n\t\tcreateEReference(blockArchitectureEClass, BLOCK_ARCHITECTURE__OWNED_REQUIREMENT_PKGS);\n\t\tcreateEReference(blockArchitectureEClass, BLOCK_ARCHITECTURE__OWNED_ABSTRACT_CAPABILITY_PKG);\n\t\tcreateEReference(blockArchitectureEClass, BLOCK_ARCHITECTURE__OWNED_INTERFACE_PKG);\n\t\tcreateEReference(blockArchitectureEClass, BLOCK_ARCHITECTURE__OWNED_DATA_PKG);\n\t\tcreateEReference(blockArchitectureEClass, BLOCK_ARCHITECTURE__PROVISIONED_ARCHITECTURE_ALLOCATIONS);\n\t\tcreateEReference(blockArchitectureEClass, BLOCK_ARCHITECTURE__PROVISIONING_ARCHITECTURE_ALLOCATIONS);\n\t\tcreateEReference(blockArchitectureEClass, BLOCK_ARCHITECTURE__ALLOCATED_ARCHITECTURES);\n\t\tcreateEReference(blockArchitectureEClass, BLOCK_ARCHITECTURE__ALLOCATING_ARCHITECTURES);\n\n\t\tblockEClass = createEClass(BLOCK);\n\t\tcreateEReference(blockEClass, BLOCK__OWNED_ABSTRACT_CAPABILITY_PKG);\n\t\tcreateEReference(blockEClass, BLOCK__OWNED_INTERFACE_PKG);\n\t\tcreateEReference(blockEClass, BLOCK__OWNED_DATA_PKG);\n\t\tcreateEReference(blockEClass, BLOCK__OWNED_STATE_MACHINES);\n\n\t\tcomponentArchitectureEClass = createEClass(COMPONENT_ARCHITECTURE);\n\n\t\tcomponentEClass = createEClass(COMPONENT);\n\t\tcreateEReference(componentEClass, COMPONENT__OWNED_INTERFACE_USES);\n\t\tcreateEReference(componentEClass, COMPONENT__USED_INTERFACE_LINKS);\n\t\tcreateEReference(componentEClass, COMPONENT__USED_INTERFACES);\n\t\tcreateEReference(componentEClass, COMPONENT__OWNED_INTERFACE_IMPLEMENTATIONS);\n\t\tcreateEReference(componentEClass, COMPONENT__IMPLEMENTED_INTERFACE_LINKS);\n\t\tcreateEReference(componentEClass, COMPONENT__IMPLEMENTED_INTERFACES);\n\t\tcreateEReference(componentEClass, COMPONENT__PROVISIONED_COMPONENT_ALLOCATIONS);\n\t\tcreateEReference(componentEClass, COMPONENT__PROVISIONING_COMPONENT_ALLOCATIONS);\n\t\tcreateEReference(componentEClass, COMPONENT__ALLOCATED_COMPONENTS);\n\t\tcreateEReference(componentEClass, COMPONENT__ALLOCATING_COMPONENTS);\n\t\tcreateEReference(componentEClass, COMPONENT__PROVIDED_INTERFACES);\n\t\tcreateEReference(componentEClass, COMPONENT__REQUIRED_INTERFACES);\n\t\tcreateEReference(componentEClass, COMPONENT__CONTAINED_COMPONENT_PORTS);\n\t\tcreateEReference(componentEClass, COMPONENT__CONTAINED_PARTS);\n\t\tcreateEReference(componentEClass, COMPONENT__CONTAINED_PHYSICAL_PORTS);\n\t\tcreateEReference(componentEClass, COMPONENT__OWNED_PHYSICAL_PATH);\n\t\tcreateEReference(componentEClass, COMPONENT__OWNED_PHYSICAL_LINKS);\n\t\tcreateEReference(componentEClass, COMPONENT__OWNED_PHYSICAL_LINK_CATEGORIES);\n\n\t\tabstractActorEClass = createEClass(ABSTRACT_ACTOR);\n\n\t\tpartEClass = createEClass(PART);\n\t\tcreateEReference(partEClass, PART__PROVIDED_INTERFACES);\n\t\tcreateEReference(partEClass, PART__REQUIRED_INTERFACES);\n\t\tcreateEReference(partEClass, PART__OWNED_DEPLOYMENT_LINKS);\n\t\tcreateEReference(partEClass, PART__DEPLOYED_PARTS);\n\t\tcreateEReference(partEClass, PART__DEPLOYING_PARTS);\n\t\tcreateEReference(partEClass, PART__OWNED_ABSTRACT_TYPE);\n\t\tcreateEAttribute(partEClass, PART__VALUE);\n\t\tcreateEAttribute(partEClass, PART__MAX_VALUE);\n\t\tcreateEAttribute(partEClass, PART__MIN_VALUE);\n\t\tcreateEAttribute(partEClass, PART__CURRENT_MASS);\n\n\t\tarchitectureAllocationEClass = createEClass(ARCHITECTURE_ALLOCATION);\n\t\tcreateEReference(architectureAllocationEClass, ARCHITECTURE_ALLOCATION__ALLOCATED_ARCHITECTURE);\n\t\tcreateEReference(architectureAllocationEClass, ARCHITECTURE_ALLOCATION__ALLOCATING_ARCHITECTURE);\n\n\t\tcomponentAllocationEClass = createEClass(COMPONENT_ALLOCATION);\n\t\tcreateEReference(componentAllocationEClass, COMPONENT_ALLOCATION__ALLOCATED_COMPONENT);\n\t\tcreateEReference(componentAllocationEClass, COMPONENT_ALLOCATION__ALLOCATING_COMPONENT);\n\n\t\tsystemComponentEClass = createEClass(SYSTEM_COMPONENT);\n\t\tcreateEAttribute(systemComponentEClass, SYSTEM_COMPONENT__DATA_COMPONENT);\n\t\tcreateEReference(systemComponentEClass, SYSTEM_COMPONENT__DATA_TYPE);\n\t\tcreateEReference(systemComponentEClass, SYSTEM_COMPONENT__PARTICIPATIONS_IN_CAPABILITY_REALIZATIONS);\n\n\t\tinterfacePkgEClass = createEClass(INTERFACE_PKG);\n\t\tcreateEReference(interfacePkgEClass, INTERFACE_PKG__OWNED_INTERFACES);\n\t\tcreateEReference(interfacePkgEClass, INTERFACE_PKG__OWNED_INTERFACE_PKGS);\n\n\t\tinterfaceEClass = createEClass(INTERFACE);\n\t\tcreateEAttribute(interfaceEClass, INTERFACE__MECHANISM);\n\t\tcreateEAttribute(interfaceEClass, INTERFACE__STRUCTURAL);\n\t\tcreateEReference(interfaceEClass, INTERFACE__IMPLEMENTOR_COMPONENTS);\n\t\tcreateEReference(interfaceEClass, INTERFACE__USER_COMPONENTS);\n\t\tcreateEReference(interfaceEClass, INTERFACE__INTERFACE_IMPLEMENTATIONS);\n\t\tcreateEReference(interfaceEClass, INTERFACE__INTERFACE_USES);\n\t\tcreateEReference(interfaceEClass, INTERFACE__PROVISIONING_INTERFACE_ALLOCATIONS);\n\t\tcreateEReference(interfaceEClass, INTERFACE__ALLOCATING_INTERFACES);\n\t\tcreateEReference(interfaceEClass, INTERFACE__ALLOCATING_COMPONENTS);\n\t\tcreateEReference(interfaceEClass, INTERFACE__EXCHANGE_ITEMS);\n\t\tcreateEReference(interfaceEClass, INTERFACE__OWNED_EXCHANGE_ITEM_ALLOCATIONS);\n\t\tcreateEReference(interfaceEClass, INTERFACE__REQUIRING_COMPONENTS);\n\t\tcreateEReference(interfaceEClass, INTERFACE__REQUIRING_COMPONENT_PORTS);\n\t\tcreateEReference(interfaceEClass, INTERFACE__PROVIDING_COMPONENTS);\n\t\tcreateEReference(interfaceEClass, INTERFACE__PROVIDING_COMPONENT_PORTS);\n\t\tcreateEReference(interfaceEClass, INTERFACE__REALIZING_LOGICAL_INTERFACES);\n\t\tcreateEReference(interfaceEClass, INTERFACE__REALIZED_CONTEXT_INTERFACES);\n\t\tcreateEReference(interfaceEClass, INTERFACE__REALIZING_PHYSICAL_INTERFACES);\n\t\tcreateEReference(interfaceEClass, INTERFACE__REALIZED_LOGICAL_INTERFACES);\n\n\t\tinterfaceImplementationEClass = createEClass(INTERFACE_IMPLEMENTATION);\n\t\tcreateEReference(interfaceImplementationEClass, INTERFACE_IMPLEMENTATION__INTERFACE_IMPLEMENTOR);\n\t\tcreateEReference(interfaceImplementationEClass, INTERFACE_IMPLEMENTATION__IMPLEMENTED_INTERFACE);\n\n\t\tinterfaceUseEClass = createEClass(INTERFACE_USE);\n\t\tcreateEReference(interfaceUseEClass, INTERFACE_USE__INTERFACE_USER);\n\t\tcreateEReference(interfaceUseEClass, INTERFACE_USE__USED_INTERFACE);\n\n\t\tprovidedInterfaceLinkEClass = createEClass(PROVIDED_INTERFACE_LINK);\n\t\tcreateEReference(providedInterfaceLinkEClass, PROVIDED_INTERFACE_LINK__INTERFACE);\n\n\t\trequiredInterfaceLinkEClass = createEClass(REQUIRED_INTERFACE_LINK);\n\t\tcreateEReference(requiredInterfaceLinkEClass, REQUIRED_INTERFACE_LINK__INTERFACE);\n\n\t\tinterfaceAllocationEClass = createEClass(INTERFACE_ALLOCATION);\n\t\tcreateEReference(interfaceAllocationEClass, INTERFACE_ALLOCATION__ALLOCATED_INTERFACE);\n\t\tcreateEReference(interfaceAllocationEClass, INTERFACE_ALLOCATION__ALLOCATING_INTERFACE_ALLOCATOR);\n\n\t\tinterfaceAllocatorEClass = createEClass(INTERFACE_ALLOCATOR);\n\t\tcreateEReference(interfaceAllocatorEClass, INTERFACE_ALLOCATOR__OWNED_INTERFACE_ALLOCATIONS);\n\t\tcreateEReference(interfaceAllocatorEClass, INTERFACE_ALLOCATOR__PROVISIONED_INTERFACE_ALLOCATIONS);\n\t\tcreateEReference(interfaceAllocatorEClass, INTERFACE_ALLOCATOR__ALLOCATED_INTERFACES);\n\n\t\tactorCapabilityRealizationInvolvementEClass = createEClass(ACTOR_CAPABILITY_REALIZATION_INVOLVEMENT);\n\n\t\tsystemComponentCapabilityRealizationInvolvementEClass = createEClass(SYSTEM_COMPONENT_CAPABILITY_REALIZATION_INVOLVEMENT);\n\n\t\tcomponentContextEClass = createEClass(COMPONENT_CONTEXT);\n\n\t\texchangeItemAllocationEClass = createEClass(EXCHANGE_ITEM_ALLOCATION);\n\t\tcreateEAttribute(exchangeItemAllocationEClass, EXCHANGE_ITEM_ALLOCATION__SEND_PROTOCOL);\n\t\tcreateEAttribute(exchangeItemAllocationEClass, EXCHANGE_ITEM_ALLOCATION__RECEIVE_PROTOCOL);\n\t\tcreateEReference(exchangeItemAllocationEClass, EXCHANGE_ITEM_ALLOCATION__ALLOCATED_ITEM);\n\t\tcreateEReference(exchangeItemAllocationEClass, EXCHANGE_ITEM_ALLOCATION__ALLOCATING_INTERFACE);\n\n\t\tdeployableElementEClass = createEClass(DEPLOYABLE_ELEMENT);\n\t\tcreateEReference(deployableElementEClass, DEPLOYABLE_ELEMENT__DEPLOYING_LINKS);\n\n\t\tdeploymentTargetEClass = createEClass(DEPLOYMENT_TARGET);\n\t\tcreateEReference(deploymentTargetEClass, DEPLOYMENT_TARGET__DEPLOYMENT_LINKS);\n\n\t\tabstractDeploymentLinkEClass = createEClass(ABSTRACT_DEPLOYMENT_LINK);\n\t\tcreateEReference(abstractDeploymentLinkEClass, ABSTRACT_DEPLOYMENT_LINK__DEPLOYED_ELEMENT);\n\t\tcreateEReference(abstractDeploymentLinkEClass, ABSTRACT_DEPLOYMENT_LINK__LOCATION);\n\n\t\tabstractPathInvolvedElementEClass = createEClass(ABSTRACT_PATH_INVOLVED_ELEMENT);\n\n\t\tabstractPhysicalArtifactEClass = createEClass(ABSTRACT_PHYSICAL_ARTIFACT);\n\t\tcreateEReference(abstractPhysicalArtifactEClass, ABSTRACT_PHYSICAL_ARTIFACT__ALLOCATOR_CONFIGURATION_ITEMS);\n\n\t\tabstractPhysicalLinkEndEClass = createEClass(ABSTRACT_PHYSICAL_LINK_END);\n\t\tcreateEReference(abstractPhysicalLinkEndEClass, ABSTRACT_PHYSICAL_LINK_END__INVOLVED_LINKS);\n\n\t\tabstractPhysicalPathLinkEClass = createEClass(ABSTRACT_PHYSICAL_PATH_LINK);\n\n\t\tphysicalLinkEClass = createEClass(PHYSICAL_LINK);\n\t\tcreateEReference(physicalLinkEClass, PHYSICAL_LINK__LINK_ENDS);\n\t\tcreateEReference(physicalLinkEClass, PHYSICAL_LINK__OWNED_COMPONENT_EXCHANGE_FUNCTIONAL_EXCHANGE_ALLOCATIONS);\n\t\tcreateEReference(physicalLinkEClass, PHYSICAL_LINK__OWNED_PHYSICAL_LINK_ENDS);\n\t\tcreateEReference(physicalLinkEClass, PHYSICAL_LINK__OWNED_PHYSICAL_LINK_REALIZATIONS);\n\t\tcreateEReference(physicalLinkEClass, PHYSICAL_LINK__CATEGORIES);\n\t\tcreateEReference(physicalLinkEClass, PHYSICAL_LINK__SOURCE_PHYSICAL_PORT);\n\t\tcreateEReference(physicalLinkEClass, PHYSICAL_LINK__TARGET_PHYSICAL_PORT);\n\t\tcreateEReference(physicalLinkEClass, PHYSICAL_LINK__REALIZED_PHYSICAL_LINKS);\n\t\tcreateEReference(physicalLinkEClass, PHYSICAL_LINK__REALIZING_PHYSICAL_LINKS);\n\n\t\tphysicalLinkCategoryEClass = createEClass(PHYSICAL_LINK_CATEGORY);\n\t\tcreateEReference(physicalLinkCategoryEClass, PHYSICAL_LINK_CATEGORY__LINKS);\n\n\t\tphysicalLinkEndEClass = createEClass(PHYSICAL_LINK_END);\n\t\tcreateEReference(physicalLinkEndEClass, PHYSICAL_LINK_END__PORT);\n\t\tcreateEReference(physicalLinkEndEClass, PHYSICAL_LINK_END__PART);\n\n\t\tphysicalLinkRealizationEClass = createEClass(PHYSICAL_LINK_REALIZATION);\n\n\t\tphysicalPathEClass = createEClass(PHYSICAL_PATH);\n\t\tcreateEReference(physicalPathEClass, PHYSICAL_PATH__INVOLVED_LINKS);\n\t\tcreateEReference(physicalPathEClass, PHYSICAL_PATH__OWNED_PHYSICAL_PATH_INVOLVEMENTS);\n\t\tcreateEReference(physicalPathEClass, PHYSICAL_PATH__FIRST_PHYSICAL_PATH_INVOLVEMENTS);\n\t\tcreateEReference(physicalPathEClass, PHYSICAL_PATH__OWNED_PHYSICAL_PATH_REALIZATIONS);\n\t\tcreateEReference(physicalPathEClass, PHYSICAL_PATH__REALIZED_PHYSICAL_PATHS);\n\t\tcreateEReference(physicalPathEClass, PHYSICAL_PATH__REALIZING_PHYSICAL_PATHS);\n\n\t\tphysicalPathInvolvementEClass = createEClass(PHYSICAL_PATH_INVOLVEMENT);\n\t\tcreateEReference(physicalPathInvolvementEClass, PHYSICAL_PATH_INVOLVEMENT__NEXT_INVOLVEMENTS);\n\t\tcreateEReference(physicalPathInvolvementEClass, PHYSICAL_PATH_INVOLVEMENT__PREVIOUS_INVOLVEMENTS);\n\t\tcreateEReference(physicalPathInvolvementEClass, PHYSICAL_PATH_INVOLVEMENT__INVOLVED_ELEMENT);\n\t\tcreateEReference(physicalPathInvolvementEClass, PHYSICAL_PATH_INVOLVEMENT__INVOLVED_COMPONENT);\n\n\t\tphysicalPathReferenceEClass = createEClass(PHYSICAL_PATH_REFERENCE);\n\t\tcreateEReference(physicalPathReferenceEClass, PHYSICAL_PATH_REFERENCE__REFERENCED_PHYSICAL_PATH);\n\n\t\tphysicalPathRealizationEClass = createEClass(PHYSICAL_PATH_REALIZATION);\n\n\t\tphysicalPortEClass = createEClass(PHYSICAL_PORT);\n\t\tcreateEReference(physicalPortEClass, PHYSICAL_PORT__OWNED_COMPONENT_PORT_ALLOCATIONS);\n\t\tcreateEReference(physicalPortEClass, PHYSICAL_PORT__OWNED_PHYSICAL_PORT_REALIZATIONS);\n\t\tcreateEReference(physicalPortEClass, PHYSICAL_PORT__ALLOCATED_COMPONENT_PORTS);\n\t\tcreateEReference(physicalPortEClass, PHYSICAL_PORT__REALIZED_PHYSICAL_PORTS);\n\t\tcreateEReference(physicalPortEClass, PHYSICAL_PORT__REALIZING_PHYSICAL_PORTS);\n\n\t\tphysicalPortRealizationEClass = createEClass(PHYSICAL_PORT_REALIZATION);\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\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}", "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 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 ModelInfo generateInfo() { \n ModelInfo info = new ModelInfo();\n \n // Store basic info\n info.author = Author;\n info.citation = Citation;\n info.description = Description;\n info.property = Property;\n info.training = Model.TrainingStats.NumberTested + \" entries: \" + TrainingSet;\n info.notes = Notes;\n info.trainTime = new SimpleDateFormat(\"dMMMyy HH:mm z\").format(Model.getTrainTime());\n \n // Store units or class names\n if (Model instanceof AbstractClassifier) {\n info.classifier = true;\n info.units = \"\";\n AbstractClassifier clfr = (AbstractClassifier) Model;\n boolean started = false;\n for (String name : clfr.getClassNames()) {\n if (started) {\n info.units += \";\";\n }\n info.units += name;\n started = true;\n }\n } else {\n info.classifier = false;\n info.units = Units;\n }\n \n // Store names of models\n info.dataType = Dataset.printDescription(true);\n info.modelType = Model.printDescription(true);\n \n // Store validation performance data\n info.valMethod = Model.getValidationMethod();\n if (Model.isValidated()) {\n info.valScore = Model.ValidationStats.getStatistics();\n }\n \n return info;\n }", "public void createPackageContents() {\r\n\t\tif (isCreated)\r\n\t\t\treturn;\r\n\t\tisCreated = true;\r\n\r\n\t\t// Create classes and their features\r\n\t\tdataChannelEClass = createEClass(DATA_CHANNEL);\r\n\t\tcreateEAttribute(dataChannelEClass, DATA_CHANNEL__CAPACITY);\r\n\t\tcreateEReference(dataChannelEClass, DATA_CHANNEL__SOURCE_EVENT_GROUP);\r\n\t\tcreateEReference(dataChannelEClass, DATA_CHANNEL__SINK_EVENT_GROUP);\r\n\t\tcreateEReference(dataChannelEClass, DATA_CHANNEL__DATA_CHANNEL_SOURCE_CONNECTOR);\r\n\t\tcreateEReference(dataChannelEClass, DATA_CHANNEL__DATA_CHANNEL_SINK_CONNECTOR);\r\n\t\tcreateEReference(dataChannelEClass, DATA_CHANNEL__PARTITIONING);\r\n\t\tcreateEReference(dataChannelEClass, DATA_CHANNEL__TIME_GROUPING);\r\n\t\tcreateEReference(dataChannelEClass, DATA_CHANNEL__JOINS);\r\n\t\tcreateEAttribute(dataChannelEClass, DATA_CHANNEL__OUTGOING_DISTRIBUTION);\r\n\t\tcreateEAttribute(dataChannelEClass, DATA_CHANNEL__SCHEDULING);\r\n\t\tcreateEAttribute(dataChannelEClass, DATA_CHANNEL__PUT_POLICY);\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\taudioEClass = createEClass(AUDIO);\n\t\tcreateEAttribute(audioEClass, AUDIO__CONTENT);\n\t\tcreateEAttribute(audioEClass, AUDIO__NAME);\n\t\tcreateEAttribute(audioEClass, AUDIO__TEXT);\n\n\t\taudioManagerEClass = createEClass(AUDIO_MANAGER);\n\n\t\taudioRecorderEClass = createEClass(AUDIO_RECORDER);\n\n\t\taudioPlayerEClass = createEClass(AUDIO_PLAYER);\n\n\t\t// Create enums\n\t\taudioStyleEEnum = createEEnum(AUDIO_STYLE);\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 createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tdeferedFlatReferenceTableEditorSampleEClass = createEClass(DEFERED_FLAT_REFERENCE_TABLE_EDITOR_SAMPLE);\n\t\tcreateEReference(deferedFlatReferenceTableEditorSampleEClass, DEFERED_FLAT_REFERENCE_TABLE_EDITOR_SAMPLE__REFERENCES);\n\n\t\tdeferedReferenceEClass = createEClass(DEFERED_REFERENCE);\n\t\tcreateEReference(deferedReferenceEClass, DEFERED_REFERENCE__FLATREFERENCE_EDITOR);\n\n\t\tdeferedReferenceTableEditorSampleEClass = createEClass(DEFERED_REFERENCE_TABLE_EDITOR_SAMPLE);\n\t\tcreateEReference(deferedReferenceTableEditorSampleEClass, DEFERED_REFERENCE_TABLE_EDITOR_SAMPLE__REFERENCES);\n\n\t\townerEClass = createEClass(OWNER);\n\t\tcreateEReference(ownerEClass, OWNER__MULTIPLE_REFERENCERS);\n\t\tcreateEReference(ownerEClass, OWNER__SINGLE_REFERENCERS);\n\n\t\tmultipleReferencerEClass = createEClass(MULTIPLE_REFERENCER);\n\t\tcreateEReference(multipleReferencerEClass, MULTIPLE_REFERENCER__MULTIPLE_SAMPLE_FOR_TABLE_COMPOSITION);\n\t\tcreateEReference(multipleReferencerEClass, MULTIPLE_REFERENCER__MULTIPLE_SAMPLE_FOR_ADVANCED_TABLE_COMPOSITION);\n\t\tcreateEReference(multipleReferencerEClass, MULTIPLE_REFERENCER__MULTIPLE_SAMPLE_FOR_REFERENCES_TABLE);\n\t\tcreateEReference(multipleReferencerEClass, MULTIPLE_REFERENCER__MULTIPLE_SAMPLE_ADVANCED_REFERENCES_TABLE);\n\t\tcreateEReference(multipleReferencerEClass, MULTIPLE_REFERENCER__MULTIPLE_SAMPLE_FOR_FLAT_REFERENCES_TABLE);\n\n\t\tsubtypeEClass = createEClass(SUBTYPE);\n\t\tcreateEAttribute(subtypeEClass, SUBTYPE__SPECIALISED_ELEMENT);\n\n\t\tsingleReferencerEClass = createEClass(SINGLE_REFERENCER);\n\t\tcreateEReference(singleReferencerEClass, SINGLE_REFERENCER__SINGLE_SAMPLE_FOR_TABLE_COMPOSITION);\n\t\tcreateEReference(singleReferencerEClass, SINGLE_REFERENCER__SINGLE_SAMPLE_FOR_ADVANCED_TABLE_COMPOSITION);\n\t\tcreateEReference(singleReferencerEClass, SINGLE_REFERENCER__SINGLE_SAMPLE_FOR_REFERENCES_TABLE);\n\t\tcreateEReference(singleReferencerEClass, SINGLE_REFERENCER__SINGLE_SAMPLE_ADVANCED_REFERENCES_TABLE);\n\t\tcreateEReference(singleReferencerEClass, SINGLE_REFERENCER__SINGLE_SAMPLE_FOR_FLAT_REFERENCES_TABLE);\n\t\tcreateEReference(singleReferencerEClass, SINGLE_REFERENCER__SINGLE_CONTAINMENT_FOR_EOBJECT_FLAT_COMBO_VIEWER);\n\t\tcreateEReference(singleReferencerEClass, SINGLE_REFERENCER__SINGLE_REFERENCE_FOR_EOBJECT_FLAT_COMBO_VIEWER);\n\t\tcreateEReference(singleReferencerEClass, SINGLE_REFERENCER__SINGLE_CONTAINMENT_FOR_ADVANCED_EOBJECT_FLAT_COMBO_VIEWER);\n\t\tcreateEReference(singleReferencerEClass, SINGLE_REFERENCER__SINGLE_REFERENCE_FOR_ADVANCED_EOBJECT_FLAT_COMBO_VIEWER);\n\t\tcreateEAttribute(singleReferencerEClass, SINGLE_REFERENCER__BOOLEAN_ATTRIBUTE);\n\t\tcreateEAttribute(singleReferencerEClass, SINGLE_REFERENCER__EENUM_ATTRIBUTE);\n\t\tcreateEAttribute(singleReferencerEClass, SINGLE_REFERENCER__STRING_ATTRIBUTE);\n\t\tcreateEAttribute(singleReferencerEClass, SINGLE_REFERENCER__LIST_ATTRIBUTE);\n\n\t\tanotherSubTypeEClass = createEClass(ANOTHER_SUB_TYPE);\n\t\tcreateEAttribute(anotherSubTypeEClass, ANOTHER_SUB_TYPE__ANOTHER_SPECIALISATION);\n\n\t\telementEClass = createEClass(ELEMENT);\n\t\tcreateEAttribute(elementEClass, ELEMENT__VISIBLE);\n\n\t\tattributeNavigationSampleEClass = createEClass(ATTRIBUTE_NAVIGATION_SAMPLE);\n\t\tcreateEReference(attributeNavigationSampleEClass, ATTRIBUTE_NAVIGATION_SAMPLE__SINGLE_VALUED_ATTRIBUTE_DELEGATE);\n\t\tcreateEReference(attributeNavigationSampleEClass, ATTRIBUTE_NAVIGATION_SAMPLE__MULTI_VALUED_ATTRIBUTE_DELEGATE);\n\n\t\tattributeDelegateEClass = createEClass(ATTRIBUTE_DELEGATE);\n\t\tcreateEAttribute(attributeDelegateEClass, ATTRIBUTE_DELEGATE__DELEGATE1);\n\t\tcreateEAttribute(attributeDelegateEClass, ATTRIBUTE_DELEGATE__DELEGATE2);\n\t}" ]
[ "0.6438335", "0.6183183", "0.6150908", "0.60770375", "0.60461164", "0.6045781", "0.60218316", "0.6008683", "0.6007433", "0.6006785", "0.5992948", "0.59852624", "0.5983131", "0.5982464", "0.5967186", "0.5963942", "0.59520406", "0.5950597", "0.5947596", "0.59391683", "0.59321177", "0.59144115", "0.5914133", "0.591176", "0.58950895", "0.5891013", "0.5890943", "0.58784413", "0.5876974", "0.5870666", "0.5867742", "0.5867535", "0.58521247", "0.5846809", "0.58467686", "0.5839405", "0.58383155", "0.5825098", "0.5818546", "0.5811552", "0.58098906", "0.5804467", "0.57962537", "0.57911396", "0.5788725", "0.5784215", "0.5781348", "0.57728016", "0.57679164", "0.5764604", "0.57557565", "0.5747982", "0.57333404", "0.5722619", "0.57222414", "0.5712502", "0.57095283", "0.56976265", "0.5690739", "0.56765765", "0.5667798", "0.56652683", "0.5657103", "0.5656877", "0.5653698", "0.56382215", "0.5629091", "0.5628007", "0.56240606", "0.56234336", "0.5613996", "0.5613199", "0.5607324", "0.56064636", "0.560235", "0.55975133", "0.5592169", "0.55842644", "0.55795974", "0.5572628", "0.5567758", "0.5566252", "0.55584705", "0.5558222", "0.5555116", "0.55431557", "0.5542691", "0.55371004", "0.55276924", "0.55213046", "0.55048513", "0.55035377", "0.5501567", "0.5491746", "0.5490725", "0.5490587", "0.5486538", "0.54862505", "0.5478509", "0.54751843", "0.5473502" ]
0.0
-1
Returns the factory that creates the instances of the model.
IotdslFactory getIotdslFactory();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ModelsFactory getModelsFactory();", "public ObjectifyFactory factory() {\n return ofy().factory();\n }", "TestModelFactory getTestModelFactory();", "BehaviouralModelFactory getBehaviouralModelFactory();", "public static Factory factory() {\n return ext_dbf::new;\n }", "public ValueFactory<K, V> getFactory()\n {\n return factory;\n }", "public static Factory factory() {\n return ext_h::new;\n }", "public OBStoreFactory getFactory();", "public static SqliteModelFactory init()\n {\n try\n {\n SqliteModelFactory theSqliteModelFactory = (SqliteModelFactory)EPackage.Registry.INSTANCE.getEFactory(SqliteModelPackage.eNS_URI);\n if (theSqliteModelFactory != null)\n {\n return theSqliteModelFactory;\n }\n }\n catch (Exception exception)\n {\n EcorePlugin.INSTANCE.log(exception);\n }\n return new SqliteModelFactoryImpl();\n }", "@SuppressWarnings(\"unchecked\")\n\tprivate static XmlEntityObjectFactory getFactory() {\n\t\tif (factory == null) {\n\t\t\tfactory = new XmlEntityObjectFactory();\n\t\t\ttry {\n\t\t\t\tClass<IXmlEntityResolverLoader> loaderClass = (Class<IXmlEntityResolverLoader>) Class\n\t\t\t\t\t\t.forName(defaulEntityResolverLoaderClassName);\n\t\t\t\tIXmlEntityResolverLoader loader;\n\t\t\t\tloader = loaderClass.newInstance();\n\t\t\t\tloader.loadTo(factory);\n\t\t\t} catch (Exception ex) {\n\t\t\t\tthrow new UnexpectedRuntimeException(ex);\n\t\t\t}\n\t\t}\n\t\treturn factory;\n\t}", "InstanceModel createInstanceOfInstanceModel();", "public static Factory factory() {\n return ext_accdt::new;\n }", "public static ParsedmodelFactory init() {\n\t\ttry {\n\t\t\tParsedmodelFactory theParsedmodelFactory = (ParsedmodelFactory)EPackage.Registry.INSTANCE.getEFactory(\"http://parsedmetadata/1.0\"); \n\t\t\tif (theParsedmodelFactory != null) {\n\t\t\t\treturn theParsedmodelFactory;\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 ParsedmodelFactoryImpl();\n\t}", "public static UsermodelFactory init() {\r\n\t\ttry {\r\n\t\t\tUsermodelFactory theUsermodelFactory = (UsermodelFactory)EPackage.Registry.INSTANCE.getEFactory(UsermodelPackage.eNS_URI);\r\n\t\t\tif (theUsermodelFactory != null) {\r\n\t\t\t\treturn theUsermodelFactory;\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (Exception exception) {\r\n\t\t\tEcorePlugin.INSTANCE.log(exception);\r\n\t\t}\r\n\t\treturn new UsermodelFactoryImpl();\r\n\t}", "public interface ConfigModelFactory\n{\n\t/**\n\t * Create an instance of the <code>ConfigModel</code>\n\t *\n\t * @return an instance of the configuration model\n\t */\n\tConfigModel createInstanceOfConfigModel();\n\n\t/**\n\t * Create an instance of the <code>InstanceModel</code>\n\t *\n\t * @return an instance of the instance model\n\t */\n\tInstanceModel createInstanceOfInstanceModel();\n\n\t/**\n\t * Create an instance of the <code>CsticModel</code>\n\t *\n\t * @return an instance of the characteristic model\n\t */\n\tCsticModel createInstanceOfCsticModel();\n\n\t/**\n\t * Create an instance of the <code>CsticValueModel</code>\n\t *\n\t * @param valueType\n\t * The containing Cstic value type\n\t * @return an instance of the characteristic value model\n\t */\n\tCsticValueModel createInstanceOfCsticValueModel(int valueType);\n\n\t/**\n\t * Create an instance of the <code>CsticGroupModel</code>\n\t *\n\t * @return an instance of the characteristic group model\n\t */\n\tCsticGroupModel createInstanceOfCsticGroupModel();\n\n\n\t/**\n\t * Create an instance of the <code>PriceModel</code>\n\t *\n\t * @return an instance of the price model\n\t */\n\tPriceModel createInstanceOfPriceModel();\n\n\t/**\n\t * Create an instance of the <code>SolvableConflictModel</code>\n\t *\n\t * @return an instance of the Solvable Conflict Model\n\t */\n\tSolvableConflictModel createInstanceOfSolvableConflictModel();\n\n\t/**\n\t * Create an instance of the <code>ConflictingAssumptionModel</code>\n\t *\n\t * @return an instance of the Conflicting Assumption Model\n\t */\n\tConflictingAssumptionModel createInstanceOfConflictingAssumptionModel();\n\n\t/**\n\t * Create an instance of the <code>PriceModel</code>\n\t *\n\t * @return an instance of the price model\n\t */\n\tPriceModel getZeroPriceModel();\n\n\t/**\n\t * Create an instance of the <code>PriceSummaryModel</code>\n\t *\n\t * @return an instance of the price summary model\n\t */\n\tPriceSummaryModel createInstanceOfPriceSummaryModel();\n\n\t/**\n\t * @return a builder to construct {@link ProductConfigMessage} objects\n\t */\n\tdefault ProductConfigMessageBuilder createProductConfigMessageBuilder()\n\t{\n\t\treturn new ProductConfigMessageBuilder();\n\t}\n\n\t/**\n\t * Create an instance of the <code>ProductConfigMessage</code><br>\n\t * uses the <code>DEFAULT</code> ProductConfigMessageSourceSubType\n\t *\n\t * @param message\n\t * localized message\n\t * @param key\n\t * message key, should be unique together with message source\n\t * @param severity\n\t * message severity\n\t * @param source\n\t * message source, should be unique together with message key\n\t * @return a message instance\n\t * @deprecated since 18.08.0 - use {@link ProductConfigMessageBuilder} instead\n\t */\n\t@Deprecated(since = \"1808\", forRemoval=true)\n\tdefault ProductConfigMessage createInstanceOfProductConfigMessage(final String message, final String key,\n\t\t\tfinal ProductConfigMessageSeverity severity, final ProductConfigMessageSource source)\n\t{\n\t\treturn createInstanceOfProductConfigMessage(message, key, severity, source, ProductConfigMessageSourceSubType.DEFAULT);\n\t}\n\n\t/**\n\t * Create an instance of the <code>ProductConfigMessage</code><br>\n\t *\n\t * @param message\n\t * localized message\n\t * @param key\n\t * message key, should be unique together with message source\n\t * @param severity\n\t * message severity\n\t * @param source\n\t * message source, should be unique together with message key\n\t * @param subType\n\t * optional sub type of the message source\n\t * @return a message instance\n\t * @deprecated since 18.08.0 - use {@link ProductConfigMessageBuilder} instead\n\t */\n\t@Deprecated(since = \"1808\", forRemoval=true)\n\tProductConfigMessage createInstanceOfProductConfigMessage(String message, String key, ProductConfigMessageSeverity severity,\n\t\t\tProductConfigMessageSource source, ProductConfigMessageSourceSubType subType);\n\n\n\t/**\n\t * Create an instance of the <code>VariantConditionModel</code>\n\t *\n\t * @return an instance of the variant condition model\n\t */\n\tVariantConditionModel createInstanceOfVariantConditionModel();\n\n\t/**\n\t * @return class name of the {@link PriceSummaryModel} implementation\n\t */\n\tString getTargetClassNamePriceSummaryModel();\n\n\n\t/**\n\t * @return class name of the {@link PriceModel} implementation\n\t */\n\tString getTargetClassNamePriceModel();\n\n\t/**\n\t * @return class name of the {@link CsticGroupModel} implementation\n\t */\n\tString getTargetClassNameCsticGroupModel();\n\n\t/**\n\t * @return class name of the {@link CsticValueModel} implementation\n\t */\n\tString getTargetClassNameCsticValueModel();\n\n\t/**\n\t * @return class name of the {@link CsticModel} implementation\n\t */\n\tString getTargetClassNameCsticModel();\n\n\t/**\n\t * @return class name of the {@link InstanceModel} implementation\n\t */\n\tString getTargetClassNameInstanceModel();\n\n\t/**\n\t * @return class name of the {@link ConfigModel} implementation\n\t */\n\tString getTargetClassNameConfigModel();\n\n\t/**\n\t * @return class name of the {@link SolvableConflictModel} implementation\n\t */\n\tString getTargetClassNameSolvableConflictModel();\n\n\t/**\n\t * @return class name of the {@link ConflictingAssumptionModel} implementation\n\t */\n\tString getTargetClassNameConflictingAssumptionModel();\n\n\t/**\n\t * @return class name of the {@link VariantConditionModel} implementation\n\t */\n\tString getTargetClassNameVariantConditionModel();\n}", "public static Factory factory() {\n return text::new;\n }", "public static PetrinetmodelFactory init() {\r\n\t\ttry {\r\n\t\t\tPetrinetmodelFactory thePetrinetmodelFactory = (PetrinetmodelFactory)EPackage.Registry.INSTANCE.getEFactory(PetrinetmodelPackage.eNS_URI);\r\n\t\t\tif (thePetrinetmodelFactory != null) {\r\n\t\t\t\treturn thePetrinetmodelFactory;\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (Exception exception) {\r\n\t\t\tEcorePlugin.INSTANCE.log(exception);\r\n\t\t}\r\n\t\treturn new PetrinetmodelFactoryImpl();\r\n\t}", "public static final Factory<Edge> getFactory() {\r\n\t\treturn new Factory<Edge> () {\r\n\t\t\tprivate int nextId = 0;\r\n\t\t\tpublic Edge create() {\r\n\t\t\t\treturn new Edge(nextId++);\r\n\t\t\t}\r\n\t\t};\r\n\t}", "public Factory getFactory()\r\n {\r\n if( m_factory != null ) return m_factory;\r\n m_factory = FactoryHelper.narrow( m_primary );\r\n return m_factory;\r\n }", "public static Factory factory() {\n return Document_print::new;\n }", "public static StaticFactoryInsteadOfConstructors create(){\n return new StaticFactoryInsteadOfConstructors();\n }", "interface Factory {\r\n /**\r\n * Create an instance of an agenda view model with the given saved\r\n * instance state.\r\n *\r\n * @param savedInstanceState previously saved state of the view model\r\n * @return the created agenda view model\r\n */\r\n AgendaViewModel create(Bundle savedInstanceState);\r\n }", "public static QuizFactory getFactoryInstance(){\n\t\tif (defQuizFactory == null)\n\t\t\tdefQuizFactory = new DefaultQuizFactory();\n\t\t\n\t\treturn defQuizFactory;\n\t}", "private ModelFactory _getModelFactory(Class<?> type) {\n \tif (_typeCache.containsKey(type))\r\n \t{\r\n \t\treturn _typeCache.get(type);\r\n \t} else\r\n \t{\r\n \t\tIterator<Class<?>> iterator = _registeredModelFactories.keySet().iterator();\r\n \t\t\r\n \t\tModelFactory modelFactory = null;\r\n \t\t\r\n \t\t//loop through all registered model types to find a modelFactory\r\n \t\twhile (iterator.hasNext())\r\n \t\t{\r\n \t\t\tClass<?> targetType = iterator.next();\r\n \t\t\t\r\n \t\t\t//check if the object is eligible for wrapping by the current registration \r\n \t\t\tif (targetType.isAssignableFrom(type))\r\n \t\t\t{\r\n \t\t\t\tmodelFactory = _registeredModelFactories.get(targetType);\r\n \t\t\t\t\r\n \t\t\t\tbreak;\r\n \t\t\t}\r\n \t\t}\r\n \t\t\r\n \t\t//add the type to the cache and wrap the object\r\n \t\t_typeCache.put(type, modelFactory);\r\n \t\treturn modelFactory;\r\n \t}\r\n\t\t\r\n\t}", "ArchitecturalModelFactory getArchitecturalModelFactory();", "public static MoneyFactory getInstance() {\n\t\treturn factory;\n\t}", "@objid (\"0078ca26-5a20-10c8-842f-001ec947cd2a\")\n GenericFactory getGenericFactory();", "public static SerializerFactory getInstance() {\r\n return INSTANCE;\r\n }", "public abstract ProductFactory getFactory();", "public static BookFactory getInstance()\r\n {\r\n \r\n if(bookFactoryInstance == null)\r\n {\r\n bookFactoryInstance = new BookFactory();\r\n }\r\n \r\n return bookFactoryInstance;\r\n }", "Factory<? extends T> buildPersonFactory(String type);", "public static StaticFactoryInsteadOfConstructors newInstance() {\n return new StaticFactoryInsteadOfConstructors();\n }", "@NotNull\n public static <E> CollectionFactory<E, ?, MutableArray<E>> factory() {\n return (Factory<E>) FACTORY;\n }", "protected Object buildFactory() throws DescriptorException {\n if (this.getFactoryClass() == null) {\n return null;\n }\n\n // If there is a factory class specified but no factory method name,\n // instantiate the factory using the default constructor\n if (this.getFactoryMethodName() == null) {\n return this.buildFactoryUsingDefaultConstructor();\n }\n\n // If both the factory class and the factory method name have been specified,\n // instantiate the factory by invoking the static factory method\n return this.buildFactoryUsingStaticMethod();\n }", "public static <E> @NotNull CollectionFactory<E, ?, MutableArray<E>> factory() {\n return (Factory<E>) FACTORY;\n }", "public CreationWithParamsFactory getCreationFactory(Class aClass) {\n\t\treturn new CreationWithParamsFactory(aClass);\n\t}", "PlanningFactory getFactory();", "public interface DebuggerModelFactory\n\t\textends ExtensionPoint, ConfigurableFactory<DebuggerObjectModel> {\n\n\t/**\n\t * Get the priority for selecting this factory by default for the given program\n\t * \n\t * <p>\n\t * A default factory is selected when the current factory and the last successful factory are\n\t * incompatible with the current program, or if this is the very first time connecting. Of those\n\t * factories compatible with the current program, the one with the highest priority (larger\n\t * numerical value) is selected. If none are compatible, then the current selection is left as\n\t * is.\n\t * \n\t * <p>\n\t * Note that negative priorities imply the factory is not compatible with the given program or\n\t * local system.\n\t * \n\t * @param program the current program, or null\n\t * @return the priority, higher values mean higher priority\n\t */\n\tdefault int getPriority(Program program) {\n\t\treturn 0;\n\t}\n\n\t/**\n\t * Check if this factory is compatible with the local system and given program.\n\t * \n\t * <p>\n\t * <b>WARNING:</b> Implementations should not likely override this method. If one does, it must\n\t * behave in the same manner as given in this default implementation: If\n\t * {@link #getPriority(Program)} would return a non-negative result for the program, then this\n\t * factory is compatible with that program. If negative, this factory is not compatible.\n\t * \n\t * @param program the current program, or null\n\t * @return true if compatible\n\t */\n\tdefault boolean isCompatible(Program program) {\n\t\treturn getPriority(program) >= 0;\n\t}\n}", "Class<?> getFactoryClass();", "Demo1Factory getDemo1Factory();", "public interface Factory<T> {\n\n /**\n * Returns an instance of the required type. The implementation determines whether or not a new or cached\n * instance is created every time this method is called.\n *\n * @return an instance of the required type.\n */\n T getInstance();\n}", "TransformFactory getFactory();", "public static VersionFactory getInstance() {\n\t\treturn SingletonHolder.versionFactory;\n\t}", "GramaticaFactory getGramaticaFactory();", "BusinessEntityFactory getBusinessEntityFactory();", "public ParsedmodelFactoryImpl() {\n\t\tsuper();\n\t}", "public interface Factory<T> {\n T create();\n}", "public static ControlFactory init() {\n\t\ttry {\n\t\t\tControlFactory theControlFactory = (ControlFactory)EPackage.Registry.INSTANCE.getEFactory(\"http://opaeum.org/uimetamodel/control/1.0\"); \n\t\t\tif (theControlFactory != null) {\n\t\t\t\treturn theControlFactory;\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 ControlFactoryImpl();\n\t}", "public static EditorFactory init() {\n\t\ttry {\n\t\t\tEditorFactory theEditorFactory = (EditorFactory)EPackage.Registry.INSTANCE.getEFactory(\"http://opaeum.org/uimetamodel/editor/1.0\"); \n\t\t\tif (theEditorFactory != null) {\n\t\t\t\treturn theEditorFactory;\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 EditorFactoryImpl();\n\t}", "public static IInputFactory getInputFactory() {\n\n return m_InputFactory;\n\n }", "default Factory<T> toFactory() {\n throw new UnsupportedOperationException();\n }", "public static Factory factory() {\n return ext_xspf::new;\n }", "public interface Factory {\r\n}", "public Factory() {\n this(getInternalClient());\n }", "QuestionnaireFactory getQuestionnaireFactory();", "public SqliteModelFactoryImpl()\n {\n super();\n }", "public OpenapiAdapterFactory() {\n\t\tif (modelPackage == null) {\n\t\t\tmodelPackage = OpenapiPackage.eINSTANCE;\n\t\t}\n\t}", "public static EntityFactory init() {\n\t\ttry {\n\t\t\tEntityFactory theEntityFactory = (EntityFactory)EPackage.Registry.INSTANCE.getEFactory(EntityPackage.eNS_URI);\n\t\t\tif (theEntityFactory != null) {\n\t\t\t\treturn theEntityFactory;\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 EntityFactoryImpl();\n\t}", "public Object run(ModelFactory factory);", "opmodelFactory getopmodelFactory();", "public interface Factory {\n Product create();\n}", "@Override\n\tpublic FMLRTVirtualModelInstanceModelFactory makeModelFactory(FMLRTVirtualModelInstanceResource resource,\n\t\t\tTechnologyContextManager<FMLRTTechnologyAdapter> technologyContextManager) throws ModelDefinitionException {\n\t\treturn new FMLRTVirtualModelInstanceModelFactory(resource,\n\t\t\t\ttechnologyContextManager.getTechnologyAdapter().getServiceManager().getEditingContext(),\n\t\t\t\ttechnologyContextManager.getTechnologyAdapter().getServiceManager().getTechnologyAdapterService());\n\t}", "public static ModelSearchDirectoryScopeFactory getInstance()\n {\n return instance == null ? instance = new ModelSearchDirectoryScopeFactory() : instance;\n }", "static DataFrameFactory factory() {\n return DataFrameFactory.getInstance();\n }", "public static ResultFactory init() {\n\t\ttry {\n\t\t\tResultFactory theResultFactory = (ResultFactory)EPackage.Registry.INSTANCE.getEFactory(\"http://www.eclipselabs.org/emftriple/result\"); \n\t\t\tif (theResultFactory != null) {\n\t\t\t\treturn theResultFactory;\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 ResultFactoryImpl();\n\t}", "FactoryBean getFactoryBean();", "private EntityFactory() {}", "GamesFactory getGamesFactory();", "public interface ModelFactory <ModelObject> {\n public void createElement(ModelObject object);\n}", "public static DaoFactory getInstance(){\n\t\tif(daoFactory==null){\n\t\t\tdaoFactory = new DaoFactory();\n\t\t}\n\t\treturn daoFactory;\n\t}", "public interface InstanceFactory {\n\n\t<T> T getInstance(Class<T> type);\n}", "public UsermodelFactoryImpl() {\r\n\t\tsuper();\r\n\t}", "public Factory() {\n\t\tclassMap = new TreeMap<String,Class<T> >();\n\t}", "@Produces @IWSBean\n public ServiceFactory produceServiceFactory() {\n return new ServiceFactory(iwsEntityManager, notifications, settings);\n }", "StoriesFactory getStoriesFactory();", "GamifiedmodellingobjectmodelFactory getGamifiedmodellingobjectmodelFactory();", "public static ViewFactory getFactory() {\r\n return new ViewFactory() {\r\n @Override\r\n public boolean canDisplay(CellRenderer renderer) {\r\n return renderer instanceof SwingCellRenderer;\r\n }\r\n\r\n @Override\r\n public View getView(CellRenderer renderer) {\r\n return new SwingView((SwingCellRenderer)renderer);\r\n }\r\n };\r\n }", "Model createModel();", "Model createModel();", "Model createModel();", "Model createModel();", "Model createModel();", "Model createModel();", "Model createModel();", "public static synchronized ANSSRegionsFactory getFactory() {\n return getFactory(true);\n }", "public static ContaCapitalCadastroDaoFactory getInstance() {\n\t\treturn factory;\n\t}", "public static MystFactory init()\r\n {\r\n try\r\n {\r\n MystFactory theMystFactory = (MystFactory)EPackage.Registry.INSTANCE.getEFactory(MystPackage.eNS_URI);\r\n if (theMystFactory != null)\r\n {\r\n return theMystFactory;\r\n }\r\n }\r\n catch (Exception exception)\r\n {\r\n EcorePlugin.INSTANCE.log(exception);\r\n }\r\n return new MystFactoryImpl();\r\n }", "public static AutomatizacionrevisionFactory init() {\r\n\t\ttry {\r\n\t\t\tAutomatizacionrevisionFactory theAutomatizacionrevisionFactory = (AutomatizacionrevisionFactory)EPackage.Registry.INSTANCE.getEFactory(AutomatizacionrevisionPackage.eNS_URI);\r\n\t\t\tif (theAutomatizacionrevisionFactory != null) {\r\n\t\t\t\treturn theAutomatizacionrevisionFactory;\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (Exception exception) {\r\n\t\t\tEcorePlugin.INSTANCE.log(exception);\r\n\t\t}\r\n\t\treturn new AutomatizacionrevisionFactoryImpl();\r\n\t}", "public RulesAdapterFactory()\n {\n if (modelPackage == null)\n {\n modelPackage = RulesPackage.eINSTANCE;\n }\n }", "MakeflowFactory getMakeflowFactory();", "public final Method getFactoryMethod() {\n\treturn factoryMethod;\n }", "QuestionarioFactory getQuestionarioFactory();", "public Factory() {\n\t\tsuper();\n\t}", "public static BackendFactory getInstance() {\n return INSTANCE;\n }", "EisModel createEisModel();", "Factory getFactory()\n {\n return configfile.factory;\n }", "public static PedidoFactory init() {\n\t\ttry {\n\t\t\tPedidoFactory thePedidoFactory = (PedidoFactory) EPackage.Registry.INSTANCE\n\t\t\t\t\t.getEFactory(PedidoPackage.eNS_URI);\n\t\t\tif (thePedidoFactory != null) {\n\t\t\t\treturn thePedidoFactory;\n\t\t\t}\n\t\t} catch (Exception exception) {\n\t\t\tEcorePlugin.INSTANCE.log(exception);\n\t\t}\n\t\treturn new PedidoFactoryImpl();\n\t}", "public static FieldOfActivityAnnotationsFactory init() {\n\t\ttry {\n\t\t\tFieldOfActivityAnnotationsFactory theFieldOfActivityAnnotationsFactory = (FieldOfActivityAnnotationsFactory)EPackage.Registry.INSTANCE.getEFactory(FieldOfActivityAnnotationsPackage.eNS_URI);\n\t\t\tif (theFieldOfActivityAnnotationsFactory != null) {\n\t\t\t\treturn theFieldOfActivityAnnotationsFactory;\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 FieldOfActivityAnnotationsFactoryImpl();\n\t}", "public static ProyectoFactory init() {\r\n\t\ttry {\r\n\t\t\tProyectoFactory theProyectoFactory = (ProyectoFactory)EPackage.Registry.INSTANCE.getEFactory(ProyectoPackage.eNS_URI);\r\n\t\t\tif (theProyectoFactory != null) {\r\n\t\t\t\treturn theProyectoFactory;\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (Exception exception) {\r\n\t\t\tEcorePlugin.INSTANCE.log(exception);\r\n\t\t}\r\n\t\treturn new ProyectoFactoryImpl();\r\n\t}", "public static SerializerFactory createFactory(Class factory, \n Class javaType, \n QName xmlType) {\n if (factory == null) {\n return null;\n }\n\n try {\n if (factory == BeanSerializerFactory.class) {\n return new BeanSerializerFactory(javaType, xmlType);\n } else if (factory == SimpleSerializerFactory.class) {\n return new SimpleSerializerFactory(javaType, xmlType);\n } else if (factory == EnumSerializerFactory.class) {\n return new EnumSerializerFactory(javaType, xmlType);\n } else if (factory == ElementSerializerFactory.class) {\n return new ElementSerializerFactory();\n } else if (factory == SimpleListSerializerFactory.class) {\n return new SimpleListSerializerFactory(javaType, xmlType);\n }\n } catch (Exception e) {\n if (log.isDebugEnabled()) {\n log.debug(org.apache.axis.utils.Messages.getMessage(\"exception00\"), e);\n }\n return null;\n }\n\n SerializerFactory sf = null;\n try {\n Method method = \n factory.getMethod(\"create\", CLASS_QNAME_CLASS);\n sf = (SerializerFactory) \n method.invoke(null, \n new Object[] {javaType, xmlType});\n } catch (NoSuchMethodException e) {\n if(log.isDebugEnabled()) {\n log.debug(org.apache.axis.utils.Messages.getMessage(\"exception00\"), e);\n }\n } catch (IllegalAccessException e) {\n if(log.isDebugEnabled()) {\n log.debug(org.apache.axis.utils.Messages.getMessage(\"exception00\"), e);\n }\n } catch (InvocationTargetException e) {\n if(log.isDebugEnabled()) {\n log.debug(org.apache.axis.utils.Messages.getMessage(\"exception00\"), e);\n }\n }\n\n if (sf == null) {\n try {\n Constructor constructor = \n factory.getConstructor(CLASS_QNAME_CLASS);\n sf = (SerializerFactory) \n constructor.newInstance(\n new Object[] {javaType, xmlType});\n } catch (NoSuchMethodException e) {\n if(log.isDebugEnabled()) {\n log.debug(org.apache.axis.utils.Messages.getMessage(\"exception00\"), e);\n }\n } catch (InstantiationException e) {\n if(log.isDebugEnabled()) {\n log.debug(org.apache.axis.utils.Messages.getMessage(\"exception00\"), e);\n }\n } catch (IllegalAccessException e) {\n if(log.isDebugEnabled()) {\n log.debug(org.apache.axis.utils.Messages.getMessage(\"exception00\"), e);\n }\n } catch (InvocationTargetException e) {\n if(log.isDebugEnabled()) {\n log.debug(org.apache.axis.utils.Messages.getMessage(\"exception00\"), e);\n }\n }\n }\n \n if (sf == null) {\n try {\n sf = (SerializerFactory) factory.newInstance();\n } catch (InstantiationException e) {\n } catch (IllegalAccessException e) {}\n }\n return sf;\n }", "public static BehaviourFactory init() {\n\t\ttry {\n\t\t\tBehaviourFactory theBehaviourFactory = (BehaviourFactory)EPackage.Registry.INSTANCE.getEFactory(BehaviourPackage.eNS_URI);\n\t\t\tif (theBehaviourFactory != null) {\n\t\t\t\treturn theBehaviourFactory;\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 BehaviourFactoryImpl();\n\t}" ]
[ "0.7365279", "0.7147646", "0.7042554", "0.66732574", "0.66433585", "0.6542524", "0.6426967", "0.6378293", "0.63225335", "0.62815636", "0.6185782", "0.61756575", "0.6168043", "0.6150566", "0.61496305", "0.61323225", "0.6131665", "0.6126879", "0.61266255", "0.6124763", "0.611574", "0.6080062", "0.6079072", "0.6069701", "0.606106", "0.60432273", "0.6040082", "0.602699", "0.599846", "0.59656143", "0.5965121", "0.59528726", "0.5941645", "0.5922013", "0.5916958", "0.59091014", "0.5882913", "0.58559376", "0.5853658", "0.5840914", "0.5838183", "0.58344126", "0.58279663", "0.58176357", "0.5797083", "0.578828", "0.5774533", "0.57581764", "0.57578504", "0.5749145", "0.57395446", "0.5737685", "0.57305205", "0.57303464", "0.5721073", "0.5719083", "0.5717248", "0.5716616", "0.5715852", "0.5712433", "0.56975406", "0.5696553", "0.56871223", "0.5685736", "0.56819576", "0.56808263", "0.56795985", "0.5677477", "0.56679773", "0.56661683", "0.5663626", "0.5662717", "0.56469303", "0.5644459", "0.564329", "0.5627701", "0.5623939", "0.56228966", "0.56228966", "0.56228966", "0.56228966", "0.56228966", "0.56228966", "0.56228966", "0.5619918", "0.56169754", "0.56132245", "0.56032956", "0.55978554", "0.5588169", "0.5582233", "0.5580262", "0.5578471", "0.5572285", "0.55701214", "0.55632585", "0.55620843", "0.5550349", "0.5545473", "0.5541844", "0.5540196" ]
0.0
-1
Defines literals for the meta objects that represent each class, each feature of each class, each operation of each class, each enum, and each data type
interface Literals { /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.IotModelImpl <em>Iot Model</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.IotModelImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getIotModel() * @generated */ EClass IOT_MODEL = eINSTANCE.getIotModel(); /** * The meta object literal for the '<em><b>Imports</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference IOT_MODEL__IMPORTS = eINSTANCE.getIotModel_Imports(); /** * The meta object literal for the '<em><b>Name</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute IOT_MODEL__NAME = eINSTANCE.getIotModel_Name(); /** * The meta object literal for the '<em><b>Content</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference IOT_MODEL__CONTENT = eINSTANCE.getIotModel_Content(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.ImportImpl <em>Import</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.ImportImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getImport() * @generated */ EClass IMPORT = eINSTANCE.getImport(); /** * The meta object literal for the '<em><b>Imported Namespace</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute IMPORT__IMPORTED_NAMESPACE = eINSTANCE.getImport_ImportedNamespace(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.ContentImpl <em>Content</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.ContentImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getContent() * @generated */ EClass CONTENT = eINSTANCE.getContent(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.TypeImpl <em>Type</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.TypeImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getType() * @generated */ EClass TYPE = eINSTANCE.getType(); /** * The meta object literal for the '<em><b>Name</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute TYPE__NAME = eINSTANCE.getType_Name(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.PrimitiveTypeImpl <em>Primitive Type</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.PrimitiveTypeImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getPrimitiveType() * @generated */ EClass PRIMITIVE_TYPE = eINSTANCE.getPrimitiveType(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.DeclaredTypeImpl <em>Declared Type</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.DeclaredTypeImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getDeclaredType() * @generated */ EClass DECLARED_TYPE = eINSTANCE.getDeclaredType(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.EnumerationImpl <em>Enumeration</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.EnumerationImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getEnumeration() * @generated */ EClass ENUMERATION = eINSTANCE.getEnumeration(); /** * The meta object literal for the '<em><b>Literals</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference ENUMERATION__LITERALS = eINSTANCE.getEnumeration_Literals(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.EnumLiteralImpl <em>Enum Literal</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.EnumLiteralImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getEnumLiteral() * @generated */ EClass ENUM_LITERAL = eINSTANCE.getEnumLiteral(); /** * The meta object literal for the '<em><b>Name</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute ENUM_LITERAL__NAME = eINSTANCE.getEnumLiteral_Name(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.NodeImpl <em>Node</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.NodeImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getNode() * @generated */ EClass NODE = eINSTANCE.getNode(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.DeviceImpl <em>Device</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.DeviceImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getDevice() * @generated */ EClass DEVICE = eINSTANCE.getDevice(); /** * The meta object literal for the '<em><b>Features</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference DEVICE__FEATURES = eINSTANCE.getDevice_Features(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.GatewayImpl <em>Gateway</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.GatewayImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getGateway() * @generated */ EClass GATEWAY = eINSTANCE.getGateway(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.FeatureImpl <em>Feature</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.FeatureImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getFeature() * @generated */ EClass FEATURE = eINSTANCE.getFeature(); /** * The meta object literal for the '<em><b>Name</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute FEATURE__NAME = eINSTANCE.getFeature_Name(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.PropertyImpl <em>Property</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.PropertyImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getProperty() * @generated */ EClass PROPERTY = eINSTANCE.getProperty(); /** * The meta object literal for the '<em><b>Value</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference PROPERTY__VALUE = eINSTANCE.getProperty_Value(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.CapabilityImpl <em>Capability</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.CapabilityImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getCapability() * @generated */ EClass CAPABILITY = eINSTANCE.getCapability(); /** * The meta object literal for the '<em><b>Parameters</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference CAPABILITY__PARAMETERS = eINSTANCE.getCapability_Parameters(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.ActuatingImpl <em>Actuating</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.ActuatingImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getActuating() * @generated */ EClass ACTUATING = eINSTANCE.getActuating(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.SensingImpl <em>Sensing</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.SensingImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getSensing() * @generated */ EClass SENSING = eINSTANCE.getSensing(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.ParameterImpl <em>Parameter</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.ParameterImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getParameter() * @generated */ EClass PARAMETER = eINSTANCE.getParameter(); /** * The meta object literal for the '<em><b>Name</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute PARAMETER__NAME = eINSTANCE.getParameter_Name(); /** * The meta object literal for the '<em><b>Type</b></em>' reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference PARAMETER__TYPE = eINSTANCE.getParameter_Type(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.ConfigurationImpl <em>Configuration</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.ConfigurationImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getConfiguration() * @generated */ EClass CONFIGURATION = eINSTANCE.getConfiguration(); /** * The meta object literal for the '<em><b>Confname</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute CONFIGURATION__CONFNAME = eINSTANCE.getConfiguration_Confname(); /** * The meta object literal for the '<em><b>Nodes</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference CONFIGURATION__NODES = eINSTANCE.getConfiguration_Nodes(); /** * The meta object literal for the '<em><b>Paths</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference CONFIGURATION__PATHS = eINSTANCE.getConfiguration_Paths(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.NodeInstanceImpl <em>Node Instance</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.NodeInstanceImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getNodeInstance() * @generated */ EClass NODE_INSTANCE = eINSTANCE.getNodeInstance(); /** * The meta object literal for the '<em><b>Name</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute NODE_INSTANCE__NAME = eINSTANCE.getNodeInstance_Name(); /** * The meta object literal for the '<em><b>Type</b></em>' reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference NODE_INSTANCE__TYPE = eINSTANCE.getNodeInstance_Type(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.CommunicationPathImpl <em>Communication Path</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.CommunicationPathImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getCommunicationPath() * @generated */ EClass COMMUNICATION_PATH = eINSTANCE.getCommunicationPath(); /** * The meta object literal for the '<em><b>Source</b></em>' reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference COMMUNICATION_PATH__SOURCE = eINSTANCE.getCommunicationPath_Source(); /** * The meta object literal for the '<em><b>Taget</b></em>' reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference COMMUNICATION_PATH__TAGET = eINSTANCE.getCommunicationPath_Taget(); /** * The meta object literal for the '<em><b>Protocol</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute COMMUNICATION_PATH__PROTOCOL = eINSTANCE.getCommunicationPath_Protocol(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.RuleImpl <em>Rule</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.RuleImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getRule() * @generated */ EClass RULE = eINSTANCE.getRule(); /** * The meta object literal for the '<em><b>Name</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute RULE__NAME = eINSTANCE.getRule_Name(); /** * The meta object literal for the '<em><b>Triggers</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference RULE__TRIGGERS = eINSTANCE.getRule_Triggers(); /** * The meta object literal for the '<em><b>Reactions</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference RULE__REACTIONS = eINSTANCE.getRule_Reactions(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.ExpressionImpl <em>Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.ExpressionImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getExpression() * @generated */ EClass EXPRESSION = eINSTANCE.getExpression(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.DelayImpl <em>Delay</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.DelayImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getDelay() * @generated */ EClass DELAY = eINSTANCE.getDelay(); /** * The meta object literal for the '<em><b>Time</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute DELAY__TIME = eINSTANCE.getDelay_Time(); /** * The meta object literal for the '<em><b>Unit</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute DELAY__UNIT = eINSTANCE.getDelay_Unit(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.NotExpressionImpl <em>Not Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.NotExpressionImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getNotExpression() * @generated */ EClass NOT_EXPRESSION = eINSTANCE.getNotExpression(); /** * The meta object literal for the '<em><b>Event</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference NOT_EXPRESSION__EVENT = eINSTANCE.getNotExpression_Event(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.EventOccurrenceImpl <em>Event Occurrence</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.EventOccurrenceImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getEventOccurrence() * @generated */ EClass EVENT_OCCURRENCE = eINSTANCE.getEventOccurrence(); /** * The meta object literal for the '<em><b>Instance</b></em>' reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference EVENT_OCCURRENCE__INSTANCE = eINSTANCE.getEventOccurrence_Instance(); /** * The meta object literal for the '<em><b>Capability</b></em>' reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference EVENT_OCCURRENCE__CAPABILITY = eINSTANCE.getEventOccurrence_Capability(); /** * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference EVENT_OCCURRENCE__ATTRIBUTES = eINSTANCE.getEventOccurrence_Attributes(); /** * The meta object literal for the '<em><b>Operator</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute EVENT_OCCURRENCE__OPERATOR = eINSTANCE.getEventOccurrence_Operator(); /** * The meta object literal for the '<em><b>Value</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference EVENT_OCCURRENCE__VALUE = eINSTANCE.getEventOccurrence_Value(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.ReactionImpl <em>Reaction</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.ReactionImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getReaction() * @generated */ EClass REACTION = eINSTANCE.getReaction(); /** * The meta object literal for the '<em><b>Instance</b></em>' reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference REACTION__INSTANCE = eINSTANCE.getReaction_Instance(); /** * The meta object literal for the '<em><b>Capability</b></em>' reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference REACTION__CAPABILITY = eINSTANCE.getReaction_Capability(); /** * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference REACTION__ATTRIBUTES = eINSTANCE.getReaction_Attributes(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.AttributeImpl <em>Attribute</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.AttributeImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getAttribute() * @generated */ EClass ATTRIBUTE = eINSTANCE.getAttribute(); /** * The meta object literal for the '<em><b>Name</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute ATTRIBUTE__NAME = eINSTANCE.getAttribute_Name(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.AndExpressionImpl <em>And Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.AndExpressionImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getAndExpression() * @generated */ EClass AND_EXPRESSION = eINSTANCE.getAndExpression(); /** * The meta object literal for the '<em><b>Left</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference AND_EXPRESSION__LEFT = eINSTANCE.getAndExpression_Left(); /** * The meta object literal for the '<em><b>Right</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference AND_EXPRESSION__RIGHT = eINSTANCE.getAndExpression_Right(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.TimingExpressionImpl <em>Timing Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.TimingExpressionImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getTimingExpression() * @generated */ EClass TIMING_EXPRESSION = eINSTANCE.getTimingExpression(); /** * The meta object literal for the '<em><b>Following</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference TIMING_EXPRESSION__FOLLOWING = eINSTANCE.getTimingExpression_Following(); /** * The meta object literal for the '<em><b>Preceding</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference TIMING_EXPRESSION__PRECEDING = eINSTANCE.getTimingExpression_Preceding(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.WithinExpressionImpl <em>Within Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.WithinExpressionImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getWithinExpression() * @generated */ EClass WITHIN_EXPRESSION = eINSTANCE.getWithinExpression(); /** * The meta object literal for the '<em><b>Delay</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference WITHIN_EXPRESSION__DELAY = eINSTANCE.getWithinExpression_Delay(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.AfterExpressionImpl <em>After Expression</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.AfterExpressionImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getAfterExpression() * @generated */ EClass AFTER_EXPRESSION = eINSTANCE.getAfterExpression(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.ValueImpl <em>Value</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.ValueImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getValue() * @generated */ EClass VALUE = eINSTANCE.getValue(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.StringConstantImpl <em>String Constant</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.StringConstantImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getStringConstant() * @generated */ EClass STRING_CONSTANT = eINSTANCE.getStringConstant(); /** * The meta object literal for the '<em><b>Value</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute STRING_CONSTANT__VALUE = eINSTANCE.getStringConstant_Value(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.IntConstantImpl <em>Int Constant</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.IntConstantImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getIntConstant() * @generated */ EClass INT_CONSTANT = eINSTANCE.getIntConstant(); /** * The meta object literal for the '<em><b>Value</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute INT_CONSTANT__VALUE = eINSTANCE.getIntConstant_Value(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.BoolConstantImpl <em>Bool Constant</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.BoolConstantImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getBoolConstant() * @generated */ EClass BOOL_CONSTANT = eINSTANCE.getBoolConstant(); /** * The meta object literal for the '<em><b>Value</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute BOOL_CONSTANT__VALUE = eINSTANCE.getBoolConstant_Value(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.DefaultType <em>Default Type</em>}' enum. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.DefaultType * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getDefaultType() * @generated */ EEnum DEFAULT_TYPE = eINSTANCE.getDefaultType(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.Operator <em>Operator</em>}' enum. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.Operator * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getOperator() * @generated */ EEnum OPERATOR = eINSTANCE.getOperator(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.Protocol <em>Protocol</em>}' enum. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.Protocol * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getProtocol() * @generated */ EEnum PROTOCOL = eINSTANCE.getProtocol(); /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.Unit <em>Unit</em>}' enum. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.Unit * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getUnit() * @generated */ EEnum UNIT = eINSTANCE.getUnit(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void generateCoreTypes() {\n\t\tvoidDt = new VoidDataType(progDataTypes);\n\t\tArrayList<TypeMap> typeList = new ArrayList<>();\n\t\ttypeList.add(new TypeMap(DataType.DEFAULT, \"undefined\", \"unknown\", false, false));\n\n\t\tfor (DataType dt : Undefined.getUndefinedDataTypes()) {\n\t\t\ttypeList.add(new TypeMap(displayLanguage, dt, \"unknown\", false, false));\n\t\t}\n\t\tfor (DataType dt : AbstractIntegerDataType.getSignedDataTypes(progDataTypes)) {\n\t\t\ttypeList.add(\n\t\t\t\tnew TypeMap(displayLanguage, dt.clone(progDataTypes), \"int\", false, false));\n\t\t}\n\t\tfor (DataType dt : AbstractIntegerDataType.getUnsignedDataTypes(progDataTypes)) {\n\t\t\ttypeList.add(\n\t\t\t\tnew TypeMap(displayLanguage, dt.clone(progDataTypes), \"uint\", false, false));\n\t\t}\n\t\tfor (DataType dt : AbstractFloatDataType.getFloatDataTypes(progDataTypes)) {\n\t\t\ttypeList.add(new TypeMap(displayLanguage, dt, \"float\", false, false));\n\t\t}\n\n\t\ttypeList.add(new TypeMap(DataType.DEFAULT, \"code\", \"code\", false, false));\n\n\t\t// Set \"char\" datatype\n\t\tDataType charDataType = new CharDataType(progDataTypes);\n\n\t\tString charMetatype = null;\n\t\tboolean isChar = false;\n\t\tboolean isUtf = false;\n\t\tif (charDataType instanceof CharDataType && ((CharDataType) charDataType).isSigned()) {\n\t\t\tcharMetatype = \"int\";\n\t\t}\n\t\telse {\n\t\t\tcharMetatype = \"uint\";\n\t\t}\n\t\tif (charDataType.getLength() == 1) {\n\t\t\tisChar = true;\n\t\t}\n\t\telse {\n\t\t\tisUtf = true;\n\t\t}\n\t\ttypeList.add(new TypeMap(displayLanguage, charDataType, charMetatype, isChar, isUtf));\n\n\t\t// Set up the \"wchar_t\" datatype\n\t\tWideCharDataType wideDataType = new WideCharDataType(progDataTypes);\n\t\ttypeList.add(new TypeMap(displayLanguage, wideDataType, \"int\", false, true));\n\n\t\tif (wideDataType.getLength() != 2) {\n\t\t\ttypeList.add(new TypeMap(displayLanguage, new WideChar16DataType(progDataTypes), \"int\",\n\t\t\t\tfalse, true));\n\t\t}\n\t\tif (wideDataType.getLength() != 4) {\n\t\t\ttypeList.add(new TypeMap(displayLanguage, new WideChar32DataType(progDataTypes), \"int\",\n\t\t\t\tfalse, true));\n\t\t}\n\n\t\tDataType boolDataType = new BooleanDataType(progDataTypes);\n\t\ttypeList.add(new TypeMap(displayLanguage, boolDataType, \"bool\", false, false));\n\n\t\tcoreBuiltin = new TypeMap[typeList.size()];\n\t\ttypeList.toArray(coreBuiltin);\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '\n\t\t * {@link com.rcpcompany.uibinding.tests.model.internal.TestObjectImpl <em>Test Object</em>}\n\t\t * ' class. <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestObjectImpl\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getTestObject()\n\t\t * @generated\n\t\t */\n\t\tEClass TEST_OBJECT = eINSTANCE.getTestObject();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Number</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__NUMBER = eINSTANCE.getTestObject_Number();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>D</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__D = eINSTANCE.getTestObject_D();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>F</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__F = eINSTANCE.getTestObject_F();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Date</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__DATE = eINSTANCE.getTestObject_Date();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Text</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__TEXT = eINSTANCE.getTestObject_Text();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Parent</b></em>' reference feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEReference TEST_OBJECT__PARENT = eINSTANCE.getTestObject_Parent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>B</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__B = eINSTANCE.getTestObject_B();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ac</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__AC = eINSTANCE.getTestObject_Ac();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Unit</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__UNIT = eINSTANCE.getTestObject_Unit();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Time Unit</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__TIME_UNIT = eINSTANCE.getTestObject_TimeUnit();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Byte</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__BYTE = eINSTANCE.getTestObject_Byte();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Short</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__SHORT = eINSTANCE.getTestObject_Short();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Long</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__LONG = eINSTANCE.getTestObject_Long();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Big Decimal</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__BIG_DECIMAL = eINSTANCE.getTestObject_BigDecimal();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Big Integer</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_OBJECT__BIG_INTEGER = eINSTANCE.getTestObject_BigInteger();\n\n\t\t/**\n\t\t * The meta object literal for the '\n\t\t * {@link com.rcpcompany.uibinding.tests.model.internal.SubTestObjectImpl\n\t\t * <em>Sub Test Object</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.SubTestObjectImpl\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getSubTestObject()\n\t\t * @generated\n\t\t */\n\t\tEClass SUB_TEST_OBJECT = eINSTANCE.getSubTestObject();\n\n\t\t/**\n\t\t * The meta object literal for the '\n\t\t * {@link com.rcpcompany.uibinding.tests.model.internal.TestContainerImpl\n\t\t * <em>Test Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestContainerImpl\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getTestContainer()\n\t\t * @generated\n\t\t */\n\t\tEClass TEST_CONTAINER = eINSTANCE.getTestContainer();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Children</b></em>' reference list feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEReference TEST_CONTAINER__CHILDREN = eINSTANCE.getTestContainer_Children();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Current</b></em>' reference feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEReference TEST_CONTAINER__CURRENT = eINSTANCE.getTestContainer_Current();\n\n\t\t/**\n\t\t * The meta object literal for the '\n\t\t * {@link com.rcpcompany.uibinding.tests.model.internal.AmountAndCurrencyImpl\n\t\t * <em>Amount And Currency</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.AmountAndCurrencyImpl\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getAmountAndCurrency()\n\t\t * @generated\n\t\t */\n\t\tEClass AMOUNT_AND_CURRENCY = eINSTANCE.getAmountAndCurrency();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Amount</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute AMOUNT_AND_CURRENCY__AMOUNT = eINSTANCE.getAmountAndCurrency_Amount();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Currency</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute AMOUNT_AND_CURRENCY__CURRENCY = eINSTANCE.getAmountAndCurrency_Currency();\n\n\t\t/**\n\t\t * The meta object literal for the '\n\t\t * {@link com.rcpcompany.uibinding.tests.model.internal.TestGridImpl <em>Test Grid</em>}'\n\t\t * class. <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestGridImpl\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getTestGrid()\n\t\t * @generated\n\t\t */\n\t\tEClass TEST_GRID = eINSTANCE.getTestGrid();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Columns</b></em>' reference list feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEReference TEST_GRID__COLUMNS = eINSTANCE.getTestGrid_Columns();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Rows</b></em>' reference list feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEReference TEST_GRID__ROWS = eINSTANCE.getTestGrid_Rows();\n\n\t\t/**\n\t\t * The meta object literal for the '\n\t\t * {@link com.rcpcompany.uibinding.tests.model.internal.TestGridColumnImpl\n\t\t * <em>Test Grid Column</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestGridColumnImpl\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getTestGridColumn()\n\t\t * @generated\n\t\t */\n\t\tEClass TEST_GRID_COLUMN = eINSTANCE.getTestGridColumn();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Grid</b></em>' reference feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEReference TEST_GRID_COLUMN__GRID = eINSTANCE.getTestGridColumn_Grid();\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 --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_GRID_COLUMN__NAME = eINSTANCE.getTestGridColumn_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Cells</b></em>' reference list feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEReference TEST_GRID_COLUMN__CELLS = eINSTANCE.getTestGridColumn_Cells();\n\n\t\t/**\n\t\t * The meta object literal for the '\n\t\t * {@link com.rcpcompany.uibinding.tests.model.internal.TestGridRowImpl\n\t\t * <em>Test Grid Row</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestGridRowImpl\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getTestGridRow()\n\t\t * @generated\n\t\t */\n\t\tEClass TEST_GRID_ROW = eINSTANCE.getTestGridRow();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Grid</b></em>' reference feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEReference TEST_GRID_ROW__GRID = eINSTANCE.getTestGridRow_Grid();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Number</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_GRID_ROW__NUMBER = eINSTANCE.getTestGridRow_Number();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Cells</b></em>' reference list feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEReference TEST_GRID_ROW__CELLS = eINSTANCE.getTestGridRow_Cells();\n\n\t\t/**\n\t\t * The meta object literal for the '\n\t\t * {@link com.rcpcompany.uibinding.tests.model.internal.TestGridCellImpl\n\t\t * <em>Test Grid Cell</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestGridCellImpl\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getTestGridCell()\n\t\t * @generated\n\t\t */\n\t\tEClass TEST_GRID_CELL = eINSTANCE.getTestGridCell();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Details</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_GRID_CELL__DETAILS = eINSTANCE.getTestGridCell_Details();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Price</b></em>' attribute feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEAttribute TEST_GRID_CELL__PRICE = eINSTANCE.getTestGridCell_Price();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Column</b></em>' reference feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEReference TEST_GRID_CELL__COLUMN = eINSTANCE.getTestGridCell_Column();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Row</b></em>' reference feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @generated\n\t\t */\n\t\tEReference TEST_GRID_CELL__ROW = eINSTANCE.getTestGridCell_Row();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.rcpcompany.uibinding.tests.model.WeightUnit\n\t\t * <em>Weight Unit</em>}' enum. <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @see com.rcpcompany.uibinding.tests.model.WeightUnit\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getWeightUnit()\n\t\t * @generated\n\t\t */\n\t\tEEnum WEIGHT_UNIT = eINSTANCE.getWeightUnit();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.rcpcompany.uibinding.tests.model.TimeUnit\n\t\t * <em>Time Unit</em>}' enum. <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @see com.rcpcompany.uibinding.tests.model.TimeUnit\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getTimeUnit()\n\t\t * @generated\n\t\t */\n\t\tEEnum TIME_UNIT = eINSTANCE.getTimeUnit();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>EDate</em>' data type. <!-- begin-user-doc --> <!--\n\t\t * end-user-doc -->\n\t\t * \n\t\t * @see java.util.Date\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getEDate()\n\t\t * @generated\n\t\t */\n\t\tEDataType EDATE = eINSTANCE.getEDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>EBig Decimal</em>' data type. <!-- begin-user-doc\n\t\t * --> <!-- end-user-doc -->\n\t\t * \n\t\t * @see java.math.BigDecimal\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getEBigDecimal()\n\t\t * @generated\n\t\t */\n\t\tEDataType EBIG_DECIMAL = eINSTANCE.getEBigDecimal();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>EBig Integer</em>' data type. <!-- begin-user-doc\n\t\t * --> <!-- end-user-doc -->\n\t\t * \n\t\t * @see java.math.BigInteger\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getEBigInteger()\n\t\t * @generated\n\t\t */\n\t\tEDataType EBIG_INTEGER = eINSTANCE.getEBigInteger();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>Amount And Currency Struct</em>' data type. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t * \n\t\t * @see com.rcpcompany.uibinding.tests.model.AmountAndCurrencyOld\n\t\t * @see com.rcpcompany.uibinding.tests.model.internal.TestModelPackageImpl#getAmountAndCurrencyStruct()\n\t\t * @generated\n\t\t */\n\t\tEDataType AMOUNT_AND_CURRENCY_STRUCT = eINSTANCE.getAmountAndCurrencyStruct();\n\n\t}", "interface Literals\n {\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.FeatureModelImpl <em>Feature Model</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FeatureModelImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getFeatureModel()\n * @generated\n */\n EClass FEATURE_MODEL = eINSTANCE.getFeatureModel();\n\n /**\n * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FEATURE_MODEL__ID = eINSTANCE.getFeatureModel_Id();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FEATURE_MODEL__NAME = eINSTANCE.getFeatureModel_Name();\n\n /**\n * The meta object literal for the '<em><b>Features</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE_MODEL__FEATURES = eINSTANCE.getFeatureModel_Features();\n\n /**\n * The meta object literal for the '<em><b>Primitives</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE_MODEL__PRIMITIVES = eINSTANCE.getFeatureModel_Primitives();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.FeatureModelPrimitiveImpl <em>Feature Model Primitive</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FeatureModelPrimitiveImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getFeatureModelPrimitive()\n * @generated\n */\n EClass FEATURE_MODEL_PRIMITIVE = eINSTANCE.getFeatureModelPrimitive();\n\n /**\n * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FEATURE_MODEL_PRIMITIVE__ID = eINSTANCE.getFeatureModelPrimitive_Id();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FEATURE_MODEL_PRIMITIVE__NAME = eINSTANCE.getFeatureModelPrimitive_Name();\n\n /**\n * The meta object literal for the '<em><b>Configuration Source</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FEATURE_MODEL_PRIMITIVE__CONFIGURATION_SOURCE = eINSTANCE.getFeatureModelPrimitive_ConfigurationSource();\n\n /**\n * The meta object literal for the '<em><b>Explanations</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE_MODEL_PRIMITIVE__EXPLANATIONS = eINSTANCE.getFeatureModelPrimitive_Explanations();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.FeatureHasSubfeatureImpl <em>Feature Has Subfeature</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FeatureHasSubfeatureImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getFeatureHasSubfeature()\n * @generated\n */\n EClass FEATURE_HAS_SUBFEATURE = eINSTANCE.getFeatureHasSubfeature();\n\n /**\n * The meta object literal for the '<em><b>Parent</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE_HAS_SUBFEATURE__PARENT = eINSTANCE.getFeatureHasSubfeature_Parent();\n\n /**\n * The meta object literal for the '<em><b>Subfeature</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE_HAS_SUBFEATURE__SUBFEATURE = eINSTANCE.getFeatureHasSubfeature_Subfeature();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.UndirectedRelationshipImpl <em>Undirected Relationship</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.UndirectedRelationshipImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getUndirectedRelationship()\n * @generated\n */\n EClass UNDIRECTED_RELATIONSHIP = eINSTANCE.getUndirectedRelationship();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.DirectedRelationshipImpl <em>Directed Relationship</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.DirectedRelationshipImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getDirectedRelationship()\n * @generated\n */\n EClass DIRECTED_RELATIONSHIP = eINSTANCE.getDirectedRelationship();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.FeatureGroupImpl <em>Feature Group</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FeatureGroupImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getFeatureGroup()\n * @generated\n */\n EClass FEATURE_GROUP = eINSTANCE.getFeatureGroup();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.FeatureImpl <em>Feature</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FeatureImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getFeature()\n * @generated\n */\n EClass FEATURE = eINSTANCE.getFeature();\n\n /**\n * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FEATURE__ID = eINSTANCE.getFeature_Id();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FEATURE__NAME = eINSTANCE.getFeature_Name();\n\n /**\n * The meta object literal for the '<em><b>Group Has Parent</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__GROUP_HAS_PARENT = eINSTANCE.getFeature_GroupHasParent();\n\n /**\n * The meta object literal for the '<em><b>Group Has Child</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__GROUP_HAS_CHILD = eINSTANCE.getFeature_GroupHasChild();\n\n /**\n * The meta object literal for the '<em><b>Feature Has Parent</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__FEATURE_HAS_PARENT = eINSTANCE.getFeature_FeatureHasParent();\n\n /**\n * The meta object literal for the '<em><b>Feature Has Subfeature</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__FEATURE_HAS_SUBFEATURE = eINSTANCE.getFeature_FeatureHasSubfeature();\n\n /**\n * The meta object literal for the '<em><b>Selected Feature</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__SELECTED_FEATURE = eINSTANCE.getFeature_SelectedFeature();\n\n /**\n * The meta object literal for the '<em><b>Eliminated Feature</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__ELIMINATED_FEATURE = eINSTANCE.getFeature_EliminatedFeature();\n\n /**\n * The meta object literal for the '<em><b>Undirected Relationships</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__UNDIRECTED_RELATIONSHIPS = eINSTANCE.getFeature_UndirectedRelationships();\n\n /**\n * The meta object literal for the '<em><b>Incoming Directed Relationships</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__INCOMING_DIRECTED_RELATIONSHIPS = eINSTANCE.getFeature_IncomingDirectedRelationships();\n\n /**\n * The meta object literal for the '<em><b>Outgoing Directed Relationships</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__OUTGOING_DIRECTED_RELATIONSHIPS = eINSTANCE.getFeature_OutgoingDirectedRelationships();\n\n /**\n * The meta object literal for the '<em><b>Feature Is Root</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE__FEATURE_IS_ROOT = eINSTANCE.getFeature_FeatureIsRoot();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.GroupHasParentImpl <em>Group Has Parent</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.GroupHasParentImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getGroupHasParent()\n * @generated\n */\n EClass GROUP_HAS_PARENT = eINSTANCE.getGroupHasParent();\n\n /**\n * The meta object literal for the '<em><b>Parent</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GROUP_HAS_PARENT__PARENT = eINSTANCE.getGroupHasParent_Parent();\n\n /**\n * The meta object literal for the '<em><b>Group</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GROUP_HAS_PARENT__GROUP = eINSTANCE.getGroupHasParent_Group();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.GroupHasChildImpl <em>Group Has Child</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.GroupHasChildImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getGroupHasChild()\n * @generated\n */\n EClass GROUP_HAS_CHILD = eINSTANCE.getGroupHasChild();\n\n /**\n * The meta object literal for the '<em><b>Child</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GROUP_HAS_CHILD__CHILD = eINSTANCE.getGroupHasChild_Child();\n\n /**\n * The meta object literal for the '<em><b>Group</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GROUP_HAS_CHILD__GROUP = eINSTANCE.getGroupHasChild_Group();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.SelectedFeatureImpl <em>Selected Feature</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.SelectedFeatureImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getSelectedFeature()\n * @generated\n */\n EClass SELECTED_FEATURE = eINSTANCE.getSelectedFeature();\n\n /**\n * The meta object literal for the '<em><b>Feature</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference SELECTED_FEATURE__FEATURE = eINSTANCE.getSelectedFeature_Feature();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.EliminatedFeatureImpl <em>Eliminated Feature</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.EliminatedFeatureImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getEliminatedFeature()\n * @generated\n */\n EClass ELIMINATED_FEATURE = eINSTANCE.getEliminatedFeature();\n\n /**\n * The meta object literal for the '<em><b>Feature</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ELIMINATED_FEATURE__FEATURE = eINSTANCE.getEliminatedFeature_Feature();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.FeatureIsRootImpl <em>Feature Is Root</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FeatureIsRootImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getFeatureIsRoot()\n * @generated\n */\n EClass FEATURE_IS_ROOT = eINSTANCE.getFeatureIsRoot();\n\n /**\n * The meta object literal for the '<em><b>Feature</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference FEATURE_IS_ROOT__FEATURE = eINSTANCE.getFeatureIsRoot_Feature();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.ExplanationImpl <em>Explanation</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.ExplanationImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getExplanation()\n * @generated\n */\n EClass EXPLANATION = eINSTANCE.getExplanation();\n\n /**\n * The meta object literal for the '<em><b>Primitives</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference EXPLANATION__PRIMITIVES = eINSTANCE.getExplanation_Primitives();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.GroupHasMaxImpl <em>Group Has Max</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.GroupHasMaxImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getGroupHasMax()\n * @generated\n */\n EClass GROUP_HAS_MAX = eINSTANCE.getGroupHasMax();\n\n /**\n * The meta object literal for the '<em><b>Max</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute GROUP_HAS_MAX__MAX = eINSTANCE.getGroupHasMax_Max();\n\n /**\n * The meta object literal for the '<em><b>Group</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GROUP_HAS_MAX__GROUP = eINSTANCE.getGroupHasMax_Group();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.GroupHasMinImpl <em>Group Has Min</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.GroupHasMinImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getGroupHasMin()\n * @generated\n */\n EClass GROUP_HAS_MIN = eINSTANCE.getGroupHasMin();\n\n /**\n * The meta object literal for the '<em><b>Min</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute GROUP_HAS_MIN__MIN = eINSTANCE.getGroupHasMin_Min();\n\n /**\n * The meta object literal for the '<em><b>Group</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GROUP_HAS_MIN__GROUP = eINSTANCE.getGroupHasMin_Group();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.AlternativeGroupImpl <em>Alternative Group</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.AlternativeGroupImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getAlternativeGroup()\n * @generated\n */\n EClass ALTERNATIVE_GROUP = eINSTANCE.getAlternativeGroup();\n\n /**\n * The meta object literal for the '<em><b>Group Has Parent</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ALTERNATIVE_GROUP__GROUP_HAS_PARENT = eINSTANCE.getAlternativeGroup_GroupHasParent();\n\n /**\n * The meta object literal for the '<em><b>Group Has Child</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ALTERNATIVE_GROUP__GROUP_HAS_CHILD = eINSTANCE.getAlternativeGroup_GroupHasChild();\n\n /**\n * The meta object literal for the '<em><b>Group Has Max</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ALTERNATIVE_GROUP__GROUP_HAS_MAX = eINSTANCE.getAlternativeGroup_GroupHasMax();\n\n /**\n * The meta object literal for the '<em><b>Group Has Min</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ALTERNATIVE_GROUP__GROUP_HAS_MIN = eINSTANCE.getAlternativeGroup_GroupHasMin();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.OrGroupImpl <em>Or Group</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.OrGroupImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getOrGroup()\n * @generated\n */\n EClass OR_GROUP = eINSTANCE.getOrGroup();\n\n /**\n * The meta object literal for the '<em><b>Group Has Parent</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference OR_GROUP__GROUP_HAS_PARENT = eINSTANCE.getOrGroup_GroupHasParent();\n\n /**\n * The meta object literal for the '<em><b>Group Has Child</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference OR_GROUP__GROUP_HAS_CHILD = eINSTANCE.getOrGroup_GroupHasChild();\n\n /**\n * The meta object literal for the '<em><b>Group Has Max</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference OR_GROUP__GROUP_HAS_MAX = eINSTANCE.getOrGroup_GroupHasMax();\n\n /**\n * The meta object literal for the '<em><b>Group Has Min</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference OR_GROUP__GROUP_HAS_MIN = eINSTANCE.getOrGroup_GroupHasMin();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.FeatureHasOptionalSubfeatureImpl <em>Feature Has Optional Subfeature</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FeatureHasOptionalSubfeatureImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getFeatureHasOptionalSubfeature()\n * @generated\n */\n EClass FEATURE_HAS_OPTIONAL_SUBFEATURE = eINSTANCE.getFeatureHasOptionalSubfeature();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.FeatureHasMandatorySubfeatureImpl <em>Feature Has Mandatory Subfeature</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FeatureHasMandatorySubfeatureImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getFeatureHasMandatorySubfeature()\n * @generated\n */\n EClass FEATURE_HAS_MANDATORY_SUBFEATURE = eINSTANCE.getFeatureHasMandatorySubfeature();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.MutualExclusiveImpl <em>Mutual Exclusive</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.MutualExclusiveImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getMutualExclusive()\n * @generated\n */\n EClass MUTUAL_EXCLUSIVE = eINSTANCE.getMutualExclusive();\n\n /**\n * The meta object literal for the '<em><b>Related Features</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference MUTUAL_EXCLUSIVE__RELATED_FEATURES = eINSTANCE.getMutualExclusive_RelatedFeatures();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.CustomUndirectedRelationshipImpl <em>Custom Undirected Relationship</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.CustomUndirectedRelationshipImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getCustomUndirectedRelationship()\n * @generated\n */\n EClass CUSTOM_UNDIRECTED_RELATIONSHIP = eINSTANCE.getCustomUndirectedRelationship();\n\n /**\n * The meta object literal for the '<em><b>Stereotype</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CUSTOM_UNDIRECTED_RELATIONSHIP__STEREOTYPE = eINSTANCE.getCustomUndirectedRelationship_Stereotype();\n\n /**\n * The meta object literal for the '<em><b>Related Features</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference CUSTOM_UNDIRECTED_RELATIONSHIP__RELATED_FEATURES = eINSTANCE.getCustomUndirectedRelationship_RelatedFeatures();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.RequiresImpl <em>Requires</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.RequiresImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getRequires()\n * @generated\n */\n EClass REQUIRES = eINSTANCE.getRequires();\n\n /**\n * The meta object literal for the '<em><b>Sources</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference REQUIRES__SOURCES = eINSTANCE.getRequires_Sources();\n\n /**\n * The meta object literal for the '<em><b>Targets</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference REQUIRES__TARGETS = eINSTANCE.getRequires_Targets();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.TemporalOrderingSequentialImpl <em>Temporal Ordering Sequential</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.TemporalOrderingSequentialImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getTemporalOrderingSequential()\n * @generated\n */\n EClass TEMPORAL_ORDERING_SEQUENTIAL = eINSTANCE.getTemporalOrderingSequential();\n\n /**\n * The meta object literal for the '<em><b>Sources</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference TEMPORAL_ORDERING_SEQUENTIAL__SOURCES = eINSTANCE.getTemporalOrderingSequential_Sources();\n\n /**\n * The meta object literal for the '<em><b>Targets</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference TEMPORAL_ORDERING_SEQUENTIAL__TARGETS = eINSTANCE.getTemporalOrderingSequential_Targets();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.CustomDirectedRelationshipImpl <em>Custom Directed Relationship</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.CustomDirectedRelationshipImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getCustomDirectedRelationship()\n * @generated\n */\n EClass CUSTOM_DIRECTED_RELATIONSHIP = eINSTANCE.getCustomDirectedRelationship();\n\n /**\n * The meta object literal for the '<em><b>Stereotype</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CUSTOM_DIRECTED_RELATIONSHIP__STEREOTYPE = eINSTANCE.getCustomDirectedRelationship_Stereotype();\n\n /**\n * The meta object literal for the '<em><b>Sources</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference CUSTOM_DIRECTED_RELATIONSHIP__SOURCES = eINSTANCE.getCustomDirectedRelationship_Sources();\n\n /**\n * The meta object literal for the '<em><b>Targets</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference CUSTOM_DIRECTED_RELATIONSHIP__TARGETS = eINSTANCE.getCustomDirectedRelationship_Targets();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.impl.AutoCompleteImpl <em>Auto Complete</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.AutoCompleteImpl\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getAutoComplete()\n * @generated\n */\n EClass AUTO_COMPLETE = eINSTANCE.getAutoComplete();\n\n /**\n * The meta object literal for the '{@link fr.inria.familiar.fmlero.fmprimitives.ConfigurationSource <em>Configuration Source</em>}' enum.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.inria.familiar.fmlero.fmprimitives.ConfigurationSource\n * @see fr.inria.familiar.fmlero.fmprimitives.impl.FmprimitivesPackageImpl#getConfigurationSource()\n * @generated\n */\n EEnum CONFIGURATION_SOURCE = eINSTANCE.getConfigurationSource();\n\n }", "private void setupPrimitiveTypes()\n {\n primitiveTypes.add(INTEGER_TYPE);\n primitiveTypes.add(FLOAT_TYPE);\n primitiveTypes.add(DOUBLE_TYPE);\n primitiveTypes.add(STRING_TYPE);\n primitiveTypes.add(BOOL_TYPE);\n primitiveTypes.add(TIMESTAMP_TYPE);\n }", "public interface Literals {\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.dresdenocl.essentialocl.types.impl.BagTypeImpl <em>Bag Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.dresdenocl.essentialocl.types.impl.BagTypeImpl\n\t\t * @see org.dresdenocl.essentialocl.types.impl.TypesPackageImpl#getBagType()\n\t\t * @generated\n\t\t */\n\t\tpublic static final EClass BAG_TYPE = eINSTANCE.getBagType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.dresdenocl.essentialocl.types.impl.TupleTypeImpl <em>Tuple Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.dresdenocl.essentialocl.types.impl.TupleTypeImpl\n\t\t * @see org.dresdenocl.essentialocl.types.impl.TypesPackageImpl#getTupleType()\n\t\t * @generated\n\t\t */\n\t\tpublic static final EClass TUPLE_TYPE = eINSTANCE.getTupleType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Library</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference TUPLE_TYPE__OCL_LIBRARY = eINSTANCE\n\t\t\t\t.getTupleType_OclLibrary();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.dresdenocl.essentialocl.types.impl.CollectionTypeImpl <em>Collection Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.dresdenocl.essentialocl.types.impl.CollectionTypeImpl\n\t\t * @see org.dresdenocl.essentialocl.types.impl.TypesPackageImpl#getCollectionType()\n\t\t * @generated\n\t\t */\n\t\tpublic static final EClass COLLECTION_TYPE = eINSTANCE\n\t\t\t\t.getCollectionType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Element Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference COLLECTION_TYPE__ELEMENT_TYPE = eINSTANCE\n\t\t\t\t.getCollectionType_ElementType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Library</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference COLLECTION_TYPE__OCL_LIBRARY = eINSTANCE\n\t\t\t\t.getCollectionType_OclLibrary();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Kind</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\tpublic static final EAttribute COLLECTION_TYPE__KIND = eINSTANCE\n\t\t\t\t.getCollectionType_Kind();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.dresdenocl.essentialocl.types.impl.InvalidTypeImpl <em>Invalid Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.dresdenocl.essentialocl.types.impl.InvalidTypeImpl\n\t\t * @see org.dresdenocl.essentialocl.types.impl.TypesPackageImpl#getInvalidType()\n\t\t * @generated\n\t\t */\n\t\tpublic static final EClass INVALID_TYPE = eINSTANCE.getInvalidType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Library</b></em>' container reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference INVALID_TYPE__OCL_LIBRARY = eINSTANCE\n\t\t\t\t.getInvalidType_OclLibrary();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.dresdenocl.essentialocl.types.impl.OrderedSetTypeImpl <em>Ordered Set Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.dresdenocl.essentialocl.types.impl.OrderedSetTypeImpl\n\t\t * @see org.dresdenocl.essentialocl.types.impl.TypesPackageImpl#getOrderedSetType()\n\t\t * @generated\n\t\t */\n\t\tpublic static final EClass ORDERED_SET_TYPE = eINSTANCE\n\t\t\t\t.getOrderedSetType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.dresdenocl.essentialocl.types.impl.SequenceTypeImpl <em>Sequence Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.dresdenocl.essentialocl.types.impl.SequenceTypeImpl\n\t\t * @see org.dresdenocl.essentialocl.types.impl.TypesPackageImpl#getSequenceType()\n\t\t * @generated\n\t\t */\n\t\tpublic static final EClass SEQUENCE_TYPE = eINSTANCE.getSequenceType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.dresdenocl.essentialocl.types.impl.SetTypeImpl <em>Set Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.dresdenocl.essentialocl.types.impl.SetTypeImpl\n\t\t * @see org.dresdenocl.essentialocl.types.impl.TypesPackageImpl#getSetType()\n\t\t * @generated\n\t\t */\n\t\tpublic static final EClass SET_TYPE = eINSTANCE.getSetType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.dresdenocl.essentialocl.types.impl.VoidTypeImpl <em>Void Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.dresdenocl.essentialocl.types.impl.VoidTypeImpl\n\t\t * @see org.dresdenocl.essentialocl.types.impl.TypesPackageImpl#getVoidType()\n\t\t * @generated\n\t\t */\n\t\tpublic static final EClass VOID_TYPE = eINSTANCE.getVoidType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Library</b></em>' container reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference VOID_TYPE__OCL_LIBRARY = eINSTANCE\n\t\t\t\t.getVoidType_OclLibrary();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.dresdenocl.essentialocl.types.impl.TypeTypeImpl <em>Type Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.dresdenocl.essentialocl.types.impl.TypeTypeImpl\n\t\t * @see org.dresdenocl.essentialocl.types.impl.TypesPackageImpl#getTypeType()\n\t\t * @generated\n\t\t */\n\t\tpublic static final EClass TYPE_TYPE = eINSTANCE.getTypeType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Represented Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference TYPE_TYPE__REPRESENTED_TYPE = eINSTANCE\n\t\t\t\t.getTypeType_RepresentedType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.dresdenocl.essentialocl.types.impl.OclLibraryImpl <em>Ocl Library</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.dresdenocl.essentialocl.types.impl.OclLibraryImpl\n\t\t * @see org.dresdenocl.essentialocl.types.impl.TypesPackageImpl#getOclLibrary()\n\t\t * @generated\n\t\t */\n\t\tpublic static final EClass OCL_LIBRARY = eINSTANCE.getOclLibrary();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Void</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_VOID = eINSTANCE\n\t\t\t\t.getOclLibrary_OclVoid();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Any</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_ANY = eINSTANCE\n\t\t\t\t.getOclLibrary_OclAny();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Collection</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_COLLECTION = eINSTANCE\n\t\t\t\t.getOclLibrary_OclCollection();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Sequence</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_SEQUENCE = eINSTANCE\n\t\t\t\t.getOclLibrary_OclSequence();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Bag</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_BAG = eINSTANCE\n\t\t\t\t.getOclLibrary_OclBag();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Set</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_SET = eINSTANCE\n\t\t\t\t.getOclLibrary_OclSet();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Ordered Set</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_ORDERED_SET = eINSTANCE\n\t\t\t\t.getOclLibrary_OclOrderedSet();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Tuple</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\tpublic static final EReference OCL_LIBRARY__OCL_TUPLE = eINSTANCE\n\t\t\t\t.getOclLibrary_OclTuple();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.dresdenocl.essentialocl.types.impl.AnyTypeImpl <em>Any Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.dresdenocl.essentialocl.types.impl.AnyTypeImpl\n\t\t * @see org.dresdenocl.essentialocl.types.impl.TypesPackageImpl#getAnyType()\n\t\t * @generated\n\t\t */\n\t\tpublic static final EClass ANY_TYPE = eINSTANCE.getAnyType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Boolean</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_BOOLEAN = eINSTANCE\n\t\t\t\t.getOclLibrary_OclBoolean();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl String</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_STRING = eINSTANCE\n\t\t\t\t.getOclLibrary_OclString();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Integer</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_INTEGER = eINSTANCE\n\t\t\t\t.getOclLibrary_OclInteger();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Real</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_REAL = eINSTANCE\n\t\t\t\t.getOclLibrary_OclReal();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Invalid</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_INVALID = eINSTANCE\n\t\t\t\t.getOclLibrary_OclInvalid();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ocl Type</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tpublic static final EReference OCL_LIBRARY__OCL_TYPE = eINSTANCE\n\t\t\t\t.getOclLibrary_OclType();\n\n\t}", "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 interface MetaData {\r\n\r\n\tpublic static final String CV_SBML = \"SBML\";\r\n\r\n\tpublic static final String ET_SBML = \"SBML_import\";\r\n\r\n\tpublic static final String AN_SBO = \"SBO\";\r\n\r\n\tpublic static final String RT_CONSUMED_BY = \"cs_by\";\r\n\r\n\tpublic static final String RT_PRODUCED_BY = \"pd_by\";\r\n\r\n\tpublic static final String RT_REGULATED_BY = \"rg_by\";\r\n\r\n\tpublic static final String RT_TRANSFORMATION_OF = \"transformation_of\";\r\n\r\n\tpublic static final String CC_REACTION = \"Reaction\";\r\n\r\n\tpublic static final String CC_COMPOUND = \"Comp\";\r\n\r\n\tpublic static final String CC_CELCOMP = \"CelComp\";\r\n\r\n}", "interface Literals {\n\t\t/**\n * The meta object literal for the '{@link org.switchyard.tools.models.switchyard1_0.bean.impl.BeanImplementationTypeImpl <em>Implementation Type</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.switchyard.tools.models.switchyard1_0.bean.impl.BeanImplementationTypeImpl\n * @see org.switchyard.tools.models.switchyard1_0.bean.impl.BeanPackageImpl#getBeanImplementationType()\n * @generated\n */\n\t\tEClass BEAN_IMPLEMENTATION_TYPE = eINSTANCE.getBeanImplementationType();\n\n\t\t/**\n * The meta object literal for the '<em><b>Class</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEAttribute BEAN_IMPLEMENTATION_TYPE__CLASS = eINSTANCE.getBeanImplementationType_Class();\n\n\t\t/**\n * The meta object literal for the '{@link org.switchyard.tools.models.switchyard1_0.bean.impl.DocumentRootImpl <em>Document Root</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.switchyard.tools.models.switchyard1_0.bean.impl.DocumentRootImpl\n * @see org.switchyard.tools.models.switchyard1_0.bean.impl.BeanPackageImpl#getDocumentRoot()\n * @generated\n */\n\t\tEClass DOCUMENT_ROOT = eINSTANCE.getDocumentRoot();\n\n\t\t/**\n * The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEAttribute DOCUMENT_ROOT__MIXED = eINSTANCE.getDocumentRoot_Mixed();\n\n\t\t/**\n * The meta object literal for the '<em><b>XMLNS Prefix Map</b></em>' map feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference DOCUMENT_ROOT__XMLNS_PREFIX_MAP = eINSTANCE.getDocumentRoot_XMLNSPrefixMap();\n\n\t\t/**\n * The meta object literal for the '<em><b>XSI Schema Location</b></em>' map feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = eINSTANCE.getDocumentRoot_XSISchemaLocation();\n\n\t\t/**\n * The meta object literal for the '<em><b>Implementation Bean</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference DOCUMENT_ROOT__IMPLEMENTATION_BEAN = eINSTANCE.getDocumentRoot_ImplementationBean();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link gov.nasa.jpl.imce.oml.oti.provenance.impl.OML2OTIProvenanceImpl <em>OML2OTI Provenance</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see gov.nasa.jpl.imce.oml.oti.provenance.impl.OML2OTIProvenanceImpl\n\t\t * @see gov.nasa.jpl.imce.oml.oti.provenance.impl.ProvenancePackageImpl#getOML2OTIProvenance()\n\t\t * @generated\n\t\t */\n\t\tEClass OML2OTI_PROVENANCE = eINSTANCE.getOML2OTIProvenance();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Oml UUID</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 OML2OTI_PROVENANCE__OML_UUID = eINSTANCE.getOML2OTIProvenance_OmlUUID();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Oml IRI</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 OML2OTI_PROVENANCE__OML_IRI = eINSTANCE.getOML2OTIProvenance_OmlIRI();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Oti ID</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 OML2OTI_PROVENANCE__OTI_ID = eINSTANCE.getOML2OTIProvenance_OtiID();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Oti URL</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 OML2OTI_PROVENANCE__OTI_URL = eINSTANCE.getOML2OTIProvenance_OtiURL();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Oti UUID</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 OML2OTI_PROVENANCE__OTI_UUID = eINSTANCE.getOML2OTIProvenance_OtiUUID();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Explanation</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 OML2OTI_PROVENANCE__EXPLANATION = eINSTANCE.getOML2OTIProvenance_Explanation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>UUID</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see java.lang.String\n\t\t * @see gov.nasa.jpl.imce.oml.oti.provenance.impl.ProvenancePackageImpl#getUUID()\n\t\t * @generated\n\t\t */\n\t\tEDataType UUID = eINSTANCE.getUUID();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>OML IRI</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see java.lang.String\n\t\t * @see gov.nasa.jpl.imce.oml.oti.provenance.impl.ProvenancePackageImpl#getOML_IRI()\n\t\t * @generated\n\t\t */\n\t\tEDataType OML_IRI = eINSTANCE.getOML_IRI();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>OTI TOOL SPECIFIC ID</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see java.lang.String\n\t\t * @see gov.nasa.jpl.imce.oml.oti.provenance.impl.ProvenancePackageImpl#getOTI_TOOL_SPECIFIC_ID()\n\t\t * @generated\n\t\t */\n\t\tEDataType OTI_TOOL_SPECIFIC_ID = eINSTANCE.getOTI_TOOL_SPECIFIC_ID();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>OTI TOOL SPECIFIC UUID</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see java.lang.String\n\t\t * @see gov.nasa.jpl.imce.oml.oti.provenance.impl.ProvenancePackageImpl#getOTI_TOOL_SPECIFIC_UUID()\n\t\t * @generated\n\t\t */\n\t\tEDataType OTI_TOOL_SPECIFIC_UUID = eINSTANCE.getOTI_TOOL_SPECIFIC_UUID();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>OTI TOOL SPECIFIC URL</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see java.lang.String\n\t\t * @see gov.nasa.jpl.imce.oml.oti.provenance.impl.ProvenancePackageImpl#getOTI_TOOL_SPECIFIC_URL()\n\t\t * @generated\n\t\t */\n\t\tEDataType OTI_TOOL_SPECIFIC_URL = eINSTANCE.getOTI_TOOL_SPECIFIC_URL();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HNACCMetricImpl <em>HNACC Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HNACCMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHNACCMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HNACC_METRIC = eINSTANCE.getHNACCMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>HGetter Setter Smells</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 HNACC_METRIC__HGETTER_SETTER_SMELLS = eINSTANCE.getHNACCMetric_HGetterSetterSmells();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>HNumber Of Getters Metric</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference HNACC_METRIC__HNUMBER_OF_GETTERS_METRIC = eINSTANCE.getHNACCMetric_HNumberOfGettersMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>HNumber Of Setters Metric</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference HNACC_METRIC__HNUMBER_OF_SETTERS_METRIC = eINSTANCE.getHNACCMetric_HNumberOfSettersMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>HNumber Of Methods Metric</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference HNACC_METRIC__HNUMBER_OF_METHODS_METRIC = eINSTANCE.getHNACCMetric_HNumberOfMethodsMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HLCOM5MetricImpl <em>HLCOM5 Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HLCOM5MetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHLCOM5Metric()\n\t\t * @generated\n\t\t */\n\t\tEClass HLCOM5_METRIC = eINSTANCE.getHLCOM5Metric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfMembersMetricImpl <em>HNumber Of Members Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfMembersMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHNumberOfMembersMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HNUMBER_OF_MEMBERS_METRIC = eINSTANCE.getHNumberOfMembersMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfIncommingInvocationsMetricImpl <em>HNumber Of Incomming Invocations Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfIncommingInvocationsMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHNumberOfIncommingInvocationsMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HNUMBER_OF_INCOMMING_INVOCATIONS_METRIC = eINSTANCE.getHNumberOfIncommingInvocationsMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfOutgoingInvocationsMetricImpl <em>HNumber Of Outgoing Invocations Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfOutgoingInvocationsMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHNumberOfOutgoingInvocationsMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HNUMBER_OF_OUTGOING_INVOCATIONS_METRIC = eINSTANCE.getHNumberOfOutgoingInvocationsMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HLocalAccessRelationMetricImpl <em>HLocal Access Relation Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HLocalAccessRelationMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHLocalAccessRelationMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HLOCAL_ACCESS_RELATION_METRIC = eINSTANCE.getHLocalAccessRelationMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>HLocal Field Accesses</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference HLOCAL_ACCESS_RELATION_METRIC__HLOCAL_FIELD_ACCESSES = eINSTANCE\n\t\t\t\t.getHLocalAccessRelationMetric_HLocalFieldAccesses();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>HLocal Method Accesses</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference HLOCAL_ACCESS_RELATION_METRIC__HLOCAL_METHOD_ACCESSES = eINSTANCE\n\t\t\t\t.getHLocalAccessRelationMetric_HLocalMethodAccesses();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HInvocationRelationImpl <em>HInvocation Relation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HInvocationRelationImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHInvocationRelation()\n\t\t * @generated\n\t\t */\n\t\tEClass HINVOCATION_RELATION = eINSTANCE.getHInvocationRelation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>HNumber Of Outgoing Invocations Metric</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference HINVOCATION_RELATION__HNUMBER_OF_OUTGOING_INVOCATIONS_METRIC = eINSTANCE\n\t\t\t\t.getHInvocationRelation_HNumberOfOutgoingInvocationsMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>HNumber Of Incomming Invocations Metric</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference HINVOCATION_RELATION__HNUMBER_OF_INCOMMING_INVOCATIONS_METRIC = eINSTANCE\n\t\t\t\t.getHInvocationRelation_HNumberOfIncommingInvocationsMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfChildMetricImpl <em>HNumber Of Child Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfChildMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHNumberOfChildMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HNUMBER_OF_CHILD_METRIC = eINSTANCE.getHNumberOfChildMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfGettersMetricImpl <em>HNumber Of Getters Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfGettersMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHNumberOfGettersMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HNUMBER_OF_GETTERS_METRIC = eINSTANCE.getHNumberOfGettersMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfSettersMetricImpl <em>HNumber Of Setters Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfSettersMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHNumberOfSettersMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HNUMBER_OF_SETTERS_METRIC = eINSTANCE.getHNumberOfSettersMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfMethodsMetricImpl <em>HNumber Of Methods Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HNumberOfMethodsMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHNumberOfMethodsMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HNUMBER_OF_METHODS_METRIC = eINSTANCE.getHNumberOfMethodsMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HAverageOverloadingInClassMetricImpl <em>HAverage Overloading In Class Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HAverageOverloadingInClassMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHAverageOverloadingInClassMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HAVERAGE_OVERLOADING_IN_CLASS_METRIC = eINSTANCE.getHAverageOverloadingInClassMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HAverageParametersMetricImpl <em>HAverage Parameters Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HAverageParametersMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHAverageParametersMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HAVERAGE_PARAMETERS_METRIC = eINSTANCE.getHAverageParametersMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HLocalMethodAccessesMetricImpl <em>HLocal Method Accesses Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HLocalMethodAccessesMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHLocalMethodAccessesMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HLOCAL_METHOD_ACCESSES_METRIC = eINSTANCE.getHLocalMethodAccessesMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HLocalFieldAccessesMetricImpl <em>HLocal Field Accesses Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HLocalFieldAccessesMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHLocalFieldAccessesMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HLOCAL_FIELD_ACCESSES_METRIC = eINSTANCE.getHLocalFieldAccessesMetric();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.gravity.hulk.antipatterngraph.metrics.impl.HDepthOfInheritanceMetricImpl <em>HDepth Of Inheritance Metric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.HDepthOfInheritanceMetricImpl\n\t\t * @see org.gravity.hulk.antipatterngraph.metrics.impl.MetricsPackageImpl#getHDepthOfInheritanceMetric()\n\t\t * @generated\n\t\t */\n\t\tEClass HDEPTH_OF_INHERITANCE_METRIC = eINSTANCE.getHDepthOfInheritanceMetric();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentImpl <em>Content</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContent()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT = eINSTANCE.getContent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Id</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 CONTENT__CONTENT_ID = eINSTANCE.getContent_ContentId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Character Set</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__CHARACTER_SET = eINSTANCE.getContent_CharacterSet();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Child Branch Count</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 CONTENT__CHILD_BRANCH_COUNT = eINSTANCE.getContent_ChildBranchCount();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Child Leaf Count</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 CONTENT__CHILD_LEAF_COUNT = eINSTANCE.getContent_ChildLeafCount();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Attributes</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 CONTENT__CONTENT_ATTRIBUTES = eINSTANCE.getContent_ContentAttributes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Keywords</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 CONTENT__CONTENT_KEYWORDS = eINSTANCE.getContent_ContentKeywords();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Meta Datas</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 CONTENT__CONTENT_META_DATAS = eINSTANCE.getContent_ContentMetaDatas();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content 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 CONTENT__CONTENT_NAME = eINSTANCE.getContent_ContentName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Purposes</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 CONTENT__CONTENT_PURPOSES = eINSTANCE.getContent_ContentPurposes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Revisions</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 CONTENT__CONTENT_REVISIONS = eINSTANCE.getContent_ContentRevisions();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__CONTENT_TYPE = eINSTANCE.getContent_ContentType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Created By User Login</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__CREATED_BY_USER_LOGIN = eINSTANCE.getContent_CreatedByUserLogin();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Created Date</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 CONTENT__CREATED_DATE = eINSTANCE.getContent_CreatedDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Custom Method</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__CUSTOM_METHOD = eINSTANCE.getContent_CustomMethod();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Data Resource</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__DATA_RESOURCE = eINSTANCE.getContent_DataResource();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Data Source</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__DATA_SOURCE = eINSTANCE.getContent_DataSource();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Decorator Content</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__DECORATOR_CONTENT = eINSTANCE.getContent_DecoratorContent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</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 CONTENT__DESCRIPTION = eINSTANCE.getContent_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From Comm Event Content Assocs</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 CONTENT__FROM_COMM_EVENT_CONTENT_ASSOCS = eINSTANCE.getContent_FromCommEventContentAssocs();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Instance Of Content</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__INSTANCE_OF_CONTENT = eINSTANCE.getContent_InstanceOfContent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Last Modified By User Login</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__LAST_MODIFIED_BY_USER_LOGIN = eINSTANCE.getContent_LastModifiedByUserLogin();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Last Modified Date</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 CONTENT__LAST_MODIFIED_DATE = eINSTANCE.getContent_LastModifiedDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Locale String</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 CONTENT__LOCALE_STRING = eINSTANCE.getContent_LocaleString();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Mime Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__MIME_TYPE = eINSTANCE.getContent_MimeType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Owner Content</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__OWNER_CONTENT = eINSTANCE.getContent_OwnerContent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Privilege Enum</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__PRIVILEGE_ENUM = eINSTANCE.getContent_PrivilegeEnum();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Service 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 CONTENT__SERVICE_NAME = eINSTANCE.getContent_ServiceName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Status</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__STATUS = eINSTANCE.getContent_Status();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Template Data Resource</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT__TEMPLATE_DATA_RESOURCE = eINSTANCE.getContent_TemplateDataResource();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentApprovalImpl <em>Approval</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentApprovalImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentApproval()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_APPROVAL = eINSTANCE.getContentApproval();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Approval Id</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 CONTENT_APPROVAL__CONTENT_APPROVAL_ID = eINSTANCE.getContentApproval_ContentApprovalId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Approval Date</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 CONTENT_APPROVAL__APPROVAL_DATE = eINSTANCE.getContentApproval_ApprovalDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Approval Status</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_APPROVAL__APPROVAL_STATUS = eINSTANCE.getContentApproval_ApprovalStatus();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Comments</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 CONTENT_APPROVAL__COMMENTS = eINSTANCE.getContentApproval_Comments();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_APPROVAL__CONTENT = eINSTANCE.getContentApproval_Content();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Revision Seq Id</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 CONTENT_APPROVAL__CONTENT_REVISION_SEQ_ID = eINSTANCE.getContentApproval_ContentRevisionSeqId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Party</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_APPROVAL__PARTY = eINSTANCE.getContentApproval_Party();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Role Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_APPROVAL__ROLE_TYPE = eINSTANCE.getContentApproval_RoleType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Sequence Num</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 CONTENT_APPROVAL__SEQUENCE_NUM = eINSTANCE.getContentApproval_SequenceNum();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentAssocImpl <em>Assoc</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentAssocImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentAssoc()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_ASSOC = eINSTANCE.getContentAssoc();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_ASSOC__CONTENT = eINSTANCE.getContentAssoc_Content();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Id To</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_ASSOC__CONTENT_ID_TO = eINSTANCE.getContentAssoc_ContentIdTo();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Assoc Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_ASSOC__CONTENT_ASSOC_TYPE = eINSTANCE.getContentAssoc_ContentAssocType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From Date</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 CONTENT_ASSOC__FROM_DATE = eINSTANCE.getContentAssoc_FromDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Assoc Predicate</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_ASSOC__CONTENT_ASSOC_PREDICATE = eINSTANCE.getContentAssoc_ContentAssocPredicate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Created By User Login</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_ASSOC__CREATED_BY_USER_LOGIN = eINSTANCE.getContentAssoc_CreatedByUserLogin();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Created Date</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 CONTENT_ASSOC__CREATED_DATE = eINSTANCE.getContentAssoc_CreatedDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Data Source</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_ASSOC__DATA_SOURCE = eINSTANCE.getContentAssoc_DataSource();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Last Modified By User Login</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_ASSOC__LAST_MODIFIED_BY_USER_LOGIN = eINSTANCE.getContentAssoc_LastModifiedByUserLogin();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Last Modified Date</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 CONTENT_ASSOC__LAST_MODIFIED_DATE = eINSTANCE.getContentAssoc_LastModifiedDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Left Coordinate</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 CONTENT_ASSOC__LEFT_COORDINATE = eINSTANCE.getContentAssoc_LeftCoordinate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Map Key</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 CONTENT_ASSOC__MAP_KEY = eINSTANCE.getContentAssoc_MapKey();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Sequence Num</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 CONTENT_ASSOC__SEQUENCE_NUM = eINSTANCE.getContentAssoc_SequenceNum();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Thru Date</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 CONTENT_ASSOC__THRU_DATE = eINSTANCE.getContentAssoc_ThruDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Upper Coordinate</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 CONTENT_ASSOC__UPPER_COORDINATE = eINSTANCE.getContentAssoc_UpperCoordinate();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentAssocPredicateImpl <em>Assoc Predicate</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentAssocPredicateImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentAssocPredicate()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_ASSOC_PREDICATE = eINSTANCE.getContentAssocPredicate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Assoc Predicate Id</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 CONTENT_ASSOC_PREDICATE__CONTENT_ASSOC_PREDICATE_ID = eINSTANCE.getContentAssocPredicate_ContentAssocPredicateId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</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 CONTENT_ASSOC_PREDICATE__DESCRIPTION = eINSTANCE.getContentAssocPredicate_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentAssocTypeImpl <em>Assoc Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentAssocTypeImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentAssocType()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_ASSOC_TYPE = eINSTANCE.getContentAssocType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Assoc Type Id</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 CONTENT_ASSOC_TYPE__CONTENT_ASSOC_TYPE_ID = eINSTANCE.getContentAssocType_ContentAssocTypeId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</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 CONTENT_ASSOC_TYPE__DESCRIPTION = eINSTANCE.getContentAssocType_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentAttributeImpl <em>Attribute</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentAttributeImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentAttribute()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_ATTRIBUTE = eINSTANCE.getContentAttribute();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_ATTRIBUTE__CONTENT = eINSTANCE.getContentAttribute_Content();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Attr 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 CONTENT_ATTRIBUTE__ATTR_NAME = eINSTANCE.getContentAttribute_AttrName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Attr Description</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 CONTENT_ATTRIBUTE__ATTR_DESCRIPTION = eINSTANCE.getContentAttribute_AttrDescription();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Attr Value</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 CONTENT_ATTRIBUTE__ATTR_VALUE = eINSTANCE.getContentAttribute_AttrValue();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentKeywordImpl <em>Keyword</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentKeywordImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentKeyword()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_KEYWORD = eINSTANCE.getContentKeyword();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_KEYWORD__CONTENT = eINSTANCE.getContentKeyword_Content();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Keyword</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 CONTENT_KEYWORD__KEYWORD = eINSTANCE.getContentKeyword_Keyword();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Relevancy Weight</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 CONTENT_KEYWORD__RELEVANCY_WEIGHT = eINSTANCE.getContentKeyword_RelevancyWeight();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentMetaDataImpl <em>Meta Data</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentMetaDataImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentMetaData()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_META_DATA = eINSTANCE.getContentMetaData();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_META_DATA__CONTENT = eINSTANCE.getContentMetaData_Content();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Meta Data Predicate</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_META_DATA__META_DATA_PREDICATE = eINSTANCE.getContentMetaData_MetaDataPredicate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Data Source</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_META_DATA__DATA_SOURCE = eINSTANCE.getContentMetaData_DataSource();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Meta Data Value</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 CONTENT_META_DATA__META_DATA_VALUE = eINSTANCE.getContentMetaData_MetaDataValue();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentOperationImpl <em>Operation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentOperationImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentOperation()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_OPERATION = eINSTANCE.getContentOperation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Operation Id</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 CONTENT_OPERATION__CONTENT_OPERATION_ID = eINSTANCE.getContentOperation_ContentOperationId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</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 CONTENT_OPERATION__DESCRIPTION = eINSTANCE.getContentOperation_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentPurposeImpl <em>Purpose</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPurposeImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentPurpose()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_PURPOSE = eINSTANCE.getContentPurpose();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_PURPOSE__CONTENT = eINSTANCE.getContentPurpose_Content();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Purpose Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_PURPOSE__CONTENT_PURPOSE_TYPE = eINSTANCE.getContentPurpose_ContentPurposeType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Sequence Num</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 CONTENT_PURPOSE__SEQUENCE_NUM = eINSTANCE.getContentPurpose_SequenceNum();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentPurposeOperationImpl <em>Purpose Operation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPurposeOperationImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentPurposeOperation()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_PURPOSE_OPERATION = eINSTANCE.getContentPurposeOperation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Purpose Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_PURPOSE_OPERATION__CONTENT_PURPOSE_TYPE = eINSTANCE.getContentPurposeOperation_ContentPurposeType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Operation</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_PURPOSE_OPERATION__CONTENT_OPERATION = eINSTANCE.getContentPurposeOperation_ContentOperation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Role Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_PURPOSE_OPERATION__ROLE_TYPE = eINSTANCE.getContentPurposeOperation_RoleType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Status</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_PURPOSE_OPERATION__STATUS = eINSTANCE.getContentPurposeOperation_Status();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Privilege Enum</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_PURPOSE_OPERATION__PRIVILEGE_ENUM = eINSTANCE.getContentPurposeOperation_PrivilegeEnum();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentPurposeTypeImpl <em>Purpose Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPurposeTypeImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentPurposeType()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_PURPOSE_TYPE = eINSTANCE.getContentPurposeType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Purpose Type Id</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 CONTENT_PURPOSE_TYPE__CONTENT_PURPOSE_TYPE_ID = eINSTANCE.getContentPurposeType_ContentPurposeTypeId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</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 CONTENT_PURPOSE_TYPE__DESCRIPTION = eINSTANCE.getContentPurposeType_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentRevisionImpl <em>Revision</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentRevisionImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentRevision()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_REVISION = eINSTANCE.getContentRevision();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_REVISION__CONTENT = eINSTANCE.getContentRevision_Content();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Revision Seq Id</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 CONTENT_REVISION__CONTENT_REVISION_SEQ_ID = eINSTANCE.getContentRevision_ContentRevisionSeqId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Comments</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 CONTENT_REVISION__COMMENTS = eINSTANCE.getContentRevision_Comments();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Committed By Party</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_REVISION__COMMITTED_BY_PARTY = eINSTANCE.getContentRevision_CommittedByParty();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentRevisionItemImpl <em>Revision Item</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentRevisionItemImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentRevisionItem()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_REVISION_ITEM = eINSTANCE.getContentRevisionItem();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Id</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 CONTENT_REVISION_ITEM__CONTENT_ID = eINSTANCE.getContentRevisionItem_ContentId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Revision Seq Id</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 CONTENT_REVISION_ITEM__CONTENT_REVISION_SEQ_ID = eINSTANCE.getContentRevisionItem_ContentRevisionSeqId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Item Content Id</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 CONTENT_REVISION_ITEM__ITEM_CONTENT_ID = eINSTANCE.getContentRevisionItem_ItemContentId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>New Data Resource</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_REVISION_ITEM__NEW_DATA_RESOURCE = eINSTANCE.getContentRevisionItem_NewDataResource();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Old Data Resource</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_REVISION_ITEM__OLD_DATA_RESOURCE = eINSTANCE.getContentRevisionItem_OldDataResource();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentRoleImpl <em>Role</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentRoleImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentRole()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_ROLE = eINSTANCE.getContentRole();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_ROLE__CONTENT = eINSTANCE.getContentRole_Content();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Party</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_ROLE__PARTY = eINSTANCE.getContentRole_Party();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Role Type Id</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 CONTENT_ROLE__ROLE_TYPE_ID = eINSTANCE.getContentRole_RoleTypeId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From Date</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 CONTENT_ROLE__FROM_DATE = eINSTANCE.getContentRole_FromDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Thru Date</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 CONTENT_ROLE__THRU_DATE = eINSTANCE.getContentRole_ThruDate();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentSearchConstraintImpl <em>Search Constraint</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentSearchConstraintImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentSearchConstraint()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_SEARCH_CONSTRAINT = eINSTANCE.getContentSearchConstraint();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Search Result</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_SEARCH_CONSTRAINT__CONTENT_SEARCH_RESULT = eINSTANCE.getContentSearchConstraint_ContentSearchResult();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Constraint Seq Id</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 CONTENT_SEARCH_CONSTRAINT__CONSTRAINT_SEQ_ID = eINSTANCE.getContentSearchConstraint_ConstraintSeqId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Any Prefix</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 CONTENT_SEARCH_CONSTRAINT__ANY_PREFIX = eINSTANCE.getContentSearchConstraint_AnyPrefix();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Any Suffix</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 CONTENT_SEARCH_CONSTRAINT__ANY_SUFFIX = eINSTANCE.getContentSearchConstraint_AnySuffix();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Constraint 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 CONTENT_SEARCH_CONSTRAINT__CONSTRAINT_NAME = eINSTANCE.getContentSearchConstraint_ConstraintName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>High Value</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 CONTENT_SEARCH_CONSTRAINT__HIGH_VALUE = eINSTANCE.getContentSearchConstraint_HighValue();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Include Sub Categories</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 CONTENT_SEARCH_CONSTRAINT__INCLUDE_SUB_CATEGORIES = eINSTANCE.getContentSearchConstraint_IncludeSubCategories();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Info String</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 CONTENT_SEARCH_CONSTRAINT__INFO_STRING = eINSTANCE.getContentSearchConstraint_InfoString();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Is And</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 CONTENT_SEARCH_CONSTRAINT__IS_AND = eINSTANCE.getContentSearchConstraint_IsAnd();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Low Value</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 CONTENT_SEARCH_CONSTRAINT__LOW_VALUE = eINSTANCE.getContentSearchConstraint_LowValue();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Remove Stems</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 CONTENT_SEARCH_CONSTRAINT__REMOVE_STEMS = eINSTANCE.getContentSearchConstraint_RemoveStems();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentSearchResultImpl <em>Search Result</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentSearchResultImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentSearchResult()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_SEARCH_RESULT = eINSTANCE.getContentSearchResult();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Search Result Id</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 CONTENT_SEARCH_RESULT__CONTENT_SEARCH_RESULT_ID = eINSTANCE.getContentSearchResult_ContentSearchResultId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Search Constraints</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 CONTENT_SEARCH_RESULT__CONTENT_SEARCH_CONSTRAINTS = eINSTANCE.getContentSearchResult_ContentSearchConstraints();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Is Ascending</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 CONTENT_SEARCH_RESULT__IS_ASCENDING = eINSTANCE.getContentSearchResult_IsAscending();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Num Results</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 CONTENT_SEARCH_RESULT__NUM_RESULTS = eINSTANCE.getContentSearchResult_NumResults();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Order By 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 CONTENT_SEARCH_RESULT__ORDER_BY_NAME = eINSTANCE.getContentSearchResult_OrderByName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Search Date</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 CONTENT_SEARCH_RESULT__SEARCH_DATE = eINSTANCE.getContentSearchResult_SearchDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Seconds Total</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 CONTENT_SEARCH_RESULT__SECONDS_TOTAL = eINSTANCE.getContentSearchResult_SecondsTotal();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Visit Id</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 CONTENT_SEARCH_RESULT__VISIT_ID = eINSTANCE.getContentSearchResult_VisitId();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentTypeImpl <em>Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentTypeImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentType()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_TYPE = eINSTANCE.getContentType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Type Id</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 CONTENT_TYPE__CONTENT_TYPE_ID = eINSTANCE.getContentType_ContentTypeId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Type Attrs</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 CONTENT_TYPE__CONTENT_TYPE_ATTRS = eINSTANCE.getContentType_ContentTypeAttrs();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</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 CONTENT_TYPE__DESCRIPTION = eINSTANCE.getContentType_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Has Table</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 CONTENT_TYPE__HAS_TABLE = eINSTANCE.getContentType_HasTable();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Parent Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_TYPE__PARENT_TYPE = eINSTANCE.getContentType_ParentType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.abchip.mimo.biz.model.content.content.impl.ContentTypeAttrImpl <em>Type Attr</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentTypeAttrImpl\n\t\t * @see org.abchip.mimo.biz.model.content.content.impl.ContentPackageImpl#getContentTypeAttr()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT_TYPE_ATTR = eINSTANCE.getContentTypeAttr();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTENT_TYPE_ATTR__CONTENT_TYPE = eINSTANCE.getContentTypeAttr_ContentType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Attr 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 CONTENT_TYPE_ATTR__ATTR_NAME = eINSTANCE.getContentTypeAttr_AttrName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</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 CONTENT_TYPE_ATTR__DESCRIPTION = eINSTANCE.getContentTypeAttr_Description();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.smbt.ezlemur.impl.LemurOscCmdImpl <em>Lemur Osc Cmd</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.smbt.ezlemur.impl.LemurOscCmdImpl\n\t\t * @see net.sf.smbt.ezlemur.impl.EzlemurPackageImpl#getLemurOscCmd()\n\t\t * @generated\n\t\t */\n\t\tEClass LEMUR_OSC_CMD = eINSTANCE.getLemurOscCmd();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.smbt.ezlemur.impl.LemurMidiCmdImpl <em>Lemur Midi Cmd</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.smbt.ezlemur.impl.LemurMidiCmdImpl\n\t\t * @see net.sf.smbt.ezlemur.impl.EzlemurPackageImpl#getLemurMidiCmd()\n\t\t * @generated\n\t\t */\n\t\tEClass LEMUR_MIDI_CMD = eINSTANCE.getLemurMidiCmd();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.smbt.ezlemur.impl.LemurDmxCmdImpl <em>Lemur Dmx Cmd</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.smbt.ezlemur.impl.LemurDmxCmdImpl\n\t\t * @see net.sf.smbt.ezlemur.impl.EzlemurPackageImpl#getLemurDmxCmd()\n\t\t * @generated\n\t\t */\n\t\tEClass LEMUR_DMX_CMD = eINSTANCE.getLemurDmxCmd();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.sf.smbt.ezlemur.impl.AbstractLemurOscCmdImpl <em>Abstract Lemur Osc Cmd</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.sf.smbt.ezlemur.impl.AbstractLemurOscCmdImpl\n\t\t * @see net.sf.smbt.ezlemur.impl.EzlemurPackageImpl#getAbstractLemurOscCmd()\n\t\t * @generated\n\t\t */\n\t\tEClass ABSTRACT_LEMUR_OSC_CMD = eINSTANCE.getAbstractLemurOscCmd();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Target</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ABSTRACT_LEMUR_OSC_CMD__TARGET = eINSTANCE.getAbstractLemurOscCmd_Target();\n\n\t}", "public interface Interpretation<ConstantName,Constant,ConceptName,Concept,AttributeName,Attribute, DataTypeName, DataType> {\n\n /** maps constant names to constants\n *\n * @param constantName the applicationName to be mapped to a constant.\n * @return the default value (the applicationName itself)*/\n default Constant getConstant(ConstantName constantName) {return (Constant) constantName;}\n\n /** put the applicationName-constant tuple into the interpretation.\n *\n * @param constantName the applicationName of the concept\n * @param constant the actual concept\n */\n default void putConstant(ConstantName constantName, Constant constant) {};\n\n /** maps concept names to concepts\n *\n * @param conceptName the applicationName to be mapped to a concept\n * @return the default value (the applicationName itself)*/\n default Concept getConcept(ConceptName conceptName) {return (Concept) conceptName;}\n\n /** put the applicationName-concept tuple into the interpretation.\n *\n * @param name the applicationName of the concept\n * @param concept the actual concept\n */\n default void putConcept(ConceptName name, Concept concept) {};\n\n /** maps attribute names to attributes.\n *\n * @param attributeName the applicationName of an attribute\n * @return the default value (the applicationName itself)*/\n default Attribute getAttribute(AttributeName attributeName) {return (Attribute) attributeName;}\n\n /** inserts the (identifier, attribute)-pair into the interpretation.\n *\n * @param name the identifier of the attribute\n * @param attribute the attribute.\n */\n default void putAttribute(ConceptName name, Attribute attribute) {};\n\n /** maps data type names to data types\n *\n * @param id the identifier for a data type\n * @return the default value (the applicationName itself)*/\n default DataType getDataType(DataTypeName id) {return (DataType)this;}\n\n /** inserts a data type into the interpretation\n *\n * @param id the identifier for the data type\n * @param dataType the datatype itself.\n */\n default void putDataType(DataTypeName id, DataType dataType) {}\n\n\n\n}", "public Map<String, AClassDecl> basicClasses() {\n\t\tLinkedList<PFeature> featList;\n\t\tLinkedList<PFormal> formalList;\n\t\tPFeature pf;\n\t\t\n\t\tfeatList = new LinkedList<PFeature>();\n\t\t\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"abort\"),\n\t\t\t\tnew LinkedList<PFormal>(),\n\t\t\t\tnew TTypeId(\"Object\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\t\t\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"type_name\"),\n\t\t\t\tnew LinkedList<PFormal>(),\n\t\t\t\tnew TTypeId(\"String\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\n\t\tfeatList.add(pf);\n\t\t\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"copy\"),\n\t\t\t\tnew LinkedList<PFormal>(),\n\t\t\t\tnew TTypeId(\"SELF_TYPE\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\n\t\tfeatList.add(pf);\n\t\t\n\t\tAClassDecl ObjectClass = new AClassDecl(\n\t\t\t\tnew TTypeId(\"Object\"),\n\t\t\t\tnew TTypeId(\"_no_class\"),\n\t\t\t\tfeatList\n\t\t\t\t);\n\t\t\n\t\t// The IO class inherits from Object. Its methods are\n\t\t// out_string(Str) : SELF_TYPE writes a string to the output\n\t\t// out_int(Int) : SELF_TYPE \" an int \" \" \"\n\t\t// in_string() : Str reads a string from the input\n\t\t// in_int() : Int \" an int \" \" \"\n\t\tfeatList = new LinkedList<PFeature>();\n\t\t\n\t\tformalList = new LinkedList<PFormal>();\t\t\n\t\tformalList.add(new AFormal(new TObjectId(\"arg\"), new TTypeId(\"String\")));\t\t\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"out_string\"),\n\t\t\t\tformalList,\n\t\t\t\tnew TTypeId(\"SELF_TYPE\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\n\t\tformalList = new LinkedList<PFormal>();\t\t\n\t\tformalList.add(new AFormal(new TObjectId(\"arg\"), new TTypeId(\"Int\")));\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"out_int\"),\n\t\t\t\tformalList,\n\t\t\t\tnew TTypeId(\"SELF_TYPE\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\n\t\tformalList = new LinkedList<PFormal>();\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"in_string\"),\n\t\t\t\tformalList,\n\t\t\t\tnew TTypeId(\"String\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"in_int\"),\n\t\t\t\tformalList,\n\t\t\t\tnew TTypeId(\"Int\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\n\t\tAClassDecl IOClass = new AClassDecl(\n\t\t\t\tnew TTypeId(\"IO\"),\n\t\t\t\tnew TTypeId(\"Object\"),\n\t\t\t\tfeatList\n\t\t\t\t);\n\n\n\t\t// The Int class has no methods and only a single attribute, the\n\t\t// \"val\" for the integer.\n\t\tfeatList = new LinkedList<PFeature>();\n\t\tpf = new AAttributeFeature(\n\t\t\t\tnew TObjectId(\"_val\"),\n\t\t\t\tnew TTypeId(\"_prim_slot\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\t\t\n\t\tAClassDecl IntClass = new AClassDecl(\n\t\t\t\tnew TTypeId(\"Int\"),\n\t\t\t\tnew TTypeId(\"Object\"),\n\t\t\t\tfeatList\n\t\t\t\t);\n\n\t\t// Bool also has only the \"val\" slot.\n\t\tfeatList = new LinkedList<PFeature>();\n\t\tpf = new AAttributeFeature(\n\t\t\t\tnew TObjectId(\"_val\"),\n\t\t\t\tnew TTypeId(\"_prim_slot\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\t\t\n\t\tAClassDecl BoolClass = new AClassDecl(\n\t\t\t\tnew TTypeId(\"Bool\"),\n\t\t\t\tnew TTypeId(\"Object\"),\n\t\t\t\tfeatList\n\t\t\t\t);\n\n\t\t// The class Str has a number of slots and operations:\n\t\t// val the length of the string\n\t\t// str_field the string itself\n\t\t// length() : Int returns length of the string\n\t\t// concat(arg: Str) : Str performs string concatenation\n\t\t// substr(arg: Int, arg2: Int): Str substring selection\n\t\tfeatList = new LinkedList<PFeature>();\n\t\tpf = new AAttributeFeature(\n\t\t\t\tnew TObjectId(\"_val\"),\n\t\t\t\tnew TTypeId(\"_prim_slot\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\n\t\tpf = new AAttributeFeature(\n\t\t\t\tnew TObjectId(\"_str_field\"),\n\t\t\t\tnew TTypeId(\"_prim_slot\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\t\t\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"length\"),\n\t\t\t\tnew LinkedList<PFormal>(),\n\t\t\t\tnew TTypeId(\"Int\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\n\t\tfeatList.add(pf);\t\t\n\n\t\tformalList = new LinkedList<PFormal>();\n\t\tformalList.add(new AFormal(new TObjectId(\"arg\"), new TTypeId(\"String\")));\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"concat\"),\n\t\t\t\tformalList,\n\t\t\t\tnew TTypeId(\"String\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\n\t\tformalList = new LinkedList<PFormal>();\n\t\tformalList.add(new AFormal(new TObjectId(\"arg\"), new TTypeId(\"Int\")));\n\t\tformalList.add(new AFormal(new TObjectId(\"arg2\"), new TTypeId(\"Int\")));\n\t\tpf = new AMethodFeature(\n\t\t\t\tnew TObjectId(\"substr\"),\n\t\t\t\tformalList,\n\t\t\t\tnew TTypeId(\"String\"),\n\t\t\t\tnew ANoExpr()\n\t\t\t\t);\t\t\n\t\tfeatList.add(pf);\n\t\t\n\t\t\n\t\tAClassDecl StringClass = new AClassDecl(\n\t\t\t\tnew TTypeId(\"String\"),\n\t\t\t\tnew TTypeId(\"Object\"),\n\t\t\t\tfeatList\n\t\t\t\t);\n\t\t\n\n\t\t/*\n\t\t * Do something with Object_class, IO_class, Int_class, Bool_class, and\n\t\t * Str_class here \n\t\t * \n\t\t */\n\n\t\tMap<String, AClassDecl> map = new TreeMap<String, AClassDecl>();\n\t\t\t\tOBJECT = new Klass();\n\t\t\t\tOBJECT.name = \"Object\";\n\t\t\t\tOBJECT.parent = null;\n\t\t\t\tOBJECT.methods = null;\n\t\t \t\tOBJECT.vars = null;\n\t\t \t\t\n\t\t \t\tIO = new Klass();\n\t\t \t\tIO.name = \"IO\";\n\t\t \t\tIO.parent = OBJECT;\n\n\t\t \t\t\n\t\t \t\tINT = new Klass();\n\t\t \t\tINT.name = \"Int\";\n\t\t \t\tINT.parent = OBJECT;\n\n\t\t \t\t\n\t\t \t\tBOOL = new Klass();\n\t\t \t\tBOOL.name = \"Bool\";\n\t\t \t\tBOOL.parent = OBJECT;\n\n\t\t\t\t\n\t\t \t\tSTR = new Klass();\n\t\t\t\tSTR.name =\"String\";\n\t\t\t\tSTR.parent = OBJECT;\n\n\t\t\t\t\n\t\t\t\tERROR = new Klass();\n\t\t\t\tERROR.name = \"ERROR\";\n\t\t\t\tERROR.parent = OBJECT;\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tVOID = new Klass();\n\t\t\t\tVOID.name = \"VOID\";\n\t\t\t\tVOID.parent = OBJECT;\n\n\t\t\t\tklasses.put(\"Object\", OBJECT);\n\t\t\t\tklasses.put(\"IO\", IO);\n\t\t\t\tklasses.put(\"Int\", INT);\n\t\t\t\tklasses.put(\"Bool\", BOOL);\n\t\t\t klasses.put(\"String\", STR);\n\t\t\t\t\n\t\tmap.put(\"Object\", ObjectClass);\n\t\tmap.put(\"IO\", IOClass);\n\t\tmap.put(\"Int\", IntClass);\n\t\tmap.put(\"Bool\", BoolClass);\n\t\tmap.put(\"String\", StringClass);\n\t\t\n\t\treturn map;\n\t\t\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link auto.voyage.oas.testtrack.impl.ScenarioImpl <em>Scenario</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see auto.voyage.oas.testtrack.impl.ScenarioImpl\n\t\t * @see auto.voyage.oas.testtrack.impl.TesttrackPackageImpl#getScenario()\n\t\t * @generated\n\t\t */\n\t\tEClass SCENARIO = eINSTANCE.getScenario();\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 SCENARIO__NAME = eINSTANCE.getScenario_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Actors</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 SCENARIO__ACTORS = eINSTANCE.getScenario_Actors();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>SUT</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference SCENARIO__SUT = eINSTANCE.getScenario_SUT();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link auto.voyage.oas.testtrack.impl.RoadSegmentImpl <em>Road Segment</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see auto.voyage.oas.testtrack.impl.RoadSegmentImpl\n\t\t * @see auto.voyage.oas.testtrack.impl.TesttrackPackageImpl#getRoadSegment()\n\t\t * @generated\n\t\t */\n\t\tEClass ROAD_SEGMENT = eINSTANCE.getRoadSegment();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Roadcomponents</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 ROAD_SEGMENT__ROADCOMPONENTS = eINSTANCE.getRoadSegment_Roadcomponents();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Signs</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 ROAD_SEGMENT__SIGNS = eINSTANCE.getRoadSegment_Signs();\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 ROAD_SEGMENT__NAME = eINSTANCE.getRoadSegment_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Left Neighbor Of Neighbor</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ROAD_SEGMENT__LEFT_NEIGHBOR_OF_NEIGHBOR = eINSTANCE.getRoadSegment_LeftNeighborOfNeighbor();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Right Neighbor Of Neighbor</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ROAD_SEGMENT__RIGHT_NEIGHBOR_OF_NEIGHBOR = eINSTANCE.getRoadSegment_RightNeighborOfNeighbor();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link auto.voyage.oas.testtrack.impl.ActorImpl <em>Actor</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see auto.voyage.oas.testtrack.impl.ActorImpl\n\t\t * @see auto.voyage.oas.testtrack.impl.TesttrackPackageImpl#getActor()\n\t\t * @generated\n\t\t */\n\t\tEClass ACTOR = eINSTANCE.getActor();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</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 ACTOR__TYPE = eINSTANCE.getActor_Type();\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 ACTOR__NAME = eINSTANCE.getActor_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Action</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ACTOR__ACTION = eINSTANCE.getActor_Action();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link auto.voyage.oas.testtrack.impl.TrackSegmentImpl <em>Track Segment</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see auto.voyage.oas.testtrack.impl.TrackSegmentImpl\n\t\t * @see auto.voyage.oas.testtrack.impl.TesttrackPackageImpl#getTrackSegment()\n\t\t * @generated\n\t\t */\n\t\tEClass TRACK_SEGMENT = eINSTANCE.getTrackSegment();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Roadsegments</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 TRACK_SEGMENT__ROADSEGMENTS = eINSTANCE.getTrackSegment_Roadsegments();\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 TRACK_SEGMENT__NAME = eINSTANCE.getTrackSegment_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Scenarios</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 TRACK_SEGMENT__SCENARIOS = eINSTANCE.getTrackSegment_Scenarios();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link auto.voyage.oas.testtrack.impl.RoadComponentImpl <em>Road Component</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see auto.voyage.oas.testtrack.impl.RoadComponentImpl\n\t\t * @see auto.voyage.oas.testtrack.impl.TesttrackPackageImpl#getRoadComponent()\n\t\t * @generated\n\t\t */\n\t\tEClass ROAD_COMPONENT = eINSTANCE.getRoadComponent();\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 ROAD_COMPONENT__NAME = eINSTANCE.getRoadComponent_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Left Lane</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ROAD_COMPONENT__LEFT_LANE = eINSTANCE.getRoadComponent_LeftLane();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Right Lane</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ROAD_COMPONENT__RIGHT_LANE = eINSTANCE.getRoadComponent_RightLane();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link auto.voyage.oas.testtrack.impl.LaneImpl <em>Lane</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see auto.voyage.oas.testtrack.impl.LaneImpl\n\t\t * @see auto.voyage.oas.testtrack.impl.TesttrackPackageImpl#getLane()\n\t\t * @generated\n\t\t */\n\t\tEClass LANE = eINSTANCE.getLane();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From Lanes</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 LANE__FROM_LANES = eINSTANCE.getLane_FromLanes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>To Lanes</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 LANE__TO_LANES = eINSTANCE.getLane_ToLanes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Straight</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 LANE__STRAIGHT = eINSTANCE.getLane_Straight();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link auto.voyage.oas.testtrack.impl.SidewalkImpl <em>Sidewalk</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see auto.voyage.oas.testtrack.impl.SidewalkImpl\n\t\t * @see auto.voyage.oas.testtrack.impl.TesttrackPackageImpl#getSidewalk()\n\t\t * @generated\n\t\t */\n\t\tEClass SIDEWALK = eINSTANCE.getSidewalk();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link auto.voyage.oas.testtrack.impl.ActionImpl <em>Action</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see auto.voyage.oas.testtrack.impl.ActionImpl\n\t\t * @see auto.voyage.oas.testtrack.impl.TesttrackPackageImpl#getAction()\n\t\t * @generated\n\t\t */\n\t\tEClass ACTION = eINSTANCE.getAction();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Start Position</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ACTION__START_POSITION = eINSTANCE.getAction_StartPosition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>End Position</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ACTION__END_POSITION = eINSTANCE.getAction_EndPosition();\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 ACTION__NAME = eINSTANCE.getAction_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link auto.voyage.oas.testtrack.impl.SignImpl <em>Sign</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see auto.voyage.oas.testtrack.impl.SignImpl\n\t\t * @see auto.voyage.oas.testtrack.impl.TesttrackPackageImpl#getSign()\n\t\t * @generated\n\t\t */\n\t\tEClass SIGN = eINSTANCE.getSign();\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 SIGN__NAME = eINSTANCE.getSign_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>For Road Component</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 SIGN__FOR_ROAD_COMPONENT = eINSTANCE.getSign_ForRoadComponent();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link auto.voyage.oas.testtrack.impl.CrosswalkImpl <em>Crosswalk</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see auto.voyage.oas.testtrack.impl.CrosswalkImpl\n\t\t * @see auto.voyage.oas.testtrack.impl.TesttrackPackageImpl#getCrosswalk()\n\t\t * @generated\n\t\t */\n\t\tEClass CROSSWALK = eINSTANCE.getCrosswalk();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link auto.voyage.oas.testtrack.impl.StopSignImpl <em>Stop Sign</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see auto.voyage.oas.testtrack.impl.StopSignImpl\n\t\t * @see auto.voyage.oas.testtrack.impl.TesttrackPackageImpl#getStopSign()\n\t\t * @generated\n\t\t */\n\t\tEClass STOP_SIGN = eINSTANCE.getStopSign();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link auto.voyage.oas.testtrack.impl.GiveWaySignImpl <em>Give Way Sign</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see auto.voyage.oas.testtrack.impl.GiveWaySignImpl\n\t\t * @see auto.voyage.oas.testtrack.impl.TesttrackPackageImpl#getGiveWaySign()\n\t\t * @generated\n\t\t */\n\t\tEClass GIVE_WAY_SIGN = eINSTANCE.getGiveWaySign();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link auto.voyage.oas.testtrack.ActorType <em>Actor Type</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see auto.voyage.oas.testtrack.ActorType\n\t\t * @see auto.voyage.oas.testtrack.impl.TesttrackPackageImpl#getActorType()\n\t\t * @generated\n\t\t */\n\t\tEEnum ACTOR_TYPE = eINSTANCE.getActorType();\n\n\t}", "private void installBasicClasses() {\n \tAbstractSymbol filename \n \t = AbstractTable.stringtable.addString(\"<basic class>\");\n \t\n \t// The following demonstrates how to create dummy parse trees to\n \t// refer to basic Cool classes. There's no need for method\n \t// bodies -- these are already built into the runtime system.\n \n \t// IMPORTANT: The results of the following expressions are\n \t// stored in local variables. You will want to do something\n \t// with those variables at the end of this method to make this\n \t// code meaningful.\n \n \t// The Object class has no parent class. Its methods are\n \t// cool_abort() : Object aborts the program\n \t// type_name() : Str returns a string representation \n \t// of class name\n \t// copy() : SELF_TYPE returns a copy of the object\n \n \tclass_c Object_class = \n \t new class_c(0, \n \t\t TreeConstants.Object_, \n \t\t TreeConstants.No_class,\n \t\t new Features(0)\n \t\t\t .appendElement(new method(0, \n \t\t\t\t\t TreeConstants.cool_abort, \n \t\t\t\t\t new Formals(0), \n \t\t\t\t\t TreeConstants.Object_, \n \t\t\t\t\t new no_expr(0)))\n \t\t\t .appendElement(new method(0,\n \t\t\t\t\t TreeConstants.type_name,\n \t\t\t\t\t new Formals(0),\n \t\t\t\t\t TreeConstants.Str,\n \t\t\t\t\t new no_expr(0)))\n \t\t\t .appendElement(new method(0,\n \t\t\t\t\t TreeConstants.copy,\n \t\t\t\t\t new Formals(0),\n \t\t\t\t\t TreeConstants.SELF_TYPE,\n \t\t\t\t\t new no_expr(0))),\n \t\t filename);\n \t\n \t// The IO class inherits from Object. Its methods are\n \t// out_string(Str) : SELF_TYPE writes a string to the output\n \t// out_int(Int) : SELF_TYPE \" an int \" \" \"\n \t// in_string() : Str reads a string from the input\n \t// in_int() : Int \" an int \" \" \"\n \n \tclass_c IO_class = \n \t new class_c(0,\n \t\t TreeConstants.IO,\n \t\t TreeConstants.Object_,\n \t\t new Features(0)\n \t\t\t .appendElement(new method(0,\n \t\t\t\t\t TreeConstants.out_string,\n \t\t\t\t\t new Formals(0)\n \t\t\t\t\t\t .appendElement(new formalc(0,\n \t\t\t\t\t\t\t\t TreeConstants.arg,\n \t\t\t\t\t\t\t\t TreeConstants.Str)),\n \t\t\t\t\t TreeConstants.SELF_TYPE,\n \t\t\t\t\t new no_expr(0)))\n \t\t\t .appendElement(new method(0,\n \t\t\t\t\t TreeConstants.out_int,\n \t\t\t\t\t new Formals(0)\n \t\t\t\t\t\t .appendElement(new formalc(0,\n \t\t\t\t\t\t\t\t TreeConstants.arg,\n \t\t\t\t\t\t\t\t TreeConstants.Int)),\n \t\t\t\t\t TreeConstants.SELF_TYPE,\n \t\t\t\t\t new no_expr(0)))\n \t\t\t .appendElement(new method(0,\n \t\t\t\t\t TreeConstants.in_string,\n \t\t\t\t\t new Formals(0),\n \t\t\t\t\t TreeConstants.Str,\n \t\t\t\t\t new no_expr(0)))\n \t\t\t .appendElement(new method(0,\n \t\t\t\t\t TreeConstants.in_int,\n \t\t\t\t\t new Formals(0),\n \t\t\t\t\t TreeConstants.Int,\n \t\t\t\t\t new no_expr(0))),\n \t\t filename);\n \n \t// The Int class has no methods and only a single attribute, the\n \t// \"val\" for the integer.\n \n \tclass_c Int_class = \n \t new class_c(0,\n \t\t TreeConstants.Int,\n \t\t TreeConstants.Object_,\n \t\t new Features(0)\n \t\t\t .appendElement(new attr(0,\n \t\t\t\t\t TreeConstants.val,\n \t\t\t\t\t TreeConstants.prim_slot,\n \t\t\t\t\t new no_expr(0))),\n \t\t filename);\n \n \t// Bool also has only the \"val\" slot.\n \tclass_c Bool_class = \n \t new class_c(0,\n \t\t TreeConstants.Bool,\n \t\t TreeConstants.Object_,\n \t\t new Features(0)\n \t\t\t .appendElement(new attr(0,\n \t\t\t\t\t TreeConstants.val,\n \t\t\t\t\t TreeConstants.prim_slot,\n \t\t\t\t\t new no_expr(0))),\n \t\t filename);\n \n \t// The class Str has a number of slots and operations:\n \t// val the length of the string\n \t// str_field the string itself\n \t// length() : Int returns length of the string\n \t// concat(arg: Str) : Str performs string concatenation\n \t// substr(arg: Int, arg2: Int): Str substring selection\n \n \tclass_c Str_class =\n \t new class_c(0,\n \t\t TreeConstants.Str,\n \t\t TreeConstants.Object_,\n \t\t new Features(0)\n \t\t\t .appendElement(new attr(0,\n \t\t\t\t\t TreeConstants.val,\n \t\t\t\t\t TreeConstants.Int,\n \t\t\t\t\t new no_expr(0)))\n \t\t\t .appendElement(new attr(0,\n \t\t\t\t\t TreeConstants.str_field,\n \t\t\t\t\t TreeConstants.prim_slot,\n \t\t\t\t\t new no_expr(0)))\n \t\t\t .appendElement(new method(0,\n \t\t\t\t\t TreeConstants.length,\n \t\t\t\t\t new Formals(0),\n \t\t\t\t\t TreeConstants.Int,\n \t\t\t\t\t new no_expr(0)))\n \t\t\t .appendElement(new method(0,\n \t\t\t\t\t TreeConstants.concat,\n \t\t\t\t\t new Formals(0)\n \t\t\t\t\t\t .appendElement(new formalc(0,\n \t\t\t\t\t\t\t\t TreeConstants.arg, \n \t\t\t\t\t\t\t\t TreeConstants.Str)),\n \t\t\t\t\t TreeConstants.Str,\n \t\t\t\t\t new no_expr(0)))\n \t\t\t .appendElement(new method(0,\n \t\t\t\t\t TreeConstants.substr,\n \t\t\t\t\t new Formals(0)\n \t\t\t\t\t\t .appendElement(new formalc(0,\n \t\t\t\t\t\t\t\t TreeConstants.arg,\n \t\t\t\t\t\t\t\t TreeConstants.Int))\n \t\t\t\t\t\t .appendElement(new formalc(0,\n \t\t\t\t\t\t\t\t TreeConstants.arg2,\n \t\t\t\t\t\t\t\t TreeConstants.Int)),\n \t\t\t\t\t TreeConstants.Str,\n \t\t\t\t\t new no_expr(0))),\n \t\t filename);\n \n \t/* Do somethind with Object_class, IO_class, Int_class,\n Bool_class, and Str_class here */\n nameToClass.put(TreeConstants.Object_.getString(), Object_class);\n nameToClass.put(TreeConstants.IO.getString(), IO_class);\n nameToClass.put(TreeConstants.Int.getString(), Int_class);\n nameToClass.put(TreeConstants.Bool.getString(), Bool_class);\n nameToClass.put(TreeConstants.Str.getString(), Str_class);\n adjacencyList.put(TreeConstants.Object_.getString(), new ArrayList<String>() );\n adjacencyList.put(TreeConstants.IO.getString(), new ArrayList<String>() );\n adjacencyList.put(TreeConstants.Int.getString(), new ArrayList<String>() );\n adjacencyList.put(TreeConstants.Bool.getString(), new ArrayList<String>() );\n adjacencyList.put(TreeConstants.Str.getString(), new ArrayList<String>() );\n // Do the same for other basic classes\n basicClassList = new Classes(0);\n basicClassList.appendElement(Object_class);\n basicClassList.appendElement(IO_class);\n basicClassList.appendElement(Int_class);\n basicClassList.appendElement(Bool_class);\n basicClassList.appendElement(Str_class);\n \n }", "interface 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}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.keyValuePairImpl <em>key Value Pair</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.keyValuePairImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getkeyValuePair()\n\t\t * @generated\n\t\t */\n\t\tEClass KEY_VALUE_PAIR = eINSTANCE.getkeyValuePair();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Key</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 KEY_VALUE_PAIR__KEY = eINSTANCE.getkeyValuePair_Key();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</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 KEY_VALUE_PAIR__VALUE = eINSTANCE.getkeyValuePair_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.InstanceBaseImpl <em>Instance Base</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.InstanceBaseImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getInstanceBase()\n\t\t * @generated\n\t\t */\n\t\tEClass INSTANCE_BASE = eINSTANCE.getInstanceBase();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Properties</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 INSTANCE_BASE__PROPERTIES = eINSTANCE.getInstanceBase_Properties();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id</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 INSTANCE_BASE__ID = eINSTANCE.getInstanceBase_Id();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference INSTANCE_BASE__TYPE = eINSTANCE.getInstanceBase_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.NodeInstanceImpl <em>Node Instance</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.NodeInstanceImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getNodeInstance()\n\t\t * @generated\n\t\t */\n\t\tEClass NODE_INSTANCE = eINSTANCE.getNodeInstance();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Constraints</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 NODE_INSTANCE__CONSTRAINTS = eINSTANCE.getNodeInstance_Constraints();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Incoming Links</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 NODE_INSTANCE__INCOMING_LINKS = eINSTANCE.getNodeInstance_IncomingLinks();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Outgoing Links</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 NODE_INSTANCE__OUTGOING_LINKS = eINSTANCE.getNodeInstance_OutgoingLinks();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.LinkInstanceImpl <em>Link Instance</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.LinkInstanceImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getLinkInstance()\n\t\t * @generated\n\t\t */\n\t\tEClass LINK_INSTANCE = eINSTANCE.getLinkInstance();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Bendpoints</b></em>' attribute list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute LINK_INSTANCE__BENDPOINTS = eINSTANCE.getLinkInstance_Bendpoints();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Target</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference LINK_INSTANCE__TARGET = eINSTANCE.getLinkInstance_Target();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Source</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference LINK_INSTANCE__SOURCE = eINSTANCE.getLinkInstance_Source();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Container</b></em>' container reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference LINK_INSTANCE__CONTAINER = eINSTANCE.getLinkInstance_Container();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.ContainerInstanceImpl <em>Container Instance</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.ContainerInstanceImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getContainerInstance()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTAINER_INSTANCE = eINSTANCE.getContainerInstance();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Nodes</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 CONTAINER_INSTANCE__NODES = eINSTANCE.getContainerInstance_Nodes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Links</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 CONTAINER_INSTANCE__LINKS = eINSTANCE.getContainerInstance_Links();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.ThingInstanceImpl <em>Thing Instance</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.ThingInstanceImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getThingInstance()\n\t\t * @generated\n\t\t */\n\t\tEClass THING_INSTANCE = eINSTANCE.getThingInstance();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.TypeDescriptorImpl <em>Type Descriptor</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.TypeDescriptorImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getTypeDescriptor()\n\t\t * @generated\n\t\t */\n\t\tEClass TYPE_DESCRIPTOR = eINSTANCE.getTypeDescriptor();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id</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 TYPE_DESCRIPTOR__ID = eINSTANCE.getTypeDescriptor_Id();\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 TYPE_DESCRIPTOR__NAME = eINSTANCE.getTypeDescriptor_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Properties</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 TYPE_DESCRIPTOR__PROPERTIES = eINSTANCE.getTypeDescriptor_Properties();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Parents</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 TYPE_DESCRIPTOR__PARENTS = eINSTANCE.getTypeDescriptor_Parents();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Children</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 TYPE_DESCRIPTOR__CHILDREN = eINSTANCE.getTypeDescriptor_Children();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.PropertyDescriptorImpl <em>Property Descriptor</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.PropertyDescriptorImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getPropertyDescriptor()\n\t\t * @generated\n\t\t */\n\t\tEClass PROPERTY_DESCRIPTOR = eINSTANCE.getPropertyDescriptor();\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 PROPERTY_DESCRIPTOR__NAME = eINSTANCE.getPropertyDescriptor_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</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 PROPERTY_DESCRIPTOR__TYPE = eINSTANCE.getPropertyDescriptor_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id</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 PROPERTY_DESCRIPTOR__ID = eINSTANCE.getPropertyDescriptor_Id();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.OPmodelHolderImpl <em>OPmodel Holder</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.OPmodelHolderImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getOPmodelHolder()\n\t\t * @generated\n\t\t */\n\t\tEClass OPMODEL_HOLDER = eINSTANCE.getOPmodelHolder();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Container</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPMODEL_HOLDER__CONTAINER = eINSTANCE.getOPmodelHolder_Container();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Meta Definition</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPMODEL_HOLDER__META_DEFINITION = eINSTANCE.getOPmodelHolder_MetaDefinition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Next Id</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 OPMODEL_HOLDER__NEXT_ID = eINSTANCE.getOPmodelHolder_NextId();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.OPmetaDefinitionImpl <em>OPmeta Definition</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.OPmetaDefinitionImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getOPmetaDefinition()\n\t\t * @generated\n\t\t */\n\t\tEClass OPMETA_DEFINITION = eINSTANCE.getOPmetaDefinition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Types</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 OPMETA_DEFINITION__TYPES = eINSTANCE.getOPmetaDefinition_Types();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Nodes</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 OPMETA_DEFINITION__NODES = eINSTANCE.getOPmetaDefinition_Nodes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Containers</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 OPMETA_DEFINITION__CONTAINERS = eINSTANCE.getOPmetaDefinition_Containers();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Links</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 OPMETA_DEFINITION__LINKS = eINSTANCE.getOPmetaDefinition_Links();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Properties</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 OPMETA_DEFINITION__PROPERTIES = eINSTANCE.getOPmetaDefinition_Properties();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Link Validation Rules</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 OPMETA_DEFINITION__LINK_VALIDATION_RULES = eINSTANCE.getOPmetaDefinition_LinkValidationRules();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Containment Validation Rules</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 OPMETA_DEFINITION__CONTAINMENT_VALIDATION_RULES = eINSTANCE.getOPmetaDefinition_ContainmentValidationRules();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.PropertyInstanceImpl <em>Property Instance</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.PropertyInstanceImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getPropertyInstance()\n\t\t * @generated\n\t\t */\n\t\tEClass PROPERTY_INSTANCE = eINSTANCE.getPropertyInstance();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Descriptor</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference PROPERTY_INSTANCE__DESCRIPTOR = eINSTANCE.getPropertyInstance_Descriptor();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</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 PROPERTY_INSTANCE__VALUE = eINSTANCE.getPropertyInstance_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.PropertyIntInstanceImpl <em>Property Int Instance</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.PropertyIntInstanceImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getPropertyIntInstance()\n\t\t * @generated\n\t\t */\n\t\tEClass PROPERTY_INT_INSTANCE = eINSTANCE.getPropertyIntInstance();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.PropertyFloatInstanceImpl <em>Property Float Instance</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.PropertyFloatInstanceImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getPropertyFloatInstance()\n\t\t * @generated\n\t\t */\n\t\tEClass PROPERTY_FLOAT_INSTANCE = eINSTANCE.getPropertyFloatInstance();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.PropertyBooleanInstanceImpl <em>Property Boolean Instance</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.PropertyBooleanInstanceImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getPropertyBooleanInstance()\n\t\t * @generated\n\t\t */\n\t\tEClass PROPERTY_BOOLEAN_INSTANCE = eINSTANCE.getPropertyBooleanInstance();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.OPmodelLinkValidationRuleImpl <em>OPmodel Link Validation Rule</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.OPmodelLinkValidationRuleImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getOPmodelLinkValidationRule()\n\t\t * @generated\n\t\t */\n\t\tEClass OPMODEL_LINK_VALIDATION_RULE = eINSTANCE.getOPmodelLinkValidationRule();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Valid</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 OPMODEL_LINK_VALIDATION_RULE__VALID = eINSTANCE.getOPmodelLinkValidationRule_Valid();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Source Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPMODEL_LINK_VALIDATION_RULE__SOURCE_TYPE = eINSTANCE.getOPmodelLinkValidationRule_SourceType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Target Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPMODEL_LINK_VALIDATION_RULE__TARGET_TYPE = eINSTANCE.getOPmodelLinkValidationRule_TargetType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Link Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPMODEL_LINK_VALIDATION_RULE__LINK_TYPE = eINSTANCE.getOPmodelLinkValidationRule_LinkType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.impl.OPmodelContainmentValidationRuleImpl <em>OPmodel Containment Validation Rule</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.impl.OPmodelContainmentValidationRuleImpl\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getOPmodelContainmentValidationRule()\n\t\t * @generated\n\t\t */\n\t\tEClass OPMODEL_CONTAINMENT_VALIDATION_RULE = eINSTANCE.getOPmodelContainmentValidationRule();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Valid</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 OPMODEL_CONTAINMENT_VALIDATION_RULE__VALID = eINSTANCE.getOPmodelContainmentValidationRule_Valid();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Container Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPMODEL_CONTAINMENT_VALIDATION_RULE__CONTAINER_TYPE = eINSTANCE.getOPmodelContainmentValidationRule_ContainerType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Node Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPMODEL_CONTAINMENT_VALIDATION_RULE__NODE_TYPE = eINSTANCE.getOPmodelContainmentValidationRule_NodeType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.vainolo.phd.opmodel.model.propertyType <em>property Type</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.vainolo.phd.opmodel.model.propertyType\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getpropertyType()\n\t\t * @generated\n\t\t */\n\t\tEEnum PROPERTY_TYPE = eINSTANCE.getpropertyType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>Rectangle</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.draw2d.geometry.Rectangle\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getRectangle()\n\t\t * @generated\n\t\t */\n\t\tEDataType RECTANGLE = eINSTANCE.getRectangle();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>Point</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.draw2d.geometry.Point\n\t\t * @see com.vainolo.phd.opmodel.model.impl.opmodelPackageImpl#getPoint()\n\t\t * @generated\n\t\t */\n\t\tEDataType POINT = eINSTANCE.getPoint();\n\n\t}", "interface Literals\n {\n /**\n * The meta object literal for the '{@link com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.InfrastructureImpl <em>Infrastructure</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.InfrastructureImpl\n * @see com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.GoatInfrastructurePackageImpl#getInfrastructure()\n * @generated\n */\n EClass INFRASTRUCTURE = eINSTANCE.getInfrastructure();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute INFRASTRUCTURE__NAME = eINSTANCE.getInfrastructure_Name();\n\n /**\n * The meta object literal for the '{@link com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.SingleServerImpl <em>Single Server</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.SingleServerImpl\n * @see com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.GoatInfrastructurePackageImpl#getSingleServer()\n * @generated\n */\n EClass SINGLE_SERVER = eINSTANCE.getSingleServer();\n\n /**\n * The meta object literal for the '<em><b>Server</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute SINGLE_SERVER__SERVER = eINSTANCE.getSingleServer_Server();\n\n /**\n * The meta object literal for the '<em><b>Timeout</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute SINGLE_SERVER__TIMEOUT = eINSTANCE.getSingleServer_Timeout();\n\n /**\n * The meta object literal for the '{@link com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.ClusterImpl <em>Cluster</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.ClusterImpl\n * @see com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.GoatInfrastructurePackageImpl#getCluster()\n * @generated\n */\n EClass CLUSTER = eINSTANCE.getCluster();\n\n /**\n * The meta object literal for the '<em><b>Message queue</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CLUSTER__MESSAGE_QUEUE = eINSTANCE.getCluster_Message_queue();\n\n /**\n * The meta object literal for the '<em><b>Registration</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CLUSTER__REGISTRATION = eINSTANCE.getCluster_Registration();\n\n /**\n * The meta object literal for the '<em><b>Mid assigner</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CLUSTER__MID_ASSIGNER = eINSTANCE.getCluster_Mid_assigner();\n\n /**\n * The meta object literal for the '<em><b>Nodes</b></em>' attribute list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CLUSTER__NODES = eINSTANCE.getCluster_Nodes();\n\n /**\n * The meta object literal for the '{@link com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.RingImpl <em>Ring</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.RingImpl\n * @see com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.GoatInfrastructurePackageImpl#getRing()\n * @generated\n */\n EClass RING = eINSTANCE.getRing();\n\n /**\n * The meta object literal for the '<em><b>Registration</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute RING__REGISTRATION = eINSTANCE.getRing_Registration();\n\n /**\n * The meta object literal for the '<em><b>Mid assigner</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute RING__MID_ASSIGNER = eINSTANCE.getRing_Mid_assigner();\n\n /**\n * The meta object literal for the '<em><b>Nodes</b></em>' attribute list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute RING__NODES = eINSTANCE.getRing_Nodes();\n\n /**\n * The meta object literal for the '{@link com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.TreeImpl <em>Tree</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.TreeImpl\n * @see com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.GoatInfrastructurePackageImpl#getTree()\n * @generated\n */\n EClass TREE = eINSTANCE.getTree();\n\n /**\n * The meta object literal for the '<em><b>Registration</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute TREE__REGISTRATION = eINSTANCE.getTree_Registration();\n\n /**\n * The meta object literal for the '<em><b>Root</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference TREE__ROOT = eINSTANCE.getTree_Root();\n\n /**\n * The meta object literal for the '{@link com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.TreeNodeImpl <em>Tree Node</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.TreeNodeImpl\n * @see com.sysma.goat.eclipse_plugin.goatInfrastructure.impl.GoatInfrastructurePackageImpl#getTreeNode()\n * @generated\n */\n EClass TREE_NODE = eINSTANCE.getTreeNode();\n\n /**\n * The meta object literal for the '<em><b>Address</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute TREE_NODE__ADDRESS = eINSTANCE.getTreeNode_Address();\n\n /**\n * The meta object literal for the '<em><b>Children</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference TREE_NODE__CHILDREN = eINSTANCE.getTreeNode_Children();\n\n }", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link blogdsl.impl.BlogImpl <em>Blog</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blogdsl.impl.BlogImpl\n\t\t * @see blogdsl.impl.BlogdslPackageImpl#getBlog()\n\t\t * @generated\n\t\t */\n\t\tEClass BLOG = eINSTANCE.getBlog();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Author</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 BLOG__AUTHOR = eINSTANCE.getBlog_Author();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Author Email</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 BLOG__AUTHOR_EMAIL = eINSTANCE.getBlog_AuthorEmail();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Posts</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 BLOG__POSTS = eINSTANCE.getBlog_Posts();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blogdsl.impl.PostImpl <em>Post</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blogdsl.impl.PostImpl\n\t\t * @see blogdsl.impl.BlogdslPackageImpl#getPost()\n\t\t * @generated\n\t\t */\n\t\tEClass POST = eINSTANCE.getPost();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Title</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 POST__TITLE = eINSTANCE.getPost_Title();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Short Title</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 POST__SHORT_TITLE = eINSTANCE.getPost_ShortTitle();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Published Date</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 POST__PUBLISHED_DATE = eINSTANCE.getPost_PublishedDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Categories</b></em>' attribute list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute POST__CATEGORIES = eINSTANCE.getPost_Categories();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Content</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 POST__CONTENT = eINSTANCE.getPost_Content();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blogdsl.impl.ContentImpl <em>Content</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blogdsl.impl.ContentImpl\n\t\t * @see blogdsl.impl.BlogdslPackageImpl#getContent()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTENT = eINSTANCE.getContent();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blogdsl.impl.ParagraphImpl <em>Paragraph</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blogdsl.impl.ParagraphImpl\n\t\t * @see blogdsl.impl.BlogdslPackageImpl#getParagraph()\n\t\t * @generated\n\t\t */\n\t\tEClass PARAGRAPH = eINSTANCE.getParagraph();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Markdown Content</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 PARAGRAPH__MARKDOWN_CONTENT = eINSTANCE.getParagraph_MarkdownContent();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blogdsl.impl.ImageImpl <em>Image</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blogdsl.impl.ImageImpl\n\t\t * @see blogdsl.impl.BlogdslPackageImpl#getImage()\n\t\t * @generated\n\t\t */\n\t\tEClass IMAGE = eINSTANCE.getImage();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>File URL</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 IMAGE__FILE_URL = eINSTANCE.getImage_FileURL();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Caption</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 IMAGE__CAPTION = eINSTANCE.getImage_Caption();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link fr.ffontenoy.e4.help.model.help.impl.DefaultTocImpl <em>Toc</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see fr.ffontenoy.e4.help.model.help.impl.DefaultTocImpl\n\t\t * @see fr.ffontenoy.e4.help.model.help.impl.DefaultHelpPackageImpl#getToc()\n\t\t * @generated\n\t\t */\n\t\tEClass TOC = eINSTANCE.getToc();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Label</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 TOC__LABEL = eINSTANCE.getToc_Label();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Items</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 TOC__ITEMS = eINSTANCE.getToc_Items();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link fr.ffontenoy.e4.help.model.help.impl.DefaultTocItemImpl <em>Toc Item</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see fr.ffontenoy.e4.help.model.help.impl.DefaultTocItemImpl\n\t\t * @see fr.ffontenoy.e4.help.model.help.impl.DefaultHelpPackageImpl#getTocItem()\n\t\t * @generated\n\t\t */\n\t\tEClass TOC_ITEM = eINSTANCE.getTocItem();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id</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 TOC_ITEM__ID = eINSTANCE.getTocItem_Id();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Label</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 TOC_ITEM__LABEL = eINSTANCE.getTocItem_Label();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Href</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 TOC_ITEM__HREF = eINSTANCE.getTocItem_Href();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Sub Items</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 TOC_ITEM__SUB_ITEMS = eINSTANCE.getTocItem_SubItems();\n\n\t}", "interface Literals {\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link language.business.businessEntity.impl.BusinessEntityImpl <em>Business Entity</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see language.business.businessEntity.impl.BusinessEntityImpl\r\n\t\t * @see language.business.businessEntity.impl.BusinessEntityPackageImpl#getBusinessEntity()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass BUSINESS_ENTITY = eINSTANCE.getBusinessEntity();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link language.business.businessEntity.impl.OrganisationImpl <em>Organisation</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see language.business.businessEntity.impl.OrganisationImpl\r\n\t\t * @see language.business.businessEntity.impl.BusinessEntityPackageImpl#getOrganisation()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass ORGANISATION = eINSTANCE.getOrganisation();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link language.business.businessEntity.impl.PersonImpl <em>Person</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see language.business.businessEntity.impl.PersonImpl\r\n\t\t * @see language.business.businessEntity.impl.BusinessEntityPackageImpl#getPerson()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass PERSON = eINSTANCE.getPerson();\r\n\r\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link codegen.impl.MapEnrtyImpl <em>Map Enrty</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see codegen.impl.MapEnrtyImpl\n\t\t * @see codegen.impl.CodegenPackageImpl#getMapEnrty()\n\t\t * @generated\n\t\t */\n\t\tEClass MAP_ENRTY = eINSTANCE.getMapEnrty();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Key</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 MAP_ENRTY__KEY = eINSTANCE.getMapEnrty_Key();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</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 MAP_ENRTY__VALUE = eINSTANCE.getMapEnrty_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link codegen.impl.EntityImpl <em>Entity</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see codegen.impl.EntityImpl\n\t\t * @see codegen.impl.CodegenPackageImpl#getEntity()\n\t\t * @generated\n\t\t */\n\t\tEClass ENTITY = eINSTANCE.getEntity();\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 ENTITY__NAME = eINSTANCE.getEntity_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Attributes</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 ENTITY__ATTRIBUTES = eINSTANCE.getEntity_Attributes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Context</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 ENTITY__CONTEXT = eINSTANCE.getEntity_Context();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ref Entity</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 ENTITY__REF_ENTITY = eINSTANCE.getEntity_RefEntity();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Source Column</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ENTITY__SOURCE_COLUMN = eINSTANCE.getEntity_SourceColumn();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Destination</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ENTITY__DESTINATION = eINSTANCE.getEntity_Destination();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link codegen.impl.AttributeImpl <em>Attribute</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see codegen.impl.AttributeImpl\n\t\t * @see codegen.impl.CodegenPackageImpl#getAttribute()\n\t\t * @generated\n\t\t */\n\t\tEClass ATTRIBUTE = eINSTANCE.getAttribute();\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 ATTRIBUTE__NAME = eINSTANCE.getAttribute_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</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 ATTRIBUTE__TYPE = eINSTANCE.getAttribute_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Is Primary Key</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 ATTRIBUTE__IS_PRIMARY_KEY = eINSTANCE.getAttribute_IsPrimaryKey();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Context</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 ATTRIBUTE__CONTEXT = eINSTANCE.getAttribute_Context();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link codegen.impl.ContextImpl <em>Context</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see codegen.impl.ContextImpl\n\t\t * @see codegen.impl.CodegenPackageImpl#getContext()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTEXT = eINSTANCE.getContext();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Key</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 CONTEXT__KEY = eINSTANCE.getContext_Key();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</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 CONTEXT__VALUE = eINSTANCE.getContext_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link codegen.impl.ViewModelImpl <em>View Model</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see codegen.impl.ViewModelImpl\n\t\t * @see codegen.impl.CodegenPackageImpl#getViewModel()\n\t\t * @generated\n\t\t */\n\t\tEClass VIEW_MODEL = eINSTANCE.getViewModel();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Context</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 VIEW_MODEL__CONTEXT = eINSTANCE.getViewModel_Context();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>ID</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 VIEW_MODEL__ID = eINSTANCE.getViewModel_ID();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Entities</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 VIEW_MODEL__ENTITIES = eINSTANCE.getViewModel_Entities();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Values</b></em>' map feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference VIEW_MODEL__VALUES = eINSTANCE.getViewModel_Values();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Master</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference VIEW_MODEL__MASTER = eINSTANCE.getViewModel_Master();\n\n\t}", "interface Literals {\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link br.org.cursomde.exemplo2.questionario.impl.QuestionarioImpl <em>Questionario</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see br.org.cursomde.exemplo2.questionario.impl.QuestionarioImpl\r\n\t\t * @see br.org.cursomde.exemplo2.questionario.impl.QuestionarioPackageImpl#getQuestionario()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass QUESTIONARIO = eINSTANCE.getQuestionario();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Titulo</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute QUESTIONARIO__TITULO = eINSTANCE.getQuestionario_Titulo();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Descricao</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute QUESTIONARIO__DESCRICAO = eINSTANCE.getQuestionario_Descricao();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Tempo</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute QUESTIONARIO__TEMPO = eINSTANCE.getQuestionario_Tempo();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Perguntas</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference QUESTIONARIO__PERGUNTAS = eINSTANCE.getQuestionario_Perguntas();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link br.org.cursomde.exemplo2.questionario.impl.ItemImpl <em>Item</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see br.org.cursomde.exemplo2.questionario.impl.ItemImpl\r\n\t\t * @see br.org.cursomde.exemplo2.questionario.impl.QuestionarioPackageImpl#getItem()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass ITEM = eINSTANCE.getItem();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Inicio</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute ITEM__INICIO = eINSTANCE.getItem_Inicio();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Fim</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute ITEM__FIM = eINSTANCE.getItem_Fim();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Mensagem</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute ITEM__MENSAGEM = eINSTANCE.getItem_Mensagem();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Alternativas</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference ITEM__ALTERNATIVAS = eINSTANCE.getItem_Alternativas();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link br.org.cursomde.exemplo2.questionario.impl.RespostaImpl <em>Resposta</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see br.org.cursomde.exemplo2.questionario.impl.RespostaImpl\r\n\t\t * @see br.org.cursomde.exemplo2.questionario.impl.QuestionarioPackageImpl#getResposta()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass RESPOSTA = eINSTANCE.getResposta();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Proxima Pergunta</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference RESPOSTA__PROXIMA_PERGUNTA = eINSTANCE.getResposta_ProximaPergunta();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Texto</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute RESPOSTA__TEXTO = eINSTANCE.getResposta_Texto();\r\n\r\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link org.occiware.cloudwatch.impl.JmxImpl <em>Jmx</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.occiware.cloudwatch.impl.JmxImpl\n\t\t * @see org.occiware.cloudwatch.impl.CloudwatchPackageImpl#getJmx()\n\t\t * @generated\n\t\t */\n\t\tEClass JMX = eINSTANCE.getJmx();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Node Url</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 JMX__NODE_URL = eINSTANCE.getJmx_NodeUrl();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Credentials Path</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 JMX__CREDENTIALS_PATH = eINSTANCE.getJmx_CredentialsPath();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.occiware.cloudwatch.impl.CloudautomationmetricImpl <em>Cloudautomationmetric</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.occiware.cloudwatch.impl.CloudautomationmetricImpl\n\t\t * @see org.occiware.cloudwatch.impl.CloudwatchPackageImpl#getCloudautomationmetric()\n\t\t * @generated\n\t\t */\n\t\tEClass CLOUDAUTOMATIONMETRIC = eINSTANCE.getCloudautomationmetric();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Metric 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 CLOUDAUTOMATIONMETRIC__METRIC_NAME = eINSTANCE.getCloudautomationmetric_MetricName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Metric</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 CLOUDAUTOMATIONMETRIC__METRIC = eINSTANCE.getCloudautomationmetric_Metric();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Applies Constraint</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation CLOUDAUTOMATIONMETRIC___APPLIES_CONSTRAINT__DIAGNOSTICCHAIN_MAP_1 = eINSTANCE.getCloudautomationmetric__AppliesConstraint__DiagnosticChain_Map_1();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Applies Constraint</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation CLOUDAUTOMATIONMETRIC___APPLIES_CONSTRAINT__DIAGNOSTICCHAIN_MAP = eINSTANCE.getCloudautomationmetric__AppliesConstraint__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.occiware.cloudwatch.impl.ActionpublisherImpl <em>Actionpublisher</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.occiware.cloudwatch.impl.ActionpublisherImpl\n\t\t * @see org.occiware.cloudwatch.impl.CloudwatchPackageImpl#getActionpublisher()\n\t\t * @generated\n\t\t */\n\t\tEClass ACTIONPUBLISHER = eINSTANCE.getActionpublisher();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Action 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 ACTIONPUBLISHER__ACTION_NAME = eINSTANCE.getActionpublisher_ActionName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Applies Constraint</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation ACTIONPUBLISHER___APPLIES_CONSTRAINT__DIAGNOSTICCHAIN_MAP_1 = eINSTANCE.getActionpublisher__AppliesConstraint__DiagnosticChain_Map_1();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Applies Constraint</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation ACTIONPUBLISHER___APPLIES_CONSTRAINT__DIAGNOSTICCHAIN_MAP = eINSTANCE.getActionpublisher__AppliesConstraint__DiagnosticChain_Map();\n\n\t}", "interface Literals\n {\n /**\n * The meta object literal for the '{@link com.devoxx2012.xtext.demo1.demo1.impl.ModelImpl <em>Model</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see com.devoxx2012.xtext.demo1.demo1.impl.ModelImpl\n * @see com.devoxx2012.xtext.demo1.demo1.impl.Demo1PackageImpl#getModel()\n * @generated\n */\n EClass MODEL = eINSTANCE.getModel();\n\n /**\n * The meta object literal for the '<em><b>Categories</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference MODEL__CATEGORIES = eINSTANCE.getModel_Categories();\n\n /**\n * The meta object literal for the '<em><b>Rule</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference MODEL__RULE = eINSTANCE.getModel_Rule();\n\n /**\n * The meta object literal for the '{@link com.devoxx2012.xtext.demo1.demo1.impl.CategoryImpl <em>Category</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see com.devoxx2012.xtext.demo1.demo1.impl.CategoryImpl\n * @see com.devoxx2012.xtext.demo1.demo1.impl.Demo1PackageImpl#getCategory()\n * @generated\n */\n EClass CATEGORY = eINSTANCE.getCategory();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CATEGORY__NAME = eINSTANCE.getCategory_Name();\n\n /**\n * The meta object literal for the '{@link com.devoxx2012.xtext.demo1.demo1.impl.RuleImpl <em>Rule</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see com.devoxx2012.xtext.demo1.demo1.impl.RuleImpl\n * @see com.devoxx2012.xtext.demo1.demo1.impl.Demo1PackageImpl#getRule()\n * @generated\n */\n EClass RULE = eINSTANCE.getRule();\n\n /**\n * The meta object literal for the '<em><b>First</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference RULE__FIRST = eINSTANCE.getRule_First();\n\n /**\n * The meta object literal for the '<em><b>Next</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference RULE__NEXT = eINSTANCE.getRule_Next();\n\n /**\n * The meta object literal for the '{@link com.devoxx2012.xtext.demo1.demo1.impl.RuleExpressionImpl <em>Rule Expression</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see com.devoxx2012.xtext.demo1.demo1.impl.RuleExpressionImpl\n * @see com.devoxx2012.xtext.demo1.demo1.impl.Demo1PackageImpl#getRuleExpression()\n * @generated\n */\n EClass RULE_EXPRESSION = eINSTANCE.getRuleExpression();\n\n /**\n * The meta object literal for the '<em><b>Test</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference RULE_EXPRESSION__TEST = eINSTANCE.getRuleExpression_Test();\n\n /**\n * The meta object literal for the '<em><b>Ratio</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference RULE_EXPRESSION__RATIO = eINSTANCE.getRuleExpression_Ratio();\n\n /**\n * The meta object literal for the '{@link com.devoxx2012.xtext.demo1.demo1.impl.TestExpressionImpl <em>Test Expression</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see com.devoxx2012.xtext.demo1.demo1.impl.TestExpressionImpl\n * @see com.devoxx2012.xtext.demo1.demo1.impl.Demo1PackageImpl#getTestExpression()\n * @generated\n */\n EClass TEST_EXPRESSION = eINSTANCE.getTestExpression();\n\n /**\n * The meta object literal for the '<em><b>Category</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference TEST_EXPRESSION__CATEGORY = eINSTANCE.getTestExpression_Category();\n\n /**\n * The meta object literal for the '{@link com.devoxx2012.xtext.demo1.demo1.impl.RatioExpressionImpl <em>Ratio Expression</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see com.devoxx2012.xtext.demo1.demo1.impl.RatioExpressionImpl\n * @see com.devoxx2012.xtext.demo1.demo1.impl.Demo1PackageImpl#getRatioExpression()\n * @generated\n */\n EClass RATIO_EXPRESSION = eINSTANCE.getRatioExpression();\n\n /**\n * The meta object literal for the '<em><b>Ratio</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute RATIO_EXPRESSION__RATIO = eINSTANCE.getRatioExpression_Ratio();\n\n }", "interface Literals {\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.AvailableKeysTypeImpl <em>Available Keys Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.AvailableKeysTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getAvailableKeysType()\r\n * @generated\r\n */\r\n EClass AVAILABLE_KEYS_TYPE = eINSTANCE.getAvailableKeysType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Key</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute AVAILABLE_KEYS_TYPE__KEY = eINSTANCE.getAvailableKeysType_Key();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.AxisSubsetTypeImpl <em>Axis Subset Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.AxisSubsetTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getAxisSubsetType()\r\n * @generated\r\n */\r\n EClass AXIS_SUBSET_TYPE = eINSTANCE.getAxisSubsetType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Identifier</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute AXIS_SUBSET_TYPE__IDENTIFIER = eINSTANCE.getAxisSubsetType_Identifier();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Key</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute AXIS_SUBSET_TYPE__KEY = eINSTANCE.getAxisSubsetType_Key();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.AxisTypeImpl <em>Axis Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.AxisTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getAxisType()\r\n * @generated\r\n */\r\n EClass AXIS_TYPE = eINSTANCE.getAxisType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Available Keys</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference AXIS_TYPE__AVAILABLE_KEYS = eINSTANCE.getAxisType_AvailableKeys();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Meaning</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference AXIS_TYPE__MEANING = eINSTANCE.getAxisType_Meaning();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Data Type</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference AXIS_TYPE__DATA_TYPE = eINSTANCE.getAxisType_DataType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>UOM</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference AXIS_TYPE__UOM = eINSTANCE.getAxisType_UOM();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Reference System</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference AXIS_TYPE__REFERENCE_SYSTEM = eINSTANCE.getAxisType_ReferenceSystem();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Metadata</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference AXIS_TYPE__METADATA = eINSTANCE.getAxisType_Metadata();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Identifier</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute AXIS_TYPE__IDENTIFIER = eINSTANCE.getAxisType_Identifier();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.CapabilitiesTypeImpl <em>Capabilities Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.CapabilitiesTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getCapabilitiesType()\r\n * @generated\r\n */\r\n EClass CAPABILITIES_TYPE = eINSTANCE.getCapabilitiesType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Contents</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference CAPABILITIES_TYPE__CONTENTS = eINSTANCE.getCapabilitiesType_Contents();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.ContentsTypeImpl <em>Contents Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.ContentsTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getContentsType()\r\n * @generated\r\n */\r\n EClass CONTENTS_TYPE = eINSTANCE.getContentsType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Coverage Summary</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference CONTENTS_TYPE__COVERAGE_SUMMARY = eINSTANCE.getContentsType_CoverageSummary();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Supported CRS</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute CONTENTS_TYPE__SUPPORTED_CRS = eINSTANCE.getContentsType_SupportedCRS();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Supported Format</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute CONTENTS_TYPE__SUPPORTED_FORMAT = eINSTANCE.getContentsType_SupportedFormat();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Other Source</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference CONTENTS_TYPE__OTHER_SOURCE = eINSTANCE.getContentsType_OtherSource();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.CoverageDescriptionsTypeImpl <em>Coverage Descriptions Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.CoverageDescriptionsTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getCoverageDescriptionsType()\r\n * @generated\r\n */\r\n EClass COVERAGE_DESCRIPTIONS_TYPE = eINSTANCE.getCoverageDescriptionsType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Coverage Description</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference COVERAGE_DESCRIPTIONS_TYPE__COVERAGE_DESCRIPTION = eINSTANCE.getCoverageDescriptionsType_CoverageDescription();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.CoverageDescriptionTypeImpl <em>Coverage Description Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.CoverageDescriptionTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getCoverageDescriptionType()\r\n * @generated\r\n */\r\n EClass COVERAGE_DESCRIPTION_TYPE = eINSTANCE.getCoverageDescriptionType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Identifier</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute COVERAGE_DESCRIPTION_TYPE__IDENTIFIER = eINSTANCE.getCoverageDescriptionType_Identifier();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Metadata</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference COVERAGE_DESCRIPTION_TYPE__METADATA = eINSTANCE.getCoverageDescriptionType_Metadata();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Domain</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference COVERAGE_DESCRIPTION_TYPE__DOMAIN = eINSTANCE.getCoverageDescriptionType_Domain();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Range</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference COVERAGE_DESCRIPTION_TYPE__RANGE = eINSTANCE.getCoverageDescriptionType_Range();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Supported CRS</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute COVERAGE_DESCRIPTION_TYPE__SUPPORTED_CRS = eINSTANCE.getCoverageDescriptionType_SupportedCRS();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Supported Format</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute COVERAGE_DESCRIPTION_TYPE__SUPPORTED_FORMAT = eINSTANCE.getCoverageDescriptionType_SupportedFormat();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.CoverageDomainTypeImpl <em>Coverage Domain Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.CoverageDomainTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getCoverageDomainType()\r\n * @generated\r\n */\r\n EClass COVERAGE_DOMAIN_TYPE = eINSTANCE.getCoverageDomainType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Spatial Domain</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference COVERAGE_DOMAIN_TYPE__SPATIAL_DOMAIN = eINSTANCE.getCoverageDomainType_SpatialDomain();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Temporal Domain</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference COVERAGE_DOMAIN_TYPE__TEMPORAL_DOMAIN = eINSTANCE.getCoverageDomainType_TemporalDomain();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.CoveragesTypeImpl <em>Coverages Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.CoveragesTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getCoveragesType()\r\n * @generated\r\n */\r\n EClass COVERAGES_TYPE = eINSTANCE.getCoveragesType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Coverage</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference COVERAGES_TYPE__COVERAGE = eINSTANCE.getCoveragesType_Coverage();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.CoverageSummaryTypeImpl <em>Coverage Summary Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.CoverageSummaryTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getCoverageSummaryType()\r\n * @generated\r\n */\r\n EClass COVERAGE_SUMMARY_TYPE = eINSTANCE.getCoverageSummaryType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Metadata</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference COVERAGE_SUMMARY_TYPE__METADATA = eINSTANCE.getCoverageSummaryType_Metadata();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>WGS84 Bounding Box</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference COVERAGE_SUMMARY_TYPE__WGS84_BOUNDING_BOX = eINSTANCE.getCoverageSummaryType_WGS84BoundingBox();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Supported CRS</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute COVERAGE_SUMMARY_TYPE__SUPPORTED_CRS = eINSTANCE.getCoverageSummaryType_SupportedCRS();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Supported Format</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute COVERAGE_SUMMARY_TYPE__SUPPORTED_FORMAT = eINSTANCE.getCoverageSummaryType_SupportedFormat();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Coverage Summary</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference COVERAGE_SUMMARY_TYPE__COVERAGE_SUMMARY = eINSTANCE.getCoverageSummaryType_CoverageSummary();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Identifier</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute COVERAGE_SUMMARY_TYPE__IDENTIFIER = eINSTANCE.getCoverageSummaryType_Identifier();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Identifier1</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute COVERAGE_SUMMARY_TYPE__IDENTIFIER1 = eINSTANCE.getCoverageSummaryType_Identifier1();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.DescribeCoverageTypeImpl <em>Describe Coverage Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.DescribeCoverageTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getDescribeCoverageType()\r\n * @generated\r\n */\r\n EClass DESCRIBE_COVERAGE_TYPE = eINSTANCE.getDescribeCoverageType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Identifier</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute DESCRIBE_COVERAGE_TYPE__IDENTIFIER = eINSTANCE.getDescribeCoverageType_Identifier();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.DocumentRootImpl <em>Document Root</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.DocumentRootImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getDocumentRoot()\r\n * @generated\r\n */\r\n EClass DOCUMENT_ROOT = eINSTANCE.getDocumentRoot();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute DOCUMENT_ROOT__MIXED = eINSTANCE.getDocumentRoot_Mixed();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>XMLNS Prefix Map</b></em>' map feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__XMLNS_PREFIX_MAP = eINSTANCE.getDocumentRoot_XMLNSPrefixMap();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>XSI Schema Location</b></em>' map feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = eINSTANCE.getDocumentRoot_XSISchemaLocation();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Available Keys</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__AVAILABLE_KEYS = eINSTANCE.getDocumentRoot_AvailableKeys();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Axis Subset</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__AXIS_SUBSET = eINSTANCE.getDocumentRoot_AxisSubset();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Capabilities</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__CAPABILITIES = eINSTANCE.getDocumentRoot_Capabilities();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Contents</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__CONTENTS = eINSTANCE.getDocumentRoot_Contents();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Coverage</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__COVERAGE = eINSTANCE.getDocumentRoot_Coverage();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Coverage Descriptions</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__COVERAGE_DESCRIPTIONS = eINSTANCE.getDocumentRoot_CoverageDescriptions();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Coverages</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__COVERAGES = eINSTANCE.getDocumentRoot_Coverages();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Coverage Summary</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__COVERAGE_SUMMARY = eINSTANCE.getDocumentRoot_CoverageSummary();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Describe Coverage</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__DESCRIBE_COVERAGE = eINSTANCE.getDocumentRoot_DescribeCoverage();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Get Capabilities</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__GET_CAPABILITIES = eINSTANCE.getDocumentRoot_GetCapabilities();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Get Coverage</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__GET_COVERAGE = eINSTANCE.getDocumentRoot_GetCoverage();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Grid Base CRS</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute DOCUMENT_ROOT__GRID_BASE_CRS = eINSTANCE.getDocumentRoot_GridBaseCRS();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Grid CRS</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__GRID_CRS = eINSTANCE.getDocumentRoot_GridCRS();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Grid CS</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute DOCUMENT_ROOT__GRID_CS = eINSTANCE.getDocumentRoot_GridCS();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Grid Offsets</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute DOCUMENT_ROOT__GRID_OFFSETS = eINSTANCE.getDocumentRoot_GridOffsets();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Grid Origin</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute DOCUMENT_ROOT__GRID_ORIGIN = eINSTANCE.getDocumentRoot_GridOrigin();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Grid Type</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute DOCUMENT_ROOT__GRID_TYPE = eINSTANCE.getDocumentRoot_GridType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Identifier</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute DOCUMENT_ROOT__IDENTIFIER = eINSTANCE.getDocumentRoot_Identifier();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Interpolation Methods</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__INTERPOLATION_METHODS = eINSTANCE.getDocumentRoot_InterpolationMethods();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Temporal Domain</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__TEMPORAL_DOMAIN = eINSTANCE.getDocumentRoot_TemporalDomain();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Temporal Subset</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOCUMENT_ROOT__TEMPORAL_SUBSET = eINSTANCE.getDocumentRoot_TemporalSubset();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.DomainSubsetTypeImpl <em>Domain Subset Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.DomainSubsetTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getDomainSubsetType()\r\n * @generated\r\n */\r\n EClass DOMAIN_SUBSET_TYPE = eINSTANCE.getDomainSubsetType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Bounding Box Group</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute DOMAIN_SUBSET_TYPE__BOUNDING_BOX_GROUP = eINSTANCE.getDomainSubsetType_BoundingBoxGroup();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Bounding Box</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOMAIN_SUBSET_TYPE__BOUNDING_BOX = eINSTANCE.getDomainSubsetType_BoundingBox();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Temporal Subset</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DOMAIN_SUBSET_TYPE__TEMPORAL_SUBSET = eINSTANCE.getDomainSubsetType_TemporalSubset();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.FieldSubsetTypeImpl <em>Field Subset Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.FieldSubsetTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getFieldSubsetType()\r\n * @generated\r\n */\r\n EClass FIELD_SUBSET_TYPE = eINSTANCE.getFieldSubsetType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Identifier</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference FIELD_SUBSET_TYPE__IDENTIFIER = eINSTANCE.getFieldSubsetType_Identifier();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Interpolation Type</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute FIELD_SUBSET_TYPE__INTERPOLATION_TYPE = eINSTANCE.getFieldSubsetType_InterpolationType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Axis Subset</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference FIELD_SUBSET_TYPE__AXIS_SUBSET = eINSTANCE.getFieldSubsetType_AxisSubset();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.FieldTypeImpl <em>Field Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.FieldTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getFieldType()\r\n * @generated\r\n */\r\n EClass FIELD_TYPE = eINSTANCE.getFieldType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Identifier</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute FIELD_TYPE__IDENTIFIER = eINSTANCE.getFieldType_Identifier();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Definition</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference FIELD_TYPE__DEFINITION = eINSTANCE.getFieldType_Definition();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Null Value</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference FIELD_TYPE__NULL_VALUE = eINSTANCE.getFieldType_NullValue();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Interpolation Methods</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference FIELD_TYPE__INTERPOLATION_METHODS = eINSTANCE.getFieldType_InterpolationMethods();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Axis</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference FIELD_TYPE__AXIS = eINSTANCE.getFieldType_Axis();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.GetCapabilitiesTypeImpl <em>Get Capabilities Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.GetCapabilitiesTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getGetCapabilitiesType()\r\n * @generated\r\n */\r\n EClass GET_CAPABILITIES_TYPE = eINSTANCE.getGetCapabilitiesType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Service</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute GET_CAPABILITIES_TYPE__SERVICE = eINSTANCE.getGetCapabilitiesType_Service();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.GetCoverageTypeImpl <em>Get Coverage Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.GetCoverageTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getGetCoverageType()\r\n * @generated\r\n */\r\n EClass GET_COVERAGE_TYPE = eINSTANCE.getGetCoverageType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Identifier</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference GET_COVERAGE_TYPE__IDENTIFIER = eINSTANCE.getGetCoverageType_Identifier();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Domain Subset</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference GET_COVERAGE_TYPE__DOMAIN_SUBSET = eINSTANCE.getGetCoverageType_DomainSubset();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Range Subset</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference GET_COVERAGE_TYPE__RANGE_SUBSET = eINSTANCE.getGetCoverageType_RangeSubset();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Output</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference GET_COVERAGE_TYPE__OUTPUT = eINSTANCE.getGetCoverageType_Output();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.GridCrsTypeImpl <em>Grid Crs Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.GridCrsTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getGridCrsType()\r\n * @generated\r\n */\r\n EClass GRID_CRS_TYPE = eINSTANCE.getGridCrsType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Srs Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute GRID_CRS_TYPE__SRS_NAME = eINSTANCE.getGridCrsType_SrsName();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Grid Base CRS</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute GRID_CRS_TYPE__GRID_BASE_CRS = eINSTANCE.getGridCrsType_GridBaseCRS();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Grid Type</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute GRID_CRS_TYPE__GRID_TYPE = eINSTANCE.getGridCrsType_GridType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Grid Origin</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute GRID_CRS_TYPE__GRID_ORIGIN = eINSTANCE.getGridCrsType_GridOrigin();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Grid Offsets</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute GRID_CRS_TYPE__GRID_OFFSETS = eINSTANCE.getGridCrsType_GridOffsets();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Grid CS</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute GRID_CRS_TYPE__GRID_CS = eINSTANCE.getGridCrsType_GridCS();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute GRID_CRS_TYPE__ID = eINSTANCE.getGridCrsType_Id();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.ImageCRSRefTypeImpl <em>Image CRS Ref Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.ImageCRSRefTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getImageCRSRefType()\r\n * @generated\r\n */\r\n EClass IMAGE_CRS_REF_TYPE = eINSTANCE.getImageCRSRefType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Image CRS</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute IMAGE_CRS_REF_TYPE__IMAGE_CRS = eINSTANCE.getImageCRSRefType_ImageCRS();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.InterpolationMethodBaseTypeImpl <em>Interpolation Method Base Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.InterpolationMethodBaseTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getInterpolationMethodBaseType()\r\n * @generated\r\n */\r\n EClass INTERPOLATION_METHOD_BASE_TYPE = eINSTANCE.getInterpolationMethodBaseType();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.InterpolationMethodsTypeImpl <em>Interpolation Methods Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.InterpolationMethodsTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getInterpolationMethodsType()\r\n * @generated\r\n */\r\n EClass INTERPOLATION_METHODS_TYPE = eINSTANCE.getInterpolationMethodsType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Interpolation Method</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference INTERPOLATION_METHODS_TYPE__INTERPOLATION_METHOD = eINSTANCE.getInterpolationMethodsType_InterpolationMethod();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Default</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute INTERPOLATION_METHODS_TYPE__DEFAULT = eINSTANCE.getInterpolationMethodsType_Default();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.InterpolationMethodTypeImpl <em>Interpolation Method Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.InterpolationMethodTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getInterpolationMethodType()\r\n * @generated\r\n */\r\n EClass INTERPOLATION_METHOD_TYPE = eINSTANCE.getInterpolationMethodType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Null Resistance</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute INTERPOLATION_METHOD_TYPE__NULL_RESISTANCE = eINSTANCE.getInterpolationMethodType_NullResistance();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.OutputTypeImpl <em>Output Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.OutputTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getOutputType()\r\n * @generated\r\n */\r\n EClass OUTPUT_TYPE = eINSTANCE.getOutputType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Grid CRS</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference OUTPUT_TYPE__GRID_CRS = eINSTANCE.getOutputType_GridCRS();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Format</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute OUTPUT_TYPE__FORMAT = eINSTANCE.getOutputType_Format();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Store</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute OUTPUT_TYPE__STORE = eINSTANCE.getOutputType_Store();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.RangeSubsetTypeImpl <em>Range Subset Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.RangeSubsetTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getRangeSubsetType()\r\n * @generated\r\n */\r\n EClass RANGE_SUBSET_TYPE = eINSTANCE.getRangeSubsetType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Field Subset</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference RANGE_SUBSET_TYPE__FIELD_SUBSET = eINSTANCE.getRangeSubsetType_FieldSubset();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.RangeTypeImpl <em>Range Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.RangeTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getRangeType()\r\n * @generated\r\n */\r\n EClass RANGE_TYPE = eINSTANCE.getRangeType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Field</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference RANGE_TYPE__FIELD = eINSTANCE.getRangeType_Field();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.RequestBaseTypeImpl <em>Request Base Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.RequestBaseTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getRequestBaseType()\r\n * @generated\r\n */\r\n EClass REQUEST_BASE_TYPE = eINSTANCE.getRequestBaseType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Service</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute REQUEST_BASE_TYPE__SERVICE = eINSTANCE.getRequestBaseType_Service();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Version</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute REQUEST_BASE_TYPE__VERSION = eINSTANCE.getRequestBaseType_Version();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Base Url</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute REQUEST_BASE_TYPE__BASE_URL = eINSTANCE.getRequestBaseType_BaseUrl();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.SpatialDomainTypeImpl <em>Spatial Domain Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.SpatialDomainTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getSpatialDomainType()\r\n * @generated\r\n */\r\n EClass SPATIAL_DOMAIN_TYPE = eINSTANCE.getSpatialDomainType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Bounding Box Group</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute SPATIAL_DOMAIN_TYPE__BOUNDING_BOX_GROUP = eINSTANCE.getSpatialDomainType_BoundingBoxGroup();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Bounding Box</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference SPATIAL_DOMAIN_TYPE__BOUNDING_BOX = eINSTANCE.getSpatialDomainType_BoundingBox();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Grid CRS</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference SPATIAL_DOMAIN_TYPE__GRID_CRS = eINSTANCE.getSpatialDomainType_GridCRS();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Transformation</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute SPATIAL_DOMAIN_TYPE__TRANSFORMATION = eINSTANCE.getSpatialDomainType_Transformation();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Image CRS</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference SPATIAL_DOMAIN_TYPE__IMAGE_CRS = eINSTANCE.getSpatialDomainType_ImageCRS();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Polygon</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute SPATIAL_DOMAIN_TYPE__POLYGON = eINSTANCE.getSpatialDomainType_Polygon();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.TimePeriodTypeImpl <em>Time Period Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.TimePeriodTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getTimePeriodType()\r\n * @generated\r\n */\r\n EClass TIME_PERIOD_TYPE = eINSTANCE.getTimePeriodType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Begin Position</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute TIME_PERIOD_TYPE__BEGIN_POSITION = eINSTANCE.getTimePeriodType_BeginPosition();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>End Position</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute TIME_PERIOD_TYPE__END_POSITION = eINSTANCE.getTimePeriodType_EndPosition();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Time Resolution</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute TIME_PERIOD_TYPE__TIME_RESOLUTION = eINSTANCE.getTimePeriodType_TimeResolution();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Frame</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute TIME_PERIOD_TYPE__FRAME = eINSTANCE.getTimePeriodType_Frame();\r\n\r\n /**\r\n * The meta object literal for the '{@link net.opengis.wcs11.impl.TimeSequenceTypeImpl <em>Time Sequence Type</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see net.opengis.wcs11.impl.TimeSequenceTypeImpl\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getTimeSequenceType()\r\n * @generated\r\n */\r\n EClass TIME_SEQUENCE_TYPE = eINSTANCE.getTimeSequenceType();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Group</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute TIME_SEQUENCE_TYPE__GROUP = eINSTANCE.getTimeSequenceType_Group();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Time Position</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute TIME_SEQUENCE_TYPE__TIME_POSITION = eINSTANCE.getTimeSequenceType_TimePosition();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Time Period</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference TIME_SEQUENCE_TYPE__TIME_PERIOD = eINSTANCE.getTimeSequenceType_TimePeriod();\r\n\r\n /**\r\n * The meta object literal for the '<em>Identifier Type</em>' data type.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see java.lang.String\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getIdentifierType()\r\n * @generated\r\n */\r\n EDataType IDENTIFIER_TYPE = eINSTANCE.getIdentifierType();\r\n\r\n /**\r\n * The meta object literal for the '<em>Interpolation Method Base Type Base</em>' data type.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see java.lang.String\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getInterpolationMethodBaseTypeBase()\r\n * @generated\r\n */\r\n EDataType INTERPOLATION_METHOD_BASE_TYPE_BASE = eINSTANCE.getInterpolationMethodBaseTypeBase();\r\n\r\n /**\r\n * The meta object literal for the '<em>Time Duration Type</em>' data type.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see java.lang.Object\r\n * @see net.opengis.wcs11.impl.Wcs111PackageImpl#getTimeDurationType()\r\n * @generated\r\n */\r\n EDataType TIME_DURATION_TYPE = eINSTANCE.getTimeDurationType();\r\n\r\n }", "public LiteralRegistry() {\n addEntry(new Entry(SkriptPattern.parse(\"biome[s]\"), BiomeRegistry.Entry.class));\n addEntry(new Entry(SkriptPattern.parse(\"boolean[s]\"), boolean.class));\n addEntry(new Entry(SkriptPattern.parse(\"cat[ ](type|race)[s]\"), CatType.class));\n addEntry(new Entry(SkriptPattern.parse(\"click[ ]type[s]\"), ClickType.class));\n addEntry(new Entry(SkriptPattern.parse(\"colo[u]r[s]\"), Color.class));\n addEntry(new Entry(SkriptPattern.parse(\"damage[ ]cause[s]\"), DamageCause.class));\n addEntry(new Entry(SkriptPattern.parse(\"enchantment[s]\"), Enchantment.class));\n addEntry(new Entry(SkriptPattern.parse(\"experience[ ][point[s]]\"), Experience.class));\n addEntry(new Entry(SkriptPattern.parse(\"firework[ ]type[s]\"), FireworkType.class));\n addEntry(new Entry(SkriptPattern.parse(\"game[ ]mode[s]\"), GameMode.class));\n addEntry(new Entry(SkriptPattern.parse(\"[panda] gene[s]\"), Gene.class));\n addEntry(new Entry(SkriptPattern.parse(\"inventory[ ]action[s]\"), InventoryAction.class));\n addEntry(new Entry(SkriptPattern.parse(\"inventory[ ]type[s]\"), InventoryTypeRegistry.Entry.class));\n addEntry(new Entry(SkriptPattern.parse(\"(item[ ]type[s]|items|materials)\"), ItemType.class));\n addEntry(new Entry(SkriptPattern.parse(\"(item|material)\"), Item.class));\n addEntry(new Entry(SkriptPattern.parse(\"num[ber][s]\"), Number.class));\n addEntry(new Entry(SkriptPattern.parse(\"resource[ ]pack[ ]state[s]\"), ResourcePackStatus.class));\n addEntry(new Entry(SkriptPattern.parse(\"sound[ ]categor(y|ies)\"), SoundCategory.class));\n addEntry(new Entry(SkriptPattern.parse(\"spawn[ing][ ]reason[s]\"), SpawnReason.class));\n addEntry(new Entry(SkriptPattern.parse(\"potion[[ ]effect][ ]type[s]\"), StatusEffectType.class));\n addEntry(new Entry(SkriptPattern.parse(\"(text|string)[s]\"), Text.class));\n addEntry(new Entry(SkriptPattern.parse(\"teleport[ ](cause|reason|type)[s]\"), TeleportCause.class));\n addEntry(new Entry(SkriptPattern.parse(\"time[s]\"), Time.class));\n addEntry(new Entry(SkriptPattern.parse(\"(time[ ]period|duration)[s]\"), TimePeriod.class));\n addEntry(new Entry(SkriptPattern.parse(\"time[ ]span[s]\"), TimeSpan.class));\n addEntry(new Entry(SkriptPattern.parse(\"(tree[ ]type|tree)[s]\"), TreeType.class));\n addEntry(new Entry(SkriptPattern.parse(\"visual effect\"), VisualEffectRegistry.Entry.class));\n }", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link net.certware.verification.checklist.impl.CategoryImpl <em>Category</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.certware.verification.checklist.impl.CategoryImpl\n\t\t * @see net.certware.verification.checklist.impl.ChecklistPackageImpl#getCategory()\n\t\t * @generated\n\t\t */\n\t\tEClass CATEGORY = eINSTANCE.getCategory();\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 CATEGORY__NAME = eINSTANCE.getCategory_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Items</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 CATEGORY__ITEMS = eINSTANCE.getCategory_Items();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Comment</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 CATEGORY__COMMENT = eINSTANCE.getCategory_Comment();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.certware.verification.checklist.impl.ItemImpl <em>Item</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.certware.verification.checklist.impl.ItemImpl\n\t\t * @see net.certware.verification.checklist.impl.ChecklistPackageImpl#getItem()\n\t\t * @generated\n\t\t */\n\t\tEClass ITEM = eINSTANCE.getItem();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Identifier</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 ITEM__IDENTIFIER = eINSTANCE.getItem_Identifier();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</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 ITEM__DESCRIPTION = eINSTANCE.getItem_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Reference</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 ITEM__REFERENCE = eINSTANCE.getItem_Reference();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Result</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 ITEM__RESULT = eINSTANCE.getItem_Result();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Comment</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 ITEM__COMMENT = eINSTANCE.getItem_Comment();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.certware.verification.checklist.impl.ChecklistImpl <em>Checklist</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.certware.verification.checklist.impl.ChecklistImpl\n\t\t * @see net.certware.verification.checklist.impl.ChecklistPackageImpl#getChecklist()\n\t\t * @generated\n\t\t */\n\t\tEClass CHECKLIST = eINSTANCE.getChecklist();\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 CHECKLIST__NAME = eINSTANCE.getChecklist_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Version</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 CHECKLIST__VERSION = eINSTANCE.getChecklist_Version();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Categories</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 CHECKLIST__CATEGORIES = eINSTANCE.getChecklist_Categories();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Comment</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 CHECKLIST__COMMENT = eINSTANCE.getChecklist_Comment();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link net.certware.verification.checklist.Choices <em>Choices</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see net.certware.verification.checklist.Choices\n\t\t * @see net.certware.verification.checklist.impl.ChecklistPackageImpl#getChoices()\n\t\t * @generated\n\t\t */\n\t\tEEnum CHOICES = eINSTANCE.getChoices();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link rMSAS.architecturalModel.impl.ArchitecturalRefactoringImpl <em>Architectural Refactoring</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see rMSAS.architecturalModel.impl.ArchitecturalRefactoringImpl\n\t\t * @see rMSAS.architecturalModel.impl.ArchitecturalModelPackageImpl#getArchitecturalRefactoring()\n\t\t * @generated\n\t\t */\n\t\tEClass ARCHITECTURAL_REFACTORING = eINSTANCE.getArchitecturalRefactoring();\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 ARCHITECTURAL_REFACTORING__NAME = eINSTANCE.getArchitecturalRefactoring_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Smell</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 ARCHITECTURAL_REFACTORING__SMELL = eINSTANCE.getArchitecturalRefactoring_Smell();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Engine</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 ARCHITECTURAL_REFACTORING__ENGINE = eINSTANCE.getArchitecturalRefactoring_Engine();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</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 ARCHITECTURAL_REFACTORING__DESCRIPTION = eINSTANCE.getArchitecturalRefactoring_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Architectural Operation</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 ARCHITECTURAL_REFACTORING__ARCHITECTURAL_OPERATION = eINSTANCE.getArchitecturalRefactoring_ArchitecturalOperation();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link rMSAS.architecturalModel.impl.AbstractArchitecturalOperationImpl <em>Abstract Architectural Operation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see rMSAS.architecturalModel.impl.AbstractArchitecturalOperationImpl\n\t\t * @see rMSAS.architecturalModel.impl.ArchitecturalModelPackageImpl#getAbstractArchitecturalOperation()\n\t\t * @generated\n\t\t */\n\t\tEClass ABSTRACT_ARCHITECTURAL_OPERATION = eINSTANCE.getAbstractArchitecturalOperation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</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 ABSTRACT_ARCHITECTURAL_OPERATION__DESCRIPTION = eINSTANCE.getAbstractArchitecturalOperation_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Code Operation</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 ABSTRACT_ARCHITECTURAL_OPERATION__CODE_OPERATION = eINSTANCE.getAbstractArchitecturalOperation_CodeOperation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Condition</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ABSTRACT_ARCHITECTURAL_OPERATION__CONDITION = eINSTANCE.getAbstractArchitecturalOperation_Condition();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link rMSAS.architecturalModel.impl.MoveImpl <em>Move</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see rMSAS.architecturalModel.impl.MoveImpl\n\t\t * @see rMSAS.architecturalModel.impl.ArchitecturalModelPackageImpl#getMove()\n\t\t * @generated\n\t\t */\n\t\tEClass MOVE = eINSTANCE.getMove();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference MOVE__FROM = eINSTANCE.getMove_From();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>To</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference MOVE__TO = eINSTANCE.getMove_To();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Abstraction</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference MOVE__ABSTRACTION = eINSTANCE.getMove_Abstraction();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link rMSAS.architecturalModel.impl.CreateImpl <em>Create</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see rMSAS.architecturalModel.impl.CreateImpl\n\t\t * @see rMSAS.architecturalModel.impl.ArchitecturalModelPackageImpl#getCreate()\n\t\t * @generated\n\t\t */\n\t\tEClass CREATE = eINSTANCE.getCreate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>In</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CREATE__IN = eINSTANCE.getCreate_In();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Abstraction</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 CREATE__ABSTRACTION = eINSTANCE.getCreate_Abstraction();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link rMSAS.architecturalModel.impl.DeleteImpl <em>Delete</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see rMSAS.architecturalModel.impl.DeleteImpl\n\t\t * @see rMSAS.architecturalModel.impl.ArchitecturalModelPackageImpl#getDelete()\n\t\t * @generated\n\t\t */\n\t\tEClass DELETE = eINSTANCE.getDelete();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DELETE__FROM = eINSTANCE.getDelete_From();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Abstraction</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DELETE__ABSTRACTION = eINSTANCE.getDelete_Abstraction();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link NeoEpsilon.impl.ShelfImpl <em>Shelf</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see NeoEpsilon.impl.ShelfImpl\n\t\t * @see NeoEpsilon.impl.NeoEpsilonPackageImpl#getShelf()\n\t\t * @generated\n\t\t */\n\t\tEClass SHELF = eINSTANCE.getShelf();\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 SHELF__NAME = eINSTANCE.getShelf_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Boxes</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 SHELF__BOXES = eINSTANCE.getShelf_Boxes();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link NeoEpsilon.impl.BoxImpl <em>Box</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see NeoEpsilon.impl.BoxImpl\n\t\t * @see NeoEpsilon.impl.NeoEpsilonPackageImpl#getBox()\n\t\t * @generated\n\t\t */\n\t\tEClass BOX = eINSTANCE.getBox();\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 BOX__NAME = eINSTANCE.getBox_Name();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link cbpmni.impl.ProcessInstImpl <em>Process Inst</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cbpmni.impl.ProcessInstImpl\n\t\t * @see cbpmni.impl.CbpmniPackageImpl#getProcessInst()\n\t\t * @generated\n\t\t */\n\t\tEClass PROCESS_INST = eINSTANCE.getProcessInst();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Process Def</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference PROCESS_INST__PROCESS_DEF = eINSTANCE.getProcessInst_ProcessDef();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Tokens</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 PROCESS_INST__TOKENS = eINSTANCE.getProcessInst_Tokens();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Flow Nodes</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 PROCESS_INST__FLOW_NODES = eINSTANCE.getProcessInst_FlowNodes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Setup Process Instance</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation PROCESS_INST___SETUP_PROCESS_INSTANCE = eINSTANCE.getProcessInst__SetupProcessInstance();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cbpmni.impl.FlowNodeInstImpl <em>Flow Node Inst</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cbpmni.impl.FlowNodeInstImpl\n\t\t * @see cbpmni.impl.CbpmniPackageImpl#getFlowNodeInst()\n\t\t * @generated\n\t\t */\n\t\tEClass FLOW_NODE_INST = eINSTANCE.getFlowNodeInst();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Node Def</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference FLOW_NODE_INST__NODE_DEF = eINSTANCE.getFlowNodeInst_NodeDef();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Status</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 FLOW_NODE_INST__STATUS = eINSTANCE.getFlowNodeInst_Status();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Next</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference FLOW_NODE_INST__NEXT = eINSTANCE.getFlowNodeInst_Next();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>EOperation0</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation FLOW_NODE_INST___EOPERATION0 = eINSTANCE.getFlowNodeInst__EOperation0();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cbpmni.impl.ActivityInstImpl <em>Activity Inst</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cbpmni.impl.ActivityInstImpl\n\t\t * @see cbpmni.impl.CbpmniPackageImpl#getActivityInst()\n\t\t * @generated\n\t\t */\n\t\tEClass ACTIVITY_INST = eINSTANCE.getActivityInst();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Inputs</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 ACTIVITY_INST__INPUTS = eINSTANCE.getActivityInst_Inputs();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Outputs</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 ACTIVITY_INST__OUTPUTS = eINSTANCE.getActivityInst_Outputs();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Preconditions</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 ACTIVITY_INST__PRECONDITIONS = eINSTANCE.getActivityInst_Preconditions();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Postconditions</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 ACTIVITY_INST__POSTCONDITIONS = eINSTANCE.getActivityInst_Postconditions();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cbpmni.impl.EventInstImpl <em>Event Inst</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cbpmni.impl.EventInstImpl\n\t\t * @see cbpmni.impl.CbpmniPackageImpl#getEventInst()\n\t\t * @generated\n\t\t */\n\t\tEClass EVENT_INST = eINSTANCE.getEventInst();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cbpmni.impl.SplitInstImpl <em>Split Inst</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cbpmni.impl.SplitInstImpl\n\t\t * @see cbpmni.impl.CbpmniPackageImpl#getSplitInst()\n\t\t * @generated\n\t\t */\n\t\tEClass SPLIT_INST = eINSTANCE.getSplitInst();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Branches</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 SPLIT_INST__BRANCHES = eINSTANCE.getSplitInst_Branches();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cbpmni.impl.BranchInstImpl <em>Branch Inst</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cbpmni.impl.BranchInstImpl\n\t\t * @see cbpmni.impl.CbpmniPackageImpl#getBranchInst()\n\t\t * @generated\n\t\t */\n\t\tEClass BRANCH_INST = eINSTANCE.getBranchInst();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Branch Def</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference BRANCH_INST__BRANCH_DEF = eINSTANCE.getBranchInst_BranchDef();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cbpmni.impl.ConstraintInstImpl <em>Constraint Inst</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cbpmni.impl.ConstraintInstImpl\n\t\t * @see cbpmni.impl.CbpmniPackageImpl#getConstraintInst()\n\t\t * @generated\n\t\t */\n\t\tEClass CONSTRAINT_INST = eINSTANCE.getConstraintInst();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Extension</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 CONSTRAINT_INST__EXTENSION = eINSTANCE.getConstraintInst_Extension();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Constraint Def</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONSTRAINT_INST__CONSTRAINT_DEF = eINSTANCE.getConstraintInst_ConstraintDef();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cbpmni.FlowNodeStatusType <em>Flow Node Status Type</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cbpmni.FlowNodeStatusType\n\t\t * @see cbpmni.impl.CbpmniPackageImpl#getFlowNodeStatusType()\n\t\t * @generated\n\t\t */\n\t\tEEnum FLOW_NODE_STATUS_TYPE = eINSTANCE.getFlowNodeStatusType();\n\n\t}", "interface Literals\r\n {\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.ModelImpl <em>Model</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.ModelImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getModel()\r\n * @generated\r\n */\r\n EClass MODEL = eINSTANCE.getModel();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Statements</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference MODEL__STATEMENTS = eINSTANCE.getModel_Statements();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.StatementImpl <em>Statement</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.StatementImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getStatement()\r\n * @generated\r\n */\r\n EClass STATEMENT = eINSTANCE.getStatement();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute STATEMENT__NAME = eINSTANCE.getStatement_Name();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.ClassDeclImpl <em>Class Decl</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.ClassDeclImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getClassDecl()\r\n * @generated\r\n */\r\n EClass CLASS_DECL = eINSTANCE.getClassDecl();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Inherits</b></em>' reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference CLASS_DECL__INHERITS = eINSTANCE.getClassDecl_Inherits();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Sections</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference CLASS_DECL__SECTIONS = eINSTANCE.getClassDecl_Sections();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.ClassMemberImpl <em>Class Member</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.ClassMemberImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getClassMember()\r\n * @generated\r\n */\r\n EClass CLASS_MEMBER = eINSTANCE.getClassMember();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute CLASS_MEMBER__NAME = eINSTANCE.getClassMember_Name();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.ClassSectionDeclImpl <em>Class Section Decl</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.ClassSectionDeclImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getClassSectionDecl()\r\n * @generated\r\n */\r\n EClass CLASS_SECTION_DECL = eINSTANCE.getClassSectionDecl();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Visibility</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference CLASS_SECTION_DECL__VISIBILITY = eINSTANCE.getClassSectionDecl_Visibility();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Members</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference CLASS_SECTION_DECL__MEMBERS = eINSTANCE.getClassSectionDecl_Members();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.VisibilityDeclImpl <em>Visibility Decl</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.VisibilityDeclImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getVisibilityDecl()\r\n * @generated\r\n */\r\n EClass VISIBILITY_DECL = eINSTANCE.getVisibilityDecl();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Visibility</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute VISIBILITY_DECL__VISIBILITY = eINSTANCE.getVisibilityDecl_Visibility();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.MethodDeclImpl <em>Method Decl</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.MethodDeclImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getMethodDecl()\r\n * @generated\r\n */\r\n EClass METHOD_DECL = eINSTANCE.getMethodDecl();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Return Type</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute METHOD_DECL__RETURN_TYPE = eINSTANCE.getMethodDecl_ReturnType();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.AttributeDeclImpl <em>Attribute Decl</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.AttributeDeclImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getAttributeDecl()\r\n * @generated\r\n */\r\n EClass ATTRIBUTE_DECL = eINSTANCE.getAttributeDecl();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Type</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute ATTRIBUTE_DECL__TYPE = eINSTANCE.getAttributeDecl_Type();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.AssociationDeclImpl <em>Association Decl</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.AssociationDeclImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getAssociationDecl()\r\n * @generated\r\n */\r\n EClass ASSOCIATION_DECL = eINSTANCE.getAssociationDecl();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Type</b></em>' reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference ASSOCIATION_DECL__TYPE = eINSTANCE.getAssociationDecl_Type();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.SequenceDeclImpl <em>Sequence Decl</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.SequenceDeclImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getSequenceDecl()\r\n * @generated\r\n */\r\n EClass SEQUENCE_DECL = eINSTANCE.getSequenceDecl();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Sections</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference SEQUENCE_DECL__SECTIONS = eINSTANCE.getSequenceDecl_Sections();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.SequenceSectionDeclImpl <em>Sequence Section Decl</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.SequenceSectionDeclImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getSequenceSectionDecl()\r\n * @generated\r\n */\r\n EClass SEQUENCE_SECTION_DECL = eINSTANCE.getSequenceSectionDecl();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.ActorSectionDeclImpl <em>Actor Section Decl</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.ActorSectionDeclImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getActorSectionDecl()\r\n * @generated\r\n */\r\n EClass ACTOR_SECTION_DECL = eINSTANCE.getActorSectionDecl();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Actors</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference ACTOR_SECTION_DECL__ACTORS = eINSTANCE.getActorSectionDecl_Actors();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.MessageSectionDeclImpl <em>Message Section Decl</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.MessageSectionDeclImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getMessageSectionDecl()\r\n * @generated\r\n */\r\n EClass MESSAGE_SECTION_DECL = eINSTANCE.getMessageSectionDecl();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Messages</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference MESSAGE_SECTION_DECL__MESSAGES = eINSTANCE.getMessageSectionDecl_Messages();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.ActorDeclImpl <em>Actor Decl</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.ActorDeclImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getActorDecl()\r\n * @generated\r\n */\r\n EClass ACTOR_DECL = eINSTANCE.getActorDecl();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute ACTOR_DECL__NAME = eINSTANCE.getActorDecl_Name();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Class Ref</b></em>' reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference ACTOR_DECL__CLASS_REF = eINSTANCE.getActorDecl_ClassRef();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.impl.MessageDeclImpl <em>Message Decl</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.impl.MessageDeclImpl\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getMessageDecl()\r\n * @generated\r\n */\r\n EClass MESSAGE_DECL = eINSTANCE.getMessageDecl();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute MESSAGE_DECL__NAME = eINSTANCE.getMessageDecl_Name();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Left Op</b></em>' reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference MESSAGE_DECL__LEFT_OP = eINSTANCE.getMessageDecl_LeftOp();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Operator</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute MESSAGE_DECL__OPERATOR = eINSTANCE.getMessageDecl_Operator();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Righ Op</b></em>' reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference MESSAGE_DECL__RIGH_OP = eINSTANCE.getMessageDecl_RighOp();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Method</b></em>' reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference MESSAGE_DECL__METHOD = eINSTANCE.getMessageDecl_Method();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.MessageOperator <em>Message Operator</em>}' enum.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.MessageOperator\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getMessageOperator()\r\n * @generated\r\n */\r\n EEnum MESSAGE_OPERATOR = eINSTANCE.getMessageOperator();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.DataType <em>Data Type</em>}' enum.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.DataType\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getDataType()\r\n * @generated\r\n */\r\n EEnum DATA_TYPE = eINSTANCE.getDataType();\r\n\r\n /**\r\n * The meta object literal for the '{@link com.frantz.txtuml.txtUML.Visibility <em>Visibility</em>}' enum.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see com.frantz.txtuml.txtUML.Visibility\r\n * @see com.frantz.txtuml.txtUML.impl.TxtUMLPackageImpl#getVisibility()\r\n * @generated\r\n */\r\n EEnum VISIBILITY = eINSTANCE.getVisibility();\r\n\r\n }", "public interface MetaVisitor\n{\n void atomicType(SequenceType node, QName name, SequenceType baseType);\n\n void atomicUrType(SequenceType node);\n\n void attributeType(SequenceType node, QName name, SequenceType type);\n\n void choiceType(SequenceType node, SequenceType lhs, SequenceType rhs);\n\n void commentType(SequenceType node);\n\n void complexType(SequenceType node, QName name, SequenceType baseType);\n\n void complexUrType(SequenceType node);\n\n void concatType(SequenceType node, SequenceType lhs, SequenceType rhs);\n\n void documentType(SequenceType node, SequenceType contentType);\n\n void elementType(SequenceType node, QName name, SequenceType type, boolean nillable);\n\n void emptyType(SequenceType node);\n\n void interleaveType(SequenceType node, SequenceType lhs, SequenceType rhs);\n\n void multiplyType(SequenceType node, SequenceType argument, Quantifier multiplier);\n\n void namespaceType(SequenceType node);\n\n void noneType(SequenceType node);\n\n void processingInstructionType(SequenceType node, String name);\n\n void schemaAttributeType(SequenceType node, QName name);\n\n void schemaElementType(SequenceType type, QName name);\n\n void simpleUrType(SequenceType node);\n\n void textType(SequenceType node);\n}", "interface Literals {\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link gamifiedmodellingobjectmodel.impl.ObjectModelImpl <em>Object Model</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.ObjectModelImpl\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.GamifiedmodellingobjectmodelPackageImpl#getObjectModel()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass OBJECT_MODEL = eINSTANCE.getObjectModel();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Objects</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference OBJECT_MODEL__OBJECTS = eINSTANCE.getObjectModel_Objects();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Links</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference OBJECT_MODEL__LINKS = eINSTANCE.getObjectModel_Links();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link gamifiedmodellingobjectmodel.impl.ObjectImpl <em>Object</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.ObjectImpl\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.GamifiedmodellingobjectmodelPackageImpl#getObject()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass OBJECT = eINSTANCE.getObject();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute OBJECT__NAME = eINSTANCE.getObject_Name();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Identity</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute OBJECT__IDENTITY = eINSTANCE.getObject_Identity();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Class Name</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute OBJECT__CLASS_NAME = eINSTANCE.getObject_ClassName();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference OBJECT__ATTRIBUTES = eINSTANCE.getObject_Attributes();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Operations</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference OBJECT__OPERATIONS = eINSTANCE.getObject_Operations();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link gamifiedmodellingobjectmodel.impl.AttributeImpl <em>Attribute</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.AttributeImpl\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.GamifiedmodellingobjectmodelPackageImpl#getAttribute()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass ATTRIBUTE = eINSTANCE.getAttribute();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Text</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute ATTRIBUTE__TEXT = eINSTANCE.getAttribute_Text();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute ATTRIBUTE__NAME = eINSTANCE.getAttribute_Name();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Value</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute ATTRIBUTE__VALUE = eINSTANCE.getAttribute_Value();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Value Type</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute ATTRIBUTE__VALUE_TYPE = eINSTANCE.getAttribute_ValueType();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link gamifiedmodellingobjectmodel.impl.OperationImpl <em>Operation</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.OperationImpl\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.GamifiedmodellingobjectmodelPackageImpl#getOperation()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass OPERATION = eINSTANCE.getOperation();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Text</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute OPERATION__TEXT = eINSTANCE.getOperation_Text();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute OPERATION__NAME = eINSTANCE.getOperation_Name();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link gamifiedmodellingobjectmodel.impl.LinkImpl <em>Link</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.LinkImpl\r\n\t\t * @see gamifiedmodellingobjectmodel.impl.GamifiedmodellingobjectmodelPackageImpl#getLink()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass LINK = eINSTANCE.getLink();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Identity</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute LINK__IDENTITY = eINSTANCE.getLink_Identity();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>From Object</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference LINK__FROM_OBJECT = eINSTANCE.getLink_FromObject();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>To Object</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference LINK__TO_OBJECT = eINSTANCE.getLink_ToObject();\r\n\r\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link RootElement.Task.impl.TaskManagementImpl <em>Management</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see RootElement.Task.impl.TaskManagementImpl\n\t\t * @see RootElement.Task.impl.TaskPackageImpl#getTaskManagement()\n\t\t * @generated\n\t\t */\n\t\tEClass TASK_MANAGEMENT = eINSTANCE.getTaskManagement();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Staff</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TASK_MANAGEMENT__STAFF = eINSTANCE.getTaskManagement_Staff();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Task List</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 TASK_MANAGEMENT__TASK_LIST = eINSTANCE.getTaskManagement_TaskList();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Add Task</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation TASK_MANAGEMENT___ADD_TASK__TASK = eINSTANCE.getTaskManagement__AddTask__Task();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Remove Task</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation TASK_MANAGEMENT___REMOVE_TASK__INT = eINSTANCE.getTaskManagement__RemoveTask__int();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link RootElement.Task.impl.TaskImpl <em>Task</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see RootElement.Task.impl.TaskImpl\n\t\t * @see RootElement.Task.impl.TaskPackageImpl#getTask()\n\t\t * @generated\n\t\t */\n\t\tEClass TASK = eINSTANCE.getTask();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</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 TASK__DESCRIPTION = eINSTANCE.getTask_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id</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 TASK__ID = eINSTANCE.getTask_Id();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Set Description</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation TASK___SET_DESCRIPTION = eINSTANCE.getTask__SetDescription();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Get ID</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation TASK___GET_ID = eINSTANCE.getTask__GetID();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.TestImpl <em>Test</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.TestImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getTest()\n\t\t * @generated\n\t\t */\n\t\tEClass TEST = eINSTANCE.getTest();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Uses</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TEST__USES = eINSTANCE.getTest_Uses();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Contains</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TEST__CONTAINS = eINSTANCE.getTest_Contains();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.ClassAnnotationImpl <em>Class Annotation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.ClassAnnotationImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getClassAnnotation()\n\t\t * @generated\n\t\t */\n\t\tEClass CLASS_ANNOTATION = eINSTANCE.getClassAnnotation();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.JUAssertionImpl <em>JU Assertion</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.JUAssertionImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getJUAssertion()\n\t\t * @generated\n\t\t */\n\t\tEClass JU_ASSERTION = eINSTANCE.getJUAssertion();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.FixtureImpl <em>Fixture</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.FixtureImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getFixture()\n\t\t * @generated\n\t\t */\n\t\tEClass FIXTURE = eINSTANCE.getFixture();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Is Used By</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 FIXTURE__IS_USED_BY = eINSTANCE.getFixture_IsUsedBy();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>After</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference FIXTURE__AFTER = eINSTANCE.getFixture_After();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Before</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference FIXTURE__BEFORE = eINSTANCE.getFixture_Before();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Set Up</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference FIXTURE__SET_UP = eINSTANCE.getFixture_SetUp();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.SetupImpl <em>Setup</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.SetupImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getSetup()\n\t\t * @generated\n\t\t */\n\t\tEClass SETUP = eINSTANCE.getSetup();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.MethodImpl <em>Method</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.MethodImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getMethod()\n\t\t * @generated\n\t\t */\n\t\tEClass METHOD = eINSTANCE.getMethod();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Annotation</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference METHOD__ANNOTATION = eINSTANCE.getMethod_Annotation();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.JUAnnotationImpl <em>JU Annotation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.JUAnnotationImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getJUAnnotation()\n\t\t * @generated\n\t\t */\n\t\tEClass JU_ANNOTATION = eINSTANCE.getJUAnnotation();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.MethodAnnotationImpl <em>Method Annotation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.MethodAnnotationImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getMethodAnnotation()\n\t\t * @generated\n\t\t */\n\t\tEClass METHOD_ANNOTATION = eINSTANCE.getMethodAnnotation();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.TestAnnotationImpl <em>Test Annotation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.TestAnnotationImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getTestAnnotation()\n\t\t * @generated\n\t\t */\n\t\tEClass TEST_ANNOTATION = eINSTANCE.getTestAnnotation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Expected Exception</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 TEST_ANNOTATION__EXPECTED_EXCEPTION = eINSTANCE.getTestAnnotation_ExpectedException();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.BeforeImpl <em>Before</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.BeforeImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getBefore()\n\t\t * @generated\n\t\t */\n\t\tEClass BEFORE = eINSTANCE.getBefore();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.AfterImpl <em>After</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.AfterImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getAfter()\n\t\t * @generated\n\t\t */\n\t\tEClass AFTER = eINSTANCE.getAfter();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.SuiteImpl <em>Suite</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.SuiteImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getSuite()\n\t\t * @generated\n\t\t */\n\t\tEClass SUITE = eINSTANCE.getSuite();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Tests</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 SUITE__TESTS = eINSTANCE.getSuite_Tests();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.JUClassImpl <em>JU Class</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.JUClassImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getJUClass()\n\t\t * @generated\n\t\t */\n\t\tEClass JU_CLASS = eINSTANCE.getJUClass();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Methods</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 JU_CLASS__METHODS = eINSTANCE.getJUClass_Methods();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Fixture</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference JU_CLASS__FIXTURE = eINSTANCE.getJUClass_Fixture();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.RunnerImpl <em>Runner</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.RunnerImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getRunner()\n\t\t * @generated\n\t\t */\n\t\tEClass RUNNER = eINSTANCE.getRunner();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Runs</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 RUNNER__RUNS = eINSTANCE.getRunner_Runs();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.RootImpl <em>Root</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.RootImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getRoot()\n\t\t * @generated\n\t\t */\n\t\tEClass ROOT = eINSTANCE.getRoot();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Runners</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 ROOT__RUNNERS = eINSTANCE.getRoot_Runners();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Classes</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 ROOT__CLASSES = eINSTANCE.getRoot_Classes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Annotations</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 ROOT__ANNOTATIONS = eINSTANCE.getRoot_Annotations();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Setup</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ROOT__SETUP = eINSTANCE.getRoot_Setup();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link JUnitDomain.impl.NamedElementImpl <em>Named Element</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see JUnitDomain.impl.NamedElementImpl\n\t\t * @see JUnitDomain.impl.JUnitDomainPackageImpl#getNamedElement()\n\t\t * @generated\n\t\t */\n\t\tEClass NAMED_ELEMENT = eINSTANCE.getNamedElement();\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 NAMED_ELEMENT__NAME = eINSTANCE.getNamedElement_Name();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.emf.emfstore.internal.server.model.versioning.operations.semantic.impl.SemanticCompositeOperationImpl <em>Composite Operation</em>}' class.\n\t\t * <!-- begin-user-doc --> <!--\n\t\t * end-user-doc -->\n\t\t * @see org.eclipse.emf.emfstore.internal.server.model.versioning.operations.semantic.impl.SemanticCompositeOperationImpl\n\t\t * @see org.eclipse.emf.emfstore.internal.server.model.versioning.operations.semantic.impl.SemanticPackageImpl#getSemanticCompositeOperation()\n\t\t * @generated\n\t\t */\n\t\tEClass SEMANTIC_COMPOSITE_OPERATION = eINSTANCE.getSemanticCompositeOperation();\n\n\t}", "public interface LuaTokenTypes extends LuaDocElementTypes {\n //IFileElementType FILE = new IFileElementType(Language.findInstance(LuaLanguage.class));\n /**\n * Wrong token. Use for debugger needs\n */\n IElementType WRONG = TokenType.BAD_CHARACTER;\n\n\n /* **************************************************************************************************\n * Whitespaces & NewLines\n * ****************************************************************************************************/\n\n IElementType NL_BEFORE_LONGSTRING = new LuaElementType(\"newline after longstring stert bracket\");\n IElementType WS = TokenType.WHITE_SPACE;\n IElementType NEWLINE = new LuaElementType(\"new line\");\n\n TokenSet WHITE_SPACES_SET = TokenSet.create(WS, NEWLINE, TokenType.WHITE_SPACE, LDOC_WHITESPACE, NL_BEFORE_LONGSTRING);\n\n /* **************************************************************************************************\n * Comments\n * ****************************************************************************************************/\n\n IElementType SHEBANG = new LuaElementType(\"shebang - should ignore\");\n\n IElementType LONGCOMMENT = new LuaElementType(\"long comment\");\n IElementType SHORTCOMMENT = new LuaElementType(\"short comment\");\n\n IElementType LONGCOMMENT_BEGIN = new LuaElementType(\"long comment start bracket\");\n IElementType LONGCOMMENT_END = new LuaElementType(\"long comment end bracket\");\n\n TokenSet COMMENT_SET = TokenSet.create(SHORTCOMMENT, LONGCOMMENT, SHEBANG, LUADOC_COMMENT, LONGCOMMENT_BEGIN,\n LONGCOMMENT_END);\n\n TokenSet COMMENT_AND_WHITESPACE_SET = TokenSet.orSet(COMMENT_SET, WHITE_SPACES_SET);\n /* **************************************************************************************************\n * Identifiers\n * ****************************************************************************************************/\n\n IElementType NAME = new LuaElementType(\"identifier\");\n\n /* **************************************************************************************************\n * Integers & floats\n * ****************************************************************************************************/\n\n IElementType NUMBER = new LuaElementType(\"number\");\n\n /* **************************************************************************************************\n * Strings & regular expressions\n * ****************************************************************************************************/\n\n IElementType STRING = new LuaElementType(\"string\");\n IElementType LONGSTRING = new LuaElementType(\"long string\");\n\n IElementType LONGSTRING_BEGIN = new LuaElementType(\"long string start bracket\");\n IElementType LONGSTRING_END = new LuaElementType(\"long string end bracket\");\n\n\n\n TokenSet STRING_LITERAL_SET = TokenSet.create(STRING, LONGSTRING, LONGSTRING_BEGIN, LONGSTRING_END);\n\n\n IElementType UNTERMINATED_STRING = new LuaElementType(\"unterminated string\");\n\n\n /* **************************************************************************************************\n * Common tokens: operators, braces etc.\n * ****************************************************************************************************/\n\n\n IElementType DIV = new LuaElementType(\"/\");\n IElementType MULT = new LuaElementType(\"*\");\n IElementType LPAREN = new LuaElementType(\"(\");\n IElementType RPAREN = new LuaElementType(\")\");\n IElementType LBRACK = new LuaElementType(\"[\");\n IElementType RBRACK = new LuaElementType(\"]\");\n IElementType LCURLY = new LuaElementType(\"{\");\n IElementType RCURLY = new LuaElementType(\"}\");\n IElementType COLON = new LuaElementType(\":\");\n IElementType COMMA = new LuaElementType(\",\");\n IElementType DOT = new LuaElementType(\".\");\n IElementType ASSIGN = new LuaElementType(\"=\");\n IElementType SEMI = new LuaElementType(\";\");\n IElementType EQ = new LuaElementType(\"==\");\n IElementType NE = new LuaElementType(\"~=\");\n IElementType PLUS = new LuaElementType(\"+\");\n IElementType MINUS = new LuaElementType(\"-\");\n IElementType GE = new LuaElementType(\">=\");\n IElementType GT = new LuaElementType(\">\");\n IElementType EXP = new LuaElementType(\"^\");\n IElementType LE = new LuaElementType(\"<=\");\n IElementType LT = new LuaElementType(\"<\");\n IElementType ELLIPSIS = new LuaElementType(\"...\");\n IElementType CONCAT = new LuaElementType(\"..\");\n IElementType GETN = new LuaElementType(\"#\");\n IElementType MOD = new LuaElementType(\"%\");\n\n /* **************************************************************************************************\n * Keywords\n * ****************************************************************************************************/\n\n\n IElementType IF = new LuaElementType(\"if\");\n IElementType ELSE = new LuaElementType(\"else\");\n IElementType ELSEIF = new LuaElementType(\"elseif\");\n IElementType WHILE = new LuaElementType(\"while\");\n IElementType WITH = new LuaElementType(\"with\");\n\n IElementType THEN = new LuaElementType(\"then\");\n IElementType FOR = new LuaElementType(\"for\");\n IElementType IN = new LuaElementType(\"in\");\n IElementType RETURN = new LuaElementType(\"return\");\n IElementType BREAK = new LuaElementType(\"break\");\n\n IElementType CONTINUE = new LuaElementType(\"continue\");\n IElementType TRUE = new LuaElementType(\"true\");\n IElementType FALSE = new LuaElementType(\"false\");\n IElementType NIL = new LuaElementType(\"nil\");\n IElementType FUNCTION = new LuaElementType(\"function\");\n\n IElementType DO = new LuaElementType(\"do\");\n IElementType NOT = new LuaElementType(\"not\");\n IElementType AND = new LuaElementType(\"and\");\n IElementType OR = new LuaElementType(\"or\");\n IElementType LOCAL = new LuaElementType(\"local\");\n\n IElementType REPEAT = new LuaElementType(\"repeat\");\n IElementType UNTIL = new LuaElementType(\"until\");\n IElementType END = new LuaElementType(\"end\");\n\n /*\n IElementType MODULE = new LuaElementType(\"module\");\n IElementType REQUIRE = new LuaElementType(\"require\");\n */\n\n\n\n TokenSet KEYWORDS = TokenSet.create(DO, FUNCTION, NOT, AND, OR,\n WITH, IF, THEN, ELSEIF, THEN, ELSE,\n WHILE, FOR, IN, RETURN, BREAK,\n CONTINUE, LOCAL,\n REPEAT, UNTIL, END/*, MODULE, REQUIRE */);\n\n TokenSet BRACES = TokenSet.create(LCURLY, RCURLY);\n TokenSet PARENS = TokenSet.create(LPAREN, RPAREN);\n TokenSet BRACKS = TokenSet.create(LBRACK, RBRACK);\n\n TokenSet BAD_INPUT = TokenSet.create(WRONG, UNTERMINATED_STRING);\n \n TokenSet DEFINED_CONSTANTS = TokenSet.create(NIL, TRUE, FALSE);\n\n TokenSet UNARY_OP_SET = TokenSet.create(MINUS, GETN);\n\n TokenSet BINARY_OP_SET = TokenSet.create(\n MINUS, PLUS, DIV, MULT, EXP, MOD,\n CONCAT);\n\n TokenSet BLOCK_OPEN_SET = TokenSet.create(THEN, RPAREN, DO, ELSE, ELSEIF);\n TokenSet BLOCK_CLOSE_SET = TokenSet.create(END, ELSE, ELSEIF, UNTIL);\n\n TokenSet COMPARE_OPS = TokenSet.create(EQ, GE, GT, LT, LE, NE);\n TokenSet LOGICAL_OPS = TokenSet.create(AND, OR, NOT);\n TokenSet ARITHMETIC_OPS = TokenSet.create(MINUS, PLUS, DIV, EXP, MOD);\n\n TokenSet TABLE_ACCESS = TokenSet.create(DOT, COLON, LBRACK);\n\n TokenSet LITERALS_SET = TokenSet.create(NUMBER, NIL, TRUE, FALSE, STRING, LONGSTRING, LONGSTRING_BEGIN, LONGSTRING_END);\n\n TokenSet IDENTIFIERS_SET = TokenSet.create(NAME);\n\n TokenSet WHITE_SPACES_OR_COMMENTS = TokenSet.orSet(WHITE_SPACES_SET, COMMENT_SET);\n\n TokenSet OPERATORS_SET = TokenSet.orSet(BINARY_OP_SET, UNARY_OP_SET, COMPARE_OPS, TokenSet.create(ASSIGN));\n}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link org.openecomp.ncomp.sirius.manager.graph.impl.GuiGraphImpl <em>Gui Graph</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.openecomp.ncomp.sirius.manager.graph.impl.GuiGraphImpl\n\t\t * @see org.openecomp.ncomp.sirius.manager.graph.impl.GraphPackageImpl#getGuiGraph()\n\t\t * @generated\n\t\t */\n\t\tEClass GUI_GRAPH = eINSTANCE.getGuiGraph();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Nodes</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 GUI_GRAPH__NODES = eINSTANCE.getGuiGraph_Nodes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Edges</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 GUI_GRAPH__EDGES = eINSTANCE.getGuiGraph_Edges();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.openecomp.ncomp.sirius.manager.graph.impl.GuiGraphItemImpl <em>Gui Graph Item</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.openecomp.ncomp.sirius.manager.graph.impl.GuiGraphItemImpl\n\t\t * @see org.openecomp.ncomp.sirius.manager.graph.impl.GraphPackageImpl#getGuiGraphItem()\n\t\t * @generated\n\t\t */\n\t\tEClass GUI_GRAPH_ITEM = eINSTANCE.getGuiGraphItem();\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 GUI_GRAPH_ITEM__NAME = eINSTANCE.getGuiGraphItem_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Tooltip</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 GUI_GRAPH_ITEM__TOOLTIP = eINSTANCE.getGuiGraphItem_Tooltip();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Url</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 GUI_GRAPH_ITEM__URL = eINSTANCE.getGuiGraphItem_Url();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.openecomp.ncomp.sirius.manager.graph.impl.GuiGraphNodeImpl <em>Gui Graph Node</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.openecomp.ncomp.sirius.manager.graph.impl.GuiGraphNodeImpl\n\t\t * @see org.openecomp.ncomp.sirius.manager.graph.impl.GraphPackageImpl#getGuiGraphNode()\n\t\t * @generated\n\t\t */\n\t\tEClass GUI_GRAPH_NODE = eINSTANCE.getGuiGraphNode();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>X</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 GUI_GRAPH_NODE__X = eINSTANCE.getGuiGraphNode_X();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Y</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 GUI_GRAPH_NODE__Y = eINSTANCE.getGuiGraphNode_Y();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>H</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 GUI_GRAPH_NODE__H = eINSTANCE.getGuiGraphNode_H();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>W</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 GUI_GRAPH_NODE__W = eINSTANCE.getGuiGraphNode_W();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.openecomp.ncomp.sirius.manager.graph.impl.GuiGraphEdgeImpl <em>Gui Graph Edge</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.openecomp.ncomp.sirius.manager.graph.impl.GuiGraphEdgeImpl\n\t\t * @see org.openecomp.ncomp.sirius.manager.graph.impl.GraphPackageImpl#getGuiGraphEdge()\n\t\t * @generated\n\t\t */\n\t\tEClass GUI_GRAPH_EDGE = eINSTANCE.getGuiGraphEdge();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>X</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference GUI_GRAPH_EDGE__X = eINSTANCE.getGuiGraphEdge_X();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Y</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference GUI_GRAPH_EDGE__Y = eINSTANCE.getGuiGraphEdge_Y();\n\n\t}", "public void createPackageContents() {\n if (isCreated) return;\n isCreated = true;\n\n // Create classes and their features\n calcEClass = createEClass(CALC);\n createEReference(calcEClass, CALC__EXPR);\n\n exprEClass = createEClass(EXPR);\n\n bitShiftExprEClass = createEClass(BIT_SHIFT_EXPR);\n createEReference(bitShiftExprEClass, BIT_SHIFT_EXPR__CHILDREN);\n createEAttribute(bitShiftExprEClass, BIT_SHIFT_EXPR__OPERATORS);\n\n bitShiftExprChildEClass = createEClass(BIT_SHIFT_EXPR_CHILD);\n\n additiveExprEClass = createEClass(ADDITIVE_EXPR);\n createEReference(additiveExprEClass, ADDITIVE_EXPR__CHILDREN);\n createEAttribute(additiveExprEClass, ADDITIVE_EXPR__OPERATORS);\n\n additiveExprChildEClass = createEClass(ADDITIVE_EXPR_CHILD);\n\n multiplicativeExprEClass = createEClass(MULTIPLICATIVE_EXPR);\n createEReference(multiplicativeExprEClass, MULTIPLICATIVE_EXPR__CHILDREN);\n createEAttribute(multiplicativeExprEClass, MULTIPLICATIVE_EXPR__OPERATORS);\n\n multiplicativeExprChildEClass = createEClass(MULTIPLICATIVE_EXPR_CHILD);\n\n numberEClass = createEClass(NUMBER);\n createEAttribute(numberEClass, NUMBER__VALUE);\n\n // Create enums\n bitShiftOpEEnum = createEEnum(BIT_SHIFT_OP);\n additiveOpEEnum = createEEnum(ADDITIVE_OP);\n multiplicativeOpEEnum = createEEnum(MULTIPLICATIVE_OP);\n }", "interface Literals\n\t{\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.VariabilityModelImpl <em>Variability Model</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.VariabilityModelImpl\n\t\t * @see models.impl.ModelsPackageImpl#getVariabilityModel()\n\t\t * @generated\n\t\t */\n\t\tEClass VARIABILITY_MODEL = eINSTANCE.getVariabilityModel();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Spl</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 VARIABILITY_MODEL__SPL = eINSTANCE.getVariabilityModel_Spl();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Features</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 VARIABILITY_MODEL__FEATURES = eINSTANCE.getVariabilityModel_Features();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.BuildModelImpl <em>Build Model</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.BuildModelImpl\n\t\t * @see models.impl.ModelsPackageImpl#getBuildModel()\n\t\t * @generated\n\t\t */\n\t\tEClass BUILD_MODEL = eINSTANCE.getBuildModel();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Spl</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference BUILD_MODEL__SPL = eINSTANCE.getBuildModel_Spl();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Features</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 BUILD_MODEL__FEATURES = eINSTANCE.getBuildModel_Features();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Symbols</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 BUILD_MODEL__SYMBOLS = eINSTANCE.getBuildModel_Symbols();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.ImplementationModelImpl <em>Implementation Model</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.ImplementationModelImpl\n\t\t * @see models.impl.ModelsPackageImpl#getImplementationModel()\n\t\t * @generated\n\t\t */\n\t\tEClass IMPLEMENTATION_MODEL = eINSTANCE.getImplementationModel();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Spl</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference IMPLEMENTATION_MODEL__SPL = eINSTANCE.getImplementationModel_Spl();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value Features</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 IMPLEMENTATION_MODEL__VALUE_FEATURES = eINSTANCE.getImplementationModel_ValueFeatures();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Constants</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 IMPLEMENTATION_MODEL__CONSTANTS = eINSTANCE.getImplementationModel_Constants();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Blocks</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 IMPLEMENTATION_MODEL__BLOCKS = eINSTANCE.getImplementationModel_Blocks();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>File 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 IMPLEMENTATION_MODEL__FILE_NAME = eINSTANCE.getImplementationModel_File_name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Chane</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 IMPLEMENTATION_MODEL__CHANE = eINSTANCE.getImplementationModel_Chane();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.SPLImpl <em>SPL</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.SPLImpl\n\t\t * @see models.impl.ModelsPackageImpl#getSPL()\n\t\t * @generated\n\t\t */\n\t\tEClass SPL = eINSTANCE.getSPL();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Revision</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 SPL__REVISION = eINSTANCE.getSPL_Revision();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Variabilitymodel</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference SPL__VARIABILITYMODEL = eINSTANCE.getSPL_Variabilitymodel();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Buildmodel</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference SPL__BUILDMODEL = eINSTANCE.getSPL_Buildmodel();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Implementationmodel</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference SPL__IMPLEMENTATIONMODEL = eINSTANCE.getSPL_Implementationmodel();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.VariabilityModelEntityImpl <em>Variability Model Entity</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.VariabilityModelEntityImpl\n\t\t * @see models.impl.ModelsPackageImpl#getVariabilityModelEntity()\n\t\t * @generated\n\t\t */\n\t\tEClass VARIABILITY_MODEL_ENTITY = eINSTANCE.getVariabilityModelEntity();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id</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 VARIABILITY_MODEL_ENTITY__ID = eINSTANCE.getVariabilityModelEntity_Id();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Flags</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 VARIABILITY_MODEL_ENTITY__FLAGS = eINSTANCE.getVariabilityModelEntity_Flags();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</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 VARIABILITY_MODEL_ENTITY__TYPE = eINSTANCE.getVariabilityModelEntity_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Prompt</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 VARIABILITY_MODEL_ENTITY__PROMPT = eINSTANCE.getVariabilityModelEntity_Prompt();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Default Values</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 VARIABILITY_MODEL_ENTITY__DEFAULT_VALUES = eINSTANCE.getVariabilityModelEntity_DefaultValues();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Selects</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 VARIABILITY_MODEL_ENTITY__SELECTS = eINSTANCE.getVariabilityModelEntity_Selects();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Prompt Condition</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 VARIABILITY_MODEL_ENTITY__PROMPT_CONDITION = eINSTANCE.getVariabilityModelEntity_PromptCondition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Presence Condition</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 VARIABILITY_MODEL_ENTITY__PRESENCE_CONDITION = eINSTANCE.getVariabilityModelEntity_PresenceCondition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Depends</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 VARIABILITY_MODEL_ENTITY__DEPENDS = eINSTANCE.getVariabilityModelEntity_Depends();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>External</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 VARIABILITY_MODEL_ENTITY__EXTERNAL = eINSTANCE.getVariabilityModelEntity_External();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.FeatureImpl <em>Feature</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.FeatureImpl\n\t\t * @see models.impl.ModelsPackageImpl#getFeature()\n\t\t * @generated\n\t\t */\n\t\tEClass FEATURE = eINSTANCE.getFeature();\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 FEATURE__NAME = eINSTANCE.getFeature_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.ChoiceImpl <em>Choice</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.ChoiceImpl\n\t\t * @see models.impl.ModelsPackageImpl#getChoice()\n\t\t * @generated\n\t\t */\n\t\tEClass CHOICE = eINSTANCE.getChoice();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.DefaultValueImpl <em>Default Value</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.DefaultValueImpl\n\t\t * @see models.impl.ModelsPackageImpl#getDefaultValue()\n\t\t * @generated\n\t\t */\n\t\tEClass DEFAULT_VALUE = eINSTANCE.getDefaultValue();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</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 DEFAULT_VALUE__VALUE = eINSTANCE.getDefaultValue_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Condition</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 DEFAULT_VALUE__CONDITION = eINSTANCE.getDefaultValue_Condition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Order</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 DEFAULT_VALUE__ORDER = eINSTANCE.getDefaultValue_Order();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id</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 DEFAULT_VALUE__ID = eINSTANCE.getDefaultValue_Id();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.SelectImpl <em>Select</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.SelectImpl\n\t\t * @see models.impl.ModelsPackageImpl#getSelect()\n\t\t * @generated\n\t\t */\n\t\tEClass SELECT = eINSTANCE.getSelect();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Target</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 SELECT__TARGET = eINSTANCE.getSelect_Target();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Condition</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 SELECT__CONDITION = eINSTANCE.getSelect_Condition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id</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 SELECT__ID = eINSTANCE.getSelect_Id();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.MappedFeatureImpl <em>Mapped Feature</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.MappedFeatureImpl\n\t\t * @see models.impl.ModelsPackageImpl#getMappedFeature()\n\t\t * @generated\n\t\t */\n\t\tEClass MAPPED_FEATURE = eINSTANCE.getMappedFeature();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Targets</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 MAPPED_FEATURE__TARGETS = eINSTANCE.getMappedFeature_Targets();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Feature 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 MAPPED_FEATURE__FEATURE_NAME = eINSTANCE.getMappedFeature_FeatureName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id</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 MAPPED_FEATURE__ID = eINSTANCE.getMappedFeature_Id();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.CompilationTargetImpl <em>Compilation Target</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.CompilationTargetImpl\n\t\t * @see models.impl.ModelsPackageImpl#getCompilationTarget()\n\t\t * @generated\n\t\t */\n\t\tEClass COMPILATION_TARGET = eINSTANCE.getCompilationTarget();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Target 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 COMPILATION_TARGET__TARGET_NAME = eINSTANCE.getCompilationTarget_TargetName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Target Type</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 COMPILATION_TARGET__TARGET_TYPE = eINSTANCE.getCompilationTarget_TargetType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id</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 COMPILATION_TARGET__ID = eINSTANCE.getCompilationTarget_Id();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Mapped To Symbol</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 COMPILATION_TARGET__MAPPED_TO_SYMBOL = eINSTANCE.getCompilationTarget_MappedToSymbol();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.MakeSymbolImpl <em>Make Symbol</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.MakeSymbolImpl\n\t\t * @see models.impl.ModelsPackageImpl#getMakeSymbol()\n\t\t * @generated\n\t\t */\n\t\tEClass MAKE_SYMBOL = eINSTANCE.getMakeSymbol();\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 MAKE_SYMBOL__NAME = eINSTANCE.getMakeSymbol_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Targets</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 MAKE_SYMBOL__TARGETS = eINSTANCE.getMakeSymbol_Targets();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.ReferencedValueFeatureImpl <em>Referenced Value Feature</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.ReferencedValueFeatureImpl\n\t\t * @see models.impl.ModelsPackageImpl#getReferencedValueFeature()\n\t\t * @generated\n\t\t */\n\t\tEClass REFERENCED_VALUE_FEATURE = eINSTANCE.getReferencedValueFeature();\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 REFERENCED_VALUE_FEATURE__NAME = eINSTANCE.getReferencedValueFeature_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.ConditionalBlockImpl <em>Conditional Block</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.ConditionalBlockImpl\n\t\t * @see models.impl.ModelsPackageImpl#getConditionalBlock()\n\t\t * @generated\n\t\t */\n\t\tEClass CONDITIONAL_BLOCK = eINSTANCE.getConditionalBlock();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Start</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 CONDITIONAL_BLOCK__START = eINSTANCE.getConditionalBlock_Start();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>End</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 CONDITIONAL_BLOCK__END = eINSTANCE.getConditionalBlock_End();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Condition</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 CONDITIONAL_BLOCK__CONDITION = eINSTANCE.getConditionalBlock_Condition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value Features</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 CONDITIONAL_BLOCK__VALUE_FEATURES = eINSTANCE.getConditionalBlock_ValueFeatures();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Touched</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 CONDITIONAL_BLOCK__TOUCHED = eINSTANCE.getConditionalBlock_Touched();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Expression</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 CONDITIONAL_BLOCK__EXPRESSION = eINSTANCE.getConditionalBlock_Expression();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Lines</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 CONDITIONAL_BLOCK__LINES = eINSTANCE.getConditionalBlock_Lines();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Edited By</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 CONDITIONAL_BLOCK__EDITED_BY = eINSTANCE.getConditionalBlock_EditedBy();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.FeatureConstantImpl <em>Feature Constant</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.FeatureConstantImpl\n\t\t * @see models.impl.ModelsPackageImpl#getFeatureConstant()\n\t\t * @generated\n\t\t */\n\t\tEClass FEATURE_CONSTANT = eINSTANCE.getFeatureConstant();\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 FEATURE_CONSTANT__NAME = eINSTANCE.getFeatureConstant_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.ImplementationLineImpl <em>Implementation Line</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.ImplementationLineImpl\n\t\t * @see models.impl.ModelsPackageImpl#getImplementationLine()\n\t\t * @generated\n\t\t */\n\t\tEClass IMPLEMENTATION_LINE = eINSTANCE.getImplementationLine();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Line</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 IMPLEMENTATION_LINE__LINE = eINSTANCE.getImplementationLine_Line();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.impl.CodeEditImpl <em>Code Edit</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.impl.CodeEditImpl\n\t\t * @see models.impl.ModelsPackageImpl#getCodeEdit()\n\t\t * @generated\n\t\t */\n\t\tEClass CODE_EDIT = eINSTANCE.getCodeEdit();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Rem idx</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 CODE_EDIT__REM_IDX = eINSTANCE.getCodeEdit_Rem_idx();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Add idx</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 CODE_EDIT__ADD_IDX = eINSTANCE.getCodeEdit_Add_idx();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Rem size</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 CODE_EDIT__REM_SIZE = eINSTANCE.getCodeEdit_Rem_size();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Add size</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 CODE_EDIT__ADD_SIZE = eINSTANCE.getCodeEdit_Add_size();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Diff</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 CODE_EDIT__DIFF = eINSTANCE.getCodeEdit_Diff();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.VariabilityTypes <em>Variability Types</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.VariabilityTypes\n\t\t * @see models.impl.ModelsPackageImpl#getVariabilityTypes()\n\t\t * @generated\n\t\t */\n\t\tEEnum VARIABILITY_TYPES = eINSTANCE.getVariabilityTypes();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.CompilationTargetType <em>Compilation Target Type</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.CompilationTargetType\n\t\t * @see models.impl.ModelsPackageImpl#getCompilationTargetType()\n\t\t * @generated\n\t\t */\n\t\tEEnum COMPILATION_TARGET_TYPE = eINSTANCE.getCompilationTargetType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link models.ChangeType <em>Change Type</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see models.ChangeType\n\t\t * @see models.impl.ModelsPackageImpl#getChangeType()\n\t\t * @generated\n\t\t */\n\t\tEEnum CHANGE_TYPE = eINSTANCE.getChangeType();\n\n\t}", "interface Literals {\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.ModelImpl <em>Model</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.ModelImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getModel()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass MODEL = eINSTANCE.getModel();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Package</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference MODEL__PACKAGE = eINSTANCE.getModel_Package();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.PackageImpl <em>Package</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.PackageImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getPackage()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass PACKAGE = eINSTANCE.getPackage();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Block</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference PACKAGE__BLOCK = eINSTANCE.getPackage_Block();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Requirement</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference PACKAGE__REQUIREMENT = eINSTANCE.getPackage_Requirement();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.NamedElementImpl <em>Named Element</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.NamedElementImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getNamedElement()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass NAMED_ELEMENT = eINSTANCE.getNamedElement();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute NAMED_ELEMENT__NAME = eINSTANCE.getNamedElement_Name();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.OwnedElementImpl <em>Owned Element</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.OwnedElementImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getOwnedElement()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass OWNED_ELEMENT = eINSTANCE.getOwnedElement();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Owner</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference OWNED_ELEMENT__OWNER = eINSTANCE.getOwnedElement_Owner();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.RequirementImpl <em>Requirement</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.RequirementImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getRequirement()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass REQUIREMENT = eINSTANCE.getRequirement();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Satisfied By</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference REQUIREMENT__SATISFIED_BY = eINSTANCE.getRequirement_SatisfiedBy();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Master</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference REQUIREMENT__MASTER = eINSTANCE.getRequirement_Master();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Refines</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference REQUIREMENT__REFINES = eINSTANCE.getRequirement_Refines();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute REQUIREMENT__ID = eINSTANCE.getRequirement_Id();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Text</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute REQUIREMENT__TEXT = eINSTANCE.getRequirement_Text();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Derived</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference REQUIREMENT__DERIVED = eINSTANCE.getRequirement_Derived();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Sub Requirement</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference REQUIREMENT__SUB_REQUIREMENT = eINSTANCE.getRequirement_SubRequirement();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute REQUIREMENT__NAME = eINSTANCE.getRequirement_Name();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Derived From</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference REQUIREMENT__DERIVED_FROM = eINSTANCE.getRequirement_DerivedFrom();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Hyperlink</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute REQUIREMENT__HYPERLINK = eINSTANCE.getRequirement_Hyperlink();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.BlockImpl <em>Block</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.BlockImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getBlock()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass BLOCK = eINSTANCE.getBlock();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Part Property</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference BLOCK__PART_PROPERTY = eINSTANCE.getBlock_PartProperty();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Reference Property</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference BLOCK__REFERENCE_PROPERTY = eINSTANCE.getBlock_ReferenceProperty();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Flow Property</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference BLOCK__FLOW_PROPERTY = eINSTANCE.getBlock_FlowProperty();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Value Property</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference BLOCK__VALUE_PROPERTY = eINSTANCE.getBlock_ValueProperty();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Nested Block</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference BLOCK__NESTED_BLOCK = eINSTANCE.getBlock_NestedBlock();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Inherited Block</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference BLOCK__INHERITED_BLOCK = eINSTANCE.getBlock_InheritedBlock();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Satisfy</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference BLOCK__SATISFY = eINSTANCE.getBlock_Satisfy();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Connector</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference BLOCK__CONNECTOR = eINSTANCE.getBlock_Connector();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Internal Block Diagram</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference BLOCK__INTERNAL_BLOCK_DIAGRAM = eINSTANCE.getBlock_InternalBlockDiagram();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Port</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference BLOCK__PORT = eINSTANCE.getBlock_Port();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Proxy Port</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference BLOCK__PROXY_PORT = eINSTANCE.getBlock_ProxyPort();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Full Port</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference BLOCK__FULL_PORT = eINSTANCE.getBlock_FullPort();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.InterfaceBlockImpl <em>Interface Block</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.InterfaceBlockImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getInterfaceBlock()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass INTERFACE_BLOCK = eINSTANCE.getInterfaceBlock();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Flow Property</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference INTERFACE_BLOCK__FLOW_PROPERTY = eINSTANCE.getInterfaceBlock_FlowProperty();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Proxy Port</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference INTERFACE_BLOCK__PROXY_PORT = eINSTANCE.getInterfaceBlock_ProxyPort();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.AssociationBlockImpl <em>Association Block</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.AssociationBlockImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getAssociationBlock()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass ASSOCIATION_BLOCK = eINSTANCE.getAssociationBlock();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Member End</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference ASSOCIATION_BLOCK__MEMBER_END = eINSTANCE.getAssociationBlock_MemberEnd();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.PropertyImpl <em>Property</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.PropertyImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getProperty()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass PROPERTY = eINSTANCE.getProperty();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Type</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference PROPERTY__TYPE = eINSTANCE.getProperty_Type();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.PartPropertyImpl <em>Part Property</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.PartPropertyImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getPartProperty()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass PART_PROPERTY = eINSTANCE.getPartProperty();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.ReferencePropertyImpl <em>Reference Property</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.ReferencePropertyImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getReferenceProperty()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass REFERENCE_PROPERTY = eINSTANCE.getReferenceProperty();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Association</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference REFERENCE_PROPERTY__ASSOCIATION = eINSTANCE.getReferenceProperty_Association();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.FlowPropertyImpl <em>Flow Property</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.FlowPropertyImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getFlowProperty()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass FLOW_PROPERTY = eINSTANCE.getFlowProperty();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Direction</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute FLOW_PROPERTY__DIRECTION = eINSTANCE.getFlowProperty_Direction();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.ValuePropertyImpl <em>Value Property</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.ValuePropertyImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getValueProperty()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass VALUE_PROPERTY = eINSTANCE.getValueProperty();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Default Value</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute VALUE_PROPERTY__DEFAULT_VALUE = eINSTANCE.getValueProperty_DefaultValue();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.MultiplicityElementImpl <em>Multiplicity Element</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.MultiplicityElementImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getMultiplicityElement()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass MULTIPLICITY_ELEMENT = eINSTANCE.getMultiplicityElement();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Lower</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute MULTIPLICITY_ELEMENT__LOWER = eINSTANCE.getMultiplicityElement_Lower();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Upper</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute MULTIPLICITY_ELEMENT__UPPER = eINSTANCE.getMultiplicityElement_Upper();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.AssociationImpl <em>Association</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.AssociationImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getAssociation()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass ASSOCIATION = eINSTANCE.getAssociation();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.PortImpl <em>Port</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.PortImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getPort()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass PORT = eINSTANCE.getPort();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Is Service</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute PORT__IS_SERVICE = eINSTANCE.getPort_IsService();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Is Behavior</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute PORT__IS_BEHAVIOR = eINSTANCE.getPort_IsBehavior();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Is Conjugated</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute PORT__IS_CONJUGATED = eINSTANCE.getPort_IsConjugated();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.ProxyPortImpl <em>Proxy Port</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.ProxyPortImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getProxyPort()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass PROXY_PORT = eINSTANCE.getProxyPort();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.FullPortImpl <em>Full Port</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.FullPortImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getFullPort()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass FULL_PORT = eINSTANCE.getFullPort();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.ConnectorImpl <em>Connector</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.ConnectorImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getConnector()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass CONNECTOR = eINSTANCE.getConnector();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>End</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference CONNECTOR__END = eINSTANCE.getConnector_End();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Type</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference CONNECTOR__TYPE = eINSTANCE.getConnector_Type();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.ConnectorEndImpl <em>Connector End</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.ConnectorEndImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getConnectorEnd()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass CONNECTOR_END = eINSTANCE.getConnectorEnd();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Role</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference CONNECTOR_END__ROLE = eINSTANCE.getConnectorEnd_Role();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Defining End</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference CONNECTOR_END__DEFINING_END = eINSTANCE.getConnectorEnd_DefiningEnd();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Part With Port</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference CONNECTOR_END__PART_WITH_PORT = eINSTANCE.getConnectorEnd_PartWithPort();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.ItemFlowImpl <em>Item Flow</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.ItemFlowImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getItemFlow()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass ITEM_FLOW = eINSTANCE.getItemFlow();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Item Property</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference ITEM_FLOW__ITEM_PROPERTY = eINSTANCE.getItemFlow_ItemProperty();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Information Target</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference ITEM_FLOW__INFORMATION_TARGET = eINSTANCE.getItemFlow_InformationTarget();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Information Source</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference ITEM_FLOW__INFORMATION_SOURCE = eINSTANCE.getItemFlow_InformationSource();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Realizing Connector</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference ITEM_FLOW__REALIZING_CONNECTOR = eINSTANCE.getItemFlow_RealizingConnector();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.ValueTypeImpl <em>Value Type</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.ValueTypeImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getValueType()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass VALUE_TYPE = eINSTANCE.getValueType();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Unit</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference VALUE_TYPE__UNIT = eINSTANCE.getValueType_Unit();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Quantity Kind</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference VALUE_TYPE__QUANTITY_KIND = eINSTANCE.getValueType_QuantityKind();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.UnitImpl <em>Unit</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.UnitImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getUnit()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass UNIT = eINSTANCE.getUnit();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Symbol</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute UNIT__SYMBOL = eINSTANCE.getUnit_Symbol();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute UNIT__DESCRIPTION = eINSTANCE.getUnit_Description();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Definition URI</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute UNIT__DEFINITION_URI = eINSTANCE.getUnit_DefinitionURI();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Quantity Kind</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference UNIT__QUANTITY_KIND = eINSTANCE.getUnit_QuantityKind();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.QuantityKindImpl <em>Quantity Kind</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.QuantityKindImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getQuantityKind()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass QUANTITY_KIND = eINSTANCE.getQuantityKind();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Symbol</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute QUANTITY_KIND__SYMBOL = eINSTANCE.getQuantityKind_Symbol();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute QUANTITY_KIND__DESCRIPTION = eINSTANCE.getQuantityKind_Description();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Definition URI</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute QUANTITY_KIND__DEFINITION_URI = eINSTANCE.getQuantityKind_DefinitionURI();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.TypeImpl <em>Type</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.TypeImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getType()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass TYPE = eINSTANCE.getType();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.BlockDiagramImpl <em>Block Diagram</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.BlockDiagramImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getBlockDiagram()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass BLOCK_DIAGRAM = eINSTANCE.getBlockDiagram();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.impl.InternalBlockDiagramImpl <em>Internal Block Diagram</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.impl.InternalBlockDiagramImpl\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getInternalBlockDiagram()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass INTERNAL_BLOCK_DIAGRAM = eINSTANCE.getInternalBlockDiagram();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link sysml.FlowDirection <em>Flow Direction</em>}' enum.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see sysml.FlowDirection\r\n\t\t * @see sysml.impl.SysmlPackageImpl#getFlowDirection()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEEnum FLOW_DIRECTION = eINSTANCE.getFlowDirection();\r\n\r\n\t}", "public interface Literals\r\n {\r\n /**\r\n * The meta object literal for the '{@link de.upb.examples.reengineering.store.model.Product <em>Product</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see de.upb.examples.reengineering.store.model.Product\r\n * @see de.upb.examples.reengineering.store.model.StorePackage#getProduct()\r\n * @generated\r\n */\r\n public static final EClass PRODUCT = eINSTANCE.getProduct();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Price</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute PRODUCT__PRICE = eINSTANCE.getProduct_Price();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute PRODUCT__NAME = eINSTANCE.getProduct_Name();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute PRODUCT__ID = eINSTANCE.getProduct_Id();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Producer</b></em>' reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference PRODUCT__PRODUCER = eINSTANCE.getProduct_Producer();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Wishlists</b></em>' reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference PRODUCT__WISHLISTS = eINSTANCE.getProduct_Wishlists();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Offered By</b></em>' reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference PRODUCT__OFFERED_BY = eINSTANCE.getProduct_OfferedBy();\r\n\r\n /**\r\n * The meta object literal for the '{@link de.upb.examples.reengineering.store.model.Customer <em>Customer</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see de.upb.examples.reengineering.store.model.Customer\r\n * @see de.upb.examples.reengineering.store.model.StorePackage#getCustomer()\r\n * @generated\r\n */\r\n public static final EClass CUSTOMER = eINSTANCE.getCustomer();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>All Bought Products</b></em>' reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference CUSTOMER__ALL_BOUGHT_PRODUCTS = eINSTANCE.getCustomer_AllBoughtProducts();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute CUSTOMER__NAME = eINSTANCE.getCustomer_Name();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Age</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute CUSTOMER__AGE = eINSTANCE.getCustomer_Age();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute CUSTOMER__ID = eINSTANCE.getCustomer_Id();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Wishlists</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference CUSTOMER__WISHLISTS = eINSTANCE.getCustomer_Wishlists();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Username</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute CUSTOMER__USERNAME = eINSTANCE.getCustomer_Username();\r\n\r\n /**\r\n * The meta object literal for the '{@link de.upb.examples.reengineering.store.model.Producer <em>Producer</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see de.upb.examples.reengineering.store.model.Producer\r\n * @see de.upb.examples.reengineering.store.model.StorePackage#getProducer()\r\n * @generated\r\n */\r\n public static final EClass PRODUCER = eINSTANCE.getProducer();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute PRODUCER__ID = eINSTANCE.getProducer_Id();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute PRODUCER__NAME = eINSTANCE.getProducer_Name();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Products</b></em>' reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference PRODUCER__PRODUCTS = eINSTANCE.getProducer_Products();\r\n\r\n /**\r\n * The meta object literal for the '{@link de.upb.examples.reengineering.store.model.Store <em>Store</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see de.upb.examples.reengineering.store.model.Store\r\n * @see de.upb.examples.reengineering.store.model.StorePackage#getStore()\r\n * @generated\r\n */\r\n public static final EClass STORE = eINSTANCE.getStore();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Customers</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference STORE__CUSTOMERS = eINSTANCE.getStore_Customers();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Products</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference STORE__PRODUCTS = eINSTANCE.getStore_Products();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Producers</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference STORE__PRODUCERS = eINSTANCE.getStore_Producers();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Sellers</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference STORE__SELLERS = eINSTANCE.getStore_Sellers();\r\n\r\n /**\r\n * The meta object literal for the '{@link de.upb.examples.reengineering.store.model.Book <em>Book</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see de.upb.examples.reengineering.store.model.Book\r\n * @see de.upb.examples.reengineering.store.model.StorePackage#getBook()\r\n * @generated\r\n */\r\n public static final EClass BOOK = eINSTANCE.getBook();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Author</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute BOOK__AUTHOR = eINSTANCE.getBook_Author();\r\n\r\n /**\r\n * The meta object literal for the '{@link de.upb.examples.reengineering.store.model.DVD <em>DVD</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see de.upb.examples.reengineering.store.model.DVD\r\n * @see de.upb.examples.reengineering.store.model.StorePackage#getDVD()\r\n * @generated\r\n */\r\n public static final EClass DVD = eINSTANCE.getDVD();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Interpret</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute DVD__INTERPRET = eINSTANCE.getDVD_Interpret();\r\n\r\n /**\r\n * The meta object literal for the '{@link de.upb.examples.reengineering.store.model.Wishlist <em>Wishlist</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see de.upb.examples.reengineering.store.model.Wishlist\r\n * @see de.upb.examples.reengineering.store.model.StorePackage#getWishlist()\r\n * @generated\r\n */\r\n public static final EClass WISHLIST = eINSTANCE.getWishlist();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Products</b></em>' reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference WISHLIST__PRODUCTS = eINSTANCE.getWishlist_Products();\r\n\r\n /**\r\n * The meta object literal for the '{@link de.upb.examples.reengineering.store.model.Seller <em>Seller</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see de.upb.examples.reengineering.store.model.Seller\r\n * @see de.upb.examples.reengineering.store.model.StorePackage#getSeller()\r\n * @generated\r\n */\r\n public static final EClass SELLER = eINSTANCE.getSeller();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute SELLER__NAME = eINSTANCE.getSeller_Name();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Id</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute SELLER__ID = eINSTANCE.getSeller_Id();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Username</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EAttribute SELLER__USERNAME = eINSTANCE.getSeller_Username();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>All Products To Sell</b></em>' reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference SELLER__ALL_PRODUCTS_TO_SELL = eINSTANCE.getSeller_AllProductsToSell();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>EReference0</b></em>' reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference SELLER__EREFERENCE0 = eINSTANCE.getSeller_EReference0();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Sold Products</b></em>' reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n public static final EReference SELLER__SOLD_PRODUCTS = eINSTANCE.getSeller_SoldProducts();\r\n\r\n }", "public interface Data {\n String DATABASE = \"Database\";\n String ONLINE = \"Online\";\n\n @StringDef({DATABASE, ONLINE})\n @interface Type{}\n\n int DATABASE_ID = 0;\n int ONLINE_ID = 1;\n @IntDef({DATABASE_ID, ONLINE_ID})\n @interface Id{}\n}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link org.scaledl.usageevolution.impl.UsageEvolutionImpl <em>Usage Evolution</em>}' class.\n\t\t * <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * @see org.scaledl.usageevolution.impl.UsageEvolutionImpl\n\t\t * @see org.scaledl.usageevolution.impl.UsageevolutionPackageImpl#getUsageEvolution()\n\t\t * @generated\n\t\t */\n\t\tEClass USAGE_EVOLUTION = eINSTANCE.getUsageEvolution();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Usages</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference USAGE_EVOLUTION__USAGES = eINSTANCE\n\t\t\t\t.getUsageEvolution_Usages();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.scaledl.usageevolution.impl.UsageImpl <em>Usage</em>}' class.\n\t\t * <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * @see org.scaledl.usageevolution.impl.UsageImpl\n\t\t * @see org.scaledl.usageevolution.impl.UsageevolutionPackageImpl#getUsage()\n\t\t * @generated\n\t\t */\n\t\tEClass USAGE = eINSTANCE.getUsage();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Load Evolution</b></em>' reference feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t *\n\t\t * @generated\n\t\t */\n\t\tEReference USAGE__LOAD_EVOLUTION = eINSTANCE.getUsage_LoadEvolution();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Work Evolutions</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference USAGE__WORK_EVOLUTIONS = eINSTANCE.getUsage_WorkEvolutions();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Scenario</b></em>' reference feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t *\n\t\t * @generated\n\t\t */\n\t\tEReference USAGE__SCENARIO = eINSTANCE.getUsage_Scenario();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Repeating Pattern</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 USAGE__REPEATING_PATTERN = eINSTANCE\n\t\t\t\t.getUsage_RepeatingPattern();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Evolution Step Width</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 USAGE__EVOLUTION_STEP_WIDTH = eINSTANCE\n\t\t\t\t.getUsage_EvolutionStepWidth();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.scaledl.usageevolution.impl.WorkParameterEvolutionImpl <em>Work Parameter Evolution</em>}' class.\n\t\t * <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * @see org.scaledl.usageevolution.impl.WorkParameterEvolutionImpl\n\t\t * @see org.scaledl.usageevolution.impl.UsageevolutionPackageImpl#getWorkParameterEvolution()\n\t\t * @generated\n\t\t */\n\t\tEClass WORK_PARAMETER_EVOLUTION = eINSTANCE.getWorkParameterEvolution();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Evolution</b></em>' reference feature. <!--\n\t\t * begin-user-doc --> <!-- end-user-doc -->\n\t\t *\n\t\t * @generated\n\t\t */\n\t\tEReference WORK_PARAMETER_EVOLUTION__EVOLUTION = eINSTANCE\n\t\t\t\t.getWorkParameterEvolution_Evolution();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Variable Characterisation</b></em>' reference feature.\n\t\t * <!-- begin-user-doc --> <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference WORK_PARAMETER_EVOLUTION__VARIABLE_CHARACTERISATION = eINSTANCE\n\t\t\t\t.getWorkParameterEvolution_VariableCharacterisation();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link easyflow.execution.makeflow.impl.MakeflowImpl <em>Makeflow</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see easyflow.execution.makeflow.impl.MakeflowImpl\n\t\t * @see easyflow.execution.makeflow.impl.MakeflowPackageImpl#getMakeflow()\n\t\t * @generated\n\t\t */\n\t\tEClass MAKEFLOW = eINSTANCE.getMakeflow();\n\n\t}", "interface Literals {\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link cn.edu.pku.sei.ra.wrapping.CommonWrapping.impl.WrappingEObjectImpl <em>Wrapping EObject</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see cn.edu.pku.sei.ra.wrapping.CommonWrapping.impl.WrappingEObjectImpl\r\n\t\t * @see cn.edu.pku.sei.ra.wrapping.CommonWrapping.impl.CommonWrappingPackageImpl#getWrappingEObject()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass WRAPPING_EOBJECT = eINSTANCE.getWrappingEObject();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Waiting Feature</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute WRAPPING_EOBJECT__WAITING_FEATURE = eINSTANCE.getWrappingEObject_WaitingFeature();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Core</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute WRAPPING_EOBJECT__CORE = eINSTANCE.getWrappingEObject_Core();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Newborn</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute WRAPPING_EOBJECT__NEWBORN = eINSTANCE.getWrappingEObject_Newborn();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Dead</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute WRAPPING_EOBJECT__DEAD = eINSTANCE.getWrappingEObject_Dead();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em>EJava List</em>' data type.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see java.util.List\r\n\t\t * @see cn.edu.pku.sei.ra.wrapping.CommonWrapping.impl.CommonWrappingPackageImpl#getEJavaList()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEDataType EJAVA_LIST = eINSTANCE.getEJavaList();\r\n\r\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link hu.eltesoft.modelexecution.profile.xumlrt.impl.CallableImpl <em>Callable</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see hu.eltesoft.modelexecution.profile.xumlrt.impl.CallableImpl\n\t\t * @see hu.eltesoft.modelexecution.profile.xumlrt.impl.XUMLRTPackageImpl#getCallable()\n\t\t * @generated\n\t\t */\n\t\tEClass CALLABLE = eINSTANCE.getCallable();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Base Class</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CALLABLE__BASE_CLASS = eINSTANCE.getCallable_Base_Class();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Class Name Is Valid</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation CALLABLE___CLASS_NAME_IS_VALID__DIAGNOSTICCHAIN_MAP = eINSTANCE.getCallable__ClassNameIsValid__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Reception Names Are Valid</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation CALLABLE___RECEPTION_NAMES_ARE_VALID__DIAGNOSTICCHAIN_MAP = eINSTANCE.getCallable__ReceptionNamesAreValid__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link hu.eltesoft.modelexecution.profile.xumlrt.impl.ExternalEntityImpl <em>External Entity</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see hu.eltesoft.modelexecution.profile.xumlrt.impl.ExternalEntityImpl\n\t\t * @see hu.eltesoft.modelexecution.profile.xumlrt.impl.XUMLRTPackageImpl#getExternalEntity()\n\t\t * @generated\n\t\t */\n\t\tEClass EXTERNAL_ENTITY = eINSTANCE.getExternalEntity();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Class</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 EXTERNAL_ENTITY__CLASS = eINSTANCE.getExternalEntity_Class();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</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 EXTERNAL_ENTITY__TYPE = eINSTANCE.getExternalEntity_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>External Header Location</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 EXTERNAL_ENTITY__EXTERNAL_HEADER_LOCATION = eINSTANCE.getExternalEntity_ExternalHeaderLocation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>External Namespace</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 EXTERNAL_ENTITY__EXTERNAL_NAMESPACE = eINSTANCE.getExternalEntity_ExternalNamespace();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Base Class</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference EXTERNAL_ENTITY__BASE_CLASS = eINSTANCE.getExternalEntity_Base_Class();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>All Operations Are Static</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation EXTERNAL_ENTITY___ALL_OPERATIONS_ARE_STATIC__DIAGNOSTICCHAIN_MAP = eINSTANCE.getExternalEntity__AllOperationsAreStatic__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Has No Attributes</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation EXTERNAL_ENTITY___HAS_NO_ATTRIBUTES__DIAGNOSTICCHAIN_MAP = eINSTANCE.getExternalEntity__HasNoAttributes__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Referenced Class Name Is Valid</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation EXTERNAL_ENTITY___REFERENCED_CLASS_NAME_IS_VALID__DIAGNOSTICCHAIN_MAP = eINSTANCE.getExternalEntity__ReferencedClassNameIsValid__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Parameters Are Callable Or Primitive</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation EXTERNAL_ENTITY___PARAMETERS_ARE_CALLABLE_OR_PRIMITIVE__DIAGNOSTICCHAIN_MAP = eINSTANCE.getExternalEntity__ParametersAreCallableOrPrimitive__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Parameter Directions Are In</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation EXTERNAL_ENTITY___PARAMETER_DIRECTIONS_ARE_IN__DIAGNOSTICCHAIN_MAP = eINSTANCE.getExternalEntity__ParameterDirectionsAreIn__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Parameter Names Are Valid</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation EXTERNAL_ENTITY___PARAMETER_NAMES_ARE_VALID__DIAGNOSTICCHAIN_MAP = eINSTANCE.getExternalEntity__ParameterNamesAreValid__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Parameter Multiplicities Are One</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation EXTERNAL_ENTITY___PARAMETER_MULTIPLICITIES_ARE_ONE__DIAGNOSTICCHAIN_MAP = eINSTANCE.getExternalEntity__ParameterMultiplicitiesAreOne__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Class Must Be Abstract</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation EXTERNAL_ENTITY___CLASS_MUST_BE_ABSTRACT__DIAGNOSTICCHAIN_MAP = eINSTANCE.getExternalEntity__ClassMustBeAbstract__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Class Name Is Valid</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation EXTERNAL_ENTITY___CLASS_NAME_IS_VALID__DIAGNOSTICCHAIN_MAP = eINSTANCE.getExternalEntity__ClassNameIsValid__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Operation Names Are Valid</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation EXTERNAL_ENTITY___OPERATION_NAMES_ARE_VALID__DIAGNOSTICCHAIN_MAP = eINSTANCE.getExternalEntity__OperationNamesAreValid__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Return Type Is Valid</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation EXTERNAL_ENTITY___RETURN_TYPE_IS_VALID__DIAGNOSTICCHAIN_MAP = eINSTANCE.getExternalEntity__ReturnTypeIsValid__DiagnosticChain_Map();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link hu.eltesoft.modelexecution.profile.xumlrt.EntityType <em>Entity Type</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see hu.eltesoft.modelexecution.profile.xumlrt.EntityType\n\t\t * @see hu.eltesoft.modelexecution.profile.xumlrt.impl.XUMLRTPackageImpl#getEntityType()\n\t\t * @generated\n\t\t */\n\t\tEEnum ENTITY_TYPE = eINSTANCE.getEntityType();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.impl.UseCaseImpl <em>Use Case</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UseCaseImpl\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getUseCase()\n\t\t * @generated\n\t\t */\n\t\tEClass USE_CASE = eINSTANCE.getUseCase();\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 USE_CASE__NAME = eINSTANCE.getUseCase_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</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 USE_CASE__DESCRIPTION = eINSTANCE.getUseCase_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Context</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference USE_CASE__CONTEXT = eINSTANCE.getUseCase_Context();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Secondary Actors</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 USE_CASE__SECONDARY_ACTORS = eINSTANCE.getUseCase_SecondaryActors();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Primary Actor</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference USE_CASE__PRIMARY_ACTOR = eINSTANCE.getUseCase_PrimaryActor();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Flows</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 USE_CASE__FLOWS = eINSTANCE.getUseCase_Flows();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Parent</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference USE_CASE__PARENT = eINSTANCE.getUseCase_Parent();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.impl.ContextImpl <em>Context</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.impl.ContextImpl\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getContext()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTEXT = eINSTANCE.getContext();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Preconditions</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 CONTEXT__PRECONDITIONS = eINSTANCE.getContext_Preconditions();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Postconditions</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 CONTEXT__POSTCONDITIONS = eINSTANCE.getContext_Postconditions();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.impl.UseCaseModelImpl <em>Use Case Model</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UseCaseModelImpl\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getUseCaseModel()\n\t\t * @generated\n\t\t */\n\t\tEClass USE_CASE_MODEL = eINSTANCE.getUseCaseModel();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</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 USE_CASE_MODEL__DESCRIPTION = eINSTANCE.getUseCaseModel_Description();\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 USE_CASE_MODEL__NAME = eINSTANCE.getUseCaseModel_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Actors</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 USE_CASE_MODEL__ACTORS = eINSTANCE.getUseCaseModel_Actors();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Use Cases</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 USE_CASE_MODEL__USE_CASES = eINSTANCE.getUseCaseModel_UseCases();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Aspects</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 USE_CASE_MODEL__ASPECTS = eINSTANCE.getUseCaseModel_Aspects();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.impl.ActorImpl <em>Actor</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.impl.ActorImpl\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getActor()\n\t\t * @generated\n\t\t */\n\t\tEClass ACTOR = eINSTANCE.getActor();\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 ACTOR__NAME = eINSTANCE.getActor_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</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 ACTOR__DESCRIPTION = eINSTANCE.getActor_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</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 ACTOR__TYPE = eINSTANCE.getActor_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.impl.FlowImpl <em>Flow</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.impl.FlowImpl\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getFlow()\n\t\t * @generated\n\t\t */\n\t\tEClass FLOW = eINSTANCE.getFlow();\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 FLOW__NAME = eINSTANCE.getFlow_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Events</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 FLOW__EVENTS = eINSTANCE.getFlow_Events();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Use Case</b></em>' container reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference FLOW__USE_CASE = eINSTANCE.getFlow_UseCase();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Parent Flow</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference FLOW__PARENT_FLOW = eINSTANCE.getFlow_ParentFlow();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Return Event</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference FLOW__RETURN_EVENT = eINSTANCE.getFlow_ReturnEvent();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.impl.EventImpl <em>Event</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.impl.EventImpl\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getEvent()\n\t\t * @generated\n\t\t */\n\t\tEClass EVENT = eINSTANCE.getEvent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Detail</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 EVENT__DETAIL = eINSTANCE.getEvent_Detail();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Number</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 EVENT__NUMBER = eINSTANCE.getEvent_Number();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Event Id</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 EVENT__EVENT_ID = eINSTANCE.getEvent_EventId();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Affected By Join Point</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 EVENT__AFFECTED_BY_JOIN_POINT = eINSTANCE.getEvent_AffectedByJoinPoint();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.impl.FunctionalEventImpl <em>Functional Event</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.impl.FunctionalEventImpl\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getFunctionalEvent()\n\t\t * @generated\n\t\t */\n\t\tEClass FUNCTIONAL_EVENT = eINSTANCE.getFunctionalEvent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Joint Points</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 FUNCTIONAL_EVENT__JOINT_POINTS = eINSTANCE.getFunctionalEvent_JointPoints();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</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 FUNCTIONAL_EVENT__TYPE = eINSTANCE.getFunctionalEvent_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Subject</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference FUNCTIONAL_EVENT__SUBJECT = eINSTANCE.getFunctionalEvent_Subject();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Other Actors</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 FUNCTIONAL_EVENT__OTHER_ACTORS = eINSTANCE.getFunctionalEvent_OtherActors();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Exceptions</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 FUNCTIONAL_EVENT__EXCEPTIONS = eINSTANCE.getFunctionalEvent_Exceptions();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Action Classes</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 FUNCTIONAL_EVENT__ACTION_CLASSES = eINSTANCE.getFunctionalEvent_ActionClasses();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.impl.ExtensionPointImpl <em>Extension Point</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.impl.ExtensionPointImpl\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getExtensionPoint()\n\t\t * @generated\n\t\t */\n\t\tEClass EXTENSION_POINT = eINSTANCE.getExtensionPoint();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Condition</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 EXTENSION_POINT__CONDITION = eINSTANCE.getExtensionPoint_Condition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Extended Use Cases</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 EXTENSION_POINT__EXTENDED_USE_CASES = eINSTANCE.getExtensionPoint_ExtendedUseCases();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.impl.InclusionCallImpl <em>Inclusion Call</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.impl.InclusionCallImpl\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getInclusionCall()\n\t\t * @generated\n\t\t */\n\t\tEClass INCLUSION_CALL = eINSTANCE.getInclusionCall();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Included Use Cases</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 INCLUSION_CALL__INCLUDED_USE_CASES = eINSTANCE.getInclusionCall_IncludedUseCases();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.impl.JointPointImpl <em>Joint Point</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.impl.JointPointImpl\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getJointPoint()\n\t\t * @generated\n\t\t */\n\t\tEClass JOINT_POINT = eINSTANCE.getJointPoint();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Impact Words</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 JOINT_POINT__IMPACT_WORDS = eINSTANCE.getJointPoint_ImpactWords();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Impact Aspect</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference JOINT_POINT__IMPACT_ASPECT = eINSTANCE.getJointPoint_ImpactAspect();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.impl.ActionClassImpl <em>Action Class</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.impl.ActionClassImpl\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getActionClass()\n\t\t * @generated\n\t\t */\n\t\tEClass ACTION_CLASS = eINSTANCE.getActionClass();\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 ACTION_CLASS__NAME = eINSTANCE.getActionClass_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Confidence</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 ACTION_CLASS__CONFIDENCE = eINSTANCE.getActionClass_Confidence();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ranking</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 ACTION_CLASS__RANKING = eINSTANCE.getActionClass_Ranking();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Parent</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ACTION_CLASS__PARENT = eINSTANCE.getActionClass_Parent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Childs</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 ACTION_CLASS__CHILDS = eINSTANCE.getActionClass_Childs();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Predicate</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 ACTION_CLASS__PREDICATE = eINSTANCE.getActionClass_Predicate();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.impl.AspectImpl <em>Aspect</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.impl.AspectImpl\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getAspect()\n\t\t * @generated\n\t\t */\n\t\tEClass ASPECT = eINSTANCE.getAspect();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Cc Names</b></em>' attribute list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute ASPECT__CC_NAMES = eINSTANCE.getAspect_CcNames();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.impl.ConditionImpl <em>Condition</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.impl.ConditionImpl\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getCondition()\n\t\t * @generated\n\t\t */\n\t\tEClass CONDITION = eINSTANCE.getCondition();\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 CONDITION__NAME = eINSTANCE.getCondition_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</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 CONDITION__DESCRIPTION = eINSTANCE.getCondition_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>EReference0</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONDITION__EREFERENCE0 = eINSTANCE.getCondition_EReference0();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.ActorTypeEnum <em>Actor Type Enum</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.ActorTypeEnum\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getActorTypeEnum()\n\t\t * @generated\n\t\t */\n\t\tEEnum ACTOR_TYPE_ENUM = eINSTANCE.getActorTypeEnum();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.EventTypeEnum <em>Event Type Enum</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.EventTypeEnum\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getEventTypeEnum()\n\t\t * @generated\n\t\t */\n\t\tEEnum EVENT_TYPE_ENUM = eINSTANCE.getEventTypeEnum();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.unicen.ucrefactoring.model.ActionCodeEnum <em>Action Code Enum</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.unicen.ucrefactoring.model.ActionCodeEnum\n\t\t * @see edu.unicen.ucrefactoring.model.impl.UCRefactoringPackageImpl#getActionCodeEnum()\n\t\t * @generated\n\t\t */\n\t\tEEnum ACTION_CODE_ENUM = eINSTANCE.getActionCodeEnum();\n\n\t}", "interface Literals\n {\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.DocumentoImpl <em>Documento</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.DocumentoImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getDocumento()\n * @generated\n */\n EClass DOCUMENTO = eINSTANCE.getDocumento();\n\n /**\n * The meta object literal for the '<em><b>Path Modelo</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute DOCUMENTO__PATH_MODELO = eINSTANCE.getDocumento_PathModelo();\n\n /**\n * The meta object literal for the '<em><b>Path Ocl</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute DOCUMENTO__PATH_OCL = eINSTANCE.getDocumento_PathOcl();\n\n /**\n * The meta object literal for the '<em><b>Oraciones</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference DOCUMENTO__ORACIONES = eINSTANCE.getDocumento_Oraciones();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.OracionImpl <em>Oracion</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.OracionImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getOracion()\n * @generated\n */\n EClass ORACION = eINSTANCE.getOracion();\n\n /**\n * The meta object literal for the '<em><b>Contenido</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ORACION__CONTENIDO = eINSTANCE.getOracion_Contenido();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.SimpleImpl <em>Simple</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.SimpleImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getSimple()\n * @generated\n */\n EClass SIMPLE = eINSTANCE.getSimple();\n\n /**\n * The meta object literal for the '<em><b>Determinante</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference SIMPLE__DETERMINANTE = eINSTANCE.getSimple_Determinante();\n\n /**\n * The meta object literal for the '<em><b>Atributo</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference SIMPLE__ATRIBUTO = eINSTANCE.getSimple_Atributo();\n\n /**\n * The meta object literal for the '<em><b>Sintagma</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference SIMPLE__SINTAGMA = eINSTANCE.getSimple_Sintagma();\n\n /**\n * The meta object literal for the '<em><b>Contexto</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference SIMPLE__CONTEXTO = eINSTANCE.getSimple_Contexto();\n\n /**\n * The meta object literal for the '<em><b>Obligacion</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference SIMPLE__OBLIGACION = eINSTANCE.getSimple_Obligacion();\n\n /**\n * The meta object literal for the '<em><b>Operacion</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference SIMPLE__OPERACION = eINSTANCE.getSimple_Operacion();\n\n /**\n * The meta object literal for the '<em><b>Literal</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute SIMPLE__LITERAL = eINSTANCE.getSimple_Literal();\n\n /**\n * The meta object literal for the '<em><b>Fin Oracion</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute SIMPLE__FIN_ORACION = eINSTANCE.getSimple_FinOracion();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.DeterminanteImpl <em>Determinante</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.DeterminanteImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getDeterminante()\n * @generated\n */\n EClass DETERMINANTE = eINSTANCE.getDeterminante();\n\n /**\n * The meta object literal for the '<em><b>Descripcion</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute DETERMINANTE__DESCRIPCION = eINSTANCE.getDeterminante_Descripcion();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.AtributoImpl <em>Atributo</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.AtributoImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getAtributo()\n * @generated\n */\n EClass ATRIBUTO = eINSTANCE.getAtributo();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ATRIBUTO__NAME = eINSTANCE.getAtributo_Name();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.SintagmaPreposicionalImpl <em>Sintagma Preposicional</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.SintagmaPreposicionalImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getSintagmaPreposicional()\n * @generated\n */\n EClass SINTAGMA_PREPOSICIONAL = eINSTANCE.getSintagmaPreposicional();\n\n /**\n * The meta object literal for the '<em><b>Descripcion</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute SINTAGMA_PREPOSICIONAL__DESCRIPCION = eINSTANCE.getSintagmaPreposicional_Descripcion();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.ObligacionImpl <em>Obligacion</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.ObligacionImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getObligacion()\n * @generated\n */\n EClass OBLIGACION = eINSTANCE.getObligacion();\n\n /**\n * The meta object literal for the '<em><b>Negacion</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference OBLIGACION__NEGACION = eINSTANCE.getObligacion_Negacion();\n\n /**\n * The meta object literal for the '<em><b>Obligacion Deber</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference OBLIGACION__OBLIGACION_DEBER = eINSTANCE.getObligacion_ObligacionDeber();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.ObligacionDeberImpl <em>Obligacion Deber</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.ObligacionDeberImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getObligacionDeber()\n * @generated\n */\n EClass OBLIGACION_DEBER = eINSTANCE.getObligacionDeber();\n\n /**\n * The meta object literal for the '<em><b>Descripcion</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OBLIGACION_DEBER__DESCRIPCION = eINSTANCE.getObligacionDeber_Descripcion();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.NegacionImpl <em>Negacion</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.NegacionImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getNegacion()\n * @generated\n */\n EClass NEGACION = eINSTANCE.getNegacion();\n\n /**\n * The meta object literal for the '<em><b>Descripcion</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute NEGACION__DESCRIPCION = eINSTANCE.getNegacion_Descripcion();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.OperacionImpl <em>Operacion</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.OperacionImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getOperacion()\n * @generated\n */\n EClass OPERACION = eINSTANCE.getOperacion();\n\n /**\n * The meta object literal for the '<em><b>Descripcion</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OPERACION__DESCRIPCION = eINSTANCE.getOperacion_Descripcion();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.ClaseImpl <em>Clase</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.ClaseImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getClase()\n * @generated\n */\n EClass CLASE = eINSTANCE.getClase();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CLASE__NAME = eINSTANCE.getClase_Name();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.CompuestaImpl <em>Compuesta</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.CompuestaImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getCompuesta()\n * @generated\n */\n EClass COMPUESTA = eINSTANCE.getCompuesta();\n\n /**\n * The meta object literal for the '<em><b>Simple Inicial</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPUESTA__SIMPLE_INICIAL = eINSTANCE.getCompuesta_SimpleInicial();\n\n /**\n * The meta object literal for the '<em><b>Nexo</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPUESTA__NEXO = eINSTANCE.getCompuesta_Nexo();\n\n /**\n * The meta object literal for the '<em><b>Simple Final</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPUESTA__SIMPLE_FINAL = eINSTANCE.getCompuesta_SimpleFinal();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.NexoImpl <em>Nexo</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.NexoImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getNexo()\n * @generated\n */\n EClass NEXO = eINSTANCE.getNexo();\n\n /**\n * The meta object literal for the '<em><b>Descripcion</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute NEXO__DESCRIPCION = eINSTANCE.getNexo_Descripcion();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.ComplejaImpl <em>Compleja</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.ComplejaImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getCompleja()\n * @generated\n */\n EClass COMPLEJA = eINSTANCE.getCompleja();\n\n /**\n * The meta object literal for the '<em><b>Determinante</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__DETERMINANTE = eINSTANCE.getCompleja_Determinante();\n\n /**\n * The meta object literal for the '<em><b>Atr</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__ATR = eINSTANCE.getCompleja_Atr();\n\n /**\n * The meta object literal for the '<em><b>Sintagma</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__SINTAGMA = eINSTANCE.getCompleja_Sintagma();\n\n /**\n * The meta object literal for the '<em><b>Contexto</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__CONTEXTO = eINSTANCE.getCompleja_Contexto();\n\n /**\n * The meta object literal for the '<em><b>Conect</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__CONECT = eINSTANCE.getCompleja_Conect();\n\n /**\n * The meta object literal for the '<em><b>Operacion Coleccion</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__OPERACION_COLECCION = eINSTANCE.getCompleja_OperacionColeccion();\n\n /**\n * The meta object literal for the '<em><b>Determinante1</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__DETERMINANTE1 = eINSTANCE.getCompleja_Determinante1();\n\n /**\n * The meta object literal for the '<em><b>Clase</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__CLASE = eINSTANCE.getCompleja_Clase();\n\n /**\n * The meta object literal for the '<em><b>Conect1</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__CONECT1 = eINSTANCE.getCompleja_Conect1();\n\n /**\n * The meta object literal for the '<em><b>Atr1</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__ATR1 = eINSTANCE.getCompleja_Atr1();\n\n /**\n * The meta object literal for the '<em><b>Ope3</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__OPE3 = eINSTANCE.getCompleja_Ope3();\n\n /**\n * The meta object literal for the '<em><b>Lit1</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute COMPLEJA__LIT1 = eINSTANCE.getCompleja_Lit1();\n\n /**\n * The meta object literal for the '<em><b>Atr2</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__ATR2 = eINSTANCE.getCompleja_Atr2();\n\n /**\n * The meta object literal for the '<em><b>Ope4</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__OPE4 = eINSTANCE.getCompleja_Ope4();\n\n /**\n * The meta object literal for the '<em><b>Atr4</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__ATR4 = eINSTANCE.getCompleja_Atr4();\n\n /**\n * The meta object literal for the '<em><b>Ope5</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__OPE5 = eINSTANCE.getCompleja_Ope5();\n\n /**\n * The meta object literal for the '<em><b>Lit2</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute COMPLEJA__LIT2 = eINSTANCE.getCompleja_Lit2();\n\n /**\n * The meta object literal for the '<em><b>Atr5</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__ATR5 = eINSTANCE.getCompleja_Atr5();\n\n /**\n * The meta object literal for the '<em><b>Conec1</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__CONEC1 = eINSTANCE.getCompleja_Conec1();\n\n /**\n * The meta object literal for the '<em><b>Ope Col</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__OPE_COL = eINSTANCE.getCompleja_OpeCol();\n\n /**\n * The meta object literal for the '<em><b>Ope6</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__OPE6 = eINSTANCE.getCompleja_Ope6();\n\n /**\n * The meta object literal for the '<em><b>Lit3</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute COMPLEJA__LIT3 = eINSTANCE.getCompleja_Lit3();\n\n /**\n * The meta object literal for the '<em><b>Atr3</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference COMPLEJA__ATR3 = eINSTANCE.getCompleja_Atr3();\n\n /**\n * The meta object literal for the '<em><b>Fin Oracion</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute COMPLEJA__FIN_ORACION = eINSTANCE.getCompleja_FinOracion();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.ConectorImpl <em>Conector</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.ConectorImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getConector()\n * @generated\n */\n EClass CONECTOR = eINSTANCE.getConector();\n\n /**\n * The meta object literal for the '<em><b>Descripcion</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CONECTOR__DESCRIPCION = eINSTANCE.getConector_Descripcion();\n\n /**\n * The meta object literal for the '{@link org.xtext.tesis.gramatica.gramatica.impl.OperacionColeccionImpl <em>Operacion Coleccion</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see org.xtext.tesis.gramatica.gramatica.impl.OperacionColeccionImpl\n * @see org.xtext.tesis.gramatica.gramatica.impl.GramaticaPackageImpl#getOperacionColeccion()\n * @generated\n */\n EClass OPERACION_COLECCION = eINSTANCE.getOperacionColeccion();\n\n /**\n * The meta object literal for the '<em><b>Descripcion</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute OPERACION_COLECCION__DESCRIPCION = eINSTANCE.getOperacionColeccion_Descripcion();\n\n }", "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\tbagTypeEClass = createEClass(BAG_TYPE);\n\n\t\ttupleTypeEClass = createEClass(TUPLE_TYPE);\n\t\tcreateEReference(tupleTypeEClass, TUPLE_TYPE__OCL_LIBRARY);\n\n\t\tcollectionTypeEClass = createEClass(COLLECTION_TYPE);\n\t\tcreateEReference(collectionTypeEClass, COLLECTION_TYPE__ELEMENT_TYPE);\n\t\tcreateEReference(collectionTypeEClass, COLLECTION_TYPE__OCL_LIBRARY);\n\t\tcreateEAttribute(collectionTypeEClass, COLLECTION_TYPE__KIND);\n\n\t\tinvalidTypeEClass = createEClass(INVALID_TYPE);\n\t\tcreateEReference(invalidTypeEClass, INVALID_TYPE__OCL_LIBRARY);\n\n\t\torderedSetTypeEClass = createEClass(ORDERED_SET_TYPE);\n\n\t\tsequenceTypeEClass = createEClass(SEQUENCE_TYPE);\n\n\t\tsetTypeEClass = createEClass(SET_TYPE);\n\n\t\tvoidTypeEClass = createEClass(VOID_TYPE);\n\t\tcreateEReference(voidTypeEClass, VOID_TYPE__OCL_LIBRARY);\n\n\t\ttypeTypeEClass = createEClass(TYPE_TYPE);\n\t\tcreateEReference(typeTypeEClass, TYPE_TYPE__REPRESENTED_TYPE);\n\n\t\toclLibraryEClass = createEClass(OCL_LIBRARY);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_BOOLEAN);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_STRING);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_INTEGER);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_REAL);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_ANY);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_VOID);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_INVALID);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_TYPE);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_COLLECTION);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_SEQUENCE);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_BAG);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_SET);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_ORDERED_SET);\n\t\tcreateEReference(oclLibraryEClass, OCL_LIBRARY__OCL_TUPLE);\n\n\t\tanyTypeEClass = createEClass(ANY_TYPE);\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\tblockEClass = createEClass(BLOCK);\n\t\tcreateEReference(blockEClass, BLOCK__STMTS);\n\n\t\tstmtEClass = createEClass(STMT);\n\n\t\tarithEClass = createEClass(ARITH);\n\n\t\talVarRefEClass = createEClass(AL_VAR_REF);\n\t\tcreateEAttribute(alVarRefEClass, AL_VAR_REF__NAME);\n\n\t\tarithLitEClass = createEClass(ARITH_LIT);\n\t\tcreateEAttribute(arithLitEClass, ARITH_LIT__VAL);\n\n\t\tarithOpEClass = createEClass(ARITH_OP);\n\t\tcreateEReference(arithOpEClass, ARITH_OP__LHS);\n\t\tcreateEReference(arithOpEClass, ARITH_OP__RHS);\n\n\t\tarithPlusEClass = createEClass(ARITH_PLUS);\n\n\t\tarithMinusEClass = createEClass(ARITH_MINUS);\n\n\t\tprintEClass = createEClass(PRINT);\n\t\tcreateEAttribute(printEClass, PRINT__NAME);\n\n\t\tassignEClass = createEClass(ASSIGN);\n\t\tcreateEAttribute(assignEClass, ASSIGN__NAME);\n\t\tcreateEReference(assignEClass, ASSIGN__VAL);\n\n\t\tifStmtEClass = createEClass(IF_STMT);\n\t\tcreateEReference(ifStmtEClass, IF_STMT__IF_BRANCH);\n\t\tcreateEReference(ifStmtEClass, IF_STMT__ELSE_BRANCH);\n\t\tcreateEReference(ifStmtEClass, IF_STMT__TEST);\n\n\t\trandRangeEClass = createEClass(RAND_RANGE);\n\t\tcreateEAttribute(randRangeEClass, RAND_RANGE__MIN);\n\t\tcreateEAttribute(randRangeEClass, RAND_RANGE__MAX);\n\n\t\tequalityTestEClass = createEClass(EQUALITY_TEST);\n\t\tcreateEReference(equalityTestEClass, EQUALITY_TEST__LHS);\n\t\tcreateEReference(equalityTestEClass, EQUALITY_TEST__RHS);\n\t}", "public interface Representation // C# has public abstract class\n{\n /// <summary>\n /// Creates a new type object of this representation, and\n /// associates it with the given HOW. Also sets up a new\n /// representation instance if needed.\n /// </summary>\n /// <param name=\"HOW\"></param>\n /// <returns></returns>\n RakudoObject type_object_for(ThreadContext tc, RakudoObject how);\n\n /// <summary>\n /// Creates a new instance based on the type object.\n /// </summary>\n /// <param name=\"WHAT\"></param>\n /// <returns></returns>\n RakudoObject instance_of(ThreadContext tc, RakudoObject what);\n\n /// <summary>\n /// Checks if a given object is defined.\n /// </summary>\n /// <param name=\"Obj\"></param>\n /// <returns></returns>\n boolean defined(ThreadContext tc, RakudoObject obj);\n\n /// <summary>\n /// Gets the current value for an attribute.\n /// </summary>\n /// <param name=\"ClassHandle\"></param>\n /// <param name=\"Name\"></param>\n /// <returns></returns>\n RakudoObject get_attribute(ThreadContext tc, RakudoObject object, RakudoObject classHandle, String name);\n\n /// <summary>\n /// Gets the current value for an attribute, obtained using the\n /// given hint.\n /// </summary>\n /// <param name=\"ClassHandle\"></param>\n /// <param name=\"Name\"></param>\n /// <param name=\"Hint\"></param>\n /// <returns></returns>\n RakudoObject get_attribute_with_hint(ThreadContext tc, RakudoObject object, RakudoObject classHandle, String name, int hint);\n\n /// <summary>\n /// Binds the given value to the specified attribute.\n /// </summary>\n /// <param name=\"ClassHandle\"></param>\n /// <param name=\"Name\"></param>\n /// <param name=\"Value\"></param>\n void bind_attribute(ThreadContext tc, RakudoObject object, RakudoObject classHandle, String name, RakudoObject value);\n\n /// <summary>\n /// Binds the given value to the specified attribute, using the\n /// given hint.\n /// </summary>\n /// <param name=\"ClassHandle\"></param>\n /// <param name=\"Name\"></param>\n /// <param name=\"Hint\"></param>\n /// <param name=\"Value\"></param>\n void bind_attribute_with_hint(ThreadContext tc, RakudoObject object, RakudoObject classHandle, String name, int hint, RakudoObject Value);\n\n /// <summary>\n /// Gets the hint for the given attribute ID.\n /// </summary>\n /// <param name=\"ClassHandle\"></param>\n /// <param name=\"Name\"></param>\n /// <returns></returns>\n int hint_for(ThreadContext tc, RakudoObject classHandle, String name);\n\n /// <summary>\n /// Used with boxing. Sets an integer value, for representations that\n /// can hold one.\n /// </summary>\n /// <param name=\"Object\"></param>\n /// <param name=\"Value\"></param>\n void set_int(ThreadContext tc, RakudoObject classHandle, int Value);\n\n /// <summary>\n /// Used with boxing. Gets an integer value, for representations that\n /// can hold one.\n /// </summary>\n /// <param name=\"Object\"></param>\n /// <param name=\"Value\"></param>\n int get_int(ThreadContext tc, RakudoObject classHandle);\n\n /// <summary>\n /// Used with boxing. Sets a floating point value, for representations that\n /// can hold one.\n /// </summary>\n /// <param name=\"Object\"></param>\n /// <param name=\"Value\"></param>\n void set_num(ThreadContext tc, RakudoObject classHandle, double Value);\n\n /// <summary>\n /// Used with boxing. Gets a floating point value, for representations that\n /// can hold one.\n /// </summary>\n /// <param name=\"Object\"></param>\n /// <param name=\"Value\"></param>\n double get_num(ThreadContext tc, RakudoObject classHandle);\n\n /// <summary>\n /// Used with boxing. Sets a string value, for representations that\n /// can hold one.\n /// </summary>\n /// <param name=\"Object\"></param>\n /// <param name=\"Value\"></param>\n void set_str(ThreadContext tc, RakudoObject classHandle, String Value);\n\n /// <summary>\n /// Used with boxing. Gets a string value, for representations that\n /// can hold one.\n /// </summary>\n /// <param name=\"Object\"></param>\n /// <param name=\"Value\"></param>\n String get_str(ThreadContext tc, RakudoObject classHandle);\n}", "interface Literals\n {\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.GameImpl <em>Game</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.GameImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getGame()\n * @generated\n */\n EClass GAME = eINSTANCE.getGame();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute GAME__NAME = eINSTANCE.getGame_Name();\n\n /**\n * The meta object literal for the '<em><b>Player</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GAME__PLAYER = eINSTANCE.getGame_Player();\n\n /**\n * The meta object literal for the '<em><b>Places</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GAME__PLACES = eINSTANCE.getGame_Places();\n\n /**\n * The meta object literal for the '<em><b>Knowledge</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GAME__KNOWLEDGE = eINSTANCE.getGame_Knowledge();\n\n /**\n * The meta object literal for the '<em><b>People</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GAME__PEOPLE = eINSTANCE.getGame_People();\n\n /**\n * The meta object literal for the '<em><b>Items</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GAME__ITEMS = eINSTANCE.getGame_Items();\n\n /**\n * The meta object literal for the '<em><b>Path</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GAME__PATH = eINSTANCE.getGame_Path();\n\n /**\n * The meta object literal for the '<em><b>Recipes</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GAME__RECIPES = eINSTANCE.getGame_Recipes();\n\n /**\n * The meta object literal for the '<em><b>Start Place</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GAME__START_PLACE = eINSTANCE.getGame_StartPlace();\n\n /**\n * The meta object literal for the '<em><b>End Place</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GAME__END_PLACE = eINSTANCE.getGame_EndPlace();\n\n /**\n * The meta object literal for the '<em><b>Difficulty</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GAME__DIFFICULTY = eINSTANCE.getGame_Difficulty();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.DifficultyImpl <em>Difficulty</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.DifficultyImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getDifficulty()\n * @generated\n */\n EClass DIFFICULTY = eINSTANCE.getDifficulty();\n\n /**\n * The meta object literal for the '<em><b>Lvl</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute DIFFICULTY__LVL = eINSTANCE.getDifficulty_Lvl();\n\n /**\n * The meta object literal for the '<em><b>Size Max</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute DIFFICULTY__SIZE_MAX = eINSTANCE.getDifficulty_SizeMax();\n\n /**\n * The meta object literal for the '<em><b>Items</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference DIFFICULTY__ITEMS = eINSTANCE.getDifficulty_Items();\n\n /**\n * The meta object literal for the '<em><b>Knowledges</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference DIFFICULTY__KNOWLEDGES = eINSTANCE.getDifficulty_Knowledges();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.PlayerImpl <em>Player</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.PlayerImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getPlayer()\n * @generated\n */\n EClass PLAYER = eINSTANCE.getPlayer();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PLAYER__NAME = eINSTANCE.getPlayer_Name();\n\n /**\n * The meta object literal for the '<em><b>Items</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PLAYER__ITEMS = eINSTANCE.getPlayer_Items();\n\n /**\n * The meta object literal for the '<em><b>Knowledge</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PLAYER__KNOWLEDGE = eINSTANCE.getPlayer_Knowledge();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.ElementJeuFactImpl <em>Element Jeu Fact</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.ElementJeuFactImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getElementJeuFact()\n * @generated\n */\n EClass ELEMENT_JEU_FACT = eINSTANCE.getElementJeuFact();\n\n /**\n * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ELEMENT_JEU_FACT__DESCRIPTION = eINSTANCE.getElementJeuFact_Description();\n\n /**\n * The meta object literal for the '<em><b>Visible</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ELEMENT_JEU_FACT__VISIBLE = eINSTANCE.getElementJeuFact_Visible();\n\n /**\n * The meta object literal for the '<em><b>Cond</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ELEMENT_JEU_FACT__COND = eINSTANCE.getElementJeuFact_Cond();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.PeopleImpl <em>People</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.PeopleImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getPeople()\n * @generated\n */\n EClass PEOPLE = eINSTANCE.getPeople();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PEOPLE__NAME = eINSTANCE.getPeople_Name();\n\n /**\n * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PEOPLE__DESCRIPTION = eINSTANCE.getPeople_Description();\n\n /**\n * The meta object literal for the '<em><b>Visible</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PEOPLE__VISIBLE = eINSTANCE.getPeople_Visible();\n\n /**\n * The meta object literal for the '<em><b>Conditions Visible</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PEOPLE__CONDITIONS_VISIBLE = eINSTANCE.getPeople_ConditionsVisible();\n\n /**\n * The meta object literal for the '<em><b>Active</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PEOPLE__ACTIVE = eINSTANCE.getPeople_Active();\n\n /**\n * The meta object literal for the '<em><b>Conditions Active</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PEOPLE__CONDITIONS_ACTIVE = eINSTANCE.getPeople_ConditionsActive();\n\n /**\n * The meta object literal for the '<em><b>Is Mandatory</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PEOPLE__IS_MANDATORY = eINSTANCE.getPeople_IsMandatory();\n\n /**\n * The meta object literal for the '<em><b>Interaction</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PEOPLE__INTERACTION = eINSTANCE.getPeople_Interaction();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.PathImpl <em>Path</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.PathImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getPath()\n * @generated\n */\n EClass PATH = eINSTANCE.getPath();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PATH__NAME = eINSTANCE.getPath_Name();\n\n /**\n * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PATH__DESCRIPTION = eINSTANCE.getPath_Description();\n\n /**\n * The meta object literal for the '<em><b>Visible</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PATH__VISIBLE = eINSTANCE.getPath_Visible();\n\n /**\n * The meta object literal for the '<em><b>Condition Visible</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PATH__CONDITION_VISIBLE = eINSTANCE.getPath_ConditionVisible();\n\n /**\n * The meta object literal for the '<em><b>End Place</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PATH__END_PLACE = eINSTANCE.getPath_EndPlace();\n\n /**\n * The meta object literal for the '<em><b>Is Open</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PATH__IS_OPEN = eINSTANCE.getPath_IsOpen();\n\n /**\n * The meta object literal for the '<em><b>Conditions Opening</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PATH__CONDITIONS_OPENING = eINSTANCE.getPath_ConditionsOpening();\n\n /**\n * The meta object literal for the '<em><b>Is Mandatory</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PATH__IS_MANDATORY = eINSTANCE.getPath_IsMandatory();\n\n /**\n * The meta object literal for the '<em><b>Knowledge Given</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PATH__KNOWLEDGE_GIVEN = eINSTANCE.getPath_KnowledgeGiven();\n\n /**\n * The meta object literal for the '<em><b>Items Given</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PATH__ITEMS_GIVEN = eINSTANCE.getPath_ItemsGiven();\n\n /**\n * The meta object literal for the '<em><b>Items Consumed</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PATH__ITEMS_CONSUMED = eINSTANCE.getPath_ItemsConsumed();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.ItemImpl <em>Item</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.ItemImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getItem()\n * @generated\n */\n EClass ITEM = eINSTANCE.getItem();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ITEM__NAME = eINSTANCE.getItem_Name();\n\n /**\n * The meta object literal for the '<em><b>Size</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ITEM__SIZE = eINSTANCE.getItem_Size();\n\n /**\n * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ITEM__DESCRIPTION = eINSTANCE.getItem_Description();\n\n /**\n * The meta object literal for the '<em><b>Visible</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ITEM__VISIBLE = eINSTANCE.getItem_Visible();\n\n /**\n * The meta object literal for the '<em><b>Conditions Visible</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ITEM__CONDITIONS_VISIBLE = eINSTANCE.getItem_ConditionsVisible();\n\n /**\n * The meta object literal for the '<em><b>Active</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ITEM__ACTIVE = eINSTANCE.getItem_Active();\n\n /**\n * The meta object literal for the '<em><b>Conditions Active</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ITEM__CONDITIONS_ACTIVE = eINSTANCE.getItem_ConditionsActive();\n\n /**\n * The meta object literal for the '<em><b>Can Put Down</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ITEM__CAN_PUT_DOWN = eINSTANCE.getItem_CanPutDown();\n\n /**\n * The meta object literal for the '<em><b>Conditions Put Down</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ITEM__CONDITIONS_PUT_DOWN = eINSTANCE.getItem_ConditionsPutDown();\n\n /**\n * The meta object literal for the '<em><b>Conditions Give</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ITEM__CONDITIONS_GIVE = eINSTANCE.getItem_ConditionsGive();\n\n /**\n * The meta object literal for the '<em><b>Conditions Consumed</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ITEM__CONDITIONS_CONSUMED = eINSTANCE.getItem_ConditionsConsumed();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.ItemInSomethingImpl <em>Item In Something</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.ItemInSomethingImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getItemInSomething()\n * @generated\n */\n EClass ITEM_IN_SOMETHING = eINSTANCE.getItemInSomething();\n\n /**\n * The meta object literal for the '<em><b>Item</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ITEM_IN_SOMETHING__ITEM = eINSTANCE.getItemInSomething_Item();\n\n /**\n * The meta object literal for the '<em><b>Quantite</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ITEM_IN_SOMETHING__QUANTITE = eINSTANCE.getItemInSomething_Quantite();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.RecipeImpl <em>Recipe</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.RecipeImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getRecipe()\n * @generated\n */\n EClass RECIPE = eINSTANCE.getRecipe();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute RECIPE__NAME = eINSTANCE.getRecipe_Name();\n\n /**\n * The meta object literal for the '<em><b>Objects Used</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference RECIPE__OBJECTS_USED = eINSTANCE.getRecipe_ObjectsUsed();\n\n /**\n * The meta object literal for the '<em><b>Conditions</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference RECIPE__CONDITIONS = eINSTANCE.getRecipe_Conditions();\n\n /**\n * The meta object literal for the '<em><b>Items Made</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference RECIPE__ITEMS_MADE = eINSTANCE.getRecipe_ItemsMade();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.KnowledgeImpl <em>Knowledge</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.KnowledgeImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getKnowledge()\n * @generated\n */\n EClass KNOWLEDGE = eINSTANCE.getKnowledge();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute KNOWLEDGE__NAME = eINSTANCE.getKnowledge_Name();\n\n /**\n * The meta object literal for the '<em><b>Description</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute KNOWLEDGE__DESCRIPTION = eINSTANCE.getKnowledge_Description();\n\n /**\n * The meta object literal for the '<em><b>Visible</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute KNOWLEDGE__VISIBLE = eINSTANCE.getKnowledge_Visible();\n\n /**\n * The meta object literal for the '<em><b>Conditions Visible</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference KNOWLEDGE__CONDITIONS_VISIBLE = eINSTANCE.getKnowledge_ConditionsVisible();\n\n /**\n * The meta object literal for the '<em><b>Active</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute KNOWLEDGE__ACTIVE = eINSTANCE.getKnowledge_Active();\n\n /**\n * The meta object literal for the '<em><b>Conditions Active</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference KNOWLEDGE__CONDITIONS_ACTIVE = eINSTANCE.getKnowledge_ConditionsActive();\n\n /**\n * The meta object literal for the '<em><b>Conditions Give</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference KNOWLEDGE__CONDITIONS_GIVE = eINSTANCE.getKnowledge_ConditionsGive();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.PlaceImpl <em>Place</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.PlaceImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getPlace()\n * @generated\n */\n EClass PLACE = eINSTANCE.getPlace();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PLACE__NAME = eINSTANCE.getPlace_Name();\n\n /**\n * The meta object literal for the '<em><b>Knowledges</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PLACE__KNOWLEDGES = eINSTANCE.getPlace_Knowledges();\n\n /**\n * The meta object literal for the '<em><b>People</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PLACE__PEOPLE = eINSTANCE.getPlace_People();\n\n /**\n * The meta object literal for the '<em><b>Paths</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PLACE__PATHS = eINSTANCE.getPlace_Paths();\n\n /**\n * The meta object literal for the '<em><b>Objects</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PLACE__OBJECTS = eINSTANCE.getPlace_Objects();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.ItemInConditionImpl <em>Item In Condition</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.ItemInConditionImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getItemInCondition()\n * @generated\n */\n EClass ITEM_IN_CONDITION = eINSTANCE.getItemInCondition();\n\n /**\n * The meta object literal for the '<em><b>Item</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ITEM_IN_CONDITION__ITEM = eINSTANCE.getItemInCondition_Item();\n\n /**\n * The meta object literal for the '<em><b>Quantity</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ITEM_IN_CONDITION__QUANTITY = eINSTANCE.getItemInCondition_Quantity();\n\n /**\n * The meta object literal for the '<em><b>Must Be Exact</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ITEM_IN_CONDITION__MUST_BE_EXACT = eINSTANCE.getItemInCondition_MustBeExact();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.ConditionImpl <em>Condition</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.ConditionImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getCondition()\n * @generated\n */\n EClass CONDITION = eINSTANCE.getCondition();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute CONDITION__NAME = eINSTANCE.getCondition_Name();\n\n /**\n * The meta object literal for the '<em><b>Player</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference CONDITION__PLAYER = eINSTANCE.getCondition_Player();\n\n /**\n * The meta object literal for the '<em><b>Know</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference CONDITION__KNOW = eINSTANCE.getCondition_Know();\n\n /**\n * The meta object literal for the '<em><b>Item</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference CONDITION__ITEM = eINSTANCE.getCondition_Item();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.ActionImpl <em>Action</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.ActionImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getAction()\n * @generated\n */\n EClass ACTION = eINSTANCE.getAction();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ACTION__NAME = eINSTANCE.getAction_Name();\n\n /**\n * The meta object literal for the '<em><b>Val</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ACTION__VAL = eINSTANCE.getAction_Val();\n\n /**\n * The meta object literal for the '<em><b>Inter Suivante</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ACTION__INTER_SUIVANTE = eINSTANCE.getAction_InterSuivante();\n\n /**\n * The meta object literal for the '<em><b>Knowledge Given</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ACTION__KNOWLEDGE_GIVEN = eINSTANCE.getAction_KnowledgeGiven();\n\n /**\n * The meta object literal for the '<em><b>Items Given</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ACTION__ITEMS_GIVEN = eINSTANCE.getAction_ItemsGiven();\n\n /**\n * The meta object literal for the '<em><b>Items Consumed</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ACTION__ITEMS_CONSUMED = eINSTANCE.getAction_ItemsConsumed();\n\n /**\n * The meta object literal for the '<em><b>Conditions Actions Available</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ACTION__CONDITIONS_ACTIONS_AVAILABLE = eINSTANCE.getAction_ConditionsActionsAvailable();\n\n /**\n * The meta object literal for the '<em><b>Game</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ACTION__GAME = eINSTANCE.getAction_Game();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.InteractionImpl <em>Interaction</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.InteractionImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getInteraction()\n * @generated\n */\n EClass INTERACTION = eINSTANCE.getInteraction();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute INTERACTION__NAME = eINSTANCE.getInteraction_Name();\n\n /**\n * The meta object literal for the '<em><b>Prop</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference INTERACTION__PROP = eINSTANCE.getInteraction_Prop();\n\n /**\n * The meta object literal for the '<em><b>Conditions Begin</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference INTERACTION__CONDITIONS_BEGIN = eINSTANCE.getInteraction_ConditionsBegin();\n\n /**\n * The meta object literal for the '<em><b>Conditions End</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference INTERACTION__CONDITIONS_END = eINSTANCE.getInteraction_ConditionsEnd();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.impl.PropositionImpl <em>Proposition</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.impl.PropositionImpl\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getProposition()\n * @generated\n */\n EClass PROPOSITION = eINSTANCE.getProposition();\n\n /**\n * The meta object literal for the '<em><b>Value</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PROPOSITION__VALUE = eINSTANCE.getProposition_Value();\n\n /**\n * The meta object literal for the '<em><b>Act</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PROPOSITION__ACT = eINSTANCE.getProposition_Act();\n\n /**\n * The meta object literal for the '{@link fr.enseeiht.gls.projet404.games.Actions <em>Actions</em>}' enum.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see fr.enseeiht.gls.projet404.games.Actions\n * @see fr.enseeiht.gls.projet404.games.impl.GamesPackageImpl#getActions()\n * @generated\n */\n EEnum ACTIONS = eINSTANCE.getActions();\n\n }", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.impl.UberImpl <em>Uber</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.impl.UberImpl\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getUber()\n\t\t * @generated\n\t\t */\n\t\tEClass UBER = eINSTANCE.getUber();\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 UBER__NAME = eINSTANCE.getUber_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Manager</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 UBER__MANAGER = eINSTANCE.getUber_Manager();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Address</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 UBER__ADDRESS = eINSTANCE.getUber_Address();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Customers</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 UBER__CUSTOMERS = eINSTANCE.getUber_Customers();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Riders</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 UBER__RIDERS = eINSTANCE.getUber_Riders();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Routes</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 UBER__ROUTES = eINSTANCE.getUber_Routes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Supervisors</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 UBER__SUPERVISORS = eINSTANCE.getUber_Supervisors();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.impl.UserImpl <em>User</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.impl.UserImpl\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getUser()\n\t\t * @generated\n\t\t */\n\t\tEClass USER = eINSTANCE.getUser();\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 USER__NAME = eINSTANCE.getUser_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Surname</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 USER__SURNAME = eINSTANCE.getUser_Surname();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Email</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 USER__EMAIL = eINSTANCE.getUser_Email();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Full 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 USER__FULL_NAME = eINSTANCE.getUser_FullName();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.impl.CustomerImpl <em>Customer</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.impl.CustomerImpl\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getCustomer()\n\t\t * @generated\n\t\t */\n\t\tEClass CUSTOMER = eINSTANCE.getCustomer();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Subscription Date</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 CUSTOMER__SUBSCRIPTION_DATE = eINSTANCE.getCustomer_SubscriptionDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Expiration Date</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 CUSTOMER__EXPIRATION_DATE = eINSTANCE.getCustomer_ExpirationDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Status</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 CUSTOMER__STATUS = eINSTANCE.getCustomer_Status();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Routes</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 CUSTOMER__ROUTES = eINSTANCE.getCustomer_Routes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Card ID</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CUSTOMER__CARD_ID = eINSTANCE.getCustomer_CardID();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.impl.RiderImpl <em>Rider</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.impl.RiderImpl\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getRider()\n\t\t * @generated\n\t\t */\n\t\tEClass RIDER = eINSTANCE.getRider();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Status</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 RIDER__STATUS = eINSTANCE.getRider_Status();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Location</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference RIDER__LOCATION = eINSTANCE.getRider_Location();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Routes</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 RIDER__ROUTES = eINSTANCE.getRider_Routes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Carried Out Routes</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 RIDER__CARRIED_OUT_ROUTES = eINSTANCE.getRider_CarriedOutRoutes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Score</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 RIDER__SCORE = eINSTANCE.getRider_Score();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Car</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference RIDER__CAR = eINSTANCE.getRider_Car();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Carried Out Customers</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation RIDER___CARRIED_OUT_CUSTOMERS = eINSTANCE.getRider__CarriedOutCustomers();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Is Good Employee</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation RIDER___IS_GOOD_EMPLOYEE = eINSTANCE.getRider__IsGoodEmployee();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.impl.GeolocationImpl <em>Geolocation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.impl.GeolocationImpl\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getGeolocation()\n\t\t * @generated\n\t\t */\n\t\tEClass GEOLOCATION = eINSTANCE.getGeolocation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Lat</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 GEOLOCATION__LAT = eINSTANCE.getGeolocation_Lat();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Lng</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 GEOLOCATION__LNG = eINSTANCE.getGeolocation_Lng();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.impl.RouteImpl <em>Route</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.impl.RouteImpl\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getRoute()\n\t\t * @generated\n\t\t */\n\t\tEClass ROUTE = eINSTANCE.getRoute();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Price</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 ROUTE__PRICE = eINSTANCE.getRoute_Price();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Date</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 ROUTE__DATE = eINSTANCE.getRoute_Date();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Start Address</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 ROUTE__START_ADDRESS = eINSTANCE.getRoute_StartAddress();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>End Address</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 ROUTE__END_ADDRESS = eINSTANCE.getRoute_EndAddress();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Feedback</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 ROUTE__FEEDBACK = eINSTANCE.getRoute_Feedback();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Status</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 ROUTE__STATUS = eINSTANCE.getRoute_Status();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Customer</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ROUTE__CUSTOMER = eINSTANCE.getRoute_Customer();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Rider</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ROUTE__RIDER = eINSTANCE.getRoute_Rider();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Seats</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 ROUTE__SEATS = eINSTANCE.getRoute_Seats();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.Identifiable <em>Identifiable</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.Identifiable\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getIdentifiable()\n\t\t * @generated\n\t\t */\n\t\tEClass IDENTIFIABLE = eINSTANCE.getIdentifiable();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id</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 IDENTIFIABLE__ID = eINSTANCE.getIdentifiable_Id();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.impl.SupervisorImpl <em>Supervisor</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.impl.SupervisorImpl\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getSupervisor()\n\t\t * @generated\n\t\t */\n\t\tEClass SUPERVISOR = eINSTANCE.getSupervisor();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Role</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 SUPERVISOR__ROLE = eINSTANCE.getSupervisor_Role();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.impl.CardIDImpl <em>Card ID</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.impl.CardIDImpl\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getCardID()\n\t\t * @generated\n\t\t */\n\t\tEClass CARD_ID = eINSTANCE.getCardID();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Path</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 CARD_ID__PATH = eINSTANCE.getCardID_Path();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Release Date</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 CARD_ID__RELEASE_DATE = eINSTANCE.getCardID_ReleaseDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Institution</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 CARD_ID__INSTITUTION = eINSTANCE.getCardID_Institution();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Approved</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CARD_ID__APPROVED = eINSTANCE.getCardID_Approved();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.impl.CarImpl <em>Car</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.impl.CarImpl\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getCar()\n\t\t * @generated\n\t\t */\n\t\tEClass CAR = eINSTANCE.getCar();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Licence Plate</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 CAR__LICENCE_PLATE = eINSTANCE.getCar_LicencePlate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Model</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 CAR__MODEL = eINSTANCE.getCar_Model();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Color</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 CAR__COLOR = eINSTANCE.getCar_Color();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.RiderStatus <em>Rider Status</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.RiderStatus\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getRiderStatus()\n\t\t * @generated\n\t\t */\n\t\tEEnum RIDER_STATUS = eINSTANCE.getRiderStatus();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.RouteStatus <em>Route Status</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.RouteStatus\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getRouteStatus()\n\t\t * @generated\n\t\t */\n\t\tEEnum ROUTE_STATUS = eINSTANCE.getRouteStatus();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.CustomerStatus <em>Customer Status</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.CustomerStatus\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getCustomerStatus()\n\t\t * @generated\n\t\t */\n\t\tEEnum CUSTOMER_STATUS = eINSTANCE.getCustomerStatus();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link it.disim.mde.loreand.uber.RoleSupervisor <em>Role Supervisor</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see it.disim.mde.loreand.uber.RoleSupervisor\n\t\t * @see it.disim.mde.loreand.uber.impl.UberPackageImpl#getRoleSupervisor()\n\t\t * @generated\n\t\t */\n\t\tEEnum ROLE_SUPERVISOR = eINSTANCE.getRoleSupervisor();\n\n\t}", "@Override\n public ASTNode visitCoolClass(CoolParser.CoolClassContext ctx) {\n List<FeatureNode> featureNodes = new LinkedList<>();\n for (var feature : ctx.feature()) {\n featureNodes.add((FeatureNode) feature.accept(this));\n }\n\n return new CoolClassNode(\n ctx.CLASS().getSymbol(),\n new IdNode(ctx.id),\n ctx.parentClass == null ? null : new TypeNode(ctx.parentClass),\n featureNodes);\n }", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ese.android.model.android.impl.ApplicationImpl <em>Application</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ese.android.model.android.impl.ApplicationImpl\n\t\t * @see org.eclipse.ese.android.model.android.impl.AndroidPackageImpl#getApplication()\n\t\t * @generated\n\t\t */\n\t\tEClass APPLICATION = eINSTANCE.getApplication();\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 APPLICATION__NAME = eINSTANCE.getApplication_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Activities</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 APPLICATION__ACTIVITIES = eINSTANCE.getApplication_Activities();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ese.android.model.android.impl.ActivityImpl <em>Activity</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ese.android.model.android.impl.ActivityImpl\n\t\t * @see org.eclipse.ese.android.model.android.impl.AndroidPackageImpl#getActivity()\n\t\t * @generated\n\t\t */\n\t\tEClass ACTIVITY = eINSTANCE.getActivity();\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 ACTIVITY__NAME = eINSTANCE.getActivity_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Widgets</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 ACTIVITY__WIDGETS = eINSTANCE.getActivity_Widgets();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ese.android.model.android.Widget <em>Widget</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ese.android.model.android.Widget\n\t\t * @see org.eclipse.ese.android.model.android.impl.AndroidPackageImpl#getWidget()\n\t\t * @generated\n\t\t */\n\t\tEClass WIDGET = eINSTANCE.getWidget();\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 WIDGET__NAME = eINSTANCE.getWidget_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ese.android.model.android.impl.TextImpl <em>Text</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ese.android.model.android.impl.TextImpl\n\t\t * @see org.eclipse.ese.android.model.android.impl.AndroidPackageImpl#getText()\n\t\t * @generated\n\t\t */\n\t\tEClass TEXT = eINSTANCE.getText();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ese.android.model.android.impl.SpinnerImpl <em>Spinner</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ese.android.model.android.impl.SpinnerImpl\n\t\t * @see org.eclipse.ese.android.model.android.impl.AndroidPackageImpl#getSpinner()\n\t\t * @generated\n\t\t */\n\t\tEClass SPINNER = eINSTANCE.getSpinner();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ese.android.model.android.impl.LinkImpl <em>Link</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ese.android.model.android.impl.LinkImpl\n\t\t * @see org.eclipse.ese.android.model.android.impl.AndroidPackageImpl#getLink()\n\t\t * @generated\n\t\t */\n\t\tEClass LINK = eINSTANCE.getLink();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Activity</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference LINK__ACTIVITY = eINSTANCE.getLink_Activity();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link pattern.RiskReductionthroughFunctionalityRestriction.impl.Class1Impl <em>Class1</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see pattern.RiskReductionthroughFunctionalityRestriction.impl.Class1Impl\n\t\t * @see pattern.RiskReductionthroughFunctionalityRestriction.impl.RiskReductionthroughFunctionalityRestrictionPackageImpl#getClass1()\n\t\t * @generated\n\t\t */\n\t\tEClass CLASS1 = eINSTANCE.getClass1();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link pattern.RiskReductionthroughFunctionalityRestriction.impl.Goal2Impl <em>Goal2</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see pattern.RiskReductionthroughFunctionalityRestriction.impl.Goal2Impl\n\t\t * @see pattern.RiskReductionthroughFunctionalityRestriction.impl.RiskReductionthroughFunctionalityRestrictionPackageImpl#getGoal2()\n\t\t * @generated\n\t\t */\n\t\tEClass GOAL2 = eINSTANCE.getGoal2();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link pattern.RiskReductionthroughFunctionalityRestriction.impl.Goal3Impl <em>Goal3</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see pattern.RiskReductionthroughFunctionalityRestriction.impl.Goal3Impl\n\t\t * @see pattern.RiskReductionthroughFunctionalityRestriction.impl.RiskReductionthroughFunctionalityRestrictionPackageImpl#getGoal3()\n\t\t * @generated\n\t\t */\n\t\tEClass GOAL3 = eINSTANCE.getGoal3();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link pattern.RiskReductionthroughFunctionalityRestriction.impl.Goal4Impl <em>Goal4</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see pattern.RiskReductionthroughFunctionalityRestriction.impl.Goal4Impl\n\t\t * @see pattern.RiskReductionthroughFunctionalityRestriction.impl.RiskReductionthroughFunctionalityRestrictionPackageImpl#getGoal4()\n\t\t * @generated\n\t\t */\n\t\tEClass GOAL4 = eINSTANCE.getGoal4();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link pattern.RiskReductionthroughFunctionalityRestriction.impl.Class5Impl <em>Class5</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see pattern.RiskReductionthroughFunctionalityRestriction.impl.Class5Impl\n\t\t * @see pattern.RiskReductionthroughFunctionalityRestriction.impl.RiskReductionthroughFunctionalityRestrictionPackageImpl#getClass5()\n\t\t * @generated\n\t\t */\n\t\tEClass CLASS5 = eINSTANCE.getClass5();\n\n\t}", "interface Literals {\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link org.eclipse.stem.solvers.rk.impl.RungeKuttaImpl <em>Runge Kutta</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see org.eclipse.stem.solvers.rk.impl.RungeKuttaImpl\r\n\t\t * @see org.eclipse.stem.solvers.rk.impl.RkPackageImpl#getRungeKutta()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass RUNGE_KUTTA = eINSTANCE.getRungeKutta();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Relative Tolerance</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute RUNGE_KUTTA__RELATIVE_TOLERANCE = eINSTANCE.getRungeKutta_RelativeTolerance();\r\n\r\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.ApplicationImpl <em>Application</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.ApplicationImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getApplication()\n\t\t * @generated\n\t\t */\n\t\tEClass APPLICATION = eINSTANCE.getApplication();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Commands</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 APPLICATION__COMMANDS = eINSTANCE.getApplication_Commands();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Components</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 APPLICATION__COMPONENTS = eINSTANCE.getApplication_Components();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Config</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference APPLICATION__CONFIG = eINSTANCE.getApplication_Config();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Context</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference APPLICATION__CONTEXT = eINSTANCE.getApplication_Context();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Hooks</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 APPLICATION__HOOKS = eINSTANCE.getApplication_Hooks();\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 APPLICATION__NAME = eINSTANCE.getApplication_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Port</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 APPLICATION__PORT = eINSTANCE.getApplication_Port();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Text</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 APPLICATION__TEXT = eINSTANCE.getApplication_Text();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.ApplicationComponentImpl <em>Application Component</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.ApplicationComponentImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getApplicationComponent()\n\t\t * @generated\n\t\t */\n\t\tEClass APPLICATION_COMPONENT = eINSTANCE.getApplicationComponent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Config</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference APPLICATION_COMPONENT__CONFIG = eINSTANCE.getApplicationComponent_Config();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Commands</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 APPLICATION_COMPONENT__COMMANDS = eINSTANCE.getApplicationComponent_Commands();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Hooks</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 APPLICATION_COMPONENT__HOOKS = eINSTANCE.getApplicationComponent_Hooks();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Modules</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 APPLICATION_COMPONENT__MODULES = eINSTANCE.getApplicationComponent_Modules();\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 APPLICATION_COMPONENT__NAME = eINSTANCE.getApplicationComponent_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.ApplicationModuleImpl <em>Application Module</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.ApplicationModuleImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getApplicationModule()\n\t\t * @generated\n\t\t */\n\t\tEClass APPLICATION_MODULE = eINSTANCE.getApplicationModule();\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 APPLICATION_MODULE__NAME = eINSTANCE.getApplicationModule_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Services</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 APPLICATION_MODULE__SERVICES = eINSTANCE.getApplicationModule_Services();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.QApplicationManager <em>Application Manager</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.QApplicationManager\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getApplicationManager()\n\t\t * @generated\n\t\t */\n\t\tEClass APPLICATION_MANAGER = eINSTANCE.getApplicationManager();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.QBundleManager <em>Bundle Manager</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.QBundleManager\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getBundleManager()\n\t\t * @generated\n\t\t */\n\t\tEClass BUNDLE_MANAGER = eINSTANCE.getBundleManager();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.BundleVisitorImpl <em>Bundle Visitor</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.BundleVisitorImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getBundleVisitor()\n\t\t * @generated\n\t\t */\n\t\tEClass BUNDLE_VISITOR = eINSTANCE.getBundleVisitor();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.ConfigImpl <em>Config</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.ConfigImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getConfig()\n\t\t * @generated\n\t\t */\n\t\tEClass CONFIG = eINSTANCE.getConfig();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>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 CONFIG__OBJECTS = eINSTANCE.getConfig_Objects();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.QLogger <em>Logger</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.QLogger\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getLogger()\n\t\t * @generated\n\t\t */\n\t\tEClass LOGGER = eINSTANCE.getLogger();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.ServiceCommandProviderImpl <em>Service Command Provider</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.ServiceCommandProviderImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getServiceCommandProvider()\n\t\t * @generated\n\t\t */\n\t\tEClass SERVICE_COMMAND_PROVIDER = eINSTANCE.getServiceCommandProvider();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Interface 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 SERVICE_COMMAND_PROVIDER__INTERFACE_NAME = eINSTANCE.getServiceCommandProvider_InterfaceName();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.ServiceHookImpl <em>Service Hook</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.ServiceHookImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getServiceHook()\n\t\t * @generated\n\t\t */\n\t\tEClass SERVICE_HOOK = eINSTANCE.getServiceHook();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.ServiceExecutorImpl <em>Service Executor</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.ServiceExecutorImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getServiceExecutor()\n\t\t * @generated\n\t\t */\n\t\tEClass SERVICE_EXECUTOR = eINSTANCE.getServiceExecutor();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Interface 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 SERVICE_EXECUTOR__INTERFACE_NAME = eINSTANCE.getServiceExecutor_InterfaceName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Remote Export</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 SERVICE_EXECUTOR__REMOTE_EXPORT = eINSTANCE.getServiceExecutor_RemoteExport();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.ServiceRefImpl <em>Service Ref</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.ServiceRefImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getServiceRef()\n\t\t * @generated\n\t\t */\n\t\tEClass SERVICE_REF = eINSTANCE.getServiceRef();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Class 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 SERVICE_REF__CLASS_NAME = eINSTANCE.getServiceRef_ClassName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Status</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 SERVICE_REF__STATUS = eINSTANCE.getServiceRef_Status();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.ServiceResourceListenerImpl <em>Service Resource Listener</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.ServiceResourceListenerImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getServiceResourceListener()\n\t\t * @generated\n\t\t */\n\t\tEClass SERVICE_RESOURCE_LISTENER = eINSTANCE.getServiceResourceListener();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Interface 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 SERVICE_RESOURCE_LISTENER__INTERFACE_NAME = eINSTANCE.getServiceResourceListener_InterfaceName();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.ServiceResourceProviderImpl <em>Service Resource Provider</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.ServiceResourceProviderImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getServiceResourceProvider()\n\t\t * @generated\n\t\t */\n\t\tEClass SERVICE_RESOURCE_PROVIDER = eINSTANCE.getServiceResourceProvider();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Interface 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 SERVICE_RESOURCE_PROVIDER__INTERFACE_NAME = eINSTANCE.getServiceResourceProvider_InterfaceName();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.ServiceRegistryImpl <em>Service Registry</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.ServiceRegistryImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getServiceRegistry()\n\t\t * @generated\n\t\t */\n\t\tEClass SERVICE_REGISTRY = eINSTANCE.getServiceRegistry();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Entries</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 SERVICE_REGISTRY__ENTRIES = eINSTANCE.getServiceRegistry_Entries();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Interface 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 SERVICE_REGISTRY__INTERFACE_NAME = eINSTANCE.getServiceRegistry_InterfaceName();\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 SERVICE_REGISTRY__NAME = eINSTANCE.getServiceRegistry_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.ServiceRegistryEntryImpl <em>Service Registry Entry</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.ServiceRegistryEntryImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getServiceRegistryEntry()\n\t\t * @generated\n\t\t */\n\t\tEClass SERVICE_REGISTRY_ENTRY = eINSTANCE.getServiceRegistryEntry();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Interface 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 SERVICE_REGISTRY_ENTRY__INTERFACE_NAME = eINSTANCE.getServiceRegistryEntry_InterfaceName();\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 SERVICE_REGISTRY_ENTRY__NAME = eINSTANCE.getServiceRegistryEntry_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Vendor</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 SERVICE_REGISTRY_ENTRY__VENDOR = eINSTANCE.getServiceRegistryEntry_Vendor();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Version</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 SERVICE_REGISTRY_ENTRY__VERSION = eINSTANCE.getServiceRegistryEntry_Version();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.impl.ServiceTesterImpl <em>Service Tester</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.impl.ServiceTesterImpl\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getServiceTester()\n\t\t * @generated\n\t\t */\n\t\tEClass SERVICE_TESTER = eINSTANCE.getServiceTester();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Interface 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 SERVICE_TESTER__INTERFACE_NAME = eINSTANCE.getServiceTester_InterfaceName();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.smeup.sys.rt.core.ServiceStatus <em>Service Status</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.smeup.sys.rt.core.ServiceStatus\n\t\t * @see org.smeup.sys.rt.core.impl.RuntimeCorePackageImpl#getServiceStatus()\n\t\t * @generated\n\t\t */\n\t\tEEnum SERVICE_STATUS = eINSTANCE.getServiceStatus();\n\n\t}", "interface Literals\r\n {\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.ConstiuteintsystemDesignImpl <em>Constiuteintsystem Design</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.ConstiuteintsystemDesignImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getConstiuteintsystemDesign()\r\n * @generated\r\n */\r\n EClass CONSTIUTEINTSYSTEM_DESIGN = eINSTANCE.getConstiuteintsystemDesign();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Actions</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference CONSTIUTEINTSYSTEM_DESIGN__ACTIONS = eINSTANCE.getConstiuteintsystemDesign_Actions();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Action</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference CONSTIUTEINTSYSTEM_DESIGN__ACTION = eINSTANCE.getConstiuteintsystemDesign_Action();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute CONSTIUTEINTSYSTEM_DESIGN__NAME = eINSTANCE.getConstiuteintsystemDesign_Name();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Ports</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference CONSTIUTEINTSYSTEM_DESIGN__PORTS = eINSTANCE.getConstiuteintsystemDesign_Ports();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.PortImpl <em>Port</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.PortImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getPort()\r\n * @generated\r\n */\r\n EClass PORT = eINSTANCE.getPort();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute PORT__NAME = eINSTANCE.getPort_Name();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Provides</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference PORT__PROVIDES = eINSTANCE.getPort_Provides();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Requires</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference PORT__REQUIRES = eINSTANCE.getPort_Requires();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.StochasticbehaviorImpl <em>Stochasticbehavior</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.StochasticbehaviorImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getStochasticbehavior()\r\n * @generated\r\n */\r\n EClass STOCHASTICBEHAVIOR = eINSTANCE.getStochasticbehavior();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.StochaticConstriantsImpl <em>Stochatic Constriants</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.StochaticConstriantsImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getStochaticConstriants()\r\n * @generated\r\n */\r\n EClass STOCHATIC_CONSTRIANTS = eINSTANCE.getStochaticConstriants();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Constraint Share Date</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference STOCHATIC_CONSTRIANTS__CONSTRAINT_SHARE_DATE = eINSTANCE.getStochaticConstriants_ConstraintShareDate();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Rate</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference STOCHATIC_CONSTRIANTS__RATE = eINSTANCE.getStochaticConstriants_Rate();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Constraint Data</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference STOCHATIC_CONSTRIANTS__CONSTRAINT_DATA = eINSTANCE.getStochaticConstriants_ConstraintData();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.DatatoinferImpl <em>Datatoinfer</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.DatatoinferImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getDatatoinfer()\r\n * @generated\r\n */\r\n EClass DATATOINFER = eINSTANCE.getDatatoinfer();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.shardataImpl <em>shardata</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.shardataImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getshardata()\r\n * @generated\r\n */\r\n EClass SHARDATA = eINSTANCE.getshardata();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.SystemTranstionsImpl <em>System Transtions</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.SystemTranstionsImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getSystemTranstions()\r\n * @generated\r\n */\r\n EClass SYSTEM_TRANSTIONS = eINSTANCE.getSystemTranstions();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute SYSTEM_TRANSTIONS__NAME = eINSTANCE.getSystemTranstions_Name();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>States</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference SYSTEM_TRANSTIONS__STATES = eINSTANCE.getSystemTranstions_States();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Events</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference SYSTEM_TRANSTIONS__EVENTS = eINSTANCE.getSystemTranstions_Events();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.StateImpl <em>State</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.StateImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getState()\r\n * @generated\r\n */\r\n EClass STATE = eINSTANCE.getState();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute STATE__NAME = eINSTANCE.getState_Name();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Transitions</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference STATE__TRANSITIONS = eINSTANCE.getState_Transitions();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.TransitionImpl <em>Transition</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.TransitionImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getTransition()\r\n * @generated\r\n */\r\n EClass TRANSITION = eINSTANCE.getTransition();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Event</b></em>' reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference TRANSITION__EVENT = eINSTANCE.getTransition_Event();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Rate</b></em>' reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference TRANSITION__RATE = eINSTANCE.getTransition_Rate();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Target</b></em>' reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference TRANSITION__TARGET = eINSTANCE.getTransition_Target();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.OperationImpl <em>Operation</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.OperationImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getOperation()\r\n * @generated\r\n */\r\n EClass OPERATION = eINSTANCE.getOperation();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Recieves</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute OPERATION__RECIEVES = eINSTANCE.getOperation_Recieves();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.ratesImpl <em>rates</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.ratesImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getrates()\r\n * @generated\r\n */\r\n EClass RATES = eINSTANCE.getrates();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Rates</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute RATES__RATES = eINSTANCE.getrates_Rates();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.EventImpl <em>Event</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.EventImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getEvent()\r\n * @generated\r\n */\r\n EClass EVENT = eINSTANCE.getEvent();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute EVENT__NAME = eINSTANCE.getEvent_Name();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Operation</b></em>' reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference EVENT__OPERATION = eINSTANCE.getEvent_Operation();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.requireImpl <em>require</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.requireImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getrequire()\r\n * @generated\r\n */\r\n EClass REQUIRE = eINSTANCE.getrequire();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute REQUIRE__NAME = eINSTANCE.getrequire_Name();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.provideImpl <em>provide</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.provideImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getprovide()\r\n * @generated\r\n */\r\n EClass PROVIDE = eINSTANCE.getprovide();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute PROVIDE__NAME = eINSTANCE.getprovide_Name();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.StochaticBehaviorImpl <em>Stochatic Behavior</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.StochaticBehaviorImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getStochaticBehavior()\r\n * @generated\r\n */\r\n EClass STOCHATIC_BEHAVIOR = eINSTANCE.getStochaticBehavior();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>System Transition</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference STOCHATIC_BEHAVIOR__SYSTEM_TRANSITION = eINSTANCE.getStochaticBehavior_SystemTransition();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Con Constraint</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference STOCHATIC_BEHAVIOR__CON_CONSTRAINT = eINSTANCE.getStochaticBehavior_ConConstraint();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.AskfordataImpl <em>Askfordata</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.AskfordataImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getAskfordata()\r\n * @generated\r\n */\r\n EClass ASKFORDATA = eINSTANCE.getAskfordata();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.TellDataImpl <em>Tell Data</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.TellDataImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getTellData()\r\n * @generated\r\n */\r\n EClass TELL_DATA = eINSTANCE.getTellData();\r\n\r\n /**\r\n * The meta object literal for the '{@link org.xtext.sosarch.csdesign.myDsl.impl.operationsImpl <em>operations</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.operationsImpl\r\n * @see org.xtext.sosarch.csdesign.myDsl.impl.MyDslPackageImpl#getoperations()\r\n * @generated\r\n */\r\n EClass OPERATIONS = eINSTANCE.getoperations();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Sends</b></em>' attribute list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute OPERATIONS__SENDS = eINSTANCE.getoperations_Sends();\r\n\r\n }", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link com.misc.touse.moplaf.solver.tousesolverlp.impl.FolderImpl <em>Folder</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.misc.touse.moplaf.solver.tousesolverlp.impl.FolderImpl\n\t\t * @see com.misc.touse.moplaf.solver.tousesolverlp.impl.ToUseSolverLpPackageImpl#getFolder()\n\t\t * @generated\n\t\t */\n\t\tEClass FOLDER = eINSTANCE.getFolder();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Sub Folders</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 FOLDER__SUB_FOLDERS = eINSTANCE.getFolder_SubFolders();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Generators</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 FOLDER__GENERATORS = eINSTANCE.getFolder_Generators();\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 FOLDER__NAME = eINSTANCE.getFolder_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.misc.touse.moplaf.solver.tousesolverlp.impl.ToUseGeneratorImpl <em>To Use Generator</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.misc.touse.moplaf.solver.tousesolverlp.impl.ToUseGeneratorImpl\n\t\t * @see com.misc.touse.moplaf.solver.tousesolverlp.impl.ToUseSolverLpPackageImpl#getToUseGenerator()\n\t\t * @generated\n\t\t */\n\t\tEClass TO_USE_GENERATOR = eINSTANCE.getToUseGenerator();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Root Tuples</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 TO_USE_GENERATOR__ROOT_TUPLES = eINSTANCE.getToUseGenerator_RootTuples();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Solvers</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 TO_USE_GENERATOR__SOLVERS = eINSTANCE.getToUseGenerator_Solvers();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.misc.touse.moplaf.solver.tousesolverlp.impl.ToUseTupleImpl <em>To Use Tuple</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.misc.touse.moplaf.solver.tousesolverlp.impl.ToUseTupleImpl\n\t\t * @see com.misc.touse.moplaf.solver.tousesolverlp.impl.ToUseSolverLpPackageImpl#getToUseTuple()\n\t\t * @generated\n\t\t */\n\t\tEClass TO_USE_TUPLE = eINSTANCE.getToUseTuple();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Child Tuples</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 TO_USE_TUPLE__CHILD_TUPLES = eINSTANCE.getToUseTuple_ChildTuples();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>To Use Vars</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 TO_USE_TUPLE__TO_USE_VARS = eINSTANCE.getToUseTuple_ToUseVars();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>To Use Cons</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 TO_USE_TUPLE__TO_USE_CONS = eINSTANCE.getToUseTuple_ToUseCons();\n\n\t}", "protected static MetaData createMetaDataFromObject(Object o) {\n MetaData metaData = new MetaData(); \r\n \tString className = o.getClass().getName();\r\n \tif(className.indexOf(\"ChestOpen\")>=0){\r\n \t\tmetaData.add(\"TypeInfo\", \"ChestOpen\", null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\treturn metaData;\r\n \t}\r\n \tif(className.indexOf(\"ChestCreated\")>=0){\r\n \t\tmetaData.add(\"TypeInfo\", \"ChestCreate\", null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\treturn metaData;\r\n \t}\r\n \tif(className.indexOf(\"ChestClosed\")>=0){\r\n \t\tmetaData.add(\"TypeInfo\", \"ChestClosed\", null, MetaDataEntry.FIX_VALUE, MetaDataEntry.OPTIONAL_PROPERTY);\r\n \t\treturn metaData;\r\n \t}\r\n \tif(className.indexOf(\"HealingScript\")>=0) {\r\n \t\tmetaData.add(\"TypeInfo\", \"HealingScript\", null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \treturn metaData;\r\n } if(className.indexOf(\"AddEffectScript\")>=0){\r\n \t\tmetaData.add(\"TypeInfo\", \"AddEffectScript\", null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"Effect\", \"Poison\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"TargetProperty\", \"Target\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"Chance\", new Integer(100),null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.OPTIONAL_PROPERTY);\r\n \t\treturn metaData;\r\n \t}\r\n/*\tTO DO: modify to current version\r\n \r\n \tif(className.indexOf(\"Effect\")>=0){\r\n \t\tmetaData.add(\"TypeInfo\", \"TemporaryEffect\", null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"Time\", new Integer(2000), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"Modifier\", Modifier.simple(\"dummy\",-1), null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"Stat\", \"MoveSpeed\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"Bonus\", new Integer(2000), null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"Multiplier\", new Integer(100), null, MetaDataEntry.ANY_VALUE, MetaDataEntry.OPTIONAL_PROPERTY);\r\n \t\tmetaData.add(\"TargetProperty\", \"Target\", null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"Chance\", new Integer(100), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.OPTIONAL_PROPERTY);\r\n \t\treturn metaData;\r\n \t}*/\r\n \tif(className.indexOf(\"Modifier\")>=0) {\r\n \t\tmetaData.add(\"TypeInfo\", \"SimpleModifier\", null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"Stat\", new String(), null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"Bonus\", new Integer(0), null, MetaDataEntry.ANY_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"Multiplier\", new Integer(0), null, MetaDataEntry.ANY_VALUE, MetaDataEntry.OPTIONAL_PROPERTY);\r\n \t\treturn metaData;\r\n \t}\r\n \tif(className.indexOf(\"Personality\")>=0) {\r\n \t\tmetaData.add(\"TypeInfo\", \"Personality\", null, MetaDataEntry.FIX_VALUE, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"Type\", new Integer(0), new Integer[]{new Integer(0), new Integer(1)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"SubType\", new Integer(0), new Integer[]{new Integer(0), new Integer(1), new Integer(2), new Integer(3), new Integer(4), new Integer(5), new Integer(6), new Integer(7), new Integer(8)}, MetaDataEntry.CERTAIN_VALUES, MetaDataEntry.MANDATORY_PROPERTY);\r\n \t\tmetaData.add(\"State\", new Integer(0), null, MetaDataEntry.POSITIVE_VALUE, MetaDataEntry.OPTIONAL_PROPERTY);\r\n \t\treturn metaData;\r\n \t}\r\n \treturn null;\r\n }", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.cmu.attackimpact.impl.NodeImpl <em>Node</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.cmu.attackimpact.impl.NodeImpl\n\t\t * @see edu.cmu.attackimpact.impl.AttackImpactPackageImpl#getNode()\n\t\t * @generated\n\t\t */\n\t\tEClass NODE = eINSTANCE.getNode();\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 NODE__NAME = eINSTANCE.getNode_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</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 NODE__DESCRIPTION = eINSTANCE.getNode_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Vulnerabilities</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 NODE__VULNERABILITIES = eINSTANCE.getNode_Vulnerabilities();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Propagations</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 NODE__PROPAGATIONS = eINSTANCE.getNode_Propagations();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Related Object</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference NODE__RELATED_OBJECT = eINSTANCE.getNode_RelatedObject();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Tags</b></em>' attribute list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute NODE__TAGS = eINSTANCE.getNode_Tags();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Domains</b></em>' attribute list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute NODE__DOMAINS = eINSTANCE.getNode_Domains();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.cmu.attackimpact.impl.VulnerabilityImpl <em>Vulnerability</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.cmu.attackimpact.impl.VulnerabilityImpl\n\t\t * @see edu.cmu.attackimpact.impl.AttackImpactPackageImpl#getVulnerability()\n\t\t * @generated\n\t\t */\n\t\tEClass VULNERABILITY = eINSTANCE.getVulnerability();\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 VULNERABILITY__NAME = eINSTANCE.getVulnerability_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</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 VULNERABILITY__DESCRIPTION = eINSTANCE.getVulnerability_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Severity</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 VULNERABILITY__SEVERITY = eINSTANCE.getVulnerability_Severity();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</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 VULNERABILITY__TYPE = eINSTANCE.getVulnerability_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Propagations</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 VULNERABILITY__PROPAGATIONS = eINSTANCE.getVulnerability_Propagations();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Tags</b></em>' attribute list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute VULNERABILITY__TAGS = eINSTANCE.getVulnerability_Tags();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.cmu.attackimpact.impl.PropagationImpl <em>Propagation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.cmu.attackimpact.impl.PropagationImpl\n\t\t * @see edu.cmu.attackimpact.impl.AttackImpactPackageImpl#getPropagation()\n\t\t * @generated\n\t\t */\n\t\tEClass PROPAGATION = eINSTANCE.getPropagation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Destinations</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 PROPAGATION__DESTINATIONS = eINSTANCE.getPropagation_Destinations();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Severity</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 PROPAGATION__SEVERITY = eINSTANCE.getPropagation_Severity();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Tags</b></em>' attribute list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute PROPAGATION__TAGS = eINSTANCE.getPropagation_Tags();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</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 PROPAGATION__TYPE = eINSTANCE.getPropagation_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.cmu.attackimpact.impl.ModelImpl <em>Model</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.cmu.attackimpact.impl.ModelImpl\n\t\t * @see edu.cmu.attackimpact.impl.AttackImpactPackageImpl#getModel()\n\t\t * @generated\n\t\t */\n\t\tEClass MODEL = eINSTANCE.getModel();\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 MODEL__NAME = eINSTANCE.getModel_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</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 MODEL__DESCRIPTION = eINSTANCE.getModel_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Nodes</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 MODEL__NODES = eINSTANCE.getModel_Nodes();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.cmu.attackimpact.vulnerabilityType <em>vulnerability Type</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.cmu.attackimpact.vulnerabilityType\n\t\t * @see edu.cmu.attackimpact.impl.AttackImpactPackageImpl#getvulnerabilityType()\n\t\t * @generated\n\t\t */\n\t\tEEnum VULNERABILITY_TYPE = eINSTANCE.getvulnerabilityType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link edu.cmu.attackimpact.propagationType <em>propagation Type</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see edu.cmu.attackimpact.propagationType\n\t\t * @see edu.cmu.attackimpact.impl.AttackImpactPackageImpl#getpropagationType()\n\t\t * @generated\n\t\t */\n\t\tEEnum PROPAGATION_TYPE = eINSTANCE.getpropagationType();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link Autoevaluacion.impl.HojaImpl <em>Hoja</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see Autoevaluacion.impl.HojaImpl\n\t\t * @see Autoevaluacion.impl.AutoevaluacionPackageImpl#getHoja()\n\t\t * @generated\n\t\t */\n\t\tEClass HOJA = eINSTANCE.getHoja();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ejercicios</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 HOJA__EJERCICIOS = eINSTANCE.getHoja_Ejercicios();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Puntuacion</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 HOJA__PUNTUACION = eINSTANCE.getHoja_Puntuacion();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Penalizacion</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 HOJA__PENALIZACION = eINSTANCE.getHoja_Penalizacion();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link Autoevaluacion.impl.EjercicioImpl <em>Ejercicio</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see Autoevaluacion.impl.EjercicioImpl\n\t\t * @see Autoevaluacion.impl.AutoevaluacionPackageImpl#getEjercicio()\n\t\t * @generated\n\t\t */\n\t\tEClass EJERCICIO = eINSTANCE.getEjercicio();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Enunciado</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 EJERCICIO__ENUNCIADO = eINSTANCE.getEjercicio_Enunciado();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Puntuacion Ej</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 EJERCICIO__PUNTUACION_EJ = eINSTANCE.getEjercicio_PuntuacionEj();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Respuesta</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference EJERCICIO__RESPUESTA = eINSTANCE.getEjercicio_Respuesta();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Categoria</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 EJERCICIO__CATEGORIA = eINSTANCE.getEjercicio_Categoria();\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 EJERCICIO__NAME = eINSTANCE.getEjercicio_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Order</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 EJERCICIO__ORDER = eINSTANCE.getEjercicio_Order();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link Autoevaluacion.impl.RespuestaImpl <em>Respuesta</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see Autoevaluacion.impl.RespuestaImpl\n\t\t * @see Autoevaluacion.impl.AutoevaluacionPackageImpl#getRespuesta()\n\t\t * @generated\n\t\t */\n\t\tEClass RESPUESTA = eINSTANCE.getRespuesta();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Correctas</b></em>' attribute list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute RESPUESTA__CORRECTAS = eINSTANCE.getRespuesta_Correctas();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Alternativas</b></em>' attribute list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute RESPUESTA__ALTERNATIVAS = eINSTANCE.getRespuesta_Alternativas();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link Autoevaluacion.impl.RespuestaUnicaImpl <em>Respuesta Unica</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see Autoevaluacion.impl.RespuestaUnicaImpl\n\t\t * @see Autoevaluacion.impl.AutoevaluacionPackageImpl#getRespuestaUnica()\n\t\t * @generated\n\t\t */\n\t\tEClass RESPUESTA_UNICA = eINSTANCE.getRespuestaUnica();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link Autoevaluacion.impl.RespuestaMultipleImpl <em>Respuesta Multiple</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see Autoevaluacion.impl.RespuestaMultipleImpl\n\t\t * @see Autoevaluacion.impl.AutoevaluacionPackageImpl#getRespuestaMultiple()\n\t\t * @generated\n\t\t */\n\t\tEClass RESPUESTA_MULTIPLE = eINSTANCE.getRespuestaMultiple();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link Autoevaluacion.impl.TextoLibreImpl <em>Texto Libre</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see Autoevaluacion.impl.TextoLibreImpl\n\t\t * @see Autoevaluacion.impl.AutoevaluacionPackageImpl#getTextoLibre()\n\t\t * @generated\n\t\t */\n\t\tEClass TEXTO_LIBRE = eINSTANCE.getTextoLibre();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link Autoevaluacion.impl.OrdenacionImpl <em>Ordenacion</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see Autoevaluacion.impl.OrdenacionImpl\n\t\t * @see Autoevaluacion.impl.AutoevaluacionPackageImpl#getOrdenacion()\n\t\t * @generated\n\t\t */\n\t\tEClass ORDENACION = eINSTANCE.getOrdenacion();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link Autoevaluacion.impl.ClasicoImpl <em>Clasico</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see Autoevaluacion.impl.ClasicoImpl\n\t\t * @see Autoevaluacion.impl.AutoevaluacionPackageImpl#getClasico()\n\t\t * @generated\n\t\t */\n\t\tEClass CLASICO = eINSTANCE.getClasico();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link Autoevaluacion.impl.WizardImpl <em>Wizard</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see Autoevaluacion.impl.WizardImpl\n\t\t * @see Autoevaluacion.impl.AutoevaluacionPackageImpl#getWizard()\n\t\t * @generated\n\t\t */\n\t\tEClass WIZARD = eINSTANCE.getWizard();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link Autoevaluacion.impl.WizardAdaptativoImpl <em>Wizard Adaptativo</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see Autoevaluacion.impl.WizardAdaptativoImpl\n\t\t * @see Autoevaluacion.impl.AutoevaluacionPackageImpl#getWizardAdaptativo()\n\t\t * @generated\n\t\t */\n\t\tEClass WIZARD_ADAPTATIVO = eINSTANCE.getWizardAdaptativo();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.ListPluginsImpl <em>List Plugins</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.ListPluginsImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getListPlugins()\n\t\t * @generated\n\t\t */\n\t\tEClass LIST_PLUGINS = eINSTANCE.getListPlugins();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Include Dependencies</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 LIST_PLUGINS__INCLUDE_DEPENDENCIES = eINSTANCE.getListPlugins_IncludeDependencies();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.ListFeaturesImpl <em>List Features</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.ListFeaturesImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getListFeatures()\n\t\t * @generated\n\t\t */\n\t\tEClass LIST_FEATURES = eINSTANCE.getListFeatures();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.ListRepositoriesImpl <em>List Repositories</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.ListRepositoriesImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getListRepositories()\n\t\t * @generated\n\t\t */\n\t\tEClass LIST_REPOSITORIES = eINSTANCE.getListRepositories();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.AddRepositoryImpl <em>Add Repository</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.AddRepositoryImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getAddRepository()\n\t\t * @generated\n\t\t */\n\t\tEClass ADD_REPOSITORY = eINSTANCE.getAddRepository();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Uri</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 ADD_REPOSITORY__URI = eINSTANCE.getAddRepository_Uri();\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 ADD_REPOSITORY__NAME = eINSTANCE.getAddRepository_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.RemoveRepositoryImpl <em>Remove Repository</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.RemoveRepositoryImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getRemoveRepository()\n\t\t * @generated\n\t\t */\n\t\tEClass REMOVE_REPOSITORY = eINSTANCE.getRemoveRepository();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Uri</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 REMOVE_REPOSITORY__URI = eINSTANCE.getRemoveRepository_Uri();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.UpdateFeatureImpl <em>Update Feature</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.UpdateFeatureImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getUpdateFeature()\n\t\t * @generated\n\t\t */\n\t\tEClass UPDATE_FEATURE = eINSTANCE.getUpdateFeature();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id</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 UPDATE_FEATURE__ID = eINSTANCE.getUpdateFeature_Id();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.UpdateAllImpl <em>Update All</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.UpdateAllImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getUpdateAll()\n\t\t * @generated\n\t\t */\n\t\tEClass UPDATE_ALL = eINSTANCE.getUpdateAll();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.SortByImpl <em>Sort By</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.SortByImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getSortBy()\n\t\t * @generated\n\t\t */\n\t\tEClass SORT_BY = eINSTANCE.getSortBy();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Field</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 SORT_BY__FIELD = eINSTANCE.getSortBy_Field();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.ListInstallUnitsImpl <em>List Install Units</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.ListInstallUnitsImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getListInstallUnits()\n\t\t * @generated\n\t\t */\n\t\tEClass LIST_INSTALL_UNITS = eINSTANCE.getListInstallUnits();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.GetLogImpl <em>Get Log</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.GetLogImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getGetLog()\n\t\t * @generated\n\t\t */\n\t\tEClass GET_LOG = eINSTANCE.getGetLog();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Levels</b></em>' attribute list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute GET_LOG__LEVELS = eINSTANCE.getGetLog_Levels();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Limit</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 GET_LOG__LIMIT = eINSTANCE.getGetLog_Limit();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.LogImpl <em>Log</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.LogImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getLog()\n\t\t * @generated\n\t\t */\n\t\tEClass LOG = eINSTANCE.getLog();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Message</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 LOG__MESSAGE = eINSTANCE.getLog_Message();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Severity</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 LOG__SEVERITY = eINSTANCE.getLog_Severity();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Plugin</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 LOG__PLUGIN = eINSTANCE.getLog_Plugin();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.EchoImpl <em>Echo</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.EchoImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getEcho()\n\t\t * @generated\n\t\t */\n\t\tEClass ECHO = eINSTANCE.getEcho();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Str</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 ECHO__STR = eINSTANCE.getEcho_Str();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.ClearLogImpl <em>Clear Log</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.ClearLogImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getClearLog()\n\t\t * @generated\n\t\t */\n\t\tEClass CLEAR_LOG = eINSTANCE.getClearLog();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.ListLaunchConfigurationsImpl <em>List Launch Configurations</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.ListLaunchConfigurationsImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getListLaunchConfigurations()\n\t\t * @generated\n\t\t */\n\t\tEClass LIST_LAUNCH_CONFIGURATIONS = eINSTANCE.getListLaunchConfigurations();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.LaunchImpl <em>Launch</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.LaunchImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getLaunch()\n\t\t * @generated\n\t\t */\n\t\tEClass LAUNCH = eINSTANCE.getLaunch();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Mode</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 LAUNCH__MODE = eINSTANCE.getLaunch_Mode();\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 LAUNCH__NAME = eINSTANCE.getLaunch_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.SubstituteVariablesImpl <em>Substitute Variables</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.SubstituteVariablesImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getSubstituteVariables()\n\t\t * @generated\n\t\t */\n\t\tEClass SUBSTITUTE_VARIABLES = eINSTANCE.getSubstituteVariables();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Expression</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 SUBSTITUTE_VARIABLES__EXPRESSION = eINSTANCE.getSubstituteVariables_Expression();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Ignore Undefined</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 SUBSTITUTE_VARIABLES__IGNORE_UNDEFINED = eINSTANCE.getSubstituteVariables_IgnoreUndefined();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.GetWorkspaceLocationImpl <em>Get Workspace Location</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.GetWorkspaceLocationImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getGetWorkspaceLocation()\n\t\t * @generated\n\t\t */\n\t\tEClass GET_WORKSPACE_LOCATION = eINSTANCE.getGetWorkspaceLocation();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.eclipse.ecl.platform.commands.impl.FindInWorkspaceImpl <em>Find In Workspace</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.eclipse.ecl.platform.commands.impl.FindInWorkspaceImpl\n\t\t * @see org.eclipse.ecl.platform.commands.impl.CommandsPackageImpl#getFindInWorkspace()\n\t\t * @generated\n\t\t */\n\t\tEClass FIND_IN_WORKSPACE = eINSTANCE.getFindInWorkspace();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Path</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 FIND_IN_WORKSPACE__PATH = eINSTANCE.getFindInWorkspace_Path();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>All</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 FIND_IN_WORKSPACE__ALL = eINSTANCE.getFindInWorkspace_All();\n\n\t}", "@Override\n\tpublic void generate() {\n\t\tJavaObject object = new JavaObject(objectType);\n\n\t\t// Fields\n\t\taddFields(object);\n\n\t\t// Empty constructor\n\t\taddEmptyConstructor(object);\n\n\t\t// Types constructor\n\t\taddTypesConstructor(object);\n\n\t\t// Clone constructor\n\t\taddCloneConstructor(object);\n\n\t\t// Setters\n\t\taddSetters(object);\n\n\t\t// Build!\n\t\taddBuild(object);\n\n\t\t// Done!\n\t\twrite(object);\n\t}", "protected void createExtendedMetaDataAnnotations() {\n\t\tString source = \"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\";\t\t\n\t\taddAnnotation\n\t\t (controlEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"control\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Midi(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"midi\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Background(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"background\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Centered(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"centered\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Color(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"color\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_H(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"h\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Inverted(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"inverted\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_InvertedX(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"inverted_x\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_InvertedY(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"inverted_y\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_LocalOff(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"local_off\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Name(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"name\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Number(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"number\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_NumberX(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"number_x\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_NumberY(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"number_y\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_OscCs(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"osc_cs\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Outline(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"outline\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Response(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"response\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Scalef(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"scalef\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Scalet(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"scalet\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Seconds(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"seconds\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Size(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"size\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Text(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"text\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Type(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"type\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_W(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"w\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_X(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"x\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getControl_Y(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"y\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (layoutEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"layout\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getLayout_Tabpage(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"tabpage\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getLayout_Mode(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"mode\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getLayout_Orientation(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"orientation\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getLayout_Version(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"version\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (midiEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"midi\",\n\t\t\t \"kind\", \"empty\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getMidi_Channel(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"channel\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getMidi_Data1(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"data1\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getMidi_Data2f(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"data2f\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getMidi_Data2t(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"data2t\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getMidi_Type(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"type\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getMidi_Var(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"var\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (tabpageEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"tabpage\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getTabpage_Control(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"control\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getTabpage_Name(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"name\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (topEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"TOP\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getTOP_Layout(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"layout\"\n\t\t });\n\t}", "public Token_Type(JCas jcas, Type casType) {\n super(jcas, casType);\n casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());\n\n \n casFeat_tag = jcas.getRequiredFeatureDE(casType, \"tag\", \"uima.cas.String\", featOkTst);\n casFeatCode_tag = (null == casFeat_tag) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_tag).getCode();\n\n \n casFeat_detailedtag = jcas.getRequiredFeatureDE(casType, \"detailedtag\", \"uima.cas.String\", featOkTst);\n casFeatCode_detailedtag = (null == casFeat_detailedtag) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_detailedtag).getCode();\n\n \n casFeat_lemma = jcas.getRequiredFeatureDE(casType, \"lemma\", \"uima.cas.String\", featOkTst);\n casFeatCode_lemma = (null == casFeat_lemma) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_lemma).getCode();\n\n \n casFeat_gerund = jcas.getRequiredFeatureDE(casType, \"gerund\", \"uima.cas.String\", featOkTst);\n casFeatCode_gerund = (null == casFeat_gerund) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_gerund).getCode();\n\n \n casFeat_chunk = jcas.getRequiredFeatureDE(casType, \"chunk\", \"uima.cas.String\", featOkTst);\n casFeatCode_chunk = (null == casFeat_chunk) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_chunk).getCode();\n\n \n casFeat_mltag = jcas.getRequiredFeatureDE(casType, \"mltag\", \"uima.cas.String\", featOkTst);\n casFeatCode_mltag = (null == casFeat_mltag) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_mltag).getCode();\n\n \n casFeat_depid = jcas.getRequiredFeatureDE(casType, \"depid\", \"uima.cas.Integer\", featOkTst);\n casFeatCode_depid = (null == casFeat_depid) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_depid).getCode();\n\n \n casFeat_dephead = jcas.getRequiredFeatureDE(casType, \"dephead\", \"uima.cas.Integer\", featOkTst);\n casFeatCode_dephead = (null == casFeat_dephead) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_dephead).getCode();\n\n \n casFeat_deprel = jcas.getRequiredFeatureDE(casType, \"deprel\", \"uima.cas.String\", featOkTst);\n casFeatCode_deprel = (null == casFeat_deprel) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_deprel).getCode();\n\n \n casFeat_maltdepid = jcas.getRequiredFeatureDE(casType, \"maltdepid\", \"uima.cas.Integer\", featOkTst);\n casFeatCode_maltdepid = (null == casFeat_maltdepid) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_maltdepid).getCode();\n\n \n casFeat_maltdephead = jcas.getRequiredFeatureDE(casType, \"maltdephead\", \"uima.cas.Integer\", featOkTst);\n casFeatCode_maltdephead = (null == casFeat_maltdephead) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_maltdephead).getCode();\n\n \n casFeat_maltdeprel = jcas.getRequiredFeatureDE(casType, \"maltdeprel\", \"uima.cas.String\", featOkTst);\n casFeatCode_maltdeprel = (null == casFeat_maltdeprel) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_maltdeprel).getCode();\n\n }", "interface Literals {\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.GraphTransformationImpl <em>Graph Transformation</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.GraphTransformationImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getGraphTransformation()\n * @generated\n */\n\t\tEClass GRAPH_TRANSFORMATION = eINSTANCE.getGraphTransformation();\n\n\t\t/**\n * The meta object literal for the '<em><b>Rules</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference GRAPH_TRANSFORMATION__RULES = eINSTANCE.getGraphTransformation_Rules();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.RuleImpl <em>Rule</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.RuleImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getRule()\n * @generated\n */\n\t\tEClass RULE = eINSTANCE.getRule();\n\n\t\t/**\n * The meta object literal for the '<em><b>Leftside</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference RULE__LEFTSIDE = eINSTANCE.getRule_Leftside();\n\n\t\t/**\n * The meta object literal for the '<em><b>Roles</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference RULE__ROLES = eINSTANCE.getRule_Roles();\n\n\t\t/**\n * The meta object literal for the '<em><b>Application Conditions</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference RULE__APPLICATION_CONDITIONS = eINSTANCE.getRule_ApplicationConditions();\n\n\t\t/**\n * The meta object literal for the '<em><b>Operations</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference RULE__OPERATIONS = eINSTANCE.getRule_Operations();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.LeftSideImpl <em>Left Side</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.LeftSideImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getLeftSide()\n * @generated\n */\n\t\tEClass LEFT_SIDE = eINSTANCE.getLeftSide();\n\n\t\t/**\n * The meta object literal for the '<em><b>Nodes</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference LEFT_SIDE__NODES = eINSTANCE.getLeftSide_Nodes();\n\n\t\t/**\n * The meta object literal for the '<em><b>Edges</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference LEFT_SIDE__EDGES = eINSTANCE.getLeftSide_Edges();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.RolesImpl <em>Roles</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.RolesImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getRoles()\n * @generated\n */\n\t\tEClass ROLES = eINSTANCE.getRoles();\n\n\t\t/**\n * The meta object literal for the '<em><b>Existing Roles</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference ROLES__EXISTING_ROLES = eINSTANCE.getRoles_ExistingRoles();\n\n\t\t/**\n * The meta object literal for the '<em><b>Arriving Role</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference ROLES__ARRIVING_ROLE = eINSTANCE.getRoles_ArrivingRole();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.ApplicationConditionsImpl <em>Application Conditions</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.ApplicationConditionsImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getApplicationConditions()\n * @generated\n */\n\t\tEClass APPLICATION_CONDITIONS = eINSTANCE.getApplicationConditions();\n\n\t\t/**\n * The meta object literal for the '<em><b>Conditions</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference APPLICATION_CONDITIONS__CONDITIONS = eINSTANCE.getApplicationConditions_Conditions();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.OperationsImpl <em>Operations</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.OperationsImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getOperations()\n * @generated\n */\n\t\tEClass OPERATIONS = eINSTANCE.getOperations();\n\n\t\t/**\n * The meta object literal for the '<em><b>Remove Edges</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference OPERATIONS__REMOVE_EDGES = eINSTANCE.getOperations_RemoveEdges();\n\n\t\t/**\n * The meta object literal for the '<em><b>Remove Nodes</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference OPERATIONS__REMOVE_NODES = eINSTANCE.getOperations_RemoveNodes();\n\n\t\t/**\n * The meta object literal for the '<em><b>Add Nodes</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference OPERATIONS__ADD_NODES = eINSTANCE.getOperations_AddNodes();\n\n\t\t/**\n * The meta object literal for the '<em><b>Add Edges</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference OPERATIONS__ADD_EDGES = eINSTANCE.getOperations_AddEdges();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.Node <em>Node</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.Node\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getNode()\n * @generated\n */\n\t\tEClass NODE = eINSTANCE.getNode();\n\n\t\t/**\n * The meta object literal for the '<em><b>In</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference NODE__IN = eINSTANCE.getNode_In();\n\n\t\t/**\n * The meta object literal for the '<em><b>Out</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference NODE__OUT = eINSTANCE.getNode_Out();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.EdgeImpl <em>Edge</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.EdgeImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getEdge()\n * @generated\n */\n\t\tEClass EDGE = eINSTANCE.getEdge();\n\n\t\t/**\n * The meta object literal for the '<em><b>Source</b></em>' reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference EDGE__SOURCE = eINSTANCE.getEdge_Source();\n\n\t\t/**\n * The meta object literal for the '<em><b>Target</b></em>' reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference EDGE__TARGET = eINSTANCE.getEdge_Target();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.ExistingRoleImpl <em>Existing Role</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.ExistingRoleImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getExistingRole()\n * @generated\n */\n\t\tEClass EXISTING_ROLE = eINSTANCE.getExistingRole();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.ArrivingRoleImpl <em>Arriving Role</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.ArrivingRoleImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getArrivingRole()\n * @generated\n */\n\t\tEClass ARRIVING_ROLE = eINSTANCE.getArrivingRole();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.Condition <em>Condition</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.Condition\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getCondition()\n * @generated\n */\n\t\tEClass CONDITION = eINSTANCE.getCondition();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.GraphOperation <em>Graph Operation</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.GraphOperation\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getGraphOperation()\n * @generated\n */\n\t\tEClass GRAPH_OPERATION = eINSTANCE.getGraphOperation();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.InitialImpl <em>Initial</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.InitialImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getInitial()\n * @generated\n */\n\t\tEClass INITIAL = eINSTANCE.getInitial();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.ActivityFinalImpl <em>Activity Final</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.ActivityFinalImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getActivityFinal()\n * @generated\n */\n\t\tEClass ACTIVITY_FINAL = eINSTANCE.getActivityFinal();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.FlowFinalImpl <em>Flow Final</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.FlowFinalImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getFlowFinal()\n * @generated\n */\n\t\tEClass FLOW_FINAL = eINSTANCE.getFlowFinal();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.ForkImpl <em>Fork</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.ForkImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getFork()\n * @generated\n */\n\t\tEClass FORK = eINSTANCE.getFork();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.SpecializationActionImpl <em>Specialization Action</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.SpecializationActionImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getSpecializationAction()\n * @generated\n */\n\t\tEClass SPECIALIZATION_ACTION = eINSTANCE.getSpecializationAction();\n\n\t\t/**\n * The meta object literal for the '<em><b>Variable Role</b></em>' reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference SPECIALIZATION_ACTION__VARIABLE_ROLE = eINSTANCE.getSpecializationAction_VariableRole();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.IdleActionImpl <em>Idle Action</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.IdleActionImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getIdleAction()\n * @generated\n */\n\t\tEClass IDLE_ACTION = eINSTANCE.getIdleAction();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.VariableRole <em>Variable Role</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.VariableRole\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getVariableRole()\n * @generated\n */\n\t\tEClass VARIABLE_ROLE = eINSTANCE.getVariableRole();\n\n\t\t/**\n * The meta object literal for the '<em><b>Action</b></em>' reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference VARIABLE_ROLE__ACTION = eINSTANCE.getVariableRole_Action();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.InheritsFromImpl <em>Inherits From</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.InheritsFromImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getInheritsFrom()\n * @generated\n */\n\t\tEClass INHERITS_FROM = eINSTANCE.getInheritsFrom();\n\n\t\t/**\n * The meta object literal for the '<em><b>Parent</b></em>' reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference INHERITS_FROM__PARENT = eINSTANCE.getInheritsFrom_Parent();\n\n\t\t/**\n * The meta object literal for the '<em><b>Child</b></em>' reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference INHERITS_FROM__CHILD = eINSTANCE.getInheritsFrom_Child();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.BelongsToImpl <em>Belongs To</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.BelongsToImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getBelongsTo()\n * @generated\n */\n\t\tEClass BELONGS_TO = eINSTANCE.getBelongsTo();\n\n\t\t/**\n * The meta object literal for the '<em><b>Leader</b></em>' reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference BELONGS_TO__LEADER = eINSTANCE.getBelongsTo_Leader();\n\n\t\t/**\n * The meta object literal for the '<em><b>Member</b></em>' reference feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference BELONGS_TO__MEMBER = eINSTANCE.getBelongsTo_Member();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.RemoveNodesImpl <em>Remove Nodes</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.RemoveNodesImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getRemoveNodes()\n * @generated\n */\n\t\tEClass REMOVE_NODES = eINSTANCE.getRemoveNodes();\n\n\t\t/**\n * The meta object literal for the '<em><b>Node</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference REMOVE_NODES__NODE = eINSTANCE.getRemoveNodes_Node();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.RemoveEdgesImpl <em>Remove Edges</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.RemoveEdgesImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getRemoveEdges()\n * @generated\n */\n\t\tEClass REMOVE_EDGES = eINSTANCE.getRemoveEdges();\n\n\t\t/**\n * The meta object literal for the '<em><b>Edge</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference REMOVE_EDGES__EDGE = eINSTANCE.getRemoveEdges_Edge();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.AddEdgesImpl <em>Add Edges</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.AddEdgesImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getAddEdges()\n * @generated\n */\n\t\tEClass ADD_EDGES = eINSTANCE.getAddEdges();\n\n\t\t/**\n * The meta object literal for the '<em><b>Edge</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference ADD_EDGES__EDGE = eINSTANCE.getAddEdges_Edge();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.impl.AddNodesImpl <em>Add Nodes</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.impl.AddNodesImpl\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getAddNodes()\n * @generated\n */\n\t\tEClass ADD_NODES = eINSTANCE.getAddNodes();\n\n\t\t/**\n * The meta object literal for the '<em><b>Node</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEReference ADD_NODES__NODE = eINSTANCE.getAddNodes_Node();\n\n\t\t/**\n * The meta object literal for the '{@link org.js.graph.transformation.Nameable <em>Nameable</em>}' class.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @see org.js.graph.transformation.Nameable\n * @see org.js.graph.transformation.impl.TransformationPackageImpl#getNameable()\n * @generated\n */\n\t\tEClass NAMEABLE = eINSTANCE.getNameable();\n\n\t\t/**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n * @generated\n */\n\t\tEAttribute NAMEABLE__NAME = eINSTANCE.getNameable_Name();\n\n\t}", "protected void createExtendedMetaDataAnnotations() {\n\t\tString source = \"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\";\t\t\t\t\t\n\t\taddAnnotation\n\t\t (analyzerJobEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"AnalyzerJob\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getAnalyzerJob_RFSService(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"RFSService\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (componentFailureEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"ComponentFailure\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getComponentFailure_ComponentRef(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"ComponentRef\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (componentWorkFlowRunEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"ComponentWorkFlowRun\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getComponentWorkFlowRun_FailureRefs(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"FailureRefs\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (expressionFailureEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"ExpressionFailure\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getExpressionFailure_ExpressionRef(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"ExpressionRef\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (failureEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"Failure\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getFailure_Message(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"Message\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (jobEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"Job\",\n\t\t\t \"kind\", \"empty\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getJob_EndTime(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"EndTime\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getJob_Interval(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"Interval\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getJob_JobState(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"JobState\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getJob_Name(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"Name\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getJob_Repeat(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"Repeat\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getJob_StartTime(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"StartTime\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (jobRunContainerEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"JobRunContainer\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getJobRunContainer_Job(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"Job\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getJobRunContainer_WorkFlowRuns(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"WorkFlowRuns\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (jobRunStateEEnum, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"JobRunState\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (jobRunStateObjectEDataType, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"JobRunState:Object\",\n\t\t\t \"baseType\", \"JobRunState\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (jobStateEEnum, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"JobState\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (jobStateObjectEDataType, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"JobState:Object\",\n\t\t\t \"baseType\", \"JobState\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (metricSourceJobEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"MetricSourceJob\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getMetricSourceJob_MetricSources(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"MetricSources\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (nodeReporterJobEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"NodeReporterJob\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getNodeReporterJob_Node(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"Node\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (nodeTypeReporterJobEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"NodeTypeReporterJob\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getNodeTypeReporterJob_NodeType(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"NodeType\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getNodeTypeReporterJob_ScopeObject(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"ScopeObject\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (operatorReporterJobEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"OperatorReporterJob\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getOperatorReporterJob_Operator(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"Operator\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (retentionJobEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"RetentionJob\",\n\t\t\t \"kind\", \"empty\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (rfsServiceMonitoringJobEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"RFSServiceMonitoringJob\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getRFSServiceMonitoringJob_RFSService(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"RFSService\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (rfsServiceReporterJobEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"RFSServiceReporterJob\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getRFSServiceReporterJob_RFSService(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"RFSService\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (serviceUserFailureEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"ServiceUserFailure\",\n\t\t\t \"kind\", \"elementOnly\"\n\t\t });\t\t\t\n\t\taddAnnotation\n\t\t (getServiceUserFailure_ServiceUserRef(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"element\",\n\t\t\t \"name\", \"ServiceUserRef\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (workFlowRunEClass, \n\t\t source, \n\t\t new String[] {\n\t\t\t \"name\", \"WorkFlowRun\",\n\t\t\t \"kind\", \"empty\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getWorkFlowRun_Ended(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"Ended\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getWorkFlowRun_Log(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"Log\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getWorkFlowRun_Progress(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"Progress\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getWorkFlowRun_ProgressMessage(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"ProgressMessage\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getWorkFlowRun_ProgressTask(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"ProgressTask\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getWorkFlowRun_Started(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"Started\"\n\t\t });\t\t\n\t\taddAnnotation\n\t\t (getWorkFlowRun_State(), \n\t\t source, \n\t\t new String[] {\n\t\t\t \"kind\", \"attribute\",\n\t\t\t \"name\", \"State\"\n\t\t });\n\t}", "interface Literals\r\n {\r\n /**\r\n * The meta object literal for the '{@link at.ac.tuwien.big.questionnaire.impl.QuestionnaireImpl <em>Questionnaire</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see at.ac.tuwien.big.questionnaire.impl.QuestionnaireImpl\r\n * @see at.ac.tuwien.big.questionnaire.impl.QuestionnairePackageImpl#getQuestionnaire()\r\n * @generated\r\n */\r\n EClass QUESTIONNAIRE = eINSTANCE.getQuestionnaire();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Title</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute QUESTIONNAIRE__TITLE = eINSTANCE.getQuestionnaire_Title();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Groups</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference QUESTIONNAIRE__GROUPS = eINSTANCE.getQuestionnaire_Groups();\r\n\r\n /**\r\n * The meta object literal for the '{@link at.ac.tuwien.big.questionnaire.impl.GroupImpl <em>Group</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see at.ac.tuwien.big.questionnaire.impl.GroupImpl\r\n * @see at.ac.tuwien.big.questionnaire.impl.QuestionnairePackageImpl#getGroup()\r\n * @generated\r\n */\r\n EClass GROUP = eINSTANCE.getGroup();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Questions</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference GROUP__QUESTIONS = eINSTANCE.getGroup_Questions();\r\n\r\n /**\r\n * The meta object literal for the '{@link at.ac.tuwien.big.questionnaire.impl.QuestionImpl <em>Question</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see at.ac.tuwien.big.questionnaire.impl.QuestionImpl\r\n * @see at.ac.tuwien.big.questionnaire.impl.QuestionnairePackageImpl#getQuestion()\r\n * @generated\r\n */\r\n EClass QUESTION = eINSTANCE.getQuestion();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute QUESTION__NAME = eINSTANCE.getQuestion_Name();\r\n\r\n /**\r\n * The meta object literal for the '{@link at.ac.tuwien.big.questionnaire.impl.OpenQuestionImpl <em>Open Question</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see at.ac.tuwien.big.questionnaire.impl.OpenQuestionImpl\r\n * @see at.ac.tuwien.big.questionnaire.impl.QuestionnairePackageImpl#getOpenQuestion()\r\n * @generated\r\n */\r\n EClass OPEN_QUESTION = eINSTANCE.getOpenQuestion();\r\n\r\n /**\r\n * The meta object literal for the '{@link at.ac.tuwien.big.questionnaire.impl.ClosedQuestionImpl <em>Closed Question</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see at.ac.tuwien.big.questionnaire.impl.ClosedQuestionImpl\r\n * @see at.ac.tuwien.big.questionnaire.impl.QuestionnairePackageImpl#getClosedQuestion()\r\n * @generated\r\n */\r\n EClass CLOSED_QUESTION = eINSTANCE.getClosedQuestion();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Answers</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference CLOSED_QUESTION__ANSWERS = eINSTANCE.getClosedQuestion_Answers();\r\n\r\n /**\r\n * The meta object literal for the '{@link at.ac.tuwien.big.questionnaire.impl.LikertQuestionImpl <em>Likert Question</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see at.ac.tuwien.big.questionnaire.impl.LikertQuestionImpl\r\n * @see at.ac.tuwien.big.questionnaire.impl.QuestionnairePackageImpl#getLikertQuestion()\r\n * @generated\r\n */\r\n EClass LIKERT_QUESTION = eINSTANCE.getLikertQuestion();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Lower</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute LIKERT_QUESTION__LOWER = eINSTANCE.getLikertQuestion_Lower();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Higher</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute LIKERT_QUESTION__HIGHER = eINSTANCE.getLikertQuestion_Higher();\r\n\r\n /**\r\n * The meta object literal for the '{@link at.ac.tuwien.big.questionnaire.impl.AnswersImpl <em>Answers</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see at.ac.tuwien.big.questionnaire.impl.AnswersImpl\r\n * @see at.ac.tuwien.big.questionnaire.impl.QuestionnairePackageImpl#getAnswers()\r\n * @generated\r\n */\r\n EClass ANSWERS = eINSTANCE.getAnswers();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Answers</b></em>' containment reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference ANSWERS__ANSWERS = eINSTANCE.getAnswers_Answers();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Defanswer</b></em>' containment reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference ANSWERS__DEFANSWER = eINSTANCE.getAnswers_Defanswer();\r\n\r\n /**\r\n * The meta object literal for the '{@link at.ac.tuwien.big.questionnaire.impl.AnswerImpl <em>Answer</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see at.ac.tuwien.big.questionnaire.impl.AnswerImpl\r\n * @see at.ac.tuwien.big.questionnaire.impl.QuestionnairePackageImpl#getAnswer()\r\n * @generated\r\n */\r\n EClass ANSWER = eINSTANCE.getAnswer();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EAttribute ANSWER__NAME = eINSTANCE.getAnswer_Name();\r\n\r\n /**\r\n * The meta object literal for the '{@link at.ac.tuwien.big.questionnaire.impl.OpenAnswerImpl <em>Open Answer</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see at.ac.tuwien.big.questionnaire.impl.OpenAnswerImpl\r\n * @see at.ac.tuwien.big.questionnaire.impl.QuestionnairePackageImpl#getOpenAnswer()\r\n * @generated\r\n */\r\n EClass OPEN_ANSWER = eINSTANCE.getOpenAnswer();\r\n\r\n /**\r\n * The meta object literal for the '{@link at.ac.tuwien.big.questionnaire.impl.ClosedAnswerImpl <em>Closed Answer</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see at.ac.tuwien.big.questionnaire.impl.ClosedAnswerImpl\r\n * @see at.ac.tuwien.big.questionnaire.impl.QuestionnairePackageImpl#getClosedAnswer()\r\n * @generated\r\n */\r\n EClass CLOSED_ANSWER = eINSTANCE.getClosedAnswer();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Id</b></em>' reference list feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference CLOSED_ANSWER__ID = eINSTANCE.getClosedAnswer_Id();\r\n\r\n /**\r\n * The meta object literal for the '{@link at.ac.tuwien.big.questionnaire.impl.DefAnswerImpl <em>Def Answer</em>}' class.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @see at.ac.tuwien.big.questionnaire.impl.DefAnswerImpl\r\n * @see at.ac.tuwien.big.questionnaire.impl.QuestionnairePackageImpl#getDefAnswer()\r\n * @generated\r\n */\r\n EClass DEF_ANSWER = eINSTANCE.getDefAnswer();\r\n\r\n /**\r\n * The meta object literal for the '<em><b>Id</b></em>' reference feature.\r\n * <!-- begin-user-doc -->\r\n * <!-- end-user-doc -->\r\n * @generated\r\n */\r\n EReference DEF_ANSWER__ID = eINSTANCE.getDefAnswer_Id();\r\n\r\n }", "interface Literals {\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link componentAllocation.impl.ComponentImpl <em>Component</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see componentAllocation.impl.ComponentImpl\r\n\t\t * @see componentAllocation.impl.ComponentAllocationPackageImpl#getComponent()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass COMPONENT = eINSTANCE.getComponent();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Comp Name</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute COMPONENT__COMP_NAME = eINSTANCE.getComponent_CompName();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Res Consumptions</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference COMPONENT__RES_CONSUMPTIONS = eINSTANCE.getComponent_ResConsumptions();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link componentAllocation.impl.CompUnitImpl <em>Comp Unit</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see componentAllocation.impl.CompUnitImpl\r\n\t\t * @see componentAllocation.impl.ComponentAllocationPackageImpl#getCompUnit()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass COMP_UNIT = eINSTANCE.getCompUnit();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Cpu Avail</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute COMP_UNIT__CPU_AVAIL = eINSTANCE.getCompUnit_CpuAvail();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Mem Available</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute COMP_UNIT__MEM_AVAILABLE = eINSTANCE.getCompUnit_MemAvailable();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Power Avail</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute COMP_UNIT__POWER_AVAIL = eINSTANCE.getCompUnit_PowerAvail();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Comp Unit Name</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute COMP_UNIT__COMP_UNIT_NAME = eINSTANCE.getCompUnit_CompUnitName();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Res Consumptions</b></em>' reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference COMP_UNIT__RES_CONSUMPTIONS = eINSTANCE.getCompUnit_ResConsumptions();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link componentAllocation.impl.TradeOffVectorImpl <em>Trade Off Vector</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see componentAllocation.impl.TradeOffVectorImpl\r\n\t\t * @see componentAllocation.impl.ComponentAllocationPackageImpl#getTradeOffVector()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass TRADE_OFF_VECTOR = eINSTANCE.getTradeOffVector();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Cpu Factor</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute TRADE_OFF_VECTOR__CPU_FACTOR = eINSTANCE.getTradeOffVector_CpuFactor();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Memory Factor</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute TRADE_OFF_VECTOR__MEMORY_FACTOR = eINSTANCE.getTradeOffVector_MemoryFactor();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Power Factor</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute TRADE_OFF_VECTOR__POWER_FACTOR = eINSTANCE.getTradeOffVector_PowerFactor();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link componentAllocation.impl.ResConsumptionImpl <em>Res Consumption</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see componentAllocation.impl.ResConsumptionImpl\r\n\t\t * @see componentAllocation.impl.ComponentAllocationPackageImpl#getResConsumption()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass RES_CONSUMPTION = eINSTANCE.getResConsumption();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Cpu Cons</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute RES_CONSUMPTION__CPU_CONS = eINSTANCE.getResConsumption_CpuCons();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Memory Cons</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute RES_CONSUMPTION__MEMORY_CONS = eINSTANCE.getResConsumption_MemoryCons();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Power Cons</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute RES_CONSUMPTION__POWER_CONS = eINSTANCE.getResConsumption_PowerCons();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Component</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference RES_CONSUMPTION__COMPONENT = eINSTANCE.getResConsumption_Component();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Comp Unit</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference RES_CONSUMPTION__COMP_UNIT = eINSTANCE.getResConsumption_CompUnit();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link componentAllocation.impl.AllocationConstraintImpl <em>Allocation Constraint</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see componentAllocation.impl.AllocationConstraintImpl\r\n\t\t * @see componentAllocation.impl.ComponentAllocationPackageImpl#getAllocationConstraint()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass ALLOCATION_CONSTRAINT = eINSTANCE.getAllocationConstraint();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Component</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference ALLOCATION_CONSTRAINT__COMPONENT = eINSTANCE.getAllocationConstraint_Component();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Comp Unit</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference ALLOCATION_CONSTRAINT__COMP_UNIT = eINSTANCE.getAllocationConstraint_CompUnit();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link componentAllocation.impl.AntiAllocationConstraintImpl <em>Anti Allocation Constraint</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see componentAllocation.impl.AntiAllocationConstraintImpl\r\n\t\t * @see componentAllocation.impl.ComponentAllocationPackageImpl#getAntiAllocationConstraint()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass ANTI_ALLOCATION_CONSTRAINT = eINSTANCE.getAntiAllocationConstraint();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Comp Unit</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference ANTI_ALLOCATION_CONSTRAINT__COMP_UNIT = eINSTANCE.getAntiAllocationConstraint_CompUnit();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Component</b></em>' reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference ANTI_ALLOCATION_CONSTRAINT__COMPONENT = eINSTANCE.getAntiAllocationConstraint_Component();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '{@link componentAllocation.impl.AllocationProblemImpl <em>Allocation Problem</em>}' class.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @see componentAllocation.impl.AllocationProblemImpl\r\n\t\t * @see componentAllocation.impl.ComponentAllocationPackageImpl#getAllocationProblem()\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEClass ALLOCATION_PROBLEM = eINSTANCE.getAllocationProblem();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Components</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference ALLOCATION_PROBLEM__COMPONENTS = eINSTANCE.getAllocationProblem_Components();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Trade Offvector</b></em>' containment reference feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference ALLOCATION_PROBLEM__TRADE_OFFVECTOR = eINSTANCE.getAllocationProblem_TradeOffvector();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Comp Units</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference ALLOCATION_PROBLEM__COMP_UNITS = eINSTANCE.getAllocationProblem_CompUnits();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Allocation Constraints</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference ALLOCATION_PROBLEM__ALLOCATION_CONSTRAINTS = eINSTANCE.getAllocationProblem_AllocationConstraints();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Anti Allocation Constraints</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference ALLOCATION_PROBLEM__ANTI_ALLOCATION_CONSTRAINTS = eINSTANCE\r\n\t\t\t\t.getAllocationProblem_AntiAllocationConstraints();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>Res Consumptions</b></em>' containment reference list feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEReference ALLOCATION_PROBLEM__RES_CONSUMPTIONS = eINSTANCE.getAllocationProblem_ResConsumptions();\r\n\r\n\t\t/**\r\n\t\t * The meta object literal for the '<em><b>ID</b></em>' attribute feature.\r\n\t\t * <!-- begin-user-doc -->\r\n\t\t * <!-- end-user-doc -->\r\n\t\t * @generated\r\n\t\t */\r\n\t\tEAttribute ALLOCATION_PROBLEM__ID = eINSTANCE.getAllocationProblem_ID();\r\n\r\n\t}", "interface Literals\n {\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.AndroidAppProjectImpl <em>Android App Project</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.AndroidAppProjectImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getAndroidAppProject()\n * @generated\n */\n EClass ANDROID_APP_PROJECT = eINSTANCE.getAndroidAppProject();\n\n /**\n * The meta object literal for the '<em><b>Applications</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ANDROID_APP_PROJECT__APPLICATIONS = eINSTANCE.getAndroidAppProject_Applications();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ApplicationImpl <em>Application</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ApplicationImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getApplication()\n * @generated\n */\n EClass APPLICATION = eINSTANCE.getApplication();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute APPLICATION__NAME = eINSTANCE.getApplication_Name();\n\n /**\n * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference APPLICATION__ATTRIBUTES = eINSTANCE.getApplication_Attributes();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ApplicationAttributeImpl <em>Application Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ApplicationAttributeImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getApplicationAttribute()\n * @generated\n */\n EClass APPLICATION_ATTRIBUTE = eINSTANCE.getApplicationAttribute();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ApplicationMinSdkImpl <em>Application Min Sdk</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ApplicationMinSdkImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getApplicationMinSdk()\n * @generated\n */\n EClass APPLICATION_MIN_SDK = eINSTANCE.getApplicationMinSdk();\n\n /**\n * The meta object literal for the '<em><b>Min Sdk</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute APPLICATION_MIN_SDK__MIN_SDK = eINSTANCE.getApplicationMinSdk_MinSdk();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ApplicationTargetSdkImpl <em>Application Target Sdk</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ApplicationTargetSdkImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getApplicationTargetSdk()\n * @generated\n */\n EClass APPLICATION_TARGET_SDK = eINSTANCE.getApplicationTargetSdk();\n\n /**\n * The meta object literal for the '<em><b>Target Sdk</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute APPLICATION_TARGET_SDK__TARGET_SDK = eINSTANCE.getApplicationTargetSdk_TargetSdk();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ApplicationCompileSdkImpl <em>Application Compile Sdk</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ApplicationCompileSdkImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getApplicationCompileSdk()\n * @generated\n */\n EClass APPLICATION_COMPILE_SDK = eINSTANCE.getApplicationCompileSdk();\n\n /**\n * The meta object literal for the '<em><b>Compile Sdk</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute APPLICATION_COMPILE_SDK__COMPILE_SDK = eINSTANCE.getApplicationCompileSdk_CompileSdk();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ApplicationPermissionListImpl <em>Application Permission List</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ApplicationPermissionListImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getApplicationPermissionList()\n * @generated\n */\n EClass APPLICATION_PERMISSION_LIST = eINSTANCE.getApplicationPermissionList();\n\n /**\n * The meta object literal for the '<em><b>Permissions</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference APPLICATION_PERMISSION_LIST__PERMISSIONS = eINSTANCE.getApplicationPermissionList_Permissions();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ApplicationElementListImpl <em>Application Element List</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ApplicationElementListImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getApplicationElementList()\n * @generated\n */\n EClass APPLICATION_ELEMENT_LIST = eINSTANCE.getApplicationElementList();\n\n /**\n * The meta object literal for the '<em><b>Elements</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference APPLICATION_ELEMENT_LIST__ELEMENTS = eINSTANCE.getApplicationElementList_Elements();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ApplicationMainActivityImpl <em>Application Main Activity</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ApplicationMainActivityImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getApplicationMainActivity()\n * @generated\n */\n EClass APPLICATION_MAIN_ACTIVITY = eINSTANCE.getApplicationMainActivity();\n\n /**\n * The meta object literal for the '<em><b>Launcher Activity</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference APPLICATION_MAIN_ACTIVITY__LAUNCHER_ACTIVITY = eINSTANCE.getApplicationMainActivity_LauncherActivity();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.PermissionImpl <em>Permission</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.PermissionImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getPermission()\n * @generated\n */\n EClass PERMISSION = eINSTANCE.getPermission();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PERMISSION__NAME = eINSTANCE.getPermission_Name();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ApplicationElementImpl <em>Application Element</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ApplicationElementImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getApplicationElement()\n * @generated\n */\n EClass APPLICATION_ELEMENT = eINSTANCE.getApplicationElement();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute APPLICATION_ELEMENT__NAME = eINSTANCE.getApplicationElement_Name();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ActivityImpl <em>Activity</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ActivityImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getActivity()\n * @generated\n */\n EClass ACTIVITY = eINSTANCE.getActivity();\n\n /**\n * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ACTIVITY__ATTRIBUTES = eINSTANCE.getActivity_Attributes();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.BroadcastReceiverImpl <em>Broadcast Receiver</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.BroadcastReceiverImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getBroadcastReceiver()\n * @generated\n */\n EClass BROADCAST_RECEIVER = eINSTANCE.getBroadcastReceiver();\n\n /**\n * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference BROADCAST_RECEIVER__ATTRIBUTES = eINSTANCE.getBroadcastReceiver_Attributes();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ServiceImpl <em>Service</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ServiceImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getService()\n * @generated\n */\n EClass SERVICE = eINSTANCE.getService();\n\n /**\n * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference SERVICE__ATTRIBUTES = eINSTANCE.getService_Attributes();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ActivityAttributeImpl <em>Activity Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ActivityAttributeImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getActivityAttribute()\n * @generated\n */\n EClass ACTIVITY_ATTRIBUTE = eINSTANCE.getActivityAttribute();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.BroadcastReceiverAttributeImpl <em>Broadcast Receiver Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.BroadcastReceiverAttributeImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getBroadcastReceiverAttribute()\n * @generated\n */\n EClass BROADCAST_RECEIVER_ATTRIBUTE = eINSTANCE.getBroadcastReceiverAttribute();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ServiceAttributeImpl <em>Service Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ServiceAttributeImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getServiceAttribute()\n * @generated\n */\n EClass SERVICE_ATTRIBUTE = eINSTANCE.getServiceAttribute();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ElementEnabledAttributeImpl <em>Element Enabled Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ElementEnabledAttributeImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getElementEnabledAttribute()\n * @generated\n */\n EClass ELEMENT_ENABLED_ATTRIBUTE = eINSTANCE.getElementEnabledAttribute();\n\n /**\n * The meta object literal for the '<em><b>Enabled</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ELEMENT_ENABLED_ATTRIBUTE__ENABLED = eINSTANCE.getElementEnabledAttribute_Enabled();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ElementExportedAttributeImpl <em>Element Exported Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ElementExportedAttributeImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getElementExportedAttribute()\n * @generated\n */\n EClass ELEMENT_EXPORTED_ATTRIBUTE = eINSTANCE.getElementExportedAttribute();\n\n /**\n * The meta object literal for the '<em><b>Exported</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ELEMENT_EXPORTED_ATTRIBUTE__EXPORTED = eINSTANCE.getElementExportedAttribute_Exported();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ElementLabelAttributeImpl <em>Element Label Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ElementLabelAttributeImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getElementLabelAttribute()\n * @generated\n */\n EClass ELEMENT_LABEL_ATTRIBUTE = eINSTANCE.getElementLabelAttribute();\n\n /**\n * The meta object literal for the '<em><b>Title</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ELEMENT_LABEL_ATTRIBUTE__TITLE = eINSTANCE.getElementLabelAttribute_Title();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ElementIntentListImpl <em>Element Intent List</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ElementIntentListImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getElementIntentList()\n * @generated\n */\n EClass ELEMENT_INTENT_LIST = eINSTANCE.getElementIntentList();\n\n /**\n * The meta object literal for the '<em><b>Intents</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ELEMENT_INTENT_LIST__INTENTS = eINSTANCE.getElementIntentList_Intents();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.IntentImpl <em>Intent</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.IntentImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getIntent()\n * @generated\n */\n EClass INTENT = eINSTANCE.getIntent();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute INTENT__NAME = eINSTANCE.getIntent_Name();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ActivityParentAttributeImpl <em>Activity Parent Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ActivityParentAttributeImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getActivityParentAttribute()\n * @generated\n */\n EClass ACTIVITY_PARENT_ATTRIBUTE = eINSTANCE.getActivityParentAttribute();\n\n /**\n * The meta object literal for the '<em><b>Parent</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ACTIVITY_PARENT_ATTRIBUTE__PARENT = eINSTANCE.getActivityParentAttribute_Parent();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ActivityLayoutAttributeImpl <em>Activity Layout Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ActivityLayoutAttributeImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getActivityLayoutAttribute()\n * @generated\n */\n EClass ACTIVITY_LAYOUT_ATTRIBUTE = eINSTANCE.getActivityLayoutAttribute();\n\n /**\n * The meta object literal for the '<em><b>Layout Elements</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ACTIVITY_LAYOUT_ATTRIBUTE__LAYOUT_ELEMENTS = eINSTANCE.getActivityLayoutAttribute_LayoutElements();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.LayoutElementImpl <em>Layout Element</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.LayoutElementImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getLayoutElement()\n * @generated\n */\n EClass LAYOUT_ELEMENT = eINSTANCE.getLayoutElement();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ButtonImpl <em>Button</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ButtonImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getButton()\n * @generated\n */\n EClass BUTTON = eINSTANCE.getButton();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute BUTTON__NAME = eINSTANCE.getButton_Name();\n\n /**\n * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference BUTTON__ATTRIBUTES = eINSTANCE.getButton_Attributes();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ButtonAttributeImpl <em>Button Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ButtonAttributeImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getButtonAttribute()\n * @generated\n */\n EClass BUTTON_ATTRIBUTE = eINSTANCE.getButtonAttribute();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ButtonLabelAttributeImpl <em>Button Label Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ButtonLabelAttributeImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getButtonLabelAttribute()\n * @generated\n */\n EClass BUTTON_LABEL_ATTRIBUTE = eINSTANCE.getButtonLabelAttribute();\n\n /**\n * The meta object literal for the '<em><b>Title</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute BUTTON_LABEL_ATTRIBUTE__TITLE = eINSTANCE.getButtonLabelAttribute_Title();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ButtonActionAttributeImpl <em>Button Action Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ButtonActionAttributeImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getButtonActionAttribute()\n * @generated\n */\n EClass BUTTON_ACTION_ATTRIBUTE = eINSTANCE.getButtonActionAttribute();\n\n /**\n * The meta object literal for the '<em><b>Action</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference BUTTON_ACTION_ATTRIBUTE__ACTION = eINSTANCE.getButtonActionAttribute_Action();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.SpacerImpl <em>Spacer</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.SpacerImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getSpacer()\n * @generated\n */\n EClass SPACER = eINSTANCE.getSpacer();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.TextImpl <em>Text</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.TextImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getText()\n * @generated\n */\n EClass TEXT = eINSTANCE.getText();\n\n /**\n * The meta object literal for the '<em><b>Text</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute TEXT__TEXT = eINSTANCE.getText_Text();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.LayoutElementClickActionImpl <em>Layout Element Click Action</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.LayoutElementClickActionImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getLayoutElementClickAction()\n * @generated\n */\n EClass LAYOUT_ELEMENT_CLICK_ACTION = eINSTANCE.getLayoutElementClickAction();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.BroadcastReceiverActionAttributeImpl <em>Broadcast Receiver Action Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.BroadcastReceiverActionAttributeImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getBroadcastReceiverActionAttribute()\n * @generated\n */\n EClass BROADCAST_RECEIVER_ACTION_ATTRIBUTE = eINSTANCE.getBroadcastReceiverActionAttribute();\n\n /**\n * The meta object literal for the '<em><b>Action</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference BROADCAST_RECEIVER_ACTION_ATTRIBUTE__ACTION = eINSTANCE.getBroadcastReceiverActionAttribute_Action();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.BroadcastReceiverActionImpl <em>Broadcast Receiver Action</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.BroadcastReceiverActionImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getBroadcastReceiverAction()\n * @generated\n */\n EClass BROADCAST_RECEIVER_ACTION = eINSTANCE.getBroadcastReceiverAction();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ActionShowToastImpl <em>Action Show Toast</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ActionShowToastImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getActionShowToast()\n * @generated\n */\n EClass ACTION_SHOW_TOAST = eINSTANCE.getActionShowToast();\n\n /**\n * The meta object literal for the '<em><b>Toast Text</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ACTION_SHOW_TOAST__TOAST_TEXT = eINSTANCE.getActionShowToast_ToastText();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ActionStartActivityImpl <em>Action Start Activity</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ActionStartActivityImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getActionStartActivity()\n * @generated\n */\n EClass ACTION_START_ACTIVITY = eINSTANCE.getActionStartActivity();\n\n /**\n * The meta object literal for the '<em><b>Activity</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ACTION_START_ACTIVITY__ACTIVITY = eINSTANCE.getActionStartActivity_Activity();\n\n /**\n * The meta object literal for the '{@link at.fhj.gaar.androidapp.appDsl.impl.ActionStartServiceImpl <em>Action Start Service</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see at.fhj.gaar.androidapp.appDsl.impl.ActionStartServiceImpl\n * @see at.fhj.gaar.androidapp.appDsl.impl.AppDslPackageImpl#getActionStartService()\n * @generated\n */\n EClass ACTION_START_SERVICE = eINSTANCE.getActionStartService();\n\n /**\n * The meta object literal for the '<em><b>Service</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ACTION_START_SERVICE__SERVICE = eINSTANCE.getActionStartService_Service();\n\n }", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link org.openecomp.dcae.controller.service.common.vm.manager.impl.CommonVmManagerImpl <em>Common Vm Manager</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.openecomp.dcae.controller.service.common.vm.manager.impl.CommonVmManagerImpl\n\t\t * @see org.openecomp.dcae.controller.service.common.vm.manager.impl.ManagerPackageImpl#getCommonVmManager()\n\t\t * @generated\n\t\t */\n\t\tEClass COMMON_VM_MANAGER = eINSTANCE.getCommonVmManager();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Script</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 COMMON_VM_MANAGER__SCRIPT = eINSTANCE.getCommonVmManager_Script();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Configure Timeout</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 COMMON_VM_MANAGER__CONFIGURE_TIMEOUT = eINSTANCE.getCommonVmManager_ConfigureTimeout();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Test Timeout</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 COMMON_VM_MANAGER__TEST_TIMEOUT = eINSTANCE.getCommonVmManager_TestTimeout();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Suspend Timeout</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 COMMON_VM_MANAGER__SUSPEND_TIMEOUT = eINSTANCE.getCommonVmManager_SuspendTimeout();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Resume Timeout</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 COMMON_VM_MANAGER__RESUME_TIMEOUT = eINSTANCE.getCommonVmManager_ResumeTimeout();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Vm Configuration</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference COMMON_VM_MANAGER__VM_CONFIGURATION = eINSTANCE.getCommonVmManager_VmConfiguration();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.CFGImpl <em>CFG</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.CFGImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getCFG()\n\t\t * @generated\n\t\t */\n\t\tEClass CFG = eINSTANCE.getCFG();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Nodes</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 CFG__NODES = eINSTANCE.getCFG_Nodes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Start</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CFG__START = eINSTANCE.getCFG_Start();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Arcs</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 CFG__ARCS = eINSTANCE.getCFG_Arcs();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.DFGImpl <em>DFG</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.DFGImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getDFG()\n\t\t * @generated\n\t\t */\n\t\tEClass DFG = eINSTANCE.getDFG();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Source</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DFG__SOURCE = eINSTANCE.getDFG_Source();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Sink</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DFG__SINK = eINSTANCE.getDFG_Sink();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Nodes</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 DFG__NODES = eINSTANCE.getDFG_Nodes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Arcs</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 DFG__ARCS = eINSTANCE.getDFG_Arcs();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From</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 DFG__FROM = eINSTANCE.getDFG_From();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>To</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 DFG__TO = eINSTANCE.getDFG_To();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.OperationNodeImpl <em>Operation Node</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.OperationNodeImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getOperationNode()\n\t\t * @generated\n\t\t */\n\t\tEClass OPERATION_NODE = eINSTANCE.getOperationNode();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Precedes</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 OPERATION_NODE__PRECEDES = eINSTANCE.getOperationNode_Precedes();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Succeeds</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 OPERATION_NODE__SUCCEEDS = eINSTANCE.getOperationNode_Succeeds();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Function</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPERATION_NODE__FUNCTION = eINSTANCE.getOperationNode_Function();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.DFGArcImpl <em>DFG Arc</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.DFGArcImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getDFGArc()\n\t\t * @generated\n\t\t */\n\t\tEClass DFG_ARC = eINSTANCE.getDFGArc();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Source</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DFG_ARC__SOURCE = eINSTANCE.getDFGArc_Source();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Target</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DFG_ARC__TARGET = eINSTANCE.getDFGArc_Target();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.SourceImpl <em>Source</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.SourceImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getSource()\n\t\t * @generated\n\t\t */\n\t\tEClass SOURCE = eINSTANCE.getSource();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.SinkImpl <em>Sink</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.SinkImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getSink()\n\t\t * @generated\n\t\t */\n\t\tEClass SINK = eINSTANCE.getSink();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.DFGNodeImpl <em>DFG Node</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.DFGNodeImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getDFGNode()\n\t\t * @generated\n\t\t */\n\t\tEClass DFG_NODE = eINSTANCE.getDFGNode();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>To</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 DFG_NODE__TO = eINSTANCE.getDFGNode_To();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From</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 DFG_NODE__FROM = eINSTANCE.getDFGNode_From();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.ComputingImpl <em>Computing</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.ComputingImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getComputing()\n\t\t * @generated\n\t\t */\n\t\tEClass COMPUTING = eINSTANCE.getComputing();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.LoadImpl <em>Load</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.LoadImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getLoad()\n\t\t * @generated\n\t\t */\n\t\tEClass LOAD = eINSTANCE.getLoad();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.StoreImpl <em>Store</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.StoreImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getStore()\n\t\t * @generated\n\t\t */\n\t\tEClass STORE = eINSTANCE.getStore();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.JumpImpl <em>Jump</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.JumpImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getJump()\n\t\t * @generated\n\t\t */\n\t\tEClass JUMP = eINSTANCE.getJump();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Source</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference JUMP__SOURCE = eINSTANCE.getJump_Source();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Target</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference JUMP__TARGET = eINSTANCE.getJump_Target();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Branch Condition</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 JUMP__BRANCH_CONDITION = eINSTANCE.getJump_BranchCondition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Condition</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference JUMP__CONDITION = eINSTANCE.getJump_Condition();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.DataNodeImpl <em>Data Node</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.DataNodeImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getDataNode()\n\t\t * @generated\n\t\t */\n\t\tEClass DATA_NODE = eINSTANCE.getDataNode();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Definition</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DATA_NODE__DEFINITION = eINSTANCE.getDataNode_Definition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Used</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 DATA_NODE__USED = eINSTANCE.getDataNode_Used();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Constant</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 DATA_NODE__CONSTANT = eINSTANCE.getDataNode_Constant();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Number Of Bits</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 DATA_NODE__NUMBER_OF_BITS = eINSTANCE.getDataNode_NumberOfBits();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</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 DATA_NODE__VALUE = eINSTANCE.getDataNode_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.IntegerImpl <em>Integer</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.IntegerImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getInteger()\n\t\t * @generated\n\t\t */\n\t\tEClass INTEGER = eINSTANCE.getInteger();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Signed</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 INTEGER__SIGNED = eINSTANCE.getInteger_Signed();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.FixedPointImpl <em>Fixed Point</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.FixedPointImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getFixedPoint()\n\t\t * @generated\n\t\t */\n\t\tEClass FIXED_POINT = eINSTANCE.getFixedPoint();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Quantization</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 FIXED_POINT__QUANTIZATION = eINSTANCE.getFixedPoint_Quantization();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Overflow</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 FIXED_POINT__OVERFLOW = eINSTANCE.getFixedPoint_Overflow();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Wl</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 FIXED_POINT__WL = eINSTANCE.getFixedPoint_Wl();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Iwl</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 FIXED_POINT__IWL = eINSTANCE.getFixedPoint_Iwl();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Nbits</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 FIXED_POINT__NBITS = eINSTANCE.getFixedPoint_Nbits();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.FloatImpl <em>Float</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.FloatImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getFloat()\n\t\t * @generated\n\t\t */\n\t\tEClass FLOAT = eINSTANCE.getFloat();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Standard</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 FLOAT__STANDARD = eINSTANCE.getFloat_Standard();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.BooleanImpl <em>Boolean</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.BooleanImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getBoolean()\n\t\t * @generated\n\t\t */\n\t\tEClass BOOLEAN = eINSTANCE.getBoolean();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.PHI_nodeImpl <em>PHI node</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.PHI_nodeImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getPHI_node()\n\t\t * @generated\n\t\t */\n\t\tEClass PHI_NODE = eINSTANCE.getPHI_node();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Args</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 PHI_NODE__ARGS = eINSTANCE.getPHI_node_Args();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.AnnotationImpl <em>Annotation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.AnnotationImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getAnnotation()\n\t\t * @generated\n\t\t */\n\t\tEClass ANNOTATION = eINSTANCE.getAnnotation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Key</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 ANNOTATION__KEY = eINSTANCE.getAnnotation_Key();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</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 ANNOTATION__VALUE = eINSTANCE.getAnnotation_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.AnnotableImpl <em>Annotable</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.AnnotableImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getAnnotable()\n\t\t * @generated\n\t\t */\n\t\tEClass ANNOTABLE = eINSTANCE.getAnnotable();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Annotations</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 ANNOTABLE__ANNOTATIONS = eINSTANCE.getAnnotable_Annotations();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.impl.PHI_argImpl <em>PHI arg</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.impl.PHI_argImpl\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getPHI_arg()\n\t\t * @generated\n\t\t */\n\t\tEClass PHI_ARG = eINSTANCE.getPHI_arg();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference PHI_ARG__FROM = eINSTANCE.getPHI_arg_From();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Data</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference PHI_ARG__DATA = eINSTANCE.getPHI_arg_Data();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.BranchCondition <em>Branch Condition</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.BranchCondition\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getBranchCondition()\n\t\t * @generated\n\t\t */\n\t\tEEnum BRANCH_CONDITION = eINSTANCE.getBranchCondition();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.Quantization <em>Quantization</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.Quantization\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getQuantization()\n\t\t * @generated\n\t\t */\n\t\tEEnum QUANTIZATION = eINSTANCE.getQuantization();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.Overflow <em>Overflow</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.Overflow\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getOverflow()\n\t\t * @generated\n\t\t */\n\t\tEEnum OVERFLOW = eINSTANCE.getOverflow();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link cdfg.cdfg.Standard <em>Standard</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see cdfg.cdfg.Standard\n\t\t * @see cdfg.cdfg.impl.cdfgPackageImpl#getStandard()\n\t\t * @generated\n\t\t */\n\t\tEEnum STANDARD = eINSTANCE.getStandard();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link de.uni_stuttgart.iste.cowolf.model.dtmc.impl.DTMCImpl <em>DTMC</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see de.uni_stuttgart.iste.cowolf.model.dtmc.impl.DTMCImpl\n\t\t * @see de.uni_stuttgart.iste.cowolf.model.dtmc.impl.DTMCPackageImpl#getDTMC()\n\t\t * @generated\n\t\t */\n\t\tEClass DTMC = eINSTANCE.getDTMC();\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 DTMC__NAME = eINSTANCE.getDTMC_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>States</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 DTMC__STATES = eINSTANCE.getDTMC_States();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Initial State</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DTMC__INITIAL_STATE = eINSTANCE.getDTMC_InitialState();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link de.uni_stuttgart.iste.cowolf.model.dtmc.impl.StateImpl <em>State</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see de.uni_stuttgart.iste.cowolf.model.dtmc.impl.StateImpl\n\t\t * @see de.uni_stuttgart.iste.cowolf.model.dtmc.impl.DTMCPackageImpl#getState()\n\t\t * @generated\n\t\t */\n\t\tEClass STATE = eINSTANCE.getState();\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 STATE__NAME = eINSTANCE.getState_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Incoming</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 STATE__INCOMING = eINSTANCE.getState_Incoming();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Outgoing</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 STATE__OUTGOING = eINSTANCE.getState_Outgoing();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Labels</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 STATE__LABELS = eINSTANCE.getState_Labels();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link de.uni_stuttgart.iste.cowolf.model.dtmc.impl.TransitionImpl <em>Transition</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see de.uni_stuttgart.iste.cowolf.model.dtmc.impl.TransitionImpl\n\t\t * @see de.uni_stuttgart.iste.cowolf.model.dtmc.impl.DTMCPackageImpl#getTransition()\n\t\t * @generated\n\t\t */\n\t\tEClass TRANSITION = eINSTANCE.getTransition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From</b></em>' container reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TRANSITION__FROM = eINSTANCE.getTransition_From();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>To</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TRANSITION__TO = eINSTANCE.getTransition_To();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Prob</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 TRANSITION__PROB = eINSTANCE.getTransition_Prob();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link de.uni_stuttgart.iste.cowolf.model.dtmc.impl.LabelImpl <em>Label</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see de.uni_stuttgart.iste.cowolf.model.dtmc.impl.LabelImpl\n\t\t * @see de.uni_stuttgart.iste.cowolf.model.dtmc.impl.DTMCPackageImpl#getLabel()\n\t\t * @generated\n\t\t */\n\t\tEClass LABEL = eINSTANCE.getLabel();\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 LABEL__NAME = eINSTANCE.getLabel_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>State</b></em>' container reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference LABEL__STATE = eINSTANCE.getLabel_State();\n\n\t}", "interface Literals\n {\n /**\n * The meta object literal for the '{@link uk.ac.kcl.inf.dotLanguage.impl.DotLanguageImpl <em>Dot Language</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguageImpl\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguagePackageImpl#getDotLanguage()\n * @generated\n */\n EClass DOT_LANGUAGE = eINSTANCE.getDotLanguage();\n\n /**\n * The meta object literal for the '<em><b>Graphs</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference DOT_LANGUAGE__GRAPHS = eINSTANCE.getDotLanguage_Graphs();\n\n /**\n * The meta object literal for the '{@link uk.ac.kcl.inf.dotLanguage.impl.GraphImpl <em>Graph</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see uk.ac.kcl.inf.dotLanguage.impl.GraphImpl\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguagePackageImpl#getGraph()\n * @generated\n */\n EClass GRAPH = eINSTANCE.getGraph();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute GRAPH__NAME = eINSTANCE.getGraph_Name();\n\n /**\n * The meta object literal for the '<em><b>Statements</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference GRAPH__STATEMENTS = eINSTANCE.getGraph_Statements();\n\n /**\n * The meta object literal for the '{@link uk.ac.kcl.inf.dotLanguage.impl.DigraphImpl <em>Digraph</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see uk.ac.kcl.inf.dotLanguage.impl.DigraphImpl\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguagePackageImpl#getDigraph()\n * @generated\n */\n EClass DIGRAPH = eINSTANCE.getDigraph();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute DIGRAPH__NAME = eINSTANCE.getDigraph_Name();\n\n /**\n * The meta object literal for the '<em><b>Statements</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference DIGRAPH__STATEMENTS = eINSTANCE.getDigraph_Statements();\n\n /**\n * The meta object literal for the '{@link uk.ac.kcl.inf.dotLanguage.impl.DirectedStatementImpl <em>Directed Statement</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see uk.ac.kcl.inf.dotLanguage.impl.DirectedStatementImpl\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguagePackageImpl#getDirectedStatement()\n * @generated\n */\n EClass DIRECTED_STATEMENT = eINSTANCE.getDirectedStatement();\n\n /**\n * The meta object literal for the '{@link uk.ac.kcl.inf.dotLanguage.impl.UndirectedStatementImpl <em>Undirected Statement</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see uk.ac.kcl.inf.dotLanguage.impl.UndirectedStatementImpl\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguagePackageImpl#getUndirectedStatement()\n * @generated\n */\n EClass UNDIRECTED_STATEMENT = eINSTANCE.getUndirectedStatement();\n\n /**\n * The meta object literal for the '{@link uk.ac.kcl.inf.dotLanguage.impl.NodeDeclarationImpl <em>Node Declaration</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see uk.ac.kcl.inf.dotLanguage.impl.NodeDeclarationImpl\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguagePackageImpl#getNodeDeclaration()\n * @generated\n */\n EClass NODE_DECLARATION = eINSTANCE.getNodeDeclaration();\n\n /**\n * The meta object literal for the '<em><b>Node Name</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference NODE_DECLARATION__NODE_NAME = eINSTANCE.getNodeDeclaration_NodeName();\n\n /**\n * The meta object literal for the '<em><b>Optional Attributes</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference NODE_DECLARATION__OPTIONAL_ATTRIBUTES = eINSTANCE.getNodeDeclaration_OptionalAttributes();\n\n /**\n * The meta object literal for the '{@link uk.ac.kcl.inf.dotLanguage.impl.NodeIdImpl <em>Node Id</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see uk.ac.kcl.inf.dotLanguage.impl.NodeIdImpl\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguagePackageImpl#getNodeId()\n * @generated\n */\n EClass NODE_ID = eINSTANCE.getNodeId();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute NODE_ID__NAME = eINSTANCE.getNodeId_Name();\n\n /**\n * The meta object literal for the '{@link uk.ac.kcl.inf.dotLanguage.impl.AttributeListImpl <em>Attribute List</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see uk.ac.kcl.inf.dotLanguage.impl.AttributeListImpl\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguagePackageImpl#getAttributeList()\n * @generated\n */\n EClass ATTRIBUTE_LIST = eINSTANCE.getAttributeList();\n\n /**\n * The meta object literal for the '<em><b>Attr</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ATTRIBUTE_LIST__ATTR = eINSTANCE.getAttributeList_Attr();\n\n /**\n * The meta object literal for the '{@link uk.ac.kcl.inf.dotLanguage.impl.AttributeImpl <em>Attribute</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see uk.ac.kcl.inf.dotLanguage.impl.AttributeImpl\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguagePackageImpl#getAttribute()\n * @generated\n */\n EClass ATTRIBUTE = eINSTANCE.getAttribute();\n\n /**\n * The meta object literal for the '<em><b>Attribute Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ATTRIBUTE__ATTRIBUTE_NAME = eINSTANCE.getAttribute_AttributeName();\n\n /**\n * The meta object literal for the '<em><b>Attribute Value</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ATTRIBUTE__ATTRIBUTE_VALUE = eINSTANCE.getAttribute_AttributeValue();\n\n /**\n * The meta object literal for the '{@link uk.ac.kcl.inf.dotLanguage.impl.DirectedEdgeDeclarationImpl <em>Directed Edge Declaration</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see uk.ac.kcl.inf.dotLanguage.impl.DirectedEdgeDeclarationImpl\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguagePackageImpl#getDirectedEdgeDeclaration()\n * @generated\n */\n EClass DIRECTED_EDGE_DECLARATION = eINSTANCE.getDirectedEdgeDeclaration();\n\n /**\n * The meta object literal for the '<em><b>First Node</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference DIRECTED_EDGE_DECLARATION__FIRST_NODE = eINSTANCE.getDirectedEdgeDeclaration_FirstNode();\n\n /**\n * The meta object literal for the '<em><b>Edge</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute DIRECTED_EDGE_DECLARATION__EDGE = eINSTANCE.getDirectedEdgeDeclaration_Edge();\n\n /**\n * The meta object literal for the '<em><b>Second Node</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference DIRECTED_EDGE_DECLARATION__SECOND_NODE = eINSTANCE.getDirectedEdgeDeclaration_SecondNode();\n\n /**\n * The meta object literal for the '{@link uk.ac.kcl.inf.dotLanguage.impl.UndirectedEdgeDeclarationImpl <em>Undirected Edge Declaration</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see uk.ac.kcl.inf.dotLanguage.impl.UndirectedEdgeDeclarationImpl\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguagePackageImpl#getUndirectedEdgeDeclaration()\n * @generated\n */\n EClass UNDIRECTED_EDGE_DECLARATION = eINSTANCE.getUndirectedEdgeDeclaration();\n\n /**\n * The meta object literal for the '<em><b>First Node</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference UNDIRECTED_EDGE_DECLARATION__FIRST_NODE = eINSTANCE.getUndirectedEdgeDeclaration_FirstNode();\n\n /**\n * The meta object literal for the '<em><b>Edge</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute UNDIRECTED_EDGE_DECLARATION__EDGE = eINSTANCE.getUndirectedEdgeDeclaration_Edge();\n\n /**\n * The meta object literal for the '<em><b>Second Node</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference UNDIRECTED_EDGE_DECLARATION__SECOND_NODE = eINSTANCE.getUndirectedEdgeDeclaration_SecondNode();\n\n /**\n * The meta object literal for the '{@link uk.ac.kcl.inf.dotLanguage.impl.RightEdgeDeclarationImpl <em>Right Edge Declaration</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see uk.ac.kcl.inf.dotLanguage.impl.RightEdgeDeclarationImpl\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguagePackageImpl#getRightEdgeDeclaration()\n * @generated\n */\n EClass RIGHT_EDGE_DECLARATION = eINSTANCE.getRightEdgeDeclaration();\n\n /**\n * The meta object literal for the '<em><b>Second Node</b></em>' reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference RIGHT_EDGE_DECLARATION__SECOND_NODE = eINSTANCE.getRightEdgeDeclaration_SecondNode();\n\n /**\n * The meta object literal for the '<em><b>Node List</b></em>' containment reference feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference RIGHT_EDGE_DECLARATION__NODE_LIST = eINSTANCE.getRightEdgeDeclaration_NodeList();\n\n /**\n * The meta object literal for the '{@link uk.ac.kcl.inf.dotLanguage.impl.NodeListImpl <em>Node List</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see uk.ac.kcl.inf.dotLanguage.impl.NodeListImpl\n * @see uk.ac.kcl.inf.dotLanguage.impl.DotLanguagePackageImpl#getNodeList()\n * @generated\n */\n EClass NODE_LIST = eINSTANCE.getNodeList();\n\n /**\n * The meta object literal for the '<em><b>Nodes</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference NODE_LIST__NODES = eINSTANCE.getNodeList_Nodes();\n\n }", "interface Literals {\n /**\n * The meta object literal for the '{@link bip2.ujf.verimag.bip.component.atom.AtomInternalExternalPortDeclaration <em>Internal External Port Declaration</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see bip2.ujf.verimag.bip.component.atom.AtomInternalExternalPortDeclaration\n * @see bip2.ujf.verimag.bip.component.atom.impl.AtomPackageImpl#getAtomInternalExternalPortDeclaration()\n * @generated\n */\n EClass ATOM_INTERNAL_EXTERNAL_PORT_DECLARATION = eINSTANCE\n .getAtomInternalExternalPortDeclaration();\n\n /**\n * The meta object literal for the '{@link bip2.ujf.verimag.bip.component.atom.impl.AtomInternalPortDeclarationImpl <em>Internal Port Declaration</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see bip2.ujf.verimag.bip.component.atom.impl.AtomInternalPortDeclarationImpl\n * @see bip2.ujf.verimag.bip.component.atom.impl.AtomPackageImpl#getAtomInternalPortDeclaration()\n * @generated\n */\n EClass ATOM_INTERNAL_PORT_DECLARATION = eINSTANCE\n .getAtomInternalPortDeclaration();\n\n /**\n * The meta object literal for the '{@link bip2.ujf.verimag.bip.component.atom.impl.AtomExternalPortDeclarationImpl <em>External Port Declaration</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see bip2.ujf.verimag.bip.component.atom.impl.AtomExternalPortDeclarationImpl\n * @see bip2.ujf.verimag.bip.component.atom.impl.AtomPackageImpl#getAtomExternalPortDeclaration()\n * @generated\n */\n EClass ATOM_EXTERNAL_PORT_DECLARATION = eINSTANCE\n .getAtomExternalPortDeclaration();\n\n /**\n * The meta object literal for the '<em><b>Backend Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ATOM_EXTERNAL_PORT_DECLARATION__BACKEND_NAME = eINSTANCE\n .getAtomExternalPortDeclaration_BackendName();\n\n /**\n * The meta object literal for the '<em><b>Policy</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ATOM_EXTERNAL_PORT_DECLARATION__POLICY = eINSTANCE\n .getAtomExternalPortDeclaration_Policy();\n\n /**\n * The meta object literal for the '{@link bip2.ujf.verimag.bip.component.atom.impl.AtomInternalDataDeclarationImpl <em>Internal Data Declaration</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see bip2.ujf.verimag.bip.component.atom.impl.AtomInternalDataDeclarationImpl\n * @see bip2.ujf.verimag.bip.component.atom.impl.AtomPackageImpl#getAtomInternalDataDeclaration()\n * @generated\n */\n EClass ATOM_INTERNAL_DATA_DECLARATION = eINSTANCE\n .getAtomInternalDataDeclaration();\n\n /**\n * The meta object literal for the '<em><b>Exported</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute ATOM_INTERNAL_DATA_DECLARATION__EXPORTED = eINSTANCE\n .getAtomInternalDataDeclaration_Exported();\n\n /**\n * The meta object literal for the '{@link bip2.ujf.verimag.bip.component.atom.impl.AtomExportPortDeclarationImpl <em>Export Port Declaration</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see bip2.ujf.verimag.bip.component.atom.impl.AtomExportPortDeclarationImpl\n * @see bip2.ujf.verimag.bip.component.atom.impl.AtomPackageImpl#getAtomExportPortDeclaration()\n * @generated\n */\n EClass ATOM_EXPORT_PORT_DECLARATION = eINSTANCE\n .getAtomExportPortDeclaration();\n\n /**\n * The meta object literal for the '<em><b>Port Declaration References</b></em>' reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference ATOM_EXPORT_PORT_DECLARATION__PORT_DECLARATION_REFERENCES = eINSTANCE\n .getAtomExportPortDeclaration_PortDeclarationReferences();\n\n /**\n * The meta object literal for the '{@link bip2.ujf.verimag.bip.component.atom.EventConsumptionPolicy <em>Event Consumption Policy</em>}' enum.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see bip2.ujf.verimag.bip.component.atom.EventConsumptionPolicy\n * @see bip2.ujf.verimag.bip.component.atom.impl.AtomPackageImpl#getEventConsumptionPolicy()\n * @generated\n */\n EEnum EVENT_CONSUMPTION_POLICY = eINSTANCE.getEventConsumptionPolicy();\n\n }", "public interface AppCDef extends Classification {\n\n public enum DefMeta implements ClassificationMeta {\n ;\n public String classificationName() {\n return name(); // same as definition name\n }\n\n public OptionalThing<? extends Classification> of(Object code) {\n throw new IllegalStateException(\"Unknown definition: \" + this); // basically unreachable\n }\n\n public OptionalThing<? extends Classification> byName(String name) {\n throw new IllegalStateException(\"Unknown definition: \" + this); // basically unreachable\n }\n\n public Classification codeOf(Object code) { // null if not found, old style so use of(code)\n throw new IllegalStateException(\"Unknown definition: \" + this); // basically unreachable\n }\n\n public Classification nameOf(String name) { // null if not found, old style so use byName(name)\n throw new IllegalStateException(\"Unknown definition: \" + this); // basically unreachable\n }\n\n public List<Classification> listAll() {\n throw new IllegalStateException(\"Unknown definition: \" + this); // basically unreachable\n }\n\n public List<Classification> listByGroup(String groupName) { // exception if not found\n throw new IllegalStateException(\"Unknown groupName: \" + groupName + \", \" + this); // basically unreachable\n }\n\n public List<Classification> listOf(Collection<String> codeList) {\n throw new IllegalStateException(\"Unknown definition: \" + this); // basically unreachable\n }\n\n public List<Classification> groupOf(String groupName) { // old style\n throw new IllegalStateException(\"Unknown definition: \" + this); // basically unreachable\n }\n\n public ClassificationCodeType codeType() {\n return ClassificationCodeType.String; // as default\n }\n\n public ClassificationUndefinedHandlingType undefinedHandlingType() {\n return ClassificationUndefinedHandlingType.LOGGING; // as default\n }\n\n public static OptionalThing<AppCDef.DefMeta> find(String classificationName) { // instead of valueOf()\n if (classificationName == null) { throw new IllegalArgumentException(\"The argument 'classificationName' should not be null.\"); }\n return OptionalThing.ofNullable(null, () -> {\n throw new ClassificationNotFoundException(\"Unknown classification: \" + classificationName);\n });\n }\n\n public static AppCDef.DefMeta meta(String classificationName) { // old style so use find(name)\n if (classificationName == null) { throw new IllegalArgumentException(\"The argument 'classificationName' should not be null.\"); }\n throw new IllegalStateException(\"Unknown classification: \" + classificationName);\n }\n\n @SuppressWarnings(\"unused\")\n private String[] xinternalEmptyString() {\n return emptyStrings(); // to suppress 'unused' warning of import statement\n }\n }\n}", "@Test\n public void test01()\n {\n MetaClass.forClass(Class, reflectorFactory)\n }", "public AnnotatedTypeBuilder() {\n\t\ttypeAnnotations = new AnnotationBuilder();\n\t\tconstructors = new HashMap<Constructor<?>, AnnotationBuilder>();\n\t\tconstructorParameters = new HashMap<Constructor<?>, Map<Integer, AnnotationBuilder>>();\n\t\tconstructorParameterTypes = new HashMap<Constructor<?>, Map<Integer, Type>>();\n\t\tfields = new HashMap<Field, AnnotationBuilder>();\n\t\tfieldTypes = new HashMap<Field, Type>();\n\t\tmethods = new HashMap<Method, AnnotationBuilder>();\n\t\tmethodParameters = new HashMap<Method, Map<Integer, AnnotationBuilder>>();\n\t\tmethodParameterTypes = new HashMap<Method, Map<Integer, Type>>();\n\t}", "public void createPackageContents()\n {\n if (isCreated) return;\n isCreated = true;\n\n // Create classes and their features\n mathExpEClass = createEClass(MATH_EXP);\n createEReference(mathExpEClass, MATH_EXP__DECLARATIONS);\n\n declarationEClass = createEClass(DECLARATION);\n\n externalDefEClass = createEClass(EXTERNAL_DEF);\n createEAttribute(externalDefEClass, EXTERNAL_DEF__NAME);\n createEReference(externalDefEClass, EXTERNAL_DEF__PARAMETERS);\n\n parameterEClass = createEClass(PARAMETER);\n createEReference(parameterEClass, PARAMETER__TYPE);\n createEAttribute(parameterEClass, PARAMETER__PARAMETER_NAME);\n\n typeEClass = createEClass(TYPE);\n createEAttribute(typeEClass, TYPE__NAME);\n\n resultStatementEClass = createEClass(RESULT_STATEMENT);\n createEAttribute(resultStatementEClass, RESULT_STATEMENT__LABEL);\n createEReference(resultStatementEClass, RESULT_STATEMENT__EXP);\n\n expressionEClass = createEClass(EXPRESSION);\n\n plusEClass = createEClass(PLUS);\n createEReference(plusEClass, PLUS__LEFT);\n createEReference(plusEClass, PLUS__RIGHT);\n\n minusEClass = createEClass(MINUS);\n createEReference(minusEClass, MINUS__LEFT);\n createEReference(minusEClass, MINUS__RIGHT);\n\n multEClass = createEClass(MULT);\n createEReference(multEClass, MULT__LEFT);\n createEReference(multEClass, MULT__RIGHT);\n\n divEClass = createEClass(DIV);\n createEReference(divEClass, DIV__LEFT);\n createEReference(divEClass, DIV__RIGHT);\n\n varEClass = createEClass(VAR);\n createEAttribute(varEClass, VAR__ID);\n\n letEClass = createEClass(LET);\n createEAttribute(letEClass, LET__ID);\n createEReference(letEClass, LET__BINDING);\n createEReference(letEClass, LET__BODY);\n\n externalUseEClass = createEClass(EXTERNAL_USE);\n createEReference(externalUseEClass, EXTERNAL_USE__EXTERNAL);\n createEReference(externalUseEClass, EXTERNAL_USE__ARGUMENTS);\n\n numEClass = createEClass(NUM);\n createEAttribute(numEClass, NUM__VALUE);\n }", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link SimplStateMachine.impl.StateMachineImpl <em>State Machine</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see SimplStateMachine.impl.StateMachineImpl\n\t\t * @see SimplStateMachine.impl.SimplStateMachinePackageImpl#getStateMachine()\n\t\t * @generated\n\t\t */\n\t\tEClass STATE_MACHINE = eINSTANCE.getStateMachine();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Transitions</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 STATE_MACHINE__TRANSITIONS = eINSTANCE.getStateMachine_Transitions();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Events</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 STATE_MACHINE__EVENTS = eINSTANCE.getStateMachine_Events();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Variables</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 STATE_MACHINE__VARIABLES = eINSTANCE.getStateMachine_Variables();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link SimplStateMachine.impl.StateImpl <em>State</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see SimplStateMachine.impl.StateImpl\n\t\t * @see SimplStateMachine.impl.SimplStateMachinePackageImpl#getState()\n\t\t * @generated\n\t\t */\n\t\tEClass STATE = eINSTANCE.getState();\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 STATE__NAME = eINSTANCE.getState_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Container</b></em>' container reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference STATE__CONTAINER = eINSTANCE.getState_Container();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Is Active</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 STATE__IS_ACTIVE = eINSTANCE.getState_IsActive();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Operation</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference STATE__OPERATION = eINSTANCE.getState_Operation();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link SimplStateMachine.impl.CompositeStateImpl <em>Composite State</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see SimplStateMachine.impl.CompositeStateImpl\n\t\t * @see SimplStateMachine.impl.SimplStateMachinePackageImpl#getCompositeState()\n\t\t * @generated\n\t\t */\n\t\tEClass COMPOSITE_STATE = eINSTANCE.getCompositeState();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>States</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 COMPOSITE_STATE__STATES = eINSTANCE.getCompositeState_States();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Initial State</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference COMPOSITE_STATE__INITIAL_STATE = eINSTANCE.getCompositeState_InitialState();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Active Sub Tree</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation COMPOSITE_STATE___ACTIVE_SUB_TREE = eINSTANCE.getCompositeState__ActiveSubTree();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Unactive Sub Tree</b></em>' operation.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEOperation COMPOSITE_STATE___UNACTIVE_SUB_TREE = eINSTANCE.getCompositeState__UnactiveSubTree();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link SimplStateMachine.impl.InitialStateImpl <em>Initial State</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see SimplStateMachine.impl.InitialStateImpl\n\t\t * @see SimplStateMachine.impl.SimplStateMachinePackageImpl#getInitialState()\n\t\t * @generated\n\t\t */\n\t\tEClass INITIAL_STATE = eINSTANCE.getInitialState();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Referenced State</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference INITIAL_STATE__REFERENCED_STATE = eINSTANCE.getInitialState_ReferencedState();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link SimplStateMachine.impl.TransitionImpl <em>Transition</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see SimplStateMachine.impl.TransitionImpl\n\t\t * @see SimplStateMachine.impl.SimplStateMachinePackageImpl#getTransition()\n\t\t * @generated\n\t\t */\n\t\tEClass TRANSITION = eINSTANCE.getTransition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Source</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TRANSITION__SOURCE = eINSTANCE.getTransition_Source();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Target</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TRANSITION__TARGET = eINSTANCE.getTransition_Target();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Event</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TRANSITION__EVENT = eINSTANCE.getTransition_Event();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Guard</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TRANSITION__GUARD = eINSTANCE.getTransition_Guard();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link SimplStateMachine.impl.EventImpl <em>Event</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see SimplStateMachine.impl.EventImpl\n\t\t * @see SimplStateMachine.impl.SimplStateMachinePackageImpl#getEvent()\n\t\t * @generated\n\t\t */\n\t\tEClass EVENT = eINSTANCE.getEvent();\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 EVENT__NAME = eINSTANCE.getEvent_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link SimplStateMachine.impl.ExpressionElementImpl <em>Expression Element</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see SimplStateMachine.impl.ExpressionElementImpl\n\t\t * @see SimplStateMachine.impl.SimplStateMachinePackageImpl#getExpressionElement()\n\t\t * @generated\n\t\t */\n\t\tEClass EXPRESSION_ELEMENT = eINSTANCE.getExpressionElement();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link SimplStateMachine.impl.ExpressionImpl <em>Expression</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see SimplStateMachine.impl.ExpressionImpl\n\t\t * @see SimplStateMachine.impl.SimplStateMachinePackageImpl#getExpression()\n\t\t * @generated\n\t\t */\n\t\tEClass EXPRESSION = eINSTANCE.getExpression();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Left</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference EXPRESSION__LEFT = eINSTANCE.getExpression_Left();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Right</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference EXPRESSION__RIGHT = eINSTANCE.getExpression_Right();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Operator</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 EXPRESSION__OPERATOR = eINSTANCE.getExpression_Operator();\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 EXPRESSION__NAME = eINSTANCE.getExpression__name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link SimplStateMachine.impl.DataImpl <em>Data</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see SimplStateMachine.impl.DataImpl\n\t\t * @see SimplStateMachine.impl.SimplStateMachinePackageImpl#getData()\n\t\t * @generated\n\t\t */\n\t\tEClass DATA = eINSTANCE.getData();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link SimplStateMachine.impl.BooleanDataImpl <em>Boolean Data</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see SimplStateMachine.impl.BooleanDataImpl\n\t\t * @see SimplStateMachine.impl.SimplStateMachinePackageImpl#getBooleanData()\n\t\t * @generated\n\t\t */\n\t\tEClass BOOLEAN_DATA = eINSTANCE.getBooleanData();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</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 BOOLEAN_DATA__VALUE = eINSTANCE.getBooleanData_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link SimplStateMachine.impl.IntegerDataImpl <em>Integer Data</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see SimplStateMachine.impl.IntegerDataImpl\n\t\t * @see SimplStateMachine.impl.SimplStateMachinePackageImpl#getIntegerData()\n\t\t * @generated\n\t\t */\n\t\tEClass INTEGER_DATA = eINSTANCE.getIntegerData();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</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 INTEGER_DATA__VALUE = eINSTANCE.getIntegerData_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link SimplStateMachine.impl.VariableImpl <em>Variable</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see SimplStateMachine.impl.VariableImpl\n\t\t * @see SimplStateMachine.impl.SimplStateMachinePackageImpl#getVariable()\n\t\t * @generated\n\t\t */\n\t\tEClass VARIABLE = eINSTANCE.getVariable();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference VARIABLE__VALUE = eINSTANCE.getVariable_Value();\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 VARIABLE__NAME = eINSTANCE.getVariable_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link SimplStateMachine.impl.BooleanVariableImpl <em>Boolean Variable</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see SimplStateMachine.impl.BooleanVariableImpl\n\t\t * @see SimplStateMachine.impl.SimplStateMachinePackageImpl#getBooleanVariable()\n\t\t * @generated\n\t\t */\n\t\tEClass BOOLEAN_VARIABLE = eINSTANCE.getBooleanVariable();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link SimplStateMachine.impl.IntegerVariableImpl <em>Integer Variable</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see SimplStateMachine.impl.IntegerVariableImpl\n\t\t * @see SimplStateMachine.impl.SimplStateMachinePackageImpl#getIntegerVariable()\n\t\t * @generated\n\t\t */\n\t\tEClass INTEGER_VARIABLE = eINSTANCE.getIntegerVariable();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link SimplStateMachine.impl.OperationImpl <em>Operation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see SimplStateMachine.impl.OperationImpl\n\t\t * @see SimplStateMachine.impl.SimplStateMachinePackageImpl#getOperation()\n\t\t * @generated\n\t\t */\n\t\tEClass OPERATION = eINSTANCE.getOperation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Contents</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 OPERATION__CONTENTS = eINSTANCE.getOperation_Contents();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link SimplStateMachine.impl.AssignmentImpl <em>Assignment</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see SimplStateMachine.impl.AssignmentImpl\n\t\t * @see SimplStateMachine.impl.SimplStateMachinePackageImpl#getAssignment()\n\t\t * @generated\n\t\t */\n\t\tEClass ASSIGNMENT = eINSTANCE.getAssignment();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Expression</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ASSIGNMENT__EXPRESSION = eINSTANCE.getAssignment_Expression();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Variable</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ASSIGNMENT__VARIABLE = eINSTANCE.getAssignment_Variable();\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 ASSIGNMENT__NAME = eINSTANCE.getAssignment__name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link SimplStateMachine.impl.VariableReferenceImpl <em>Variable Reference</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see SimplStateMachine.impl.VariableReferenceImpl\n\t\t * @see SimplStateMachine.impl.SimplStateMachinePackageImpl#getVariableReference()\n\t\t * @generated\n\t\t */\n\t\tEClass VARIABLE_REFERENCE = eINSTANCE.getVariableReference();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Variable</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference VARIABLE_REFERENCE__VARIABLE = eINSTANCE.getVariableReference_Variable();\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 VARIABLE_REFERENCE__NAME = eINSTANCE.getVariableReference__name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link SimplStateMachine.Operator <em>Operator</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see SimplStateMachine.Operator\n\t\t * @see SimplStateMachine.impl.SimplStateMachinePackageImpl#getOperator()\n\t\t * @generated\n\t\t */\n\t\tEEnum OPERATOR = eINSTANCE.getOperator();\n\n\t}", "private static HashMap<String, DefinedProperty> initDefinedProperties() {\n\t\tHashMap<String, DefinedProperty> newList = new HashMap<String, DefinedProperty>();\n\t\t// common properties\n\t\taddProperty(newList, \"name\", DefinedPropertyType.STRING, \"\", DefinedProperty.ANY, false, false);\n\t\taddProperty(newList, \"desc\", DefinedPropertyType.STRING, \"\", DefinedProperty.ANY, false, false);\n\t\t// implicit default properties\n\t\taddProperty(newList, \"donttest\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.ANY, false, false);\n\t\taddProperty(newList, \"dontcompare\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.ANY, false, false);\n\t\t// interface properties\n\t\taddProperty(newList, \"use_interface\", DefinedPropertyType.STRING, \"\", DefinedProperty.REGSET | DefinedProperty.REG |DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"use_new_interface\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.REGSET | DefinedProperty.REG |DefinedProperty.FIELD, false, false);\n\t\t// reg + regset properties\n\t\taddProperty(newList, \"js_superset_check\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.REGSET | DefinedProperty.REG, false, false);\n\t\taddProperty(newList, \"external\", DefinedPropertyType.SPECIAL, null, DefinedProperty.REGSET | DefinedProperty.REG, false, false);\n\t\taddProperty(newList, \"repcount\", DefinedPropertyType.NUMBER, \"1\", DefinedProperty.REGSET | DefinedProperty.REG, true, false); // hidden\n\t\t// regset only properties\n\t\taddProperty(newList, \"js_macro_name\", DefinedPropertyType.STRING, \"\", DefinedProperty.REGSET, false, false);\n\t\taddProperty(newList, \"js_macro_mode\", DefinedPropertyType.STRING, \"STANDARD\", DefinedProperty.REGSET, false, false);\n\t\taddProperty(newList, \"js_namespace\", DefinedPropertyType.STRING, \"\", DefinedProperty.REGSET, false, false);\n\t\taddProperty(newList, \"js_typedef_name\", DefinedPropertyType.STRING, \"\", DefinedProperty.REGSET, false, false);\n\t\taddProperty(newList, \"js_instance_name\", DefinedPropertyType.STRING, \"\", DefinedProperty.REGSET, false, false);\n\t\taddProperty(newList, \"js_instance_repeat\", DefinedPropertyType.NUMBER, \"1\", DefinedProperty.REGSET, false, false);\n\t\t// reg only properties\n\t\taddProperty(newList, \"category\", DefinedPropertyType.STRING, \"\", DefinedProperty.REG, false, false);\n\t\taddProperty(newList, \"js_attributes\", DefinedPropertyType.STRING, \"false\", DefinedProperty.REG, false, false);\n\t\taddProperty(newList, \"aliasedId\", DefinedPropertyType.STRING, \"false\", DefinedProperty.REG, true, false); // hidden\n\t\taddProperty(newList, \"regwidth\", DefinedPropertyType.NUMBER, \"32\", DefinedProperty.REG, false, false);\n\t\taddProperty(newList, \"uvmreg_is_mem\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.REG, false, false);\n\t\taddProperty(newList, \"cppmod_prune\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.REG, false, false);\n\t\taddProperty(newList, \"uvmreg_prune\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.REG, false, false);\n\t\t// signal properties\n\t\taddProperty(newList, \"cpuif_reset\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.SIGNAL, false, false);\n\t\taddProperty(newList, \"field_reset\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.SIGNAL, false, false);\n\t\taddProperty(newList, \"activehigh\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.SIGNAL, false, false);\n\t\taddProperty(newList, \"activelow\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.SIGNAL, false, false);\n\t\taddProperty(newList, \"signalwidth\", DefinedPropertyType.NUMBER, \"1\", DefinedProperty.SIGNAL, false, false);\n\t\t// fieldset only properties\n\t\taddProperty(newList, \"fieldstructwidth\", DefinedPropertyType.NUMBER, \"1\", DefinedProperty.FIELDSET, false, false);\n\t\t// field properties\n\t\taddProperty(newList, \"rset\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"rclr\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"woclr\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"woset\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"we\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"wel\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"swwe\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"swwel\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"hwset\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"hwclr\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"swmod\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"swacc\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"sticky\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"stickybit\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"intr\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"anded\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"ored\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"xored\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"counter\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"overflow\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"reset\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"fieldwidth\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"singlepulse\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"underflow\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"incr\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"decr\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"incrwidth\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"decrwidth\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"incrvalue\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"decrvalue\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"saturate\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"incrsaturate\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"decrsaturate\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"threshold\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"incrthreshold\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"decrthreshold\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"sw\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"hw\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"precedence\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"encode\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"resetsignal\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"mask\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"enable\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"haltmask\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"haltenable\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"halt\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"next\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"nextposedge\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"nextnegedge\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"maskintrbits\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false); \n\t\taddProperty(newList, \"satoutput\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"sub_category\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\taddProperty(newList, \"rtl_coverage\", DefinedPropertyType.BOOLEAN, \"false\", DefinedProperty.FIELD, false, false);\n\t\t\n\t\t// override allowed property set if input type is jspec\n\t\tif (Ordt.hasInputType(Ordt.InputType.JSPEC)) {\n\t\t\tputProperty(newList, \"sub_category\", DefinedPropertyType.STRING, \"\", DefinedProperty.REGSET | DefinedProperty.REG | DefinedProperty.FIELDSET | DefinedProperty.FIELD, false, false);\n\t\t\tputProperty(newList, \"category\", DefinedPropertyType.STRING, \"\", DefinedProperty.REGSET | DefinedProperty.REG, false, false);\n\t\t\tputProperty(newList, \"js_attributes\", DefinedPropertyType.STRING, \"\", DefinedProperty.REGSET | DefinedProperty.REG, false, false);\n\t\t\tputProperty(newList, \"regwidth\", DefinedPropertyType.NUMBER, \"32\", DefinedProperty.REGSET | DefinedProperty.REG, false, false);\n\t\t\tputProperty(newList, \"address\", DefinedPropertyType.NUMBER, null, DefinedProperty.REGSET | DefinedProperty.REG, false, false);\n\t\t\tputProperty(newList, \"arrayidx1\", DefinedPropertyType.NUMBER, null, DefinedProperty.REGSET | DefinedProperty.REG, true, false); // hidden\n\t\t\tputProperty(newList, \"addrinc\", DefinedPropertyType.NUMBER, null, DefinedProperty.REGSET | DefinedProperty.REG, true, false); // hidden\n\t\t}\t\t\n\n\t\treturn newList;\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.ElementImpl <em>Element</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.ElementImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getElement()\n\t\t * @generated\n\t\t */\n\t\tEClass ELEMENT = eINSTANCE.getElement();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>URI</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 ELEMENT__URI = eINSTANCE.getElement_URI();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Model</b></em>' container reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ELEMENT__MODEL = eINSTANCE.getElement_Model();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.IEC61970CIMVersionImpl <em>IEC61970CIM Version</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.IEC61970CIMVersionImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getIEC61970CIMVersion()\n\t\t * @generated\n\t\t */\n\t\tEClass IEC61970CIM_VERSION = eINSTANCE.getIEC61970CIMVersion();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Version</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 IEC61970CIM_VERSION__VERSION = eINSTANCE.getIEC61970CIMVersion_Version();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Date</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 IEC61970CIM_VERSION__DATE = eINSTANCE.getIEC61970CIMVersion_Date();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.CommonPowerSystemModelImpl <em>Common Power System Model</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.CommonPowerSystemModelImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getCommonPowerSystemModel()\n\t\t * @generated\n\t\t */\n\t\tEClass COMMON_POWER_SYSTEM_MODEL = eINSTANCE.getCommonPowerSystemModel();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Elements</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 COMMON_POWER_SYSTEM_MODEL__ELEMENTS = eINSTANCE.getCommonPowerSystemModel_Elements();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.GrossToNetActivePowerCurveImpl <em>Gross To Net Active Power Curve</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.GrossToNetActivePowerCurveImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getGrossToNetActivePowerCurve()\n\t\t * @generated\n\t\t */\n\t\tEClass GROSS_TO_NET_ACTIVE_POWER_CURVE = eINSTANCE.getGrossToNetActivePowerCurve();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Generating Unit</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference GROSS_TO_NET_ACTIVE_POWER_CURVE__GENERATING_UNIT = eINSTANCE.getGrossToNetActivePowerCurve_GeneratingUnit();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.HydroGeneratingUnitImpl <em>Hydro Generating Unit</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.HydroGeneratingUnitImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getHydroGeneratingUnit()\n\t\t * @generated\n\t\t */\n\t\tEClass HYDRO_GENERATING_UNIT = eINSTANCE.getHydroGeneratingUnit();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.ThermalGeneratingUnitImpl <em>Thermal Generating Unit</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.ThermalGeneratingUnitImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getThermalGeneratingUnit()\n\t\t * @generated\n\t\t */\n\t\tEClass THERMAL_GENERATING_UNIT = eINSTANCE.getThermalGeneratingUnit();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.GeneratingUnitImpl <em>Generating Unit</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.GeneratingUnitImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getGeneratingUnit()\n\t\t * @generated\n\t\t */\n\t\tEClass GENERATING_UNIT = eINSTANCE.getGeneratingUnit();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Max Operating P</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 GENERATING_UNIT__MAX_OPERATING_P = eINSTANCE.getGeneratingUnit_MaxOperatingP();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Normal PF</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 GENERATING_UNIT__NORMAL_PF = eINSTANCE.getGeneratingUnit_NormalPF();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Rated Gross Max P</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 GENERATING_UNIT__RATED_GROSS_MAX_P = eINSTANCE.getGeneratingUnit_RatedGrossMaxP();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Rated Gross Min P</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 GENERATING_UNIT__RATED_GROSS_MIN_P = eINSTANCE.getGeneratingUnit_RatedGrossMinP();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Gen Control Source</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 GENERATING_UNIT__GEN_CONTROL_SOURCE = eINSTANCE.getGeneratingUnit_GenControlSource();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Rated Net Max P</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 GENERATING_UNIT__RATED_NET_MAX_P = eINSTANCE.getGeneratingUnit_RatedNetMaxP();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Long PF</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 GENERATING_UNIT__LONG_PF = eINSTANCE.getGeneratingUnit_LongPF();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Contains Synchronous Machines</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 GENERATING_UNIT__CONTAINS_SYNCHRONOUS_MACHINES = eINSTANCE.getGeneratingUnit_Contains_SynchronousMachines();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Gross To Net Active Power Curves</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 GENERATING_UNIT__GROSS_TO_NET_ACTIVE_POWER_CURVES = eINSTANCE.getGeneratingUnit_GrossToNetActivePowerCurves();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Initial P</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 GENERATING_UNIT__INITIAL_P = eINSTANCE.getGeneratingUnit_InitialP();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Control Area Generating Unit</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 GENERATING_UNIT__CONTROL_AREA_GENERATING_UNIT = eINSTANCE.getGeneratingUnit_ControlAreaGeneratingUnit();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Short PF</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 GENERATING_UNIT__SHORT_PF = eINSTANCE.getGeneratingUnit_ShortPF();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Min Operating P</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 GENERATING_UNIT__MIN_OPERATING_P = eINSTANCE.getGeneratingUnit_MinOperatingP();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.OperationalLimitImpl <em>Operational Limit</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.OperationalLimitImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getOperationalLimit()\n\t\t * @generated\n\t\t */\n\t\tEClass OPERATIONAL_LIMIT = eINSTANCE.getOperationalLimit();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Operational Limit Set</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPERATIONAL_LIMIT__OPERATIONAL_LIMIT_SET = eINSTANCE.getOperationalLimit_OperationalLimitSet();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</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 OPERATIONAL_LIMIT__TYPE = eINSTANCE.getOperationalLimit_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.OperationalLimitSetImpl <em>Operational Limit Set</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.OperationalLimitSetImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getOperationalLimitSet()\n\t\t * @generated\n\t\t */\n\t\tEClass OPERATIONAL_LIMIT_SET = eINSTANCE.getOperationalLimitSet();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Equipment</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPERATIONAL_LIMIT_SET__EQUIPMENT = eINSTANCE.getOperationalLimitSet_Equipment();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Operational Limit Value</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 OPERATIONAL_LIMIT_SET__OPERATIONAL_LIMIT_VALUE = eINSTANCE.getOperationalLimitSet_OperationalLimitValue();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.ActivePowerLimitImpl <em>Active Power Limit</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.ActivePowerLimitImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getActivePowerLimit()\n\t\t * @generated\n\t\t */\n\t\tEClass ACTIVE_POWER_LIMIT = eINSTANCE.getActivePowerLimit();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</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 ACTIVE_POWER_LIMIT__VALUE = eINSTANCE.getActivePowerLimit_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.ApparentPowerLimitImpl <em>Apparent Power Limit</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.ApparentPowerLimitImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getApparentPowerLimit()\n\t\t * @generated\n\t\t */\n\t\tEClass APPARENT_POWER_LIMIT = eINSTANCE.getApparentPowerLimit();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</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 APPARENT_POWER_LIMIT__VALUE = eINSTANCE.getApparentPowerLimit_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.VoltageLimitImpl <em>Voltage Limit</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.VoltageLimitImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getVoltageLimit()\n\t\t * @generated\n\t\t */\n\t\tEClass VOLTAGE_LIMIT = eINSTANCE.getVoltageLimit();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</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 VOLTAGE_LIMIT__VALUE = eINSTANCE.getVoltageLimit_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.CurrentLimitImpl <em>Current Limit</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.CurrentLimitImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getCurrentLimit()\n\t\t * @generated\n\t\t */\n\t\tEClass CURRENT_LIMIT = eINSTANCE.getCurrentLimit();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</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 CURRENT_LIMIT__VALUE = eINSTANCE.getCurrentLimit_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.PowerTransformerImpl <em>Power Transformer</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.PowerTransformerImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getPowerTransformer()\n\t\t * @generated\n\t\t */\n\t\tEClass POWER_TRANSFORMER = eINSTANCE.getPowerTransformer();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Contains Transformer Windings</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 POWER_TRANSFORMER__CONTAINS_TRANSFORMER_WINDINGS = eINSTANCE.getPowerTransformer_Contains_TransformerWindings();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.DisconnectorImpl <em>Disconnector</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.DisconnectorImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getDisconnector()\n\t\t * @generated\n\t\t */\n\t\tEClass DISCONNECTOR = eINSTANCE.getDisconnector();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.SynchronousMachineImpl <em>Synchronous Machine</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.SynchronousMachineImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getSynchronousMachine()\n\t\t * @generated\n\t\t */\n\t\tEClass SYNCHRONOUS_MACHINE = eINSTANCE.getSynchronousMachine();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Initial Reactive Capability Curve</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference SYNCHRONOUS_MACHINE__INITIAL_REACTIVE_CAPABILITY_CURVE = eINSTANCE.getSynchronousMachine_InitialReactiveCapabilityCurve();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Operating Mode</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 SYNCHRONOUS_MACHINE__OPERATING_MODE = eINSTANCE.getSynchronousMachine_OperatingMode();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Member Of Generating Unit</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference SYNCHRONOUS_MACHINE__MEMBER_OF_GENERATING_UNIT = eINSTANCE.getSynchronousMachine_MemberOf_GeneratingUnit();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Min Q</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 SYNCHRONOUS_MACHINE__MIN_Q = eINSTANCE.getSynchronousMachine_MinQ();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</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 SYNCHRONOUS_MACHINE__TYPE = eINSTANCE.getSynchronousMachine_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Max Q</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 SYNCHRONOUS_MACHINE__MAX_Q = eINSTANCE.getSynchronousMachine_MaxQ();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.BusbarSectionImpl <em>Busbar Section</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.BusbarSectionImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getBusbarSection()\n\t\t * @generated\n\t\t */\n\t\tEClass BUSBAR_SECTION = eINSTANCE.getBusbarSection();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.ShuntCompensatorImpl <em>Shunt Compensator</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.ShuntCompensatorImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getShuntCompensator()\n\t\t * @generated\n\t\t */\n\t\tEClass SHUNT_COMPENSATOR = eINSTANCE.getShuntCompensator();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Maximum Sections</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 SHUNT_COMPENSATOR__MAXIMUM_SECTIONS = eINSTANCE.getShuntCompensator_MaximumSections();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Normal Sections</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 SHUNT_COMPENSATOR__NORMAL_SECTIONS = eINSTANCE.getShuntCompensator_NormalSections();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Nom U</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 SHUNT_COMPENSATOR__NOM_U = eINSTANCE.getShuntCompensator_NomU();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Reactive Per Section</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 SHUNT_COMPENSATOR__REACTIVE_PER_SECTION = eINSTANCE.getShuntCompensator_ReactivePerSection();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.LoadBreakSwitchImpl <em>Load Break Switch</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.LoadBreakSwitchImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getLoadBreakSwitch()\n\t\t * @generated\n\t\t */\n\t\tEClass LOAD_BREAK_SWITCH = eINSTANCE.getLoadBreakSwitch();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Rated Current</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 LOAD_BREAK_SWITCH__RATED_CURRENT = eINSTANCE.getLoadBreakSwitch_RatedCurrent();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.RegulatingCondEqImpl <em>Regulating Cond Eq</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.RegulatingCondEqImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getRegulatingCondEq()\n\t\t * @generated\n\t\t */\n\t\tEClass REGULATING_COND_EQ = eINSTANCE.getRegulatingCondEq();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Regulating Control</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference REGULATING_COND_EQ__REGULATING_CONTROL = eINSTANCE.getRegulatingCondEq_RegulatingControl();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.EnergyConsumerImpl <em>Energy Consumer</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.EnergyConsumerImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getEnergyConsumer()\n\t\t * @generated\n\t\t */\n\t\tEClass ENERGY_CONSUMER = eINSTANCE.getEnergyConsumer();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Qfixed Pct</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 ENERGY_CONSUMER__QFIXED_PCT = eINSTANCE.getEnergyConsumer_QfixedPct();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Pfixed</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 ENERGY_CONSUMER__PFIXED = eINSTANCE.getEnergyConsumer_Pfixed();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Load Response</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ENERGY_CONSUMER__LOAD_RESPONSE = eINSTANCE.getEnergyConsumer_LoadResponse();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Qfixed</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 ENERGY_CONSUMER__QFIXED = eINSTANCE.getEnergyConsumer_Qfixed();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Pfixed Pct</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 ENERGY_CONSUMER__PFIXED_PCT = eINSTANCE.getEnergyConsumer_PfixedPct();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.TransformerWindingImpl <em>Transformer Winding</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.TransformerWindingImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getTransformerWinding()\n\t\t * @generated\n\t\t */\n\t\tEClass TRANSFORMER_WINDING = eINSTANCE.getTransformerWinding();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Winding Type</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 TRANSFORMER_WINDING__WINDING_TYPE = eINSTANCE.getTransformerWinding_WindingType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Tap Changers</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 TRANSFORMER_WINDING__TAP_CHANGERS = eINSTANCE.getTransformerWinding_TapChangers();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Member Of Power Transformer</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TRANSFORMER_WINDING__MEMBER_OF_POWER_TRANSFORMER = eINSTANCE.getTransformerWinding_MemberOf_PowerTransformer();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Rated S</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 TRANSFORMER_WINDING__RATED_S = eINSTANCE.getTransformerWinding_RatedS();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>X</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 TRANSFORMER_WINDING__X = eINSTANCE.getTransformerWinding_X();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Rated U</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 TRANSFORMER_WINDING__RATED_U = eINSTANCE.getTransformerWinding_RatedU();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>R</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 TRANSFORMER_WINDING__R = eINSTANCE.getTransformerWinding_R();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>B</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 TRANSFORMER_WINDING__B = eINSTANCE.getTransformerWinding_B();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.RegulatingControlImpl <em>Regulating Control</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.RegulatingControlImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getRegulatingControl()\n\t\t * @generated\n\t\t */\n\t\tEClass REGULATING_CONTROL = eINSTANCE.getRegulatingControl();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Terminal</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference REGULATING_CONTROL__TERMINAL = eINSTANCE.getRegulatingControl_Terminal();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Regulation Schedule</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference REGULATING_CONTROL__REGULATION_SCHEDULE = eINSTANCE.getRegulatingControl_RegulationSchedule();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Tap Changer</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 REGULATING_CONTROL__TAP_CHANGER = eINSTANCE.getRegulatingControl_TapChanger();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Regulating Cond Eq</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 REGULATING_CONTROL__REGULATING_COND_EQ = eINSTANCE.getRegulatingControl_RegulatingCondEq();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.RegulationScheduleImpl <em>Regulation Schedule</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.RegulationScheduleImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getRegulationSchedule()\n\t\t * @generated\n\t\t */\n\t\tEClass REGULATION_SCHEDULE = eINSTANCE.getRegulationSchedule();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Regulating Control</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 REGULATION_SCHEDULE__REGULATING_CONTROL = eINSTANCE.getRegulationSchedule_RegulatingControl();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.ACLineSegmentImpl <em>AC Line Segment</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.ACLineSegmentImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getACLineSegment()\n\t\t * @generated\n\t\t */\n\t\tEClass AC_LINE_SEGMENT = eINSTANCE.getACLineSegment();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.SwitchImpl <em>Switch</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.SwitchImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getSwitch()\n\t\t * @generated\n\t\t */\n\t\tEClass SWITCH = eINSTANCE.getSwitch();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Normal Open</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 SWITCH__NORMAL_OPEN = eINSTANCE.getSwitch_NormalOpen();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.ConductorImpl <em>Conductor</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.ConductorImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getConductor()\n\t\t * @generated\n\t\t */\n\t\tEClass CONDUCTOR = eINSTANCE.getConductor();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>R</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 CONDUCTOR__R = eINSTANCE.getConductor_R();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>X</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 CONDUCTOR__X = eINSTANCE.getConductor_X();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Bch</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 CONDUCTOR__BCH = eINSTANCE.getConductor_Bch();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.ReactiveCapabilityCurveImpl <em>Reactive Capability Curve</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.ReactiveCapabilityCurveImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getReactiveCapabilityCurve()\n\t\t * @generated\n\t\t */\n\t\tEClass REACTIVE_CAPABILITY_CURVE = eINSTANCE.getReactiveCapabilityCurve();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Initially Used By Synchronous Machine</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 REACTIVE_CAPABILITY_CURVE__INITIALLY_USED_BY_SYNCHRONOUS_MACHINE = eINSTANCE.getReactiveCapabilityCurve_InitiallyUsedBySynchronousMachine();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.TapChangerImpl <em>Tap Changer</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.TapChangerImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getTapChanger()\n\t\t * @generated\n\t\t */\n\t\tEClass TAP_CHANGER = eINSTANCE.getTapChanger();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Regulating Control</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TAP_CHANGER__REGULATING_CONTROL = eINSTANCE.getTapChanger_RegulatingControl();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Transformer Winding</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TAP_CHANGER__TRANSFORMER_WINDING = eINSTANCE.getTapChanger_TransformerWinding();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Normal Step</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 TAP_CHANGER__NORMAL_STEP = eINSTANCE.getTapChanger_NormalStep();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>High Step</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 TAP_CHANGER__HIGH_STEP = eINSTANCE.getTapChanger_HighStep();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Step Phase Shift Increment</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 TAP_CHANGER__STEP_PHASE_SHIFT_INCREMENT = eINSTANCE.getTapChanger_StepPhaseShiftIncrement();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Neutral Step</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 TAP_CHANGER__NEUTRAL_STEP = eINSTANCE.getTapChanger_NeutralStep();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Low Step</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 TAP_CHANGER__LOW_STEP = eINSTANCE.getTapChanger_LowStep();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Tcul Control Mode</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 TAP_CHANGER__TCUL_CONTROL_MODE = eINSTANCE.getTapChanger_TculControlMode();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Step Voltage Increment</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 TAP_CHANGER__STEP_VOLTAGE_INCREMENT = eINSTANCE.getTapChanger_StepVoltageIncrement();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</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 TAP_CHANGER__TYPE = eINSTANCE.getTapChanger_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Neutral U</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 TAP_CHANGER__NEUTRAL_U = eINSTANCE.getTapChanger_NeutralU();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.LineImpl <em>Line</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.LineImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getLine()\n\t\t * @generated\n\t\t */\n\t\tEClass LINE = eINSTANCE.getLine();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Region</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference LINE__REGION = eINSTANCE.getLine_Region();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.StaticVarCompensatorImpl <em>Static Var Compensator</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.StaticVarCompensatorImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getStaticVarCompensator()\n\t\t * @generated\n\t\t */\n\t\tEClass STATIC_VAR_COMPENSATOR = eINSTANCE.getStaticVarCompensator();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Voltage Set Point</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 STATIC_VAR_COMPENSATOR__VOLTAGE_SET_POINT = eINSTANCE.getStaticVarCompensator_VoltageSetPoint();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>SVC Control Mode</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 STATIC_VAR_COMPENSATOR__SVC_CONTROL_MODE = eINSTANCE.getStaticVarCompensator_SVCControlMode();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Capacitive Rating</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 STATIC_VAR_COMPENSATOR__CAPACITIVE_RATING = eINSTANCE.getStaticVarCompensator_CapacitiveRating();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Slope</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 STATIC_VAR_COMPENSATOR__SLOPE = eINSTANCE.getStaticVarCompensator_Slope();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Inductive Rating</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 STATIC_VAR_COMPENSATOR__INDUCTIVE_RATING = eINSTANCE.getStaticVarCompensator_InductiveRating();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.SeriesCompensatorImpl <em>Series Compensator</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.SeriesCompensatorImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getSeriesCompensator()\n\t\t * @generated\n\t\t */\n\t\tEClass SERIES_COMPENSATOR = eINSTANCE.getSeriesCompensator();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>R</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 SERIES_COMPENSATOR__R = eINSTANCE.getSeriesCompensator_R();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>X</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 SERIES_COMPENSATOR__X = eINSTANCE.getSeriesCompensator_X();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.BreakerImpl <em>Breaker</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.BreakerImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getBreaker()\n\t\t * @generated\n\t\t */\n\t\tEClass BREAKER = eINSTANCE.getBreaker();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Rated Current</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 BREAKER__RATED_CURRENT = eINSTANCE.getBreaker_RatedCurrent();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.DiscreteValueImpl <em>Discrete Value</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.DiscreteValueImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getDiscreteValue()\n\t\t * @generated\n\t\t */\n\t\tEClass DISCRETE_VALUE = eINSTANCE.getDiscreteValue();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Member Of Measurement</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DISCRETE_VALUE__MEMBER_OF_MEASUREMENT = eINSTANCE.getDiscreteValue_MemberOf_Measurement();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.MeasurementImpl <em>Measurement</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.MeasurementImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getMeasurement()\n\t\t * @generated\n\t\t */\n\t\tEClass MEASUREMENT = eINSTANCE.getMeasurement();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Member Of PSR</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference MEASUREMENT__MEMBER_OF_PSR = eINSTANCE.getMeasurement_MemberOf_PSR();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Measurement Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference MEASUREMENT__MEASUREMENT_TYPE = eINSTANCE.getMeasurement_MeasurementType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Terminal</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference MEASUREMENT__TERMINAL = eINSTANCE.getMeasurement_Terminal();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Unit</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference MEASUREMENT__UNIT = eINSTANCE.getMeasurement_Unit();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.MeasurementValueImpl <em>Measurement Value</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.MeasurementValueImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getMeasurementValue()\n\t\t * @generated\n\t\t */\n\t\tEClass MEASUREMENT_VALUE = eINSTANCE.getMeasurementValue();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Measurement Value Source</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference MEASUREMENT_VALUE__MEASUREMENT_VALUE_SOURCE = eINSTANCE.getMeasurementValue_MeasurementValueSource();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.MeasurementValueSourceImpl <em>Measurement Value Source</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.MeasurementValueSourceImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getMeasurementValueSource()\n\t\t * @generated\n\t\t */\n\t\tEClass MEASUREMENT_VALUE_SOURCE = eINSTANCE.getMeasurementValueSource();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Measurement Values</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 MEASUREMENT_VALUE_SOURCE__MEASUREMENT_VALUES = eINSTANCE.getMeasurementValueSource_MeasurementValues();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.AnalogImpl <em>Analog</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.AnalogImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getAnalog()\n\t\t * @generated\n\t\t */\n\t\tEClass ANALOG = eINSTANCE.getAnalog();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Positive Flow In</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 ANALOG__POSITIVE_FLOW_IN = eINSTANCE.getAnalog_PositiveFlowIn();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Contain Measurement Values</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 ANALOG__CONTAIN_MEASUREMENT_VALUES = eINSTANCE.getAnalog_Contain_MeasurementValues();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.AnalogValueImpl <em>Analog Value</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.AnalogValueImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getAnalogValue()\n\t\t * @generated\n\t\t */\n\t\tEClass ANALOG_VALUE = eINSTANCE.getAnalogValue();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Member Of Measurement</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ANALOG_VALUE__MEMBER_OF_MEASUREMENT = eINSTANCE.getAnalogValue_MemberOf_Measurement();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.MeasurementTypeImpl <em>Measurement Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.MeasurementTypeImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getMeasurementType()\n\t\t * @generated\n\t\t */\n\t\tEClass MEASUREMENT_TYPE = eINSTANCE.getMeasurementType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Measurements</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 MEASUREMENT_TYPE__MEASUREMENTS = eINSTANCE.getMeasurementType_Measurements();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.DiscreteImpl <em>Discrete</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.DiscreteImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getDiscrete()\n\t\t * @generated\n\t\t */\n\t\tEClass DISCRETE = eINSTANCE.getDiscrete();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Contain Measurement Values</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 DISCRETE__CONTAIN_MEASUREMENT_VALUES = eINSTANCE.getDiscrete_Contain_MeasurementValues();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.LimitSetImpl <em>Limit Set</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.LimitSetImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getLimitSet()\n\t\t * @generated\n\t\t */\n\t\tEClass LIMIT_SET = eINSTANCE.getLimitSet();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Is Percentage Limits</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 LIMIT_SET__IS_PERCENTAGE_LIMITS = eINSTANCE.getLimitSet_IsPercentageLimits();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.NonConformLoadGroupImpl <em>Non Conform Load Group</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.NonConformLoadGroupImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getNonConformLoadGroup()\n\t\t * @generated\n\t\t */\n\t\tEClass NON_CONFORM_LOAD_GROUP = eINSTANCE.getNonConformLoadGroup();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Non Conform Load Schedules</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 NON_CONFORM_LOAD_GROUP__NON_CONFORM_LOAD_SCHEDULES = eINSTANCE.getNonConformLoadGroup_NonConformLoadSchedules();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Energy Consumers</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 NON_CONFORM_LOAD_GROUP__ENERGY_CONSUMERS = eINSTANCE.getNonConformLoadGroup_EnergyConsumers();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.ConformLoadScheduleImpl <em>Conform Load Schedule</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.ConformLoadScheduleImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getConformLoadSchedule()\n\t\t * @generated\n\t\t */\n\t\tEClass CONFORM_LOAD_SCHEDULE = eINSTANCE.getConformLoadSchedule();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Conform Load Group</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONFORM_LOAD_SCHEDULE__CONFORM_LOAD_GROUP = eINSTANCE.getConformLoadSchedule_ConformLoadGroup();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.CustomerLoadImpl <em>Customer Load</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.CustomerLoadImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getCustomerLoad()\n\t\t * @generated\n\t\t */\n\t\tEClass CUSTOMER_LOAD = eINSTANCE.getCustomerLoad();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.NonConformLoadImpl <em>Non Conform Load</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.NonConformLoadImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getNonConformLoad()\n\t\t * @generated\n\t\t */\n\t\tEClass NON_CONFORM_LOAD = eINSTANCE.getNonConformLoad();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Load Group</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference NON_CONFORM_LOAD__LOAD_GROUP = eINSTANCE.getNonConformLoad_LoadGroup();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.DayTypeImpl <em>Day Type</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.DayTypeImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getDayType()\n\t\t * @generated\n\t\t */\n\t\tEClass DAY_TYPE = eINSTANCE.getDayType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Season Day Type Schedules</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 DAY_TYPE__SEASON_DAY_TYPE_SCHEDULES = eINSTANCE.getDayType_SeasonDayTypeSchedules();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.SeasonImpl <em>Season</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.SeasonImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getSeason()\n\t\t * @generated\n\t\t */\n\t\tEClass SEASON = eINSTANCE.getSeason();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>End Date</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 SEASON__END_DATE = eINSTANCE.getSeason_EndDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Start Date</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 SEASON__START_DATE = eINSTANCE.getSeason_StartDate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Season Day Type Schedules</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 SEASON__SEASON_DAY_TYPE_SCHEDULES = eINSTANCE.getSeason_SeasonDayTypeSchedules();\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 SEASON__NAME = eINSTANCE.getSeason_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.LoadImpl <em>Load</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.LoadImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getLoad()\n\t\t * @generated\n\t\t */\n\t\tEClass LOAD = eINSTANCE.getLoad();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.StationSupplyImpl <em>Station Supply</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.StationSupplyImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getStationSupply()\n\t\t * @generated\n\t\t */\n\t\tEClass STATION_SUPPLY = eINSTANCE.getStationSupply();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.SeasonDayTypeScheduleImpl <em>Season Day Type Schedule</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.SeasonDayTypeScheduleImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getSeasonDayTypeSchedule()\n\t\t * @generated\n\t\t */\n\t\tEClass SEASON_DAY_TYPE_SCHEDULE = eINSTANCE.getSeasonDayTypeSchedule();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Day Type</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference SEASON_DAY_TYPE_SCHEDULE__DAY_TYPE = eINSTANCE.getSeasonDayTypeSchedule_DayType();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Season</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference SEASON_DAY_TYPE_SCHEDULE__SEASON = eINSTANCE.getSeasonDayTypeSchedule_Season();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.LoadGroupImpl <em>Load Group</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.LoadGroupImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getLoadGroup()\n\t\t * @generated\n\t\t */\n\t\tEClass LOAD_GROUP = eINSTANCE.getLoadGroup();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Sub Load Area</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference LOAD_GROUP__SUB_LOAD_AREA = eINSTANCE.getLoadGroup_SubLoadArea();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.EnergyAreaImpl <em>Energy Area</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.EnergyAreaImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getEnergyArea()\n\t\t * @generated\n\t\t */\n\t\tEClass ENERGY_AREA = eINSTANCE.getEnergyArea();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Control Area</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ENERGY_AREA__CONTROL_AREA = eINSTANCE.getEnergyArea_ControlArea();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.ConformLoadGroupImpl <em>Conform Load Group</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.ConformLoadGroupImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getConformLoadGroup()\n\t\t * @generated\n\t\t */\n\t\tEClass CONFORM_LOAD_GROUP = eINSTANCE.getConformLoadGroup();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Energy Consumers</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 CONFORM_LOAD_GROUP__ENERGY_CONSUMERS = eINSTANCE.getConformLoadGroup_EnergyConsumers();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Conform Load Schedules</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 CONFORM_LOAD_GROUP__CONFORM_LOAD_SCHEDULES = eINSTANCE.getConformLoadGroup_ConformLoadSchedules();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.LoadAreaImpl <em>Load Area</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.LoadAreaImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getLoadArea()\n\t\t * @generated\n\t\t */\n\t\tEClass LOAD_AREA = eINSTANCE.getLoadArea();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Sub Load Areas</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 LOAD_AREA__SUB_LOAD_AREAS = eINSTANCE.getLoadArea_SubLoadAreas();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.SubLoadAreaImpl <em>Sub Load Area</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.SubLoadAreaImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getSubLoadArea()\n\t\t * @generated\n\t\t */\n\t\tEClass SUB_LOAD_AREA = eINSTANCE.getSubLoadArea();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Load Groups</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 SUB_LOAD_AREA__LOAD_GROUPS = eINSTANCE.getSubLoadArea_LoadGroups();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Load Area</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference SUB_LOAD_AREA__LOAD_AREA = eINSTANCE.getSubLoadArea_LoadArea();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.LoadResponseCharacteristicImpl <em>Load Response Characteristic</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.LoadResponseCharacteristicImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getLoadResponseCharacteristic()\n\t\t * @generated\n\t\t */\n\t\tEClass LOAD_RESPONSE_CHARACTERISTIC = eINSTANCE.getLoadResponseCharacteristic();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>PFrequency Exponent</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 LOAD_RESPONSE_CHARACTERISTIC__PFREQUENCY_EXPONENT = eINSTANCE.getLoadResponseCharacteristic_PFrequencyExponent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>QVoltage Exponent</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 LOAD_RESPONSE_CHARACTERISTIC__QVOLTAGE_EXPONENT = eINSTANCE.getLoadResponseCharacteristic_QVoltageExponent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>QFrequency Exponent</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 LOAD_RESPONSE_CHARACTERISTIC__QFREQUENCY_EXPONENT = eINSTANCE.getLoadResponseCharacteristic_QFrequencyExponent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>PVoltage Exponent</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 LOAD_RESPONSE_CHARACTERISTIC__PVOLTAGE_EXPONENT = eINSTANCE.getLoadResponseCharacteristic_PVoltageExponent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Energy Consumer</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 LOAD_RESPONSE_CHARACTERISTIC__ENERGY_CONSUMER = eINSTANCE.getLoadResponseCharacteristic_EnergyConsumer();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.NonConformLoadScheduleImpl <em>Non Conform Load Schedule</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.NonConformLoadScheduleImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getNonConformLoadSchedule()\n\t\t * @generated\n\t\t */\n\t\tEClass NON_CONFORM_LOAD_SCHEDULE = eINSTANCE.getNonConformLoadSchedule();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Non Conform Load Group</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference NON_CONFORM_LOAD_SCHEDULE__NON_CONFORM_LOAD_GROUP = eINSTANCE.getNonConformLoadSchedule_NonConformLoadGroup();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.InductionMotorLoadImpl <em>Induction Motor Load</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.InductionMotorLoadImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getInductionMotorLoad()\n\t\t * @generated\n\t\t */\n\t\tEClass INDUCTION_MOTOR_LOAD = eINSTANCE.getInductionMotorLoad();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.ConformLoadImpl <em>Conform Load</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.ConformLoadImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getConformLoad()\n\t\t * @generated\n\t\t */\n\t\tEClass CONFORM_LOAD = eINSTANCE.getConformLoad();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Load Group</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONFORM_LOAD__LOAD_GROUP = eINSTANCE.getConformLoad_LoadGroup();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.EquivalentNetworkImpl <em>Equivalent Network</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.EquivalentNetworkImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getEquivalentNetwork()\n\t\t * @generated\n\t\t */\n\t\tEClass EQUIVALENT_NETWORK = eINSTANCE.getEquivalentNetwork();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Equivalent Equipments</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 EQUIVALENT_NETWORK__EQUIVALENT_EQUIPMENTS = eINSTANCE.getEquivalentNetwork_EquivalentEquipments();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.EquivalentShuntImpl <em>Equivalent Shunt</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.EquivalentShuntImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getEquivalentShunt()\n\t\t * @generated\n\t\t */\n\t\tEClass EQUIVALENT_SHUNT = eINSTANCE.getEquivalentShunt();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>B</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 EQUIVALENT_SHUNT__B = eINSTANCE.getEquivalentShunt_B();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>G</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 EQUIVALENT_SHUNT__G = eINSTANCE.getEquivalentShunt_G();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.EquivalentEquipmentImpl <em>Equivalent Equipment</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.EquivalentEquipmentImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getEquivalentEquipment()\n\t\t * @generated\n\t\t */\n\t\tEClass EQUIVALENT_EQUIPMENT = eINSTANCE.getEquivalentEquipment();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Equivalent Network</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference EQUIVALENT_EQUIPMENT__EQUIVALENT_NETWORK = eINSTANCE.getEquivalentEquipment_EquivalentNetwork();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.EquivalentBranchImpl <em>Equivalent Branch</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.EquivalentBranchImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getEquivalentBranch()\n\t\t * @generated\n\t\t */\n\t\tEClass EQUIVALENT_BRANCH = eINSTANCE.getEquivalentBranch();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>X</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 EQUIVALENT_BRANCH__X = eINSTANCE.getEquivalentBranch_X();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>R</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 EQUIVALENT_BRANCH__R = eINSTANCE.getEquivalentBranch_R();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.IdentifiedObjectImpl <em>Identified Object</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.IdentifiedObjectImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getIdentifiedObject()\n\t\t * @generated\n\t\t */\n\t\tEClass IDENTIFIED_OBJECT = eINSTANCE.getIdentifiedObject();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Path 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 IDENTIFIED_OBJECT__PATH_NAME = eINSTANCE.getIdentifiedObject_PathName();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Description</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 IDENTIFIED_OBJECT__DESCRIPTION = eINSTANCE.getIdentifiedObject_Description();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Alias 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 IDENTIFIED_OBJECT__ALIAS_NAME = eINSTANCE.getIdentifiedObject_AliasName();\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 IDENTIFIED_OBJECT__NAME = eINSTANCE.getIdentifiedObject_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.TerminalImpl <em>Terminal</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.TerminalImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getTerminal()\n\t\t * @generated\n\t\t */\n\t\tEClass TERMINAL = eINSTANCE.getTerminal();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Measurements</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 TERMINAL__MEASUREMENTS = eINSTANCE.getTerminal_Measurements();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Regulating Control</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 TERMINAL__REGULATING_CONTROL = eINSTANCE.getTerminal_RegulatingControl();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Connectivity Node</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TERMINAL__CONNECTIVITY_NODE = eINSTANCE.getTerminal_ConnectivityNode();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Conducting Equipment</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TERMINAL__CONDUCTING_EQUIPMENT = eINSTANCE.getTerminal_ConductingEquipment();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.BaseVoltageImpl <em>Base Voltage</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.BaseVoltageImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getBaseVoltage()\n\t\t * @generated\n\t\t */\n\t\tEClass BASE_VOLTAGE = eINSTANCE.getBaseVoltage();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Nominal Voltage</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 BASE_VOLTAGE__NOMINAL_VOLTAGE = eINSTANCE.getBaseVoltage_NominalVoltage();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Conducting Equipment</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 BASE_VOLTAGE__CONDUCTING_EQUIPMENT = eINSTANCE.getBaseVoltage_ConductingEquipment();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Voltage Level</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 BASE_VOLTAGE__VOLTAGE_LEVEL = eINSTANCE.getBaseVoltage_VoltageLevel();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.RegularIntervalScheduleImpl <em>Regular Interval Schedule</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.RegularIntervalScheduleImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getRegularIntervalSchedule()\n\t\t * @generated\n\t\t */\n\t\tEClass REGULAR_INTERVAL_SCHEDULE = eINSTANCE.getRegularIntervalSchedule();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>End Time</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 REGULAR_INTERVAL_SCHEDULE__END_TIME = eINSTANCE.getRegularIntervalSchedule_EndTime();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Time Points</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 REGULAR_INTERVAL_SCHEDULE__TIME_POINTS = eINSTANCE.getRegularIntervalSchedule_TimePoints();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Time Step</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 REGULAR_INTERVAL_SCHEDULE__TIME_STEP = eINSTANCE.getRegularIntervalSchedule_TimeStep();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.ConnectivityNodeContainerImpl <em>Connectivity Node Container</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.ConnectivityNodeContainerImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getConnectivityNodeContainer()\n\t\t * @generated\n\t\t */\n\t\tEClass CONNECTIVITY_NODE_CONTAINER = eINSTANCE.getConnectivityNodeContainer();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Connectivity Nodes</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 CONNECTIVITY_NODE_CONTAINER__CONNECTIVITY_NODES = eINSTANCE.getConnectivityNodeContainer_ConnectivityNodes();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.UnitImpl <em>Unit</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.UnitImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getUnit()\n\t\t * @generated\n\t\t */\n\t\tEClass UNIT = eINSTANCE.getUnit();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Measurements</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 UNIT__MEASUREMENTS = eINSTANCE.getUnit_Measurements();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.EquipmentContainerImpl <em>Equipment Container</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.EquipmentContainerImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getEquipmentContainer()\n\t\t * @generated\n\t\t */\n\t\tEClass EQUIPMENT_CONTAINER = eINSTANCE.getEquipmentContainer();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Contains Equipments</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 EQUIPMENT_CONTAINER__CONTAINS_EQUIPMENTS = eINSTANCE.getEquipmentContainer_Contains_Equipments();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.VoltageLevelImpl <em>Voltage Level</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.VoltageLevelImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getVoltageLevel()\n\t\t * @generated\n\t\t */\n\t\tEClass VOLTAGE_LEVEL = eINSTANCE.getVoltageLevel();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Member Of Substation</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference VOLTAGE_LEVEL__MEMBER_OF_SUBSTATION = eINSTANCE.getVoltageLevel_MemberOf_Substation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Low Voltage Limit</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 VOLTAGE_LEVEL__LOW_VOLTAGE_LIMIT = eINSTANCE.getVoltageLevel_LowVoltageLimit();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>High Voltage Limit</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 VOLTAGE_LEVEL__HIGH_VOLTAGE_LIMIT = eINSTANCE.getVoltageLevel_HighVoltageLimit();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Base Voltage</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference VOLTAGE_LEVEL__BASE_VOLTAGE = eINSTANCE.getVoltageLevel_BaseVoltage();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Contains Bays</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 VOLTAGE_LEVEL__CONTAINS_BAYS = eINSTANCE.getVoltageLevel_Contains_Bays();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.BayImpl <em>Bay</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.BayImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getBay()\n\t\t * @generated\n\t\t */\n\t\tEClass BAY = eINSTANCE.getBay();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Member Of Voltage Level</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference BAY__MEMBER_OF_VOLTAGE_LEVEL = eINSTANCE.getBay_MemberOf_VoltageLevel();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.SubGeographicalRegionImpl <em>Sub Geographical Region</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.SubGeographicalRegionImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getSubGeographicalRegion()\n\t\t * @generated\n\t\t */\n\t\tEClass SUB_GEOGRAPHICAL_REGION = eINSTANCE.getSubGeographicalRegion();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Region</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference SUB_GEOGRAPHICAL_REGION__REGION = eINSTANCE.getSubGeographicalRegion_Region();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Lines</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 SUB_GEOGRAPHICAL_REGION__LINES = eINSTANCE.getSubGeographicalRegion_Lines();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Substations</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 SUB_GEOGRAPHICAL_REGION__SUBSTATIONS = eINSTANCE.getSubGeographicalRegion_Substations();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.RegularTimePointImpl <em>Regular Time Point</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.RegularTimePointImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getRegularTimePoint()\n\t\t * @generated\n\t\t */\n\t\tEClass REGULAR_TIME_POINT = eINSTANCE.getRegularTimePoint();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value1</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 REGULAR_TIME_POINT__VALUE1 = eINSTANCE.getRegularTimePoint_Value1();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Sequence Number</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 REGULAR_TIME_POINT__SEQUENCE_NUMBER = eINSTANCE.getRegularTimePoint_SequenceNumber();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value2</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 REGULAR_TIME_POINT__VALUE2 = eINSTANCE.getRegularTimePoint_Value2();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Interval Schedule</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference REGULAR_TIME_POINT__INTERVAL_SCHEDULE = eINSTANCE.getRegularTimePoint_IntervalSchedule();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.EquipmentImpl <em>Equipment</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.EquipmentImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getEquipment()\n\t\t * @generated\n\t\t */\n\t\tEClass EQUIPMENT = eINSTANCE.getEquipment();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Member Of Equipment Container</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference EQUIPMENT__MEMBER_OF_EQUIPMENT_CONTAINER = eINSTANCE.getEquipment_MemberOf_EquipmentContainer();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Operational Limit Set</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 EQUIPMENT__OPERATIONAL_LIMIT_SET = eINSTANCE.getEquipment_OperationalLimitSet();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.SubstationImpl <em>Substation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.SubstationImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getSubstation()\n\t\t * @generated\n\t\t */\n\t\tEClass SUBSTATION = eINSTANCE.getSubstation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Region</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference SUBSTATION__REGION = eINSTANCE.getSubstation_Region();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Contains Voltage Levels</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 SUBSTATION__CONTAINS_VOLTAGE_LEVELS = eINSTANCE.getSubstation_Contains_VoltageLevels();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.CurveImpl <em>Curve</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.CurveImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getCurve()\n\t\t * @generated\n\t\t */\n\t\tEClass CURVE = eINSTANCE.getCurve();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Y2 Unit</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 CURVE__Y2_UNIT = eINSTANCE.getCurve_Y2Unit();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>XUnit</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 CURVE__XUNIT = eINSTANCE.getCurve_XUnit();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Curve Schedule Datas</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 CURVE__CURVE_SCHEDULE_DATAS = eINSTANCE.getCurve_CurveScheduleDatas();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Curve Style</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 CURVE__CURVE_STYLE = eINSTANCE.getCurve_CurveStyle();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Y1 Unit</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 CURVE__Y1_UNIT = eINSTANCE.getCurve_Y1Unit();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.PowerSystemResourceImpl <em>Power System Resource</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.PowerSystemResourceImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getPowerSystemResource()\n\t\t * @generated\n\t\t */\n\t\tEClass POWER_SYSTEM_RESOURCE = eINSTANCE.getPowerSystemResource();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Contains Measurements</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 POWER_SYSTEM_RESOURCE__CONTAINS_MEASUREMENTS = eINSTANCE.getPowerSystemResource_Contains_Measurements();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.BasicIntervalScheduleImpl <em>Basic Interval Schedule</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.BasicIntervalScheduleImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getBasicIntervalSchedule()\n\t\t * @generated\n\t\t */\n\t\tEClass BASIC_INTERVAL_SCHEDULE = eINSTANCE.getBasicIntervalSchedule();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Start Time</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 BASIC_INTERVAL_SCHEDULE__START_TIME = eINSTANCE.getBasicIntervalSchedule_StartTime();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value1 Unit</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 BASIC_INTERVAL_SCHEDULE__VALUE1_UNIT = eINSTANCE.getBasicIntervalSchedule_Value1Unit();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value2 Unit</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 BASIC_INTERVAL_SCHEDULE__VALUE2_UNIT = eINSTANCE.getBasicIntervalSchedule_Value2Unit();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.CurveDataImpl <em>Curve Data</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.CurveDataImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getCurveData()\n\t\t * @generated\n\t\t */\n\t\tEClass CURVE_DATA = eINSTANCE.getCurveData();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Y2value</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 CURVE_DATA__Y2VALUE = eINSTANCE.getCurveData_Y2value();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Xvalue</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 CURVE_DATA__XVALUE = eINSTANCE.getCurveData_Xvalue();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Y1value</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 CURVE_DATA__Y1VALUE = eINSTANCE.getCurveData_Y1value();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Curve Schedule</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CURVE_DATA__CURVE_SCHEDULE = eINSTANCE.getCurveData_CurveSchedule();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.GeographicalRegionImpl <em>Geographical Region</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.GeographicalRegionImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getGeographicalRegion()\n\t\t * @generated\n\t\t */\n\t\tEClass GEOGRAPHICAL_REGION = eINSTANCE.getGeographicalRegion();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Regions</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 GEOGRAPHICAL_REGION__REGIONS = eINSTANCE.getGeographicalRegion_Regions();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.ConductingEquipmentImpl <em>Conducting Equipment</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.ConductingEquipmentImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getConductingEquipment()\n\t\t * @generated\n\t\t */\n\t\tEClass CONDUCTING_EQUIPMENT = eINSTANCE.getConductingEquipment();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Base Voltage</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONDUCTING_EQUIPMENT__BASE_VOLTAGE = eINSTANCE.getConductingEquipment_BaseVoltage();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Terminals</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 CONDUCTING_EQUIPMENT__TERMINALS = eINSTANCE.getConductingEquipment_Terminals();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.ControlAreaImpl <em>Control Area</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.ControlAreaImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getControlArea()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTROL_AREA = eINSTANCE.getControlArea();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Control Area Generating Unit</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 CONTROL_AREA__CONTROL_AREA_GENERATING_UNIT = eINSTANCE.getControlArea_ControlAreaGeneratingUnit();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Net Interchange</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 CONTROL_AREA__NET_INTERCHANGE = eINSTANCE.getControlArea_NetInterchange();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Energy Area</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTROL_AREA__ENERGY_AREA = eINSTANCE.getControlArea_EnergyArea();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Tie Flow</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 CONTROL_AREA__TIE_FLOW = eINSTANCE.getControlArea_TieFlow();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</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 CONTROL_AREA__TYPE = eINSTANCE.getControlArea_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.TieFlowImpl <em>Tie Flow</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.TieFlowImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getTieFlow()\n\t\t * @generated\n\t\t */\n\t\tEClass TIE_FLOW = eINSTANCE.getTieFlow();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Control Area</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TIE_FLOW__CONTROL_AREA = eINSTANCE.getTieFlow_ControlArea();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Positive Flow In</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 TIE_FLOW__POSITIVE_FLOW_IN = eINSTANCE.getTieFlow_PositiveFlowIn();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.ControlAreaGeneratingUnitImpl <em>Control Area Generating Unit</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.ControlAreaGeneratingUnitImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getControlAreaGeneratingUnit()\n\t\t * @generated\n\t\t */\n\t\tEClass CONTROL_AREA_GENERATING_UNIT = eINSTANCE.getControlAreaGeneratingUnit();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Control Area</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTROL_AREA_GENERATING_UNIT__CONTROL_AREA = eINSTANCE.getControlAreaGeneratingUnit_ControlArea();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Generating Unit</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONTROL_AREA_GENERATING_UNIT__GENERATING_UNIT = eINSTANCE.getControlAreaGeneratingUnit_GeneratingUnit();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.impl.ConnectivityNodeImpl <em>Connectivity Node</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.ConnectivityNodeImpl\n\t\t * @see CPSM.impl.CPSMPackageImpl#getConnectivityNode()\n\t\t * @generated\n\t\t */\n\t\tEClass CONNECTIVITY_NODE = eINSTANCE.getConnectivityNode();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Terminals</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 CONNECTIVITY_NODE__TERMINALS = eINSTANCE.getConnectivityNode_Terminals();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Member Of Equipment Container</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONNECTIVITY_NODE__MEMBER_OF_EQUIPMENT_CONTAINER = eINSTANCE.getConnectivityNode_MemberOf_EquipmentContainer();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.GeneratorControlSource <em>Generator Control Source</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.GeneratorControlSource\n\t\t * @see CPSM.impl.CPSMPackageImpl#getGeneratorControlSource()\n\t\t * @generated\n\t\t */\n\t\tEEnum GENERATOR_CONTROL_SOURCE = eINSTANCE.getGeneratorControlSource();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.SynchronousMachineOperatingMode <em>Synchronous Machine Operating Mode</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.SynchronousMachineOperatingMode\n\t\t * @see CPSM.impl.CPSMPackageImpl#getSynchronousMachineOperatingMode()\n\t\t * @generated\n\t\t */\n\t\tEEnum SYNCHRONOUS_MACHINE_OPERATING_MODE = eINSTANCE.getSynchronousMachineOperatingMode();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.TapChangerKind <em>Tap Changer Kind</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.TapChangerKind\n\t\t * @see CPSM.impl.CPSMPackageImpl#getTapChangerKind()\n\t\t * @generated\n\t\t */\n\t\tEEnum TAP_CHANGER_KIND = eINSTANCE.getTapChangerKind();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.SVCControlMode <em>SVC Control Mode</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.SVCControlMode\n\t\t * @see CPSM.impl.CPSMPackageImpl#getSVCControlMode()\n\t\t * @generated\n\t\t */\n\t\tEEnum SVC_CONTROL_MODE = eINSTANCE.getSVCControlMode();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.WindingType <em>Winding Type</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.WindingType\n\t\t * @see CPSM.impl.CPSMPackageImpl#getWindingType()\n\t\t * @generated\n\t\t */\n\t\tEEnum WINDING_TYPE = eINSTANCE.getWindingType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.SynchronousMachineType <em>Synchronous Machine Type</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.SynchronousMachineType\n\t\t * @see CPSM.impl.CPSMPackageImpl#getSynchronousMachineType()\n\t\t * @generated\n\t\t */\n\t\tEEnum SYNCHRONOUS_MACHINE_TYPE = eINSTANCE.getSynchronousMachineType();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.TransformerControlMode <em>Transformer Control Mode</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.TransformerControlMode\n\t\t * @see CPSM.impl.CPSMPackageImpl#getTransformerControlMode()\n\t\t * @generated\n\t\t */\n\t\tEEnum TRANSFORMER_CONTROL_MODE = eINSTANCE.getTransformerControlMode();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.SeasonName <em>Season Name</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.SeasonName\n\t\t * @see CPSM.impl.CPSMPackageImpl#getSeasonName()\n\t\t * @generated\n\t\t */\n\t\tEEnum SEASON_NAME = eINSTANCE.getSeasonName();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.CurveStyle <em>Curve Style</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.CurveStyle\n\t\t * @see CPSM.impl.CPSMPackageImpl#getCurveStyle()\n\t\t * @generated\n\t\t */\n\t\tEEnum CURVE_STYLE = eINSTANCE.getCurveStyle();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.ControlAreaTypeKind <em>Control Area Type Kind</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.ControlAreaTypeKind\n\t\t * @see CPSM.impl.CPSMPackageImpl#getControlAreaTypeKind()\n\t\t * @generated\n\t\t */\n\t\tEEnum CONTROL_AREA_TYPE_KIND = eINSTANCE.getControlAreaTypeKind();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link CPSM.UnitSymbol <em>Unit Symbol</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.UnitSymbol\n\t\t * @see CPSM.impl.CPSMPackageImpl#getUnitSymbol()\n\t\t * @generated\n\t\t */\n\t\tEEnum UNIT_SYMBOL = eINSTANCE.getUnitSymbol();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>Current Flow</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.CPSMPackageImpl#getCurrentFlow()\n\t\t * @generated\n\t\t */\n\t\tEDataType CURRENT_FLOW = eINSTANCE.getCurrentFlow();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>Active Power</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.CPSMPackageImpl#getActivePower()\n\t\t * @generated\n\t\t */\n\t\tEDataType ACTIVE_POWER = eINSTANCE.getActivePower();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>Seconds</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.CPSMPackageImpl#getSeconds()\n\t\t * @generated\n\t\t */\n\t\tEDataType SECONDS = eINSTANCE.getSeconds();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>Susceptance</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.CPSMPackageImpl#getSusceptance()\n\t\t * @generated\n\t\t */\n\t\tEDataType SUSCEPTANCE = eINSTANCE.getSusceptance();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>Conductance</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.CPSMPackageImpl#getConductance()\n\t\t * @generated\n\t\t */\n\t\tEDataType CONDUCTANCE = eINSTANCE.getConductance();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>Resistance</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.CPSMPackageImpl#getResistance()\n\t\t * @generated\n\t\t */\n\t\tEDataType RESISTANCE = eINSTANCE.getResistance();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>Per Cent</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.CPSMPackageImpl#getPerCent()\n\t\t * @generated\n\t\t */\n\t\tEDataType PER_CENT = eINSTANCE.getPerCent();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>Reactive Power</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.CPSMPackageImpl#getReactivePower()\n\t\t * @generated\n\t\t */\n\t\tEDataType REACTIVE_POWER = eINSTANCE.getReactivePower();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>Angle Degrees</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.CPSMPackageImpl#getAngleDegrees()\n\t\t * @generated\n\t\t */\n\t\tEDataType ANGLE_DEGREES = eINSTANCE.getAngleDegrees();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>Voltage</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.CPSMPackageImpl#getVoltage()\n\t\t * @generated\n\t\t */\n\t\tEDataType VOLTAGE = eINSTANCE.getVoltage();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>Apparent Power</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.CPSMPackageImpl#getApparentPower()\n\t\t * @generated\n\t\t */\n\t\tEDataType APPARENT_POWER = eINSTANCE.getApparentPower();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>Reactance</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.CPSMPackageImpl#getReactance()\n\t\t * @generated\n\t\t */\n\t\tEDataType REACTANCE = eINSTANCE.getReactance();\n\n\t\t/**\n\t\t * The meta object literal for the '<em>Voltage Per Reactive Power</em>' data type.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see CPSM.impl.CPSMPackageImpl#getVoltagePerReactivePower()\n\t\t * @generated\n\t\t */\n\t\tEDataType VOLTAGE_PER_REACTIVE_POWER = eINSTANCE.getVoltagePerReactivePower();\n\n\t}", "interface Literals\n {\n /**\n * The meta object literal for the '{@link com.soluvas.glproto.glproto.impl.ModelImpl <em>Model</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see com.soluvas.glproto.glproto.impl.ModelImpl\n * @see com.soluvas.glproto.glproto.impl.GlprotoPackageImpl#getModel()\n * @generated\n */\n EClass MODEL = eINSTANCE.getModel();\n\n /**\n * The meta object literal for the '<em><b>Package</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute MODEL__PACKAGE = eINSTANCE.getModel_Package();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute MODEL__NAME = eINSTANCE.getModel_Name();\n\n /**\n * The meta object literal for the '<em><b>Packages</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference MODEL__PACKAGES = eINSTANCE.getModel_Packages();\n\n /**\n * The meta object literal for the '{@link com.soluvas.glproto.glproto.impl.PackageImpl <em>Package</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see com.soluvas.glproto.glproto.impl.PackageImpl\n * @see com.soluvas.glproto.glproto.impl.GlprotoPackageImpl#getPackage()\n * @generated\n */\n EClass PACKAGE = eINSTANCE.getPackage();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute PACKAGE__NAME = eINSTANCE.getPackage_Name();\n\n /**\n * The meta object literal for the '<em><b>Files</b></em>' containment reference list feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EReference PACKAGE__FILES = eINSTANCE.getPackage_Files();\n\n /**\n * The meta object literal for the '{@link com.soluvas.glproto.glproto.impl.FileImpl <em>File</em>}' class.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @see com.soluvas.glproto.glproto.impl.FileImpl\n * @see com.soluvas.glproto.glproto.impl.GlprotoPackageImpl#getFile()\n * @generated\n */\n EClass FILE = eINSTANCE.getFile();\n\n /**\n * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n EAttribute FILE__NAME = eINSTANCE.getFile_Name();\n\n }", "public static void main(String[] args){\n All_in_One<String> nama = new All_in_One<>();\r\n nama.setManusia(\"Wildan\");\r\n System.out.println(\"Nama Saya: \"+nama.getManusia());\r\n \r\n //Membuat Instance dan Mendefinisikan Tipe Data Integer\r\n All_in_One<Integer> umur = new All_in_One<>();\r\n umur.setManusia(19);\r\n System.out.println(\"Usia Saya: \"+umur.getManusia()+\" Tahun\");\r\n \r\n //Membuat Instance dan Mendefinisikan Tipe Data Boolean\r\n All_in_One<Boolean> kondisi = new All_in_One<>();\r\n kondisi.setManusia(true);\r\n System.out.println(\"Saya Sedang Belajar Java: \"+kondisi.getManusia());\r\n \r\n //Membuat Instance dan Mendefinisikan Tipe Data Float\r\n All_in_One<Float> IPK = new All_in_One<>();\r\n IPK.setManusia(3.5f);\r\n System.out.println(\"Nilai IPK Saya: \"+IPK.getManusia());\r\n \r\n //Membuat Instance dan Mendefinisikan Tipe Data Character\r\n All_in_One<Character> Karakter = new All_in_One<>();\r\n Karakter.setManusia('W');\r\n System.out.println(\"Huruf Awalan Nama Saya Adalah: \"+Karakter.getManusia());\r\n }", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link org.obeonetwork.dsl.statemachine.impl.NamedElementImpl <em>Named Element</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.obeonetwork.dsl.statemachine.impl.NamedElementImpl\n\t\t * @see org.obeonetwork.dsl.statemachine.impl.StateMachinePackageImpl#getNamedElement()\n\t\t * @generated\n\t\t */\n\t\tEClass NAMED_ELEMENT = eINSTANCE.getNamedElement();\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 NAMED_ELEMENT__NAME = eINSTANCE.getNamedElement_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.obeonetwork.dsl.statemachine.impl.StateMachineImpl <em>State Machine</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.obeonetwork.dsl.statemachine.impl.StateMachineImpl\n\t\t * @see org.obeonetwork.dsl.statemachine.impl.StateMachinePackageImpl#getStateMachine()\n\t\t * @generated\n\t\t */\n\t\tEClass STATE_MACHINE = eINSTANCE.getStateMachine();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Regions</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 STATE_MACHINE__REGIONS = eINSTANCE.getStateMachine_Regions();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.obeonetwork.dsl.statemachine.impl.StateImpl <em>State</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.obeonetwork.dsl.statemachine.impl.StateImpl\n\t\t * @see org.obeonetwork.dsl.statemachine.impl.StateMachinePackageImpl#getState()\n\t\t * @generated\n\t\t */\n\t\tEClass STATE = eINSTANCE.getState();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.obeonetwork.dsl.statemachine.impl.StateMachineDescriptionImpl <em>Description</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.obeonetwork.dsl.statemachine.impl.StateMachineDescriptionImpl\n\t\t * @see org.obeonetwork.dsl.statemachine.impl.StateMachinePackageImpl#getStateMachineDescription()\n\t\t * @generated\n\t\t */\n\t\tEClass STATE_MACHINE_DESCRIPTION = eINSTANCE.getStateMachineDescription();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>States</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 STATE_MACHINE_DESCRIPTION__STATES = eINSTANCE.getStateMachineDescription_States();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Transitions</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 STATE_MACHINE_DESCRIPTION__TRANSITIONS = eINSTANCE.getStateMachineDescription_Transitions();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.obeonetwork.dsl.statemachine.impl.RegionImpl <em>Region</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.obeonetwork.dsl.statemachine.impl.RegionImpl\n\t\t * @see org.obeonetwork.dsl.statemachine.impl.StateMachinePackageImpl#getRegion()\n\t\t * @generated\n\t\t */\n\t\tEClass REGION = eINSTANCE.getRegion();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.obeonetwork.dsl.statemachine.impl.AbstractStateImpl <em>Abstract State</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.obeonetwork.dsl.statemachine.impl.AbstractStateImpl\n\t\t * @see org.obeonetwork.dsl.statemachine.impl.StateMachinePackageImpl#getAbstractState()\n\t\t * @generated\n\t\t */\n\t\tEClass ABSTRACT_STATE = eINSTANCE.getAbstractState();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Incoming Transitions</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 ABSTRACT_STATE__INCOMING_TRANSITIONS = eINSTANCE.getAbstractState_IncomingTransitions();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Outcoming Transitions</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 ABSTRACT_STATE__OUTCOMING_TRANSITIONS = eINSTANCE.getAbstractState_OutcomingTransitions();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.obeonetwork.dsl.statemachine.impl.TransitionImpl <em>Transition</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.obeonetwork.dsl.statemachine.impl.TransitionImpl\n\t\t * @see org.obeonetwork.dsl.statemachine.impl.StateMachinePackageImpl#getTransition()\n\t\t * @generated\n\t\t */\n\t\tEClass TRANSITION = eINSTANCE.getTransition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Guard</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 TRANSITION__GUARD = eINSTANCE.getTransition_Guard();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TRANSITION__FROM = eINSTANCE.getTransition_From();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>To</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TRANSITION__TO = eINSTANCE.getTransition_To();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.obeonetwork.dsl.statemachine.impl.InitialStateImpl <em>Initial State</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.obeonetwork.dsl.statemachine.impl.InitialStateImpl\n\t\t * @see org.obeonetwork.dsl.statemachine.impl.StateMachinePackageImpl#getInitialState()\n\t\t * @generated\n\t\t */\n\t\tEClass INITIAL_STATE = eINSTANCE.getInitialState();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link org.obeonetwork.dsl.statemachine.impl.FinalStateImpl <em>Final State</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see org.obeonetwork.dsl.statemachine.impl.FinalStateImpl\n\t\t * @see org.obeonetwork.dsl.statemachine.impl.StateMachinePackageImpl#getFinalState()\n\t\t * @generated\n\t\t */\n\t\tEClass FINAL_STATE = eINSTANCE.getFinalState();\n\n\t}", "private void addStaticInitAndConstructors() {\n MethodNode mn = new MethodNode(ASM5, ACC_STATIC, \"<clinit>\", \"()V\", null, null);\n InsnList il = mn.instructions;\n il.add(new MethodInsnNode(INVOKESTATIC, \n \"org/apache/uima/type_system/impl/TypeSystemImpl\", \n \"getTypeImplBeingLoaded\", \n \"()Lorg/apache/uima/type_system/impl/TypeImpl;\", \n false));\n il.add(new FieldInsnNode(PUTSTATIC, \n \"pkg/sample/name/SeeSample\", \n \"_typeImpl\", \n \"Lorg/apache/uima/type_system/impl/TypeImpl;\"));\n il.add(new InsnNode(RETURN));\n mn.maxStack = 1;\n mn.maxLocals = 0;\n cn.methods.add(mn);\n \n // instance constructors method\n \n mn = new MethodNode(ACC_PUBLIC, \"<init>\", \"(ILorg/apache/uima/jcas/cas/TOP_Type;)V\", null, null);\n il = mn.instructions;\n il.add(new VarInsnNode(ALOAD, 0));\n il.add(new VarInsnNode(ILOAD, 1));\n il.add(new VarInsnNode(ALOAD, 2));\n il.add(new MethodInsnNode(INVOKESPECIAL, \"org/apache/uima/jcas/tcas/Annotation\", \"<init>\", \"(ILorg/apache/uima/jcas/cas/TOP_Type;)V\", false));\n il.add(new InsnNode(RETURN));\n mn.maxStack = 3;\n mn.maxLocals = 3;\n cn.methods.add(mn);\n \n mn = new MethodNode(ACC_PUBLIC, \"<init>\", \"(Lorg/apache/uima/jcas/JCas;)V\", null, null);\n il = mn.instructions;\n il.add(new VarInsnNode(ALOAD, 0));\n il.add(new VarInsnNode(ALOAD, 1));\n il.add(new MethodInsnNode(INVOKESPECIAL, \"org/apache/uima/jcas/tcas/Annotation\", \"<init>\", \"(Lorg/apache/uima/jcas/JCas;)V\", false));\n il.add(new InsnNode(RETURN));\n mn.maxStack = 2;\n mn.maxLocals = 2;\n cn.methods.add(mn);\n \n // constructor for annotation\n if (type.isAnnotation) {\n mn = new MethodNode(ACC_PUBLIC, \"<init>\", \"(Lorg/apache/uima/jcas/JCas;II)V\", null, null);\n il = mn.instructions;\n il.add(new VarInsnNode(ALOAD, 0));\n il.add(new VarInsnNode(ALOAD, 1));\n il.add(new MethodInsnNode(INVOKESPECIAL, \"org/apache/uima/jcas/tcas/Annotation\", \"<init>\", \"(Lorg/apache/uima/jcas/JCas;)V\", false));\n il.add(new VarInsnNode(ALOAD, 0));\n il.add(new VarInsnNode(ILOAD, 2));\n il.add(new MethodInsnNode(INVOKEVIRTUAL, \"org/apache/uima/tutorial/RoomNumberv3\", \"setBegin\", \"(I)V\", false));\n il.add(new VarInsnNode(ALOAD, 0));\n il.add(new VarInsnNode(ILOAD, 3));\n il.add(new MethodInsnNode(INVOKEVIRTUAL, \"org/apache/uima/tutorial/RoomNumberv3\", \"setEnd\", \"(I)V\", false));\n il.add(new InsnNode(RETURN));\n mn.maxStack = 2;\n mn.maxLocals = 4;\n cn.methods.add(mn);\n }\n }", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.impl.AplicacionImpl <em>Aplicacion</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.impl.AplicacionImpl\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getAplicacion()\n\t\t * @generated\n\t\t */\n\t\tEClass APLICACION = eINSTANCE.getAplicacion();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Smartcontract</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 APLICACION__SMARTCONTRACT = eINSTANCE.getAplicacion_Smartcontract();\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 APLICACION__NAME = eINSTANCE.getAplicacion_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Tipodato</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 APLICACION__TIPODATO = eINSTANCE.getAplicacion_Tipodato();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.impl.EntidadImpl <em>Entidad</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.impl.EntidadImpl\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getEntidad()\n\t\t * @generated\n\t\t */\n\t\tEClass ENTIDAD = eINSTANCE.getEntidad();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Atributos</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 ENTIDAD__ATRIBUTOS = eINSTANCE.getEntidad_Atributos();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.impl.AtributoImpl <em>Atributo</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.impl.AtributoImpl\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getAtributo()\n\t\t * @generated\n\t\t */\n\t\tEClass ATRIBUTO = eINSTANCE.getAtributo();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Tipodato</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ATRIBUTO__TIPODATO = eINSTANCE.getAtributo_Tipodato();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.impl.SmartContractImpl <em>Smart Contract</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.impl.SmartContractImpl\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getSmartContract()\n\t\t * @generated\n\t\t */\n\t\tEClass SMART_CONTRACT = eINSTANCE.getSmartContract();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Entidades</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 SMART_CONTRACT__ENTIDADES = eINSTANCE.getSmartContract_Entidades();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Operaciones</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 SMART_CONTRACT__OPERACIONES = eINSTANCE.getSmartContract_Operaciones();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Estado</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 SMART_CONTRACT__ESTADO = eINSTANCE.getSmartContract_Estado();\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 SMART_CONTRACT__NAME = eINSTANCE.getSmartContract_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.impl.OperacionImpl <em>Operacion</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.impl.OperacionImpl\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getOperacion()\n\t\t * @generated\n\t\t */\n\t\tEClass OPERACION = eINSTANCE.getOperacion();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Parametros</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 OPERACION__PARAMETROS = eINSTANCE.getOperacion_Parametros();\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 OPERACION__NAME = eINSTANCE.getOperacion_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Es User Defined</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 OPERACION__ES_USER_DEFINED = eINSTANCE.getOperacion_EsUserDefined();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Retorno</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference OPERACION__RETORNO = eINSTANCE.getOperacion_Retorno();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Lineas</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 OPERACION__LINEAS = eINSTANCE.getOperacion_Lineas();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.impl.ParametroImpl <em>Parametro</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.impl.ParametroImpl\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getParametro()\n\t\t * @generated\n\t\t */\n\t\tEClass PARAMETRO = eINSTANCE.getParametro();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Tipodato</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference PARAMETRO__TIPODATO = eINSTANCE.getParametro_Tipodato();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.impl.EstadoImpl <em>Estado</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.impl.EstadoImpl\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getEstado()\n\t\t * @generated\n\t\t */\n\t\tEClass ESTADO = eINSTANCE.getEstado();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Tipodato</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ESTADO__TIPODATO = eINSTANCE.getEstado_Tipodato();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.Sentencia <em>Sentencia</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.Sentencia\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getSentencia()\n\t\t * @generated\n\t\t */\n\t\tEClass SENTENCIA = eINSTANCE.getSentencia();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.impl.ExpresionLogicaImpl <em>Expresion Logica</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.impl.ExpresionLogicaImpl\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getExpresionLogica()\n\t\t * @generated\n\t\t */\n\t\tEClass EXPRESION_LOGICA = eINSTANCE.getExpresionLogica();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Operador</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 EXPRESION_LOGICA__OPERADOR = eINSTANCE.getExpresionLogica_Operador();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.impl.PrimitivoImpl <em>Primitivo</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.impl.PrimitivoImpl\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getPrimitivo()\n\t\t * @generated\n\t\t */\n\t\tEClass PRIMITIVO = eINSTANCE.getPrimitivo();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Tipo</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 PRIMITIVO__TIPO = eINSTANCE.getPrimitivo_Tipo();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.impl.TipoDatoImpl <em>Tipo Dato</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.impl.TipoDatoImpl\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getTipoDato()\n\t\t * @generated\n\t\t */\n\t\tEClass TIPO_DATO = eINSTANCE.getTipoDato();\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 TIPO_DATO__NAME = eINSTANCE.getTipoDato_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.impl.ExpresionAritmeticaImpl <em>Expresion Aritmetica</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.impl.ExpresionAritmeticaImpl\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getExpresionAritmetica()\n\t\t * @generated\n\t\t */\n\t\tEClass EXPRESION_ARITMETICA = eINSTANCE.getExpresionAritmetica();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Operador</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 EXPRESION_ARITMETICA__OPERADOR = eINSTANCE.getExpresionAritmetica_Operador();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.impl.VariableImpl <em>Variable</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.impl.VariableImpl\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getVariable()\n\t\t * @generated\n\t\t */\n\t\tEClass VARIABLE = eINSTANCE.getVariable();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Tipodato</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference VARIABLE__TIPODATO = eINSTANCE.getVariable_Tipodato();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.impl.MapaImpl <em>Mapa</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.impl.MapaImpl\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getMapa()\n\t\t * @generated\n\t\t */\n\t\tEClass MAPA = eINSTANCE.getMapa();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Tipo Dato Key</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference MAPA__TIPO_DATO_KEY = eINSTANCE.getMapa_TipoDatoKey();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Tipo Dato Value</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference MAPA__TIPO_DATO_VALUE = eINSTANCE.getMapa_TipoDatoValue();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.impl.IfImpl <em>If</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.impl.IfImpl\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getIf()\n\t\t * @generated\n\t\t */\n\t\tEClass IF = eINSTANCE.getIf();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Expresionlogica</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference IF__EXPRESIONLOGICA = eINSTANCE.getIf_Expresionlogica();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Lineas</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 IF__LINEAS = eINSTANCE.getIf_Lineas();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Else Lines</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference IF__ELSE_LINES = eINSTANCE.getIf_ElseLines();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.Expresion <em>Expresion</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.Expresion\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getExpresion()\n\t\t * @generated\n\t\t */\n\t\tEClass EXPRESION = eINSTANCE.getExpresion();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.impl.ExpresionNumericaDoubleImpl <em>Expresion Numerica Double</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.impl.ExpresionNumericaDoubleImpl\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getExpresionNumericaDouble()\n\t\t * @generated\n\t\t */\n\t\tEClass EXPRESION_NUMERICA_DOUBLE = eINSTANCE.getExpresionNumericaDouble();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</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 EXPRESION_NUMERICA_DOUBLE__VALUE = eINSTANCE.getExpresionNumericaDouble_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.impl.ExpresionTextoImpl <em>Expresion Texto</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.impl.ExpresionTextoImpl\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getExpresionTexto()\n\t\t * @generated\n\t\t */\n\t\tEClass EXPRESION_TEXTO = eINSTANCE.getExpresionTexto();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</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 EXPRESION_TEXTO__VALUE = eINSTANCE.getExpresionTexto_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.impl.ExpresionBooleanImpl <em>Expresion Boolean</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.impl.ExpresionBooleanImpl\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getExpresionBoolean()\n\t\t * @generated\n\t\t */\n\t\tEClass EXPRESION_BOOLEAN = eINSTANCE.getExpresionBoolean();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</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 EXPRESION_BOOLEAN__VALUE = eINSTANCE.getExpresionBoolean_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.impl.ExpresionReferenciadaImpl <em>Expresion Referenciada</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.impl.ExpresionReferenciadaImpl\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getExpresionReferenciada()\n\t\t * @generated\n\t\t */\n\t\tEClass EXPRESION_REFERENCIADA = eINSTANCE.getExpresionReferenciada();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Id</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 EXPRESION_REFERENCIADA__ID = eINSTANCE.getExpresionReferenciada_Id();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Referencia</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference EXPRESION_REFERENCIADA__REFERENCIA = eINSTANCE.getExpresionReferenciada_Referencia();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.impl.ExpresionRelacionalImpl <em>Expresion Relacional</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.impl.ExpresionRelacionalImpl\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getExpresionRelacional()\n\t\t * @generated\n\t\t */\n\t\tEClass EXPRESION_RELACIONAL = eINSTANCE.getExpresionRelacional();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Operador Relacional</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 EXPRESION_RELACIONAL__OPERADOR_RELACIONAL = eINSTANCE.getExpresionRelacional_OperadorRelacional();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.impl.ExpresionBinariaImpl <em>Expresion Binaria</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.impl.ExpresionBinariaImpl\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getExpresionBinaria()\n\t\t * @generated\n\t\t */\n\t\tEClass EXPRESION_BINARIA = eINSTANCE.getExpresionBinaria();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Izq</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference EXPRESION_BINARIA__IZQ = eINSTANCE.getExpresionBinaria_Izq();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Der</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference EXPRESION_BINARIA__DER = eINSTANCE.getExpresionBinaria_Der();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.Linea <em>Linea</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.Linea\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getLinea()\n\t\t * @generated\n\t\t */\n\t\tEClass LINEA = eINSTANCE.getLinea();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.impl.NamedElementImpl <em>Named Element</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.impl.NamedElementImpl\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getNamedElement()\n\t\t * @generated\n\t\t */\n\t\tEClass NAMED_ELEMENT = eINSTANCE.getNamedElement();\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 NAMED_ELEMENT__NAME = eINSTANCE.getNamedElement_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.impl.ElseImpl <em>Else</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.impl.ElseImpl\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getElse()\n\t\t * @generated\n\t\t */\n\t\tEClass ELSE = eINSTANCE.getElse();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Lineas</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 ELSE__LINEAS = eINSTANCE.getElse_Lineas();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.impl.RetornoImpl <em>Retorno</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.impl.RetornoImpl\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getRetorno()\n\t\t * @generated\n\t\t */\n\t\tEClass RETORNO = eINSTANCE.getRetorno();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Linea Retorno</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 RETORNO__LINEA_RETORNO = eINSTANCE.getRetorno_LineaRetorno();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.impl.ExpresionNumericaIntImpl <em>Expresion Numerica Int</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.impl.ExpresionNumericaIntImpl\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getExpresionNumericaInt()\n\t\t * @generated\n\t\t */\n\t\tEClass EXPRESION_NUMERICA_INT = eINSTANCE.getExpresionNumericaInt();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Value</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 EXPRESION_NUMERICA_INT__VALUE = eINSTANCE.getExpresionNumericaInt_Value();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.OperadorLogico <em>Operador Logico</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.OperadorLogico\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getOperadorLogico()\n\t\t * @generated\n\t\t */\n\t\tEEnum OPERADOR_LOGICO = eINSTANCE.getOperadorLogico();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.Operador <em>Operador</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.Operador\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getOperador()\n\t\t * @generated\n\t\t */\n\t\tEEnum OPERADOR = eINSTANCE.getOperador();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.DatoPrimitivo <em>Dato Primitivo</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.DatoPrimitivo\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getDatoPrimitivo()\n\t\t * @generated\n\t\t */\n\t\tEEnum DATO_PRIMITIVO = eINSTANCE.getDatoPrimitivo();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link blockchain.OperadorRelacion <em>Operador Relacion</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see blockchain.OperadorRelacion\n\t\t * @see blockchain.impl.BlockchainPackageImpl#getOperadorRelacion()\n\t\t * @generated\n\t\t */\n\t\tEEnum OPERADOR_RELACION = eINSTANCE.getOperadorRelacion();\n\n\t}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link subkdm.kdmRelations.impl.AbstractCodeRelationshipImpl <em>Abstract Code Relationship</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see subkdm.kdmRelations.impl.AbstractCodeRelationshipImpl\n\t\t * @see subkdm.kdmRelations.impl.KdmRelationsPackageImpl#getAbstractCodeRelationship()\n\t\t * @generated\n\t\t */\n\t\tEClass ABSTRACT_CODE_RELATIONSHIP = eINSTANCE.getAbstractCodeRelationship();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>To</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ABSTRACT_CODE_RELATIONSHIP__TO = eINSTANCE.getAbstractCodeRelationship_To();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ABSTRACT_CODE_RELATIONSHIP__FROM = eINSTANCE.getAbstractCodeRelationship_From();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link subkdm.kdmRelations.impl.CallsImpl <em>Calls</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see subkdm.kdmRelations.impl.CallsImpl\n\t\t * @see subkdm.kdmRelations.impl.KdmRelationsPackageImpl#getCalls()\n\t\t * @generated\n\t\t */\n\t\tEClass CALLS = eINSTANCE.getCalls();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link subkdm.kdmRelations.impl.ReadsImpl <em>Reads</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see subkdm.kdmRelations.impl.ReadsImpl\n\t\t * @see subkdm.kdmRelations.impl.KdmRelationsPackageImpl#getReads()\n\t\t * @generated\n\t\t */\n\t\tEClass READS = eINSTANCE.getReads();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link subkdm.kdmRelations.impl.WritesImpl <em>Writes</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see subkdm.kdmRelations.impl.WritesImpl\n\t\t * @see subkdm.kdmRelations.impl.KdmRelationsPackageImpl#getWrites()\n\t\t * @generated\n\t\t */\n\t\tEClass WRITES = eINSTANCE.getWrites();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link subkdm.kdmRelations.impl.CreatesImpl <em>Creates</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see subkdm.kdmRelations.impl.CreatesImpl\n\t\t * @see subkdm.kdmRelations.impl.KdmRelationsPackageImpl#getCreates()\n\t\t * @generated\n\t\t */\n\t\tEClass CREATES = eINSTANCE.getCreates();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link subkdm.kdmRelations.impl.ImplementationOfImpl <em>Implementation Of</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see subkdm.kdmRelations.impl.ImplementationOfImpl\n\t\t * @see subkdm.kdmRelations.impl.KdmRelationsPackageImpl#getImplementationOf()\n\t\t * @generated\n\t\t */\n\t\tEClass IMPLEMENTATION_OF = eINSTANCE.getImplementationOf();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link subkdm.kdmRelations.impl.HasValueImpl <em>Has Value</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see subkdm.kdmRelations.impl.HasValueImpl\n\t\t * @see subkdm.kdmRelations.impl.KdmRelationsPackageImpl#getHasValue()\n\t\t * @generated\n\t\t */\n\t\tEClass HAS_VALUE = eINSTANCE.getHasValue();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link subkdm.kdmRelations.impl.ImportsImpl <em>Imports</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see subkdm.kdmRelations.impl.ImportsImpl\n\t\t * @see subkdm.kdmRelations.impl.KdmRelationsPackageImpl#getImports()\n\t\t * @generated\n\t\t */\n\t\tEClass IMPORTS = eINSTANCE.getImports();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link subkdm.kdmRelations.impl.ImplementsImpl <em>Implements</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see subkdm.kdmRelations.impl.ImplementsImpl\n\t\t * @see subkdm.kdmRelations.impl.KdmRelationsPackageImpl#getImplements()\n\t\t * @generated\n\t\t */\n\t\tEClass IMPLEMENTS = eINSTANCE.getImplements();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link subkdm.kdmRelations.impl.AbstractActionRelationshipImpl <em>Abstract Action Relationship</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see subkdm.kdmRelations.impl.AbstractActionRelationshipImpl\n\t\t * @see subkdm.kdmRelations.impl.KdmRelationsPackageImpl#getAbstractActionRelationship()\n\t\t * @generated\n\t\t */\n\t\tEClass ABSTRACT_ACTION_RELATIONSHIP = eINSTANCE.getAbstractActionRelationship();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>To</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ABSTRACT_ACTION_RELATIONSHIP__TO = eINSTANCE.getAbstractActionRelationship_To();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference ABSTRACT_ACTION_RELATIONSHIP__FROM = eINSTANCE.getAbstractActionRelationship_From();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link subkdm.kdmRelations.impl.ExtendsImpl <em>Extends</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see subkdm.kdmRelations.impl.ExtendsImpl\n\t\t * @see subkdm.kdmRelations.impl.KdmRelationsPackageImpl#getExtends()\n\t\t * @generated\n\t\t */\n\t\tEClass EXTENDS = eINSTANCE.getExtends();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link subkdm.kdmRelations.impl.ClassLevelRelationImpl <em>Class Level Relation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see subkdm.kdmRelations.impl.ClassLevelRelationImpl\n\t\t * @see subkdm.kdmRelations.impl.KdmRelationsPackageImpl#getClassLevelRelation()\n\t\t * @generated\n\t\t */\n\t\tEClass CLASS_LEVEL_RELATION = eINSTANCE.getClassLevelRelation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>To</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CLASS_LEVEL_RELATION__TO = eINSTANCE.getClassLevelRelation_To();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CLASS_LEVEL_RELATION__FROM = eINSTANCE.getClassLevelRelation_From();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type</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 CLASS_LEVEL_RELATION__TYPE = eINSTANCE.getClassLevelRelation_Type();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Type Relations</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 CLASS_LEVEL_RELATION__TYPE_RELATIONS = eINSTANCE.getClassLevelRelation_TypeRelations();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link subkdm.kdmRelations.impl.TypeRelationImpl <em>Type Relation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see subkdm.kdmRelations.impl.TypeRelationImpl\n\t\t * @see subkdm.kdmRelations.impl.KdmRelationsPackageImpl#getTypeRelation()\n\t\t * @generated\n\t\t */\n\t\tEClass TYPE_RELATION = eINSTANCE.getTypeRelation();\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 TYPE_RELATION__NAME = eINSTANCE.getTypeRelation_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link subkdm.kdmRelations.impl.ClusterRelationImpl <em>Cluster Relation</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see subkdm.kdmRelations.impl.ClusterRelationImpl\n\t\t * @see subkdm.kdmRelations.impl.KdmRelationsPackageImpl#getClusterRelation()\n\t\t * @generated\n\t\t */\n\t\tEClass CLUSTER_RELATION = eINSTANCE.getClusterRelation();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>To</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CLUSTER_RELATION__TO = eINSTANCE.getClusterRelation_To();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>From</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CLUSTER_RELATION__FROM = eINSTANCE.getClusterRelation_From();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Code Element</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 CLUSTER_RELATION__CODE_ELEMENT = eINSTANCE.getClusterRelation_CodeElement();\n\n\t}", "@Override\n\tpublic void registerPrimaryTypes() {\n\t\tobjectType = registerJavaType(getBuilder().getName(), ClassType.CLASS);\n\t}", "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}", "interface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link StateMachines.BehaviorStateMachines.impl.BehaviorImpl <em>Behavior</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see StateMachines.BehaviorStateMachines.impl.BehaviorImpl\n\t\t * @see StateMachines.BehaviorStateMachines.impl.BehaviorStateMachinesPackageImpl#getBehavior()\n\t\t * @generated\n\t\t */\n\t\tEClass BEHAVIOR = eINSTANCE.getBehavior();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link StateMachines.BehaviorStateMachines.impl.StateMachineImpl <em>State Machine</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see StateMachines.BehaviorStateMachines.impl.StateMachineImpl\n\t\t * @see StateMachines.BehaviorStateMachines.impl.BehaviorStateMachinesPackageImpl#getStateMachine()\n\t\t * @generated\n\t\t */\n\t\tEClass STATE_MACHINE = eINSTANCE.getStateMachine();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Region</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 STATE_MACHINE__REGION = eINSTANCE.getStateMachine_Region();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Connection Point</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 STATE_MACHINE__CONNECTION_POINT = eINSTANCE.getStateMachine_ConnectionPoint();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Submachine State</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 STATE_MACHINE__SUBMACHINE_STATE = eINSTANCE.getStateMachine_SubmachineState();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Extended State Machine</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 STATE_MACHINE__EXTENDED_STATE_MACHINE = eINSTANCE.getStateMachine_ExtendedStateMachine();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link StateMachines.BehaviorStateMachines.impl.NamespaceImpl <em>Namespace</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see StateMachines.BehaviorStateMachines.impl.NamespaceImpl\n\t\t * @see StateMachines.BehaviorStateMachines.impl.BehaviorStateMachinesPackageImpl#getNamespace()\n\t\t * @generated\n\t\t */\n\t\tEClass NAMESPACE = eINSTANCE.getNamespace();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link StateMachines.BehaviorStateMachines.impl.RegionImpl <em>Region</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see StateMachines.BehaviorStateMachines.impl.RegionImpl\n\t\t * @see StateMachines.BehaviorStateMachines.impl.BehaviorStateMachinesPackageImpl#getRegion()\n\t\t * @generated\n\t\t */\n\t\tEClass REGION = eINSTANCE.getRegion();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Subvertex</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 REGION__SUBVERTEX = eINSTANCE.getRegion_Subvertex();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>State Machine</b></em>' container reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference REGION__STATE_MACHINE = eINSTANCE.getRegion_StateMachine();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Transition</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 REGION__TRANSITION = eINSTANCE.getRegion_Transition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>State</b></em>' container reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference REGION__STATE = eINSTANCE.getRegion_State();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Extended Region</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference REGION__EXTENDED_REGION = eINSTANCE.getRegion_ExtendedRegion();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link StateMachines.BehaviorStateMachines.impl.NamedElementImpl <em>Named Element</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see StateMachines.BehaviorStateMachines.impl.NamedElementImpl\n\t\t * @see StateMachines.BehaviorStateMachines.impl.BehaviorStateMachinesPackageImpl#getNamedElement()\n\t\t * @generated\n\t\t */\n\t\tEClass NAMED_ELEMENT = eINSTANCE.getNamedElement();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link StateMachines.BehaviorStateMachines.impl.VertexImpl <em>Vertex</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see StateMachines.BehaviorStateMachines.impl.VertexImpl\n\t\t * @see StateMachines.BehaviorStateMachines.impl.BehaviorStateMachinesPackageImpl#getVertex()\n\t\t * @generated\n\t\t */\n\t\tEClass VERTEX = eINSTANCE.getVertex();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Outgoing</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 VERTEX__OUTGOING = eINSTANCE.getVertex_Outgoing();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Incoming</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 VERTEX__INCOMING = eINSTANCE.getVertex_Incoming();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Container</b></em>' container reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference VERTEX__CONTAINER = eINSTANCE.getVertex_Container();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link StateMachines.BehaviorStateMachines.impl.TransitionImpl <em>Transition</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see StateMachines.BehaviorStateMachines.impl.TransitionImpl\n\t\t * @see StateMachines.BehaviorStateMachines.impl.BehaviorStateMachinesPackageImpl#getTransition()\n\t\t * @generated\n\t\t */\n\t\tEClass TRANSITION = eINSTANCE.getTransition();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Source</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TRANSITION__SOURCE = eINSTANCE.getTransition_Source();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Target</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TRANSITION__TARGET = eINSTANCE.getTransition_Target();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Kind</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 TRANSITION__KIND = eINSTANCE.getTransition_Kind();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Effect</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TRANSITION__EFFECT = eINSTANCE.getTransition_Effect();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Trigger</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TRANSITION__TRIGGER = eINSTANCE.getTransition_Trigger();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Guard</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TRANSITION__GUARD = eINSTANCE.getTransition_Guard();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Container</b></em>' container reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TRANSITION__CONTAINER = eINSTANCE.getTransition_Container();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Redefined Transition</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference TRANSITION__REDEFINED_TRANSITION = eINSTANCE.getTransition_RedefinedTransition();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link StateMachines.BehaviorStateMachines.impl.ConstraintImpl <em>Constraint</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see StateMachines.BehaviorStateMachines.impl.ConstraintImpl\n\t\t * @see StateMachines.BehaviorStateMachines.impl.BehaviorStateMachinesPackageImpl#getConstraint()\n\t\t * @generated\n\t\t */\n\t\tEClass CONSTRAINT = eINSTANCE.getConstraint();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link StateMachines.BehaviorStateMachines.impl.TriggerImpl <em>Trigger</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see StateMachines.BehaviorStateMachines.impl.TriggerImpl\n\t\t * @see StateMachines.BehaviorStateMachines.impl.BehaviorStateMachinesPackageImpl#getTrigger()\n\t\t * @generated\n\t\t */\n\t\tEClass TRIGGER = eINSTANCE.getTrigger();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link StateMachines.BehaviorStateMachines.impl.PseudostateImpl <em>Pseudostate</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see StateMachines.BehaviorStateMachines.impl.PseudostateImpl\n\t\t * @see StateMachines.BehaviorStateMachines.impl.BehaviorStateMachinesPackageImpl#getPseudostate()\n\t\t * @generated\n\t\t */\n\t\tEClass PSEUDOSTATE = eINSTANCE.getPseudostate();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>State</b></em>' container reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference PSEUDOSTATE__STATE = eINSTANCE.getPseudostate_State();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link StateMachines.BehaviorStateMachines.impl.ConnectionPointReferenceImpl <em>Connection Point Reference</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see StateMachines.BehaviorStateMachines.impl.ConnectionPointReferenceImpl\n\t\t * @see StateMachines.BehaviorStateMachines.impl.BehaviorStateMachinesPackageImpl#getConnectionPointReference()\n\t\t * @generated\n\t\t */\n\t\tEClass CONNECTION_POINT_REFERENCE = eINSTANCE.getConnectionPointReference();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Exit</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONNECTION_POINT_REFERENCE__EXIT = eINSTANCE.getConnectionPointReference_Exit();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Entry</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONNECTION_POINT_REFERENCE__ENTRY = eINSTANCE.getConnectionPointReference_Entry();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>State</b></em>' container reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference CONNECTION_POINT_REFERENCE__STATE = eINSTANCE.getConnectionPointReference_State();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link StateMachines.BehaviorStateMachines.impl.StateImpl <em>State</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see StateMachines.BehaviorStateMachines.impl.StateImpl\n\t\t * @see StateMachines.BehaviorStateMachines.impl.BehaviorStateMachinesPackageImpl#getState()\n\t\t * @generated\n\t\t */\n\t\tEClass STATE = eINSTANCE.getState();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Is Composite</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 STATE__IS_COMPOSITE = eINSTANCE.getState_IsComposite();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Is Orthogonal</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 STATE__IS_ORTHOGONAL = eINSTANCE.getState_IsOrthogonal();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Is Simple</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 STATE__IS_SIMPLE = eINSTANCE.getState_IsSimple();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Is Submachine State</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 STATE__IS_SUBMACHINE_STATE = eINSTANCE.getState_IsSubmachineState();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Connection</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 STATE__CONNECTION = eINSTANCE.getState_Connection();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Connection Point</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 STATE__CONNECTION_POINT = eINSTANCE.getState_ConnectionPoint();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Submachine</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference STATE__SUBMACHINE = eINSTANCE.getState_Submachine();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Region</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 STATE__REGION = eINSTANCE.getState_Region();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Deferrable Trigger</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 STATE__DEFERRABLE_TRIGGER = eINSTANCE.getState_DeferrableTrigger();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Exit</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference STATE__EXIT = eINSTANCE.getState_Exit();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Do Activity</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference STATE__DO_ACTIVITY = eINSTANCE.getState_DoActivity();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Entry</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference STATE__ENTRY = eINSTANCE.getState_Entry();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>State Invariant</b></em>' containment reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference STATE__STATE_INVARIANT = eINSTANCE.getState_StateInvariant();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Redefined State</b></em>' reference feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference STATE__REDEFINED_STATE = eINSTANCE.getState_RedefinedState();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link StateMachines.BehaviorStateMachines.impl.FinalStateImpl <em>Final State</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see StateMachines.BehaviorStateMachines.impl.FinalStateImpl\n\t\t * @see StateMachines.BehaviorStateMachines.impl.BehaviorStateMachinesPackageImpl#getFinalState()\n\t\t * @generated\n\t\t */\n\t\tEClass FINAL_STATE = eINSTANCE.getFinalState();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link StateMachines.BehaviorStateMachines.impl.RedefinableElementImpl <em>Redefinable Element</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see StateMachines.BehaviorStateMachines.impl.RedefinableElementImpl\n\t\t * @see StateMachines.BehaviorStateMachines.impl.BehaviorStateMachinesPackageImpl#getRedefinableElement()\n\t\t * @generated\n\t\t */\n\t\tEClass REDEFINABLE_ELEMENT = eINSTANCE.getRedefinableElement();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link StateMachines.BehaviorStateMachines.impl.ClassifierImpl <em>Classifier</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see StateMachines.BehaviorStateMachines.impl.ClassifierImpl\n\t\t * @see StateMachines.BehaviorStateMachines.impl.BehaviorStateMachinesPackageImpl#getClassifier()\n\t\t * @generated\n\t\t */\n\t\tEClass CLASSIFIER = eINSTANCE.getClassifier();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link StateMachines.BehaviorStateMachines.impl.TimeEventImpl <em>Time Event</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see StateMachines.BehaviorStateMachines.impl.TimeEventImpl\n\t\t * @see StateMachines.BehaviorStateMachines.impl.BehaviorStateMachinesPackageImpl#getTimeEvent()\n\t\t * @generated\n\t\t */\n\t\tEClass TIME_EVENT = eINSTANCE.getTimeEvent();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link StateMachines.BehaviorStateMachines.TransitionKind <em>Transition Kind</em>}' enum.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see StateMachines.BehaviorStateMachines.TransitionKind\n\t\t * @see StateMachines.BehaviorStateMachines.impl.BehaviorStateMachinesPackageImpl#getTransitionKind()\n\t\t * @generated\n\t\t */\n\t\tEEnum TRANSITION_KIND = eINSTANCE.getTransitionKind();\n\n\t}", "@Override\n\tpublic void buildConstants(JDefinedClass cls) {\n\n\t}", "public void testFields() {\n assertTrue( tInteger.name().isEqualTo(Ocl.getFor(\"Integer\")).isTrue() );\n assertTrue( tOclString.name().isEqualTo(Ocl.getFor(\"String\")).isTrue() );\n assertTrue( tPersonFQ.name().isEqualTo(Ocl.getFor(\"Person\")).isTrue() );\n Ocl.JAVA_CLASS_NAMES=true;\n assertTrue( tPerson1.name().isEqualTo(Ocl.getFor(\"tudresden.ocl.lib.test.Person\")).isTrue() );\n Ocl.JAVA_CLASS_NAMES=false;\n assertTrue( tPersonFQ.attributes().includes(Ocl.getFor(\"isUnemployed\")).isTrue() );\n assertTrue( tPerson1.attributes().includes(Ocl.getFor(\"employer\")).isTrue() );\n assertTrue( tPersonFQ.associationEnds().includes(Ocl.getFor(\"managedCompanies\")).isTrue() );\n assertTrue( tPersonFQ.associationEnds().includes(Ocl.getFor(\"isMarried\")).isTrue() );\n assertTrue( tPersonFQ.operations().includes(Ocl.getFor(\"managedCompanies\")).not().isTrue() );\n assertTrue( tPersonFQ.operations().includes(Ocl.getFor(\"firstName\")).not().isTrue() );\n assertTrue( tPersonFQ.operations().includes(Ocl.getFor(\"getFive\")).isTrue() );\n assertTrue( tInteger.operations().includes(Ocl.getFor(\"add\")).isTrue() );\n }", "private static void init () {\r\n\t\t// make sure they all have non-null entries\r\n\t\tName undef = new Name(\"undef\", 'u');\r\n\t\tArrays.fill(op_names, undef);\r\n\t\tArrays.fill(fn_names, undef);\r\n\t\tArrays.fill(cfn_names, undef);\r\n\t\tArrays.fill(rs_names, undef);\r\n\t\tArrays.fill(rt_names, undef);\r\n\r\n\t\tfor (int n = 0; n < 32; n++)\r\n\t\t\treg_nums[n] = \"$\".concat(Integer.toString(n));\r\n\r\n\t\top_names[OP_SPECIAL] = new Name(\"**spec\");\r\n\t\top_names[OP_REGIMM] = new Name(\"**regimm\");\r\n\t\top_names[OP_J] = new Name(\"j\", 'J');\r\n\t\top_names[OP_JAL] = new Name(\"jal\", 'J');\r\n\t\top_names[OP_BEQ] = new Name(\"beq\", 'r');\r\n\t\top_names[OP_BNE] = new Name(\"bne\", 'r');\r\n\t\top_names[OP_BLEZ] = new Name(\"blez\", 'r');\r\n\t\top_names[OP_BGTZ] = new Name(\"bgtz\", 'r');\r\n\t\top_names[OP_ADDIU] = new Name(\"addiu\", 'b');\r\n\t\top_names[OP_SLTI] = new Name(\"slti\", 'b');\r\n\t\top_names[OP_SLTIU] = new Name(\"sltiu\", 'b');\r\n\t\top_names[OP_ANDI] = new Name(\"andi\", 'b');\r\n\t\top_names[OP_ORI] = new Name(\"ori\", 'b');\r\n\t\top_names[OP_XORI] = new Name(\"xori\", 'b');\r\n\t\top_names[OP_LUI] = new Name(\"lui\", 'I');\r\n\t\top_names[OP_COP1] = new Name(\"**cop1\");\r\n\t\top_names[OP_SPEC2] = new Name(\"**spec2\");\r\n\t\top_names[OP_LB] = new Name(\"lb\", 'l');\r\n\t\top_names[OP_LH] = new Name(\"lh\", 'l');\r\n\t\top_names[OP_LWL] = new Name(\"lwl\", 'l');\r\n\t\top_names[OP_LW] = new Name(\"lw\", 'l');\r\n\t\top_names[OP_LBU] = new Name(\"lbu\", 'l');\r\n\t\top_names[OP_LHU] = new Name(\"lhu\", 'l');\r\n\t\top_names[OP_LWR] = new Name(\"lwr\", 'l');\r\n\t\top_names[OP_SB] = new Name(\"sb\", 's');\r\n\t\top_names[OP_SH] = new Name(\"sh\", 's');\r\n\t\top_names[OP_SWL] = new Name(\"swl\", 's');\r\n\t\top_names[OP_SW] = new Name(\"sw\", 's');\r\n\t\top_names[OP_SWR] = new Name(\"swr\", 's');\r\n\t\top_names[OP_LWC1] = new Name(\"lwc1\", 'L');\r\n\t\top_names[OP_SWC1] = new Name(\"swc1\", 'S');\r\n\r\n\t\tfn_names[FN_SLL] = new Name(\"sll\");\r\n\t\tfn_names[FN_SRL] = new Name(\"srl\");\r\n\t\tfn_names[FN_SRA] = new Name(\"sra\");\r\n\t\tfn_names[FN_SLLV] = new Name(\"sllv\");\r\n\t\tfn_names[FN_SRLV] = new Name(\"srlv\");\r\n\t\tfn_names[FN_SRAV] = new Name(\"srav\");\r\n\t\tfn_names[FN_JR] = new Name(\"jr\", 'j');\r\n\t\tfn_names[FN_JALR] = new Name(\"jalr\", 'j');\r\n\t\tfn_names[FN_MOVN] = new Name(\"movn\", 'u');\r\n\t\tfn_names[FN_SYSCALL] = new Name(\"**sys\");\r\n\t\tfn_names[FN_BREAK] = new Name(\"**break\");\r\n\t\tfn_names[FN_MFHI] = new Name(\"mfhi\");\r\n\t\tfn_names[FN_MFLO] = new Name(\"mflo\");\r\n\t\tfn_names[FN_MULT] = new Name(\"mult\");\r\n\t\tfn_names[FN_MULTU] = new Name(\"multu\");\r\n\t\tfn_names[FN_DIV] = new Name(\"div\");\r\n\t\tfn_names[FN_DIVU] = new Name(\"divu\");\r\n\t\tfn_names[FN_ADDU] = new Name(\"addu\", 'B');\r\n\t\tfn_names[FN_SUBU] = new Name(\"subu\", 'B');\r\n\t\tfn_names[FN_AND] = new Name(\"and\", 'B');\r\n\t\tfn_names[FN_OR] = new Name(\"or\", 'B');\r\n\t\tfn_names[FN_XOR] = new Name(\"xor\", 'B');\r\n\t\tfn_names[FN_NOR] = new Name(\"nor\", 'B');\r\n\t\tfn_names[FN_SLT] = new Name(\"slt\", 'B');\r\n\t\tfn_names[FN_SLTU] = new Name(\"sltu\", 'B');\r\n\r\n\t\trs_names[RS_MF] = new Name(\"mfc1\", '6');\r\n\t\trs_names[RS_CF] = new Name(\"cfc1\", '4');\r\n\t\trs_names[RS_MT] = new Name(\"mtc1\", '5');\r\n\t\trs_names[RS_CT] = new Name(\"ctc1\");\r\n\t\trs_names[RS_BC] = new Name(\"bc1\");\r\n\t\trs_names[RS_FMT_SINGLE] = new Name(\"**fmts\");\r\n\t\trs_names[RS_FMT_DOUBLE] = new Name(\"**fmtd\");\r\n\t\trs_names[RS_FMT_WORD] = new Name(\"**fmtw\");\r\n\r\n\t\tcfn_names[CFN_ADD_D] = new Name(\"add\", '3');\r\n\t\tcfn_names[CFN_SUB_D] = new Name(\"sub\", '3');\r\n\t\tcfn_names[CFN_MUL_D] = new Name(\"mul\", '3');\r\n\t\tcfn_names[CFN_DIV_D] = new Name(\"div\", '3');\r\n\t\tcfn_names[CFN_MOV_D] = new Name(\"mov\", '2'); // 2?\r\n\t\tcfn_names[CFN_NEG_D] = new Name(\"neg\", '2');\r\n\t\tcfn_names[CFN_CVTS] = new Name(\"cvts\", '2'); // all type 2\r\n\t\tcfn_names[CFN_CVTD] = new Name(\"cvtd\", '2');\r\n\t\tcfn_names[CFN_CVTW] = new Name(\"cvtw\", '2');\r\n\t\tcfn_names[CFN_FC_ULT] = new Name(\"ult\", 'c');\r\n\t\tcfn_names[CFN_FC_EQ] = new Name(\"eq\", 'c'); // all type c\r\n\t\tcfn_names[CFN_FC_LT] = new Name(\"lt\", 'c');\r\n\t\tcfn_names[CFN_FC_LE] = new Name(\"le\", 'c');\r\n\r\n\t\trt_names[RT_BLTZ] = new Name(\"bltz\", 'v');\r\n\t\trt_names[RT_BGEZ] = new Name(\"bgez\", 'v');\r\n\t\trt_names[RT_BLTZAL] = new Name(\"bltzal\", 'v');\r\n\t\trt_names[RT_BGEZAL] = new Name(\"bgezal\", 'v');\r\n\t}", "public org.thdl.lex.component.Meta getMeta();" ]
[ "0.5968677", "0.59548515", "0.5850221", "0.5850015", "0.58133096", "0.57150894", "0.57085437", "0.5677728", "0.5551327", "0.55462176", "0.5536693", "0.5531117", "0.5517386", "0.5498399", "0.54960024", "0.5469524", "0.54669315", "0.54555976", "0.5453988", "0.5452739", "0.543213", "0.54261893", "0.5424676", "0.5423143", "0.54202944", "0.5404098", "0.53980356", "0.53528315", "0.5338069", "0.5334647", "0.5331716", "0.5320318", "0.5317434", "0.5306001", "0.52946746", "0.5288566", "0.52808917", "0.52754277", "0.52741736", "0.5262126", "0.5244312", "0.52302676", "0.52272785", "0.5209347", "0.52081716", "0.5205169", "0.5203836", "0.51949906", "0.51934606", "0.5181571", "0.5180366", "0.51754403", "0.51625115", "0.51601976", "0.51538545", "0.5152873", "0.51328784", "0.51298124", "0.5129442", "0.5124253", "0.5119077", "0.5118373", "0.5109622", "0.5104126", "0.51001114", "0.50977373", "0.50884837", "0.5079703", "0.50745374", "0.50597453", "0.5053408", "0.50524485", "0.504806", "0.504579", "0.5031482", "0.50285196", "0.50226694", "0.5021399", "0.5020634", "0.50184476", "0.5015444", "0.50007415", "0.49969956", "0.49965456", "0.49961677", "0.49854815", "0.49846983", "0.49821162", "0.49770924", "0.49762398", "0.4973644", "0.4971722", "0.49703145", "0.49682808", "0.4960997", "0.49586317", "0.495662", "0.49539483", "0.4952944", "0.49484298" ]
0.50735164
69
/ Find sum of decimal representations of 'A', 'X' and '%' in ASCII > 65, 88, 37 = 190
public static void main(String[] args) { char charA = 'A'; int intA = 'A'; System.out.println(charA); // A System.out.println(intA); // 65 char charX = 'X'; int intX = 'X'; System.out.println(charX); // X System.out.println(intX); // 88 char charPercent = '%'; int intPercent = '%'; System.out.println(charPercent); // % System.out.println(intPercent); // 37 System.out.println("Sum of those characters is = " + (intA + intX + intPercent)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic int getSumOfAllCharacters() {\n\t\tint sum1 = 0;\n\t\tchar[] ch = theString.toCharArray();\n\t\tint temp_integer = 64;\n\t\tint temp_small = 96;\n\n\t\tfor (char c : ch) {\n\t\t\tint temp = (int) c;\n\t\t\t// System.out.println(temp);\n\n\t\t\tif (temp <= 90 & temp >= 65) {\n\t\t\t\tint sum = (temp - temp_integer);\n\t\t\t\t// System.out.println(sum);\n\t\t\t\tsum1 = sum + sum1;\n\n\t\t\t} else if (temp <= 122 & temp >= 97) {\n\n\t\t\t\tint sum = (temp - temp_small);\n\n\t\t\t\tsum1 = sum + sum1;\n\t\t\t}\n\t\t}\n\t\t// System.out.println(\"the total is=\" + sum1);\n\n\t\treturn sum1;\n\t}", "private static int total_value(String a)\n {\n int sum = 0;\n for(int x = 0; x < a.length(); x++)\n {\n sum += (find_value(\"\"+a.charAt(x)));\n }\n return sum;\n }", "static int asciiCalc(String s) {\n\n\t\tint val = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (s.charAt(i) % 2 == 0) {\n\t\t\t\t// if ascii value is even, mutiply by 1003\n\t\t\t\tval += s.charAt(i) * 1003;\n\t\t\t} else {\n\t\t\t\t// if ascii value is odd, multiply by 803\n\t\t\t\tval += s.charAt(i) * 803;\n\t\t\t}\n\n\t\t}\n\t\treturn val;\n\t}", "public static long sumof20(String input){\n\t\tlong total = 0;\n\t\tfor(int i = 0; i <input.length(); i++){\n\t\t\tchar numberAt = input.charAt(i);\n\t\t\tlong sum = (long) Math.pow(Character.getNumericValue(numberAt), 2);\n\t\t\ttotal += sum;\t\n\t\t}\n\t\treturn total;\n\t}", "private static int sumCharacters (char[] num) {\n int dividend = 0;\r\n String stringOfChar;\r\n for (int i=0; i < num.length; i++) {\r\n stringOfChar = Character.toString(num[i]);\r\n dividend += Integer.valueOf(stringOfChar);\r\n }\r\n return dividend;\r\n }", "java.lang.String getPercentage();", "int getAlphaMod(){\n return getPercentageValue(\"alphaMod\");\n }", "public static int fractionDigits(String percent) {\n\t return BCMath.numberPrecision(percent) + 8;\n }", "int getAlpha(){\n return getPercentageValue(\"alpha\"); \n }", "public char calculate() {\r\n\t\tchar resultado=0;\r\n\t\tint sumatoria=0;\r\n\t\tint promedio=0;\r\n\t\t\r\n\tfor (int i = 0; i < testScores.length; i++) {\r\n\t\t\r\n\t\tsumatoria += testScores[i];\r\n\t\tpromedio=sumatoria/testScores.length;\r\n\t\t\r\n\t\tif (promedio>=90 && promedio <=100) {\r\n\t\t\tresultado='O';\r\n\t\t}else\r\n\t\tif (promedio>=80 && promedio <90) {\r\n\t\t\tresultado='E';\r\n\t\t}else\r\n\t\tif (promedio>=70 && promedio <80) {\r\n\t\t\tresultado='A';\r\n\t\t}else\r\n\t\tif (promedio>=55 && promedio <70) {\r\n\t\t\tresultado='P';\r\n\t\t}else\r\n\t\tif (promedio>=40 && promedio <55) {\r\n\t\t\tresultado='D';\r\n\t\t}else\r\n\t\t\tresultado='T';\r\n\t\t\r\n\t}\r\n\t return resultado;\t\r\n\t\r\n\t}", "public void countOfLetters()\n {\n Scanner sc = new Scanner(System.in);\n //Ask an user to enter a string\n System.out.print(\"Enter a string: \");\n //Read next line as string and assign it value to String str\n String str = sc.nextLine();\n\n //Create a new int array with 26 elements\n int []Letters = new int[26];\n\n //For each index in str\n for(int i = 0; i < str.length(); i++)\n {\n //Get current character\n char c = str.toLowerCase().charAt(i);\n //Get char as int\n int val = (int)c;\n //If char is letter\n if(val >= 97 && val <= 122)\n {\n //Increment a value at position of this letter\n Letters[c-'a']++;\n }\n }\n //Get sum of the array\n int Sum = Arrays.stream(Letters).sum();\n //For each index in Letters\n for(int i = 0; i<Letters.length; i++)\n {\n //If value of current position > 0 then print count of this letter at given string and its percentage\n if(Letters[i] > 0)\n {\n System.out.printf(\"The count of `%c` is %x, the percentage is %f \\n\", (char)97+i, Letters[i], (double)Letters[i]/Sum);\n }\n }\n\n }", "private static int total_cost(String a)\n {\n int sum = 0;\n for(int x = 0; x < a.length(); x++)\n {\n sum += (find_cost(\"\"+a.charAt(x)));\n }\n return sum;\n }", "public int solve(String A) {\n int c=0;\n int n=A.length();\n for(int i=0;i<n;i++){\n if(A.charAt(i)=='A'||A.charAt(i)=='E'||A.charAt(i)=='I'||A.charAt(i)=='O'||A.charAt(i)=='U'||A.charAt(i)=='a'||A.charAt(i)=='e'||A.charAt(i)=='i'||A.charAt(i)=='o'||A.charAt(i)=='u'){\n c+= (n-i);\n }\n }\n \n return (c%10003);\n }", "public char calculate(){\n int sum=0,total;\n char ch='O';\n for(int i=0; i<testScores.length; i++){\n sum = sum + testScores[i];\n }\n total=sum/testScores.length;\n return(total> 89 ?'O': total>79 ? 'E' : total > 69 ? 'A' : total > 54 ? 'P' :total > 39 ? 'D' : 'T' );\n \n }", "public static int convierte(String s) throws InvalidParameter {\n int num = 0;\n int prevnum = 2000;\n int total = 0;\n for(int i = 0; i < s.length(); i++){\n num = letraADec(s.charAt(i));\n if(num > prevnum){\n if(checkRestaValida(prevnum, num)){\n total = total + num - 2*prevnum;\n }else{\n throw new InvalidParameter(\"Numero no romano\");\n }\n }else{\n total = total + num;\n }\n prevnum = num;\n }\n return total;\n }", "public static void main(String[] args) {\n\n String str=\"a1b2c3\";\n char[] arr=str.toCharArray(); // every single character from the char\n\n System.out.println(Arrays.toString(arr)); // [a, 1, b, 2, c, 3]\n int sum=0; // i need to add sum all number // will contain sum of digits\n for(char each:arr){\n boolean isDigit=each>=48 && each <=57; // if craccter is digit\n\n if(isDigit){ // or if(each>=48 && each<=57) boolean yerine\n sum+= Integer.parseInt(\"\"+each); // first '0' stringe cevirmeliyiz\n }\n }\n System.out.println(sum);\n\n\n// second solution with Character.isDigit();\n /*\n if(Character.isDigit(each)) == if(each>=48 && each<=57)\n is digit() : identifies if the given character is digit\n sum+= Integer.parseInt(\"\"+each); Bu sekilde de yapabilirsin\n\n*/\n // boolean a=Character.isAlphabetic('A'); identifies if the cracter is alphabet\n\n\n }", "int SumtheDifference(String a) {\n int s = 0, r = 0, i = 0;\n while (i < a.length()) {\n char c = a.charAt(i++);\n int t = c - '0';\n if (c == '-')\n s = 1;\n else if (t > 0) {\n r += (s ^ t % 2) == 1 ? -t : t;\n s = 0;\n } else if (c != ' ')\n s = 0;\n }\n return r;\n }", "public static long inetAton(String add) {\n long result = 0;\n // number between a dot\n long section = 0;\n // which digit in a number\n int times = 1;\n // which section\n int dots = 0;\n for (int i = add.length() - 1; i >= 0; --i) {\n if (add.charAt(i) == '.') {\n times = 1;\n section <<= dots * 8;\n result += section;\n section = 0;\n ++dots;\n } else {\n section += (add.charAt(i) - '0') * times;\n times *= 10;\n }\n }\n section <<= dots * 8;\n result += section;\n return result;\n }", "public char calculate(){\n int total = 0;\n char grade;\n for(int i = 0; i<this.testScores.length; i++){\n total += this.testScores[i];\n }\n total = (total/this.testScores.length);\n \n if(total>=90 && total<=100)\n grade = 'O';\n else if(total<90 && total>=80)\n grade = 'E';\n else if(total<80 && total>=70)\n grade = 'A';\n else if(total<70 && total>=55)\n grade = 'P';\n else if(total<55 && total>=40)\n grade = 'D';\n else\n grade = 'T';\n \n return grade;\n }", "private int condense(int[] inputs) {\n\t\tint total = 0;\n\t\tflag = false;\n\t\tfor(int i = 0; i < inputs.length; i++) {\n\t\t\tinputs[i] -= 48;\n\t\t\tif(inputs[i] < 0 || inputs[i] > 9) {\n\t\t\t\tflag = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ttotal *= 10;\n\t\t\ttotal += inputs[i];\n\t\t}\n\t\treturn total;\n\t}", "private int getValueFromBase64Alphabet(char character)\r\n {\r\n if (character >= 'A' && character <= 'Z')\r\n {\r\n return character - 'A';\r\n }\r\n if (character >= 'a' && character <= 'z')\r\n {\r\n return character - 'a' + 26;\r\n }\r\n if (character >= '0' && character <= '9')\r\n {\r\n return character - '0' + 52;\r\n }\r\n if (character == '+')\r\n {\r\n return 62;\r\n }\r\n if (character == '/')\r\n {\r\n return 63;\r\n }\r\n if (character == '=')\r\n {\r\n return 0;\r\n }\r\n return -1;\r\n }", "public double toPercent(double x){\n\t\treturn x/ 100;\n\t}", "public int titleToNumber(String s) {\n\t int sum = 0;\n\t // for (int i= s.length()-1; i >= 0; i--) {\n\t // sum = sum + (int) Math.pow(26, s.length()-1-i)*(s.charAt(i) - 'A' + 1);\n\t // }\n\t for (int i=0; i<s.length(); i++) {\n\t sum = sum*26 + (s.charAt(i) - 'A' + 1);\n\t }\n\t return sum;\n\t }", "static void cpi_with_acc(String passed){\n\t\tint val1 = hexa_to_deci(registers.get('A'));\n\t\tint val2 = hexa_to_deci(passed.substring(4));\n\t\tS = val1>=val2?false:true;\n\t\tval2 = 256-val2;\n\t\tval2%=256;\n\t\tval1+=val2;\n\t\tCS = val1>255?true:false;\n\t\tString b = Integer.toBinaryString(val1);\n\t\tint ones=0;\n\t\tfor(int i=0;i<b.length();i++)\n\t\t\tif(b.charAt(i)=='1')\n\t\t\t\tones++;\n\t\tZ = ones==0?true:false;\n\t\tP = ones%2==0?true:false;\n\t}", "public String determineFormattedSumString(int a, int b);", "public static long sumofnum(String input){\n\t\tlong total = 0;\n\t\tfor(int i = 0; i <input.length(); i++){\n\t\t\tchar number = input.charAt(i); //extracts each digit in a number as a char\t\n\t\t\tlong sum = (long) Math.pow(Character.getNumericValue(number), 2); //Gets the numeric value of the char and then casts it as a long and then squares the number\n\t\t\ttotal += sum;\t// stores the total of the squares\n\t\t}\n\t\treturn total; //returns the total sum of the squares of each digit\n\t}", "private String calculateDistancePerAmount() {\n double distance = parser(getTextFromEditText(R.id.distanceEdit));\n double fuel = parser(getTextFromEditText(R.id.fuelEdit));\n double value = distance / fuel;\n return rounder(value);\n }", "public int convert(String src) throws NumberFormatException\n\t{\n\t\tboolean isNegative = false;\n\t\tint total = 0;\n\t\tint result = 0;\n\n\t\tchar[] charArray = src.toCharArray();\n\n\t\tfor (int i = 0; i < charArray.length; i++)\n\t\t{\n\t\t\tif (charArray[0] == '-' && i == 0) // if it is negative\n\t\t\t{\n\t\t\t\tisNegative = true;\n\t\t\t}\n\t\t\telse if (charArray[0] == '+' && i == 0) // if it is positive with '+' char\n\t\t\t{\n\t\t\t\tthrow new NumberFormatException(PLUS_CHAR_EXCEPTION_ERROR);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tif(charArray[i] - ZERO > 0 && charArray[i] < NINE)\n\t\t\t\t{\n\t\t\t\t\ttotal = total * 10 + charArray[i] - ZERO;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tresult = total;\n\n\t\tif (isNegative)\n\t\t{\n\t\t\tresult = -total; //inverse\n\t\t}\n\n\t\treturn result;\n\t}", "public static void main(String args[])\n {\n Scanner sc=new Scanner(System.in);\n String s=sc.next();\n double n=0;\n int dcount=0;\n int pointer=0;\n for(int i=0;i<s.length();i++)\n {\n if(s.charAt(i)!='.')\n {\n n=n*10+(s.charAt(i)-'0');\n if(pointer==1)\n dcount++;\n }\n else\n pointer=1;\n }\n n=n/Math.pow(10,dcount);\n System.out.printf(\"%.6f\",n);\n }", "public int a(char paramChar)\r\n/* 484: */ {\r\n/* 485:481 */ if (paramChar == '§') {\r\n/* 486:482 */ return -1;\r\n/* 487: */ }\r\n/* 488:485 */ if (paramChar == ' ') {\r\n/* 489:486 */ return 4;\r\n/* 490: */ }\r\n/* 491:489 */ int i1 = \"\".indexOf(paramChar);\r\n/* 492:490 */ if ((paramChar > 0) && (i1 != -1) && (!this.k)) {\r\n/* 493:491 */ return this.d[i1];\r\n/* 494: */ }\r\n/* 495:495 */ if (this.e[paramChar] != 0)\r\n/* 496: */ {\r\n/* 497:496 */ int i2 = this.e[paramChar] >>> 4;\r\n/* 498:497 */ int i3 = this.e[paramChar] & 0xF;\r\n/* 499:499 */ if (i3 > 7)\r\n/* 500: */ {\r\n/* 501:500 */ i3 = 15;\r\n/* 502:501 */ i2 = 0;\r\n/* 503: */ }\r\n/* 504:503 */ i3++;\r\n/* 505: */ \r\n/* 506:505 */ return (i3 - i2) / 2 + 1;\r\n/* 507: */ }\r\n/* 508:508 */ return 0;\r\n/* 509: */ }", "private String calcGrade(String perc)\r\n\t {\r\n\t\t float percentage = Float.parseFloat(perc);\r\n\t\t if (percentage > 75) return \"A\";\r\n\t\t else if (percentage>=60 && percentage < 75) return \"B\";\r\n\t\t else if (percentage>=45 && percentage < 60) return \"c\";\r\n\t\t else if (percentage>=35 && percentage < 45) return \"D\";\r\n\t\t else \r\n\t\t\t return \"F\";\r\n\t }", "public double cantidadGC(String seq){\n int countErrorInt=0;\n nG = 0;\n nC = 0;\n nA = 0;\n nT = 0;\n int tam=0;\n for (int i=0;i<seq.length();i++){\n char n= seq.charAt(i);\n if (n=='G')\n nG++;\n else if (n=='C')\n nC++;\n else if ((n=='T'))\n nT++;\n else if ((n=='A'))\n nA++;\n else\n countErrorInt++;\n }\n tam+=seq.length();\n error.add(countErrorInt);\n\t\t/*\n\t\t * nucleotido[0]=\"A\";\n\t\tnucleotido[1]=\"T\";\n\t\tnucleotido[2]=\"G\";\n\t\tnucleotido[3]=\"C\";\n\t\t */\n double total= (double)(nA+nG+nC+nT);\n nucCant[0]=nA/total;\n nucCant[1]=nT/total;\n nucCant[2]=nG/total;\n nucCant[3]=nC/total;\n return ((double)(nG+nC)/(double)(nA+nG+nC+nT))*100;\n\n }", "private static long convertNumber(String text, int base)\r\n\t{\r\n\t\tlong result = 0;\r\n\t\ttext = text.toLowerCase();\r\n\t\tfor (int i = 2; i < text.length(); i++)\r\n\t\t{\r\n\t\t\tint d;\r\n\t\t\tchar c = text.charAt(i);\r\n\t\t\tif (c > '9')\r\n\t\t\t\td = (int) (c - 'a') + 10;\r\n\t\t\telse\r\n\t\t\t\td = (int) (c - '0');\r\n\t\t\tresult = (result * base) + d;\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "public static int totalCalculator(String in) {\r\n\t\t\r\n\t\tint total = 0;\r\n\t\tdouble frame = 0;\r\n\t\tfor(int j = 0; j < in.length(); j++) {\r\n\t\t\t\r\n\t\t\tswitch(in.charAt(j)) {\r\n\t\t\t\r\n\t\t\t// Case where a strike is rolled\r\n\t\t\tcase 'X':\r\n\t\t\t\tframe++; \r\n\t\t\t\t// Case when strike is rolled in the last frame, or as an extra roll\r\n\t\t\t\tif(frame >= 10) {\r\n\t\t\t\t\ttotal += 10; \t\r\n\t\t\t\t\tbreak; \r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t// Case when the next two rolls after strike are also strikes \r\n\t\t\t\telse if(in.charAt(j+1) == 'X' && in.charAt(j+2) == 'X') {\r\n\t\t\t\t\ttotal+= 30;\r\n\t\t\t\t\tbreak; \r\n\t\t\t\t}\r\n\t\t\t\t// Case when the next roll after the strike is also a strike\r\n\t\t\t\telse if(in.charAt(j+1) == 'X') {\r\n\t\t\t\t\ttotal += 20 + Character.getNumericValue(in.charAt(j+2));\t\r\n\t\t\t\t\tbreak; \r\n\t\t\t\t}\r\n\t\t\t\t// Case when the roll after the next is also a strike \r\n\t\t\t\telse if(in.charAt(j+2) == 'X') {\r\n\t\t\t\t\ttotal+= 20 + Character.getNumericValue(in.charAt(j+1));\t\r\n\t\t\t\t\tbreak; \r\n\t\t\t\t}\r\n\t\t\t\t// Case when the next two rolls are both misses\r\n\t\t\t\telse if(in.charAt(j+1) == '-' && in.charAt(j+2) == '-') {\r\n\t\t\t\t\ttotal += 10; \r\n\t\t\t\t\tbreak; \r\n\t\t\t\t}\r\n\t\t\t\t// Case when next roll after a strike is a miss \r\n\t\t\t\telse if(in.charAt(j+1) == '-') {\r\n\t\t\t\t\ttotal += 10 + Character.getNumericValue(in.charAt(j+2));\r\n\t\t\t\t\tbreak; \r\n\t\t\t\t}\r\n\t\t\t\t// Case when the roll after the next is a miss \r\n\t\t\t\telse if(in.charAt(j+2) == '-') {\r\n\t\t\t\t\ttotal += 10 + Character.getNumericValue(in.charAt(j+1)); \r\n\t\t\t\t\tbreak; \r\n\t\t\t\t}\r\n\t\t\t\t// Case when the next roll is a spare\r\n\t\t\t\telse if(in.charAt(j+2) == '/') {\r\n\t\t\t\t\ttotal+= 20;\r\n\t\t\t\t\tbreak; \r\n\t\t\t\t}\r\n\t\t\t\t// Case when next two rolls are a numeric value (is not a strike, spare, or a miss) \r\n\t\t\t\telse {\r\n\t\t\t\t\ttotal+= (10 + Character.getNumericValue(in.charAt(j+1)) + Character.getNumericValue(in.charAt(j+2))); \r\n\t\t\t\t\tbreak; \r\n\t\t\t\t}\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t// Case when a miss is rolled \r\n\t\t\tcase '-': frame+= 0.5; break;\r\n\t\t\t\r\n\t\t\t// Case when a spare is rolled \r\n\t\t\tcase '/': \r\n\t\t\t\t\r\n\t\t\t\tframe+= 0.5; \r\n\t\t\t\t\r\n\t\t\t\t// Case when the spare is rolled in the last frame, or as an extra roll \r\n\t\t\t\tif(frame >= 10) {\r\n\t\t\t\t\ttotal += (10 - Character.getNumericValue(in.charAt(j-1)));\r\n\t\t\t\t\tbreak; \r\n\t\t\t\t}\r\n\t\t\t\t// Case when the next roll after spare is a strike\r\n\t\t\t\telse if(in.charAt(j+1) == 'X') {\r\n\t\t\t\t\ttotal += 10 + (10 - Character.getNumericValue(in.charAt(j-1)));\r\n\t\t\t\t\tbreak; \r\n\t\t\t\t}\r\n\t\t\t\t// Case when the next roll after spare is a miss \r\n\t\t\t\telse if(in.charAt(j+1) == '-') {\r\n\t\t\t\t\ttotal += (10 - Character.getNumericValue(in.charAt(j-1))); \r\n\t\t\t\t\tbreak; \r\n\t\t\t\t}\r\n\t\t\t\t// Case when next roll after spare is a numeric value \r\n\t\t\t\telse {\r\n\t\t\t\t\ttotal += (10 - Character.getNumericValue(in.charAt(j-1))) + Character.getNumericValue(in.charAt(j+1)); \r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t// Cases for when a numeric value of pins is knocked down (not a strike, spare, or miss)\r\n\t\t\tcase '1': total += 1; frame += 0.5; break; \r\n\t\t\tcase '2': total += 2; frame += 0.5; break; \r\n\t\t\tcase '3': total += 3; frame += 0.5; break;\r\n\t\t\tcase '4': total += 4; frame += 0.5; break;\r\n\t\t\tcase '5': total += 5; frame += 0.5; break; \r\n\t\t\tcase '6': total += 6; frame += 0.5; break; \r\n\t\t\tcase '7': total += 7; frame += 0.5; break;\r\n\t\t\tcase '8': total += 8; frame += 0.5; break;\r\n\t\t\tcase '9': total += 9; frame += 0.5; break;\r\n\t\t\t\r\n\t\t\t// Case when it is not a valid roll (not a numeric value, X, / or -)\r\n\t\t\tdefault:\r\n\t\t\t\tthrow new IllegalArgumentException(\"Illegal Argument\"); \r\n\t\t\t}\r\n\t\t}\r\n\t\treturn total; \r\n\t}", "@Override\n\tpublic int func1(String s) {\n\t\tfor(int i=0; i<=s.length()-1; i++) {\n\t\t\tif(s.charAt(i)>=48 && s.charAt(i)<=57) {\n\t\t\t\treturn Integer.parseInt(\"\"+s.charAt(i));\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}", "public static String compute(String input) {\n if (input == null || input.length() == 0) {\n return \"\";\n }\n String x = input.toLowerCase();\n int[] memo = new int[256];\n for (int i = 0; i < x.length(); i++) {\n if ('a' <= x.charAt(i) && x.charAt(i) <= 'z') {\n memo[x.charAt(i)]++;\n }\n }\n List<Integer> list = new ArrayList<>();\n for (int i = 0; i < 256; i++) {\n if (memo[i] != 0) {\n list.add(memo[i]);\n }\n }\n Collections.sort(list, (a, b) -> b - a);\n long res = 0;\n int count = 26;\n for (int i : list) {\n res += i * count--;\n }\n return String.valueOf(res);\n }", "private char computeCheckDigit(final String taxId) {\n final int lettersInAlphabet = 26;\n final int maxOdd = 13, maxEven = 14;\n final int[] setdisp = { 1, 0, 5, 7, 9, 13, 15, 17, 19, 21, 2, 4, 18, 20, 11, 3, 6, 8, 12,\n 14,\n 16, 10, 22, 25, 24, 23 };\n int charWeight = 0, aChar;\n for (int i = 1; i <= maxOdd; i += 2) {\n aChar = taxId.charAt(i);\n if (aChar >= '0' && aChar <= '9') {\n charWeight = charWeight + aChar - '0';\n } else {\n charWeight = charWeight + aChar - 'A';\n }\n }\n for (int i = 0; i <= maxEven; i += 2) {\n aChar = taxId.charAt(i);\n if (aChar >= '0' && aChar <= '9') {\n aChar = aChar - '0' + 'A';\n }\n charWeight = charWeight + setdisp[aChar - 'A'];\n }\n return (char) (charWeight % lettersInAlphabet + 'A');\n }", "private int Add ( int s, int a){\r\n if (Num10.contains(Card[a].substring(0, 1))) { //To make \"T\",\"J\",\"Q\",\"K\" represent value of 10.\r\n s += 10;\r\n }\r\n if (Card[a].substring(0, 1).equals(\"A\")) { //To make \"A\" represent value of 1.\r\n s += 1;\r\n }\r\n if (!(Num10.contains(Card[a].substring(0, 1))) && !(Card[a].substring(0, 1).equals(\"A\"))){\r\n s += Integer.parseInt(Card[a].substring(0, 1));\r\n }\r\n return s;\r\n }", "public double getPercentRem(){\n return ((double)freeSpace / (double)totalSpace) * 100d;\n }", "public static void main(String[] args) {\n\t\t\n\t\tint asciiSum =0;\n\n\t\ttry (BufferedReader reader = new BufferedReader(new FileReader(PATHNAME))){\n\t\t\tString line;\n\t\t\twhile ((line = reader.readLine()) != null){\n\t\t\t\tfor (int i = 0; i < line.length(); i++) {\n\t\t\t\t\tasciiSum += line.charAt(i);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(asciiSum);\n\t\t} catch (FileNotFoundException e){\n\t\t\tSystem.out.println(e.getMessage());\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\t}", "static int hexa_to_deci(String hexa_address){\n\t\tint deci_val = 0;\n\t\tint multiply = 1;\n\t\tfor(int i=hexa_address.length()-1;i>=0;i--){\n\t\t\tint j=0;\n\t\t\tfor(;j<16;j++)\n\t\t\t\tif(hexa_address.charAt(i)==hexa[j])\n\t\t\t\t\tbreak;\n\t\t\tdeci_val+=(multiply*j);\n\t\t\tmultiply*=16;\n\t\t}\n\t\treturn deci_val;\n\t}", "public int probar(String poox){\r\n int numero = Character.getNumericValue(poox.charAt(0))+ Character.getNumericValue(poox.charAt(1))+ Character.getNumericValue(poox.charAt(2))+ \r\n Character.getNumericValue(poox.charAt(3))+ Character.getNumericValue(poox.charAt(4));\r\n int comprobar;\r\n if(numero >= 30){\r\n comprobar = 2;\r\n System.out.println( numero +\" Digito verificar = \" + comprobar);\r\n }else if (numero >=20 && numero <= 29){\r\n comprobar = 1;\r\n System.out.println(numero + \" Digito verificar = \" + comprobar);\r\n }else{\r\n comprobar = 0;\r\n System.out.println(numero + \" Digito verificar = \" + comprobar);\r\n }\r\n return comprobar;\r\n }", "public int calculate(String s) {\n \n int sum = 0;\n int sign = 1;\n \n Stack<Integer> stack = new Stack<>();\n for(int i=0; i < s.length(); i++) {\n char ch = s.charAt(i);\n \n if(Character.isDigit(ch)) { // eg-> 312 +\n \n int val = 0;\n while(i < s.length() && Character.isDigit(s.charAt(i))) {\n val = val*10 + (s.charAt(i)-'0');\n i++;\n }\n i--;\n val *= sign;\n sum += val;\n sign = +1;\n \n } else if(ch == '(') {\n stack.push(sum);\n stack.push(sign);\n sum = 0;\n sign = +1;\n } else if(ch == ')') {\n sum *= stack.pop();\n sum += stack.pop();\n } else if(ch == '-') {\n sign *= -1;\n }\n }\n return sum;\n }", "public static long getCharsAsNumber(String chars) {\n\t\tchars = chars.replaceAll(\"'\", \"\");\n\t\tlong result = 0;\n\t\tfor (int i = 0; i < chars.length(); i++) {\n\t\t\tresult |= ((chars.charAt(i)) << (8 * i));\n\t\t}\n\t\treturn result;\n\t}", "private int getPercentageValue(String elem){\n String query = \"declare namespace a='http://schemas.openxmlformats.org/drawingml/2006/main' $this//a:\" + elem;\n\n XmlObject[] obj;\n\n // first ask the context color and if not found, ask the actual color bean\n if(_phClr != null){\n obj = _phClr.selectPath(query);\n if(obj.length == 1){\n Node attr = obj[0].getDomNode().getAttributes().getNamedItem(\"val\");\n if(attr != null) {\n return Integer.parseInt(attr.getNodeValue()) / 1000;\n }\n }\n }\n\n obj = _xmlObject.selectPath(query);\n if(obj.length == 1){\n Node attr = obj[0].getDomNode().getAttributes().getNamedItem(\"val\");\n if(attr != null) {\n return Integer.parseInt(attr.getNodeValue()) / 1000;\n }\n }\n\n\n return -1;\n }", "public static void main(String args[] ) throws Exception {\n Scanner in = new Scanner(System.in);\n \n String original = in.next();\n int n = original.length();\n long moda = 1000000007;\n long ones = 1;\n long sum=0; \n for (int s=original.length()-1; s>=0; s--) {\n sum = (sum + (s+1) * (original.charAt(s) - '0') * ones) %moda; \n ones = (ones * 10 + 1) % moda;\n \n }\n \n System.out.println(sum);\n \n }", "@Override\n\tpublic int func1(String s) {\n\t\tfor(int i=s.length()-1; i>=0; i--) {\n\t\t\tif(s.charAt(i)>=48 && s.charAt(i)<=57) {\n\t\t\t\treturn Integer.parseInt(\"\"+s.charAt(i));\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}", "private int hashFunc(String input) {\n\t\tBigInteger value = BigInteger.valueOf(0);\n\t\tBigInteger k2 = new BigInteger(\"27\");\n\t\tchar c = input.charAt(0);\n\t\tlong i1 = (int) c - 96;\n\t\tBigInteger k1 = new BigInteger(\"0\");\n\t\tk1 = k1.add(BigInteger.valueOf(i1));\n\t\tvalue = k1;\n\n\t\tfor (int i = 1; i < input.length(); i++) {\n\n\t\t\tchar c2 = input.charAt(i);\n\n\t\t\tvalue = value.multiply(k2);\n\n\t\t\tlong i2 = (int) c2 - 96;\n\t\t\tBigInteger k3 = new BigInteger(\"0\");\n\t\t\tk3 = k3.add(BigInteger.valueOf(i2));\n\n\t\t\tvalue = value.add(k3);\n\n\t\t}\n\t\tBigInteger size = new BigInteger(\"0\");\n\t\tsize = size.add(BigInteger.valueOf(this.size));\n\t\tvalue = value.mod(size);\n\n\t\treturn value.intValue();\n\t}", "private static int value(char r) {\n if (r == 'I')\n return 1;\n if (r == 'V')\n return 5;\n if (r == 'X')\n return 10;\n if (r == 'L')\n return 50;\n if (r == 'C')\n return 100;\n if (r == 'D')\n return 500;\n if (r == 'M')\n return 1000;\n return -1;\n }", "public int calculateExp(String exp){\n\t\t\n\t\t\n\t\tint i=0;\n\t\tString num=\"\";\n\t\tArrayList<Integer> intlist= new ArrayList<>();\n\t\tArrayList<Character> oplist=new ArrayList<>();\n\t\tchar[] a1=exp.toCharArray();\n\t\twhile(i<a1.length){\n\t\t\tif(a1[i]>47 && a1[i]<58){\n\t\t\t\tnum+=a1[i];\n\t\t\t\ti++;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tintlist.add(convertToint(num));\n\t\t\t\t//System.out.println(intlist.get(0));\n\t\t\t\tnum=\"\";\n\t\t\t\toplist.add(a1[i++]);\n\t\t\t}\n\t\t}\n\t\tintlist.add(convertToint(num));\n\t\tint j=0;\n\t\tint m=0;\n\t\tint result=intlist.get(j++);\n\t\twhile (j<intlist.size()){\n\t\t\tchar x=oplist.get(m);\n\t\t\tm++;\n\t\t\tif(x=='+'){\n\t\t\t\tresult=result+intlist.get(j);\n\t\t\t}\n\t\t\telse if(x=='-'){\n\t\t\t\tresult=result-intlist.get(j);\n\t\t\t}\n\t\t\telse if(x=='*'){\n\t\t\t\tresult=result*intlist.get(j);\n\t\t\t}\n\t\t\telse if(x=='/'){\n\t\t\t\tresult=result/intlist.get(j);\n\t\t\t}\n\t\t\telse if(x=='%'){\n\t\t\t\tresult=result%intlist.get(j);\n\t\t\t}\n\t\t\tj++;\n\t\t}\n\t\treturn result;\n\t}", "public static int numDecodings(String s) {\r\n\t\tif(s == null || s.length() == 0)\r\n\t\t\treturn 0;\r\n\t\tint len = s.length();\r\n\t\tint[] ways = new int[len + 1];\r\n\t\tways[0] = 1;\r\n\t\tways[1] = s.charAt(0) == '0' ? 0 : 1;\r\n\t\t\r\n\t\tfor(int i = 2; i <= len; i++) {\r\n\t\t\tint code1 = Integer.valueOf(s.substring(i - 1, i)); // 1 digit\r\n\t\t\t//System.out.println(\"c1: \" + code1);\r\n\t\t\tint code2 = Integer.valueOf(s.substring(i - 2, i)); // 2 digit\r\n\t\t\t//System.out.println(\"c2: \" + code2);\r\n\t\t\t\r\n\t\t\t//ways[i] = (code1 != 0 ? ways[i - 1] : 0) + (code2 <= 26 && code2 > 9 ? ways[i - 2] : 0);\r\n\t\t\tif(code1 >= 1 && code1 <= 9)\r\n\t\t\t\tways[i] = ways[i - 1];\r\n\t\t\tif(code2 >= 10 && code2 <= 26)\r\n\t\t\t\tways[i] += ways[i - 2];\r\n\t\t\t//System.out.println(\"ways[\" + i + \"]: \" + ways[i]);\r\n\t\t}\r\n\t\t\r\n\t\treturn ways[len];\r\n\t}", "public int calculate2(String s) {\n Stack<Integer> stack = new Stack<>();\n char sign = '+';\n for (int i = 0; i < s.length(); i++) {\n char c = s.charAt(i);\n if(Character.isDigit(c)) {\n int tmp = 0;\n while (i < s.length() && Character.isDigit(s.charAt(i))) {\n tmp = tmp * 10 + s.charAt(i) - '0';\n i++;\n }\n while(i < s.length() && s.charAt(i) == ' '){i++;}\n if (sign == '+' || sign == '-' || sign == '*' || sign == '/' || i == s.length() - 1) {\n if (sign == '+') {\n stack.push(tmp);\n } else if (sign == '-') {\n stack.push(-tmp);\n } else if (sign == '*') {\n stack.push(stack.pop() * tmp);\n } else if (sign == '/') {\n stack.push(stack.pop() / tmp);\n }\n if(i < s.length()){\n sign = s.charAt(i);\n }\n }\n }\n }\n int res = 0;\n while (!stack.isEmpty()) {\n res += stack.pop();\n }\n return res;\n }", "private static int getOperandImportance(char operand)\r\n {\r\n int result = 0;\r\n switch(operand)\r\n {\r\n case '+':case '-':\r\n result = 1;\r\n break;\r\n case '*':case '/':\r\n result = 2;\r\n break;\r\n case '^':\r\n result = 3;\r\n }\r\n return result;\r\n }", "private String convertNumericToLetter (float grade) {\r\n\r\n // letter grades are indexed by grade point\r\n // the letter grade is added (+1) to the gradeCount array\r\n if(grade >= 93 && grade <= 100) { gradeCount[13] += 1; return grades[13]; } // [13] is A+\r\n if(grade >= 86 && grade < 93) { gradeCount[12] += 1; return grades[12]; } // [12] is A\r\n if(grade >= 80 && grade < 86) { gradeCount[11] += 1; return grades[11]; } // .\r\n if(grade >= 77 && grade < 80) { gradeCount[10] += 1; return grades[10]; } // .\r\n if(grade >= 73 && grade < 77) { gradeCount[9] += 1; return grades[9]; } // .\r\n if(grade >= 70 && grade < 73) { gradeCount[8] += 1; return grades[8]; } // .\r\n if(grade >= 67 && grade < 70) { gradeCount[7] += 1; return grades[7]; } // .\r\n if(grade >= 63 && grade < 67) { gradeCount[6] += 1; return grades[6]; } // .\r\n if(grade >= 60 && grade < 63) { gradeCount[5] += 1; return grades[5]; } // .\r\n if(grade >= 57 && grade < 60) { gradeCount[4] += 1; return grades[4]; } // .\r\n if(grade >= 53 && grade < 57) { gradeCount[3] += 1; return grades[3]; } // .\r\n if(grade >= 50 && grade < 53) { gradeCount[2] += 1; return grades[2]; } // .\r\n if(grade >= 35 && grade < 50) { gradeCount[1] += 1; return grades[1]; } // [1] is F\r\n else { gradeCount[0] += 1; return grades[0]; } // [0] is F-\r\n }", "public static void main(String[] args) {\n int a,b,c;\n int data;\n for (int i = 100; i < 999; i++) {\n\t\t\ta=i/100;//百位\n\t\t\tb=(i-a*100)/10;//十位\n\t\t\tc=i-100*a-10*b;//个位\n\t\t\tdata=a*a*a+b*b*b+c*c*c;\n\t\t\tif(data==i){\n\t\t\t\tSystem.out.println(\"水鲜花数字:\"+i);\n\t\t\t}\n\t\t}\n\t}", "public static void main(String[] args) {\n\t\tString s=\"A\";\n\t\tint l=s.length();\n\t\tint c=0;\n\t\tfor(int i=0;i<l;i++){\n\t\t\tc=(int) (c+(s.charAt(s.length()-i-1)-'A'+1)*Math.pow(26, i));\n\t\t\tSystem.out.println(c);\n\n\t\t}\n\t\t//System.out.println(c);\n\t}", "public String sumatoria(String columna) {\r\n\t\ttry {\r\n\t\t\tdouble total = 0;\r\n\t\t\tDouble cAux = new Double(total);\r\n\t\t\tString totalChar = \"\";\r\n\t\t\tString valchar = \"\";\r\n\t\t\tfor (int i = 1; i <= this.elemVS.size(); i++) {\r\n\t\t\t\tvalchar = (getObject(i, columna)).toString();\r\n\t\t\t\ttotal = total + (Double.valueOf(valchar)).doubleValue();\r\n\t\t\t}\r\n\t\t\ttotalChar = Double.toString(total);\r\n\t\t\treturn totalChar;\r\n\t\t}\r\n\t\tcatch (Exception e) {\r\n\t\t\treturn \"&nbsp;\" + elemVS.size();\r\n\t\t}\r\n\t}", "public int numDecodings(String s) {\r\n\t\tif ((s==null)||(s.length()<1)||(s.charAt(0)=='0')){\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\tint index = 0;\r\n\t\tMap<Integer,Integer> c = new HashMap<Integer,Integer>();\r\n\t\tc.put(index, 1);\r\n\t\tindex++;\r\n\t\twhile(index <s.length()) {\r\n\t\t\tint value = 0;\r\n\t\t\tchar pre = s.charAt(index-1);\r\n\t\t\tchar cur = s.charAt(index);\r\n\t\t\tint preprevalue = 0;\r\n\t\t\tif(index==1) {\r\n\t\t\t\tpreprevalue = 1;\r\n\t\t\t}else {\r\n\t\t\t\tpreprevalue = c.get(index- 2);\r\n\t\t\t}\r\n\t\t\tif (cur=='0') {\r\n\t\t\t\tif((pre!='1')&&(pre!='2')) {\r\n\t\t\t\t\treturn 0;\r\n\t\t\t\t}else {\r\n\t\t\t\t\tvalue = preprevalue;\t\r\n\t\t\t\t}\t\t\t\r\n\t\t\t}else {\r\n\t\t\t\tif(((pre!='1')&&(pre!='2')) || ((cur-'0')>6)&& (pre!='1') ) {\r\n\t\t\t\t\tvalue = c.get(index-1);\t\r\n\t\t\t\t}else {\r\n\t\t\t\t\tvalue = c.get(index-1) + preprevalue;\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tc.put(index, value);\r\n\t\t\tindex++;\r\n\t\t}\r\n\t\treturn c.get(s.length()-1);\r\n\t}", "int getSatMod(){\n return getPercentageValue(\"satMod\");\n }", "public static void main(String args[])\n {\n Scanner in=new Scanner(System.in);\n int num=in.nextInt();\n int a=num%10;\n int b=(num/10)%10;\n int c=num/100;\n a=a*100;\n b=b*10;\n int sum=a+b+c;\n System.out.println(sum);\n }", "public int strToDec(String str){\n int decimal = 0;\n Stack<Integer> hexStack = new Stack<>();\n\n for(int i = 0; i < str.length(); i++)\n {\n hexStack.push(this.hexabet.indexOf(str.charAt(i)));\n }\n\n for(int i = 0; hexStack.size() > 0; i++)\n {\n decimal += hexStack.pop() * Math.pow(16, i);\n }\n return decimal;\n }", "static void aci_data_with_acc(String passed){\n\t\tint sum = hexa_to_deci(registers.get('A'));\n\t\tsum+=(CS?1:0);\n\t\tsum+=hexa_to_deci(passed.substring(4));\n\t\tCS = sum>255?true:false;\n\t\tregisters.put('A',decimel_to_hexa_8bit(sum));\n\t\tmodify_status(registers.get('A'));\n\t}", "int getRemainderPercent();", "private void percent()\n\t{\n\t\tDouble percent;\t\t//holds the right value percentage of the left value\n\t\tString newText = \"\";//Holds the updated text \n\t\tif(calc.getLeftValue ( ) != 0.0 && Fun != null)\n\t\t{\n\t\t\tsetRightValue();\n\t\t\tpercent = calc.getRightValue() * 0.01 * calc.getLeftValue();\n\t\t\tleftValue = calc.getLeftValue();\n\t\t\tnewText += leftValue;\n\t\t\tswitch (Fun)\n\t\t\t{\n\t\t\t\tcase ADD:\n\t\t\t\t\tnewText += \" + \";\n\t\t\t\t\tbreak;\n\t\t\t\tcase SUBTRACT:\n\t\t\t\t\tnewText += \" - \";\n\t\t\t\t\tbreak;\n\t\t\t\tcase DIVIDE:\n\t\t\t\t\tnewText += \" / \";\n\t\t\t\t\tbreak;\n\t\t\t\tcase MULTIPLY:\n\t\t\t\t\tnewText += \" * \";\n\t\t\t\t\tbreak;\n\t\t\t}//end switch\n\t\t\t\n\t\t\tnewText += \" \" + percent;\n\t\t\tentry.setText(newText);\n\t\t\t\n\t\t}//end if\n\t\t\n\t}", "private int getPrecidence(String s) {\n\t\tif(s.equals(\"+\") || s.equals(\"-\")) return 1;\n\t\telse if(s.equals(\"*\") || s.equals(\"/\")) return 2;\n\t\telse if(s.equals(\"^\")) return 3;\n\t\telse return 0;\n\t}", "private static int numOfDecimalDigit(String text) {\n\t\treturn text.substring(text.indexOf(\".\") + 1, text.length()).length();\r\n\t}", "public int numDecodings(String s) {\n if(s==null||s.length()==0){\n return 0;\n }\n\n int n=s.length();\n int[] mem=new int[n+1];\n\n mem[n]=1;\n if(Integer.parseInt(s.substring(n-1))!=0){\n mem[n-1]=1;\n }\n\n for(int i=n-2;i>=0;i--){\n if(Integer.parseInt(s.substring(i,i+1))==0){\n continue;\n }\n if(Integer.parseInt(s.substring(i,i+2))<26){\n mem[i]=mem[i+1]+mem[i+2];\n }else{\n mem[i]=mem[i+1];\n }\n }\n\n return mem[0];\n }", "public double getcommonPercent(String word1, String word2){\n\t\t// Numerator = letters in common\n\t\t// Denominator = all the letters\n\t\t// Common percent = Numerator/Denominator\n\t\tint Numerator = 0;\n\t\tdouble Denominator = 0.0;\n\t\tdouble commonPercent = 0.0;\n\n\t\tArrayList<Character> myNset = new ArrayList<Character>();\n\t\tmyNset = getNumeratorset(word1, word2);\n\t\tNumerator = myNset.size();\n\n\t\tArrayList<Character> myDset = new ArrayList<Character>();\n\t\tmyDset = getDenominatorset(word1, word2);\n\t\tDenominator = myDset.size();\n\n\t\t// calculate Numerator and Denominator\n\t\tcommonPercent = Numerator/Denominator;\n\n\t\treturn commonPercent;\n\t}", "private double fillPercent() {\n\t\tdouble percent = 0;\n\t\t\n\t\tfor (LinkedList<WordCode<K, V>> ll : myBuckets) {\n\t\t\tif (ll.size() != 0) percent++;\n\t\t}\n\t\treturn (percent / myBuckets.size()) * 100;\n\t}", "public int calculate(String s) {\n if ((s == null) || (s.length() == 0)) return 0;\n int i = 0;\n int j = 0;\n s = s.replace(\" \", \"\");\n String val = \"\";\n int prevVal = 0;\n Stack<Integer> stack = new Stack<Integer>();\n while ((i < s.length()) && (j < s.length())) {\n char ch = s.charAt(i);\n if ((ch == '+') || (ch == '-')) {\n Integer top = null;\n if ( ! stack.isEmpty()) top = stack.peek();\n if (top != null) {\n int topValue = top.intValue();\n if ((topValue == '+') || (topValue == '-') && (stack.size() >= 2)) {\n stack.pop();\n Integer op = stack.pop();\n if (val.length() > 0) {\n if (topValue == '+') stack.push(Integer.parseInt(val) + op.intValue());\n else stack.push(op.intValue() - Integer.parseInt(val));\n }\n }\n }\n else if (val.length() > 0) stack.push(Integer.parseInt(val));\n stack.push((int) ch);\n val = \"\";\n i++;\n } else if ((ch == '*') || (ch == '/')) {\n prevVal = Integer.parseInt(val);\n val = \"\";\n j = i + 1;\n while (j < s.length()) {\n char ch_next = s.charAt(j);\n if ((ch_next == '+') || (ch_next == '-') || (ch_next == '*') || (ch_next == '/')) {\n i = j;\n break;\n } else {\n val = val + ch_next;\n }\n j++;\n }\n if (val.length() > 0) {\n if (ch == '*') val = (Integer.parseInt(val) * prevVal) + \"\";\n else val = (prevVal / Integer.parseInt(val)) + \"\";\n prevVal = 0;\n }\n } else {\n val = val + ch;\n i++;\n }\n }\n if (val.length() > 0) {\n stack.push(Integer.parseInt(val));\n }\n int res = 0;\n while ( ! stack.isEmpty()) {\n int op_2 = stack.pop();\n res = op_2;\n if (stack.size() >= 2) {\n int op = stack.pop();\n int op_1 = stack.pop();\n if (op == '+') stack.push(op_2 + op_1);\n else stack.push(op_1 - op_2);\n\n }\n }\n return res;\n }", "static void adi_data_with_acc(String passed){\n\t\tint sum = hexa_to_deci(registers.get('A'));\n\t\tsum+=hexa_to_deci(passed.substring(4));\n\t\tCS = sum>255?true:false;\n\t\tregisters.put('A',decimel_to_hexa_8bit(sum));\n\t\tmodify_status(registers.get('A'));\n\t}", "private int hexToDecimal(String s)\n {\n String digits = \"0123456789ABCDEF\";//digits to define value based on position on this string\n s = s.toUpperCase();//changes the parameter value to uppercase\n int val = 0;//value starts with 0\n \n \n //loop for the as many characters as in \"s\"\n for (int i = 0; i < s.length(); i++)\n {\n char c = s.charAt(i);//gets character at position i from user input\n \n int d = digits.indexOf(c);//get index value of character from digits\n \n val = 16 * val + d;//calculates decimal num. Times 16 with itself each loop and adds the value of the character from digits in decimal form\n \n }\n return val;\n }", "static double probabilityValue(String str, String findStr) {\n\t\tdouble val = count(str, findStr) / count(str, str.substring(str.length() - 1));\n\t\treturn val;\n\t}", "public double precioFinal(){\r\n \r\n double plus = 0;\r\n \r\n switch(consumoElectrico){\r\n case 'A':\r\n plus +=100;\r\n break;\r\n case 'B':\r\n plus += 80;\r\n break;\r\n case 'C':\r\n plus +=60;\r\n break;\r\n case 'D':\r\n plus +=50;\r\n break;\r\n case 'E':\r\n plus+=30;\r\n break;\r\n case 'F':\r\n plus+=10;\r\n break;\r\n \r\n }\r\n \r\n \r\n if(peso>=0 && peso<=19){\r\n plus+=10;\r\n }else if(peso >=20 && peso<= 49){\r\n plus+=50;\r\n }else if(peso >= 50 && peso<=79){\r\n plus+=80;\r\n }else if(peso>=80){\r\n plus+=100;\r\n }\r\n return precioBase+plus;\r\n }", "public double getAscent() throws PDFNetException {\n/* 876 */ return GetAscent(this.a);\n/* */ }", "static int chara(String a) {\n int character = 0;\n while ((16 * character) < a.length()) {\n character++;\n }\n return character;\n }", "public double getPercent(char type)\n\t{\n\t\tdouble dPercent;\n\t\tswitch(type)\n\t\t{\n\t\t\tcase 'q':\n\t\t\tcase 'Q':\n\t\t\t\tdPercent=pctQ;\n\t\t\t\tbreak;\n\t\t\tcase 'p':\n\t\t\tcase 'P':\n\t\t\t\tdPercent=pctP;\n\t\t\t\tbreak;\n\t\t\tcase 't':\n\t\t\tcase 'T':\n\t\t\t\tdPercent=pctT;\n\t\t\t\tbreak;\n\t\t\tcase 'f':\n\t\t\tcase 'F':\n\t\t\t\tdPercent=pctF;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tdPercent= -1;\n\t\t}\n\t\treturn dPercent;\n\t\t\n\t}", "public float getAdvance(char c) {\n return Math.round(convertUnitToEm(size, charWidth[c]));\n }", "public String AToHa(double a) {\n // ha = a/100\n double ha = a/100;\n return check_after_decimal_point(ha);\n }", "static void cmp_with_reg(String passed){\n\t\tint val1 = hexa_to_deci(registers.get('A'));\n\t\tint val2 = hexa_to_deci(registers.get(passed.charAt(4)));\n\t\tS = val1>=val2?false:true;\n\t\tval2 = 256-val2;\n\t\tval2%=256;\n\t\tval1+=val2;\n\t\tCS = val1>255?true:false;\n\t\tString b = Integer.toBinaryString(val1);\n\t\tint ones=0;\n\t\tfor(int i=0;i<b.length();i++)\n\t\t\tif(b.charAt(i)=='1')\n\t\t\t\tones++;\n\t\tZ = ones==0?true:false;\n\t\tP = ones%2==0?true:false;\n\t}", "private int getNucIndex(char c) {\n\t\tswitch(c) {\n\t\tcase 'A':\n\t\t\treturn 0;\n\t\tcase 'C':\n\t\t\treturn 1;\n\t\tcase 'G':\n\t\t\treturn 2;\n\t\tcase 'T':\n\t\t\treturn 3;\n\t\tcase '-':\n\t\t\treturn 4;\n\t\tdefault:\n\t\t\treturn 4;\n\t\t}\n\t}", "private static boolean special_optimization(String a)\n {\n int sum = 0;\n for(int x = 0; x < a.length(); x++)\n {\n sum += (find_value(\"\"+a.charAt(x)));\n }\n if(sum <= library.return_uppervalue() && sum >= library.return_lowervalue())\n return false;\n return true;\n }", "public void ex() {\n int inches = 86; \n int pie = 12; //1 pie = 12 inches \n //Operaciones para obtener la cantidad de pies e inches\n int cant = inches / pie; \n int res = inches % pie;\n //Muestra de resultados\n System.out.println(inches + \" pulgadas es equivalente a\\n \" + \n cant + \" pies \\n \" + res + \" pulgadas \");\n }", "public static int numeralSum(String s) {\n\t\tint yeehaw=0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif(Character.isDigit(s.charAt(i))==true) {\n\t\t\tyeehaw+=Character.getNumericValue(s.charAt(i));\n\t\t\t}\n\t\t\t}\n\t\treturn yeehaw;\n\t}", "private static int prec(char c) {\n\t\tif (c=='(' || c==')') {\n\t\t\treturn 3;\n\t\t}else if (c=='*' || c=='/') {\n\t\t\treturn 2;\n\t\t}else {\n\t\t\treturn 1;\n\t\t}\n\t}", "public static void main(String[] args) {\n byte myByteVar = 10;\r\n short myShortVar = 20;\r\n int myIntVar = 50;\r\n long myLongVar = 50000L + 10L * (myByteVar + myShortVar + myIntVar);\r\n System.out.println(\"myLong = \" + myLongVar);\r\n float myFloatVal = 5f;\r\n double myDoubleVal = 5d;\r\n System.out.println(\"flt \" + myFloatVal );\r\n System.out.println(\"dou \" + myDoubleVal);\r\n\r\n double pndVal = 200d;\r\n double kiloVal = pndVal * .45359237d;\r\n System.out.println(\"3 pnd be kilo \" + kiloVal);\r\n char myChar = '\\u00AE';\r\n System.out.println(\"char \" + myChar);\r\n boolean isAnAlien = false;\r\n if (isAnAlien)\r\n System.out.println(\"is an alien\");\r\n double firstVal = 20;\r\n double secondVal = 40;\r\n double sumVal =( firstVal + secondVal) * 25 ;\r\n double remVal = sumVal % 25;\r\n if (remVal <= 20)\r\n System.out.println(\"it is 20 or less \" + remVal);\r\n\r\n\r\n }", "public int getCardVal(){\n\t\tint aces = 0;\n\t\tif(cardString.charAt(0) == 'J' || cardString.charAt(0) == 'Q' || cardString.charAt(0) == 'K' || cardString.charAt(0) == 'T'){\n\t\t\tcardValue = 10;\n\t\t}\n\t\telse if(cardString.charAt(0) == 'A'){\n\t\t\tcardValue = 11;\n\t\t}\n\t\telse{\n\t\t\tcardValue = Character.getNumericValue(cardString.charAt(0));\n\t\t}\n\t\treturn cardValue;\n\t}", "static void add_with_reg(String passed){\n\t\tint sum = hexa_to_deci(registers.get('A'));\n\t\t/*\n\t\t * This will be valid only when sign arithematic is being performed\n\t\t * if(S)\n\t\t\tsum*=-1;\n\t\t */\n\t\tsum+=(hexa_to_deci(registers.get(passed.charAt(4))));\n\t\tCS = sum>255?true:false;\n\t\tregisters.put('A', decimel_to_hexa_8bit(sum));\n\t\tmodify_status(registers.get('A'));\n\t}", "public int mo29670a(String str) {\n int length = str.length();\n int i = this.f19526c;\n for (int i2 = 0; i2 < length; i2++) {\n i = (i * 33) + str.charAt(i2);\n }\n if (i == 0) {\n return 1;\n }\n return i;\n }", "static String GetCheckDigitAndCheckCode(String input) {\n int sum = 0;\n for(int i = 0; i < input.length(); i++) {\n if(i%2 == 0 || i == 0) {\n\n sum += 3 * Character.getNumericValue(input.charAt(i));\n }else {\n sum += Character.getNumericValue(input.charAt(i));\n }\n }\n int subDigit = ((sum/10) + 1 ) * 10;\n int checkDigit = subDigit - sum;\n\n input = input + checkDigit;\n\n\n int digit1 = get9Digits(input.substring(0, 8));\n int digit2 = get9Digits(input.substring(9));\n\n // NOTE - Not able to understand what means by index of 2\n // digit numbers so here am just adding instead of multiplying the 2 9 digits.\n int result = digit1 + digit2 + 207;\n int remainder = result % 103;\n\n StringBuilder sb = new StringBuilder();\n sb.append(checkDigit);\n sb.append(',');\n sb.append(remainder);\n return sb.toString();\n }", "public static double termPercentage(final int aantalTermijnen, final double percentage)\n\t{\n\t\tdouble p = 1 + percentage * EEN_PERCENT;\n\t\tdouble m = 1 / (double) aantalTermijnen;\n\t\treturn (Math.pow(p, m) - 1d) * HON_PERCENT;\n\t}", "private int char2Int(char _char){\n \tswitch(_char){\r\n \tcase 'A': case 'a': return 0; \r\n \tcase 'R': case 'r': return 1;\r\n \tcase 'N': case 'n': return 2; \t\r\n \tcase 'D': case 'd': return 3;\r\n \tcase 'C': case 'c': return 4;\r\n \tcase 'Q': case 'q': return 5;\r\n \tcase 'E': case 'e': return 6;\r\n \tcase 'G': case 'g': return 7;\r\n \tcase 'H': case 'h': return 8;\r\n \tcase 'I': case 'i': return 9;\r\n \tcase 'L': case 'l': return 10;\r\n \tcase 'K': case 'k': return 11;\r\n \tcase 'M': case 'm': return 12;\r\n \tcase 'F': case 'f': return 13;\r\n \tcase 'P': case 'p': return 14;\r\n \tcase 'S': case 's': return 15;\r\n \tcase 'T': case 't': return 16;\r\n \tcase 'W': case 'w': return 17;\r\n \tcase 'Y': case 'y': return 18;\r\n \tcase 'V': case 'v': return 19;\r\n \tcase 'B': case 'b': return 20;\r\n \tcase 'Z': case 'z': return 21;\r\n \tcase 'X': case 'x': return 22; \t\r\n \tdefault: return 23;\r\n \t}\r\n \t//\"A R N D C Q E G H I L K M F P S T W Y V B Z X *\"\r\n }", "public int translateNum(int num) {\n String s = String.valueOf(num);\n int a=1,b=1;\n for(int i=s.length()-2; i>-1; i--){\n String tmp = s.substring(i, i+2);\n int c= tmp.compareTo(\"10\") >= 0 && tmp.compareTo(\"25\") <= 0 ? a+b:a;\n b=a;\n a=c;\n }\n return a;\n }", "int getSat(){\n return getPercentageValue(\"sat\");\n }", "private static String removeLastPercentSymbol(String str) {\n int toRemovePos = str.lastIndexOf(\"%\");\n if (toRemovePos == -1) return str;\n int i = toRemovePos + 1;\n for (; i < str.length(); i++) {\n // Travel until we reach a non-digit character\n if (!Character.isDigit(str.charAt(i))) break;\n }\n return str.substring(0, toRemovePos) + str.substring(i);\n }", "public int letterValue(char letter){\n int val;\n\n switch(letter){\n case 'a':\n case 'e':\n case 'i':\n case 'o':\n case 'u':\n case 'l':\n case 'n':\n case 's':\n case 't':\n case 'r': val =1;\n break;\n\n case 'd':\n case 'g': val =2;\n break;\n\n case 'b':\n case 'c':\n case 'm':\n case 'p': val =3;\n break;\n\n case 'f':\n case 'h':\n case 'v':\n case 'w':\n case 'y': val =4;\n break;\n\n case 'k': val =5;\n break;\n\n case 'j':\n case 'x': val =8;\n break;\n\n case 'q':\n case 'z': val =10;\n break;\n\n default: val =0;\n }\n return val;\n }", "public final void mPERCENT() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = PERCENT;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /Users/Sarah/Projects/ontop/obdalib-core/src/main/java/it/unibz/krdb/obda/parser/Datalog.g:433:8: ( '%' )\n\t\t\t// /Users/Sarah/Projects/ontop/obdalib-core/src/main/java/it/unibz/krdb/obda/parser/Datalog.g:433:16: '%'\n\t\t\t{\n\t\t\tmatch('%'); \n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "private static void task41() {\n System.out.println(\"Enter character: \");\n char ch = scanStr().charAt(0);\n\n System.out.println(\"ASCII value of \" + ch + \" is \" + (int)ch);\n }", "public int numDecodingsDP(String s) {\n int n=s.length();\n int[] dp = new int[n+1];\n\n dp[0]=1;\n //since we have guaranteed first char will never be\n dp[1]=s.charAt(0)=='0'? 0:1;\n //start with 2 and go 2 characters behind\n for(int i=2;i<=n;i++){\n //if single digit decode is possible\n //i'th character of dp is i-1th of string\n\n if(s.charAt(i-1)!='0')\n dp[i]=dp[i-1];\n\n String twoDigit=s.substring(i-2,i);\n if(Integer.parseInt(twoDigit)>=10 && Integer.parseInt(twoDigit) <=26)\n dp[i]+=dp[i-2];\n\n }\n\n return dp[n];\n }", "public static void main(String[] args) {\n\t\tdouble x = 19923.3288;\n\t\tNumberFormat nf = NumberFormat.getNumberInstance();\n\t\tnf.setMinimumFractionDigits(2);\n\t\tnf.setMaximumFractionDigits(2);\n\t\tSystem.out.println(nf.format(x));\n\t\t\n\t\tdouble grade = .92;\n\t\tNumberFormat pf = NumberFormat.getPercentInstance();\n\t\tSystem.out.println(pf.format(grade));\n\n\t}" ]
[ "0.6349116", "0.6170771", "0.6107258", "0.6080651", "0.5928065", "0.58394665", "0.57426643", "0.5632353", "0.55307555", "0.55246156", "0.54629153", "0.5437961", "0.5423009", "0.5421922", "0.5401836", "0.53761125", "0.53662485", "0.53038454", "0.5281387", "0.525221", "0.5245987", "0.5242063", "0.52106047", "0.520985", "0.5205433", "0.51943326", "0.5190678", "0.51528376", "0.51385564", "0.5134038", "0.5124452", "0.51206744", "0.51115036", "0.5090359", "0.50846696", "0.5067775", "0.5065558", "0.506471", "0.5054684", "0.5054568", "0.5050632", "0.504837", "0.50482243", "0.50430816", "0.5043026", "0.5030888", "0.5029455", "0.50288165", "0.5027113", "0.50268066", "0.5018722", "0.5018189", "0.5005099", "0.49949405", "0.49945182", "0.4981763", "0.49809122", "0.49787933", "0.49784708", "0.4975289", "0.49732062", "0.49676588", "0.49649534", "0.49648526", "0.49531418", "0.49344718", "0.49343872", "0.49287406", "0.49248165", "0.49177969", "0.4916529", "0.49132544", "0.4912377", "0.4910597", "0.4908986", "0.49058318", "0.49047735", "0.49016005", "0.4900993", "0.4896456", "0.48816246", "0.48812005", "0.48789504", "0.48718384", "0.4870634", "0.48673218", "0.48645863", "0.48555595", "0.4853385", "0.4845892", "0.48442274", "0.48396045", "0.4837242", "0.4835008", "0.48338935", "0.48271945", "0.4826398", "0.48207113", "0.48181677", "0.48175365" ]
0.7342639
0
Called whenever one of the list items is clicked.
@Override protected void onListItemClick(ListView list, View view, int position, long id){ // Start the selected Activity Intent intent = new Intent(this, activities[position]); startActivity(intent); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onListItemClicked(int position) {\n\n }", "void onListClick();", "@Override\r\n public void onListItemClick(ListView l, View v, int position, long id) {\n }", "abstract public void onSingleItemClick(View view);", "@Override\n public void onItemClick(View view, ListItem obj, int position) {\n }", "@Override\n public void OnItemClick(int position) {\n }", "@Override\n\tpublic void onListItemClick(ListView l, View v, int position, long id) {\n\t \n\t }", "@Override\n public void itemClick(int pos) {\n }", "@Override\n protected void onListItemClick(ListView l, View v, int position, long id) {\n \t\n \t\n }", "@Override\n public void onItemClicked(int itemPosition, Object dataObject) {\n }", "@Override\n public void onListItemClick(ListView l, View v, int position, long id) {\n Log.i(\"LoaderCustom\", \"Item clicked: \" + id);\n }", "@Override\n public void onClick(View view) { listener.onItemClick(view, getPosition()); }", "@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) {\n\t\t\t\tif (null != mListOnItemClickListener) {\n\t\t\t\t\tmListOnItemClickListener.onItemClick(list.get(arg2), type);\n\t\t\t\t\tpopup.dismiss();\n\t\t\t\t}\n\t\t\t}", "public void onListItemClick( ListView l, View v, int position, long id )\n {\n }", "@Override\n public void onItemClick(int pos) {\n }", "void contentList_mouseClicked(MouseEvent e) {\n if (e.getClickCount() > 1) {\n doView();\n }\n\n }", "@Override\n\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\n\t\t\t\tlong arg3) {\n\t\t\t\t\n\t\t\tToast.makeText(getBaseContext(), list.get(arg2),\n\t\t\t\tToast.LENGTH_SHORT).show();\n\t\t}", "@Override\n public void onClick(View v) {\n //getAdapterPosition() get's an Integer based on which the position of the current\n //ViewHolder (this) in the Adapter. This is how we get the correct Data.\n ListItem listItem = listOfData.get(\n this.getAdapterPosition()\n );\n\n controller.onListItemClick(\n listItem,\n v\n );\n\n }", "@Override\r\n\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) {\n\t\t\r\n\t}", "@Override\n\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) {\n\t\t\n\t}", "@Override\n public void onClick(View view) {\n itemInterface.OnItemClickedListener(tracks, getAdapterPosition());\n }", "@Override\n\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\n\t\t\t\tlong arg3) {\n\t\t\t\n\t\t}", "@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) {\n\n\t\t\t}", "@Override\n\t\t\t\t\t\t\t\tpublic void onItemClick(AdapterView<?> parent, View view,\n\t\t\t\t\t\t\t\t\t\tint position, long id) {\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}", "@Override\n\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) {\n\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}", "@Override\n public void onClick(View view) {\n clickListener.onItemClicked(getBindingAdapterPosition());\n }", "@Override\n public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) {\n }", "@Override\n public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) {\n }", "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n }", "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n }", "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n }", "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n }", "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n }", "@Override\n\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) {\n\n\t}", "@Override\n\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) {\n\n\t}", "@Override\n public void onItemClick(AdapterView<?> parent, View view,\n int position, long id) {\n }", "@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\n\t\t\t\t\t\t\t\t\tlong arg3) {\n\t\t\t}", "@Override\n\tpublic void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n\n\t}", "@Override\n\tpublic void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n\n\t}", "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position,\n long id) {\n\n\n }", "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n }", "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n }", "private void clickcallback() {\n final ListView listView = findViewById(R.id.listViewCollections);\n\n listView.setOnItemClickListener(ClickListener());\n\n if (friendID == null) {\n listView.setOnItemLongClickListener(LongClickListener());\n }\n }", "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n\n }", "abstract void listDisponibles_mouseClicked(MouseEvent e);", "@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\n\t\t\t\t\tlong arg3) {\n\t\t\t}", "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n }", "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n }", "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n }", "@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\n\t\t\t\t\tlong arg3) {\n\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\n\t\t\t}", "@Override\n public void onItemClick(int position) {\n }", "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position,\n long id) {\n }", "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position,\n long id) {\n }", "void onItemClick(int position);", "public void onListItemClick(ListView l, \n\t\t\tView v, int position, long id) {\n\t}", "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n Log.w(TAG , \"POSITION : \" + position);\n\n itemClick(position);\n }", "@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) {\n\t\t\t\tBaseData.item = (String[]) adapter.getItem(arg2);\n\t\t\t\tListIntentActivity.goActivity(ListActivity.this);\n\t\t\t}", "@Override\n public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) {\n }", "@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tpulllist();\n\t\t\t}", "public void onListItemClick(ListView list, View v, int position, long id)\n {\n Intent intent = new Intent(MainActivity.this, EventActivities.class);\n intent.putExtra(\"c\", position);\n startActivity(intent);\n }", "@Override\r\n\tpublic void onItemClick(AdapterView<?> parent, View view, int position,\r\n\t\t\tlong id) {\n\r\n\t}", "@Override\r\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\r\n\t\t\t\t\tlong arg3) {\n\r\n\t\t\t}", "@Override\r\n\t\t\t\tpublic void onItemClick(AdapterView<?> parent, View view,\r\n\t\t\t\t\t\tint position, long id) {\n\t\t\t\t}", "@Override\n\tpublic void onItemClick(AdapterView<?> parent, View view, int position,\n\t\t\tlong id) {\n\t\t\n\t}", "void clickItem(int uid);", "abstract void listSeleccionadas_mouseClicked(MouseEvent e);", "void issuedClick(String item);", "@Override\n\tprotected void onListItemClick(ListView l, View v, int position, long id) {\n\t\tToast.makeText(this, String.format(\"Clicked on item #%d with text %s\",\n\t\t\tposition, mAdapter.getItem(position)), Toast.LENGTH_SHORT).show();\n\t}", "@Override\n\t\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1,\n\t\t\t\t\t\tint arg2, long arg3) {\n\t\t\t\t\t\n\t\t\t\t\t Log.i(\"MyListViewBase\", \"你点击了ListView条目\"+arg2);\n\t\t\t\t}", "void onItemClickListener(View view, int postion);", "@Override\n\tprotected void onListItemClick(ListView l, View v, int position, long id) {\n\t\tsuper.onListItemClick(l, v, position, id);\n\t}", "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n String name = navDrawerItems.get(position).getListItemName();\n // call a helper method to perform a corresponding action\n performActionOnNavDrawerItem(name);\n }", "@Override\n public void onListItemClick(ListView l, View v, int position, long id) {\n //Recipe recipe = recipes.get(position);\n mListener.onListInteraction(position, false);\n }", "@Override\n public void onListItemClick(ListView l, View v, int position, long id) {\n super.onListItemClick(l, v, position, id);\n\n Artist selectedArtist = artists.get(position);\n String name = selectedArtist.artistName;\n String genre = selectedArtist.artistGenre;\n String label = selectedArtist.artistLabel;\n String city = selectedArtist.artistCity;\n String state = selectedArtist.artistState;\n\n mListener.displayArtist(name, genre, label, city, state);\n\n\n\n }", "@Override\n public void onItemClick(int position) {\n }", "@Override\n public void onItemClick(int position) {\n }", "@Override\n\tpublic void onItemClick(AdapterView<?> parent, View view, int position,\n\t\t\tlong id) {\n\n\t}", "@Override\n\t\t\tpublic void onItemClick(AdapterView<?> parent, View v, int pos, long id) {\n\t\t\t\tSystem.out.println(\"Selected \" + pos);\n\t\t\t}", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tif (itemClicked != null)\n\t\t\t\t\titemClicked.OnItemClicked((BusinessType)item.getTag(), item);\n\t\t\t}", "private void contactListItemHandler(){\n contactList.setOnItemClickListener(new AdapterView.OnItemClickListener() {\n @Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n startChat(customArrayAdapter.getChatId(position));\n }\n });\n }", "@Override\n public void onItemClick(AdapterView<?> parent, View view,\n int position, long id) {\n\n clickedValue = teams.get(position).name.toString();\n\n Intent intent = new Intent(teamSelection.this, Signup.class);\n\n intent.putExtra(\"ListViewClickedValue\", clickedValue);\n startActivity(intent);\n\n }", "@Override\n public void onClick(View v) {\n listener.onItemClick(v, position);\n }", "public void onItemClick(View view, int position);", "@Override\n public void onItemClick(View view, int position) {\n }", "@Override\n public void onItemClick(View view, int position) {\n }", "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n Movie single_movie = movieList.get(position);\n goToSingleMovie(single_movie);\n\n }", "protected void setListener(){\r\n main_list.setOnItemClickListener(new AdapterView.OnItemClickListener() {\r\n @Override\r\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\r\n activityStart(Constants.ACTIVITIES[position]);\r\n }\r\n });\r\n }", "@Override\r\n\t\t\tpublic void onItemClick(AdapterView<?> adapter, View view, int position,\r\n\t\t\t\t\tlong arg3) {\n\t\t\t\t\r\n\t\t\t}", "void onChamaItemClicked(int position);", "@Override\n\tpublic void onItemClick(Object o, int position) {\n\n\t}", "@Override\n\t\t\tpublic void onItemClick(AdapterView<?> parent, View view,\n\t\t\t\t\tint position, long id) {\n\t\t\t\tString name = ((TextView) view.findViewById(R.id.name)).getText().toString();\n\t\t\t\tString year = ((TextView) view.findViewById(R.id.year)).getText().toString();\n\t\t\t\tString trailer = ((TextView) view.findViewById(R.id.trailer)).getText().toString();\n\t\t\t\t\n\t\t\t\tIntent i = new Intent(getApplicationContext(), SingleListItem.class);\n\t\t\t\t\n\t\t\t\tBundle extras = new Bundle();\n\t\t\t\textras.putString(\"TAG_TITLE\", name);\n\t\t\t\textras.putString(\"TAG_YEAR\", year);\n\t\t\t\textras.putString(\"TAG_TRAILER\", trailer);\n\t\t\t\ti.putExtras(extras);\n\t\t\t\t\n\t\t\t\tstartActivity(i);\n\t\t\t}", "private void listner() {\n\t\tdocketList.setOnItemClickListener(new OnItemClickListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) {\n\t\t\t\t// TODO Auto-generated method stub\n\n\t\t\t}\n\t\t});\n\t}", "@Override\n public void onItemClick(Nson parent, View view, int position) {\n }", "void onItemClick(View view, int position);", "@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\t\n\n\t\t\t\tListAdapter ca = (ListAdapter) arg0\n\t\t\t\t\t\t.getAdapter();\n\t\t\t\tList ls = (List) ca.getItem(arg2);\n\t\t\t\t\n\n\t\t\t\t Intent intent = new Intent(main.this, ProfileActivity.class);\n\t\t\t\t intent.putExtra(\"member_srl\", String.valueOf(ls.getTag()));\n\t\t\t\t\tstartActivity(intent);\n\n\t\t\t}", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\titemClickListener.Callback(itemInfo);\n\t\n\t\t\t}", "@Override\n public void onClick(View v) {\n this.itemClickListener.onItemClick(v, getLayoutPosition());\n }", "private void setMouseListener() {\n lstvList.setOnMouseClicked(new EventHandler<MouseEvent>() {\n @Override\n public void handle(MouseEvent event) {\n if (event.getClickCount() == 2) {\n try {\n showBike(lstvList.getSelectionModel().getSelectedItem());\n } catch (IOException ex) {\n \n }\n }\n }\n });\n }", "@Override\n public void onItemClick(View view, int position) {\n\n }" ]
[ "0.76936084", "0.7668466", "0.7375451", "0.7372957", "0.7358719", "0.7332538", "0.72857344", "0.7267541", "0.72462", "0.723758", "0.7213979", "0.7180443", "0.71638703", "0.7158465", "0.71549845", "0.71503353", "0.7149821", "0.71477437", "0.7135444", "0.7132487", "0.71153224", "0.7109625", "0.7108842", "0.7107358", "0.71031004", "0.70933646", "0.7075832", "0.7063337", "0.7063337", "0.7054172", "0.7054172", "0.7054172", "0.7054172", "0.7054172", "0.70537513", "0.70537513", "0.7041602", "0.70413524", "0.70382243", "0.70382243", "0.7031006", "0.7029844", "0.7029844", "0.70242167", "0.70232546", "0.70190954", "0.70074743", "0.6994807", "0.6994807", "0.6994807", "0.69881415", "0.69881415", "0.698539", "0.69726604", "0.69726604", "0.6970827", "0.6967415", "0.69610137", "0.6958006", "0.6957744", "0.69485533", "0.69310325", "0.6925733", "0.69235164", "0.69222045", "0.6921173", "0.6919551", "0.69022775", "0.6892128", "0.689175", "0.68881035", "0.6880288", "0.6877967", "0.68730974", "0.6870711", "0.6862351", "0.6857085", "0.6857085", "0.685212", "0.68476504", "0.6846591", "0.68377", "0.68376184", "0.683603", "0.68278074", "0.68247306", "0.68247306", "0.68237156", "0.68162256", "0.6810985", "0.67969877", "0.67897284", "0.6788981", "0.6786209", "0.6784557", "0.6781576", "0.6779568", "0.67757225", "0.67618", "0.67616636", "0.67594343" ]
0.0
-1
No need to return anything special.
@Override public Object getItem(int position) { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract int pregnancy();", "public abstract Object mo26777y();", "Variable getReturn();", "public abstract String mo41079d();", "default boolean isSpecial() { return false; }", "public String method_211() {\r\n return null;\r\n }", "protected boolean func_70814_o() { return true; }", "public abstract String mo9239aw();", "public class_1562 method_207() {\r\n return null;\r\n }", "public abstract String mo118046b();", "private stendhal() {\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n protected void getExras() {\n }", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract String mo13682d();", "@Override\n public int retroceder() {\n return 0;\n }", "public abstract String use();", "public abstract Object mo1771a();", "@Override\n public void get() {}", "public void method_4270() {}", "public abstract void mo70713b();", "public abstract int mo41077c();", "public Object good() {\n\t\treturn \"hyo\";\n\t}", "public abstract int mo9754s();", "public abstract String mo10149a();", "protected abstract Set method_1559();", "public abstract String mo41086i();", "abstract Function get(Object arg);", "public Unsafe method_4123() {\n return null;\n }", "public abstract Object mo1185b();", "public abstract String mo9752q();", "static int type_of_ret(String passed){\n\t\treturn 1;\n\t}", "public abstract String mo8770a();", "public abstract void mo27385c();", "private Get() {}", "private Get() {}", "public T getRawResult()\n/* */ {\n/* 744 */ return null;\n/* */ }", "public abstract int mo4375b();", "@Override\n\t/**\n\t * returns a String \"no\" because a class does not have a data or return type\n\t * \n\t * @return \"no\"\n\t */\n\tpublic String getReturnType() {\n\t\treturn \"no\";\n\t}", "public abstract void mo56925d();", "public abstract void mo27386d();", "public abstract String mo24850a();", "public abstract int mo123248g();", "public abstract String mo9091a();", "@Override\n public void func_104112_b() {\n \n }", "abstract public T getInfo();", "public abstract String mo11611b();", "public String getContents()\r\n/* 40: */ {\r\n/* 41:104 */ return \"\";\r\n/* 42: */ }", "public abstract String mo9751p();", "public abstract void mo30696a();", "@Override\n public void perish() {\n \n }", "abstract public String named();", "public abstract int mo123246e();", "public abstract String getResult();", "abstract String getContent();", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "protected Item func_146068_u() { return Item.func_150899_d(0); }", "protected abstract O getResult();", "public abstract String mo9238av();", "public void returnDefault();", "@Override\n\tprotected void parseResult() {\n\t\t\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n public int describeContents() { return 0; }", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "public java.lang.String get_return(){\n return local_return;\n }", "public java.lang.String get_return(){\n return local_return;\n }", "public java.lang.String get_return(){\n return local_return;\n }", "public java.lang.String get_return(){\n return local_return;\n }", "java.lang.String getHowToUse();", "java.lang.String getHowToUse();", "int getUnknown1();", "int getUnknown1();", "int getUnknown1();", "int getUnknown1();", "public abstract String get();", "boolean test() {\n return false; // REPLACE WITH SOLUTION\n }", "public int method_113() {\r\n return 0;\r\n }", "public String returnKind(){ return kind; }", "protected class_496 method_1608() {\n return this.field_936;\n }", "zzafe mo29840Y() throws RemoteException;", "public abstract int mo8526p();", "java.lang.String getResult();", "@Override\r\n\tpublic String b() {\n\t\treturn null;\r\n\t}", "int getUknown();", "protected Collection method_1554() {\n return this.method_1559();\n }", "@Override\r\n public String precondition() {\r\n return \"<html> The method call that returns an object is called twice in series. <br/>\" +\r\n \"Both method calls have no parameters, only return statements. <br/>\" +\r\n \"The object returned by the method call must be defined as a class. </html>\";\r\n }", "public abstract void mo102899a();", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public abstract int mo9747l();", "V result() throws Exception;", "public abstract int mo9753r();", "public abstract void mo35054b();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public abstract String getInfo();", "public abstract String getInfo();", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "public abstract boolean mo9234ar();", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }" ]
[ "0.6275836", "0.6153006", "0.60813355", "0.60504496", "0.6043762", "0.596012", "0.594533", "0.5908153", "0.5892762", "0.58906204", "0.58845884", "0.58749264", "0.5874093", "0.5864412", "0.5861402", "0.5859439", "0.5824405", "0.57899934", "0.5789204", "0.57492614", "0.57387125", "0.5692334", "0.568499", "0.5679264", "0.56760687", "0.5655314", "0.56528074", "0.56481004", "0.56443495", "0.56433815", "0.5641585", "0.56343645", "0.5625229", "0.5625199", "0.56222475", "0.56184995", "0.56184995", "0.56118417", "0.56013393", "0.5594599", "0.55895084", "0.55872047", "0.55821043", "0.5574039", "0.55736417", "0.5572866", "0.55714005", "0.5567759", "0.55615985", "0.5561506", "0.55421144", "0.55416083", "0.5538194", "0.5537587", "0.5524818", "0.5524323", "0.55200917", "0.5514967", "0.55124575", "0.55120337", "0.5507925", "0.54993165", "0.54984415", "0.54917884", "0.54880923", "0.5486498", "0.5486498", "0.5486498", "0.5486498", "0.548399", "0.548399", "0.54822934", "0.54822934", "0.54822934", "0.54822934", "0.54775506", "0.54716253", "0.54685336", "0.54674613", "0.546698", "0.5461528", "0.5460347", "0.54587346", "0.54552704", "0.545156", "0.54515266", "0.545087", "0.54446965", "0.5440464", "0.5437777", "0.54356086", "0.5433898", "0.54298973", "0.54272205", "0.54272205", "0.54242444", "0.54242444", "0.5420497", "0.5417659", "0.54167217", "0.54167217" ]
0.0
-1
No need to anything special.
@Override public long getItemId(int position) { return 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "public final void mo51373a() {\n }", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@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 nadar() {\n\t\t\n\t}", "@Override\n protected void prot() {\n }", "@Override\n\tpublic void anular() {\n\n\t}", "private void m50366E() {\n }", "public void method_4270() {}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "private void kk12() {\n\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void test() {\n\t\t\t}", "private final void i() {\n }", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "protected boolean func_70041_e_() { return false; }", "protected void h() {}", "private Rekenhulp()\n\t{\n\t}", "public void mo38117a() {\n }", "@Override\n public int describeContents() { return 0; }", "private void strin() {\n\n\t}", "@Override\n\tpublic void jugar() {\n\t\t\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "public abstract void mo70713b();", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\tpublic void just() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override public int describeContents() { return 0; }", "private void test() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\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 int retroceder() {\n return 0;\n }", "public void m23075a() {\n }", "public final void mo91715d() {\n }", "void berechneFlaeche() {\n\t}", "private test5() {\r\n\t\r\n\t}", "@Override\n protected void getExras() {\n }", "public void Tyre() {\n\t\t\r\n\t}", "private static void cajas() {\n\t\t\n\t}", "private void poetries() {\n\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\tpublic void nghe() {\n\n\t}", "public abstract void mo56925d();", "private ArraySetHelper() {\n\t\t// nothing\n\t}", "@Override\n\tpublic void jugar() {}", "private Unescaper() {\n\n\t}", "@Override\n protected void init() {\n }", "protected Doodler() {\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "private void assignment() {\n\n\t\t\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "public void mo21779D() {\n }", "protected MetadataUGWD() {/* intentionally empty block */}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public void mo4359a() {\n }", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "protected Problem() {/* intentionally empty block */}", "public abstract void mo27385c();", "public abstract Object mo26777y();", "@Override\r\n\tpublic int sub() {\n\t\treturn 0;\r\n\t}", "private void level7() {\n }", "protected abstract Set method_1559();", "public void mo12628c() {\n }", "private MetallicityUtils() {\n\t\t\n\t}", "protected void mo6255a() {\n }", "@Override\r\n \tpublic void process() {\n \t\t\r\n \t}", "public void mo21877s() {\n }", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\r\n\tpublic void init() {}", "public void mo21792Q() {\n }", "@Override\n public void init() {\n }", "@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}", "private void getStatus() {\n\t\t\n\t}" ]
[ "0.65471834", "0.65124077", "0.6423701", "0.6382928", "0.63694847", "0.63574755", "0.6278091", "0.6270019", "0.6260426", "0.6247964", "0.62209135", "0.6111217", "0.6111217", "0.6110832", "0.6077988", "0.6034063", "0.60304725", "0.6022222", "0.60024077", "0.5975472", "0.5972618", "0.59571993", "0.5949753", "0.59357953", "0.59342986", "0.5931057", "0.59267247", "0.5917328", "0.5900837", "0.589496", "0.58927655", "0.5888474", "0.5887578", "0.58698916", "0.585738", "0.5857183", "0.58425146", "0.58398604", "0.5830309", "0.5826727", "0.5826638", "0.5826236", "0.5824899", "0.5824899", "0.5820851", "0.58140564", "0.5801442", "0.5800798", "0.5788833", "0.5779575", "0.5779575", "0.57570505", "0.5750747", "0.57398343", "0.5731054", "0.5698547", "0.5697227", "0.56940174", "0.5689994", "0.5689572", "0.568928", "0.5687138", "0.5682705", "0.56728065", "0.5670401", "0.5664838", "0.5662593", "0.5657842", "0.56577855", "0.5656303", "0.565453", "0.56534827", "0.56531173", "0.5652733", "0.563787", "0.5637632", "0.5636747", "0.5631061", "0.56242937", "0.56105745", "0.5607408", "0.56071335", "0.5605531", "0.56033456", "0.5602669", "0.56007355", "0.560009", "0.5597526", "0.55937654", "0.5590361", "0.558936", "0.55893433", "0.55872554", "0.5584125", "0.5580265", "0.55777097", "0.55777097", "0.55777097", "0.55777097", "0.55777097", "0.5575897" ]
0.0
-1
Creates the Views that actually populate the list
@Override public View getView(int position, View convertView, ViewGroup parent) { if(null == convertView){ // Our view has not been recycled, let's create a new one! convertView = getLayoutInflater().inflate(R.layout.item_list_image, null); } // Update recycled or old view TextView label = (TextView) convertView.findViewById(R.id.text); label.setText(activities[position].getSimpleName()); return convertView; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void populateViewCollections() {\n\n\t}", "private void initView(List<PersonWrapper> listOfPersons) {\n adapter = new PersonAdapter(context, listOfPersons);\n mPersonsView.setAdapter(adapter);\n adapter.notifyDataSetChanged();\n }", "@Override\n public void Create() {\n initView();\n initData();\n }", "@Override\n public void Create() {\n\n initView();\n }", "private void initView() {\n initRefreshListView(mListview);\n }", "public void populateView() {\r\n populateHead();\r\n ArrayList arrayList = new ArrayList();\r\n arrayList.add(new AccDetailItem(\"Loan Amount\", this.account.totLoanAmt, MiscUtils.getColor(getResources(), this.account.totLoanAmt)));\r\n arrayList.add(new AccDetailItem(\"Interest Rate\", this.account.interestRate));\r\n arrayList.add(new AccDetailItem(\"Repayment Amount\", this.account.repaymentAmt, MiscUtils.getColor(getResources(), this.account.repaymentAmt)));\r\n arrayList.add(new AccDetailItem(\"Start Date\", this.account.startDt));\r\n arrayList.add(new AccDetailItem(\"End Date\", this.account.endDt));\r\n arrayList.add(new AccDetailItem(\"Status\", this.account.loanStatus));\r\n ArrayList arrayList2 = new ArrayList();\r\n arrayList2.add(new AccDetailItem(\"Outstanding Amount\", this.account.formattedOutstandingAmount, ContextCompat.getColor(getContext(), R.color.primary_red)));\r\n arrayList2.add(new AccDetailItem(\"Overdue Amount\", String.valueOf(this.account.overdueAmount), MiscUtils.getColor(getResources(), (double) this.account.overdueAmount)));\r\n arrayList2.add(new AccDetailItem(\"No. of Repayments Overdue\", this.account.overdueCount));\r\n this.list.setAdapter(new AccountDetailItemAdapter(getActivity(), arrayList));\r\n this.list2.setAdapter(new AccountDetailItemAdapter(getActivity(), arrayList2));\r\n MiscUtils.setListViewHeightBasedOnChildren(this.list);\r\n MiscUtils.setListViewHeightBasedOnChildren(this.list2);\r\n }", "private void populateListView() {\n ArrayAdapter<Representative> adapter = new MyListAdapter();\n ListView list = (ListView) findViewById(R.id.repListView);\n list.setAdapter(adapter);\n }", "private void setupListView() {\n potList = loadPotList();\n arrayofpots = potList.getPotDescriptions();\n refresher(arrayofpots);\n }", "@Override\n public void initViews() {\n adapter = new PaymentAdapter(context, MainActivity.os.getPayments());\n ((ListView)views.get(\"LIST_VIEW\")).setAdapter(adapter);\n (views.get(\"ADD_BUTTON\")).setOnClickListener(this);\n }", "private void initLsitData() {\n\t\tlist = new ArrayList<View>();\n\n\t\tlist.add(new NewsMenupagerItem(Mactivity,TY).initView());\n\t\tlist.add(new NewsMenupagerItem(Mactivity,YL).initView());\n\t\tlist.add(new NewsMenupagerItem(Mactivity,QW).initView());\n\t\tlist.add(new NewsMenupagerItem(Mactivity,MV).initView());\n\n\n\t}", "private void initView() {\n\n LayoutInflater inflater = getLayoutInflater();\n final int screenWidth = MyUtils.getScreenMetrics(this).widthPixels;\n final int screenHeight = MyUtils.getScreenMetrics(this).heightPixels;\n for (int i = 0; i < 3; i++) {\n ViewGroup layout = (ViewGroup) inflater.inflate(\n R.layout.content_layout, myHorizontal, false);\n layout.getLayoutParams().width = screenWidth;\n TextView textView = (TextView) layout.findViewById(R.id.title);\n textView.setText(\"page \" + (i + 1));\n layout.setBackgroundColor(Color.rgb(255 / (i + 1), 255 / (i + 1), 0));\n createList(layout);\n myHorizontal.addView(layout);\n }\n }", "private void populateViews(List<ParseUser> friendUsers){\n retrieveCheeseCountsLocally();\n populateUserView();\n populateFriendsListView(friendUsers);\n populateHistoryListView();\n\t}", "private void setUpViews() {\n\n updateFooterCarInfo();\n updateFooterUsrInfo();\n\n\n setResultActionListener(new ResultActionListener() {\n @Override\n public void onResultAction(AppService.ActionType actionType) {\n if (ModelManager.getInstance().getGlobalInfo() != null) {\n GlobalInfo globalInfo = ModelManager.getInstance().getGlobalInfo();\n\n switch (actionType) {\n case CarInfo:\n updateFooterCarInfo();\n break;\n case UsrInfo:\n updateFooterUsrInfo();\n break;\n case Charger:\n updateChargeStationList();\n break;\n }\n }\n }\n });\n }", "public void populateListView() {\n\n\n }", "@Override\r\n\tprotected void initViews() {\n\t\t\r\n\t}", "@Override\n \tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\n \t\t\tBundle savedInstanceState) {\n \t\treturn inflater.inflate(R.layout.list, container, false);\n \t}", "private void inicializaListView(){\n }", "private void genererListeView() {\n\n displayToast(\"Antall treff: \" + spisestedListe.size());\n\n //sorterer alfabetisk på navn\n Collections.sort(spisestedListe);\n\n spisestedAdapter = new SpisestedAdapter(this, spisestedListe);\n recyclerView.setAdapter(spisestedAdapter);\n\n //henter inn antall kolonner fra values, verdi 2 i landscape\n // https://stackoverflow.com/questions/29579811/changing-number-of-columns-with-gridlayoutmanager-and-recyclerview\n int columns = getResources().getInteger(R.integer.list_columns);\n recyclerView.setLayoutManager(new GridLayoutManager(this, columns));\n }", "private void initViews() {\n\n\t}", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_space_members, container, false);\n\n\n AndroidSupportInjection.inject(this);\n mList = new ArrayList<>();\n\n\n initializeViews(view);\n\n\n\n\n subscribeForSpaceId();\n\n setUpRecyclerView(recyclerView, adapter);\n\n subscribeObserverForSpaceMembers();\n\n return view;\n }", "@Override\r\n\tpublic void initViews() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void initViews() {\n\t\t\r\n\t}", "public void initView() {\n ArrayAdapter<String> arrayAdapter=new ArrayAdapter<String>(getView().getContext(),android.R.layout.simple_list_item_1,tracks);\n list.setAdapter(arrayAdapter);\n }", "private void initViews() {\n ListFragment listFragment = ListFragment.newInstance();\n fragmentManager.beginTransaction().replace(R.id.holder, listFragment, \"List fragment\").commit();\n\n if (findViewById(R.id.detail_fragment) != null) {\n isTablet = true;\n DetailFragment detailFragment = DetailFragment.newInstance();\n fragmentManager.beginTransaction().replace(R.id.detail_fragment, detailFragment, \"Detail fragment\").addToBackStack(null).commit();\n }\n }", "private void createList() {\n List<City> list = new ArrayList<>();\n final RecyclerView recyclerView =\n (RecyclerView) findViewById(R.id.city_list);\n recyclerView.setHasFixedSize(true);\n adapter =\n new MyRecyclerAdapter(this, list, R.layout.city_item);\n LinearLayoutManager linearLayoutManager =\n new LinearLayoutManager(this);\n linearLayoutManager\n .setOrientation(LinearLayoutManager.VERTICAL);\n recyclerView.setLayoutManager(linearLayoutManager);\n recyclerView.setItemAnimator(new DefaultItemAnimator());\n recyclerView.setAdapter(adapter);\n }", "private void createAndAddViews() {\n \t\t// Create the layout parameters for each field\n \t\tfinal LinearLayout.LayoutParams labelParams = new LinearLayout.LayoutParams(\n \t\t\t\t0, LayoutParams.WRAP_CONTENT, 0.3f);\n \t\tlabelParams.gravity = Gravity.RIGHT;\n \t\tlabelParams.setMargins(0, 25, 0, 0);\n \t\tfinal LinearLayout.LayoutParams valueParams = new LinearLayout.LayoutParams(\n \t\t\t\t0, LayoutParams.WRAP_CONTENT, 0.7f);\n \t\tvalueParams.gravity = Gravity.LEFT;\n \t\tvalueParams.setMargins(0, 25, 0, 0);\n \n \t\t// Add a layout and text views for each property\n \t\tfor (final StockProperty property : m_propertyList) {\n \t\t\tLog.d(TAG, \"Adding row for property: \" + property.getPropertyName());\n \n \t\t\t// Create a horizontal layout for the label and value\n \t\t\tfinal LinearLayout layout = new LinearLayout(this);\n \t\t\tlayout.setLayoutParams(new LinearLayout.LayoutParams(\n \t\t\t\t\tLayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT));\n \n \t\t\t// Create a TextView for the label\n \t\t\tfinal TextView label = new TextView(this);\n \t\t\tlabel.setLayoutParams(labelParams);\n \t\t\tlabel.setText(property.getLabelText());\n \t\t\tlabel.setTextAppearance(this, android.R.style.TextAppearance_Medium);\n \t\t\tlayout.addView(label);\n \n \t\t\t// Configure and add the value TextView (created when the property\n \t\t\t// was constructed)\n \t\t\tfinal TextView value = property.getView();\n \t\t\tvalue.setLayoutParams(valueParams);\n \t\t\tvalue.setHint(\"None\");\n \t\t\tvalue.setTextAppearance(this, android.R.style.TextAppearance_Medium);\n \t\t\tvalue.setTypeface(null, Typeface.BOLD);\n \t\t\tlayout.addView(value);\n \n \t\t\t// Add the row to the main layout\n \t\t\tm_resultsLayout.addView(layout);\n \t\t}\n \t}", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_home_tab, container, false);\n nw = (RecyclerView) view.findViewById(R.id.new_list);\n pw = (RecyclerView) view.findViewById(R.id.popular_list);\n ns = (RecyclerView) view.findViewById(R.id.new_writer_list);\n ps = (RecyclerView) view.findViewById(R.id.popular_writer_list);\n setHasOptionsMenu(true);\n getActivity().invalidateOptionsMenu();\n listSetup(nw);\n listSetup(pw);\n listSetup(ns);\n listSetup(ps);\n return view;\n }", "private void setupViews() {\n this.rvArticles = (RecyclerView) findViewById(R.id.rvArticles);\n this.articles = new ArrayList<>();\n this.articleArrayAdapter = new ArticleArrayAdapter(this, this.articles);\n this.rvArticles.setAdapter(this.articleArrayAdapter);\n StaggeredGridLayoutManager gridLayoutManager =\n new StaggeredGridLayoutManager(GRID_NUM_COLUMNS,\n StaggeredGridLayoutManager.VERTICAL);\n this.rvArticles.setLayoutManager(gridLayoutManager);\n ItemClickSupport.addTo(this.rvArticles).setOnItemClickListener(\n (recyclerView, position, v) -> launchArticleView(position)\n );\n SpacesItemDecoration decoration = new SpacesItemDecoration(GRID_SPACE_SIZE);\n this.rvArticles.addItemDecoration(decoration);\n this.rvArticles.addOnScrollListener(\n new EndlessRecyclerViewScrollListener(gridLayoutManager) {\n @Override\n public void onLoadMore(int page, int totalItemsCount) {\n articleSearch(searchView.getQuery().toString(), page);\n }\n });\n }", "@Nullable\n @Override\n public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n View mview = inflater.inflate(R.layout.fragment_listofpeople,container,false);\n //init views\n\n\n initview(mview);\n //getting users list\n get_userslist();\n //initiliziting adapters\n loadadapterdatas();\n //set on click listeners\n onclickslisteners();\n return mview;\n }", "private void initAdaptersAndViews() {\n final Context context = getContext();\n mListViewAdapter = new FlickrHomeAdapter();\n mListLayoutManager = new LinearLayoutManager(context);\n mListLayoutManager.setOrientation(LinearLayoutManager.VERTICAL);\n\n mViews.listView.addItemDecoration(new DividerItemDecoration(context, DividerItemDecoration.VERTICAL_LIST));\n mViews.listView.setHasFixedSize(true);\n mViews.listView.setLayoutManager(mListLayoutManager);\n mViews.listView.setAdapter(mListViewAdapter);\n }", "@Override\r\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tinitView();\r\n\t\tgetListDataFromLocal();\r\n\t\tsuper.onActivityCreated(savedInstanceState);\r\n\t}", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_queenb_embassy, container, false);\n\n\n //initialization of the list view (list of buttons)\n listview = v.findViewById(R.id.listview);\n\n for (int i = 0; i < names.length ; i++){\n ItemsModel itemsModel = new ItemsModel(names[i], ages[i], locations[i], images[i],\n phone_numbers[i], instagram_links[i], loved_about_queenb[i], recommendQueenb[i]); //todo try1+2\n listItem.add(itemsModel);\n }\n //required for handling the listView\n customAdapter = new CustomAdapter(listItem, getActivity());\n listview.setAdapter(customAdapter);\n return v;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n if (view == null) {\n view = inflater.inflate(R.layout.fragment_show_list, container, false);\n }\n rv_list = view.findViewById(R.id.rv_list);\n rv_list.setLayoutManager(new LinearLayoutManager(getContext()));\n rv_list.addItemDecoration(new DividerItemDecoration(getContext(), LinearLayout.VERTICAL));\n rv_list.setAdapter(adapter);\n adapter.notifyDataSetChanged();\n\n updateUI();\n observeMultiSelectStatus();\n deleteSelectedUsers();\n return view;\n }", "public void init() {\n\t\tdropViewCollections();\n\t\tbuildViewCollections();\n\t\tthis.populateViewCollections();\n\t}", "private void addViews() {\n\t}", "@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)//allows toolbar to work\n private void viewCreator() {\n toolbar = (Toolbar) findViewById(R.id.toolbar_main);\n lists = (ListView) findViewById(R.id.list);\n\n }", "private void setUpList() {\n\t\tRoomItemAdapter adapter = new RoomItemAdapter(getApplicationContext(),\n\t\t\t\trName, rRate);\n\t\tlistView.setAdapter(adapter);\n\n\t\tlistView.setOnItemClickListener(new OnItemClickListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onItemClick(AdapterView<?> parent, View view,\n\t\t\t\t\tint position, long id) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\thandleClick(position);\n\t\t\t}\n\t\t});\n\t}", "private void initViews() {\n\n }", "@Override\n\tpublic void setUpViews(View contentView) {\n\t\tmListView = (ListView) contentView.findViewById(R.id.listview);\n\t}", "public void setUpViews(){\n listView.setOnItemClickListener(new AdapterView.OnItemClickListener() {\n\n @Override\n public void onItemClick(AdapterView<?> parent, View view,\n int position, long id) {\n // ListView Clicked item index\n Intent i = new Intent(getActivity(), MediaDetailActivity.class);\n Media media = lectures.get(position);\n i.putExtra(\"url\", media.getUrl());\n i.putExtra(\"type\", media.type);\n i.putExtra(\"author\", media.author);\n i.putExtra(\"author_image_url\", media.getImageUrl());\n i.putExtra(\"name\", media.getName());\n startActivity(i);\n }\n });\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle\n savedInstanceState) {\n View view = inflater.inflate(R.layout.frament_photo_preview, container, false);\n unbinder = ButterKnife.bind(this, view);\n if (savedInstanceState != null) {\n ArrayList<String> name = savedInstanceState.getStringArrayList(\"name\");\n ArrayList<String> time = savedInstanceState.getStringArrayList(\"time\");\n ArrayList<Integer> size = savedInstanceState.getIntegerArrayList(\"size\");\n photoLists = new ArrayList<>();\n int length = name.size();\n for (int i = 0; i < length; i++) {\n Model temp = new Model(name.get(i), time.get(i), size.get(i));\n photoLists.add(temp);\n }\n currentItem = (savedInstanceState.getInt(\"position\"));\n customDialogOR = savedInstanceState.getBoolean(\"customDialogOR\");\n }\n if (photoLists.size() != 0) {\n initData();\n }\n reload = true;\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_detail_list, container, false);\n\n getViews(view);\n\n setInfo();\n\n setListeners();\n\n return view;\n }", "private void loadItemList() {\n this.presenter.initialize();\n }", "@Override\r\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n Bundle savedInstanceState) {\n final View view = inflater.inflate(R.layout.fragment_schools_list, container, false);\r\n\r\n recyclerView = view.findViewById(R.id.recyclerView);\r\n setupRecyclerView();\r\n\r\n\r\n // Calling the retrofit initialization method from the School model and retrieving the data into arraylist\r\n final SchoolViewModel schoolViewModel = new ViewModelProvider(this).get(SchoolViewModel.class);\r\n schoolViewModel.getSchools().observe(getViewLifecycleOwner(), new Observer<ArrayList<School>>() {\r\n @Override\r\n public void onChanged(@Nullable ArrayList<School> schools) {\r\n schoolList.addAll(schools);\r\n adapter.notifyDataSetChanged();\r\n\r\n }\r\n });\r\n return view;\r\n }", "protected abstract void initViews();", "@Override\n public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View root = inflater.inflate(R.layout.fragment_main_list, container, false);\n\n // Set two pane mode\n mTwoPaneMode = (root.findViewById(R.id.detail_container) != null);\n // Initialize empty view\n mEmptyView = root.findViewById(R.id.recyclerView_empty);\n\n // Initialize recycler view\n itemList = root.findViewById(R.id.content_list);\n\n FloatingActionButton fab = (FloatingActionButton) root.findViewById(R.id.fab);\n fab.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n Intent addIntent = new Intent(getActivity(), AddItemActivity.class);\n startActivity(addIntent);\n }\n });\n\n // Load available data from ShopenatorProvider\n getLoaderManager().initLoader(mListLoader, null, this);\n\n\n\n return root;\n }", "private void setupListView() {\n viewModel.getPeriodString().observe(this, (string) -> {\n if(string != null) {\n TextView periodTextView = findViewById(R.id.tvTimeFrame);\n periodTextView.setText(string);\n }\n });\n SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);\n int size = prefs.getInt(\"hourSize\", getResources().getInteger(R.integer.hourSizeDefault));\n viewModel.getAppointments().observe(this, (appointments) -> {\n if(appointments != null) {\n for(int day = 0; day < appointments.size(); day++) {\n AppointmentAdapter adapter = new AppointmentAdapter(this, size, popup, viewModel);\n adapter.setList(appointments.get(day));\n listViews.get(day).setAdapter(adapter);\n }\n }\n });\n HourAdapter adapter = new HourAdapter(this, this, size);\n viewModel.getTimeSlots().observe(this, adapter::setList);\n timeSlotView.setAdapter(adapter);\n final Handler handler = new Handler();\n handler.postDelayed(new Runnable() {\n @Override\n public void run() {\n adapter.notifyDataSetChanged();\n handler.postDelayed(this, 60*1000);\n }\n }, 60*1000);\n }", "private void initViews() {\n mDatabaseHandler = DatabaseHandler.getInstance(HomeActivity.this);\n Toolbar toolbar = (Toolbar) findViewById(R.id.activity_home_toolbar);\n setSupportActionBar(toolbar);\n mFab = (FloatingActionButton) findViewById(R.id.activity_home_fab);\n mMonthsList = new ArrayList<>();\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n HashMap<String, String> map = new HashMap<String, String>();\n //FILL\n for (int i = 0; i < players.length; i++) {\n map = new HashMap<String, String>();\n map.put(\"Player\", players[i]);\n map.put(\"Desc\", desc[i]);\n map.put(\"Image\", Integer.toString(images[i]));\n map.put(\"Imagemain\", Integer.toString(imagemain[i]));\n data.add(map);\n }\n //KEYS IN MAP\n String[] from = {\"Player\",\"Desc\", \"Image\"};\n //IDS OF VIEWS\n int[] to = {R.id.textView3, R.id.nameTxt, R.id.imageView1};\n//ADAPTER\n adapter = new SimpleAdapter(getActivity(), data, R.layout.model, from, to);\n setListAdapter(adapter);\n return super.onCreateView(inflater, container, savedInstanceState);\n }", "private View createList( SyndFeed feed, Activity activity ) {\n\n LinearLayout mainPanel = new LinearLayout( activity );\n ListView listView = new ListView( activity );\n final FeedListAdapter feedListAdapter = new FeedListAdapter(activity, feed);\n listView.setOnItemClickListener( new AdapterView.OnItemClickListener()\n {\n public void onItemClick( AdapterView<?> parentView, View childView, int position, long id )\n {\n feedListAdapter.click( position );\n }\n } );\n listView.setAdapter(feedListAdapter);\n listView.setBackgroundColor(0xFFffeaab);\n mainPanel.addView(listView);\n return mainPanel;\n }", "@Override\n\tpublic void initView() {\n\t\tmylis_show.setTitleText(\"我的物流\");\n\t\tlistView = mylis_listview.getRefreshableView();\n\t\t\n\t}", "private void producueViews() {\n if (splittedPostComponent != null && splittedPostComponent.size() > 0) {\n // loop through each component\n for (int i = 0; i < splittedPostComponent.size(); i++) {\n // create view if collection did not equal to empty string \"\"\n if (!splittedPostComponent.get(i).trim().equals(\"\")) {\n generateView(splittedPostComponent.get(i));\n }\n }\n }\n }", "private void loadViews(){\n\t}", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view= inflater.inflate(R.layout.fragment_lab, container, false);\n recyclerView = view.findViewById(R.id.lab_recycle_view);\n initList(labDataSet);\n return view;\n }", "public abstract void initViews();", "public void initView() {\n\t\t view.initView(model);\t \n\t }", "@Override\n public void setupList() {\n mSearchChildView.setupAdapter();\n mSearchChildView.setupRecyclerView();\n }", "@Override\n public View initView() {\n View view = View.inflate(mContext, R.layout.tab_detail_pager, null);\n listview = (RefreshListView ) view.findViewById(R.id.listview);\n View topnewsView = View.inflate(mContext, R.layout.topnews, null);\n// 使用ButterKnife绑定XML文件\n //ButterKnife.bind(this, view);\n ButterKnife.bind(this, topnewsView);\n// 监听ViewPage页面的变化动态改变红点和标题\n viewpage.addOnPageChangeListener(new MyOnPageChangeListener());\n// 把顶部新闻模块以头的方式加载到ListView中\n// listview.addHeaderView(topnewsView);\n// ListView自定义方法\n listview.addTopNews(topnewsView);\n// 监听控件刷新\n listview.setOnRefreshListener(new MysetOnRefreshListener());\n// 设置单击监听\n listview.setOnItemClickListener(new MyOnItemClickListener());\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle saved) {\n ctx = getActivity();\n inflater = getActivity().getLayoutInflater();\n view = inflater.inflate(R.layout.fragment_category_list, container,\n false);\n setFields();\n // Bundle b = getArguments();\n company = SharedUtil.getCompany(ctx);\n administrator = SharedUtil.getAdministrator(ctx);\n getCategories();\n setList();\n return view;\n }", "private void setupView()\n {\n mPullToRefreshView = (PullToRefreshView)\n findViewById(R.id.main_pull_refresh_view);\n\n mListView = (ListView) findViewById(R.id.xlistView);\n\n }", "@Override\r\n\tprotected void initView() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initView() {\n\t\t\r\n\t}", "private void prepareViews() {\n mTextViewHeader = (TextView) mHeaderView.findViewById(R.id.tv_text_header_enhanced_listview);\n mTextViewFooter = (TextView) mFooterView.findViewById(R.id.tv_text_footer_enhanced_listview);\n mTextViewTime = (TextView) mHeaderView.findViewById(R.id.tv_time_update_header);\n\n mArrowHeader = mHeaderView.findViewById(R.id.arrow_header);\n mArrowFooter = mFooterView.findViewById(R.id.arrow_footer);\n\n mPbHeader = mHeaderView.findViewById(R.id.pb_header_enhanced_listview);\n mPbFooter = mFooterView.findViewById(R.id.pb_footer_enhanced_listview);\n\n }", "private void createStationList(View view) {\n List<ByLineListContainer> lineItems = new ArrayList<>();\n final List<Line> lineVals = Lines.getInstance().values();\n for (Line line : lineVals) {\n ByLineListContainer newLineItem = new ByLineListContainer();\n newLineItem.lineColor = line;\n newLineItem.lineName = line.getLineName();\n lineItems.add(newLineItem);\n }\n //Create adapter\n ByListListAdapter adapter = new ByListListAdapter(getActivity(), 0, lineItems);\n GridView lineList = (GridView) view.findViewById(R.id.byLineList);\n\n //Set adapter\n lineList.setAdapter(adapter);\n }", "protected ListView<T> createSourceListView() {\n/* 436 */ return createListView();\n/* */ }", "private void populateListView(View view, ArrayList<Student> students) {\n adapter = new StudentEntryAdapter(getContext(), students);\n\n // Attach the adapter to a ListView\n ListView lvStudentList = view.findViewById(R.id.lvStudentList);\n lvStudentList.setAdapter(adapter);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_display_moves, container, false);\n\n SQLiteDatabase db = PokeDatabase.getInstance(getActivity()).getReadableDatabase();\n String query = \"select moves.name, types.name, moves.accuracy, moves.power, moves.pp, \" +\n \"move_categories.name, moves.description \" +\n \"from moves \" +\n \"join move_categories on move_category_id = move_categories.id \" +\n \"join types on type_id = types.id\";\n Cursor c = db.rawQuery(query, null);\n\n List<Move> moves = new ArrayList<>();\n while (c.moveToNext()) {\n moves.add(new Move(c));\n }\n c.close();\n\n MovesAdapter adapter = new MovesAdapter(getActivity(), moves);\n setFilterableAdapter(adapter);\n setQueryHint(\"Search moves\");\n\n ListView listView = (ListView) view.findViewById(R.id.listview);\n listView.setAdapter(adapter);\n listView.setEmptyView(view.findViewById(R.id.empty_text));\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n rootview = inflater.inflate(R.layout.fragment_register_projects, container, false);\n\n Bundle bundle = getArguments();\n propTypeStr = bundle.getString(\"PROP_TYPE\");\n\n lstcategoryBedrooms = new ArrayList<>();\n lstcategoryAmenities = new ArrayList<>();\n lstcategoryFacing = new ArrayList<>();\n //lstcategoryBathroom = new ArrayList<>();\n //lstcategoryBalcony = new ArrayList<>();\n lstcategoryTower = new ArrayList<>();\n //builderSpinList = new ArrayList<>();\n\n initializeViews();\n\n setupViews();\n\n customizeViews();\n\n\n return rootview;\n }", "@Override\n\tprotected void initView() {\n\t\t\n\t}", "@Override\n\tprotected void initView() {\n\t\t\n\t}", "private void setupUIViews() {\n DatePickerDialog.OnDateSetListener dateStartFunction = (view, year, month, dayOfMonth) -> {\n Calendar startDate = Calendar.getInstance();\n startDate.set(year, month, dayOfMonth, 0, 0, 0);\n startDate.set(Calendar.MILLISECOND, 0);\n datePickerDialog.updateDate(year, month, dayOfMonth);\n viewModel.setStartDate(startDate);\n };\n\n viewModel.getStartDate().observe(this, (calendar -> datePickerDialog = new DatePickerDialog(this, dateStartFunction, calendar.get(Calendar.YEAR), calendar.get(Calendar.MONTH), calendar.get(Calendar.DAY_OF_MONTH))));\n\n findViewById(R.id.tvTimeFrame).setOnClickListener(v -> datePickerDialog.show());\n\n listViews = new ArrayList<>();\n LinearLayout parentLayout = (LinearLayout) findViewById(R.id.llTimetable);\n LayoutInflater layoutInflater = getLayoutInflater();\n ListView view;\n timeSlotView = (ListView) layoutInflater.inflate(R.layout.component_timetable_hour_colum, parentLayout, false);\n ViewGroup.LayoutParams tmp = timeSlotView.getLayoutParams();\n int width = Resources.getSystem().getDisplayMetrics().widthPixels;\n /*Maybe change this in the future, because I think it does not use the layout parameters correctly*/\n tmp.width = (int) Math.round(width*0.55);\n timeSlotView.setLayoutParams(tmp);\n parentLayout.addView(timeSlotView);\n for (int i = 0; i < this.days; i++){\n view = (ListView) layoutInflater.inflate(R.layout.component_timetable_column, parentLayout, false);\n listViews.add(view);\n parentLayout.addView(view);\n }\n }", "@Override\n\tpublic void initView() {\n\t\totherFee = new ArrayList<OtherFee>();\n\t\tMyApplication.addActivity(this);\n\t\trl_back_otherfee = (RelativeLayout) findViewById(R.id.rl_back_otherfee);\n\t\tlv_otherfee = (PullToRefreshListView) findViewById(R.id.lv_otherfee);\n\t\tlv_otherfee.setOnRefreshListener(this);\n\t\tlv_otherfee.setMode(Mode.BOTH);\n\t\tlvadapter = new MylVAdapter();\n\t\tlv_otherfee.setAdapter(lvadapter);\n\t\tgetData(1, pageSize);\n\t}", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_add_plant_from_database, container, false);\n mContext = getActivity();\n mongoDbSetup = MongoDbSetup.getInstance(mContext);\n findPlantsList();\n findWidgets(v);\n\n return v;\n\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_tasks_list, container, false);\n\n loadTasks();\n // createRV();\n\n return view;\n }", "private void bindViews() {\n\n xlv_postlist = (com.mrz.searchenginefortieba.view.XListView) findViewById(R.id.xlv_postlist);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n\n this.inflater = inflater;\n rootView = inflater.inflate(R.layout.fragment_result_list, container, false);\n lview = (ListView) rootView.findViewById(R.id.listview);\n populateList();\n return rootView;\n }", "@Override\n\t\tpublic void initList() {\n\t\t\tadapter = new MsgItemAdapter(context);\n\t\t\tArrayList<MsgBean> datas = getData();\n\t\t\tadapter.setData(datas);\n\t\t\tmListView.setAdapter(adapter);\n\t\t\tmListView.setViewMode(true, true);\n\t\t\tif(!DataValidate.checkDataValid(datas)){\n\t\t\t\tpageView.setDefaultPage().setVisibility(View.VISIBLE);\n\t\t\t}\n\t\t}", "private void populateListView() {\n String[] myItems = {\"Blue\", \"green\", \"Purple\", \"red\"};\n\n //creating listviewadapter which is an array for storing the data and linking it according to the\n //custom listview\n\n ArrayAdapter<String> listViewAdapter = new ArrayAdapter<String>(this, R.layout.da_items, myItems);\n //linking the listview with our adapter to present data\n ListView Lv = (ListView)findViewById(R.id.listView_data);\n Lv.setAdapter(listViewAdapter);\n }", "public void initViews(){\n }", "private void populateListView() {\n List<String> groupNames = new ArrayList<String>();\n for (Pair<String, Group> pair : savedGroups) {\n groupNames.add(pair.first);\n }\n if (groupsListAdapter != null) {\n groupsListAdapter.clear();\n groupsListAdapter.addAll(groupNames);\n groupsListAdapter.notifyDataSetChanged();\n }\n }", "private void generateDataList(List<Genre> genreList) {\n mAdapter = new GenreListAdapter(getContext(),genreList);\n RecyclerView.LayoutManager layoutManager = new LinearLayoutManager(getContext());\n mRecyclerView.setLayoutManager(layoutManager);\n mRecyclerView.setAdapter(mAdapter);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n\n View view = inflater.inflate(R.layout.fragment_target_list, container, false);\n\n listView = view.findViewById(R.id.target_list_view);\n\n final TargetDTO targetDTO = new TargetDTO();\n\n targetDTO.setUserId(\"681206978735\");\n\n AmazonDynamoDBClient dynamoDBClient = new AmazonDynamoDBClient(AWSMobileClient.getInstance().getCredentialsProvider());\n this.dynamoDBMapper = DynamoDBMapper.builder()\n .dynamoDBClient(dynamoDBClient)\n .awsConfiguration(AWSMobileClient.getInstance().getConfiguration())\n .build();\n\n RetrieveTargets retrieveTargets = new RetrieveTargets();\n retrieveTargets.execute(targetDTO);\n\n return view;\n }", "private void initialiseViews() {\n setDefaultKeyMode(DEFAULT_KEYS_SEARCH_LOCAL);\n bindings = DataBindingUtil.setContentView(this, R.layout.activity_catalog_product);\n bindings.activityCatalogProductPb.setVisibility(View.GONE);\n\n bindings.activityCatalogProductFab.setOnClickListener(v -> {\n\n Intent addProductIntent = new Intent(ProductCatalogMain.this,\n ProductEditor.class);\n startActivity(addProductIntent);\n\n overridePendingTransition(R.anim.slide_in_right, R.anim.slide_out_left);\n\n });\n\n setSupportActionBar(bindings.activityCatalogProductToolbar);\n getSupportActionBar().setDisplayHomeAsUpEnabled(true);\n\n tabPageAdapter = new ProductCatalogFragmentPageAdapter(getSupportFragmentManager());\n tabViewPager = bindings.activityCatalogProductVp;\n tabViewPager.setAdapter(tabPageAdapter);\n\n if (bindings.activityCatalogProductVp != null) {\n setupViewPager(bindings.activityCatalogProductVp);\n }\n\n // Sets up the Tab's and their titles.\n bindings.activityCatalogProductTl.setupWithViewPager(bindings.activityCatalogProductVp);\n\n }", "@Override protected void initViews() {\n\t\tsetFragments(F_PopularFragment.newInstance(T_HomeActivity.this), F_TimelineFragment.newInstance(T_HomeActivity.this));\n\t}", "private void viewList() {\r\n PrintListMenuView listMenu = new PrintListMenuView();\r\n listMenu.displayMenu();\r\n }", "@Nullable\n @Override\n public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.local_list, container, false);\n\n // Configuration of Local list\n ArrayList<Local> locals = new ArrayList<>();\n locals.add(new Local(getString(R.string.restaurants_lago_sul), R.drawable.restaurants_lago_sul, getString(R.string.restaurants_lago_sul_address)));\n locals.add(new Local(getString(R.string.restaurants_bohemia), R.drawable.restaurants_bohemia, getString(R.string.restaurants_bohemia_address)));\n locals.add(new Local(getString(R.string.restaurants_casa_alemao), R.drawable.restaurants_casa_alemao, getString(R.string.restaurants_casa_alemao_address)));\n locals.add(new Local(getString(R.string.restaurants_duettos), R.drawable.restaurants_duettos, getString(R.string.restaurants_duettos_address)));\n locals.add(new Local(getString(R.string.restaurants_casa_dangelo), R.drawable.restaurants_casa_dangelo, getString(R.string.restaurants_casa_dangelo_address)));\n locals.add(new Local(getString(R.string.restaurants_tonis), R.drawable.restaurants_tonis, getString(R.string.restaurants_tonis_address)));\n locals.add(new Local(getString(R.string.restaurants_willemsen), R.drawable.restaurants_willemsen, getString(R.string.restaurants_willemsen_address)));\n\n // Set the LocalAdapter\n ListView localListView = rootView.findViewById(R.id.local_list_view);\n localListView.setAdapter(new LocalAdapter(getContext(), locals));\n\n return rootView;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_competition, container, false);\n unbinder = ButterKnife.bind(this, view);\n initializeList();\n return view;\n }", "@Override\n\tprotected void setViews() {\n\t\tlv = (XListView) findViewById(R.id.activity_fund_history_lv_content);\n\t\tlv.setPullRefreshEnable(false);\n\t\tlv.setPullLoadEnable(false);\n\t\tlv.setAdapter(adapter);\n\t\tgetMoneyChageRequest();\n\t}", "private void setViews() {\n try {\n mFilter = findViewById(R.id.filter);\n mPListView = findViewById(R.id.property_list_view);\n layoutManager = new LinearLayoutManager(this);\n mPListView.setLayoutManager(layoutManager);\n\n mPListView.addOnScrollListener(new RecyclerView.OnScrollListener() {\n @Override\n public void onScrolled(RecyclerView recyclerView, int dx, int dy) {\n super.onScrolled(recyclerView, dx, dy);\n totalItemCount = layoutManager.getItemCount();\n lastVisibleItem = layoutManager.findLastVisibleItemPosition();\n if (!isLoading && totalItemCount <= (lastVisibleItem + visibleThreshold)) {\n pageNo = pageNo + 1;\n getPropertyList(pageNo, applyFilter);\n isLoading = true;\n }\n }\n });\n\n mFilter.setOnClickListener(this);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n final View view = inflater.inflate(R.layout.fragment_interest_list, container, false);\n\n mInterestTableReference.addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n for (DataSnapshot dataSnapshot1 : dataSnapshot.getChildren())\n {\n InterestModel model = dataSnapshot1.child(\"info\").getValue(InterestModel.class);\n interestModelList.add(model);\n Log.d(\"YOGI\",\"user Id :\"+model.getCreated_userid()+\" Title : \"+model.getTitle()+\" Desc : \"+model.getDescription());\n }\n fillViewPager(view);\n }\n\n @Override\n public void onCancelled(DatabaseError databaseError) {\n\n }\n });\n return view;\n }", "@Nullable\n @Override\n public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n QuestionsListViewMvc viewMvc = getCompositionRoot().getViewMvcFactory().getQuestionsListViewMvc(container);\n mQuestionsListController = getCompositionRoot().getQuestionsListController();\n\n if (savedInstanceState != null){\n restoreControllerState(savedInstanceState);\n }\n\n mQuestionsListController.bindView(viewMvc);\n return viewMvc.getRootView();\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.tour_item_list_view, container, false);\n\n // Create a list of tour items\n final ArrayList<TourItem> tourItems = new ArrayList<>();\n\n tourItems.add(new TourItem(R.drawable.botanic_gardens, getString(R.string.title_botanic_gardens),\n getString(R.string.description_botanic_gardens)));\n tourItems.add(new TourItem(R.drawable.hyde_park, getString(R.string.title_hyde_park),\n getString(R.string.description_hyde_park)));\n tourItems.add(new TourItem(R.drawable.luna_park, getString(R.string.title_luna_park),\n getString(R.string.description_luna_park)));\n tourItems.add(new TourItem(R.drawable.ocean_pool, getString(R.string.title_ocean_pool),\n getString(R.string.description_ocean_pool)));\n tourItems.add(new TourItem(R.drawable.taronga_zoo, getString(R.string.title_taronga_zoo),\n getString(R.string.description_taronga_zoo)));\n\n /*\n * See LandmarksFragment.java for detailed comments about code below\n * */\n TourItemsAdapter tourItemsAdapter = new TourItemsAdapter(getContext(), tourItems);\n ListView listView = (ListView) rootView.findViewById(R.id.list_view);\n listView.setAdapter(tourItemsAdapter);\n\n return rootView;\n }", "List<ViewDefinition> list();", "public void createViews(){\n ArrayList<Words> wordsArrayList = new ArrayList<Words>();\n\n //Fill array with english word and hindi translation by creating new word objects\n for(int i = 0; i < defaultWords.size() && i < hindiTranslation.size(); i++){\n wordsArrayList.add(new Words(defaultWords.get(i), hindiTranslation.get(i)));\n }\n\n //ArrayAdapter and ListView used so that not a lot of memory is used to create all textviews when not needed\n //Update** Using WordAdapter which extends ArrayAdapter and only has 2 parameters\n\n WordAdapter adapter = new WordAdapter(this, wordsArrayList);\n\n ListView listView = (ListView) findViewById(R.id.translation_root_view);\n\n listView.setAdapter(adapter);\n\n\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.tour_list, container, false);\n\n // Create a list of places. Source of information\n final ArrayList<Sightseeing> markets = new ArrayList<Sightseeing>();\n markets.add(new Sightseeing(R.drawable.sanjuan,\n getResources().getString(R.string.juan_name) ,\n getResources().getString(R.string.juan_address),\n getResources().getString(R.string.juan_opening) ) );\n markets.add(new Sightseeing(R.drawable.codemi2,\n getResources().getString(R.string.passion_name),\n getResources().getString(R.string.passion_address),\n getResources().getString(R.string.passion_opening) ) ) ;\n markets.add(new Sightseeing(R.drawable.dulces,\n getResources().getString(R.string.candy_name) ,\n getResources().getString(R.string.candy_address),\n getResources().getString(R.string.candy_opening) ) );\n\n //Instantiate an adapter object and pass the context and source of information\n TourAdapter adapter = new TourAdapter( getActivity(), markets);\n\n //Cast the listView from the recycleView within list_tour_item.xml file and set adapter to the list\n ListView list = (ListView) rootView.findViewById(R.id.list_tour_options);\n list.setAdapter(adapter);\n\n return rootView ;\n }", "private void initListView() {\n viewPager.setAdapter(adapter);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_che_yuan_list, container, false);\n unbinder = ButterKnife.bind(this, view);\n initView();\n initData();\n initListener();\n return view;\n }", "private void setViews() {\n lv.setAdapter(adapter);\n\n dialog2 = new MiddleDialog2(INSTANCE, getResources().getString(R.string.title), getResources().getString(R.string.value), new MiddleDialog2.onBottonListener() {\n @Override\n public void onOk() {\n\n finish();\n }\n },R.style.registDialog);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_list, container, false);\n ButterKnife.bind(this, view);\n EventBus.getDefault().register(this);\n\n loadListEvent(data.getData().getPagination().getPage(),\n data.getData().getPagination().getLast());\n\n LinearLayoutManager linearLayoutManager = new LinearLayoutManager(getContext());\n linearLayoutManager.setOrientation(LinearLayoutManager.VERTICAL);\n rvList.setLayoutManager(linearLayoutManager);\n rvList.setHasFixedSize(true);\n rvList.addOnScrollListener(new PaginationScrollListener(linearLayoutManager) {\n @Override\n protected void loadMoreItems() {\n isLoading = true;\n EventBus.getDefault().post(new Object[]{MessageEventType.HEY_PRESENTER_GET_EVENTS, currentPage+1});\n }\n\n @Override\n public boolean isLastPage() {\n return isLastPage;\n }\n\n @Override\n public boolean isLoading() {\n return isLoading;\n }\n });\n rvList.setAdapter(adapter);\n return view;\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_task_assign, container, false);\n listView = (ListView) view.findViewById(R.id.listview_employees);\n aq = new AQuery(view);\n baseClass = ((BaseClass) getActivity().getApplicationContext());\n\n service = new TaskListService(getActivity());\n if(tasksList == null) {\n service.getTaskAssignee(Integer.parseInt(baseClass.getSelectedProject()), false,\n new CallBack(TaskAssignFragment.this, \"TaskAssignee\"));\n }else{\n service.getTaskAssignee(tasksList.getProjectID(), true,\n new CallBack(TaskAssignFragment.this, \"TaskAssignee\"));\n }\n return view;\n }", "private void initView() {\n\t\tbtnMapMode = contentView.findViewById(R.id.venue_iv_map);\n\t\tbtnMapMode.setOnClickListener(this);\n\t\tbtnSearch = contentView.findViewById(R.id.venue_iv_search);\n\t\tbtnSearch.setOnClickListener(this);\n\t\temptyView = contentView.findViewById(R.id.event_ll_empty);\n\t\temptyView.findViewById(R.id.event_empty_other_area).setOnClickListener(\n\t\t\t\tthis);\n\t\temptyView.findViewById(R.id.event_empty_add_event).setOnClickListener(\n\t\t\t\tthis);\n\n\t\tglHotImage = (ViewPager) vHeader.findViewById(R.id.header_viewpager);\n\t\tllIndic = (LinearLayout) vHeader.findViewById(R.id.header_ll_indic);\n\t\tbtnPlace = (Button) vHeader.findViewById(R.id.header_btn_place);\n\t\tbtnVenue = (Button) vHeader.findViewById(R.id.header_btn_venue);\n//\t\tviewGroup = (ViewGroup) vHeader.findViewById(R.id.viewGroup);\n\t\tbtnPlace.setOnClickListener(this);\n\t\tbtnVenue.setOnClickListener(this);\n\n\t\tmPullRefreshListView = (PullToRefreshListView) contentView\n\t\t\t\t.findViewById(R.id.venue_lv);\n\t\tmPullRefreshListView.setMode(Mode.BOTH);\n\t\tmListView = mPullRefreshListView.getRefreshableView();\n\t\tmListView.setHeaderDividersEnabled(false);\n\t\tmPullRefreshListView.getRefreshableView().setSelector(\n\t\t\t\tnew ColorDrawable(Color.TRANSPARENT));\n\t\t// android.R.color.transparent\n\t\t// mListView.setEmptyView(emptyView);\n\t\tmPullRefreshListView.setOnItemClickListener(this);\n\t\tmListView.addHeaderView(vHeader, null, true);\n\t\tmListView.setScrollBarStyle(View.SCROLLBARS_OUTSIDE_OVERLAY);\n\t\tmAdapter = new VenueListAdapter(getActivity(), mList);\n\t\tmPullRefreshListView.setAdapter(mAdapter);\n\t\tmPullRefreshListView.setOnRefreshListener(this);\n\t\tglHotImage.setOnPageChangeListener(new HeaderChangeListener());\n\t\tif (null != pagerAdapter) {\n\t\t\tpagerAdapter.notifyDataSetChanged();\n\t\t}\n\t}" ]
[ "0.7615546", "0.693429", "0.6902428", "0.6855224", "0.68065125", "0.68064606", "0.67950624", "0.6736724", "0.6683646", "0.6624386", "0.6557457", "0.6529736", "0.6526574", "0.65252763", "0.65080106", "0.6477044", "0.6454091", "0.64450115", "0.6427838", "0.6421604", "0.63919127", "0.63919127", "0.6380299", "0.63763463", "0.6372158", "0.63607687", "0.63536984", "0.6339341", "0.6331796", "0.6326673", "0.6303503", "0.6297123", "0.6292659", "0.62733406", "0.62687707", "0.62573564", "0.62540907", "0.6248733", "0.6241357", "0.62378895", "0.6231022", "0.62304014", "0.6230298", "0.6224428", "0.621099", "0.6195338", "0.61914265", "0.617757", "0.6177254", "0.61771", "0.61548233", "0.61530626", "0.61311036", "0.6130722", "0.61281556", "0.6124631", "0.6116847", "0.61168325", "0.61127865", "0.6102078", "0.61003816", "0.61003816", "0.60960466", "0.609365", "0.60863674", "0.6084206", "0.6077667", "0.60752213", "0.60730904", "0.60730904", "0.60712975", "0.60689944", "0.606175", "0.6061573", "0.6061042", "0.60587674", "0.60553235", "0.60501796", "0.6046849", "0.60380137", "0.6031488", "0.60296035", "0.6027378", "0.6026914", "0.60238785", "0.601898", "0.60186833", "0.6011358", "0.6009067", "0.60084957", "0.6007654", "0.6006408", "0.60008824", "0.60005844", "0.6000246", "0.5998167", "0.5995639", "0.59939235", "0.59892446", "0.5987121", "0.5978999" ]
0.0
-1
Creates new form TelaPesquisa
public TelaPesquisa() { initComponents(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public creacionempresa() {\n initComponents();\n mostrardatos();\n }", "public void crear(Tarea t) {\n t.saveIt();\n }", "public CrearQuedadaVista() {\n }", "public String nuevo() {\n\n\t\tLOG.info(\"Submitado formulario, accion nuevo\");\n\t\tString view = \"/alumno/form\";\n\n\t\t// las validaciones son correctas, por lo cual los datos del formulario estan en\n\t\t// el atributo alumno\n\n\t\t// TODO simular index de la bbdd\n\t\tint id = this.alumnos.size();\n\t\tthis.alumno.setId(id);\n\n\t\tLOG.debug(\"alumno: \" + this.alumno);\n\n\t\t// TODO comprobar edad y fecha\n\n\t\talumnos.add(alumno);\n\t\tview = VIEW_LISTADO;\n\t\tmockAlumno();\n\n\t\t// mensaje flash\n\t\tFacesContext facesContext = FacesContext.getCurrentInstance();\n\t\tExternalContext externalContext = facesContext.getExternalContext();\n\t\texternalContext.getFlash().put(\"alertTipo\", \"success\");\n\t\texternalContext.getFlash().put(\"alertMensaje\", \"Alumno \" + this.alumno.getNombre() + \" creado con exito\");\n\n\t\treturn view + \"?faces-redirect=true\";\n\t}", "public void crear() {\n con = new Conexion();\n con.setInsertar(\"insert into lenguajes_programacion (nombre, fecha_creacion, estado) values ('\"+this.getNombre()+\"', '\"+this.getFecha_creacion()+\"', 'activo')\");\n }", "@GetMapping(value = \"/create\") // https://localhost:8080/etiquetasTipoDisenio/create\n\tpublic String create(Model model) {\n\t\tetiquetasTipoDisenio etiquetasTipoDisenio = new etiquetasTipoDisenio();\n\t\tmodel.addAttribute(\"title\", \"Registro de una nuev entrega\");\n\t\tmodel.addAttribute(\"etiquetasTipoDisenio\", etiquetasTipoDisenio); // similar al ViewBag\n\t\treturn \"etiquetasTipoDisenio/form\"; // la ubicacion de la vista\n\t}", "@_esCocinero\n public Result crearPaso() {\n Form<Paso> frm = frmFactory.form(Paso.class).bindFromRequest();\n\n // Comprobación de errores\n if (frm.hasErrors()) {\n return status(409, frm.errorsAsJson());\n }\n\n Paso nuevoPaso = frm.get();\n\n // Comprobar autor\n String key = request().getQueryString(\"apikey\");\n if (!SeguridadFunctions.esAutorReceta(nuevoPaso.p_receta.getId(), key))\n return Results.badRequest();\n\n // Checkeamos y guardamos\n if (nuevoPaso.checkAndCreate()) {\n Cachefunctions.vaciarCacheListas(\"pasos\", Paso.numPasos(), cache);\n Cachefunctions.vaciarCacheListas(\"recetas\", Receta.numRecetas(), cache);\n return Results.created();\n } else {\n return Results.badRequest();\n }\n\n }", "public void CrearNew(ActionEvent e) {\n List<Pensum> R = ejbFacade.existePensumID(super.getSelected().getIdpensum());\n if(R.isEmpty()){\n super.saveNew(e);\n }else{\n new Auxiliares().setMsj(3,\"PENSUM ID YA EXISTE\");\n }\n }", "@Command\n\tpublic void nuevoAnalista(){\n\t\tMap<String, Object> parametros = new HashMap<String, Object>();\n\n\t\t//parametros.put(\"recordMode\", \"NEW\");\n\t\tllamarFormulario(\"formularioAnalistas.zul\", null);\n\t}", "@Override\r\n\tpublic void crearVehiculo() {\n\t\t\r\n\t}", "public TelaCadastrarProduto() {\n initComponents();\n entidade = new Produto();\n setRepositorio(RepositorioBuilder.getProdutoRepositorio());\n grupo.add(jRadioButton1);\n grupo.add(jRadioButton2);\n }", "private void azzeraInsertForm() {\n\t\tviewInserimento.getCmbbxTipologia().setSelectedIndex(-1);\n\t\tviewInserimento.getTxtFieldDataI().setText(\"\");\n\t\tviewInserimento.getTxtFieldValore().setText(\"\");\n\t\tviewInserimento.getTxtFieldDataI().setBackground(Color.white);\n\t\tviewInserimento.getTxtFieldValore().setBackground(Color.white);\n\t}", "public String crea() {\n c.setId(0);\n clienteDAO.crea(c); \n //Post-Redirect-Get\n return \"visualiza?faces-redirect=true&id=\"+c.getId();\n }", "public static void create(Formulario form){\n daoFormulario.create(form);\n }", "Compuesta createCompuesta();", "public tambahtoko() {\n initComponents();\n tampilkan();\n form_awal();\n }", "public SalidaCajaForm() {\n\t\tinicializarComponentes();\n }", "public CadastroProdutoNew() {\n initComponents();\n }", "public void insertar() {\r\n if (vista.jTNombreempresa.getText().equals(\"\") || vista.jTTelefono.getText().equals(\"\") || vista.jTRFC.getText().equals(\"\") || vista.jTDireccion.getText().equals(\"\")) {\r\n JOptionPane.showMessageDialog(null, \"Faltan Datos: No puedes dejar cuadros en blanco\");//C.P.M Verificamos si las casillas esta vacia si es asi lo notificamos\r\n } else {//C.P.M de lo contrario prosegimos\r\n modelo.setNombre(vista.jTNombreempresa.getText());//C.P.M mandamos las variabes al modelo \r\n modelo.setDireccion(vista.jTDireccion.getText());\r\n modelo.setRfc(vista.jTRFC.getText());\r\n modelo.setTelefono(vista.jTTelefono.getText());\r\n \r\n Error = modelo.insertar();//C.P.M Ejecutamos el metodo del modelo \r\n if (Error.equals(\"\")) {//C.P.M Si el modelo no regresa un error es que todo salio bien\r\n JOptionPane.showMessageDialog(null, \"Se guardo exitosamente la configuracion\");//C.P.M notificamos a el usuario\r\n vista.dispose();//C.P.M y cerramos la vista\r\n } else {//C.P.M de lo contrario \r\n JOptionPane.showMessageDialog(null, Error);//C.P.M notificamos a el usuario el error\r\n }\r\n }\r\n }", "public CrearPedidos() {\n initComponents();\n }", "public StavkaFaktureInsert() {\n initComponents();\n CBFakture();\n CBProizvod();\n }", "public FormFuncionario(FormMenu telaPai) {\n initComponents();\n this.telaPai = telaPai;\n\n txtNome.setText(\"Nome\");\n lblNome.setVisible(false);\n txtSobrenome.setText(\"Sobrenome\");\n lblSobrenome.setVisible(false);\n campoMensagem.setVisible(false);\n lblMensagem.setVisible(false);\n\n }", "public frm_tutor_subida_prueba() {\n }", "@RequestMapping(value = \"/create\", method = RequestMethod.POST)\n public ModelAndView create(@RequestParam(\"horasalida\") Date horasalida,@RequestParam(\"horallegada\") Date horallegada,@RequestParam(\"aeropuerto_idaeropuerto\") Long aeropuerto_idaeropuerto,\n \t\t@RequestParam(\"aeropuerto_idaeropuerto2\") Long aeropuerto_idaeropuerto2,@RequestParam(\"avion_idavion\") Long avion_idavion) {\n Vuelo post=new Vuelo();\n post.setHorallegada(horallegada);\n post.setHorasalida(horasalida);\n\t\t\n post.setAeropuerto_idaeropuerto(aeropuerto_idaeropuerto);\n post.setAeropuerto_idaeropuerto2(aeropuerto_idaeropuerto2);\n post.setAvion_idavion(avion_idavion);\n repository.save(post);\n return new ModelAndView(\"redirect:/vuelos\");\n }", "public void SalvarNovaPessoa(){\r\n \r\n\t\tpessoaModel.setUsuarioModel(this.usuarioController.GetUsuarioSession());\r\n \r\n\t\t//INFORMANDO QUE O CADASTRO FOI VIA INPUT\r\n\t\tpessoaModel.setOrigemCadastro(\"I\");\r\n \r\n\t\tpessoaRepository.SalvarNovoRegistro(this.pessoaModel);\r\n \r\n\t\tthis.pessoaModel = null;\r\n \r\n\t\tUteis.MensagemInfo(\"Registro cadastrado com sucesso\");\r\n \r\n\t}", "public TelaProduto() {\n initComponents();\n \n carregaProdutos();\n }", "@FXML\r\n private void crearSolicitud() {\r\n try {\r\n //Carga la vista de crear solicitud rma\r\n FXMLLoader loader = new FXMLLoader();\r\n loader.setLocation(Principal.class.getResource(\"/vista/CrearSolicitud.fxml\"));\r\n BorderPane vistaCrear = (BorderPane) loader.load();\r\n\r\n //Crea un dialogo para mostrar la vista\r\n Stage dialogo = new Stage();\r\n dialogo.setTitle(\"Solicitud RMA\");\r\n dialogo.initModality(Modality.WINDOW_MODAL);\r\n dialogo.initOwner(primerStage);\r\n Scene escena = new Scene(vistaCrear);\r\n dialogo.setScene(escena);\r\n\r\n //Annadir controlador y datos\r\n ControladorCrearSolicitud controlador = loader.getController();\r\n controlador.setDialog(dialogo, primerStage);\r\n\r\n //Carga el numero de Referencia\r\n int numReferencia = DAORma.crearReferencia();\r\n\r\n //Modifica el dialogo para que no se pueda cambiar el tamaño y lo muestra\r\n dialogo.setResizable(false);\r\n dialogo.showAndWait();\r\n\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }", "public FormInserir() {\n initComponents();\n }", "public telaCadastro() {\n initComponents();\n populaTabela();\n }", "private void nuevaLiga() {\r\n\t\tif(Gestion.isModificado()){\r\n\t\t\tint opcion = JOptionPane.showOptionDialog(null, \"¿Desea guardar los cambios?\", \"Nueva Liga\", JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null,null, null);\r\n\t\t\tswitch(opcion){\r\n\t\t\tcase JOptionPane.YES_OPTION:\r\n\t\t\t\tguardar();\r\n\t\t\t\tbreak;\r\n\t\t\tcase JOptionPane.NO_OPTION:\r\n\t\t\t\tGestion.reset();\r\n\t\t\t\tbreak;\r\n\t\t\tcase JOptionPane.CANCEL_OPTION:\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\telse\r\n\t\t\tGestion.reset();\r\n\t\tfrmLigaDeFtbol.setTitle(\"Liga de Fútbol\");\r\n\t}", "public FrmInsertar() {\n initComponents();\n }", "public Casa() { \n \n /* Cuando se crea la casa, tambien se debe crear la puerta */\n \n laPuerta = new Puerta();\n \n /* se pone la letra F por que son de tipo float */\n laPuerta.setAncho(2.3F);\n laPuerta.setAlto(1.5F);\n \n }", "Motivo create(Motivo motivo);", "public TareasEvento() {\n initComponents();\n setTitle (\"Tareas\");\n mostrardatos(jTextField1.getText());\n \n }", "public TambahProduk() {\n initComponents();\n conn = new Koneksi();\n dapat_produk();\n loadTable();\n }", "public void crearDialogo() {\r\n final PantallaCompletaDialog a2 = PantallaCompletaDialog.a(getString(R.string.hubo_error), getString(R.string.no_hay_internet), getString(R.string.cerrar).toUpperCase(), R.drawable.ic_error);\r\n a2.f4589b = new a() {\r\n public void onClick(View view) {\r\n a2.dismiss();\r\n }\r\n };\r\n a2.show(getParentFragmentManager(), \"TAG\");\r\n }", "public ViewCreatePagamento() {\n initComponents();\n clientesDAO cDAO = DaoFactory.createClientesDao(); \n matriculaDAO mDAO = DaoFactory.createMatriculaDao();\n \n cmbIDClientes.addItem(null);\n cDAO.findAll().forEach((p) -> {\n cmbIDClientes.addItem(p.getNome());\n });\n \n \n txtDataAtual.setText(DateFormat.getDateInstance().format(new Date()));\n }", "@RequestMapping(value = { \"/new\" }, method = RequestMethod.POST)\n\tpublic String saveEntity(@Valid ENTITY tipoConsumo, BindingResult result, ModelMap model,\n\t\t\t@RequestParam(required = false) Integer idEstadia) {\n\t\ttry{\n\t\n\t\t\tif (result.hasErrors()) {\n\t\t\t\treturn viewBaseLocation + \"/form\";\n\t\t\t}\n\t\n\t\t\tabm.guardar(tipoConsumo);\n\t\n\t\t\tif(idEstadia != null){\n\t\t\t\tmodel.addAttribute(\"idEstadia\", idEstadia);\n\t\t\t}\n\t\n\t\t\tmodel.addAttribute(\"success\", \"La creaci&oacuten se realiz&oacute correctamente.\");\n\t\t\t\n\t\t} catch(Exception e) {\n\t\t\tmodel.addAttribute(\"success\", \"La creaci&oacuten no pudo realizarse.\");\n\t\t}\n\t\tmodel.addAttribute(\"loggedinuser\", getPrincipal());\n\t\treturn \"redirect:list\";\n\t}", "public Form_soal() {\n initComponents();\n tampil_soal();\n }", "public MostraVenta(String idtrasp, Object[][] clienteM1, Object[][] vendedorM1, String idmarc, String responsable,ListaTraspaso panel)\n{\n this.padre = panel;\n this.clienteM = clienteM1;\n this.vendedorM = vendedorM1;\n this.idtraspaso= idtrasp;\n this.idmarca=idmarc;\n//this.tipoenvioM = new String[]{\"INGRESO\", \"TRASPASO\"};\n String tituloTabla =\"Detalle Venta\";\n // padre=panel;\n String nombreBoton1 = \"Registrar\";\n String nombreBoton2 = \"Cancelar\";\n // String nombreBoton3 = \"Eliminar Empresa\";\n\n setId(\"win-NuevaEmpresaForm1\");\n setTitle(tituloTabla);\n setWidth(400);\n setMinWidth(ANCHO);\n setHeight(250);\n setLayout(new FitLayout());\n setPaddings(WINDOW_PADDING);\n setButtonAlign(Position.CENTER);\n setCloseAction(Window.CLOSE);\n setPlain(true);\n\n but_aceptar = new Button(nombreBoton1);\n but_cancelar = new Button(nombreBoton2);\n // addButton(but_aceptarv);\n addButton(but_aceptar);\n addButton(but_cancelar);\n\n formPanelCliente = new FormPanel();\n formPanelCliente.setBaseCls(\"x-plain\");\n //formPanelCliente.setLabelWidth(130);\n formPanelCliente.setUrl(\"save-form.php\");\n formPanelCliente.setWidth(ANCHO);\n formPanelCliente.setHeight(ALTO);\n formPanelCliente.setLabelAlign(Position.LEFT);\n\n formPanelCliente.setAutoWidth(true);\n\n\ndat_fecha1 = new DateField(\"Fecha\", \"d-m-Y\");\n fechahoy = new Date();\n dat_fecha1.setValue(fechahoy);\n dat_fecha1.setReadOnly(true);\n\ncom_vendedor = new ComboBox(\"Vendedor al que enviamos\", \"idempleado\");\ncom_cliente = new ComboBox(\"Clientes\", \"idcliente\");\n//com_tipo = new ComboBox(\"Tipo Envio\", \"idtipo\");\n initValues1();\n\n\n\n formPanelCliente.add(dat_fecha1);\n// formPanelCliente.add(com_tipo);\n// formPanelCliente.add(tex_nombreC);\n// formPanelCliente.add(tex_codigoBarra);\n // formPanelCliente.add(tex_codigoC);\nformPanelCliente.add(com_vendedor);\n formPanelCliente.add(com_cliente);\n add(formPanelCliente);\nanadirListenersTexfield();\n addListeners();\n\n }", "public void create(PessoasEspacosDeCafe pec) {\n\n Connection con = ConnectionFactory.getConnection();\n PreparedStatement stmt = null;\n\n try {\n stmt = con.prepareStatement(\"INSERT INTO PessoasEspacosDeCafe (pessoasIdPessoas, espacosDeCafeIdEspacosDeCafe)VALUES(?, ?)\");\n\n stmt.setInt(1, pec.getPessoasIdPessoas());\n stmt.setInt(2, pec.getEspacosDeCafeIdEspacosDeCafe());\n\n stmt.executeUpdate();\n\n JOptionPane.showMessageDialog(null, \"Salvo com Sucesso!\");\n } catch (SQLException ex) {\n JOptionPane.showMessageDialog(null, \"Erro ao Salvar: \" + ex);\n } finally {\n ConnectionFactory.closeConnection(con, stmt);\n }\n }", "protected void nuevo(){\n wp = new frmEspacioTrabajo();\n System.runFinalization();\n inicializar();\n }", "public void crearDisco( ){\r\n boolean parameter = true;\r\n String artista = panelDatos.darArtista( );\r\n String titulo = panelDatos.darTitulo( );\r\n String genero = panelDatos.darGenero( );\r\n String imagen = panelDatos.darImagen( );\r\n\r\n if( ( artista.equals( \"\" ) || titulo.equals( \"\" ) ) || ( genero.equals( \"\" ) || imagen.equals( \"\" ) ) ) {\r\n parameter = false;\r\n JOptionPane.showMessageDialog( this, \"Todos los campos deben ser llenados para crear el disco\" );\r\n }\r\n if( parameter){\r\n boolean ok = principal.crearDisco( titulo, artista, genero, imagen );\r\n if( ok )\r\n dispose( );\r\n }\r\n }", "public FormularioPregunta() {\n initComponents();\n \n setLocationRelativeTo(this);\n }", "public CrearProductos() {\n initComponents();\n }", "protected void creaPagine() {\n Pagina pag;\n Pannello pan;\n\n try { // prova ad eseguire il codice\n\n /* crea la pagina e aggiunge campi e pannelli */\n pag = this.addPagina(\"generale\");\n\n pan = PannelloFactory.orizzontale(this);\n pan.add(Cam.data);\n pan.add(Cam.importo.get());\n pan.add(Cam.note.get());\n pag.add(pan);\n\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n }// fine del blocco try-catch\n\n }", "public VistaTrabaja() {\n initComponents();\n }", "public TelaCadasroProjeto() {\n initComponents();\n }", "private void insertar() {\n try {\n cvo.setNombre_cliente(vista.txtNombre.getText());\n cvo.setApellido_cliente(vista.txtApellido.getText());\n cvo.setDireccion_cliente(vista.txtDireccion.getText());\n cvo.setCorreo_cliente(vista.txtCorreo.getText());\n cvo.setClave_cliente(vista.txtClave.getText());\n cdao.insertar(cvo);\n vista.txtNombre.setText(\"\");\n vista.txtApellido.setText(\"\");\n vista.txtDireccion.setText(\"\");\n vista.txtCorreo.setText(\"\");\n vista.txtClave.setText(\"\");\n JOptionPane.showMessageDialog(null, \"Registro Ingresado\");\n } catch (Exception e) {\n JOptionPane.showMessageDialog(null, \"Debe ingresar Datos para guardar registro!\");\n }\n }", "public GestaoFormando() {\n \n initComponents();\n listarEquipamentos();\n listarmapainscritos();\n }", "public TelaCaixa() {\n initComponents();\n InterfaceUtils.preparaTela(this);\n\n List<Caixa> caixas;\n Caixa caixa = null;\n CaixaJpaController caixaController = new CaixaJpaController(ipsum2.Ipsum2.getFactory());\n caixas = caixaController.getEntityManager().createNamedQuery(\"Caixa.findAll\").getResultList();\n for (Caixa c : caixas) {\n if (c.getCodcaixa() == 1) {\n caixa = c;\n }\n }\n if (caixa == null) {\n caixa = new Caixa();\n caixa.setCodcaixa(1);\n caixa.setSaldo(0.0);\n caixa.setStatus(Short.parseShort(\"1\"));\n try {\n caixaController.create(caixa);\n } catch (Exception ex) {\n Logger.getLogger(TelaCaixa.class.getName()).log(Level.SEVERE, null, ex);\n }\n }\n if (caixa.getStatus() == 1) {\n statusCaixa.setText(\"Aberto\");\n alterar.setEnabled(true);\n novoLanc.setEnabled(true);\n\n } else {\n statusCaixa.setText(\"Fechado\");\n alterar.setEnabled(false);\n novoLanc.setEnabled(false);\n }\n List<Lancamento> lancamentos;\n LancamentoJpaController lancamentoController = new LancamentoJpaController(ipsum2.Ipsum2.getFactory());\n lancamentos = lancamentoController.getEntityManager().createNamedQuery(\"Lancamento.findAll\").getResultList();\n this.listLancamentos = lancamentos;\n lancamentos = lancamentoController.getEntityManager().createNamedQuery(\"Lancamento.findByEstorno\").setParameter(\"estorno\", (short) 0).getResultList();\n this.listLancamentosAtivos = lancamentos;\n double saldoCaixa = 0.0;\n for (Lancamento l : lancamentos) {\n if (l.getLancamentoEntrada() != null && l.getEstorno() == 0) {\n saldoCaixa += l.getValor();\n }\n if (l.getLancamentoSaida() != null && l.getEstorno() == 0) {\n saldoCaixa -= l.getValor();\n }\n if (l.getLancamentoRecforn() != null && l.getEstorno() == 0) {\n saldoCaixa += l.getValor();\n }\n if (l.getLancamentoPagfunc() != null && l.getEstorno() == 0) {\n saldoCaixa -= l.getValor();\n }\n }\n saldo.setText(\"R$ \" + String.valueOf(saldoCaixa).replace(\".\", \",\"));\n this.saldoFinal = saldoCaixa;\n caixa.setSaldo(saldoCaixa);\n this.caixa = caixa;\n try {\n caixaController.edit(caixa);\n } catch (Exception ex) {\n Logger.getLogger(TelaCaixa.class.getName()).log(Level.SEVERE, null, ex);\n }\n\n this.insereTabela(lancamentos);\n\n }", "public void crearAutomovil(){\r\n automovil = new Vehiculo();\r\n automovil.setMarca(\"BMW\");\r\n automovil.setModelo(2010);\r\n automovil.setPlaca(\"TWS435\");\r\n }", "public void insertProblema() {\n \n \n java.util.Date d = new java.util.Date();\n java.sql.Date fecha = new java.sql.Date(d.getTime());\n \n this.equipo.setEstado(true);\n this.prob = new ReporteProblema(equipo, this.problema, true,fecha);\n f.registrarReporte(this.prob);\n \n }", "public frmTelaVendas() {\n initComponents();\n this.carrinho = new CarrinhoDeCompras();\n listaItens.setModel(this.lista);\n }", "@GetMapping(\"/producto/nuevo\")\n\tpublic String nuevoProductoForm(Model model) {\n\t\tmodel.addAttribute(\"producto\", new Producto());\n\t\treturn \"app/producto/form\";\n\t}", "public pInsertar() {\n initComponents();\n }", "public TelaInformacoes(Pessoa codPessoa) {\n initComponents();\n \n //System.out.println(codPessoa.getCodPessoa());\n //aluno = pessoa.localizarPessoa(codPessoa);\n \n jpTela.setBackground(Color.white);\n lbNome.setText(codPessoa.getNome());\n lbSexo.setText(codPessoa.getSexo());\n lbCor.setText(codPessoa.getCorRaca());\n lbNaturalidade.setText(codPessoa.getNaturalidade());\n lbNomePai.setText(codPessoa.getNomePai());\n lbNomeMae.setText(codPessoa.getNomeMae());\n lbEstado.setText(codPessoa.getUf());\n lbOrgaoEmissor.setText(codPessoa.getOrgaoEmissor());\n lbDataNascimento.setText(codPessoa.getDataNacimento());\n lbDataExpedicao.setText(codPessoa.getDataExpedicao());\n lbRG.setText(codPessoa.getRG());\n lbCPF.setText(codPessoa.getCpf());\n \n for(Endereco temp:alunob.listarEnderecoPessoa(codPessoa.getCodPessoa()))\n {\n lbRua.setText(temp.getRua());\n lbBairro.setText(temp.getBairro());\n lbNumCasa.setText(temp.getComplemento());\n lbCidade.setText(temp.getCidade());\n lbCep.setText(temp.getCep());\n \n }\n \n for(Contato temp:alunob.listarContatoPessoa(codPessoa))\n {\n lbCelular.setText(temp.getCelular());\n lbEmail.setText(temp.getEmail());\n lbTelefone.setText(temp.getTelefone());\n \n }\n \n \n }", "public static Result newForm() {\n return ok(newForm.render(palletForm, setOfArticleForm));\n }", "public void crearPersona(){\r\n persona = new Persona();\r\n persona.setNombre(\"Jose\");\r\n persona.setCedula(12345678);\r\n }", "public telaAddPedidoII() {\n initComponents();\n }", "public frmTaquilla() {\n initComponents();\n \n objSalaSecundaria.setCapacidad(250);\n objSalaSecundaria.setPrecioEntrada(180.0);//esto equivale a asignar los valores a través de de los metodos set\n libres1.setText(\"LIBRES \" + objSalaCentral.getCapacidad());\n }", "public void ajouterFiche(Fiche fiche) ;", "private void agregarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_agregarActionPerformed\n boolean salida = true;\n Palabra p; \n p = new Palabra(campo1.getText());\n boolean continua = p.estaBien();\n if (continua) {\n agregarDiccionario(p);\n salida = pregunta();\n setVisible(true);\n }else {\n JOptionPane.showMessageDialog(null,\"#- Palabra mal escrita intente de nuevo -#\");\n }\n \n if (!salida) {\n JOptionPane.showMessageDialog(null,\"Gracias por usar el Corrector Ortográfico\");\n dic.guardarDiccionario();\n dispose(); //setVisible(false);\n }\n }", "public static Paquete insertPaquete(String nombre_paquete, \n String descripcion_paquete){\n Paquete miPaquete = new Paquete(nombre_paquete, descripcion_paquete);\n miPaquete.registrarPaquete();\n return miPaquete;\n \n }", "Compleja createCompleja();", "public TelaRegistroVendas() {\n initComponents();\n }", "public Tequisquiapan()\n {\n nivel = new Counter(\"Barrio Tequisquiapan: \");\n \n nivel.setValue(5);\n hombre.escenario=5;\n\n casa5.creaCasa(4);\n addObject(casa5, 2, 3);\n \n arbol2.creaArbol(2);\n addObject(arbol2, 20, 3);\n arbol3.creaArbol(3);\n addObject(arbol3, 20, 16); \n \n addObject(letrero5, 15, 8);\n\n addObject(hombre, 11, 1);\n \n arbol4.creaArbol(4);\n addObject(arbol4, 20, 20);\n arbol5.creaArbol(5);\n addObject(arbol5, 3, 17);\n \n fuente2.creaAfuera(6);\n addObject(fuente2, 11, 19);\n \n lampara1.creaAfuera(2);\n addObject(lampara1, 8, 14);\n lampara2.creaAfuera(1);\n addObject(lampara2, 8, 7);\n \n addObject(nivel, 5, 0);\n addObject(atras, 20, 2); \n }", "public TelaEscolhaAssento() {\n initComponents();\n }", "Secuencia createSecuencia();", "private void newProject()\n\t{\n\t\tnew FenetreCreationProjet();\n\t}", "public TelaSecundaria() {\n initComponents();\n ArrayTexto();\n btpara.setVisible(false);\n btresposta.setVisible(false);\n }", "public TelaEsqueceuSenha() {\n initComponents();\n }", "public DCrearDisco( InterfazDiscotienda id ){\r\n super( id, true );\r\n principal = id;\r\n\r\n panelDatos = new PanelCrearDisco( );\r\n panelBotones = new PanelBotonesDisco( this );\r\n\r\n getContentPane( ).add( panelDatos, BorderLayout.CENTER );\r\n getContentPane( ).add( panelBotones, BorderLayout.SOUTH );\r\n\r\n setTitle( \"Crear Disco\" );\r\n pack();\r\n }", "@Override\r\n\tprotected void agregarObjeto() {\r\n\t\t// opcion 1 es agregar nuevo justificativo\r\n\t\tthis.setTitle(\"PROCESOS - PERMISOS INDIVIDUALES (AGREGANDO)\");\r\n\t\tthis.opcion = 1;\r\n\t\tactivarFormulario();\r\n\t\tlimpiarTabla();\r\n\t\tthis.panelBotones.habilitar();\r\n\t}", "public tambah() {\n initComponents();\n }", "private void creerMethode() {\n if (estValide()) {\n methode = new Methode();\n methode.setNom(textFieldNom.getText());\n methode.setVisibilite(comboBoxVisibilite.getValue());\n methode.setType(comboBoxType.getValue());\n ArrayList<Parametre> temp = new ArrayList<>();\n for (Parametre parametre : parametreListView.getItems())\n temp.add(parametre);\n methode.setParametres(temp);\n close();\n }\n }", "public PlanoSaude create(long plano_id);", "public void insere(Pessoa pessoa){\n\t\tdb.save(pessoa);\n\t}", "public void limpiarCamposFormBusqueda() {\n\t}", "public String agregaTema(){\n TemaDAO udbT = new TemaDAO();\n Tema tema = udbT.find(nombre);\n if(tema != null){\n Mensajes.error(\"El tema ya existe. \\n Añade tus marcadores al tema existente\");\n return \"\";\n }\n InformadorDAO infDAO = new InformadorDAO(); \n IniciarSesionController.UserLogged us= (IniciarSesionController.UserLogged) FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get(\"user\");\n Informador informador = infDAO.find(us.getCorreo());\n String color = generaColor();\n tema = new Tema(nombre, color);\n tema.setInformador(informador);\n udbT.save(tema);\n return (\"/informador/agregaMarcadorNuevoTema?faces-redirect=true&tema=\" + nombre);\n }", "@Override\n\tpublic Oglas createNewOglas(NewOglasForm oglasForm) {\n\t\tSimpleDateFormat formatter = new SimpleDateFormat(\"yyyy-MM-dd\");\n\t\t\n\t\tOglas oglas = new Oglas();\n\t\tSystem.out.println(oglas.getId());\n\t\toglas.setNaziv(oglasForm.getNaziv());\n\t\toglas.setOpis(oglasForm.getOpis());\n\t\ttry {\n\t\t\toglas.setDatum(formatter.parse(oglasForm.getDatum()));\n\t\t\tSystem.out.println(oglas.getDatum());\n System.out.println(formatter.format(oglas.getDatum()));\n\t\t} catch (ParseException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\treturn repository.save(oglas);\n\t}", "private void btnTambahActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnTambahActionPerformed\n tambahUbah = 1;\n TambahUbahTIK t = new TambahUbahTIK();\n t.setVisible(true);\n this.dispose();\n }", "@POST\n\t@Consumes({MediaType.APPLICATION_FORM_URLENCODED, MediaType.APPLICATION_JSON} )\n\t@Produces(MediaType.TEXT_HTML)\n\tpublic void createPunto(Punto punto,\n\t\t\t@Context HttpServletResponse servletResponse) throws IOException {\n\t\tpunto.setId(AutoIncremental.getAutoIncremental());\n\t\tpuntoService.agregarPunto(punto);\n\t\tservletResponse.sendRedirect(\"./rutas/\");\n\t}", "private void iniciaTela() {\n try {\n tfCod.setText(String.valueOf(reservaCliDAO.getLastId()));\n desabilitaCampos(false);\n DefaultComboBoxModel modeloComboCliente;\n modeloComboCliente = new DefaultComboBoxModel(funDAO.getAll().toArray());\n cbFunc.setModel(modeloComboCliente);\n modeloComboCliente = new DefaultComboBoxModel(quartoDAO.getAll().toArray());\n cbQuarto.setModel(modeloComboCliente);\n modeloComboCliente = new DefaultComboBoxModel(cliDAO.getAll().toArray());\n cbCliente.setModel(modeloComboCliente);\n btSelect.setEnabled(false);\n verificaCampos();\n carregaTableReserva(reservaDAO.getAll());\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "FORM createFORM();", "public ServerskaForma() {\n initComponents();\n \n \n \n }", "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n String nombre = request.getParameter(\"nombre\");\n String descripcion = request.getParameter(\"descripcion\");\n String cantidad = request.getParameter(\"cantidad\");\n String precio = request.getParameter(\"precio\");\n String pago = request.getParameter(\"pago\");\n \n //creando objeto del costructor\n modelo.ventas venta = new modelo.ventas();\n //almacenando datos en las variables con el constructor \n venta.setNombre(nombre);\n venta.setDescripcion(descripcion);\n venta.setCantidad(Integer.parseInt(cantidad));\n venta.setPrecio(Double.parseDouble(precio));\n venta.setPago(Integer.parseInt(pago));\n \n //creando objeto para guardar cliente\n modelo.addVenta addventa = new modelo.addVenta();\n try {\n addventa.agrega(venta);\n } catch (SQLException ex) {\n Logger.getLogger(formVenta.class.getName()).log(Level.SEVERE, null, ex);\n }\n response.sendRedirect(\"ventas\");//si se guarda exitosamente se redirecciona a membresia\n }", "public Vehiculo() {\r\n }", "public TelaCidadaoDescarte() {\n initComponents();\n }", "public String createQuiz() {\n quiz = quizEJB.createQuiz(quiz);\n quizList = quizEJB.listQuiz();\n FacesContext.getCurrentInstance().addMessage(\"successForm:successInput\", new FacesMessage(FacesMessage.SEVERITY_INFO, \"Success\", \"New record added successfully\"));\n return \"quiz-list.xhtml\";\n }", "public TelaAgendamento() {\n initComponents();\n }", "public FormUtama() {\n initComponents();\n }", "public TelaContaUnica() {\n initComponents();\n }", "public void crearReaTrans(){\n\t // could have been factorized with the precedent view\n\t\tgetContentPane().setLayout(new BorderLayout());\n\t \n\t\tp1 = new JPanel();\n\t p2 = new JPanel();\n\t \n\t String[] a = {\"Regresar\",\"Continuar\"}, c = {\"Cuenta de origen\",\"Monto\",\"Cuenta de destino\"};\n\t \n\t p1.setLayout(new GridLayout(1,2));\n\t p2.setLayout(new GridLayout(1,3));\n\t \n\t for (int x=0; x<2; x++) {\n\t b = new JButton(a[x]);\n\t botones.add(b);\n\t }\n\t for (JButton x:botones) {\n\t x.setPreferredSize(new Dimension(110,110));\n\t p1.add(x);\n\t }\n // Add buttons panel \n\t add(p1, BorderLayout.SOUTH);\n\t \n\t for (int x=0; x<3; x++){\n\t tf=new JTextField(c[x]);\n\t tf.setPreferredSize(new Dimension(10,100));\n textos.add(tf);\n\t p2.add(tf);\n\t }\n // Add textfields panel\n\t add(p2, BorderLayout.NORTH);\n\t}", "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jPanel1 = new javax.swing.JPanel();\n etiquetaTitulo = new javax.swing.JLabel();\n jScrollPane1 = new javax.swing.JScrollPane();\n tablaCuentas = new javax.swing.JTable();\n etiquetaLeyenda = new javax.swing.JLabel();\n jPanel2 = new javax.swing.JPanel();\n etiquetaCodigo = new javax.swing.JLabel();\n campoCodigo = new javax.swing.JTextField();\n etiquetaDescripcion = new javax.swing.JLabel();\n campoDescripcion = new javax.swing.JTextField();\n comboCuentaTitulo = new javax.swing.JComboBox<>();\n etiquetaCuentaTitulo = new javax.swing.JLabel();\n botonAceptar = new javax.swing.JButton();\n etiquetaNivel = new javax.swing.JLabel();\n campoNivel = new javax.swing.JTextField();\n etiquetaTitulo2 = new javax.swing.JLabel();\n botonVolver = new javax.swing.JButton();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n\n etiquetaTitulo.setFont(new java.awt.Font(\"Tahoma\", 1, 13)); // NOI18N\n etiquetaTitulo.setText(\"Crear una nueva Cuenta o Titulo\");\n\n tablaCuentas = new javax.swing.JTable() {\n public boolean isCellEditable(int rowIndex, int colIndex){\n return false;\n }\n };\n tablaCuentas.setModel(new javax.swing.table.DefaultTableModel(\n new Object [][] {\n {null, null, null, null},\n {null, null, null, null},\n {null, null, null, null},\n {null, null, null, null}\n },\n new String [] {\n \"Codigo\", \"Descripcion\", \"Tipo\", \"Nro Cuenta\"\n }\n ));\n jScrollPane1.setViewportView(tablaCuentas);\n\n etiquetaLeyenda.setText(\"Seleccione bajo que titulo se crea la nueva cuenta o titulo\");\n\n etiquetaCodigo.setText(\"Codigo:\");\n\n etiquetaDescripcion.setText(\"Descripcion:\");\n\n comboCuentaTitulo.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"Titulo\", \"Cuenta\" }));\n\n etiquetaCuentaTitulo.setText(\"Cuenta o Titulo:\");\n\n botonAceptar.setText(\"Aceptar\");\n\n etiquetaNivel.setText(\"Nivel:\");\n\n campoNivel.setEnabled(false);\n\n etiquetaTitulo2.setText(\"Datos de la nueva Cuenta\");\n\n javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);\n jPanel2.setLayout(jPanel2Layout);\n jPanel2Layout.setHorizontalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGap(22, 22, 22)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(botonAceptar)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(etiquetaCodigo)\n .addComponent(etiquetaDescripcion)\n .addComponent(etiquetaCuentaTitulo))\n .addGap(18, 18, 18)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(campoDescripcion, javax.swing.GroupLayout.PREFERRED_SIZE, 257, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addComponent(comboCuentaTitulo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(34, 34, 34)\n .addComponent(etiquetaNivel)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(campoNivel, javax.swing.GroupLayout.PREFERRED_SIZE, 66, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addComponent(campoCodigo, javax.swing.GroupLayout.PREFERRED_SIZE, 257, javax.swing.GroupLayout.PREFERRED_SIZE)))))\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGap(99, 99, 99)\n .addComponent(etiquetaTitulo2)))\n .addContainerGap(38, Short.MAX_VALUE))\n );\n jPanel2Layout.setVerticalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(etiquetaTitulo2)\n .addGap(33, 33, 33)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(campoCodigo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(etiquetaCodigo))\n .addGap(40, 40, 40)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(etiquetaDescripcion)\n .addComponent(campoDescripcion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(59, 59, 59)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(comboCuentaTitulo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(etiquetaCuentaTitulo)\n .addComponent(etiquetaNivel)\n .addComponent(campoNivel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(61, 61, 61)\n .addComponent(botonAceptar)\n .addContainerGap(52, Short.MAX_VALUE))\n );\n\n botonVolver.setText(\"Volver\");\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(39, 39, 39)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(etiquetaLeyenda)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(50, 50, 50)\n .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(87, 87, 87)\n .addComponent(botonVolver))))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(317, 317, 317)\n .addComponent(etiquetaTitulo)))\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(24, 24, 24)\n .addComponent(etiquetaTitulo)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 26, Short.MAX_VALUE)\n .addComponent(etiquetaLeyenda)\n .addGap(18, 18, 18)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 531, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(33, 33, 33))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(botonVolver)\n .addGap(67, 67, 67))))\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n\n pack();\n }", "public void nouveau(){\r\n try {\r\n viewEtudiantInscripEcheance = new ViewEtudiantInscriptionEcheance();\r\n echeance_etudiant = new EcoEcheanceEtudiant(); \r\n \r\n } catch (Exception e) {\r\n System.err.println(\"Erreur capturée : \"+e);\r\n }\r\n }", "public com.alain.puntocoma.model.Catalogo create(long catalogoId);", "@GetMapping(\"/createRegistro\")\n\tpublic String crearValidacion(Model model) {\n\t\tList<Barrio> localidades = barrioService.obtenerBarrios();\n\t\tmodel.addAttribute(\"localidades\",localidades);\n\t\tmodel.addAttribute(\"persona\",persona);\n\t\tmodel.addAttribute(\"validacion\",validacion);\n\t\tmodel.addAttribute(\"registro\",registro);\n\t\tmodel.addAttribute(\"barrio\",barrio);\n\t\treturn \"RegistroForm\";\n\t}", "public TelaCadastroPlano() {\n initComponents();\n campoNome.setDocument(new CaixaAlta());\n setLocationRelativeTo(null);\n preencheTabela();\n campoCodigo.setText(Integer.toString(fachada.proximoCodigo()));\n setModalidades();\n }", "public InstrutorCadastrarTela() {\n initComponents();\n //Limite de caracateres e apenas caracteres permitidos\n jTextFieldNome.setDocument(new classesBasicas.CaracterLimitePermitido(60));\n //Limitando os caracteres para (N), independende de ser numero ou letras\n jTextFieldRg.setDocument(new classesBasicas.JTextFieldLimite(20)); \n }" ]
[ "0.70411307", "0.6824537", "0.67587143", "0.6727967", "0.66962445", "0.6667948", "0.6654999", "0.66444725", "0.6642863", "0.6569874", "0.647233", "0.6468731", "0.6404914", "0.6391973", "0.6371097", "0.6357891", "0.63574946", "0.63506097", "0.63501126", "0.6318894", "0.6313187", "0.6303809", "0.62978196", "0.6278084", "0.6275944", "0.62487936", "0.6236662", "0.6234157", "0.62154377", "0.6214459", "0.61738473", "0.6151175", "0.6149167", "0.6142265", "0.61416864", "0.612347", "0.61194056", "0.61191386", "0.61083543", "0.61077636", "0.61043745", "0.60981315", "0.60971975", "0.6091677", "0.6090954", "0.60780084", "0.60779816", "0.60775214", "0.60734266", "0.60699964", "0.6066216", "0.60563856", "0.6055476", "0.60435563", "0.6041537", "0.60266775", "0.6020558", "0.5999071", "0.59928817", "0.59911734", "0.5989914", "0.59867626", "0.5980318", "0.5976432", "0.5972867", "0.5968552", "0.59671855", "0.5961145", "0.5959271", "0.59481096", "0.5945447", "0.594434", "0.5944325", "0.5943008", "0.59426785", "0.59396625", "0.5936644", "0.5931813", "0.59265995", "0.5921893", "0.5910096", "0.59086347", "0.5901946", "0.58968514", "0.5895411", "0.5893897", "0.58914834", "0.5890598", "0.58877563", "0.5885666", "0.5880258", "0.58794975", "0.58734995", "0.5865806", "0.5863415", "0.5858683", "0.58500385", "0.5847861", "0.5847695", "0.58458406" ]
0.6399685
13
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jLabel1 = new javax.swing.JLabel(); txtNome = new javax.swing.JTextField(); btnBuscar = new javax.swing.JButton(); jLabel2 = new javax.swing.JLabel(); jLabel3 = new javax.swing.JLabel(); jLabel4 = new javax.swing.JLabel(); jLabel5 = new javax.swing.JLabel(); lblNome = new javax.swing.JLabel(); lblEmail = new javax.swing.JLabel(); lblSexo = new javax.swing.JLabel(); lblLogin = new javax.swing.JLabel(); setClosable(true); jLabel1.setText("Nome :"); btnBuscar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagens/zoom.png"))); // NOI18N btnBuscar.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { btnBuscarActionPerformed(evt); } }); jLabel2.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N jLabel2.setText("Nome: "); jLabel3.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N jLabel3.setText("Email :"); jLabel4.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N jLabel4.setText("Sexo :"); jLabel5.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N jLabel5.setText("Login :"); lblNome.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N lblEmail.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N lblSexo.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N lblLogin.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); getContentPane().setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addContainerGap() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addComponent(jLabel1) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(txtNome, javax.swing.GroupLayout.DEFAULT_SIZE, 277, Short.MAX_VALUE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(btnBuscar) .addGap(14, 14, 14)) .addGroup(layout.createSequentialGroup() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel2) .addComponent(jLabel3) .addComponent(jLabel4) .addComponent(jLabel5)) .addGap(18, 18, 18) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(lblLogin) .addComponent(lblSexo) .addComponent(lblEmail) .addComponent(lblNome)) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addContainerGap() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel1) .addComponent(txtNome, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(btnBuscar)) .addGap(18, 18, 18) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel2) .addComponent(lblNome)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel3) .addComponent(lblEmail)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel4) .addComponent(lblSexo)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel5) .addComponent(lblLogin)) .addContainerGap(127, Short.MAX_VALUE)) ); pack(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public frmRectangulo() {\n initComponents();\n }", "public form() {\n initComponents();\n }", "public AdjointForm() {\n initComponents();\n setDefaultCloseOperation(HIDE_ON_CLOSE);\n }", "public FormListRemarking() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n \n }", "public FormPemilihan() {\n initComponents();\n }", "public GUIForm() { \n initComponents();\n }", "public FrameForm() {\n initComponents();\n }", "public TorneoForm() {\n initComponents();\n }", "public FormCompra() {\n initComponents();\n }", "public muveletek() {\n initComponents();\n }", "public Interfax_D() {\n initComponents();\n }", "public quanlixe_form() {\n initComponents();\n }", "public SettingsForm() {\n initComponents();\n }", "public Soru1() {\n initComponents();\n }", "public RegistrationForm() {\n initComponents();\n this.setLocationRelativeTo(null);\n }", "public FMainForm() {\n initComponents();\n this.setResizable(false);\n setLocationRelativeTo(null);\n }", "public soal2GUI() {\n initComponents();\n }", "public EindopdrachtGUI() {\n initComponents();\n }", "public MechanicForm() {\n initComponents();\n }", "public AddDocumentLineForm(java.awt.Frame parent) {\n super(parent);\n initComponents();\n myInit();\n }", "public quotaGUI() {\n initComponents();\n }", "public BloodDonationGUI() {\n initComponents();\n }", "public PatientUI() {\n initComponents();\n }", "public Customer_Form() {\n initComponents();\n setSize(890,740);\n \n \n }", "public Oddeven() {\n initComponents();\n }", "public myForm() {\n\t\t\tinitComponents();\n\t\t}", "public intrebarea() {\n initComponents();\n }", "public Magasin() {\n initComponents();\n }", "public RadioUI()\n {\n initComponents();\n }", "public NewCustomerGUI() {\n initComponents();\n }", "public ZobrazUdalost() {\n initComponents();\n }", "public FormUtama() {\n initComponents();\n }", "public p0() {\n initComponents();\n }", "public INFORMACION() {\n initComponents();\n this.setLocationRelativeTo(null); \n }", "public ProgramForm() {\n setLookAndFeel();\n initComponents();\n }", "public AmountReleasedCommentsForm() {\r\n initComponents();\r\n }", "public form2() {\n initComponents();\n }", "public MainForm() {\n\t\tsuper(\"Hospital\", List.IMPLICIT);\n\n\t\tstartComponents();\n\t}", "public kunde() {\n initComponents();\n }", "public LixeiraForm() {\n initComponents();\n setLocationRelativeTo(null);\n }", "public MusteriEkle() {\n initComponents();\n }", "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n setRequestFocusEnabled(false);\n setVerifyInputWhenFocusTarget(false);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 465, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 357, Short.MAX_VALUE)\n );\n }", "public frmMain() {\n initComponents();\n }", "public frmMain() {\n initComponents();\n }", "public DESHBORDPANAL() {\n initComponents();\n }", "public GUIForm() {\n initComponents();\n inputField.setText(NO_FILE_SELECTED);\n outputField.setText(NO_FILE_SELECTED);\n progressLabel.setBackground(INFO);\n progressLabel.setText(SELECT_FILE);\n }", "public frmVenda() {\n initComponents();\n }", "public Botonera() {\n initComponents();\n }", "public FrmMenu() {\n initComponents();\n }", "public OffertoryGUI() {\n initComponents();\n setTypes();\n }", "public JFFornecedores() {\n initComponents();\n }", "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setBackground(new java.awt.Color(255, 255, 255));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 983, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 769, Short.MAX_VALUE)\n );\n\n pack();\n }", "public vpemesanan1() {\n initComponents();\n }", "public EnterDetailsGUI() {\n initComponents();\n }", "public Kost() {\n initComponents();\n }", "public UploadForm() {\n initComponents();\n }", "public frmacceso() {\n initComponents();\n }", "public FormHorarioSSE() {\n initComponents();\n }", "public HW3() {\n initComponents();\n }", "public Managing_Staff_Main_Form() {\n initComponents();\n }", "public sinavlar2() {\n initComponents();\n }", "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n getContentPane().setLayout(null);\n\n pack();\n }", "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 300, Short.MAX_VALUE)\n );\n }", "public P0405() {\n initComponents();\n }", "public MiFrame2() {\n initComponents();\n }", "public IssueBookForm() {\n initComponents();\n }", "public Choose1() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n\n String oldAuthor = prefs.get(\"AUTHOR\", \"\");\n if(oldAuthor != null) {\n this.authorTextField.setText(oldAuthor);\n }\n String oldBook = prefs.get(\"BOOK\", \"\");\n if(oldBook != null) {\n this.bookTextField.setText(oldBook);\n }\n String oldDisc = prefs.get(\"DISC\", \"\");\n if(oldDisc != null) {\n try {\n int oldDiscNum = Integer.parseInt(oldDisc);\n oldDiscNum++;\n this.discNumberTextField.setText(Integer.toString(oldDiscNum));\n } catch (Exception ex) {\n this.discNumberTextField.setText(oldDisc);\n }\n this.bookTextField.setText(oldBook);\n }\n\n\n }", "public GUI_StudentInfo() {\n initComponents();\n }", "public Lihat_Dokter_Keseluruhan() {\n initComponents();\n }", "public JFrmPrincipal() {\n initComponents();\n }", "public bt526() {\n initComponents();\n }", "public Pemilihan_Dokter() {\n initComponents();\n }", "public Ablak() {\n initComponents();\n }", "@Override\n\tprotected void initUi() {\n\t\t\n\t}", "@SuppressWarnings(\"unchecked\")\n\t// <editor-fold defaultstate=\"collapsed\" desc=\"Generated\n\t// Code\">//GEN-BEGIN:initComponents\n\tprivate void initComponents() {\n\n\t\tlabel1 = new java.awt.Label();\n\t\tlabel2 = new java.awt.Label();\n\t\tlabel3 = new java.awt.Label();\n\t\tlabel4 = new java.awt.Label();\n\t\tlabel5 = new java.awt.Label();\n\t\tlabel6 = new java.awt.Label();\n\t\tlabel7 = new java.awt.Label();\n\t\tlabel8 = new java.awt.Label();\n\t\tlabel9 = new java.awt.Label();\n\t\tlabel10 = new java.awt.Label();\n\t\ttextField1 = new java.awt.TextField();\n\t\ttextField2 = new java.awt.TextField();\n\t\tlabel14 = new java.awt.Label();\n\t\tlabel15 = new java.awt.Label();\n\t\tlabel16 = new java.awt.Label();\n\t\ttextField3 = new java.awt.TextField();\n\t\ttextField4 = new java.awt.TextField();\n\t\ttextField5 = new java.awt.TextField();\n\t\tlabel17 = new java.awt.Label();\n\t\tlabel18 = new java.awt.Label();\n\t\tlabel19 = new java.awt.Label();\n\t\tlabel20 = new java.awt.Label();\n\t\tlabel21 = new java.awt.Label();\n\t\tlabel22 = new java.awt.Label();\n\t\ttextField6 = new java.awt.TextField();\n\t\ttextField7 = new java.awt.TextField();\n\t\ttextField8 = new java.awt.TextField();\n\t\tlabel23 = new java.awt.Label();\n\t\ttextField9 = new java.awt.TextField();\n\t\ttextField10 = new java.awt.TextField();\n\t\ttextField11 = new java.awt.TextField();\n\t\ttextField12 = new java.awt.TextField();\n\t\tlabel24 = new java.awt.Label();\n\t\tlabel25 = new java.awt.Label();\n\t\tlabel26 = new java.awt.Label();\n\t\tlabel27 = new java.awt.Label();\n\t\tlabel28 = new java.awt.Label();\n\t\tlabel30 = new java.awt.Label();\n\t\tlabel31 = new java.awt.Label();\n\t\tlabel32 = new java.awt.Label();\n\t\tjButton1 = new javax.swing.JButton();\n\n\t\tlabel1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel1.setText(\"It seems that some of the buttons on the ATM machine are not working!\");\n\n\t\tlabel2.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel2.setText(\"Unfortunately these numbers are exactly what Professor has to use to type in his password.\");\n\n\t\tlabel3.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel3.setText(\n\t\t\t\t\"If you want to eat tonight, you have to help him out and construct the numbers of the password with the working buttons and math operators.\");\n\n\t\tlabel4.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tlabel4.setText(\"Denver's Password: 2792\");\n\n\t\tlabel5.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel5.setText(\"import java.util.Scanner;\\n\");\n\n\t\tlabel6.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel6.setText(\"public class ATM{\");\n\n\t\tlabel7.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel7.setText(\"public static void main(String[] args){\");\n\n\t\tlabel8.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel8.setText(\"System.out.print(\");\n\n\t\tlabel9.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel9.setText(\" -\");\n\n\t\tlabel10.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel10.setText(\");\");\n\n\t\ttextField1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\ttextField1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tlabel14.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel14.setText(\"System.out.print( (\");\n\n\t\tlabel15.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel15.setText(\"System.out.print(\");\n\n\t\tlabel16.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel16.setText(\"System.out.print( ( (\");\n\n\t\tlabel17.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel17.setText(\")\");\n\n\t\tlabel18.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel18.setText(\" +\");\n\n\t\tlabel19.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel19.setText(\");\");\n\n\t\tlabel20.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel20.setText(\" /\");\n\n\t\tlabel21.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel21.setText(\" %\");\n\n\t\tlabel22.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel22.setText(\" +\");\n\n\t\tlabel23.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel23.setText(\");\");\n\n\t\tlabel24.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel24.setText(\" +\");\n\n\t\tlabel25.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel25.setText(\" /\");\n\n\t\tlabel26.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel26.setText(\" *\");\n\n\t\tlabel27.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));\n\t\tlabel27.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel27.setText(\")\");\n\n\t\tlabel28.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel28.setText(\")\");\n\n\t\tlabel30.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel30.setText(\"}\");\n\n\t\tlabel31.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel31.setText(\"}\");\n\n\t\tlabel32.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel32.setText(\");\");\n\n\t\tjButton1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tjButton1.setText(\"Check\");\n\t\tjButton1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\tjButton1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tjavax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n\t\tlayout.setHorizontalGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(28).addGroup(layout\n\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING).addComponent(getDoneButton()).addComponent(jButton1)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, 774, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addGap(92).addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15, GroupLayout.PREFERRED_SIZE, 145,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(2)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(37))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(174)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(7)))\n\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label22, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label23, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20).addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(23).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel10, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16, GroupLayout.PREFERRED_SIZE, 177,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));\n\t\tlayout.setVerticalGroup(\n\t\t\t\tlayout.createParallelGroup(Alignment.LEADING).addGroup(layout.createSequentialGroup().addContainerGap()\n\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\tlayout.createSequentialGroup().addGroup(layout.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(3)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(19)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(78)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(76)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(75)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShort.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(27))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\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.createParallelGroup(\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\tAlignment.LEADING)\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.addComponent(label22,\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\tGroupLayout.PREFERRED_SIZE,\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\tGroupLayout.DEFAULT_SIZE,\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\tGroupLayout.PREFERRED_SIZE)\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.addGroup(\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\tlayout.createSequentialGroup()\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.addGap(3)\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.addComponent(\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\tlabel23,\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\tGroupLayout.PREFERRED_SIZE,\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\tGroupLayout.DEFAULT_SIZE,\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\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(29)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))))\n\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t.addGap(30)\n\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(25)\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(26).addComponent(jButton1).addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(getDoneButton()).addContainerGap(23, Short.MAX_VALUE)));\n\t\tthis.setLayout(layout);\n\n\t\tlabel16.getAccessibleContext().setAccessibleName(\"System.out.print( ( (\");\n\t\tlabel17.getAccessibleContext().setAccessibleName(\"\");\n\t\tlabel18.getAccessibleContext().setAccessibleName(\" +\");\n\t}", "public Pregunta23() {\n initComponents();\n }", "public FormMenuUser() {\n super(\"Form Menu User\");\n initComponents();\n }", "public AvtekOkno() {\n initComponents();\n }", "public busdet() {\n initComponents();\n }", "public ViewPrescriptionForm() {\n initComponents();\n }", "public Ventaform() {\n initComponents();\n }", "public Kuis2() {\n initComponents();\n }", "public POS1() {\n initComponents();\n }", "public CreateAccount_GUI() {\n initComponents();\n }", "public Carrera() {\n initComponents();\n }", "public EqGUI() {\n initComponents();\n }", "public JFriau() {\n initComponents();\n this.setLocationRelativeTo(null);\n this.setTitle(\"BuNus - Budaya Nusantara\");\n }", "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setBackground(new java.awt.Color(204, 204, 204));\n setMinimumSize(new java.awt.Dimension(1, 1));\n setPreferredSize(new java.awt.Dimension(760, 402));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 750, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n }", "public nokno() {\n initComponents();\n }", "public dokter() {\n initComponents();\n }", "public ConverterGUI() {\n initComponents();\n }", "public hitungan() {\n initComponents();\n }", "public Modify() {\n initComponents();\n }", "public frmAddIncidencias() {\n initComponents();\n }", "public FP_Calculator_GUI() {\n initComponents();\n \n setVisible(true);\n }" ]
[ "0.7320782", "0.72918797", "0.72918797", "0.72918797", "0.728645", "0.72498447", "0.7214492", "0.720934", "0.7197145", "0.71912014", "0.71852076", "0.7160113", "0.71487373", "0.70943654", "0.70820624", "0.7058153", "0.69883204", "0.6978216", "0.69558746", "0.6955715", "0.69455403", "0.6944223", "0.6936588", "0.6933016", "0.6929512", "0.6925853", "0.6925524", "0.6912182", "0.6912122", "0.6895022", "0.6894088", "0.68921435", "0.68919635", "0.6889464", "0.6884104", "0.6883508", "0.6882322", "0.6879773", "0.6876671", "0.68755716", "0.6872437", "0.6860746", "0.68575454", "0.6857284", "0.68563104", "0.6854648", "0.68544936", "0.68532896", "0.68532896", "0.68444484", "0.68380433", "0.6837678", "0.68299913", "0.6828643", "0.6828147", "0.6825278", "0.6823024", "0.68182456", "0.68178964", "0.681216", "0.6809752", "0.6809671", "0.6809534", "0.6808423", "0.6803337", "0.6794699", "0.67944574", "0.6793996", "0.6792107", "0.67904186", "0.67898226", "0.67888504", "0.6782858", "0.67673683", "0.67670184", "0.6765726", "0.6757476", "0.67573047", "0.6753978", "0.6752576", "0.674217", "0.67403704", "0.6738196", "0.67374873", "0.67351323", "0.6728453", "0.67277855", "0.6722282", "0.6716617", "0.67165154", "0.67154175", "0.6709239", "0.67077744", "0.6703873", "0.67028135", "0.6702373", "0.6700207", "0.67000616", "0.6695769", "0.6691885", "0.6690232" ]
0.0
-1
Created by andresaleman on 9/22/17.
public interface DiscographyMvpPresenter<V extends DiscographyMvpView> extends MvpPresenter<V> { void onViewPrepared(String discography); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "private stendhal() {\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\n\tprotected void interr() {\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\r\n\tpublic void tires() {\n\t\t\r\n\t}", "public final void mo51373a() {\n }", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tpublic void one() {\n\t\t\n\t}", "private void poetries() {\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\r\n\tpublic void rozmnozovat() {\n\t}", "private void m50366E() {\n }", "@Override\n\tpublic void jugar() {\n\t\t\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n public void init() {\n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "public void mo38117a() {\n }", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n void init() {\n }", "@Override\n public void init() {}", "@Override\n protected void initialize() {\n\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\tprotected void getExras() {\n\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n public int retroceder() {\n return 0;\n }", "@Override\n public int describeContents() { return 0; }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void init() {}", "private void kk12() {\n\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}", "@Override\n public void init() {\n\n }", "@Override\n public void init() {\n\n }", "@Override\n\tpublic void nghe() {\n\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}", "private static void cajas() {\n\t\t\n\t}", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "public void method_4270() {}", "private Rekenhulp()\n\t{\n\t}", "@Override\n\tpublic void init() {\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}", "public void mo4359a() {\n }", "private void init() {\n\n\t}", "@Override\n protected void initialize() \n {\n \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\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}", "@Override\n\tpublic int mettreAJour() {\n\t\treturn 0;\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public abstract void mo70713b();", "@Override\n public void initialize() { \n }", "@Override\n\tpublic void init()\n\t{\n\n\t}", "@Override\r\n\tprotected void doF6() {\n\t\t\r\n\t}", "@Override\n\tprotected void initialize() {\n\t}", "@Override\n\tprotected void initialize() {\n\t}", "public void mo21877s() {\n }", "public void m23075a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "private void m50367F() {\n }", "public void mo21779D() {\n }", "@Override\n\tpublic void nefesAl() {\n\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 }" ]
[ "0.6157627", "0.5942651", "0.59233457", "0.5855811", "0.5837426", "0.58088446", "0.5808601", "0.5799264", "0.5799264", "0.57633686", "0.57572263", "0.5751068", "0.5741395", "0.57340634", "0.5698857", "0.5691537", "0.5673121", "0.56682235", "0.56641513", "0.566154", "0.56553847", "0.56553847", "0.56553847", "0.56553847", "0.56553847", "0.5650637", "0.56495225", "0.56382513", "0.5627742", "0.5605779", "0.55939883", "0.5585356", "0.5580482", "0.55660444", "0.55660444", "0.5551215", "0.55434513", "0.5540698", "0.55199623", "0.55175257", "0.551627", "0.551252", "0.551252", "0.551252", "0.551252", "0.551252", "0.551252", "0.5512378", "0.54951155", "0.54928404", "0.54926616", "0.5489451", "0.54849297", "0.54829705", "0.5482928", "0.54754835", "0.54754835", "0.54754835", "0.54732627", "0.54732627", "0.54727024", "0.5469085", "0.5469085", "0.5469085", "0.5457709", "0.54531515", "0.5447835", "0.5444002", "0.5442164", "0.5439085", "0.5433255", "0.5433255", "0.5431777", "0.5431606", "0.5429246", "0.54259604", "0.54259604", "0.54259604", "0.54209334", "0.5419403", "0.5412915", "0.5404982", "0.5402841", "0.5393928", "0.539353", "0.5377413", "0.53623444", "0.53596455", "0.53596455", "0.5358575", "0.5352913", "0.5339482", "0.53318256", "0.5330091", "0.53212225", "0.5317106", "0.5317106", "0.5317106", "0.5317106", "0.5317106", "0.5317106" ]
0.0
-1
get a calendar object referring to the month specified in parameter string
public Calendar getCurrentMonthCalendarObj() throws Throwable{ String dateInput = "01/"+month+"/"+year; DateFormat df = new SimpleDateFormat("dd/MMMM/yyyy"); Date startDate = df.parse(dateInput); Calendar c = Calendar.getInstance(); // this takes current date c.setTime(startDate); // set date to specified in arguement return c; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private int getCalendarMonth(String month){\n month = month.toUpperCase();\n if (month.indexOf(\"JAN\") == 0 ) {\n return Calendar.JANUARY;\n } else if (month.indexOf(\"FEB\") == 0) {\n return Calendar.FEBRUARY;\n } else if (month.indexOf(\"MAR\") == 0) {\n return Calendar.MARCH ;\n } else if (month.indexOf(\"APR\") == 0) {\n return Calendar.APRIL;\n } else if (month.indexOf(\"MAY\") == 0) {\n return Calendar.MAY;\n } else if (month.indexOf(\"JUN\") == 0) {\n return Calendar.JUNE;\n } else if (month.indexOf(\"JUL\") == 0) {\n return Calendar.JULY;\n } else if (month.indexOf(\"AUG\") == 0) {\n return Calendar.AUGUST;\n } else if (month.indexOf(\"SEP\") == 0) {\n return Calendar.SEPTEMBER;\n } else if (month.indexOf(\"OCT\") == 0) {\n return Calendar.OCTOBER;\n } else if (month.indexOf(\"NOV\") == 0) {\n return Calendar.NOVEMBER;\n } else if (month.indexOf(\"DEC\") == 0) {\n return Calendar.DECEMBER;\n } else {\n throw new IllegalArgumentException(\"month must be one of {JAN, \" +\n \"FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV ,DEC)\");\n }\n }", "Calendar stringsToCalendar(String hour, String month, String date) throws ParseException {\n\t\tCalendar cal = Calendar.getInstance();\n\t\tString dateString = hour + \" \" + month + \" \" + date;\n\t\tcal.setTime(formatter.parse(dateString));\n\n\t\treturn cal;\n\t}", "int getExpMonth(String bookingRef);", "public static final Calendar getCalendar(int date, int month, int year) {\r\n\t\tCalendar cal = Calendar.getInstance(); // locale-specific\r\n\t\t// cal.setTime(dateObject);\r\n\t\tcal.set(Calendar.HOUR_OF_DAY, 0);\r\n\t\tcal.set(Calendar.MINUTE, 0);\r\n\t\tcal.set(Calendar.SECOND, 0);\r\n\t\tcal.set(Calendar.MILLISECOND, 0);\r\n\r\n\t\tcal.set(Calendar.DATE, date);\r\n\t\tcal.set(Calendar.MONTH, month);\r\n\t\tcal.set(Calendar.YEAR, year);\r\n\t\treturn cal;\r\n\t}", "Calendar getCalendar();", "public CinemaDate setMonth(String m) {\n return new CinemaDate(m, this.day, this.time);\n }", "@Test\n public void test_getMonth_by_full_string() throws AppException {\n assertEquals(getMonth(\"January\"),1);\n assertEquals(getMonth(\"October\"),10);\n assertEquals(getMonth(\"SePtember\"),9);\n assertEquals(getMonth(\"february\"),2);\n }", "private static Calendar createCalendar(int year, int month, int date) {\r\n\t\tCalendar calendar = Calendar.getInstance();\r\n\t\tcalendar.setLenient(false);\r\n\t\tcalendar.set(Calendar.YEAR, year);\r\n\t\tcalendar.set(Calendar.MONTH, month - 1);\r\n\t\tcalendar.set(Calendar.DAY_OF_MONTH, date);\r\n\t\tcalendar.set(Calendar.MINUTE, 0);\r\n\t\tcalendar.set(Calendar.HOUR_OF_DAY, 0);\r\n\t\tcalendar.set(Calendar.SECOND, 0);\r\n\t\treturn calendar;\r\n\t}", "public Calendar convertFromString(String stringDate) {\n Calendar dateVacancy = Calendar.getInstance();\n dateVacancy.set(Calendar.MILLISECOND, 0); //remove milliseconds\n if (months.isEmpty()) {\n fillMap();\n }\n if (stringDate.contains(TODAY)) {\n year = Calendar.getInstance().get(Calendar.YEAR);\n month = Calendar.getInstance().get(Calendar.MONTH);\n day = Calendar.getInstance().get(Calendar.DAY_OF_MONTH);\n dateVacancy.set(year, month, day);\n } else if (stringDate.contains(YESTERDAY)) {\n year = Calendar.getInstance().get(Calendar.YEAR);\n month = Calendar.getInstance().get(Calendar.MONTH);\n day = Calendar.getInstance().get(Calendar.DAY_OF_MONTH);\n dateVacancy.set(year, month, day - 1);\n } else {\n stringDate = stringDate.substring(0, 9);\n String monthStr = stringDate.substring(stringDate.length() - 7, stringDate.length() - 3).trim();\n this.year = convertToYear(stringDate);\n this.month = months.get(monthStr);\n this.day = convertToDay(stringDate);\n dateVacancy.set(year, month, day);\n }\n return dateVacancy;\n }", "public static Calendar parseStringToCalendar(String data, String pattern) {\r\n\t\tCalendar calendar = GregorianCalendar.getInstance();\r\n\t\tif (data != null \r\n\t\t\t\t&& pattern != null) {\r\n\t\t\tcalendar.setTime(parseStringToDate(data, pattern));\r\n\t\t}\r\n\t\treturn calendar;\r\n\t}", "public static String getCalendarMonthString(int month)\r\n\t{\r\n\t\tString[] arrMonths = {\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"};\r\n\t\treturn arrMonths[month];\r\n\t}", "@Test\n public void test_getMonth_by_short_string() throws AppException {\n assertEquals(getMonth(\"DEC\"),12);\n assertEquals(getMonth(\"feb\"),2);\n assertEquals(getMonth(\"SeP\"),9);\n assertEquals(getMonth(\"Jan\"),1);\n }", "@Test public void Month_name_1__day__year__guess()\t\t\t\t{tst_date_(\"02 Mar 01\"\t\t\t\t, \"2001-03-02\");}", "public static Calendar getDateFromBandoriString(String str) {\r\n\t\tSimpleDateFormat sdf = new SimpleDateFormat(\"MMMMM dd, yyyy hh:mm:ss\");\r\n\t\tsdf.setTimeZone(TimeZone.getTimeZone(\"UTC\"));\r\n\t\tCalendar c = Calendar.getInstance();\r\n\t\ttry {\r\n\t\t\tc.setTime(sdf.parse(str));\r\n\t\t} catch (ParseException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\treturn c;\r\n\t}", "public static Month fromName(String abbreviationMonth) {\n for (Month month : Month.values()) {\n if (month.getAbbreviation().equals(abbreviationMonth)) {\n return month;\n }\n }\n return null;\n }", "Schedule getSchedule(String departure, String arrival, int depYear, int depMonth);", "public String getMonth(String x){\n\n if(x.contains(\"Apr\")){\n return \"April\";\n }\n else if(x.contains(\"Mar\")){\n return \"March\";\n }\n else if(x.contains(\"Jan\")){\n return \"January\";\n }\n else if(x.contains(\"Feb\")){\n return \"February\";\n }\n else if(x.contains(\"May\")){\n return \"May\";\n }\n else if(x.contains(\"Jun\")){\n return \"June\";\n }\n else if(x.contains(\"Jul\")){\n return \"July\";\n }\n else if(x.contains(\"Aug\")){\n return \"August\";\n }\n else if(x.contains(\"Sep\")){\n return \"September\";}\n else if(x.contains(\"Oct\")){\n return \"October\";}\n else if(x.contains(\"Nov\")){\n return \"November\";}\n else{\n return \"December\";}\n }", "public Calendar GetCalendar(String sDateTime) throws Exception {\n String YYYY = \"\", MM = \"\", DD = \"\", hh = \"\", mm = \"\", ss = \"\";\n Calendar calendarInstance = null;\n try {\n //considering deafult date format as YYYY-MM-DD hh:mm:ss (e.g 2012-11-21 23:59:30)\n sDateTime = sDateTime.trim();\n if (sDateTime.equalsIgnoreCase(\"\")) {\n throw new Exception(\"Blank datetime value\");\n }\n\n YYYY = sDateTime.substring(0, 4);\n MM = sDateTime.substring(5, 7);\n DD = sDateTime.substring(8, 10);\n hh = sDateTime.substring(11, 13);\n mm = sDateTime.substring(14, 16);\n ss = sDateTime.substring(17, 19);\n MM = \"\" + (Integer.parseInt(MM) - 1);\n if (MM.length() < 2) {\n MM = \"0\" + MM;\n }\n\n calendarInstance = Calendar.getInstance();\n calendarInstance.set(Integer.parseInt(YYYY), Integer.parseInt(MM), Integer.parseInt(DD), Integer.parseInt(hh), Integer.parseInt(mm), Integer.parseInt(ss));\n return calendarInstance;\n } catch (Exception e) {\n throw new Exception(\"SetCalendar : \" + e.toString());\n }\n }", "public static Calendar parseCalendar(DateFormat format, String dateStr) throws ParseException {\n\t\tCalendar calendar = Calendar.getInstance();\n\t\tcalendar.setTime(parseDate(format, dateStr));\n\t\treturn calendar;\n\t}", "public int getMonthInteger() \n\t{\n\t\t// 1 will be added here to be able to use this func alone to construct e.g adate\n\t\t// to get the name of the month from getMonth(), 1 must be deducted.\n\t\treturn 1+m_calendar.get(Calendar.MONTH);\n\n\t}", "public static String nextCalendar(String day, String month, String year) {\n int day2 = Integer.parseInt(day);\n int d = day2 + 1;\n int month2 = Integer.parseInt(month);\n int m = month2 + 1;\n int year2 = Integer.parseInt(year);\n int y = year2 + 1;\n String strd = Integer.toString(d);\n String strm = Integer.toString(m);\n String stry = Integer.toString(y);\n System.out.println(\"day:\" + strd + \" month:\" + strm + \" year:\" + stry);\n return strd;\n }", "private String getMonth(int i) {\n String month = \"\";\n switch (i) {\n case 0:\n month = \"Jan\";\n break;\n case 1:\n month = \"Feb\";\n break;\n case 2:\n month = \"Mar\";\n break;\n case 3:\n month = \"Apr\";\n break;\n case 4:\n month = \"May\";\n break;\n case 5:\n month = \"Jun\";\n break;\n case 6:\n month = \"Jul\";\n break;\n case 7:\n month = \"Aug\";\n break;\n case 8:\n month = \"Sep\";\n break;\n case 9:\n month = \"Oct\";\n break;\n case 10:\n month = \"Nov\";\n break;\n case 11:\n month = \"Dec\";\n break;\n }\n return month;\n }", "public Month parseMonth(String str) {\n return this.months.get(str);\n }", "public static Calendar convertStringDateToCalendar(String strCal)\r\n\t{\r\n\t\t//\"dd/mm/yyyy\"\r\n\t\tCalendar c = new GregorianCalendar();\r\n\t\t\r\n\t\tString[] arrCal = strCal.split(\"/\");\r\n\t\t\r\n\t\tint day = Integer.parseInt(arrCal[0]);\r\n\t\tint month = Integer.parseInt(arrCal[1]);\r\n\t\tint year = Integer.parseInt(arrCal[2]);\r\n\t\t\r\n\t\tc.set(Calendar.DAY_OF_MONTH, day);\r\n\t\tc.set(Calendar.MONTH, month-1);\r\n\t\tc.set(Calendar.YEAR, year);\r\n\t\t\r\n\t\treturn c;\r\n\t}", "@Override\n public void monthCalendar(String date) {\n FastJsonRequest request = new FastJsonRequest(SystemUtils.mainUrl + MethodCode.CLASSSCHEDULE + MethodType.MONTHCALENDARV2, RequestMethod.POST);\n request.add(\"token\", application.getSystemUtils().getToken());\n request.add(\"username\", application.getSystemUtils().getDefaultUsername());\n request.add(\"date\", date);\n request.add(MethodCode.DEVICEID, application.getSystemUtils().getSn());\n request.add(MethodCode.DEVICETYPE, SystemUtils.deviceType);\n request.add(MethodCode.APPVERSION, SystemUtils.getVersionName(context));\n addQueue(MethodCode.EVENT_MONTHCALENDAR, request);\n// startQueue();\n }", "public static Date createDate(int yyyy, int month, int day) {\n/* 75 */ CALENDAR.clear();\n/* 76 */ CALENDAR.set(yyyy, month - 1, day);\n/* 77 */ return CALENDAR.getTime();\n/* */ }", "@Override\n\tpublic org.sakaiproject.calendar.api.Calendar getCalendar(String ref)\n\t\t\tthrows IdUnusedException, PermissionException {\n\t\tSite site = null;\n\t\tif (ref == null){\n\t\t\tsite = getSite();\n\t\t}\n\t\telse{\n\t\t\tsite = getSite(ref);\n\t\t}\n\t\t// We use the e-mail id of the site creator since the Google calendar is created under this id.\n\t\tCalendar googleClient = getGoogleClient(site.getCreatedBy().getEmail());\n\t\treturn new SakaiGCalendarImpl(googleClient);\n\t}", "private MonthlyCalendar(YearMonth targetMonth) {\n stageChangeListener = new ParentWindowChangeListener(sceneProperty());\n stageChangeListener.currentStageProperty().addListener((observable, oldValue, newValue) -> {\n if (null != newValue) {\n newValue.setTitle(\"Month Calendar\");\n }\n LOG.exiting(LogHelper.toLambdaSourceClass(LOG, \"new\", \"stageChangeHandler#currentStage\"), \"change\");\n });\n this.targetMonth = new ReadOnlyObjectWrapper<>(this, \"targetMonth\", (null == targetMonth) ? YearMonth.now() : targetMonth);\n modelFilter = new ReadOnlyObjectWrapper<>(this, \"modelFilter\");\n allAppointments = FXCollections.observableArrayList();\n appointmentDays = FXCollections.observableArrayList();\n root = new TreeItem<>();\n allAppointments.addListener(this::onAllAppointmentsChanged);\n modelFilter.addListener(this::onModelFilterChanged);\n appointmentInsertEventHandler = WeakEventHandlingReference.create(this::onAppointmentInserted);\n appointmentUpdateEventHandler = WeakEventHandlingReference.create(this::onAppointmentUpdated);\n appointmentDeleteEventHandler = WeakEventHandlingReference.create(this::onAppointmentDeleted);\n }", "private String getMonthForInt(int number) {\n int num = number - 1;\n String month = \"Wrong number\";\n String[] months = dfs.getMonths();\n if (num >= 0 && num <= 11) {\n month = months[num];\n } else {\n throw new IllegalArgumentException(\"There is no month with number: \" + number);\n }\n return month;\n }", "public static GregorianCalendar getCalendar(String dateTime)\n\t{\n\t\tGregorianCalendar gc = new GregorianCalendar();\n\t\tDate date = parseDateTime(dateTime);\n\t\tgc.setTime(date);\n\t\t\n\t\treturn gc;\n\t}", "public static String getMonth(String date) {\n Date dateDT = parseDate(date);\n\n if (dateDT == null) {\n return null;\n }\n\n // Get current date\n Calendar c = Calendar.getInstance();\n // it is very important to\n // set the date of\n // the calendar.\n c.setTime(dateDT);\n int day = c.get(Calendar.MONTH);\n\n String dayStr = null;\n\n switch (day) {\n\n case Calendar.JANUARY:\n dayStr = \"January\";\n break;\n\n case Calendar.FEBRUARY:\n dayStr = \"February\";\n break;\n\n case Calendar.MARCH:\n dayStr = \"March\";\n break;\n\n case Calendar.APRIL:\n dayStr = \"April\";\n break;\n\n case Calendar.MAY:\n dayStr = \"May\";\n break;\n\n case Calendar.JUNE:\n dayStr = \"June\";\n break;\n\n case Calendar.JULY:\n dayStr = \"July\";\n break;\n\n case Calendar.AUGUST:\n dayStr = \"August\";\n break;\n\n case Calendar.SEPTEMBER:\n dayStr = \"September\";\n break;\n\n case Calendar.OCTOBER:\n dayStr = \"October\";\n break;\n\n case Calendar.NOVEMBER:\n dayStr = \"November\";\n break;\n\n case Calendar.DECEMBER:\n dayStr = \"December\";\n break;\n }\n\n return dayStr;\n }", "public Calendar toCalendar(){\r\n\t\tSimpleDateFormat[] formats = new SimpleDateFormat[] {\r\n\t\t\t\tYYYY_MM_DD_FORMATTER, YYYY_MMT_DD_T_HH_MM_FORMATTER,\r\n\t\t\t\tYYYY_MMT_DD_T_HH_MM_SS_FORMATTER };\r\n\t\tfor (SimpleDateFormat format : formats) {\r\n\t\t\ttry {\r\n\t\t\t\tDate date = format.parse(this.timeString);\r\n\t\t\t\tCalendar calendar = Calendar.getInstance();\r\n\t\t\t\tcalendar.setTime(date);\r\n\t\t\t\treturn calendar;\r\n\t\t\t} catch (ParseException e) {\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "public int getMonthInt(int monthint,String month){\n switch (month) {\n case \"JANUARY\": monthint = 1;\n break;\n case \"FEBUARY\": monthint = 2;\n break;\n case \"MARCH\": monthint = 3;\n break;\n case \"APRIL\": monthint = 4;\n break;\n case \"MAY\": monthint = 5;\n break;\n case \"JUNE\": monthint = 6;\n break;\n case \"JULY\": monthint = 7;\n break;\n case \"AUGUST\": monthint = 8;\n break;\n case \"SEPTEMBER\": monthint = 9;\n break;\n case \"OCTOBER\": monthint = 10;\n break;\n case \"NOVEMBER\": monthint = 11;\n break;\n case \"DECEMBER\": \n monthint = 12;\n break;\n// default: JOptionPane.showMessageDialog(null,\"Error\",\"INVALID INPUT\", JOptionPane.ERROR_MESSAGE);\n \n// break;\n }\n return monthint;\n }", "@GET\n @Path(\"{id}\")\n Calendar getCalendarById(@PathParam(\"id\") Long id);", "private Calendar createNewCalendar(String dateAndTime) {\n // initiate a calendar\n Calendar calendar = Calendar.getInstance();\n // take the given dateandTime string and split it into the different values\n String date = dateAndTime.split(\" \")[0];\n String time = dateAndTime.split(\" \")[1];\n int year = Integer.valueOf(date.split(\"-\")[0]);\n int month = Integer.valueOf(date.split(\"-\")[1]) - 1;\n int day = Integer.valueOf(date.split(\"-\")[2]);\n int hour = Integer.valueOf(time.split(\":\")[0]);\n int min = Integer.valueOf(time.split(\":\")[1]);\n // set the calendar to the wanted values\n calendar.set(year, month, day, hour, min);\n return calendar;\n }", "@Test\n\tvoid teststringtoint(){\n\t\tCalendar cal=Calendar.getInstance();\n\t\tint m=cal.get(Calendar.MONTH);\n\t\tint d=cal.get(Calendar.DATE);\n\t\tSystem.out.println(\"m==\"+m+\" d==\"+d);\n\t}", "public static Calendar convertStringDateTimeToCalendar(String strCal)\r\n\t{\r\n\t\t//\"dd/mm/yyyy hh:mm\"\r\n\t\tCalendar c = new GregorianCalendar();\r\n\t\t\r\n\t\tString[] arrSlash = strCal.split(\"/\");\r\n\t\t\r\n\t\t//arrCal is now {DD,MM,YYYY HH:MM}\r\n\t\t\r\n\t\tint day = Integer.parseInt(arrSlash[0]);\r\n\t\tint month = Integer.parseInt(arrSlash[1]);\r\n\t\t\r\n\t\tString[] arrSpace = arrSlash[2].split(\" \");\r\n\t\t\r\n\t\t//arrSpace is now {YYYY,HH:MM}\r\n\t\t\r\n\t\tint year = Integer.parseInt(arrSpace[0]);\r\n\t\t\r\n\t\tString[] arrColon = arrSpace[1].split(\":\");\r\n\t\t\r\n\t\t//arrColon is now {HH,MM}\r\n\t\t\r\n\t\tint hour = Integer.parseInt(arrColon[0]);\r\n\t\tint minute = Integer.parseInt(arrColon[1]);\r\n\t\t\r\n\t\t//set values to object\r\n\t\tc.set(Calendar.DAY_OF_MONTH, day);\r\n\t\tc.set(Calendar.MONTH, month-1);\r\n\t\tc.set(Calendar.YEAR, year);\r\n\t\tc.set(Calendar.HOUR_OF_DAY, hour);\r\n\t\tc.set(Calendar.MINUTE, minute);\r\n\t\t\r\n\t\treturn c;\r\n\t}", "@Test public void Month_name_1__year__day()\t\t\t\t\t{tst_date_(\"2001 Mar 02\"\t\t\t, \"2001-03-02\");}", "private Calendar parseCalendar(String dateString,String dateFormat) throws ParseException {\n\t\tif (dateString != null && dateString.length() > 0) {\n SimpleDateFormat sdf = new SimpleDateFormat(dateFormat);\n sdf.set2DigitYearStart((new GregorianCalendar(1950,01,01)).getTime());\n sdf.setLenient(false);\n\t\t GregorianCalendar cal = new GregorianCalendar();\n\t\t cal.setTime(sdf.parse(dateString.trim()));\n return cal;\n\t\t}\n return null;\n\t}", "private Calendar getCalFromString(final String calString) {\n\t\tfinal Calendar ret = new GregorianCalendar(1970, 0, 1, 0, 0, 0);\n\t\tfinal SimpleDateFormat isoDateFormat = new SimpleDateFormat(\n\t\t\t\t\"yyyy-MM-dd HH:mm\", Locale.getDefault());\n\t\ttry {\n\t\t\tret.setTime(isoDateFormat.parse(calString.concat(\" 00:00\")));\n\t\t\tret.setTime(isoDateFormat.parse(calString));\n\t\t} catch (ParseException e) { \n\t\t\t// the code will definitely throw an exception, but we don't care\n\t\t\t// any suggestions how to better handle this?\n\t\t}\n\n\t\treturn ret;\n\t}", "public void initCalendarFirst() {\n getCurrentDate();\n mCalendar.setOnDateChangedListener(new OnDateSelectedListener() {\n @Override\n public void onDateSelected(@NonNull MaterialCalendarView widget, @NonNull CalendarDay select, boolean selected) {\n mSelectedDate = select.toString();\n String string[] = mSelectedDate.split(\"\\\\{|\\\\}\");\n String s = string[1]; //2017-8-14\n String string1[] = s.split(\"-\");\n int tempMonth = Integer.parseInt(string1[1]);\n String month = Integer.toString(tempMonth + 1);\n mDate1 = string1[0] + \"-\" + month + \"-\" + string1[2];\n }\n });\n }", "private void createMonthCombo() {\n \t\t\tmonthCombo = new Combo(this, SWT.READ_ONLY);\n \t\t\tmonthCombo.setItems(dateFormatSymbols.getMonths());\n \t\t\tmonthCombo.remove(12);\n \t\t\tmonthCombo.select(date.get(Calendar.MONTH));\n \t\t\tmonthCombo.setVisibleItemCount(12);\n \t\t\tmonthCombo.addModifyListener(new ModifyListener() {\n \n \t\t\t\tpublic void modifyText(ModifyEvent arg0) {\n \t\t\t\t\tdate.set(Calendar.MONTH, monthCombo.getSelectionIndex());\n \t\t\t\t\tupdateCalendar();\n \t\t\t\t}\n \n \t\t\t});\n \t\t\tmonthCombo.addKeyListener(this);\n \t\t}", "public int getDate(String month)\n\t{\n\t\tint a[] = {1,2,3};\n\t\t//17 Feb 2011 00:00:00\n\t\t\n\t\t\n\t\tHashMap<String, Integer> map = new HashMap<String, Integer>();\n\t\tmap.put(\"Jan\", 1);\n\t\tmap.put(\"Feb\", 2);\n\t\tmap.put(\"Mar\", 3);\n\t\tmap.put(\"Apr\", 4);\n\t\tmap.put(\"May\", 5);\n\t\tmap.put(\"Jun\", 6);\n\t\tmap.put(\"Jul\", 7);\n\t\tmap.put(\"Aug\", 8);\n\t\tmap.put(\"Sep\", 9);\n\t\tmap.put(\"Oct\", 10);\n\t\tmap.put(\"Nov\", 11);\n\t\tmap.put(\"Dec\", 12);\n\t\t\n\t\tint mon = (int) map.get(month);\n\t\treturn mon;\n\t}", "@Test public void Month_name_1__day__year()\t\t\t\t\t{tst_date_(\"2 Mar 2001\"\t\t\t\t, \"2001-03-02\");}", "public static Date stringToDate (String s) {\n\t\tint year=0 , month=0 , date=0;\n\t\tCalendar cal = Calendar.getInstance(Locale.getDefault());\n\t\t\n\t\tStringTokenizer st = new StringTokenizer (s,\"/\");\n\t\t\n\t\tdate = Integer.parseInt(st.nextToken());\n\t\tmonth = Integer.parseInt(st.nextToken());\n\t\tyear = Integer.parseInt(st.nextToken());\n\t\tcal.clear();\n\t\tcal.set(year,month-1,date);\n\t\t//System.out.println(\"\\nDate : \"+getStringFromDate(cal.getTime()));\n\t\treturn (Date)cal.getTime().clone();\n\t}", "public static String getMonthAbbreviated(String date) {\n Date dateDT = parseDate(date);\n\n if (dateDT == null) {\n return null;\n }\n\n // Get current date\n Calendar c = Calendar.getInstance();\n // it is very important to\n // set the date of\n // the calendar.\n c.setTime(dateDT);\n int day = c.get(Calendar.MONTH);\n\n String dayStr = null;\n\n switch (day) {\n\n case Calendar.JANUARY:\n dayStr = \"Jan\";\n break;\n\n case Calendar.FEBRUARY:\n dayStr = \"Feb\";\n break;\n\n case Calendar.MARCH:\n dayStr = \"Mar\";\n break;\n\n case Calendar.APRIL:\n dayStr = \"Apr\";\n break;\n\n case Calendar.MAY:\n dayStr = \"May\";\n break;\n\n case Calendar.JUNE:\n dayStr = \"Jun\";\n break;\n\n case Calendar.JULY:\n dayStr = \"Jul\";\n break;\n\n case Calendar.AUGUST:\n dayStr = \"Aug\";\n break;\n\n case Calendar.SEPTEMBER:\n dayStr = \"Sep\";\n break;\n\n case Calendar.OCTOBER:\n dayStr = \"Oct\";\n break;\n\n case Calendar.NOVEMBER:\n dayStr = \"Nov\";\n break;\n\n case Calendar.DECEMBER:\n dayStr = \"Dec\";\n break;\n }\n\n return dayStr;\n }", "public String intToMonth(int a)\r\n {\r\n if(a==1)return \"Januray\";\r\n else if(a==2)return \"February\";\r\n else if(a==3)return \"March\";\r\n else if(a==4)return \"April\";\r\n else if(a==5)return \"May\";\r\n else if(a==6)return \"June\";\r\n else if(a==7)return \"July\";\r\n else if(a==8)return \"August\";\r\n else if(a==9)return \"September\";\r\n else if(a==10)return \"October\";\r\n else if(a==11)return \"November\";\r\n else if(a==12)return \"December\";\r\n else return \"\";\r\n }", "public static Month of(String monthName) {\n for (Month month : MONTHS) {\n if (month.name.equalsIgnoreCase(monthName))\n return month;\n\n if (month.shortName.equalsIgnoreCase(monthName))\n return month;\n\n }\n return null;\n }", "private static com.google.api.services.calendar.Calendar getCalendarService() throws IOException\n{\n Credential cred = authorize();\n com.google.api.services.calendar.Calendar.Builder bldr =\n new com.google.api.services.calendar.Calendar.Builder(HTTP_TRANSPORT,JSON_FACTORY,cred);\n bldr.setApplicationName(APPLICATION_NAME);\n\n com.google.api.services.calendar.Calendar cal = bldr.build();\n\n return cal;\n}", "public final native int getMonth() /*-{\n return this.getMonth();\n }-*/;", "List<Appointment> getAppointmentOfNMonth(int month);", "public String getJP_AcctMonth();", "public static Calendar getCalender(String val, String format) {\n Calendar calendar = Calendar.getInstance();\n\n SimpleDateFormat dateFormat = getSimpleDateFormat(format);\n\n try {\n\n Date date = dateFormat.parse(val);\n if (date != null) {\n long millis = date.getTime();\n calendar.setTimeInMillis(millis);\n }\n } catch (Exception e) {\n\n Log.e(\"getCalender\", \"ex1\"+\"===\"+val+\"===\"+format+\"===\"+ e);\n e.printStackTrace();\n }\n\n return calendar;\n }", "private void createCalendar() {\n myCALENDAR = Calendar.getInstance();\r\n DAY = myCALENDAR.get(Calendar.DAY_OF_MONTH);\r\n MONTH = myCALENDAR.get(Calendar.MONTH) + 1;\r\n YEAR = myCALENDAR.get(Calendar.YEAR);\r\n HOUR = myCALENDAR.get(Calendar.HOUR_OF_DAY);\r\n MINUTE = myCALENDAR.get(Calendar.MINUTE);\r\n SECOND = myCALENDAR.get(Calendar.SECOND);\r\n }", "@Override\r\n public boolean setMonth(int month) {\r\n try {\r\n GregorianCalendar tempCalendar =(GregorianCalendar) calendar.clone();\r\n tempCalendar.setLenient(false); \r\n tempCalendar.set(Calendar.MONTH, month);\r\n tempCalendar.getTime();\r\n }\r\n catch (Exception e) {\r\n return false;\r\n }\r\n calendar.set(Calendar.MONTH, month); \r\n return true;\r\n }", "static public Calibration getCalFromName(String name_in) {\r\n for (Calibration cal : registeredCals) {\r\n if (cal.name.equals(name_in)) {\r\n return cal;\r\n }\r\n }\r\n return null;\r\n }", "public String getMonth(int month) {\n\t\treturn new DateFormatSymbols().getMonths()[month-1];\n\t}", "public Month () {\n monthNumber = 1;\n }", "public Month(String name, int year) {\n\t\tthis.name = name;\n\t\tthis.year = year;\n\t\tint offset = getOffset();\n\t\tdays = new Day[42];\n\t\tif (name.equals(\"February\")) {\n\t\t\tif (leap(year)) {\n\t\t\t\tfor (int i = offset; i < 29 + offset; i++) {\n\t\t\t\t\tdays[i] = new Day(i % 7, i - offset, name);\n\t\t\t\t\tnumDays = 29;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor (int i = offset; i < 28 + offset; i++) {\n\t\t\t\t\tdays[i] = new Day(i % 7, i - offset, name);\n\t\t\t\t\tnumDays = 28;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tswitch(name) {\n\t\t\t\tcase \"January\":\n\t\t\t\t\tfor (int i = offset; i < 31 + offset; i++) {\n\t\t\t\t\t\tdays[i] = new Day(i % 7, i - offset, name);\n\t\t\t\t\t\tnumDays = 31;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"March\":\n\t\t\t\t\tfor (int i = offset; i < 31 + offset; i++) {\n\t\t\t\t\t\tdays[i] = new Day(i % 7, i - offset, name);\n\t\t\t\t\t\tnumDays = 31;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"April\":\n\t\t\t\t\tfor (int i = offset; i < 30 + offset; i++) {\n\t\t\t\t\t\tdays[i] = new Day(i % 7, i - offset, name);\n\t\t\t\t\t\tnumDays = 30;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"May\":\n\t\t\t\t\tfor (int i = offset; i < 31 + offset; i++) {\n\t\t\t\t\t\tdays[i] = new Day(i % 7, i - offset, name);\n\t\t\t\t\t\tnumDays = 31;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"June\":\n\t\t\t\t\tfor (int i = offset; i < 30 + offset; i++) {\n\t\t\t\t\t\tdays[i] = new Day(i % 7, i - offset, name);\n\t\t\t\t\t\tnumDays = 30;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"July\":\n\t\t\t\t\tfor (int i = offset; i < 31 + offset; i++) {\n\t\t\t\t\t\tdays[i] = new Day(i % 7, i - offset, name);\n\t\t\t\t\t\tnumDays = 31;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"August\":\n\t\t\t\t\tfor (int i = offset; i < 31 + offset; i++) {\n\t\t\t\t\t\tdays[i] = new Day(i % 7, i - offset, name);\n\t\t\t\t\t\tnumDays = 31;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"September\":\n\t\t\t\t\tfor (int i = offset; i < 30 + offset; i++) {\n\t\t\t\t\t\tdays[i] = new Day(i % 7, i - offset, name);\n\t\t\t\t\t\tnumDays = 30;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"October\":\n\t\t\t\t\tfor (int i = offset; i < 31 + offset; i++) {\n\t\t\t\t\t\tdays[i] = new Day(i % 7, i - offset, name);\n\t\t\t\t\t\tnumDays = 31;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"November\":\n\t\t\t\t\tfor (int i = offset; i < 30 + offset; i++) {\n\t\t\t\t\t\tdays[i] = new Day(i % 7, i - offset, name);\n\t\t\t\t\t\tnumDays = 30;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"December\":\n\t\t\t\t\tfor (int i = offset; i < 31 + offset; i++) {\n\t\t\t\t\t\tdays[i] = new Day(i % 7, i - offset, name);\n\t\t\t\t\t\tnumDays = 31;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "public void buildMonth()\r\n {\r\n int i=0,k=0;\r\n date=LocalDate.of(year,month,1);\r\n String st;\r\n for(int j=0;date.getMonthValue()==month;j++)\r\n {\r\n\r\n if(date.getDayOfWeek().name()==\"SUNDAY\"){k=0;i++;}\r\n else if(date.getDayOfWeek().name()==\"MONDAY\"){k=1;}\r\n else if(date.getDayOfWeek().name()==\"TUESDAY\"){k=2;}\r\n else if(date.getDayOfWeek().name()==\"WEDNESDAY\"){k=3;}\r\n else if(date.getDayOfWeek().name()==\"THURSDAY\"){k=4;}\r\n else if(date.getDayOfWeek().name()==\"FRIDAY\"){k=5;}\r\n else if(date.getDayOfWeek().name()==\"SATURDAY\"){k=6;}\r\n st=String.valueOf(date.getDayOfMonth());\r\n cmdDate=new JButton(st);\r\n cmdDate.setBounds(xpos+k*110,ypos+i*50,100,50);\r\n this.cmdDate.addActionListener(new DayListner());\r\n panel.add(cmdDate);\r\n date = date.plusDays(1);\r\n }\r\n\r\n }", "static synchronized BasisGoogleCalendar getCalendar(UpodWorld w)\n{\n if (DATA_STORE_DIR == null) return null;\n if (cal_service == null) {\n try {\n\t cal_service = getCalendarService();\n }\n catch (IOException e) {\n\t BasisLogger.logE(\"GOOGLECAL: Authorization problem with calendar api: \" + e);\n\t DATA_STORE_DIR = null;\n\t HTTP_TRANSPORT = null;\n\t DATA_STORE_FACTORY = null;\n\t return null;\n }\n }\n\n BasisGoogleCalendar rslt = the_calendars.get(w);\n if (rslt == null) {\n rslt = new BasisGoogleCalendar();\n the_calendars.put(w,rslt);\n }\n\n return rslt;\n}", "public String cal(Calendar calendar) {\r\n String calendari;\r\n calendari = calendar.get(Calendar.DAY_OF_MONTH) + \"-\" + calendar.get(Calendar.MONTH) + \"-\" + calendar.get(Calendar.YEAR);\r\n return calendari;\r\n }", "public Calendar calendario(Date date) {\r\n Calendar calendar = Calendar.getInstance();\r\n calendar.setTime(date);\r\n return calendar;\r\n }", "public static Calendar parseCxsDateString(String inputCalendarString) {\r\n\t\tif (inputCalendarString == null) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\t\r\n\t\tCalendar cal;\r\n\t\tif (inputCalendarString.indexOf('T') > -1) {\r\n\t\t\tcal = parse(inputCalendarString, CAL_DATETIME_FORMAT);\r\n\t\t} else {\r\n\t\t\tcal = parse(inputCalendarString, CAL_DATE_FORMAT);\r\n\t\t\tif (cal == null) {\r\n\t\t\t\tcal = parse(inputCalendarString, ISO_DATE_FORMAT);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn cal;\r\n\t}", "public static String monthToString(int month){\r\n\r\n if(month == 1) {return \"jan\"}\r\n else if(month == 2) {return \"feb\"}\r\n else if(month == 3) {return \"mar\"}\r\n else if(month == 4) {return \"apl\"}\r\n else if(month == 5) {return \"may\"}\r\n else if(month == 6) {return \"jun\"}\r\n else if(month == 7) {return \"jul\"}\r\n else if(month == 8) {return \"aug\"}\r\n else if(month == 9) {return \"sep\"}\r\n else if(month == 10) {return \"oct\"}\r\n else if(month == 11) {return \"nov\"}\r\n else if (month == 12) {return \"dec\"}\r\n else {}\r\n return \"broken\";\r\n\r\n}", "public String getMonth(int Month)\n {\n String[] months = {\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"};\n String realMonth = months[Month] + \" \" + i.getYear();\n return realMonth;\n }", "public Calendar() {\n }", "public static String getGMonth( String month ) {\r\n String ret = null;\r\n ret = \"January\".equals( month ) == true ? \"01\" : ret;\r\n ret = \"February\".equals( month ) == true ? \"02\" : ret;\r\n ret = \"March\".equals( month ) == true ? \"03\" : ret;\r\n ret = \"April\".equals( month ) == true ? \"04\" : ret;\r\n ret = \"May\".equals( month ) == true ? \"05\" : ret;\r\n ret = \"June\".equals( month ) == true ? \"06\" : ret;\r\n ret = \"July\".equals( month ) == true ? \"07\" : ret;\r\n ret = \"August\".equals( month ) == true ? \"08\" : ret;\r\n ret = \"September\".equals( month ) == true ? \"09\" : ret;\r\n ret = \"October\".equals( month ) == true ? \"10\" : ret;\r\n ret = \"November\".equals( month ) == true ? \"11\" : ret;\r\n ret = \"December\".equals( month ) == true ? \"12\" : ret;\r\n return ret;\r\n }", "public String getMonth(int month) {\r\n\t\tString str = \"\";\r\n\t\tswitch (month) {\r\n\t\tcase 1:\r\n\t\t\tstr = \"January\";\r\n\t\t\tbreak;\r\n\t\tcase 2:\r\n\t\t\tstr = \"February\";\r\n\t\t\tbreak;\r\n\t\tcase 3:\r\n\t\t\tstr = \"March\";\r\n\t\t\tbreak;\r\n\t\tcase 4:\r\n\t\t\tstr = \"April\";\r\n\t\t\tbreak;\r\n\t\tcase 5:\r\n\t\t\tstr = \"May\";\r\n\t\t\tbreak;\r\n\t\tcase 6:\r\n\t\t\tstr = \"June\";\r\n\t\t\tbreak;\r\n\t\tcase 7:\r\n\t\t\tstr = \"July\";\r\n\t\t\tbreak;\r\n\t\tcase 8:\r\n\t\t\tstr = \"August\";\r\n\t\t\tbreak;\r\n\t\tcase 9:\r\n\t\t\tstr = \"September\";\r\n\t\t\tbreak;\r\n\t\tcase 10:\r\n\t\t\tstr = \"October\";\r\n\t\t\tbreak;\r\n\t\tcase 11:\r\n\t\t\tstr = \"November\";\r\n\t\t\tbreak;\r\n\t\tcase 12:\r\n\t\t\tstr = \"December\";\r\n\t\t}\r\n\t\treturn str;\r\n\t}", "public String numToMonth(int m)\n {\n return monthsArray[m-1];\n }", "public static final Function<Date,Date> setMonth(final int value) {\r\n return new Set(Calendar.MONTH, value);\r\n }", "private static Calendar createCalendar(int year, int month, int date,\r\n\t\t\tint hour, int minute) {\r\n\t\tCalendar calendar = createCalendar(year, month, date);\r\n\t\tcalendar.set(Calendar.HOUR_OF_DAY, hour);\r\n\t\tcalendar.set(Calendar.MINUTE, minute);\r\n\t\treturn calendar;\r\n\t}", "MnMscQos selectByPrimaryKey(Integer month, String mscid, Integer year);", "public static GregorianCalendar stringToCalendar(String fecha,\n String formato){\n GregorianCalendar gc = new GregorianCalendar();\n try {\n fecha = nullToBlank(fecha);\n SimpleDateFormat df = new SimpleDateFormat(formato);\n gc.setTime(df.parse(fecha));\n } catch (Exception e) {\n e.printStackTrace();\n }\n return gc;\n }", "@Test\n public void month() throws Exception {\n Date thisDate = dateFormat.parse(\"08/14/2006\");\n Month august06 = Month.create(thisDate);\n testThePeriod(august06, thisDate, \"08/01/2006 00:00:00.000\",\n \"08/31/2006 23:59:59.999\", \"2006-08\");\n\n //Test the prior period\n Date priorDate = dateFormat.parse(\"07/22/2006\");\n Month july06 = august06.prior();\n testThePeriod(july06, priorDate, \"07/01/2006 00:00:00.000\",\n \"07/31/2006 23:59:59.999\", \"2006-07\");\n\n //Test the next period.\n Date nextDate = dateFormat.parse(\"09/03/2006\");\n Month september06 = august06.next();\n testThePeriod(september06, nextDate, \"09/01/2006 00:00:00.000\",\n \"09/30/2006 23:59:59.999\", \"2006-09\");\n\n //Test compareTo\n testCompareTo(july06, august06, september06);\n }", "public interface CalendarService {\n\n CalendarVo getCalendarById(String id);\n\n CalendarListVo getCalendarList();\n\n CalendarListVo getCalendarListByPage(int page, int size);\n\n boolean addCalendar(Date days, String title, String description, String remark, UserInfo userInfo);\n\n boolean modifyCalendar(String id, Date days, String title, String description, String remark, UserInfo userInfo);\n\n boolean delCalendarById(String id, UserInfo userInfo);\n}", "public String convertCalendarMillisecondsAsStringToDayOfMonthString(String s) {\n\t\t\tDateFormat format = new SimpleDateFormat(\"dd\");\n\t\t\tDate date = new Date(Long.parseLong(s));\n\t\t\treturn format.format(date);\n\t\t\t}", "public String getMonth(int month) {\n\t\t\t\treturn new DateFormatSymbols().getMonths()[month];\n\t\t\t}", "public static Date firstDayMonth(){\n String rep_inicio_de_mes = \"\";\n try {\n Calendar c = Calendar.getInstance();\n \n /*Obtenemos el primer dia del mes*/\n c.set(Calendar.DAY_OF_MONTH, c.getActualMinimum(Calendar.DAY_OF_MONTH));\n SimpleDateFormat sdf = new SimpleDateFormat(\"yyyy-MM-dd\");\n \n /*Lo almacenamos como string con el formato adecuado*/\n rep_inicio_de_mes = sdf.format(c.getTime());\n\n \n } catch (Exception e) {\n // Si hay una excepcion se imprime un mensaje\n System.err.println(e.getMessage());\n }\n \n return stringToDate(rep_inicio_de_mes);\n }", "public CopticMonth getMonth() {\n\n return CopticMonth.valueOf(this.cmonth);\n\n }", "public static Calendar extractDate(int date){\n Calendar c = Calendar.getInstance();\n String d = date+\"\";\n int year = Integer.parseInt(d.substring(0, 4));\n int month = Integer.parseInt(d.substring(4, 6))-1;\n int day = Integer.parseInt(d.substring(6, 8));\n c.set(year, month, day);\n return c;\n }", "public String getSchedule(int month, int hour, int day)\r\n {\r\n switch (month)\r\n {\r\n case 1:\r\n return Jan[hour][day];\r\n \r\n case 2:\r\n return Feb[hour][day];\r\n \r\n case 3:\r\n return Mar[hour][day];\r\n \r\n case 4:\r\n return Apr[hour][day];\r\n \r\n case 5:\r\n return May[hour][day];\r\n \r\n case 6:\r\n return Jun[hour][day];\r\n \r\n case 7:\r\n return Jul[hour][day];\r\n \r\n case 8:\r\n return Aug[hour][day];\r\n \r\n case 9:\r\n return Sep[hour][day];\r\n \r\n case 10: \r\n return Oct[hour][day];\r\n \r\n case 11:\r\n return Nov[hour][day];\r\n \r\n case 12:\r\n return Dec[hour][day];\r\n \r\n default:\r\n return \"No appointments available for this month\";\r\n \r\n }\r\n \r\n }", "public static Date getStartDateByMonth(int month, int year) {\n\n\t\tCalendar c = Calendar.getInstance();\n\t\tc.set(year, month, 1);\n\n\t\treturn c.getTime();\n\t}", "Calendar toCalendar();", "Calendar toCalendar();", "public Calendar startOfMonth() {\r\n\t\t\r\n\t\tCalendar c2 = Calendar.getInstance(baseCalendar.getTimeZone());\r\n\t\tc2.clear();\r\n\t\tc2.set(baseCalendar.get(Calendar.YEAR), \r\n\t\t\t\tbaseCalendar.get(Calendar.MONTH), 1);\r\n\t\treturn c2;\r\n\t}", "static private int getMonthIndex(String month) throws IllegalArgumentException {\n\t\tfor (int i = 0; i < Data.MESI.length; i++ ) {\n\t\t\tif ( month.equalsIgnoreCase(Data.MESI[i]) ) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\tthrow new IllegalArgumentException(\"'\" + month + \"' is a month name\");\n\t}", "public Calendar dayOfYear(int dayOfMonth, int month) {\r\n\t\t\r\n\t Calendar c2 = Calendar.getInstance(baseCalendar.getTimeZone());\r\n\t c2.clear();\r\n\t c2.set(Calendar.YEAR, baseCalendar.get(Calendar.YEAR));\r\n\t c2.set(Calendar.DATE, dayOfMonth);\r\n\t\tc2.set(Calendar.MONTH, month - 1);\r\n\t\treturn c2;\r\n\t}", "CalendarDate selectByPrimaryKey(String calendardate);", "public static native JsDate create(int year, int month) /*-{\n return new Date(year, month);\n }-*/;", "int calMonthDay(int m,int y){//calMonthDay(month,year)\n int x=0,c;\n for(c = 1; c < m; c++) {// Jan to less than the month 'm' as 'm' we are not taking the the whole days of that month\n if(c == 2) {//if Feb\n if(y%4 == 0)//checks if year is leap or not\n x += 29;\n else\n x += 28;\n }\n else\n x += mon.get(c-1);\n }\n return(x);\n }", "public boolean isMonth(String input){\r\n if(!isInteger(input)) return false;\r\n int month = Integer.parseInt(input);\r\n if(12 < month) return false;\r\n return true;\r\n }", "public static String convertToMonthName(int calendarIndex, Context context) {\n if(calendarIndex == Calendar.JANUARY) {\n return context.getString(R.string.Jan);\n }\n if(calendarIndex == Calendar.FEBRUARY) {\n return context.getString(R.string.Feb);\n }\n if(calendarIndex == Calendar.MARCH) {\n return context.getString(R.string.Mar);\n }\n if(calendarIndex == Calendar.APRIL) {\n return context.getString(R.string.Apr);\n }\n if(calendarIndex == Calendar.MAY) {\n return context.getString(R.string.May);\n }\n if(calendarIndex == Calendar.JUNE) {\n return context.getString(R.string.Jun);\n }\n if(calendarIndex == Calendar.JULY) {\n return context.getString(R.string.Jul);\n }\n if(calendarIndex == Calendar.AUGUST) {\n return context.getString(R.string.Aug);\n }\n if(calendarIndex == Calendar.SEPTEMBER) {\n return context.getString(R.string.Sep);\n }\n if(calendarIndex == Calendar.OCTOBER) {\n return context.getString(R.string.Oct);\n }\n if(calendarIndex == Calendar.NOVEMBER) {\n return context.getString(R.string.Nov);\n }\n if(calendarIndex == Calendar.DECEMBER) {\n return context.getString(R.string.Dec);\n }\n return \"\";\n }", "public void setMonth(String month) {\r\n this.month = month;\r\n }", "private static LocalDate getFirstDayOfTheMonth(final int month, final int year) {\n return LocalDate.of(year, month, 1);\n }", "public static native JsDate create(int year, int month, int dayOfMonth) /*-{\n return new Date(year, month, dayOfMonth);\n }-*/;", "public static int getCurrentMonth(int month) {\n month++;\n return month;\n }", "@Override\n\t\t\tpublic void onClick(View arg0) {\n\n\t\t\t\tgetLayouts();\n\n\t\t\t\tCalendar next = (Calendar) calendar.clone();\n\n\t\t\t\tif (currentMonth > 11) {\n\t\t\t\t\tcurrentMonth = 1;\n\t\t\t\t\tcurrentYear++;\n\t\t\t\t} else {\n\t\t\t\t\tcurrentMonth++;\n\t\t\t\t}\n\n\t\t\t\tnext.set(Calendar.MONTH, currentMonth);\n\t\t\t\tnext.set(Calendar.YEAR, currentYear);\n\t\t\t\tnext.set(Calendar.DATE, 1);\n\n\t\t\t\tpositionNext = next.getTime().toString().split(\" \");\n\t\t\t\tgetCalendar(\n\t\t\t\t\t\tReturnCalendarDetails.getCurrentMonth(positionNext[1]),\n\t\t\t\t\t\tReturnCalendarDetails.getPosition(positionNext[0]),\n\t\t\t\t\t\tInteger.parseInt(positionNext[5]));\n\t\t\t}", "public void setMonth(java.lang.String r1) throws java.lang.IllegalArgumentException {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e8 in method: gov.nist.javax.sip.header.SIPDate.setMonth(java.lang.String):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: gov.nist.javax.sip.header.SIPDate.setMonth(java.lang.String):void\");\n }", "private String getMonth(Date date) {\n\t\tLocalDate localDate = date.toInstant().atZone(ZoneId.systemDefault()).toLocalDate();\n\n\t\tMonth month = localDate.getMonth();\n\n\t\treturn month.name();\n\t}" ]
[ "0.67139494", "0.60149974", "0.5919052", "0.5879275", "0.57941383", "0.57467586", "0.5662147", "0.5661358", "0.5660192", "0.5615424", "0.558509", "0.5583027", "0.5504106", "0.5500592", "0.5490501", "0.54657507", "0.5458975", "0.54219186", "0.5404819", "0.5396602", "0.5379667", "0.53744817", "0.5365135", "0.5351319", "0.5349274", "0.53410476", "0.53279805", "0.5317539", "0.53092784", "0.52899027", "0.52692026", "0.52681893", "0.5245878", "0.52311087", "0.5213025", "0.5200311", "0.51838654", "0.5169716", "0.5146979", "0.514087", "0.51289433", "0.51271755", "0.51190186", "0.5108826", "0.50937957", "0.507564", "0.507031", "0.5069793", "0.5066842", "0.50592226", "0.50515234", "0.5011455", "0.49885622", "0.498097", "0.49689153", "0.49670544", "0.4966481", "0.49637374", "0.49629176", "0.49606282", "0.4960155", "0.49577394", "0.49570176", "0.49568993", "0.4950096", "0.49401802", "0.4934229", "0.49330896", "0.49286336", "0.49283534", "0.49214548", "0.49208814", "0.49181184", "0.49165758", "0.49112228", "0.4910629", "0.48984328", "0.4896553", "0.48861295", "0.48676294", "0.48640677", "0.48626125", "0.4851111", "0.48472401", "0.48472401", "0.48335508", "0.48131242", "0.48021653", "0.47995323", "0.47935995", "0.4791825", "0.47883597", "0.47874922", "0.47831693", "0.47830874", "0.4778049", "0.47689", "0.47688144", "0.47674996", "0.47514254" ]
0.6504688
1
created strings to determine values based on random generator through if statments and then scanner for the person input//
public static void main(String[] args) { String person = " "; int computer = (int)Math.random()*3 + 1; String computerChoice = " "; Scanner scan = new Scanner(System.in); System.out.println("Lets play Rock, Paper, Scissors. Enter your choice: "); person = scan.nextLine(); person = person.toLowerCase(); scan.close(); if (computer == 1) { computerChoice = "rock"; } else if (computer == 2) { computerChoice = "scissors"; } else if (computer == 3) { computerChoice = "paper"; } System.out.println(computerChoice); if (person.equals(computerChoice)) { System.out.println("its a tie!"); } else if (person.equals("rock")) if (computerChoice.equals("scissors")) { System.out.println("Rock crushes scissors. You win!"); } else { System.out.println("Paper smothers rock. you lose!"); } else if (person.equals("paper")) if (computerChoice.equals("rock")) { System.out.println("Paper smothers rock. You win!"); } else { System.out.println("Scissors cut paper. You lose!"); } else if (person.equals("scissors")) if (computerChoice.equals("paper")) { System.out.println("Scissors beats paper. You win!"); } else { System.out.println("Scissors get crushed by rock. You win!"); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String getRandomName(){\n return rndString.nextString();\n }", "public static void main(String[] args) {\n\t\t\n\t\tfinal String letters = \"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%^&*\";\n\n\t\t// b. have a random number generator\n\n\t\tRandom rand = new Random();\n\n\t\t// c. use the random generator to get the charAt a random location based on the\n\t\t// number of characters\n\n\t\tchar char1 = letters.charAt(rand.nextInt(letters.length()));\n\t\tchar char2 = letters.charAt(rand.nextInt(letters.length()));\n\t\tchar char3 = letters.charAt(rand.nextInt(letters.length()));\n\t\tchar char4 = letters.charAt(rand.nextInt(letters.length()));\n\t\tchar char5 = letters.charAt(rand.nextInt(letters.length()));\n\t\tchar char6 = letters.charAt(rand.nextInt(letters.length()));\n\t\tchar char7 = letters.charAt(rand.nextInt(letters.length()));\n\t\tchar char8 = letters.charAt(rand.nextInt(letters.length()));\n\t\t// d. concatenate the characters together to get the word\n\n\t\tSystem.out.println(\"\" + char1 + char2 + char3 + char4 + char5 + char6 + char7 + char8);\n\t\tSystem.out.println(String.valueOf(char1)+String.valueOf(char2)+String.valueOf(char3)+String.valueOf(char4)+String.valueOf(char5)+String.valueOf(char6)+String.valueOf(char7)+String.valueOf(char8));\n\t\t\t\t\n\n\t\t\n\t\t\n\t\t//Build a username generator absed on lastname and firstname inputs from the user\n\t\t//Conditions: \n\t\t//\t\t\tNo more than 1 username can include either the whole first or last name\n\t\t//\t\t\tAt least 1 username should include numbers\n\t\t//\t\t\tThere needs to be a random component in at least 2 name generations\n\t\t//\t\t\tThe usernames should adhere to the characteristics of typical usernames\n\t\t\n\t\tfinal String numbers = \"1234567890.\";\n\t\tScanner scan = new Scanner(System.in);\n\t\tSystem.out.println(\"Type in your first name > \");\n\t\tString fName = scan.nextLine();\n\t\tSystem.out.println(\"Type in your last name > \");\n\t\tString lName = scan.nextLine();\n\t\t\n\t\tString part1 = fName.toLowerCase().substring(0, rand.nextInt(fName.length()));\n\t\tString part2 = lName.toLowerCase().substring(0, rand.nextInt(lName.length()));\n\t\t\n\t\tSystem.out.println(\"A possible username \" + part1+part2);\n\t\t\n\t\tString part3 = String.valueOf(numbers.charAt(rand.nextInt(numbers.length())));\n\t\tString part4 = String.valueOf(numbers.charAt(rand.nextInt(numbers.length())));\n\t\t\n\t\tSystem.out.println(\"A possible username \" + part1+part2+part3+part4);\n\t\t\n\t\t//Take inputs and Build a decision tree that decides whether to issue a loan or not\n\t\t\n\t\t//https://www.brcommunity.com/images/articles/b624-2full.png\n\t\t\t\n\n\t}", "public static String generatePatientName(){\n\n\t\tString retName = \"\";\t// return this string\n\n\t\t// Seed random generator\n\t\tRandom generator = new Random();\n\n\t\tint length = getRandomBetween(5,6);\n\n\t\t// CVCCVC or VCCVCV\n\t\tif(getRandomBetween(1,2) < 2)\n\t\t{\n\t\t\tretName += getRandomConsonant();\n\t\t\tretName = retName.toUpperCase();\n\t\t\tretName += getRandomVowel();\n\t\t\tretName += getRandomConsonant();\n\t\t\tretName += getRandomConsonant();\n\t\t\tif (length >= 5) { retName += getRandomVowel(); }\n\t\t\tif (length >= 6) { retName += getRandomConsonant(); }\n\t\t}\n\t\telse\n\t\t{\n\t\t\tretName += getRandomVowel();\n\t\t\tretName = retName.toUpperCase();\n\t\t\tretName += getRandomConsonant();\n\t\t\tretName += getRandomConsonant();\n\t\t\tretName += getRandomVowel();\n\t\t\tif (length >= 5) { retName += getRandomConsonant(); }\n\t\t\tif (length >= 6) { retName += getRandomVowel(); }\n\t\t}\n\n\t\treturn retName;\n\t}", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n System.out.println(\"Do you want to try your luck with the slot machine? Type 1 for YES or 2 for NO:\");\n int answer = sc.nextInt();\n\n\n //Create If/Else based on Yes/No response\n //Create For loop to generate numbers\n //Convert int affirmation to string value\n\n if (answer == 1)\n {\n for (int i = 0; i <= 2; i++)\n {\n double j = (Math.random() *10);\n int k = (int) j;\n System.out.print(\"[\"+k+\"]\");\n }\n }\n\n else\n {\n System.out.println(\"Maybe next time!\");\n\n }\n }", "public static String getUserInput() {\n\t\tif (testType == null) {\n\t\t\tuserInput = inputScanner.nextLine();\n\t\t} else if (testType.equalsIgnoreCase(\"makeReady\")) {\n\t\t\tcreateEnterTestSet();\n\t\t\tif (enterTestCount < enterCount)\n\t\t\t\tuserInput = (String) makeReadyEnters.get(enterTestCount++);\n\t\t}else if (testType.equalsIgnoreCase(\"sequenceTest\")) {\n\t\t\tcreateWrongSequenceTestSet();\n\t\t\tif (sequenceTestCount<wrongSeqCount)\n\t\t\t\tuserInput = (String) wrongSequenceAnswers.get(sequenceTestCount++);\n\t\t}\n\t\telse if (testType.equalsIgnoreCase(\"randomKeyPress\")) {\n\t\t\tcreatePlayfulSet();\n\t\t\tif (randomTestCount<randomCount)\n\t\t\t\tuserInput = (String) randomKeys.get(randomTestCount++);\n\t\t}\n\n\t\treturn userInput;\n\t}", "public void printAndCheck (ArrayList<String> terms, ArrayList<String> definitions, Scanner console, Random rand, Student user) {\n \r\n\r\n int numTerms = rand.nextInt(terms.size());\r\n int numDefs = rand.nextInt(definitions.size()); \r\n System.out.println(\"Choose \\\"true\\\", \\\"false\\\", \\\"t\\\", \\\"f\\\", \\\"yes\\\", \\\"no\\\", \\\"y\\\", or \\\"n\\\"\");\r\n System.out.println(terms.get(numTerms) + \" = \" + definitions.get(numDefs) + \"?\"); //random pairing\r\n System.out.println();\r\n boolean correctAnswer = (terms.indexOf(terms.get(numTerms)) == definitions.indexOf(definitions.get(numDefs))); //the correct answer is a boolean, if the index of the term is the same as the index of the definition\r\n String response = console.next();\r\n if (response.equalsIgnoreCase(\"true\") || response.equalsIgnoreCase(\"false\") || //if the user gives a valid answer\r\n response.equalsIgnoreCase(\"t\") || response.equalsIgnoreCase(\"f\") || response.equalsIgnoreCase(\"y\") \r\n || response.equalsIgnoreCase(\"n\") || response.equalsIgnoreCase(\"yes\") || response.equalsIgnoreCase(\"no\")) {\r\n \r\n \t boolean userAnswer = (response.equalsIgnoreCase(\"true\") || response.equalsIgnoreCase(\"t\") \r\n || response.equalsIgnoreCase(\"y\") || response.equalsIgnoreCase(\"yes\"));\r\n \r\n if (userAnswer == correctAnswer) {\r\n System.out.println(\"You got it right! :)\");\r\n user.incrNumCorrect(); //for the stats method\r\n user.incrTotal(1); //for the stats method\r\n }else {\r\n System.out.println(\"You got it wrong :( \");\r\n user.incrTotal(1);\r\n user.incNumIncorrect();\r\n }\r\n \r\n }else{\r\n System.out.println(\"Always remember to only choose\\n\\\"true\\\", \\\"false\\\", \\\"t\\\", \\\"f\\\", \\\"yes\\\", \\\"no\\\", \\\"y\\\", or \\\"n\\\"!\"); //the user's response will be considered false if they do not type \"true\" or \"false\"\r\n user.incrTotal(1);\r\n }\r\n\r\n System.out.println();\r\n }", "public static void main(String[] args) {\n\t\t\n\t\tList<String> str = new ArrayList<>();\n\t\tRandom random = new Random();\n\t\tint number = random.nextInt(1001);\n\t\tstr.add(\"David\");\n\t\tstr.add(\"Yusuf\");\n\t\tstr.add(\"Mustafa\");\n\t\tstr.add(\"Yusa\");\n\t\tstr.add(\"Enes\");\n\t\tScanner scan = new Scanner(System.in);\n\t\tSystem.out.println(\"Please enter your name: \");\n\t\tString name = scan.nextLine().trim();\n\t\tname = name.replaceAll(\" \", \"\");\n\t\tif(str.contains(name)) {\n\t\t\tString name1 = name +number;\n\t\t\tSystem.out.println(\"You can use \"+name+\" as \"+name1);\n\t\t}else {\n\t\t\tSystem.out.println(\"You can use \"+name+\" as you entered as a username\");\n\t\t}\n\t\tscan.close();\n\t}", "private String getInputStrings(int choice) {\n //a base string to add your choice to\n String baseInput = \"You chose option \";\n //the negative is for the introductory turn\n switch (choice) {\n case -1: return \"type 1, 2, or 3, then enter. \";\n case 0: return \"\";\n case 1: return baseInput + \"1.\";\n case 2: return baseInput + \"2.\";\n case 3: return baseInput + \"3.\";\n }\n //if value given is not found above\n return \"Error\";\n }", "public static void main(String[] args) {\n\t\t\n\t\tint age;\n\t\tScanner input;\n\t\t\n\t\tinput=new Scanner(System.in);\n\t\tSystem.out.println(\"Please enter the age!!\");\n\t\tage=input.nextInt();\n\t\t\n\t\tif(age>=1 && age<=3) {\n\t\t\tSystem.out.println(\"You are a baby\");\n\t\t}else if(age>3 && age<=5) {\n\t\t\tSystem.out.println(\"You are a toddler\");\n\t\t}else if(age>5 && age<=12) {\n\t\t\tSystem.out.println(\"You are kid\");\n\t\t}else if(age>12 && age<=19) {\n\t\t\tSystem.out.println(\"You are teenager\");\n\t\t}else if(age>=20) {\n\t\t\tSystem.out.println(\"You are an adult\");\n\t\t}else {\n\t\t\tSystem.out.println(\"Entered invalid age\");\n\t\t}\n\t\t\n\t\t\n\t\t//SECOND WAY\n\t\t\n\t\tScanner input1=new Scanner(System.in);\n\t\tSystem.out.println(\"Please enter the age!!\");\n\t\tint age1=input1.nextInt();\n\t\t\n String human;\n\t\t\n\t\tif(age1>=1 && age1<=3) {\n\t\t\thuman=\"baby\";\n\t\t}else if(age1>3 && age1<=5) {\n\t\t\thuman=\"toddler\";\n\t\t}else if(age1>5 && age1<=12) {\n\t\t\thuman=\"kid\";\n\t\t}else if(age1>12 && age1<=19) {\n\t\t\thuman=\"teenager\";\n\t\t}else if(age1>=20) {\n\t\t\thuman=\"adult\";\n\t\t}else {\n\t\t\thuman=\"unknown\";\n\t\t}\n\t\t\n\t\tSystem.out.println(\"You are \"+human);\n\t\t//not: if u dont System.out.println(\"You are \"+human); the system will not work.\n\t\t//system work with sout..\n\t}", "public String getUserDecision(){\n return input.nextLine();\n }", "public void random(){\r\n\t\tRandom rand = new Random();\r\n\t\trandArray = new int[6];\r\n\t\tfor (int i = 0; i < 6; i++){\r\n\t\t\t//Randomly generated number from zero to nine\r\n\t\t\trandom = rand.nextInt(10);\r\n\t\t\t//Random values stored into the array\r\n\t\t\trandArray[i] = random;\r\n\t\t\tif(i == 0){\r\n\t\t\t\ta = random;\r\n\t\t\t}\r\n\t\t\tif(i == 1){\r\n\t\t\t\tb = random;\r\n\t\t\t}\r\n\t\t\tif(i == 2){\r\n\t\t\t\tc = random;\r\n\t\t\t}\r\n\t\t\tif(i == 3){\r\n\t\t\t\td = random;\r\n\t\t\t}\r\n\t\t\tif(i == 4){\r\n\t\t\t\tf = random;\r\n\t\t\t}\r\n\t\t\tif(i == 5){\r\n\t\t\t\tg = random;\r\n\t\t\t}\r\n\t\t\t//Random values outputted\r\n\t\t\t//Prints out if the hint was not used.\r\n\t\t\tif (executed == false || guessed == true ){\r\n\t\t\t\tprint(randArray[i]);\r\n\t\t\t}\r\n\t\t}\r\n\t\t//Prints out if the hint was not used.\r\n\t\tif (executed == false || guessed == true){\r\n\t\t\tprintln(\" Randomly Generated Value\");\r\n\t\t}\r\n\t}", "public Scenario generate() {\n\n //generate random number of Passenger(all human)\n ArrayList liPsg = new ArrayList();\n int totalNumOfPsg = (int) (rd.nextDouble() * PassengerCountMax + PassengerCountMin); //at least one Psg\n for (int i = 0; i < totalNumOfPsg; i++) {\n liPsg.add(getRandomPerson());\n }\n //System.out.println(\"PassengerNum= \"+totalNumOfPsg);\n\n\n //generate random number of Pedestrians(with Max 5) & allocate person+animal randomly(human+animal)\n ArrayList liPdt = new ArrayList();\n int totalNumOfPdst = (int) (rd.nextDouble() * PedestrianCountMax + PedestrianCountMin);//at least one Pdg\n int NumOfPerson = (int) Math.round(rd.nextDouble() * totalNumOfPdst);//if only 1 pdt,along with randomDouble<0.5 , 0.4x*1 rounded=0, will only an animal\n //so if you are random being in pdt but pdt only an animal, you neither wont be in scenario, so your negative probability in scenario is higher.\n int NumOfAnimal = totalNumOfPdst - NumOfPerson;\n for (int i = 0; i < NumOfPerson; i++) {\n liPdt.add(getRandomPerson());\n }\n for (int i = 0; i < NumOfAnimal; i++) {\n liPdt.add(getRandomAnimal());\n }\n //System.out.println(\"PedestrianNum= \"+totalNumOfPdst+\" with \"+NumOfPerson+\" human and \"+NumOfAnimal+\" animals\");\n\n\n //allocating where you are, 0=you absence & do nothing, 1=you in car, 2=you on road !!!!yeah happy solving\n int allocate_of_user = (int) Math.round(rd.nextDouble() * 2);\n if (allocate_of_user == 1) {\n ((Person) liPsg.get(0)).setAsYou(true); //set the first psg is you. !!!!!important Cast Obj into Person!!!!\n } else if (allocate_of_user == 2) {\n for (int i = 0; i < liPdt.size(); i++) {\n if (liPdt.get(i) instanceof Person) {//check whether a person\n ((Person) liPdt.get(i)).setAsYou(true);\n break; // only set once than break rather than set all of people of pdt is you\n }\n }\n }\n\n //Scenario(ArrayList<Character> passengers, ArrayList<Character> pedestrians, boolean isLegalCrossing)\n S = new Scenario(liPsg, liPdt, rd.nextBoolean()); //isLegalCrossing = red or green light;\n return S;\n }", "public void registration() {\n\t\tSystem.out.print(\"Enter Name : \");\r\n\t\tthis.name=scan.nextLine();\r\n\t\tSystem.out.print(\"Enter Age : \");\r\n\t\tthis.age=scan.nextInt();\r\n\t\tSystem.out.print(\"Enter Gender : \");\r\n\t\tthis.gender=scan.next().charAt(0);\r\n\t\tscan.nextLine();\r\n\t\tSystem.out.print(\"Enter Price : \");\r\n\t\tthis.price=scan.nextDouble();\r\n\t\tSystem.out.print(\"Enter Quantity : \");\r\n\t\tthis.quantity=scan.nextInt();\t\r\n\t\tSystem.out.println(\"Register Successfully\");\r\n\t}", "private String getRandName() {\n int firstName = (int)(Math.random() * listFirstNames.length);\n String fName = listFirstNames[firstName].trim();\n int lastName = (int)(Math.random() * listLastNames.length);\n String lName = listLastNames[lastName].trim();\n return ( fName + \" \" + lName ); \n }", "public static void main( String [] args )\r\n {\n \r\n \r\n Scanner scan = new Scanner( System.in );\r\n \r\n System.out.println( \"Enter your first name here > \" );\r\n String firstName = scan.next();\r\n System.out.println( \"Hello \" + firstName + \", how are you doing today?\" );\r\n int firstNameLength = firstName.length();\r\n System.out.println( \"By the way, your name consists of \" + firstNameLength + \" letters.\" );\r\n\r\n \r\n //*****\r\n // 3. Print an empty line\r\n \r\n \r\n System.out.println();\r\n \r\n \r\n //*****\r\n // 4. a. Using previously created Scanner object prompt the user for the year (s)he was born.\r\n // b. Calculate and print the age the user will be this year.\r\n // c. Declare a constant for average life expectancy,\r\n // set its value to 78.74\r\n // d. Print a message that tells the user the percentage\r\n // of their expected life they've lived.\r\n // Use the DecimalFormat class to format the percentage\r\n DecimalFormat percentPattern = new DecimalFormat( \"#0.0%\" );\r\n \r\n System.out.println( \"I know this is a bit rude, but what year were you born? > \" );\r\n int year = scan.nextInt();\r\n final int CURRENT_YEAR = 2015;\r\n int age = CURRENT_YEAR - year;\r\n final double LIFE_EXPECTANCY = 78.74;\r\n double lifeExpectancy = age/LIFE_EXPECTANCY;\r\n System.out.println( \"Based on your birth year you are \" + age + \" years old.\"\r\n + \"\\n Also your life expectancy is \" + percentPattern.format( lifeExpectancy ) );\r\n \r\n \r\n //*****\r\n // 5. a. Create a Random object\r\n // and generate a random integer between 1 and 20 inclusive\r\n // b. Using previously created Scanner object prompt the user for a guess.\r\n // c. Print a message that tells the user the number\r\n // and how far from the number the guess was (hint: use Math.abs)\r\n Random random = new Random();\r\n \r\n int ranRoll = random.nextInt( 20 ) + 1;\r\n System.out.println( \"\\nLet's play a game, guess a number between 1 and 20 > \");\r\n int guess = scan.nextInt( );\r\n int far = Math.abs( ranRoll - guess );\r\n System.out.println( \"The number you guessed was: \" + guess + \", and you were \"\r\n + far + \" away from the random number.\" );\r\n }", "public static void main(String[] args) {\n\t\tint a,b;\r\n\t\tint intentos=0;\r\n\t\tboolean val;\r\n\t\tString dificultad;\r\n\t\tRandom rnd= new Random();\r\n\t\tScanner teclado= new Scanner(System.in);\r\n\t\ta= rnd.nextInt(11);\r\n\t\tdo{\r\n\t\tSystem.out.println(\"Ingrese el número que se genero\");\r\n\t\tint nro= teclado.nextInt();\r\n\t\tval= (nro==a);\r\n\t\tSystem.out.println(val);\r\n\t\tintentos ++;\r\n\t\t}while (val==false);\r\n\t if( intentos<=3){dificultad= \"Fácil\";}\r\n\t else if (intentos<=7){dificultad= \"Intermedio\";}\r\n\t else {dificultad= \"Complicado\";}\r\n\t\tSystem.out.println(\"Cantidad de intentos \"+ intentos);\r\n\t System.out.println(\"Dificultad \" + dificultad);\r\n\t\tSystem.out.println(\"El numero es: \" +a);\r\n\t\t\r\n\t}", "public static String getInput(Scanner scan, String string, int trial){\n int hits = 0;\n //create loop that runs until Giant is dead\n while(hits<trial){\n String fight = \"\";\n fight= scan.next();\n if(fight.equals(\"A\") || fight.equals(\"a\")){\n int hit = (int)(Math.random()*11);\n if (hit>=5){\n System.out.println(\"Critical Hit!\");\n hits++;\n }\n else{\n System.out.println(\"Gosh! How did you miss it!\");\n }\n }\n //if user chooses to run\n if (fight.equals(\"E\") || fight.equals(\"e\")){\n int flee = (int)(Math.random()*11);\n if (flee == 10){\n System.out.println(\"You successfully escaped!\");\n break;\n }\n else{\n System.out.println(\"You failed to escape\");\n }\n }\n if(!fight.equals(\"E\") || !fight.equals(\"e\") || !fight.equals(\"A\") || !fight.equals(\"a\")){\n System.out.println(\"Excecuted by the Giant, Game Over!\");\n System.exit(1);\n }\n if(hits<trial){\n System.out.println(\"Enter A or a to ATTACK, E or e to ESCAPE, anything else to YIELD\");\n \n }\n }\n return string;\n }", "private static String getRandomType(){\r\n int index = r.nextInt(typeOfRooms.length);\r\n return typeOfRooms[index];\r\n }", "public void choicePersonage() {\n\t\tSystem.out.println(\"souhaitez-vous créer un guerrier ou un magicien ?\");\n\t\tchoice = sc.nextLine().toLowerCase();\t\t\t\n\t\tSystem.out.println(\"Vous avez saisi : \" + choice);\n\t\tif(!(choice.equals(MAGICIEN) || choice.equals(GUERRIER))) {\n\t\t\tchoicePersonage();\n\t\t}\n\t\tsaisieInfoPersonage(choice);\n\t}", "public String generateQuestion(){\r\n qType = rand.nextInt(2);\r\n if (qType ==0)\r\n return \"Multiple choice question.\";\r\n else\r\n return \"Single choice question.\";\r\n }", "public static void main(String[] args) {\n\n\n Person id = new Person();//shortns the code\n\n Scanner input= new Scanner(System.in);//set scanner\n\n //Ask user to input data\n\n System.out.println(\"Name of a person: \");\n id.setName(input.next());\n\n System.out.println(\"Age: \");\n id.setAge(input.nextInt());\n\n System.out.println(\"Height (m): \");\n id.setHeight(input.nextFloat());\n\n System.out.println(\"Weight: \");\n id.setWeight(input.nextFloat());\n\n System.out.println(\"Gender M/F:\");\n id.setGender(input.next());\n\n System.out.println(\"Does it talk? Y/N: \");\n id.setTalk(input.next());\n\n //After we gathered all the data we need,\n // we can proceed with given that data back\n System.out.println(\"Now lets see what we can tell about \" + id.getName() + \":\");\n\n System.out.println(\"Name \" + id.getName());\n System.out.println(\"Gender \" +id.getGender());\n System.out.println(\"Age \" + id.getAge());\n System.out.println(\"Height\" + id.getHeight());\n System.out.println(\"Weight\" + id.getWeight());\n id.talking();\n id.complexion();\n\n\n\n\n\n\n\n }", "public static void main(String args[]){\n\n EasyReader e = new EasyReader();\n \n System.out.println(\"Type in a number between 1 and 20\");\n int x = e.readInt(); // (int)(Math.random()*20+1);\n \n if (x<20 && x >1){\n int computer = 7;// (int)(Math.random()*20+1);\n \n System.out.println(\"The number the computer generated is \" + computer);\n if (x == computer)\n System.out.println(\"You've won $10!\");\n else if (computer - 2 == x || computer + 2 ==x || computer -1 == x || computer +1 == x)\n System.out.println(\"You've won $5!\");\n else \n System.out.println(\"You've won nothing and you lost.\");\n }\n else \n System.out.println(\"The number is outside the range.\");\n \n }", "private String[] getRandomNames(StreamTokenizer st) throws IOException {\n\t\t// now pattern\n\t\tst.nextToken();\n\t\tif (st.sval == null || st.sval.equals(\"\"))throw new IOException(\"Argument 2 must be a pattern name enclosed by \\\"\"); //$NON-NLS-2$\n\t\tString pattern = st.sval;\n\n\t\t// now gender\n\t\tst.nextToken();\n\t\tif (st.sval == null || st.sval.equals(\"\"))throw new IOException(\"Argument 3 must be a gender name enclosed by \\\"\"); //$NON-NLS-2$\n\t\tString gender = st.sval;\n\n\t\t// at last the number of arguements\n\t\tint type = st.nextToken();\n\t\tif (type != StreamTokenizer.TT_NUMBER)\n\t\t\tthrow new IOException(\"Argument 4 must be an integer number\"); //$NON-NLS-1$\n\t\tint count = (int) st.nval;\n\n\t\t// get language\n\t\tString lang = getLanguageFromTokenizer(st);\n\n\t\t// more?\n\t\tif (st.nextToken() != StreamTokenizer.TT_EOF)\n\t\t\tthrow new IOException(\"Expected request form: GET \\\"PATTERN\\\" \\\"GENDER\\\" COUNT \\\"LANGUAGE\\\"\");\n\n\t\t// ok, everything fine - now get names\n\t\ttry {\n\t\t\treturn ng.getRandomName(pattern, gender, count, lang);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\treturn new String[] { \"###ERROR###\" }; //$NON-NLS-1$\n\t\t}\n\t}", "private static void choosePattern() {\n if(grade < 3) {\n pattern = patterns[getRandomNumber(0,18)];\n ////system.out.println(\"Pattern:\" + pattern);\n } else if(grade < 6) {\n pattern = patterns[getRandomNumber(0,20)];\n ////system.out.println(\"Pattern:\" + pattern);\n if(pattern.equals(patterns[21])) {\n //system.out.println(\"Sum To Value Chosen\");\n sumValue = getRandomNumber(4,28);\n //system.out.println(\"Sum Value:\" + sumValue);\n }\n }\n// else {\n//\n// //***Temporary --should get pattern from user\n// pattern = patterns[getRandomNumber(0,23)];\n// //system.out.println(\"Pattern:\" + pattern);\n// if(pattern.equals(patterns[23])) {\n// //system.out.println(\"Sum To Value Chosen\");\n// sumValue = getRandomNumber(4,28);\n// //system.out.println(\"Sum Value:\" + sumValue);\n// }\n// //***\n//\n//// getUserPattern();\n// }\n }", "private String generateInput() {\n Random rdm = new Random();\n int r, r_m, r_M, c = 0, c_max;\n String input = \"\";\n char ops[] = {'+', '-', '*', '/'};\n\n //r_m = 1;\n //r_M = 100;\n //c_max = rdm.nextInt(r_M - r_m + 1) + r_m;\n c_max = 4;\n\n if(c_max%2 == 0)\n c_max += 1;\n\n while(c < c_max){\n if(c%2 == 0){\n r_m = 0;\n //r_M = 1000;\n r_M = 9;\n r = rdm.nextInt(r_M - r_m + 1) + r_m;\n input += Integer.toString(r);\n } else {\n /* 4 operators [0-3] */\n r_m = 0;\n r_M = 3;\n /* get a random operation */\n r = rdm.nextInt(r_M - r_m + 1) + r_m;\n input += ops[r];\n }\n c++;\n }\n return input;\n }", "public static void main(String[] args) {\n \n Scanner taskScanner = new Scanner(System.in);\n \n System.out.println(\"Please enter your username\");\n String firstName = taskScanner.nextLine(); \n \n \n System.out.println(\"Please enter your DOB\");\n String dateOfBirth = taskScanner.nextLine(); \n \n System.out.println(\"What is your address\");\n String aaddress = taskScanner.nextLine(); \n \n System.out.println(\"Please enter your Phone Number\");\n long phoneNumber = taskScanner.nextLong();\n \n System.out.println(\"How tall are you in feets?\");\n double yourHeight = taskScanner.nextDouble();\n \n \n \t\n System.out.println(\"Form information\");\n \n System.out.println(\"First Name : \"+ firstName);\n \n //System.out.println(\"Last Name : \"+ lastName);\n \n System.out.println(\"dateOfBirth: \"+ dateOfBirth);\n \n System.out.println(\"PhoneNumber: \"+ phoneNumber);\n \n// System.out.println(\"YourHeight: \"+ yourHeight);\n \n System.out.println(\"address: \"+ aaddress);\n \t \n taskScanner.close();\n \t \n String = make\n \t\t \n \n \t\t\n \n \n \n \n \n \n \t\t\n \n\n}", "private void setupParameters() {\r\n\t\tScanner in = new Scanner(System.in);\r\n\t\tboolean pass = false;\r\n\t\tint userInputInt;\r\n\t\t// read input parameters\r\n\t\t// 1\r\n\t\tSystem.out.println(\"\\t*** Get Simulation Parameters ***\\n\\n\");\r\n\t\twhile (!pass) {\r\n\t\t\tSystem.out.print(\"Enter simulation time (0 < integer <= 10000)\t\t\t\t\t\t: \");\r\n\t\t\tif (in.hasNextInt()) {\r\n\t\t\t\tuserInputInt = in.nextInt();\r\n\t\t\t\tif (userInputInt > 10000) {\r\n\t\t\t\t\tSystem.out.println(\r\n\t\t\t\t\t\t\t\"Error Code 101: Maximum simulation length allowed is 10000, enter a smaller integer.\");\r\n\t\t\t\t\tin.nextLine();\r\n\t\t\t\t} else if (userInputInt < 1) {\r\n\t\t\t\t\tSystem.out\r\n\t\t\t\t\t\t\t.println(\"Error Code 102: Minimum simulation length allowed is 1, enter a larger integer.\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\tsimulationTime = userInputInt;\r\n\t\t\t\t\tpass = true;\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tSystem.out.println(\"Error Code 103: Enter an integer.\");\r\n\t\t\t\tin.nextLine();\r\n\t\t\t}\r\n\t\t}\r\n\t\tpass = false;\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// clean up code\r\n\t\t// 2\r\n\t\twhile (!pass) {\r\n\t\t\tSystem.out.print(\"Enter the number (0 < integer <= 10) of tellers\t\t\t\t\t\t: \");\r\n\t\t\tif (in.hasNextInt()) {\r\n\t\t\t\tuserInputInt = in.nextInt();\r\n\t\t\t\tif (userInputInt > 10) {\r\n\t\t\t\t\tSystem.out.println(\r\n\t\t\t\t\t\t\t\"Error Code 201: Maximum numbers of allowed tellers is 10, enter a smaller integer.\");\r\n\t\t\t\t} else if (userInputInt < 1) {\r\n\t\t\t\t\tSystem.out.println(\r\n\t\t\t\t\t\t\t\"Error Code 202: Minimum numbers of allowed tellers is 1, enter a larger integer.\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\tnumTellers = userInputInt;\r\n\t\t\t\t\tpass = true;\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tSystem.out.println(\"Error Code 203: Enter an integer.\");\r\n\t\t\t\tin.nextLine();\r\n\t\t\t}\r\n\t\t}\r\n\t\tpass = false;\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// clean up code\r\n\t\t// 3\r\n\t\twhile (!pass) {\r\n\t\t\tSystem.out.print(\"Enter chances (0% < integer <= 100%) of new customer \t\t\t\t: \");\r\n\t\t\tif (in.hasNextInt()) {\r\n\t\t\t\tuserInputInt = in.nextInt();\r\n\t\t\t\tif (userInputInt > 100) {\r\n\t\t\t\t\tSystem.out.println(\r\n\t\t\t\t\t\t\t\"Error Code 301: Maximum percentage allowed is 100, enter a smaller integer.\");\r\n\t\t\t\t} else if (userInputInt < 1) {\r\n\t\t\t\t\tSystem.out.println(\r\n\t\t\t\t\t\t\t\"Error Code 302: Minimum percentage allowed is 1, enter a larger integer.\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\tchancesOfArrival = userInputInt;\r\n\t\t\t\t\tpass = true;\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tSystem.out.println(\"Error Code 303: Enter an integer.\");\r\n\t\t\t\tin.nextLine();\r\n\t\t\t}\r\n\t\t}\r\n\t\tpass = false;\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// clean up code\r\n\t\t// 4\r\n\t\twhile (!pass) {\r\n\t\t\tSystem.out.print(\"Enter maximum transaction time (0 < integer <= 500) of customers\t: \");\r\n\t\t\tif (in.hasNextInt()) {\r\n\t\t\t\tuserInputInt = in.nextInt();\r\n\t\t\t\tif (userInputInt > 500) {\r\n\t\t\t\t\tSystem.out.println(\r\n\t\t\t\t\t\t\t\"Error Code 401: Maximum transaction time allowed is 500, enter a smaller integer.\");\r\n\t\t\t\t} else if (userInputInt < 1) {\r\n\t\t\t\t\tSystem.out\r\n\t\t\t\t\t\t\t.println(\"Error Code 402: Minimum transaction time allowed is 1, enter a larger integer.\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\tmaxTransactionTime = userInputInt;\r\n\t\t\t\t\tpass = true;\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tSystem.out.println(\"Error Code 403: Enter an integer.\");\r\n\t\t\t\tin.nextLine();\r\n\t\t\t}\r\n\t\t}\r\n\t\tpass = false;\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// clean up code\r\n\t\t// 5\r\n\t\twhile (!pass) {\r\n\t\t\tSystem.out.print(\"Enter customer queue size (0 < integer <= 50)\t\t\t\t\t\t: \");\r\n\t\t\tif (in.hasNextInt()) {\r\n\t\t\t\tuserInputInt = in.nextInt();\r\n\t\t\t\tif (userInputInt > 50) {\r\n\t\t\t\t\tSystem.out.println(\r\n\t\t\t\t\t\t\t\"Error Code 501: Maximum queue size allowed is 50, enter a smaller integer.\");\r\n\t\t\t\t} else if (userInputInt < 1) {\r\n\t\t\t\t\tSystem.out.println(\r\n\t\t\t\t\t\t\t\"Error Code 502: Minimum queue size allowed is 1, enter a larger integer.\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\tcustomerQLimit = userInputInt;\r\n\t\t\t\t\tpass = true;\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tSystem.out.println(\"Error Code 503: Enter an integer.\");\r\n\t\t\t\tin.nextLine();\r\n\t\t\t}\r\n\t\t}\r\n\t\tpass = false;\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// clean up code\r\n\t\t// setup dataFile or dataRandom\r\n\t\t// 6\r\n\t\twhile (!pass) {\r\n\t\t\tSystem.out.print(\"Enter 0/1 to get data from Random/file\t\t\t\t\t\t\t: \");\r\n\t\t\tif (in.hasNextInt()) {\r\n\t\t\t\tuserInputInt = in.nextInt();\r\n\t\t\t\tif (userInputInt == 1) {\r\n\t\t\t\t\tdataSource = userInputInt;\r\n\t\t\t\t\tpass = true;\r\n\t\t\t\t} else if (userInputInt == 0) {\r\n\t\t\t\t\tdataSource = userInputInt;\r\n\t\t\t\t\tpass = true;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tSystem.out.println(\"Error Code 601: Enter either 0 or 1. \");\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tSystem.out.println(\"Error Code 603: Enter an integer.\");\r\n\t\t\t\tin.nextLine();\r\n\t\t\t}\r\n\t\t}\r\n\t\tpass = false;\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// clean up code\r\n\t\t// 7\r\n\t\tif (dataSource == 1) {\r\n\t\t\tgetDataFile();\r\n\t\t}\r\n\t\tin.close();\r\n\t}", "public void decideNature()\n {\n String nature = new String(\"\");\n Random rand = new Random();\n int i = rand.nextInt(100);\n if(i <= 25)\n {\n nature = \"Very mischievous. Enjoys hiding objects in plain sight\";\n }//ends the if\n else if(i > 25 && i <= 50)\n {\n nature = \"Loves to spend time sleeping on the clouds\";\n }//ends the else if\n else if(i > 50 && i <= 75)\n {\n nature = \"Is very playful\";\n }//ends the else if\n else\n {\n nature = \"Loves to perform dances in the air\";\n }\n \n setNature(nature);\n }", "public void generateRegister(int amount) throws IOException {\n\t\tautoGen = new Person[amount];\n\t\tBufferedReader brFNames = new BufferedReader(new FileReader(FEMALE_NAMES));\n\t\tBufferedReader brMNames = new BufferedReader(new FileReader(MALE_NAMES));\n\t\tBufferedReader brLastNames = new BufferedReader(new FileReader(LAST_NAMES));\n\t\tBufferedReader brCountry = new BufferedReader(new FileReader(CONTRY_POPULATION));\n\t\tBufferedReader brAgeRate = new BufferedReader(new FileReader(AGE_PROPORTION));\n\t\tbrFNames.mark(0);\n\t\tbrMNames.mark(0);\n\t\tbrLastNames.mark(0);\n\t\tbrCountry.mark(0);\n\t\tbrAgeRate.mark(0);\n\t\tString[] countries = new String[COUNTRIES];\n\t\tint[] countriesAmount = new int[COUNTRIES];\n\t\tint[] minAge = new int[AGES];\n\t\tint[] maxAge = new int[AGES];\n\t\tint[] amountAge = new int[AGES];\n\t\tfor(int i = 0;i < COUNTRIES;i++) {\n\t\t\tString[] country = brCountry.readLine().split(\",\");\n\t\t\tcountries[i] = country[0];\n\t\t\tcountriesAmount[i] = (int) Math.floor(amount * parseDouble(country[1]));\n\t\t}\n\t\tfor(int i = 0;i < AGES;i++){\n\t\t\tString[] age = brAgeRate.readLine().split(\" \");\n\t\t\tminAge[i] = Integer.parseInt(age[0]);\n\t\t\tmaxAge[i] = Integer.parseInt(age[1]);\n\t\t\tamountAge[i] = (int) Math.floor(amount* parseDouble(age[2]));\n\t\t}\n\t\tint maleDivFemale = amount/2;\n\t\tfor(int i = 0;i < maleDivFemale;i++){ //male\n\t\t\tString name = brMNames.readLine();\n\t\t\tif(name==null){\n\t\t\t\tbrMNames.reset();\n\t\t\t\tname = brMNames.readLine();\n\t\t\t}\n\t\t\tString lastName = brLastNames.readLine();\n\t\t\tif(lastName==null){\n\t\t\t\tbrLastNames.reset();\n\t\t\t\tlastName = brLastNames.readLine();\n\t\t\t}\n\t\t\tchar gender = Person.MALE;\n\t\t\tint randCountry = (int) Math.floor(Math.random()*COUNTRIES);\n\t\t\twhile(countriesAmount[randCountry]==0){\n\t\t\t\trandCountry = (int) Math.floor(Math.random()*COUNTRIES);\n\t\t\t}\n\t\t\tString country = countries[randCountry];\n\t\t\tcountriesAmount[randCountry]-=1;\n\t\t\tint randAge = (int)Math.floor(Math.random()*AGES);\n\t\t\twhile(amountAge[randAge]==0){\n\t\t\t\trandAge = (int)Math.floor(Math.random()*AGES);\n\t\t\t}\n\t\t\tint age = (int)Math.floor(Math.random()*(maxAge[randAge]-minAge[randAge])+minAge[randAge]);\n\t\t\tint year = 2020 - age;\n\t\t\tint month = (int)Math.floor(Math.random()*12+1);\n\t\t\tint day = 0;\n\t\t\tif(month==2){\n\t\t\t\tday = (int)Math.floor(Math.random()*27+1);\n\t\t\t}else if(month%2==0){\n\t\t\t\tif(month>7){\n\t\t\t\t\tday = (int)Math.floor(Math.random()*31+1);\n\t\t\t\t}else{\n\t\t\t\t\tday = (int)Math.floor(Math.random()*30+1);\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tif(month>7){\n\t\t\t\t\tday = (int)Math.floor(Math.random()*30+1);\n\t\t\t\t}else{\n\t\t\t\t\tday = (int)Math.floor(Math.random()*31+1);\n\t\t\t\t}\n\t\t\t}\n\t\t\tLocalDate birth = LocalDate.of(year,month,day);\n\t\t\tint heigth;\n\t\t\tif(age<4){\n\t\t\t\t heigth = (int)Math.floor(Math.random()*6+40);\n\t\t\t}else if(age < 13){\n\t\t\t\t heigth = (int)Math.floor(Math.random()*5+100);\n\t\t\t}else{\n\t\t\t\t heigth = (int)Math.floor(Math.random()*5+150);\n\t\t\t}\n\t\t\tString code = \"\";\n\t\t\tint numberDigits = (currentCode+\"\").length();\n\n\t\t\tfor(int j=numberDigits; j<DIGITS_CODE;j++) {\n\t\t\t\tcode +=\"0\";\n\t\t\t}\n\t\t\tcode += numberDigits;\n\t\t\tcurrentCode++;\n\t\t\tautoGen[i] = new Person(code,name,lastName,gender,heigth,country,birth);\n\t\t\tprogress = i/amount;\n\t\t}for(int i = maleDivFemale;i < amount;i++){ //female\n\t\t\tString name = brFNames.readLine();\n\t\t\tif(name == null){\n\t\t\t\tbrFNames.reset();\n\t\t\t\tname = brFNames.readLine();\n\t\t\t}\n\t\t\tString lastName = brLastNames.readLine();\n\t\t\tif(lastName == null){\n\t\t\t\tbrLastNames.reset();\n\t\t\t\tlastName = brLastNames.readLine();\n\t\t\t}\n\t\t\tchar gender = Person.FEMALE;\n\t\t\tint randCountry = (int) Math.floor(Math.random()*COUNTRIES);\n\t\t\twhile(countriesAmount[randCountry]==0){\n\t\t\t\trandCountry = (int) Math.floor(Math.random()*COUNTRIES);\n\t\t\t}\n\t\t\tString country = countries[randCountry];\n\t\t\tcountriesAmount[randCountry]-=1;\n\t\t\tint randAge = (int)Math.floor(Math.random()*AGES);\n\t\t\twhile(amountAge[randAge]==0){\n\t\t\t\trandAge = (int)Math.floor(Math.random()*AGES);\n\t\t\t}\n\t\t\tint age = (int)Math.floor(Math.random()*(maxAge[randAge]-minAge[randAge])+minAge[randAge]);\n\t\t\tint year = 2020 - age;\n\t\t\tint month = (int)Math.floor(Math.random()*12+1);\n\t\t\tint day = 0;\n\t\t\tif(month==2){\n\t\t\t\tday = (int)Math.floor(Math.random()*27+1);\n\t\t\t}else if(month%2==0){\n\t\t\t\tif(month>7){\n\t\t\t\t\tday = (int)Math.floor(Math.random()*31+1);\n\t\t\t\t}else{\n\t\t\t\t\tday = (int)Math.floor(Math.random()*30+1);\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tif(month>7){\n\t\t\t\t\tday = (int)Math.floor(Math.random()*30+1);\n\t\t\t\t}else{\n\t\t\t\t\tday = (int)Math.floor(Math.random()*31+1);\n\t\t\t\t}\n\t\t\t}\n\t\t\tLocalDate birth = LocalDate.of(year,month,day);\n\t\t\tint heigth;\n\t\t\tif(age<4){\n\t\t\t\theigth = (int)Math.floor(Math.random()*6+40);\n\t\t\t}else if(age < 13){\n\t\t\t\theigth = (int)Math.floor(Math.random()*5+100);\n\t\t\t}else{\n\t\t\t\theigth = (int)Math.floor(Math.random()*5+150);\n\t\t\t}\n\t\t\tString code = \"\";\n\t\t\tint numberDigits = (currentCode+\"\").length();\n\n\t\t\tfor(int j=numberDigits; j<DIGITS_CODE;j++) {\n\t\t\t\tcode +=\"0\";\n\t\t\t}\n\t\t\tcode += numberDigits;\n\t\t\tcurrentCode++;\n\t\t\tautoGen[i] = new Person(code,name,lastName,gender,heigth,country,birth);\n\t\t\tprogress = i/amount;\n\t\t\t\n\t\t\tbrFNames.close();\n\t\t\tbrMNames.close();\n\t\t\tbrLastNames.close();\n\t\t\tbrCountry.close();\n\t\t\tbrAgeRate.close();\n\t\t}\n\t}", "private static void RecommendedUserNames(String first, String last) {\n\t\tString [][] usernames = new String [2][2];\n\t\tint [] RandomNumbers = new int [4];\n\t\tfor (int i=0; i < 4; i++) {\n\t\t\tRandomNumbers[i]=(int)(Math.random()*100);\n\t\t}\n\t\tint k = 0;\n\t\tSystem.out.println(\"Choose a unique username, some of the recommended ones for you are below\");\n\t\tfor (int i = 0; i < 2; i++)\n\t\t\tfor (int j = 0; j < 2; j++) {\n\t\t\t\tif (k%2==0) usernames[i][j] = first+last+RandomNumbers[k];\n\t\t\t\telse usernames[i][j] = last+first+RandomNumbers[k];\n\t\t\t\tk++;\n\t\t\t\tSystem.out.println(usernames[i][j]+ \" \");\n\t\t\t}\n\t\tSystem.out.println();\n\t}", "private String RandomGoal() {\n\t\tList<String> list = Arrays.asList(\"m\", \"m\", \"m\", \"m\", \"m\", \"m\", \"m\", \"m\", \"t\", \"t\");\n\t\tRandom rand = new Random();\n\t\tString randomgoal = list.get(rand.nextInt(list.size()));\n\n\t\treturn randomgoal;\n\t}", "public static void main(String[] args) throws IOException\n {\n \n BufferedReader f = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter writer = new PrintWriter(new BufferedOutputStream(System.out));\n \n String output = \"\"; //Write all output to this string\n\n //Code here\n int numPeople = Integer.parseInt(f.readLine());\n \n StringTokenizer st = new StringTokenizer(f.readLine());\n \n int num25s = 0;\n int num50s = 0;\n \n boolean failed = false;\n \n for(int i = 0; i < numPeople; i++)\n {\n int num = Integer.parseInt(st.nextToken());\n if(num==25)\n {\n num25s++;\n }\n else if(num==50)\n {\n num25s--;\n num50s++;\n }\n else if(num==100)\n {\n if(num50s>0)\n {\n num50s--;\n num25s--;\n }\n else\n {\n num25s -= 3;\n }\n }\n if(isBad(num25s,num50s))\n failed = true;\n }\n \n output = failed?\"NO\":\"YES\";\n //Code here\n\n //out.println(output);\n \n writer.println(output);\n writer.close();\n System.exit(0);\n \n }", "public void generateNumbers() {\n number1 = (int) (Math.random() * 10) + 1;\n number2 = (int) (Math.random() * 10) + 1;\n operator = (int) (Math.random() * 4) + 1;\n //50% chance whether the displayed answer will be right or wrong\n rightOrWrong = (int) (Math.random() * 2) + 1;\n //calculate the offset of displayed answer for a wrong equation (Error)\n error = (int) (Math.random() * 4) + 1;\n generateEquation();\n }", "public void generatePlate(){\r\n\t\tfor(int i = 0; i<3; i++){ // Using math random to generate three upper case letter \r\n\t\t\tSystem.out.print((char)((int)'A'+Math.random()*((int)'Z'-(int)'A'+1)));\r\n\t\t}\r\n\t\tSystem.out.print(\"-\");\r\n\t\tfor(int i=0; i<4; i++){ // using math random to generate four integers\r\n\t\t\tSystem.out.print((int)(Math.random()*10));\r\n\t\t}\r\n\t}", "@Override\r\n\tpublic String getFortune() {\n\t\tString[] s= {\"have a nice day :)\",\r\n\t\t\t\t\"attaboy!\",\r\n\t\t\t\t\"good fortune to you <3\"\r\n\t\t};\r\n\t\tint x;\r\n\t\tx=((int)(Math.random()*9))%3;\r\n\t\t\r\n\t\treturn s[x] ;\r\n\t}", "private String generateMake() {\n\t\tString make = \"\";\n\t\tint caseNumber = randomGenerator.nextInt(5) + 1;\n\t\t\n\t\tswitch (caseNumber) {\n\t\tcase 1: \n\t\t\tmake = \"Chevy\";\n\t\t\tbreak;\n\t\tcase 2: \n\t\t\tmake = \"Ford\";\n\t\t\tbreak;\n\t\tcase 3: \n\t\t\tmake = \"Toyota\";\n\t\t\tbreak;\n\t\tcase 4: \n\t\t\tmake = \"Nissan\";\n\t\t\tbreak;\n\t\tcase 5: \n\t\t\tmake = \"Hyundai\";\n\t\t\tbreak;\n\t\tdefault: \n\t\t\tmake = \"\";\n\t\t\tbreak;\n\t\t}\n\t\treturn make;\n\t}", "private String getPromptStrings(int choice) {\n //negative numbers correspond with the very first screen (not really anymore)\n //then the positive numbers go based on the choice the user makes\n switch (choice) {\n case 0: return \"\";\n //this is for the introductory screen\n case -1: return \"There is an enemy Ship! Looks like an Inter Planetary Pirate ship.\";\n case -2: return \"What would you like to do? Looks like is has a similar layout to our ship.\";\n case -3: return \"this is a dummy line for the status bar... health for you: 20, shields 1, enemy health: 20, shields 1\";\n case -4: return \"Now What?\";\n case -5: return \"Well that didn't work...\";\n case -6: return \"You are out of missiles.\";\n case -7: return \"All systems operational, and shields are up.\";\n case -8: return \"They are out of missiles...\";\n case -9: return \"Your Laser gun system is damaged, you can't shoot!\";\n case -10: return \"Your Missile system is damaged, you can't shoot!\";\n case -11: return \"Their Laser gun system is damaged, they can't shoot!\";\n case -12: return \"Their Missile system is damaged, they can't shoot!\";\n //this is for what you choose to do\n case 1: return \"You want to shot your laser gun at the enemy ship.\";\n case 2: return \"You want to shot a missile at the enemy ship.\";\n case 3: return \"You decided to wait and let your shields recharge.\";\n\n case 4: return \"Where do you want to shoot?\";\n case 5: return \"Where do you want to shoot?\";\n case 6: return \"\";\n\n case 45: return \"You damaged their Engine system!\";\n case 46: return \"You damaged their Shield system!\";\n case 47: return \"You damaged their Missile system!\";\n case 48: return \"You damaged their Laser Gun system!\";\n case 49: return \"You damaged their Piloting system!\";\n case 51: return \"You shoot at their Piloting system!\";\n case 52: return \"You shoot at their Laser gun system!\";\n case 53: return \"You shoot at their Missile system!\";\n case 54: return \"You shoot at their Shield system!\";\n case 55: return \"You shoot at their Engine system!\";\n\n case -45: return \"They damaged your Engine system!\";\n case -46: return \"They damaged your Shield system!\";\n case -47: return \"They damaged your Missile system!\";\n case -48: return \"They damaged your Laser Gun system!\";\n case -49: return \"They damaged your Piloting system!\";\n case -51: return \"They shoot at your Piloting system!\";\n case -52: return \"They shoot at your Laser gun system!\";\n case -53: return \"They shoot at your Missile system!\";\n case -54: return \"They shoot at your Shield system!\";\n case -55: return \"They shoot at your Engine system!\";\n\n case 80: return \"You decide to wait...\";\n case 81: return \"Your shields recharge and your systems are fixed.\";\n case -80: return \"They decide to wait..\";\n case -81: return \"Their shields recharge, and systems get repaired.\";\n\n case 97: return \"Their shield is down!\";\n case 98: return \"Their shield is up, your laser can't penetrate!\";\n case -98: return \"Your shields are up, their lasers can't penetrate!\";\n case 99: return \"It hit!\";\n case -99: return \"They landed the shot!\";\n case 100: return \"It missed!\";\n case -100: return \"They missed!\";\n\n case -101: return \"The laser hit!\";\n case -102: return \"The missile hit!\";\n case -103: return \"The laser missed.\";\n case -104: return \"The missile missed.\";\n }\n //if the input given is not one of the above\n return \"Error\";\n }", "public String getRandomName() {\n\t\t\n\t\tRandom r = new Random();\n\t\t\n\t\t//pick a firstname and surname based on length of array\n\t\tString fname = firstName[r.nextInt(firstName.length)];\n\t\tString sname = surName[r.nextInt(surName.length)];\n\t\t\n\t\treturn ( fname + \" \" + sname);\n\t\t\n\t}", "private String saisieString(String typeChoice) {\n\t\tSystem.out.println(typeChoice);\n\t\tString persoString= sc.nextLine();\n\t\treturn persoString;\n\t}", "public void decideGender()\n {\n String gender = new String(\"\");\n Random rand = new Random();\n int i = rand.nextInt(100);\n if(i <= 52)\n {\n gender = \"Female\";\n }//ends the if\n else\n {\n gender = \"Male\";\n }//ends the else\n \n setGender(gender);\n }", "private static void randomlyGeneratedInput() {\n\t\tint pages[] = new int[50];\n\t\tint numOfFrames[] = new int[] {3, 4, 5, 6};\n\t\t\n\t\t//Sum of page faults for each algorithm\n\t\tint totalPageFaultsFIFO = 0;\n\t\tint totalPageFaultsLRU = 0;\n\t\tint totalPageFaultsOptimal = 0;\n\t\t\n\t\tfor(int frameAmount = 0; frameAmount < numOfFrames.length; frameAmount++) {\n\t\t\tfor(int trials = 0; trials < 50; trials++) {\n\t\t\t\tfor(int i = 0; i < pages.length; i++) {\n\t\t\t\t\tRandom rng = new Random();\n\t\t\t\t\tpages[i] = rng.nextInt(8);\t\n\t\t\t\t}\n\t\t\t\tint pageFaultsFIFO = fifoRNG(pages, numOfFrames[frameAmount]);\n\t\t\t\ttotalPageFaultsFIFO = totalPageFaultsFIFO + pageFaultsFIFO;\n\t\t\t\tint pageFaultsLRU = lruRNG(pages, numOfFrames[frameAmount]);\n\t\t\t\ttotalPageFaultsLRU = totalPageFaultsLRU + pageFaultsLRU;\n\t\t\t\tint pageFaultsOptimal = optimalRNG(pages, numOfFrames[frameAmount]);\n\t\t\t\ttotalPageFaultsOptimal = totalPageFaultsOptimal + pageFaultsOptimal;\n\t\t\t\tSystem.out.println(\"Number of page frames: \" + numOfFrames[frameAmount] + \" Trial #: \" + (trials+1));\n\t\t\t\tSystem.out.println(\"FIFO page fault: \" + pageFaultsFIFO);\n\t\t\t\tSystem.out.println(\"LRU page fault: \" + pageFaultsLRU);\n\t\t\t\tSystem.out.println(\"Optimal page fault: \" + pageFaultsOptimal);\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println(\"Number of page frames: \" + numOfFrames[frameAmount]);\n\t\t\tSystem.out.println(\"Average FIFO Page Faults after 50 trials: \" + (float) totalPageFaultsFIFO / 50f);\n\t\t\tSystem.out.println(\"Average LRU Page Faults after 50 trials: \" + (float) totalPageFaultsLRU / 50f);\n\t\t\tSystem.out.println(\"Average Optimal Page Faults after 50 trials: \" + (float) totalPageFaultsOptimal / 50f);\n\t\t\tSystem.out.println();\n\t\t\t\n\t\t\ttotalPageFaultsFIFO = 0;\n\t\t\ttotalPageFaultsLRU = 0;\n\t\t\ttotalPageFaultsOptimal = 0;\n\t\t}\n\t}", "@Override\n public String generateRoshambo(String input) {\n\n return \"Rock\";\n\n }", "public static void main(String[] args) {\n\t\tstringprg1 p = new stringprg1();\n\t\tScanner S = new Scanner(System.in);\n\t\tString in1,in2;\n\t\tint pin,num;\n\t\tSystem.out.println(\"Enter a name\");\n\t\tin1 =S.next();\n\t\tSystem.out.println(\"Enter a name\");\n\t\tin2 =S.next();\n\t\tSystem.out.println(\"Enter a pin\");\n\t\tpin =S.nextInt();\n\t\tSystem.out.println(\"Enter a number\");\n\t\tnum =S.nextInt();\n\t\tString result = p.generator(in1, in2, pin, num);\n\t\tSystem.out.println(result);\n\t}", "private void processIdentificator() {\r\n\t\tString identificator = generateString();\r\n\r\n\t\tif (identificator.equals(Constants.AND_STRING)) {\r\n\t\t\ttoken = new Token(TokenType.OPERATOR, Constants.AND_STRING);\r\n\r\n\t\t} else if (identificator.equals(Constants.XOR_STRING)) {\r\n\t\t\ttoken = new Token(TokenType.OPERATOR, Constants.XOR_STRING);\r\n\r\n\t\t} else if (identificator.equals(Constants.OR_STRING)) {\r\n\t\t\ttoken = new Token(TokenType.OPERATOR, Constants.OR_STRING);\r\n\r\n\t\t} else if (identificator.equals(Constants.NOT_STRING)) {\r\n\t\t\ttoken = new Token(TokenType.OPERATOR, Constants.NOT_STRING);\r\n\r\n\t\t} else if (identificator.equals(trueString)) {\r\n\t\t\ttoken = new Token(TokenType.CONSTANT, true);\r\n\r\n\t\t} else if (identificator.equals(falseString)) {\r\n\t\t\ttoken = new Token(TokenType.CONSTANT, false);\r\n\r\n\t\t} else {\r\n\t\t\ttoken = new Token(TokenType.VARIABLE, identificator.toUpperCase());\r\n\t\t}\r\n\t}", "private static Person createPerson(String type, Scanner input) {\n System.out.println(\"\\nPlease enter the details of the \" + type + \": \");\n System.out.println(\"\\nName: \");\n String name = input.nextLine();\n\n System.out.println(\"\\nContact number: \");\n String contactNo = input.nextLine();\n\n System.out.println(\"\\nEmail address : \");\n String email = input.nextLine();\n\n System.out.println(\"\\nAddress: \");\n String address = input.nextLine();\n\n return new Person(type, name, contactNo, email, address);\n\n }", "public void cardGen(){\n\t\tRandom rand = new Random();\n\t\tint randValue = rand.nextInt(13);\n\t\tcardString = value[randValue] + suit[rand.nextInt(4)];\n\t}", "private static String genString(){\n final String ALPHA_NUMERIC_STRING =\n \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\";\n int pwLength = 14; //The longer the password, the more likely the user is to change it.\n StringBuilder pw = new StringBuilder();\n while (pwLength-- != 0) {\n int character = (int)(Math.random()*ALPHA_NUMERIC_STRING.length());\n pw.append(ALPHA_NUMERIC_STRING.charAt(character));\n }\n return pw.toString(); //\n }", "public void medicine(){\n\t\tSystem.out.println(\"Name:\");\n\t\tString nameRegistered = reader.nextLine();\n\t\tSystem.out.println(\"Nit:\");\n\t\tString nit = reader.nextLine();\n\t\tSystem.out.println(\"Address:\");\n\t\tString address = reader.nextLine();\n\t\tSystem.out.println(\"Contact number:\");\n\t\tString contactNumber = reader.nextLine();\n\t\tSystem.out.println(\"Number of employees:\");\n\t\tint employees = reader.nextInt();\n\t\treader.nextLine();\n\t\tSystem.out.println(\"Value of the actives:\");\n\t\tdouble value = reader.nextDouble();\n\t\treader.nextLine();\n\t\tSystem.out.println(\"Legal representative:\");\n\t\tString legalRepresentative = reader.nextLine();\n\t\tSystem.out.println(\"Constitution date:\");\n\t\tSystem.out.println(\"Day:\");\n\t\tint day = reader.nextInt();\n\t\treader.nextLine();\n\t\tSystem.out.println(\"Month:\");\n\t\tint month = reader.nextInt();\n\t\treader.nextLine();\n\t\tSystem.out.println(\"Year:\");\n\t\tint year = reader.nextInt();\n\t\treader.nextLine();\n\t\tDate constitution = new Date(day, month, year);\n\t\tSystem.out.println(\"floors of the building\");\n\t\tint rows = reader.nextInt();\n\t\treader.nextLine();\n\t\tSystem.out.println(\"Type:\");\n\t\tString type = reader.nextLine();\n\t\tSystem.out.println(\"Sanitary registration:\");\n\t\tString sanitaryRegistration = reader.nextLine();\n\t\tSystem.out.println(\"Status:\");\n\t\tSystem.out.println(\"1. valid\");\n\t\tSystem.out.println(\"2. not renewed\");\n\t\tint theStatus = reader.nextInt();\n\t\treader.nextLine();\n\t\tboolean status = false;\n\t\tif(theStatus == 1){\n\t\t\tstatus = true;\n\t\t}\n\t\tSystem.out.println(\"Modality:\");\n\t\tString modality = reader.nextLine();\n\t\tSystem.out.println(\"Expiration date:\");\n\t\tSystem.out.println(\"Day:\");\n\t\tint expirationDay = reader.nextInt();\n\t\treader.nextLine();\n\t\tSystem.out.println(\"Month:\");\n\t\tint expirationMonth = reader.nextInt();\n\t\treader.nextLine();\n\t\tSystem.out.println(\"Year:\");\n\t\tint expirationYear = reader.nextInt();\n\t\treader.nextLine();\n\t\tDate expiration = new Date(expirationDay, expirationMonth, expirationYear);\n\t\tMedicine toAdd = new Medicine(nameRegistered, nit, address, contactNumber, employees, value, legalRepresentative, constitution, rows, type, sanitaryRegistration, status, modality, expiration);\n\t\ttheHolding.addSubordinate(toAdd);\n\t\tSystem.out.println(\"The company were added successfuly\");\n\t}", "public static void main(String[] args) {\n\n int tries = 1;\n while (tries < 5) {\n Scanner scanner = new Scanner(System.in);\n System.out.print(\"Enter first number: \");\n int first = scanner.nextInt();\n System.out.print(\"Enter second number: \");\n int second = scanner.nextInt();\n System.out.println(\"The smaller of these is: \" +\n Math.min(first, second));\n tries += 1;\n }\n\n /*\n\n // Strings\n String name = \"John Doe\";\n System.out.println(name.length());\n String age = \"40 years of age\";\n\n // Concatenation (combining strings)\n System.out.println(name + \" is \" + age);\n\n System.out.print(\"This is a new line \\n\");\n System.out.print(\"This is a tab \\t character \\n\");\n\n String greeting = \"Hello, world\";\n System.out.println(greeting.substring(7));\n System.out.println(greeting.substring(0, 5));\n\n System.out.println(\"A couple of words\".indexOf(\"words\"));\n\n String player1 = \"rock\", player2 = \"paper\";\n\n if (player1.compareTo(player2) == 0) {\n System.out.println(\"A tie\");\n }\n switch (player1) {\n case \"rock\":\n switch (player2) {\n case \"scissors\":\n\n break;\n case \"paper\":\n\n break;\n\n }\n break;\n case \"scissors\":\n switch (player2) {\n case \"rock\":\n\n break;\n case \"paper\":\n\n break;\n\n }\n break;\n case \"paper\":\n switch (player2) {\n case \"rock\":\n\n break;\n case \"scissors\":\n\n break;\n\n }\n break;\n }\n\n if (player1.compareTo(\"rock\") == 0) {\n if (player2.compareTo(\"rock\") == 0) {\n\n } else if (player2.compareTo(\"scissors\") == 0) {\n\n } else if (player2.compareTo(\"paper\") == 0) {\n\n }\n } else if (player1.compareTo(\"scissors\") == 0) {\n if (player2.compareTo(\"rock\") == 0) {\n\n } else if (player2.compareTo(\"scissors\") == 0) {\n\n } else if (player2.compareTo(\"paper\") == 0) {\n\n }\n } else if (player1.compareTo(\"paper\") == 0) {\n if (player2.compareTo(\"rock\") == 0) {\n\n } else if (player2.compareTo(\"scissors\") == 0) {\n\n } else if (player2.compareTo(\"paper\") == 0) {\n\n }\n }\n\n */\n }", "public String getRandomCharecter(){\n\n\tif (!dataprepared){\n\t prepareData();\n\t}\n\t\n\tAssert.pre(table!=null,\"data must be prepared\");\n\n\treturn (String)table.get(r.nextInt(total));\n\n\t\n }", "private String randomResponse()\r\n\t{\r\n\t\t\tpatience--;\r\n\t\t\tif (patience==0)\r\n\t\t\t{\r\n\t\t\t\tString[] randomArray = {\"Huh?\",\"Can you rephrase that in reptilian for me?\",\"Sorry I don't understand.\"\r\n\t\t\t\t\t\t,\"Hmmm\",\"Hmph\"};\r\n\t\t\t\tRandom rand = new Random();\r\n\t\t\t\tint i = rand.nextInt(4)+0;\r\n\t\t\t\treturn randomArray[i];\r\n\t\t\t}\t\r\n\t\t\telse if (patience <= 0)\r\n\t\t\t{\r\n\t\t\t\tString[] randomImpatientArray = {\"Hiss\",\"Can you please use your words correctly to speak\",\">:(((\",\"Your pushing my limit\",\"You were here... Now your here!!\",\"ok.....\"};\r\n\t\t\t\tRandom rand = new Random();\r\n\t\t\t\tint i = rand.nextInt(5)+0;\r\n\t\t\t\treturn randomImpatientArray[i];\r\n\t\t\t}\r\n\t\t\telse \r\n\t\t\t{\r\n\t\t\t\tString[] randomPatientArray = {\"Hey can you please say that again.\",\"Excuse me but I don't understand\",\"Oh okay!Interesting\",\"Yeah yeah totally\"};\r\n\t\t\t\tRandom rand = new Random();\r\n\t\t\t\tint i = rand.nextInt(3)+0;\r\n\t\t\t\treturn randomPatientArray[i];\r\n\t\t\t}\r\n\t}", "protected String random(String value) {\n \t\treturn value + new Random().nextInt(100);\n \t}", "public static void Random() {\n\t\tRandom ran =new Random();\r\n\t\trandom=ran.nextInt(6)+1;\r\n\t\t//random=1;\r\n\t\twho=A1063307_GUI.who2;\r\n\t\tif((ch[who].status)>0) {\r\n\t\t\tch[who].location=(ch[who].location)+random;\r\n\t\t\tch[who].status=(ch[who].status)-1;\r\n\t\t\t\r\n\t\t}else {\r\n\t\t\t\treturn;\r\n\t\t\t}\t\t\r\n\t}", "private String createFakeName() {\n final int firstLowercaseLetterAscii = 97;\n final int lowercaseLetterRange = 25;\n\n // Maximum length random name = 20\n final int minNameLength = 4;\n int randomNameLength = (random.nextInt(17)) + minNameLength;\n\n // Algorithm to generate the random name\n StringBuilder randomName = new StringBuilder();\n for (int i = 0; i < randomNameLength; i++) {\n char randChar = (char) (random.nextInt(lowercaseLetterRange + 1) + firstLowercaseLetterAscii);\n randomName.append(randChar);\n }\n return randomName.toString();\n }", "static void yellowportal() {\n System.out.println( username + \" closes the weary eyes that have witnessed so much chaos.\");\n enter = next.nextLine();\n System.out.println(\"SWSSSS...SWSSSS...SWSSSS\");//sound of flooding water\n System.out.println(\"What is this, why on earth are we in China...the Yellow River to be exact!\");\n System.out.println(\"What does this have to do with anything...Did you say the right spell?\");\n enter = next.nextLine();\n System.out.println(\"Blurp...Blurp...Floooosh...Blurp....\");\n enter = next.nextLine();\n System.out.println(\"What is this...the river is rising. Quick run \" + username + \".\");\n enter = next.nextLine();\n System.out.println(username + \" drowns in the river and wakes up weary from all the thrashing and swirming\");\n System.out.println(\"from the day before\");\n enter = next.nextLine();\n System.out.println( username + \" just remembered what had happen.\");\n System.out.println(\"You were thrown into the flooding waters and survived...how could have you survived this flood\");\n enter = next.nextLine();\n System.out.println(\"You suddenly hear a crowd of people or creatures roaring...time to get up on your feet again.\");\n //the yelling is caused by monsters \n enter = next.nextLine();\n //a new protagonist/hero is here to support the player. The name is Separt. Separt will be involved within fights.\n System.out.println(\"Run to your left...stated a lizard\");\n enter = next.nextLine();\n System.out.println(\"Wait... who are you? asked \" + username);\n enter= next.nextLine();\n System.out.println(\"'The name is Separt\");\n \n /* #hero\n the player receives help from Separt, who becomes Naga at the boss fight...This character directs you to your \n destination and aids in your fight.\n */\n \n System.out.println(\"I was the yellow portal that you summoned to come help you, stated Separt.\");\n System.out.println(\"I am now your apprentice...you are my master.'\");\n enter = next.nextLine();\n System.out.println(\"I guess you now have support ot help you fight these new monsters.\");\n System.out.println(\"Separt came at good timing. These creatures are way stronger that the ones you have fought.\");\n enter = next.nextLine();\n System.out.println(\"'We have to fight all of those creatures before you can destroy that wicked witch...'\");\n System.out.println(\"stated Separt\");\n enter = next.nextLine();\n System.out.println(\"Alright, lets kick some butts today!!!\");\n play_yellowportal();//this is the battle arena that the player and his sidekick will play\n }", "@Override\n public String next() {\n Random random = new Random();\n return fruits[random.nextInt(3)];\n }", "public static void RPSLS()throws IOException\n\t{\n\n\n\t\tString AiChoice=\"\";\n\t\tint points=0;\n\t\tint life=4;\n\t\tint XP=0;\n\t\txPerience=\"\";\n\t\tString filename=loginDetails.get(0)+\".txt\";\n \n String userinput=\"\";\n int randomselector;\n boolean playAgian=true;\n String message=\"Rock Paper Scissors Lizard Spock(RPSLS), is a game that was first introduced by Big bang theory's Sheldon Cooper, \\n As an ellabouration of the classic RPS \\n \\n Rules: Scissors cuts paper, \\n paper covers rock, \\n rock smashes lizard, \\n lizard poisons spock, \\n spock smashes scissors, \\n scissors decapacitae Lizard, \\n lizard eats paper, \\n paper disproves spock, \\n spock vaporizes rock, \\n ...and as it always have Rock crushes scissors. \\n \\t\\tEnjoy\";\n Scanner sc=new Scanner(System.in);\n JOptionPane.showMessageDialog(null,message,\"About The Game.\",1);\n \t \n System.out.println(\"User Entered: \"+ userinput);\n String pattern =\"rock|paper|scissors|lizard|spock\";\n boolean validinput=true;\n try{ \n while(validinput==true&&playAgian==true)\n {AiChoice=AI(AiChoice);\n \t\t\tuserinput=JOptionPane.showInputDialog(null,\"Enter either Rock,Paper,Scissors,Lizard or spock.\",\"RPSLS\",3);\n \t\t\t userinput =userinput.toLowerCase(); \n \t\t\t String result=\"You picked \"+userinput+\" AI choose \"+AiChoice;\n \t \tif(userinput !=null&&userinput==\"\")\n \t\t{\n \t\t\tJOptionPane.showMessageDialog(null,\"Empty input\",\"Invalid input\",0);\n \t\t\tvalidinput=true;\n \t\t\tplayAgian=true;\n \t\t}\n \t\telse if (!(userinput.matches(pattern)))\n \t\t\t{\n \t\t\t\tJOptionPane.showMessageDialog(null,\"The only acceptable inputs are either Rock,paper,scissors,spock,lizard\",\"Invalid input\",0);\n \t\t\t\tvalidinput=true;\n \t\t\t\tplayAgian=true;\n \t\t\t}\n \t\telse if (userinput==null)\n \t\t{displaygame();\n \t\t\tvalidinput=true;\n \t\t\tplayAgian=false;\n\n \t\t}\n \t\telse\n \t\t {\n \t\t\tif (userinput.equals(\"rock\"))\n \t\t\t{\n \t\t\t\tif (AiChoice.equals(userinput)){JOptionPane.showMessageDialog(null,result+\"\\n Draw\",\"Result\",1);XP=XP+10;points=points+50;}\n \t\t\t\telse if (AiChoice.equals(\"paper\")) {JOptionPane.showMessageDialog(null,result+\"\\n Paper covers Rock \\n >> You Lose!!! <<\",\"Result\",1);XP=XP+5;points=points+0;}\n \t\t\t\telse if (AiChoice.equals(\"scissors\")){ JOptionPane.showMessageDialog(null,result+\"\\n Roc5crushes Scissors \\n >> You Win!!! <<\",\"Result\",1);XP=XP+50;points=points+100;}\n \t\t\t\telse if (AiChoice.equals(\"spock\")) {JOptionPane.showMessageDialog(null,result+\"\\n Spock vaporizes Rock \\n >> You Lose!!! <<\",\"Result\",1);XP=XP+5;points=points+0;}\n \t\t\t\telse {JOptionPane.showMessageDialog(null,result+\"\\n Rock crushes lizard \\n >> You Win!!! <<\",\"Result\",1);XP=XP+50;points=points+100;}\n \t\t\t\n \t\t\t\t\n \t\t\t}\n \t\t\telse if (userinput.equals(\"paper\"))\n \t\t\t{\n \t\t\t\tif (AiChoice.equals(userinput)){JOptionPane.showMessageDialog(null,result+\"\\n Draw\",\"Result\",1);XP=XP+10;points=points+50;}\n \t\t\t\telse if (AiChoice.equals(\"rock\")) {JOptionPane.showMessageDialog(null,result+\"\\n Paper covers Rock \\n >> You Win!!! <<\",\"Result\",1);XP=XP+50;points=points+100;}\n \t\t\t\telse if (AiChoice.equals(\"scissors\")){ JOptionPane.showMessageDialog(null,result+\"\\n Scissors cuts paper \\n >> You Lose !!! <<\",\"Result\",1);XP=XP+5;points=points+0;}\n \t\t\t\telse if (AiChoice.equals(\"spock\")) {JOptionPane.showMessageDialog(null,result+\"\\n Paper disproves spock \\n >> You Win !!! <<\",\"Result\",1);XP=XP+50;points=points+100;}\n \t\t\t\telse {JOptionPane.showMessageDialog(null,result+\"\\n lizard eats paper \\n >> You Lose !!! <<\",\"Result\",1);XP=XP+5;points=points+0;}\n \t\t\t\n \t\t\t\n \t\t\t}\n\n \t \t\telse if (userinput.equals(\"scissors\"))\n \t\t\t{\n \t\t\t\tif (AiChoice.equals(userinput)){JOptionPane.showMessageDialog(null,result+\"\\n Draw\",\"Result\",1);XP=XP+10;points=points+50;}\n \t\t\t\telse if (AiChoice.equals(\"paper\")) {JOptionPane.showMessageDialog(null,result+\"\\n Scissors cuts paper \\n >> You Win !!! <<\",\"Result\",1);XP=XP+50;points=points+100;}\n \t\t\t\telse if (AiChoice.equals(\"rock\")) {JOptionPane.showMessageDialog(null,result+\"\\n Rock crushes Scissors \\n >> You Lose!!! <<\",\"Result\",1);XP=XP+5;points=points+0;}\n \t\t\t\telse if (AiChoice.equals(\"spock\")) {JOptionPane.showMessageDialog(null,result+\"\\n Spock smashes Scissors \\n >> You Lose !!! <<\",\"Result\",1);XP=XP+5;points=points+0;}\n \t\t\t\telse {JOptionPane.showMessageDialog(null,result+\"\\n Scissors decapacitae lizard \\n >> You Win !!! <<\",\"Result\",1);XP=XP+50;;points=points+100;}\n \t\t\t\n \t\t\t\n \t\t\t}\t\t\n\n \t\t\telse if (userinput.equals(\"spock\"))\n \t\t\t{\n \t\t\t\tif (AiChoice.equals(userinput)){JOptionPane.showMessageDialog(null,result+\"\\n Draw\",\"Result\",1);XP=XP+10;;points=points+50;}\n \t\t\t\telse if (AiChoice.equals(\"paper\")){ JOptionPane.showMessageDialog(null,result+\"\\n paper disproves spock \\n >> You Lose !!! <<\",\"Result\",1);XP=XP+5;points=points+0;}\n \t\t\t\telse if (AiChoice.equals(\"scissors\")) {JOptionPane.showMessageDialog(null,result+\"\\n spock Smashes scissors \\n >> You Win !!! <<\",\"Result\",1);XP=XP+50;points=points+100;}\n \t\t\t\telse if (AiChoice.equals(\"rock\")) {JOptionPane.showMessageDialog(null,result+\"\\n Spock vaporizes Rock \\n >> You Win!!! <<\",\"Result\",1);XP=XP+50;points=points+100;}\n \t\t\t\telse {JOptionPane.showMessageDialog(null,result+\"\\n lizard poisons spock \\n >> You Lose !!! <<\",\"Result\",1);XP=XP+5;points=points+0;}\n \t\t\t\n \t\t\t\n \t\t\t}\n\n \t\t\telse if (userinput.equals(\"lizard\"))\n \t\t\t{\n \t\t\t\tif (AiChoice.equals(userinput)){JOptionPane.showMessageDialog(null,result+\"\\n Draw\",\"Result\",1);XP=XP+10;points=points+50;}\n \t\t\t\telse if (AiChoice.equals(\"paper\")){ JOptionPane.showMessageDialog(null,result+\"\\n Lizard eats paper \\n >> You Win !!! <<\",\"Result\",1);XP=XP+50;points=points+100;}\n \t\t\t\telse if (AiChoice.equals(\"scissors\")){ JOptionPane.showMessageDialog(null,result+\"\\n Scissors decapacitae lizard \\n >> You Lose !!! <<\",\"Result\",1);XP=XP+5;points=points+0;}\n \t\t\t\telse if (AiChoice.equals(\"spock\")) {JOptionPane.showMessageDialog(null,result+\"\\n lizard poisons spock \\n >> You Win !!! <<\",\"Result\",1);XP=XP+50;points=points+100;}\n \t\t\t\telse {JOptionPane.showMessageDialog(null,result+\"\\n Rock crushes lizard \\n >> You Lose!!! <<\",\"Result\",1);XP=XP+5;points=points+100;}\n \t\t\t\n \t\t\t\t\n \t\t\t}\n \t\t\tJOptionPane.showMessageDialog(null,\"Your XP: \"+ XP+\"\\n Your Points Accumelated: \"+ points,\" RPSLS\",1);\n \t\t\t//xp=Integer.toString(XP);\n \t\t\tvalidinput=true;\n \t\t\tplayAgian=true;\n\n \t\t\txPerience=Integer.toString(XP);\n\n \t\t\t//saveXP(username.getText(),xp);userXpLog(username.getText(),xp);\n\n \t\t}\n }\n\n } catch(NullPointerException e){displaygame();}\n\t}", "private static String randomYear()\r\n {\r\n String year = \"\";\r\n int number = ran.nextInt(4);\r\n switch(number)\r\n {\r\n case 0:\r\n year = \"freshman\";\r\n break;\r\n case 1:\r\n year = \"sophmore\";\r\n break;\r\n case 2:\r\n year = \"junior\";\r\n break; \r\n case 3:\r\n year = \"senior\";\r\n break;\r\n }\r\n\r\n return year;\r\n }", "Randomizer getRandomizer();", "public static void main(String[] args) {\n\t\tScanner keyboard= new Scanner(System.in);\r\nSystem.out.print(\"Enter a number:\");\r\nString word1,word2 = null,word3 = null,word4; //Create four string for four outputs\r\nint number = keyboard.nextInt();\r\nif(number%15==0){ word1=\"special\";}//check weather it is special\r\nelse { word1=\"not special\";}\r\nif( number>999){word3=\"big\";}//check weather it is big\r\nelse{word3=\"not big\";}\r\nif(number%5==0&&number%6==0&&number%18!=0){word2=\"weird\";} //check weather it is weird\r\nelse{word2=\"not weird\";}\r\nif(word3==\"big\"||word2==\"weird\"){word4=\"scary\";}//check weather it is scary\r\nelse{word4=\"not scary\";}\r\n \r\n// strings ae compared in oder to check the all possible outcome combinations\r\n//Then outcomes are printed as given in the sample test cases\r\n\r\nif(word1==\"special\" && word4!=\"scary\"){\r\n\tSystem.out.println(number+\" is \"+\" \"+word1+\", but \"+word4+\".\");\r\n}\r\nif(word1==\"special\" && word3!=\"big\"&& word2==\"weird\"){\r\n\tSystem.out.println(number+\" is \"+word1+\", \"+word2+\", \"+word4+\", but \"+word3+\".\");\r\n}\r\nif(word1==\"special\" && word3==\"big\" && word2!=\"weird\"){\r\n\tSystem.out.println(number+\" is \"+word1+\" , \"+word3+\", \"+word4+\", but \"+word2+\".\");\r\n}\r\nif(word1!=\"special\" && word3==\"big\" && word2!=\"weird\"){\r\n\tSystem.out.println(number+\" is \"+word3+\", \"+word4+\", but \"+word2+\".\");\r\n}\r\nif(word1!=\"special\" && word3!=\"big\" && word2==\"weird\"){\r\n\tSystem.out.println(number+\" is \"+word2+\", \"+word4+\", but \"+word3+\".\");\r\n}\r\nif(word1!=\"special\" && word3!=\"big\" && word2!=\"weird\"){\r\n\tSystem.out.println(number+\" is \"+word4+\".\");\r\n}\r\nif(word1==\"special\" && word3==\"big\" && word2==\"weird\"){\r\n\tSystem.out.println(number+\" is \"+word1+\", \"+word3+\", \"+word2+\", \"+word4+\".\");\r\n}\r\n\r\n\r\nkeyboard.close();\r\n\t}", "public static void main(String[] args) {\n\n// Random randomizer = new Random();\n// //grab a random noun and adj\n// int randInt = randomizer.nextInt(11);\n// System.out.println(\" random adjective is : \" + adj[randInt]);\n// System.out.println( \" random noun is : \" + noun[randInt]);\n// String randAdj = adj[randInt];\n// String randNoun = noun[randInt];\n// System.out.println();\n// System.out.println(\"Here is your server name: \" + randAdj + \"-\" + randNoun);\n\n //another method\n String nouns = getRandomWord(noun);\n String adjs = getRandomWord(adj);\n System.out.println(adjs + \"-\" + nouns);\n }", "public String user_string() {\n Scanner input = new Scanner(System.in);\n boolean conditional = true;\n while (conditional) {\n boolean condition = input.hasNextInt();\n if (!condition) {\n String user_input = input.nextLine();\n conditional = false; \n return user_input; \n }\n else {\n System.out.println(\"Invalid Input!\");\n conditional = true;\n input.next();\n }\n }\n return \"0\";\n }", "public static void main(String args[]) throws IOException {\n Character Jill = new Character(\"red\", \"brown:\", \"female\", \"green\", \"Jill\");\n Character Sean = new Character(\"red\", \"green\", \"male\", \"green\", \"Sean\");\n Character Becky = new Character(\"brown\", \"brown\", \"female\", \"blue\", \"Becky\");\n Character Tom = new Character(\"brown\", \"green\", \"male\", \"blue\", \"Tom\");\n Character Caroline = new Character(\"blonde\", \"blue\", \"female\", \"blue\", \"Caroline\");\n Character Curtis = new Character(\"brown\", \"blue\", \"male\", \"red\", \"Curtis\");\n Character Steph = new Character(\"brown\", \"brown\", \"female\", \"red\", \"Steph\");\n\n //Add characters to ArrayList\n Roster people = new Roster();\n people.addChar(Jill);\n people.addChar(Sean);\n people.addChar(Becky);\n people.addChar(Tom);\n people.addChar(Caroline);\n people.addChar(Curtis);\n people.addChar(Steph);\n\n //create AI Object and copy Roster\n Roster possChars = new Roster();\n possChars.addChar(Jill);\n possChars.addChar(Sean);\n possChars.addChar(Becky);\n possChars.addChar(Tom);\n possChars.addChar(Caroline);\n possChars.addChar(Curtis);\n possChars.addChar(Steph);\n AI aibot = new AI(possChars);\n\n //create gameplay loop\n boolean noWinner = true;\n\n //create turn loop\n boolean turn = true;\n\n //Create Random number from array for user and computer\n Random rand = new Random();\n int computerNum = rand.nextInt(people.getSize());\n int userNum = rand.nextInt(people.getSize());\n\n //Set random number from array to specific character\n //call to isPlayer and isComputer from Character class to\n // set boolean switch to true to indicate if it belongs to user or computer\n people.getChar(computerNum).setAsComputer();\n people.getChar(userNum).setAsPlayer();\n\n //These values are for the buffered reader input for AI response\n String q = \"\";\n int answer = 2;\n\n\n //Create Menu and character names\n System.out.println(\"Welcome to Guess Who!\");\n System.out.println(\"You will be assigned a random character from the list of created characters\");\n System.out.println(\"You can either guess who the computer has, or ask a question\");\n System.out.println(\"Once you have either made a guess or asked a question, you turn ends and the computer will go\");\n System.out.println(\"Your goal is to guess who the computer has before it guesses your character first!\");\n System.out.println(\"Good Luck!\\n\");\n System.out.println(\"\\nYour character is: \" + people.getChar(userNum).toString());\n\n //System.out.println(\"//test this is the computer's character//\");\n //System.out.println(people.getChar(computerNum).toString());\n\n\n while (noWinner) {\n printMenu();\n do {\n String s = in.readLine().trim();\n int i = Integer.parseInt(s);\n\n switch (i) {\n //Ask question\n case 1:\n displayQuestions();\n\n String t = in.readLine().trim();\n int j = Integer.parseInt(t);\n\n\n switch (j) {\n case 1:\n //male?\n if (people.getChar(computerNum).isGender(\"male\")) {\n System.out.println(\"Yes!\");\n } else {\n System.out.println(\"No\");\n }\n turn = false;\n break;\n case 2:\n //female?\n if (people.getChar(computerNum).isGender(\"female\")) {\n System.out.println(\"Yes!\");\n } else {\n System.out.println(\"No\");\n }\n turn = false;\n break;\n case 3:\n //red hair?\n if (people.getChar(computerNum).isHair(\"brown\")) {\n System.out.println(\"Yes!\");\n } else {\n System.out.println(\"No\");\n }\n turn = false;\n break;\n case 4:\n //brown hair?\n if (people.getChar(computerNum).isHair(\"red\")) {\n System.out.println(\"Yes!\");\n } else {\n System.out.println(\"No\");\n }\n turn = false;\n break;\n case 5:\n //blonde hair?\n if (people.getChar(computerNum).isHair(\"blonde\")) {\n System.out.println(\"Yes!\");\n } else {\n System.out.println(\"No\");\n }\n turn = false;\n break;\n case 6:\n //brown eyes?\n if (people.getChar(computerNum).isEye(\"green\")) {\n System.out.println(\"Yes!\");\n } else {\n System.out.println(\"No\");\n }\n turn = false;\n break;\n case 7:\n //green eyes?\n if (people.getChar(computerNum).isEye(\"blue\")) {\n System.out.println(\"Yes!\");\n } else {\n System.out.println(\"No\");\n }\n turn = false;\n break;\n case 8:\n //blue eyes?\n if (people.getChar(computerNum).isEye(\"brown\")) {\n System.out.println(\"Yes!\");\n } else {\n System.out.println(\"No\");\n }\n turn = false;\n break;\n case 9:\n //green shirt?\n if (people.getChar(computerNum).isShirt(\"green\")) {\n System.out.println(\"Yes!\");\n\n } else {\n System.out.println(\"No\");\n }\n turn = false;\n break;\n case 10:\n //blue shirt?\n if (people.getChar(computerNum).isShirt(\"blue\")) {\n System.out.println(\"Yes!\");\n } else {\n System.out.println(\"No\");\n }\n\n turn = false;\n break;\n case 11:\n //red shirt?\n if (people.getChar(computerNum).isShirt(\"red\")) {\n\n System.out.println(\"Yes!\");\n } else {\n System.out.println(\"No\");\n }\n turn = false;\n break;\n default:System.out.println(\"Please enter a valid number\");\n }\n\n break;\n //Guess computer's character\n case 2:\n System.out.println(\"Input the character that you believe the AI has\\n First letter capitalized Please :)\");\n String guess = in.readLine().trim();\n if (people.getChar(computerNum).isName(guess)) {\n System.out.println(\"Congratulations! You guessed correctly!\\n You win!!!\\nThanks for Playing :D\");\n noWinner = false;\n } else {\n System.out.println(\"No, try again.\");\n }\n break;\n //See list of playable characters\n\n case 3:\n System.out.println(people.toString());\n\n break;\n //see ALL characters' attributes\n case 4:\n System.out.println(people.getAttributes());\n break;\n //See User's character and their attributes\n case 5:\n System.out.println(people.getMyCharacter(userNum));\n break;\n //Quit game\n case 6:\n System.out.println(\"Goodbye!\");\n turn = false;\n noWinner = false;\n break;\n default:System.out.println(\"Please enter a valid number\");\n }\n } while (turn);\n\n //AI takes turn\n //check for lowest h value in Hashmap to ask question\n //If yes, remove appropriate characters from aiRoster\n //Delete question from Hashmap\n //get traits from remaining characters and update question values\n //If no, do same, but with opposite answers\n if (turn == false) {\n\n if (aibot.aiRoster.getSize() == 1) {\n System.out.println(\"Your character is \" + aibot.aiRoster.getChar(0));\n noWinner = false;\n }\n else {\n String quest = aibot.bestQuestion();\n System.out.println(\"Is \" + quest + \" true?\" + \"\\nType '1' for yes, '0' for no, and 2 to see your Character's attributes\");\n\n do {\n q = in.readLine().trim();\n answer = Integer.parseInt(q);\n\n\n if (answer == 1) {\n aibot.activateBrain(1, quest);\n turn = true;\n } else if (answer == 0) {\n aibot.activateBrain(0, quest);\n turn = true;\n } else if(answer == 2){\n System.out.println(people.getMyCharacter(userNum));\n }\n else {\n System.out.println(\"Please enter a '1' or '0' to answer\");\n }\n } while(turn == false);\n\n }\n\n }\n }\n }", "public static void main (String []args) {\n\t\tSystem.out.println(\"What is your dog's name?\");\n\t\tScanner myScanner = new Scanner(System.in); \n\t\tString dogName = myScanner.nextLine(); // reads user input\n\t\tSystem.out.println(\"Well then, I have this highly reliable report on \" + dogName + \"'s prestigious background right here.\");\n\t\tSystem.out.println(dogName + \" is: \");\n\t\t\n\t\tint percentage = 100; //keeps track the current percentage left\n\t\t\n\t\tRandom rand = new Random(); //creates an instance of random class\n\t\t//generates a random integer in range 0 to 100\n\t\tint randPercentage = rand.nextInt(percentage + 1);\n\t\tSystem.out.println( randPercentage + \"% St. Bernard\");\n\t\t//updates the total and comes up with a random integer in new range\n\t\tpercentage -= randPercentage;\n\t\trandPercentage = rand.nextInt(percentage + 1);\n\t\tSystem.out.println( randPercentage + \"% Chihuahua\"); \n\t\tpercentage -= randPercentage;\n\t\trandPercentage = rand.nextInt(percentage + 1);\n\t\tSystem.out.println( randPercentage + \"% Dramatic RedNosed Asian Pug\");\n\t\tpercentage -= randPercentage;\n\t\trandPercentage = rand.nextInt(percentage + 1);\n\t\tSystem.out.println( randPercentage + \"% Common Cur\"); \n\t\t//last breed is however much that is left\n\t\tpercentage -= randPercentage;\n\t\tSystem.out.println(percentage + \"% King Doberman\");\n\t\tSystem.out.println(\"Wow, that's QUITE the dog!\");\n\t\tmyScanner.close();\n\t}", "public static void main(String[] args) {\n String[][][] temp = soRandom();\n for (int i = 0; i < temp.length; i++) {\n for (int j = 0; j < temp[i].length; j++) {\n for (int k = 0; k < temp[i][j].length; k++) {\n temp[i][j][k] = coder();\n }\n }\n }\n //create empty array\n String[][][] temp2 = soRandom();\n //print array\n print(temp);\n print(temp2);\n //copy over array\n temp2 = holoport(temp, temp2);\n //print copied array\n print(temp2);\n //accept code for sampling()\n Scanner s = new Scanner(System.in);\n String code = \"\";\n boolean input = true;\n while (input) {\n System.out.println(\"Please enter a code\");\n code = s.next();\n if (code.length() == 6) {\n input = false;\n }\n }\n //run the rest of the methods with no return values\n sampling(temp2, code);\n percentage(temp, temp2);\n frankenstein(temp2);\n\n\n }", "public static void main(String[] args) {\n\t\t\r\n\t\tint range = 6;\r\n\t\tint min = 1;\r\n for (int i = 0; i < 6; i++) { \r\n int rand = (int)(Math.random() * range) + min; \r\n \r\n //Output is different everytime this code is executed \r\n System.out.println(rand); \r\n int randomNu = 8;\r\n String color;\r\n switch (color) {\r\n case 1: color = \"o\";\r\n break;\r\n case 2: monthString = \"February\";\r\n break;\r\n case 3: monthString = \"March\";\r\n break;\r\n\r\n\t}\r\n\r\n\t}\r\n}", "public static void main(String[] args) {\n\t\t\r\n\t\tint choice=0;\r\n\t\tint pin;\r\n\t\t\r\n\t\t\r\n\t\tScanner sc=new Scanner(System.in);\r\n\t\tRandom rand=new Random();\r\n\t\tdo\r\n\t\t{\r\n\t\t\tSystem.out.println(\"1. Create User \");\r\n\t\t\tSystem.out.println(\"2. Login \");\r\n\t\t\tSystem.out.println(\"3. Exit \");\r\n\t\t\tSystem.out.println(\"Enter a choice : \");\r\n\t\t\tchoice=sc.nextInt();\r\n\t\t\t//sc.nextLine();\r\n\t\t\tif(choice==1)\r\n\t\t\t{\r\n\t\t\t\tString name,phone,mail,lname;\r\n\t\t\t\tob[noAcc]=new Accountss();\r\n\t\t\t\tSystem.out.println(\"Enter the details...\");\r\n\t\t\t\tSystem.out.println(\"Enter the Name \t\t: \");\r\n\t\t\t\tname=sc.next();\r\n\t\t\t\tif(noAcc!=0)\r\n\t\t\t\t{\r\n\t\t\t\t\tfor(int i=0;i<noAcc;i++)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif(ob[i].name.toString().equals(name))\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.println(\"\\n Enter your Last Name :\");\r\n\t\t\t\t\t\t\tlname=sc.next();\r\n\t\t\t\t\t\t\tname=name+lname;\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\tob[noAcc].name=new StringBuffer(name);\r\n\t\t\t\tSystem.out.println(\"Enter the Phone Number : \");\r\n\t\t\t\tphone=sc.next();\r\n\t\t\t\tint flag=1;\r\n\t\t\t\tdo {\r\n\t\t\t\t\tflag=1;\r\n\t\t\t\t\tif(phone.length()!=10)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tSystem.out.println(\"Phone Number Must Contains 10 digit.. Enter a new Number\");\r\n\t\t\t\t\t\tphone=sc.next();\r\n\t\t\t\t\t\tflag=0;\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\tfor(int i=0;i<noAcc;i++)\r\n\t\t\t\t\t\tif(ob[i].phone.toString().equals(phone))\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.println(\"Phone Number Already Exists.. Enter a new Number\");\r\n\t\t\t\t\t\t\tphone=sc.next();\r\n\t\t\t\t\t\t\tflag=0;\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}while(flag!=1);\r\n\t\t\t\tob[noAcc].phone=new StringBuffer(phone);\r\n\t\t\t\tSystem.out.println(\"Enter the Mail : \");\r\n\t\t\t\tmail=sc.next();\r\n\t\t\t\t\r\n\t\t\t\tdo {\r\n\t\t\t\t\tflag=1;\r\n\t\t\t\t\tif(!mail.contains(\"@\")||!mail.contains(\".\"))\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.println(\"Not a valid Email ID.. Enter a new Mail ID\");\r\n\t\t\t\t\t\tmail=sc.next();\r\n\t\t\t\t\t\tflag=0;\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\tfor(int i=0;i<noAcc;i++)\r\n\t\t\t\t\t\tif(ob[i].mail.toString().equals(mail))\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.println(\"Mail ID Already Exists.. Enter a new Mail ID\");\r\n\t\t\t\t\t\t\tmail=sc.next();\r\n\t\t\t\t\t\t\tflag=0;\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}while(flag!=1);\r\n\t\t\t\tob[noAcc].mail=new StringBuffer(mail);\t\t\t\r\n\t\t\t\tSystem.out.println(\"Enter the Address : \");\r\n\t\t\t\tob[noAcc].addr=new StringBuffer(sc.nextLine());\r\n\t\t\t\tsc.nextLine();\r\n\t\t\t\tob[noAcc].accNo+=noAcc;\r\n\t\t\t\tSystem.out.println(\"Account Number is : \"+ob[noAcc].accNo);\r\n\t\t\t\tpin=rand.nextInt(8999)+1000;\r\n\t\t\t\tSystem.out.println(\"Generated PIN = \"+pin);\r\n\t\t\t\tob[noAcc].pin=pin;\r\n\t\t\t\tnoAcc++;\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\telse if(choice==2)\r\n\t\t\t{\r\n\t\t\t\tint pin_number;\r\n\t\t\t\tint id=-1;\r\n\t\t\t\t//do{\r\n\t\t\t\tSystem.out.println(\"Enter the Account Number : \");\r\n\t\t\t\tint accNo=sc.nextInt();\r\n\t\t\t\tfor(int i=0;i<noAcc;i++)\r\n\t\t\t\t{\r\n\t\t\t\t\tif((ob[i].accNo)==accNo)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tid=i;\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tif(id==-1)\r\n\t\t\t\t\tSystem.out.println(\"Account not Found...\");\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\tSystem.out.println(\"Enter the Pin : \");\r\n\t\t\t\t\tpin_number=sc.nextInt();\r\n\t\t\t\t\tif(pin_number==ob[id].pin)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.println(\"Account Found..\");\r\n\t\t\t\t\t\tOptions(id);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tSystem.out.println(\"Incorrect PIN...\");\r\n\t\t\t\t\t\tid=-1;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t//}while(id!=-1);\r\n\t\t\t}\r\n\t\t\telse if(choice==3)\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"Have a nice Day :D\");\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"Invalid Choice...\");\r\n\t\t\t}\r\n\r\n\t\t}while(choice!=3);\r\n\t\tsc.close();\r\n\t}", "private void nameturn1() {\n \tplayerturn = randplayerstart%2;\n \tSystem.out.println(\"random geneator:\"+randplayerstart);\n \tif (playerturn%2==0) {\n \t\tplayername=namePlayer1;\n \t}\n \telse { playername=namePlayer2;}\n }", "private void generateData(){\n generateP50boys();\n generateP50girls();\n generateP97boys();\n generateP97girls();\n }", "public String createName() {\r\n\r\n boolean donePickingName = false;\r\n String inputName =\"\";\r\n \r\n while (donePickingName == false) {\r\n System.out.println(\"\\nWHAT IS YOUR NAME?\");\r\n System.out.print(\"NAME: \");\r\n inputName = scan.next();\r\n \r\n System.out.println(\"You chose \" + \"'\" + inputName + \"'\" + \" as your name.\\n\");\r\n System.out.println(\"Hello \" + inputName + \"!\");\r\n System.out.println(\"This will be your name through the whole game, do you want to keep it?\\n\"\r\n + \"YES/NO\");\r\n System.out.print(\"ACTION: \");\r\n\r\n String actionInput;\r\n actionInput = scan.next().substring(0, 1);\r\n\r\n if (actionInput.equalsIgnoreCase(\"n\")) {\r\n donePickingName = false;\r\n }\r\n if (actionInput.equalsIgnoreCase(\"y\")) {\r\n System.out.println(\"\\nYou chose to keep your name\");\r\n donePickingName = true;\r\n } else {\r\n System.out.println(\"\\n'\" + actionInput + \"'\" + \" is not a valid option... Try again.\");\r\n }\r\n \r\n }\r\n return inputName;\r\n }", "static public String hobNameGen(){\n int i = rand.nextInt(8);\n String hName = name[i];\n return hName;\n }", "public static void main(String[] args) {\n\t\t\r\n\t\tScanner scan = new Scanner(System.in);\r\n\t\t\r\n\t\tint input = 0;\r\n\t\tint ai = 0;\r\n\t\tint win = 0;\r\n\t\tint defeat = 0;\r\n\t\tint draw = 0;\r\n\t\t\r\n\t\tString me = \"\";\r\n\t\tString com = \"\";\r\n\t\tSystem.out.println(\"★☆★☆★☆★☆가위바위보 게임입니다!★☆★☆★☆★☆\");\r\n\t\tfor(int i = 1 ; i < 4 ; i++) {\r\n\t\t\tSystem.out.println(\"\\t\\t\\t\\t\\t 최대횟수/남은횟수\");\r\n\t\t\tSystem.out.println(\"가위(1), 바위(2), 보(3) 중 하나를 입력하세요>>>\\t\\t3 / \" + i);\r\n\t\t\tinput = scan.nextInt();\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tai = (int)(Math.random()*3) + 1;\r\n\t\t\t\r\n\t\t\tif (input == 1) me = \"가위\";\r\n\t\t\telse if (input == 2) me = \"바위\";\r\n\t\t\telse if (input == 3) me = \"보\";\r\n\t\t\telse System.out.println(\"잘못 입력하셨습니다\");\r\n\t\t\tif (ai == 1) com = \"가위\";\r\n\t\t\telse if (ai == 2) com = \"바위\";\r\n\t\t\telse if (ai == 3) com = \"보\";\r\n\t\t\t\r\n\t\t\tif(me != \"\") {\r\n\t\t\t\tSystem.out.println(\"컴퓨터도 선택 했습니다.\");\r\n\t\t\t\tSystem.out.println(\"당신은 \\\"\" + me + \"\\\" 상대는 \\\"\" + com + \"\\\" 을 선택했습니다\");\r\n\t\t\t\r\n\t\t\t\tswitch (input - ai) {\r\n\t\t\t\tcase -1 : case 2 : \r\n\t\t\t\t\tSystem.out.println(\"★☆저런~~ 졌네요★☆\\n\"); defeat += 1; \r\n\t\t\t\t\tSystem.out.println(\"전적 => 승리 [ \" + win + \" ]\\t패배 [ \" + defeat + \" ]\\t무승부 [ \" + draw + \" ]\");\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\tcase -2 : case 1 : \r\n\t\t\t\t\tSystem.out.println(\"★☆오~~ 이겼네요★☆\\n\"); win += 1; \r\n\t\t\t\t\tSystem.out.println(\"전적 => 승리 [ \" + win + \" ]\\t패배 [ \" + defeat + \" ]\\t무승부 [ \" + draw + \" ]\");\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\tcase 0 : \r\n\t\t\t\t\tSystem.out.println(\"★☆이런! 비겼네요★☆\\n\"); draw += 1;\r\n\t\t\t\t\tSystem.out.println(\"전적 => 승리 [ \" + win + \" ]\\t패배 [ \" + defeat + \" ]\\t무승부 [ \" + draw + \" ]\");\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\tdefault : System.out.println(\"오류 입니다\"); \r\n\t\t\t\t}\r\n\t\t\t\tSystem.out.println(\"\");\r\n\t\t\t}\r\n\t\t}\r\n\t\tif(win==defeat) {\r\n\t\t\tSystem.out.println(\"최종 결과 => 무승부 입니다\");\r\n\t\t} else if(win > defeat) {\r\n\t\t\tSystem.out.println(\"최종 결과 => 당신의 승리입니다\");\r\n\t\t} else if(win < defeat) {\r\n\t\t\tSystem.out.println(\"최종 결과 => 당신의 패배입니다\");\r\n\t\t} else {\r\n\t\t\tSystem.out.println(\"오류 입니다\");\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}", "public static void main(String[] args) {\n\t\tRandom rndm = new Random();\r\n\t\tchar c1 = (char)(rndm.nextInt(26) + 'a');\r\n\t\tchar c2 = (char)(rndm.nextInt(26) + 'a');\r\n\t\tchar c3 = (char)(rndm.nextInt(26) + 'a');\r\n\t\tchar[] chars = {c1,c2,c3};\r\n\t\tString s = new String(chars);\r\n\t\tint num1 = rndm.nextInt(10);\r\n\t\tint num2 = rndm.nextInt(10);\r\n\t\tint num3 = rndm.nextInt(10);\r\n\t\tint num4 = rndm.nextInt(10);\r\n\t\tString lp = \"Your License Plate Number is \" + s.toUpperCase() + num1 + num2 + num3 + num4;\r\n\t\tSystem.out.println(lp);\r\n\r\n\t}", "public String printAcceptance(int school){\n int letterPicker = (int) (Math.random()*10);\n String accLetter = acceptanceLetter[letterPicker];\n if (school == 0){\n accLetter += \"Greendale..?\";\n }\n if (school == 1){\n accLetter += \"Harvard!\";\n }\n if (school == 2){\n accLetter += \"MIT!\";\n }\n return accLetter;\n }", "public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n// System.out.println(\"Enter a brief sentence: \");\n//// String userSentence = scanner.next(); // Doesn't work with more than one word\n// String userSentence = scanner.nextLine();\n// System.out.printf(\"Your sentence was: %s\", userSentence);\n//// System.out.format(\"Here is the random variable: %s%n\", random);\n\n\n\n// Scanner scanner = new Scanner(System.in);\n///////////////// Attempt as using strings ////////////\n// System.out.println(\"Please enter length:\");\n// double userLength = new Double(scanner.nextLine());\n// System.out.println(\"Please enter width:\");\n// double userWidth = scanner.nextDouble();\n\n\n// String userLength = scanner.next();\n// String userWidth = scanner.nextLine();\n// int numLength = (int) userLength;\n// int numWidth = (int) userWidth;\n///////////////////////////////////////////////////////\n\n///////////////// Using integers //////////////////////\n// System.out.println(\"Please enter a length: \");\n// int userLength = scanner.nextInt();\n// System.out.println(\"Please enter a width: \");\n// int userWidth = scanner.nextInt();\n///////////////////////////////////////////////////////\n\n///////////////// Using decimals //////////////////////\n System.out.println(\"Please enter the length of the room, in decimal format: \");\n double userLength = scanner.nextDouble();\n System.out.println(\"Please enter the width of the room, in decimal format: \");\n double userWidth = scanner.nextDouble();\n System.out.println(\"Please enter the height of the room, in decimal format:\");\n double userHeight = scanner.nextDouble();\n///////////////////////////////////////////////////////\n\n System.out.format(\"You entered a length of %.2f, a width of %.2f, and a height of %.2f.\\n\", userLength, userWidth, userHeight);\n\n// System.out.println(\"The area is: \" + (userLength*userWidth));\n// System.out.println(\"The perimeter is: \" + (2*userLength + 2*userWidth));\n\n System.out.printf(\"The area of the room is %.2f square feet.%n\", userLength*userWidth);\n System.out.printf(\"The perimeter of the room is %.2f feet.%n\", 2*userLength + 2*userWidth);\n System.out.printf(\"The volume of the room is %.2f cubic feet.%n\", userLength*userWidth*userHeight);\n\n\n\n\n }", "public static String randomIdentifier() {\r\n\t\tfinal String lexicon = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\";\r\n\t\tfinal java.util.Random rand = new java.util.Random();\r\n\t\t// consider using a Map<String,Boolean> to say whether the identifier is\r\n\t\t// being used or not\r\n\t\tfinal Set<String> identifiers = new HashSet<String>();\r\n\r\n\t\tStringBuilder builder = new StringBuilder();\r\n\t\twhile (builder.toString().length() == 0) {\r\n\t\t\tint length = rand.nextInt(5) + 5;\r\n\t\t\tfor (int i = 0; i < length; i++)\r\n\t\t\t\tbuilder.append(lexicon.charAt(rand.nextInt(lexicon.length())));\r\n\t\t\tif (identifiers.contains(builder.toString()))\r\n\t\t\t\tbuilder = new StringBuilder();\r\n\t\t}\r\n\t\treturn builder.toString();\r\n\t}", "@Override\r\n\tpublic String rollString() {\r\n\t\treturn \"\"+Randomizer.getRandomNumber(possibleValues);\r\n\t}", "private String getRandomString() {\n\t\tStringBuilder salt = new StringBuilder();\n\t\tRandom rnd = new Random();\n\t\twhile (salt.length() <= 5) {\n\t\t\tint index = (int) (rnd.nextFloat() * SALTCHARS.length());\n\t\t\tsalt.append(SALTCHARS.charAt(index));\n\t\t}\n\t\tString saltStr = salt.toString();\n\t\treturn saltStr;\n\t}", "public static String randomSelection() {\n int min = 1;\n int max = 3;\n String randomSelection;\n Random random = new Random(System.currentTimeMillis());\n int randomNumber = random.nextInt((max - min) +1) +min;\n if(randomNumber == 1) {\n randomSelection = \"rock\";\n } else if (randomNumber == 2) {\n randomSelection = \"paper\";\n } else {\n randomSelection = \"scissors\";\n }\n return randomSelection;\n }", "public static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);//creates a scanner to scan input\r\n\t\tString[] heroes = {\"Spiderman\",\"Ironman\",\"Doctor Strange\",\"Hulk\",\"Thor\"};//a string array of heroes\r\n\t\t\r\n\t\tString[] powers = new String[heroes.length];//creates string array 'powers' to store within the heroes\r\n\t\t\r\n\t\t//includes a string for each powers variable\r\n\t\tpowers[0] = \"spider-senses\";\r\n\t\tpowers[1] = \"durability\";\r\n\t\tpowers[2] = \"spells\";\r\n\t\tpowers[3] = \"strength\";\r\n\t\tpowers[4] = \"lightning\"; \r\n\t\t\r\n\t\tboolean[] isHuman = new boolean[heroes.length];//creates boolean array 'isHuman' to store within 'heroes'\r\n\t\t\r\n\t\t//initial boolean to determine if the hero is human\r\n\t\tisHuman[0] = true;\r\n\t\tisHuman[1] = true;\r\n\t\tisHuman[2] = true;\r\n\t\tisHuman[3] = false;\r\n\t\tisHuman[4] = false;\r\n\t\t\r\n\t\t//prints the array list of heroes and their status\r\n\t\tfor(int i = 0; i < heroes.length; i++) {\r\n\t\t\tSystem.out.println(\"i: \" + i + \" Name: \" + heroes[i] + \" \\t\\tPowers: \" + powers[i] + \" \\tAre they human?: \" + isHuman[i]);\r\n\t\t}\r\n\t\t\r\n\t\t//checks if the heroes are human\r\n\t\t//if not human, their powers changes to 'NONE'\r\n\t\tfor(int i = 0; i < heroes.length; i++) {\r\n\t\t\tif(isHuman[i] == false) {\r\n\t\t\t\tpowers[i] = \"NONE\";\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\tSystem.out.println();//spacer\r\n\t\tSystem.out.println(\"A disease known as the Couprinite has been exposed to the Avengers. Everyone survived its effect, however, \" + heroes[4] + \" and the \" + heroes[3] + \" loose all their \"\r\n\t\t\t\t+ \"\\npowers...\");//a brief story as to how they lost their powers\r\n\t\tSystem.out.println();//spacer\r\n\t\tSystem.out.println(\"...status updated.\");//informs user the status has updated\r\n\t\tSystem.out.println();//spacer\r\n\t\t\r\n\t\t//prints the array list of heroes and their current status\r\n\t\tfor(int i = 0; i < powers.length; i++) {\r\n\t\t\tSystem.out.println(\"i: \" + i + \" Name: \" + heroes[i] + \" \\t\\tPowers: \" + powers[i] + \" \\t\\tAre they human?: \" + isHuman[i]);\r\n\t\t}\r\n\r\n\t}", "public void generateRandomVaraibles() {\r\n\r\n\t\tfor (DataVariable var : dataTestModel) {\r\n\t\t\tif (!var.getType().equals(\"LOCAL_DATA\") && !var.getType().equals(\"OUTPUT_DATA\")) {\r\n\t\t\t\tif (var.getType().equals(\"boolean\") || var.getType().equals(\"Boolean\")) {\r\n\t\t\t\t\tvar.setValue(String.valueOf(getRandomBoolean()));\r\n\r\n\t\t\t\t} else if (var.getType().equals(\"int\")) {\r\n\t\t\t\t\tif (var.getMinimumValue() != null && var.getMinimumValue().length() > 0\r\n\t\t\t\t\t\t\t&& var.getMaximumValue() != null && var.getMaximumValue().length() > 0) {\r\n\t\t\t\t\t\tvar.setValue(String.valueOf(randomInt(Integer.parseInt(var.getMinimumValue()),\r\n\t\t\t\t\t\t\t\tInteger.parseInt(var.getMaximumValue()))));\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tvar.setValue(String.valueOf(randomInt(0, 100)));\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (var.getType().equals(\"double\")) {\r\n\t\t\t\t\tif (var.getMinimumValue() != null && var.getMinimumValue().length() > 0\r\n\t\t\t\t\t\t\t&& var.getMaximumValue() != null && var.getMaximumValue().length() > 0) {\r\n\t\t\t\t\t\tvar.setValue(String.valueOf(randomDouple(Double.parseDouble(var.getMinimumValue()),\r\n\t\t\t\t\t\t\t\tDouble.parseDouble(var.getMaximumValue()))));\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tvar.setValue(String.valueOf(randomDouple(0.0, 100.0)));\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t}\r\n\t}", "private String getOptionStrings(int choice) {\n //these are the common ones, maybe the only ones\n switch (choice) {\n case 0: return \"\";\n case 1: return \"Shoot Laser gun.\";\n case 2: return \"Shoot Missile gun.\";\n case 3: return \"Wait a turn\";\n\n case 4: return \"Shoot at Pilot, Gun L, or Gun M?\";\n case 5: return \"Shoot at Shield, or Engine?\";\n case 6: return \"Shoot at random?\";\n\n case 7: return \"Shoot at Pilot?\";\n case 8: return \"Shoot at Gun L?\";\n case 9: return \"Shoot at Gun M?\";\n\n case 10: return \"Shoot at Shield?\";\n case 11: return \"Shoot at Engine?\";\n case 12: return \"Shoot at Random?\";\n\n case 100: return \"Enter any number to continue\";\n }\n //if value given is not found above\n return \"Error\";\n }", "public void getInput(){\n\t\tScanner scan= new Scanner(System.in);\n\t\t//Get the range\n\t\tif(scan.hasNext()){\n\t\t\tcount=Integer.parseInt(scan.nextLine()); \n\t\t}\n\t\t//Initialize the array\n\t\tpeople = new People[count];\n\t\t//Get the array elements\n\t\tint i=0;\n\t\twhile(i<count){\n\t\t\tString lin[] = scan.nextLine().split(\" \");\n\t\t\tpeople[i] = new People(Integer.parseInt(lin[0]), Double.parseDouble(lin[1]));\n\t\t\ti++;\n\t\t}\n\t\t\n\t\t\n\t}", "public static void main(String[] args) {\n\r\n\t\tScanner scan = new Scanner(System.in);\r\n\t\tString input1 = \"\";\r\n\t\tString input2 = \"\";\r\n\t\twhile (true) {\r\n\t\t\tSystem.out.println(\"is the item an animal, vegetable, or mineral?\");\r\n\t\t\tinput1 = scan.next();\r\n\t\t\tif (input1.equals(\"animal\") || input1.equals(\"vegetable\") || input1.equals(\"mineral\")) {\r\n\t\t\t\tSystem.out.println(\"is the \" + input1 + \" bigger or smaller than your laptop?\");\r\n\t\t\t\tinput2 = scan.next();\r\n\t\t\t\tif (input2.equals(\"bigger\") || input2.equals(\"smaller\")) {\r\n\t\t\t\t\tSystem.out.println(\"is your \" + input1 + \" a...\");\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tSystem.out.println(\"Enter bigger or smaller\");\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tSystem.out.println(\"Enter animal, vegetable, or mineral\");\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\tif (input1.equals(\"animal\") && input2.equals(\"bigger\"))\r\n\t\t\tSystem.out.println(\"horse?\");\r\n\t\tif (input1.equals(\"animal\") && input2.equals(\"smaller\"))\r\n\t\t\tSystem.out.println(\"rabbit?\");\r\n\t\tif (input1.equals(\"vegetable\") && input2.equals(\"bigger\"))\r\n\t\t\tSystem.out.println(\"cabbage?\");\r\n\t\tif (input1.equals(\"vegetable\") && input2.equals(\"smaller\"))\r\n\t\t\tSystem.out.println(\"potato?\");\r\n\t\tif (input1.equals(\"mineral\") && input2.equals(\"bigger\"))\r\n\t\t\tSystem.out.println(\"car?\");\r\n\t\tif (input1.equals(\"mineral\") && input2.equals(\"smaller\"))\r\n\t\t\tSystem.out.println(\"phone?\");\r\n\r\n\t}", "String getUsersInput(String outForUser) throws IOException;", "public void get_UserInput(){\r\n\t Scanner s = new Scanner(System.in);\r\n\t // get User inputs \r\n\t System.out.println(\"Please enter a number for Dry (double):\");\r\n\t DRY = s.nextDouble();\r\n\t System.out.println(\"Please enter a number for Wet (double):\");\r\n\t WET = s.nextDouble(); \r\n\t System.out.println(\"Please enter a number for ISNOW (double):\");\r\n\t ISNOW = s.nextDouble();\r\n\t System.out.println(\"Please enter a number for Wind(double):\");\r\n\t WIND = s.nextDouble(); \r\n\t System.out.println(\"Please enter a number for BUO (double):\");\r\n\t BUO = s.nextDouble();\r\n\t System.out.println(\"Please enter a number for Iherb (int):\");\r\n\t IHERB = s.nextInt(); \r\n\t System.out.println(\"****Data for parameters are collected****.\");\r\n\t System.out.println(\"Data for parameters are collected.\");\r\n\t dry=DRY;\r\n\t wet=WET;\r\n}", "public static void main(String[] args) {\n //Milestone 2\n //create a scanner for reading user input and a random number\n //generator with Config.SEED as the seed\n Scanner sc = new Scanner( System.in );\n Random rdm = new Random( Config.SEED );\n\n \n\n\n //Milestone 3\n //How the program starts depends on the command-line arguments.\n // Command-line arguments can be names of therapists for example:\n // Eliza Joe Laura\n // If no command-line arguments then the therapists name is Eliza\n // and this reads a file with that name and the Config.RESPONSE_FILE_EXTENSION.\n // Example filename: Eliza.rsp\n // If only one command-line argument, then read the responses from \n // the corresponding file with Config.RESPONSE_FILE_EXTENSION. \n // If there is more than one command-line argument then offer them\n // as a list of people to talk with. For the three therapists above the prompt is\n // \"Would you like to speak with Eliza, Joe, or Laura?\"\n // When a user types a name then read the responses from the file which\n // is the selected name and Config.RESPONSE_FILE_EXTENSION extension.\n // Whatever name the user types has the extension appended and\n // is read using loadResponseTable. If loadResponseTable can't load\n // the file then it will report an error.\n String tName = \"Eliza\";\n String usrRes = \"\";\n ArrayList<String> rsp = new ArrayList<String>();\n String r = \"\";\n if( args.length > 0 )\n {\n\t\t\tr = \"Would you like to speak with\";\n\t\t\tfor( int i = 0 ; i < args.length - 1 ; i++ )\n\t\t\t\tr = r + \" \" + args[i] +\",\";\n\t\t\tr = r + \" or \" + args[args.length-1] + \"?\"; \n\t\t\tSystem.out.println( r );\n\t\t\trsp.add( r );\n\t\t\tr = \"\";\n\t\t\t\n\t\t\tusrRes = sc.nextLine();\n\t\t\trsp.add(usrRes);\n\t\t\ttName = usrRes;\n\t\t}\n\t\t\n\t\t\n\t\tString fName = tName + Config.RESPONSE_FILE_EXTENSION;\n\t\t//System.out.println( tName );\n\t\tArrayList<ArrayList<String>> rspTable = loadResponseTable( fName );\n\n\n //Milestone 2\n //name prompt\n \n r = \"Hi I'm \" + tName + \", what is your name?\";\n System.out.println( r );\n rsp.add( r );\n r = \"\";\n\t\tusrRes = sc.nextLine();\n\t\trsp.add(usrRes);\n\t\t\n String usrName = usrRes;\n \n //Milestone 2\n //welcome prompt\n\t\t\n\t\tr = \"Nice to meet you \" + usrName + \". What is on your mind?\";\n\t\tSystem.out.println( r );\n\t\trsp.add( r );\n\t\tr = \"\";\n \n \n //Milestone 2\n //begin conversation loop\n\t\twhile( true )\n\t\t{\n //Milestone 2\n //obtain user input\n\t\t\tusrRes = sc.nextLine();\n\t\t\trsp.add( usrRes );\n\t\t\t//System.out.println( usrRes );\n\t\t\t\n //Milestone 2\n //prepareInput\n String[] prepedUsrRes = prepareInput(usrRes);\n\n //Milestone 3\n //if no quit words then prepareResponse\n \n \n\n\n //Milestone 2\n //end loop if quit word\n \n /*\n\t\t\tfor( String str : prepedUsrRes )\n\t\t\t\tSystem.out.println( str ); \n ArrayList<String> temp = separatePhrases( usrRes );\n System.out.println( temp.get(0) );\n for( String str : temp )\n\t\t\t\tSystem.out.println( str );\n\t\t\t\t* */\n\t\t\t\n\n if( foundQuitWord( separatePhrases( usrRes ) ) )\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tr = prepareResponse( prepedUsrRes , rdm , rspTable );\n rsp.add( r );\n System.out.println( r );\n r = \"\";\n\t\t}\n\n\n //Milestone 2\n //ending prompt\n r = \"Goodbye \" + usrName + \".\";\n System.out.println( r );\n rsp.add( r );\n r = \"\";\n\n \n //Milestone 3\n //Save all conversation (user and system responses) starting\n //with this program saying \"Hi I'm...\" and concludes with\n //\"Goodbye <name>.\".\n //Always prompt the user to see if they would like to save a \n //record of the conversation. If the user enters a y or Y as the \n //first non-whitespace character then prompt for filename and save, \n //otherwise don't save dialog. After successfully saving a dialog \n //print the message \"Thanks again for talking! Our conversation is saved in: <filename>\".\n //If saveDialog throws an IOException then catch it, print out the error:\n // \"Unable to save conversation to: \" <name of file> \n //Repeat the code prompting the user if they want to save the dialog.\n\t\tSystem.out.println( \"Would you like to save a copy of this dialog? [y/n]\" );\n\t\tusrRes = sc.nextLine();\n\t\tboolean done = false;\n\t\twhile( !done )\n\t\t{\n\t\t\tif ( usrRes.charAt(0) == 'Y' || usrRes.charAt(0) == 'y' )\n\t\t\t{\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tsaveDialog( rsp , tName + \"_dialog.txt\" );\n\t\t\t\t\tdone = true;\n\t\t\t\t}\n\t\t\t\tcatch( IOException e )\n\t\t\t\t{\n\t\t\t\t\tSystem.out.println( \"Unable to save conversation to: <\" + tName + \"_dialog.txt>. Would you like to try again?[y/n]\" );\n\t\t\t\t\tusrRes = sc.nextLine();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t \n }", "public void questionGenerator()\n\t{\n\t\t//creates questions\n\t\toperation = rand.nextInt(3) + min;\n\t\t\n\t\t//makes max # 10 to make it easier for user if random generator picks multiplication problem\n\t\tif (operation == 3)\n\t\t\tmax = 10; \n\t\t\n\t\t//sets random for number1 & number2\n\t\tnumber1 = rand.nextInt(max) + min; //random number max and min\n\t\tnumber2 = rand.nextInt(max) + min; \n\t\t\t\t\n\t\t//ensures final answer of problem is not negative by switching #'s if random generator picks subtraction problem\n\t\tif (operation == 2 && number1 < number2)\n\t\t{\n\t\t\tint tempNum = number1;\n\t\t\tnumber1 = number2;\n\t\t\tnumber2 = tempNum;\n\t\t}\n\t\tanswer = 0;\n\t\t\n\t\t//randomizes operator to randomize question types\n\t\tif (operation == 1)\n\t\t{\n\t\t\toperator = '+';\n\t\t\tanswer = number1 + number2;\n\t\t}\n\t\tif (operation == 2)\n\t\t{\n\t\t\toperator = '-';\n\t\t\tanswer = number1 - number2;\n\t\t}\n\t\tif (operation == 3)\n\t\t{\n\t\t\toperator = '*';\n\t\t\tanswer = number1 * number2;\n\t\t}\n\t\t\t\n\t\t//prints question\n\t\tlabel2.setText(\"Question: \" + number1 + \" \" + operator + \" \" + number2 + \" = ?\");\n\t}", "public static String[] randStrings()\r\n\t{\n\t\t\r\n\t\t\t\tlong start = System.nanoTime();\r\n\t\t\t\tchallengeTwo;\r\n\t\t\t\tlong end = System.nanoTime();\r\n\t\t\t\tlong time = end - start;\r\n\t\t\t\t//Challenge 3 >75% Sorted Int Test\r\n\t}", "public void getInput() {\r\n System.out.print(\"Is the car silent when you turn the key? \");\r\n setAnswer1(in.nextLine());\r\n if(getAnswer1().equals(YES)) {\r\n System.out.print(\"Are the battery terminals corroded? \");\r\n setAnswer2(in.nextLine());\r\n if(getAnswer2().equals(YES)){\r\n printString(\"Clean the terminals and try again\");\r\n }\r\n else {\r\n printString(\"The battery may be damaged.\\nReplace the cables and try again\");\r\n }\r\n\r\n }\r\n else {\r\n System.out.print(\"Does the car make a slicking noise? \");\r\n setAnswer3(in.nextLine());\r\n if(getAnswer3().equals(YES)) {\r\n printString(\"Replace the battery\");\r\n }\r\n else {\r\n System.out.print(\"Does the car crank up but fail to start? \");\r\n setAnswer4(in.nextLine());\r\n if(getAnswer4().equals(YES)) {\r\n printString(\"Check spark plug connections.\");\r\n }\r\n else{\r\n System.out.print(\"Does the engine start and then die? \");\r\n setAnswer5(in.nextLine());\r\n if(getAnswer5().equals(YES)){\r\n System.out.print(\"Does your care have fuel injection? \");\r\n setAnswer6(in.nextLine());\r\n if(getAnswer6().equals(YES)){\r\n printString(\"Get it in for service\");\r\n }\r\n else{\r\n printString(\"Check to insure the chock is opening and closing\");\r\n }\r\n }\r\n else {\r\n printString(\"This should be impossible\");\r\n }\r\n }\r\n }\r\n\r\n }\r\n\r\n\r\n\r\n }", "public NameGenerator() {\n this.rand = new Random();\n }", "public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n\n // prepare questions for the user\n String fn_question = \"Enter your first name: \";\n String ln_question = \"Enter your last name: \";\n\n // show the user the questions and retrieve their answers\n // tip: .next() always returns string type\n System.out.print(fn_question);\n String first = input.next();\n\n System.out.print(ln_question);\n String last = input.next();\n\n //produce the output\n System.out.println(\"These usernames are available for use:\");\n System.out.println(first + last);\n System.out.println(last + first);\n System.out.println(first + \" \" + last);\n System.out.println(last + \"-\" + first);\n\n }", "public void generateComputerChoice() {\n\t\tgetRandomNumber();\n\t\tsetComputerChoice();\n\t}", "public static void printGeneratedCombination() {\n\t\t\n\t\tfinal int randomDistance = randomizer(LARGE_DISTANCE * 3);\n\t\tfinal int randomDuration = randomizer(LARGE_DURATION * 3);\n\t\tfinal int randomExhalation = randomizer(LARGE_EXHALATION_LEVEL * 3);\n\t\t\n\t\tfinal boolean isSafe = isInterpolatedSafe(randomDistance, randomDuration, randomExhalation);\n\t\t\n\t\tSystem.out.println(\"(\" + randomDistance + COMMA + randomDuration + COMMA + randomExhalation + COMMA + isSafe + \")\");\n\t\t\n\t}", "private static String inputStringHelper(Scanner scanner, String field) {\n System.out.println(\"Type in your new friend's \" + field + \": \");\n return scanner.nextLine();\n }", "public String getMessage(int chance){\n switch(chance){\n case 1: danger=5;\n pred = \"monkeys\";\n return \"A whole community of monkeys hide in the trees around you. They stare intently\";\n case 2: danger=5;\n pred = \"snakes\";\n return \"In the ground there are giant holes as if made by a large mammal. But no such animals live here \";\n case 3: danger=10;\n pred = \"tiger\";\n return \"A tiger is watching you. This is not the jungle book\";\n case 4: danger = 6;\n pred = \"evil rabbit\";\n return \"There are animal carcases everywhere. You are in someones lair\";\n default: return \"\";\n }\n}", "static public int getHobgoblinStr(){\n str = rand.nextInt(3) + 3;\n return str;\n }", "private void enterStudentPersonalities() throws IOException {\n boolean foundStudent = false, validPersonality = false;\n String studID;\n char studPersonality = 0;\n\n do {\n System.out.println(\"\\nEnter assigned student ID:\");\n studID = Global.scan.nextLine();\n\n for (Student stud: Student.allStudents) {\n if (stud.getId().compareTo(studID) == 0) {\n foundStudent = true;\n System.out.println(\"\\nPlease enter personality of \" + studID + \" :\");\n studPersonality = Global.scan.nextLine().toUpperCase().charAt(0);\n char[] validPersonalities = {'A', 'B', 'C', 'D', 'E', 'F'};\n for (int i = 0; i < 6; i++) {\n if (studPersonality == validPersonalities[i]) {\n validPersonality = true;\n stud.setStudentPersonality(studPersonality);\n System.out.println(stud.getStudentPersonality());\n }\n }\n if (!validPersonality) {\n System.out.println(\"Invalid personality type!\");\n }\n }\n }\n if (!foundStudent) {\n System.out.println(\"Student not found!\");\n }\n } while (foundStudent == false || studID.isEmpty() || studPersonality == '0');\n FileReadWrite.saveStudentDetails(Main.studentsFileName, Student.allStudents);\n }", "public static void main(String[] args){\r\n //Student Name:Chuanxi ZHENG\r\n //Student Number:260760794\r\n //Your code goes here. \r\n System.out.println(\"Please enter the name of your hotel:\");\r\n Scanner in = new Scanner(System.in);\r\n String name = in.nextLine();\r\n Room[] roomArray = new Room[getRandomNumberOfRooms()];\r\n for(int i = 0; i<roomArray.length;i++){\r\n roomArray[i] = new Room(getRandomType());\r\n }\r\n Hotel h = new Hotel(name,roomArray);\r\n System.out.println(\"Welcome! Please choose one of the following options\");\r\n System.out.println(\"1. Make a reservation\");\r\n System.out.println(\"2. Cancel a reservation\");\r\n System.out.println(\"3. See an invoice\");\r\n System.out.println(\"4. See the hotel info\");\r\n System.out.println(\"5. Exit the booking system\");\r\n \r\n Scanner input = new Scanner(System.in);\r\n while(!input.hasNextInt()){\r\n input = new Scanner(System.in);\r\n }\r\n int choice = input.nextInt();\r\n \r\n while(choice!=5){\r\n //make a reservation\r\n if(choice == 1){\r\n System.out.println(\"Please enter your name:\");\r\n input = new Scanner(System.in);\r\n String username = input.nextLine();\r\n System.out.println(\"What type of room would you like to reserve?\");\r\n input = new Scanner(System.in);\r\n String usertype = input.nextLine();\r\n h.createReservation(username,usertype);\r\n }\r\n //cancel a reservation\r\n if(choice == 2){\r\n System.out.println(\"Please enter your name:\");\r\n input = new Scanner(System.in);\r\n String username = input.nextLine();\r\n System.out.println(\"What type of room would you want to cancel?\");\r\n input = new Scanner(System.in);\r\n String usertype = input.nextLine();\r\n h.cancelReservation(username,usertype);\r\n }\r\n //see an invoice\r\n if(choice == 3){\r\n System.out.println(\"Please enter your name:\");\r\n input = new Scanner(System.in);\r\n String username = input.nextLine();\r\n h.printInvoice(username);\r\n }\r\n //see hotel information\r\n if(choice == 4){\r\n System.out.println(h.toString());\r\n }\r\n \r\n System.out.println(\"1. Make a reservation\");\r\n System.out.println(\"2. Cancel a reservation\");\r\n System.out.println(\"3. See an invoice\");\r\n System.out.println(\"4. See the hotel info\");\r\n System.out.println(\"5. Exit the booking system\");\r\n \r\n input = new Scanner(System.in);\r\n while(!input.hasNextInt()){\r\n input = new Scanner(System.in);\r\n }\r\n choice = input.nextInt();\r\n }\r\n \r\n //Exit the booking system\r\n if(choice == 5){\r\n System.out.println(\"It was a pleasure doing business with you!\");\r\n }\r\n }", "String selectRandomSecretWord();" ]
[ "0.6515334", "0.63833946", "0.6198847", "0.6060112", "0.6027613", "0.5991884", "0.5977702", "0.59342915", "0.59201086", "0.5880468", "0.5868327", "0.5844051", "0.5832612", "0.58307713", "0.5809771", "0.57882965", "0.5780597", "0.57714933", "0.57624644", "0.5759192", "0.57492346", "0.57486254", "0.573592", "0.5723332", "0.5721976", "0.57163954", "0.571369", "0.57085824", "0.5706649", "0.5695825", "0.5689494", "0.56777203", "0.56627804", "0.5660626", "0.5656199", "0.56309026", "0.5625693", "0.56255513", "0.56181145", "0.5611668", "0.5594297", "0.558491", "0.5584184", "0.55810136", "0.5554015", "0.5553967", "0.5552695", "0.55454886", "0.5538272", "0.5533894", "0.552601", "0.5520984", "0.55078566", "0.54963857", "0.54931396", "0.54905444", "0.548382", "0.5482641", "0.54804", "0.5478515", "0.54783964", "0.54743296", "0.5468064", "0.5462916", "0.5462605", "0.5453421", "0.54496455", "0.54470426", "0.54440534", "0.54396385", "0.54367375", "0.54343385", "0.54334533", "0.5433359", "0.54292625", "0.542012", "0.5417242", "0.5414354", "0.5410959", "0.5402256", "0.5400734", "0.5398789", "0.5396592", "0.53853357", "0.5381264", "0.5376897", "0.53715074", "0.5369237", "0.5367156", "0.53664213", "0.5365697", "0.5365482", "0.53633773", "0.5355666", "0.5352535", "0.53523195", "0.53504497", "0.53489864", "0.5348586", "0.5347862" ]
0.5360698
93
Creates new form StudentDetails
public StudentDetails() { initComponents(); this.setIconImage(new javax.swing.ImageIcon(getClass().getResource("Library.png")).getImage()); if (java.awt.Toolkit.getDefaultToolkit().getScreenSize().height == 768 && java.awt.Toolkit.getDefaultToolkit().getScreenSize().width == 1366) { this.setSize(1360, 720); this.setLocationRelativeTo(null); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@GetMapping(\"/students/new\")\r\n\tpublic String createStudentForm(Model model) {\n\t\tStudent student =new Student();\r\n\t\tmodel.addAttribute(\"student\",student);\r\n\t\treturn \"create_student\";\r\n\t}", "@GetMapping(\"/students/new\")\n\tpublic String createStudentForm(Model model) throws ParseException\n\t{\n\t\t\n\t\tStudent student=new Student(); //To hold form Data.\n\t\t\n\t\tmodel.addAttribute(\"student\",student);\n\t\t\n\t\t// go to create_student.html page\n\t\treturn \"create_student\";\n\t}", "private void addStudent() {\n\t\t\n\t\tString lastName = sLastNameTF.getText();\n\t\tString firstName = sFirstNameTF.getText();\n\t\tString schoolName = sSchoolNameTF.getText();\n\t\tchar[] password = sPasswordPF1.getPassword();\n\t\tString sA1 = sSecurityQ1TF.getText();\n\t\tString sQ1 = (String)sSecurityList1.getSelectedItem();\n\t\tString sA2 = sSecurityQ2TF.getText();\n\t\tString sQ2 = (String)sSecurityList2.getSelectedItem();\n\t\tString grade = (String)sGradeList.getSelectedItem();\n\t\t\n\t\tstudent = new Student(lastName, firstName, schoolName, password, sA1, sQ1, sA2, sQ2, grade);\n\t\t\n\t\t//Add student to database\n\t\t\n\t}", "@RequestMapping(\"/new\")\n public String newStudent(ModelMap view) {\n Student student = new Student();\n view.addAttribute(\"student\", student);\n view.addAttribute(\"listurl\", listurl);\n return(\"newstudent\");\n }", "@FXML\n private void newStudent() {\n System.out.println(\"trying to insert new student to database\");\n DBhandler db = new DBhandler();\n Student s = new Student(\n txfID.getText(),\n txfFirstName.getText(),\n txfLastName.getText(),\n txfAddress.getText(),\n txfZIP.getText(),\n txfZIPloc.getText(),\n txfEmail.getText(),\n txfPhone.getText()\n );\n System.out.println(s.toString());\n db.insertStudent(s);\n Cancel(new ActionEvent());\n }", "@PostMapping(\"student-create\")\n\tpublic String createStudentDetails(@RequestBody Student student) throws SQLException {\n\n\t\treturn studentSerivce.createStudentDetails(student);\n\t}", "@RequestMapping(\"showForm\")\n\tpublic String showForm( Model theModel) {\n\t\t\n\t\t//create a student\n\t\tStudent theStudent = new Student();\n\t\t\n\t\t//add student to the model\n\t\ttheModel.addAttribute(\"student\", theStudent);\n\t\t\n\t\treturn \"student-form\";\n\t}", "@ModelAttribute(\"student\")\n public Student_gra_84 setupAddForm() {\n return new Student_gra_84();\n }", "public void createStudent(String name, String ID){}", "Student createStudent();", "@RequestMapping(value = \"/new\", method = RequestMethod.POST)\n public String saveStudent(ModelMap view, Student student) {\n if(studentService.save(student)) {\n view.addAttribute(\"message\", new String(\"All good!\"));\n }\n else {\n view.addAttribute(\"message\", new String(\"All wrong!\"));\n }\n view.addAttribute(\"listurl\", listurl);\n return(\"newstudent\");\n }", "public ManageStudentForm() {\n initComponents();\n \n initTable();\n \n fillTable();\n \n initMajor();\n setLocationRelativeTo(null);\n \n \n }", "public void newStudentButtonPushed() {\r\n String firstName = firstNameTextField.getText();\r\n String lastName = lastNameTextField.getText();\r\n LocalDate birthdayDate = birthdayDatePicker.getValue();\r\n \r\n // Firts Name Validation\r\n if (firstName != null && (firstName.length() < MIN_CHARS)) {\r\n Alert alert = new Alert(Alert.AlertType.WARNING);\r\n alert.setTitle(\"Invalid Input\");\r\n alert.setHeaderText(null);\r\n alert.setContentText(\r\n \"First Name is not correct \"\r\n + \"(empty name or shorter that three characters)!\");\r\n alert.showAndWait();\r\n \r\n return;\r\n }\r\n \r\n // Last Name Validation\r\n if (lastName != null && (lastName.length() < MIN_CHARS)) {\r\n Alert alert = new Alert(Alert.AlertType.WARNING);\r\n alert.setTitle(\"Invalid Input\");\r\n alert.setHeaderText(null);\r\n alert.setContentText(\r\n \"Last Name is not correct \"\r\n + \"(empty name or shorter that three characters)!\");\r\n alert.showAndWait();\r\n \r\n return;\r\n }\r\n \r\n // Date Validation\r\n if (birthdayDate == null || birthdayDate.isAfter(\r\n LocalDate.now().minusYears(MIN_YEARS_OLD))) {\r\n Alert alert = new Alert(Alert.AlertType.WARNING);\r\n alert.setTitle(\"Invalid Input\");\r\n alert.setHeaderText(null);\r\n alert.setContentText(\r\n \"Date is not correct \"\r\n + \"(empty date or student < 17 years old)!\");\r\n alert.showAndWait();\r\n \r\n return;\r\n }\r\n \r\n // Construct new student\r\n Student newStudent = new Student(firstName, lastName, birthdayDate);\r\n \r\n try {\r\n newStudent = covidMngrService.addStudent(newStudent);\r\n \r\n // Get all the items from the table as a list, then add the \r\n // new student to the list\r\n tableView.getItems().add(newStudent);\r\n } catch (RemoteException ex) {\r\n Logger.getLogger(StudentMainCntrl.class.getName()).\r\n log(Level.SEVERE, null, ex);\r\n }\r\n }", "@RequestMapping(\"/showForm\")\n\tpublic String showForm(final Model model)\n\t{\n\t\tfinal Student theStudent = new Student();\n\n\t\t// --- add student object to the model ---\n\t\tmodel.addAttribute(\"student\", theStudent);\n\n\t\treturn \"student-form\";\n\t}", "@RequestMapping(value = \"/staff/studentcreate\")\n\tpublic String redirectToStudentCreate(Model model) {\n\t\tStudent studentUser = new Student();\n\t\tmodel.addAttribute(\"studentUser\", studentUser);\n\t\treturn \"staff/studentcreate\";\n\t}", "public void newRecord() {\n\t\tDateFormat dateFormat = new SimpleDateFormat(\"MM/dd/yyyy\");\n\t\tdateTxt.setText(dateFormat.format(new Date()));\n\t\t//mark all students enrolled as attendant\n\t\tif (courseTable.getSelectedRow() != -1) {\n\t\t\tsetWarningMsg(\"\");\n\t\t\tupdateStudent(currentCourse);\n\t\t\tfor (int i = 0; i < studentTable.getRowCount(); i++) {\n\t\t\t\tstudentTable.setValueAt(new Boolean(true), i, 0);\n\t\t\t}\t\t\t\n\t\t}\n\t\telse {\n\t\t\t//show message: choose course first\n\t\t\tsetWarningMsg(\"please select course first\");\n\t\t}\n\t}", "public Student_ADD() {\n initComponents();\n }", "@RequestMapping(\"processForm\")\n\tpublic String processStudentForm(@ModelAttribute(\"student\") Student theStudent ) {\n\t\t\n\t\t//log input data to console\n\t\t//System.out.println(\"Last Name : \"+ theStudent.getFirstName());\n\t\t\n\t\treturn \"student-confirmation\";\n\t}", "private void saveData() {\n try {\n Student student = new Student(firstName.getText(), lastName.getText(),\n form.getText(), stream.getText(), birth.getText(),\n gender.getText(), Integer.parseInt(admission.getText()),\n Integer.parseInt(age.getText()));\n\n\n if (action.equalsIgnoreCase(\"new\") && !assist.checkIfNull(student)) {\n\n dao.insertNew(student);\n JOptionPane.showMessageDialog(null, \"Student saved !\", \"Success\", JOptionPane.INFORMATION_MESSAGE);\n\n } else if (action.equalsIgnoreCase(\"update\") && !assist.checkIfNull(student)) {\n dao.updateStudent(student, getSelected());\n JOptionPane.showMessageDialog(null, \"Student Updated !\", \"Success\", JOptionPane.INFORMATION_MESSAGE);\n }\n\n prepareTable();\n prepareHistory();\n buttonSave.setVisible(false);\n admission.setEditable(true);\n }catch (Exception e)\n {}\n }", "@RequestMapping(\"/showForm\")\n\tpublic String showForm(Model theModel) {\n\t\tStudent theStudent = new Student();\n\t\t\n\t\t// add student object to the model\n\t\ttheModel.addAttribute(theStudent);\n\t\t\n\t\t// add the department options to the model \n\t theModel.addAttribute(\"departmentOptions\", departmentOptions); \n\t \n\t LinkedHashMap<String, String> favoriteLanguageOptions = new LinkedHashMap<String, String>();\n\t favoriteLanguageOptions.put(\"Java\", \"Java\");\n favoriteLanguageOptions.put(\"C#\", \"C#\");\n favoriteLanguageOptions.put(\"PHP\", \"PHP\");\n favoriteLanguageOptions.put(\"Ruby\", \"Ruby\"); \n\t theModel.addAttribute(\"favoriteLanguageOptions\", favoriteLanguageOptions); \n\n\t\treturn \"student-form\";\n\t}", "void create(Student entity);", "@GetMapping(\"/add\")\n\tpublic List<Students> addStudent() {\n\t\tStudents student = new Students();\n\t\tstudent.setRollno(04);\n\t\tstudent.setSname(\"Cyborg\");\n\t\tstudent.setStudent_role(\"Graduate\");\n\t\tstudentMapper.insert(student);\n\t\treturn studentMapper.findAll(); \n\t}", "@Override\n\tpublic void saveStudent(StudentForm student) {\n\t\t\n\t}", "public static void createRecord() throws IOException {\r\n\t\tstudRecs.add(new Student());\r\n\t\tint i = studRecs.size() - 1;\r\n\t\tStudent tempRecord = studRecs.get(i);\r\n\t\tSystem.out.println(\"Creating Student \" + i + \" (\" + tempRecord.getStudentID() + \")\");\r\n\t\ttempRecord.setFirstName(StudentInput.firstName());\r\n\t\ttempRecord.setLastName(StudentInput.lastName());\r\n\t\ttempRecord.setStreetAddress(StudentInput.streetAddress());\r\n\t\ttempRecord.setCity(StudentInput.city());\r\n\t\ttempRecord.setProvince(StudentInput.province());\r\n\t\ttempRecord.setPostalCode(StudentInput.postalCode());\r\n\t\ttempRecord.setPhoneNumber(StudentInput.phoneNumber());\r\n\t\ttempRecord.setBirthDate(StudentInput.birthDate());\r\n\t\tSystem.out.println(\"Student \" + i + \" (\" + tempRecord.getStudentID() + \")\" + \" Created!\");\r\n\t}", "@Override\n\tpublic void create(Student student) {\n\t\tString query=\"insert into student values('\"+student.getId()+\"','\"+student.getName()+\"','\"+student.getAge()+\"')\";\n\t//\tjdbcTemplate.update(query);\n\t\tint result=jdbcTemplate.update(query);\n\t\tSystem.out.println(result+\"Record Inserted\");\n\t}", "public Student()\n {\n lname = \"Tantiviramanond\";\n fname = \"Anchalee\";\n grade = 12;\n studentNumber = 2185;\n }", "@Override\n public StudentDTO createNewStudent(StudentDTO studentDTO) {\n studentRepository.save(studentMapper.studentDTOToStudent(studentDTO));\n log.info(\"Student with id: \" + studentDTO.getId() + \" successfully saved\");\n return studentDTO;\n }", "public void actionPerformed(ActionEvent e){\n \t\t \tstudentsController.addStudent();\n \t\t }", "public Student(int studentId) \r\n {\r\n\r\n this.studentId = studentId;\r\n studentName = \"\";\r\n studentMajor = \"\";\r\n }", "private void handleCreateStudentBTN(ActionEvent actionEvent){\n String fName = this.firstNameTF.getText();\n String lName = this.lastNameTF.getText();\n String stuNum = this.stuNumTF.getText();\n\n //Try to construct the new instance of Student\n try{\n Student student = new Student(fName, lName, stuNum);\n\n\n //Create the controller with reference to the new student\n ViewStudentController viewStudentController = new ViewStudentController(student);\n\n //Load and display the view\n FXMLLoader loader = new FXMLLoader(getClass().getResource(\"/FXML/viewStudentView.fxml\"));\n loader.setController(viewStudentController);\n Parent parent = loader.load();\n\n Scene scene = new Scene(parent, 275, 200);\n Stage stage = new Stage(StageStyle.DECORATED);\n stage.setScene(scene);\n stage.showAndWait();\n\n\n }\n catch(Exception e){\n //couldn't create a new student, show an alert\n Alert alert = new Alert(Alert.AlertType.ERROR);\n alert.setTitle(\"JavaFX Example - Error\");\n alert.setContentText(\"An error occurred when trying to create, or display, a student!!!\");\n alert.showAndWait();\n\n e.printStackTrace();\n\n }\n\n }", "public void submit(ActionEvent actionEvent) {\n if(checkFields()) {\n try {\n newStudent = new Student(firstName.getText(), lastName.getText(),birthday.getValue(),selectImage.getImage());\n activities();\n System.out.println(\"new student: \" + newStudent);\n studentList.add(newStudent);\n viewStudent(actionEvent);\n } catch (IllegalArgumentException | IOException e){\n errorDisplay.setText(e.getMessage());\n }\n }\n }", "public Student() \r\n {\r\n studentId = 0;\r\n studentName = \"\";\r\n studentMajor = \"\";\r\n }", "@GetMapping(\"/students/edit/{id}\")\n\tpublic String createEditStudentPage(@PathVariable long id, Model model)\n\t{\n\t\tmodel.addAttribute(\"student\", studentService.getStudentById(id));\n\t\treturn \"edit_student\"; \n\t\t\n\t}", "public Student() {\n \n }", "@RequestMapping(value = \"/student\")\r\n\tpublic String addstudent(Student student) {\r\n\t\tStudentdaoimpl impl = new Studentdaoimpl();\r\n\t\timpl.addstudent(student);\r\n\t\treturn \"redirect:/findallstudent\";\r\n\r\n\t}", "@GetMapping(\"/save\")\n\tpublic @ResponseBody String addNewStudent(@RequestParam int rollno, @RequestParam String name, @RequestParam String role) {\n\t\tStudents student = new Students();\n\t\tstudent.setRollno(rollno);\n\t\tstudent.setSname(name);\n\t\tstudent.setStudent_role(role);\n\t\tstudentMapper.insert(student);\n\t\treturn \"Saved New User\";\n\t}", "public StudentRegistration() {\n initComponents();\n }", "protected void addStuInfo(HttpServletRequest request, HttpServletResponse response)\n\tthrows ServletException, IOException {\n\t\tStudent stu = new Student();\n\t\tstu.setStudentNo(request.getParameter(\"studentNo\"));\n\t\tstu.setStudentName(request.getParameter(\"studentName\"));\n\t\tstu.setSex(request.getParameter(\"sex\"));\n\t\tstu.setGradeId(Integer.parseInt(request.getParameter(\"gradeId\")));\n\t\tstu.setBorndate(request.getParameter(\"borndate\"));\n\t\tstu.setEmail(request.getParameter(\"email\"));\n\t\tint count = biz.addStuInfo(stu);\n\t\tif(count > 0){\n\t\t\tout.print(\"<script>alert('新增成功!!!');window.location.href='StudentServlet.do';</script>\");\n\t\t}else{\n\t\t\tout.print(\"<script>alert('新增失败!!!');window.location.href='StudentServlet.do';</script>\");\n\t\t}\n\t}", "@RequestMapping(\"/processForm\")\n\tpublic String processForm(@ModelAttribute(\"student\") final Student student)\n\t{\n\t\tSystem.out.println(\"Student: \"\n\t\t + student.getFirstName()\n\t\t + \", \"\n\t\t + student.getLastName()\n\t\t + \", \"\n\t\t + student.getCountry()\n\t\t + \", \"\n\t\t + student.getFavoriteLanguage()\n\t\t + \", \"\n\t\t + Arrays.toString(student.getOperatingSystem()));\n\n\t\treturn \"student-confirmation\";\n\t}", "private void saveStudent() {\n // Check that every required field has been filled in with valid parameters\n if (!checkUserInputValidity()) {\n return;\n }\n\n // Insert the new student info into the database\n if (isEditStudent) {\n updateStudentOnFirebaseDatabase();\n } else {\n // Make a unique id for the student\n String studentId = UUID.randomUUID().toString();\n saveNewStudentToFirebaseDatabase(studentId);\n }\n }", "@RequestMapping(\"/book/new\")\n public String newBook(Model model){\n model.addAttribute(\"book\", new Book ());\n return \"bookform\";\n }", "private static int addNewStudent(){\n\t\tSystem.out.println(\"===Add New Student To Database===\");\n\t\tScanner string_input = new Scanner(System.in); //gets String input from the user\n\t\tScanner integer_input = new Scanner(System.in); //get integer input from the user\n\t\tStudentDetails new_student = new StudentDetails();\n\t\t\n\t\tString firstname;\n\t\tdo{\n\t\t\tSystem.out.println(\"Enter new student's first name: \");\n\t\t\tfirstname = string_input.next();\n\t\t}while(!new_student.setFirstName(firstname)); //loop until name input is valid\n\t\t\n\t\tString middlename;\n\t\tdo{\n\t\t\tSystem.out.println(\"Enter new student's middle name (Type 'null' if author has no middle name): \");\n\t\t\tmiddlename = string_input.next();\n\t\t}while(!new_student.setMiddleName(middlename)); //loop until name input is valid\n\t\t\n\t\tString lastname;\n\t\tdo{\n\t\t\tSystem.out.println(\"Enter new student's last name: \");\n\t\t\tlastname = string_input.next();\n\t\t}while(!new_student.setLastName(lastname)); //loop until name input is valid\n\t\t\n\t\tint grade;\n\t\tdo{\n\t\t\tSystem.out.println(\"Enter new student's grade (9 - 12): \");\n\t\t\tgrade = integer_input.nextInt();\n\t\t}while(!new_student.setGrade(grade)); //loop until name input is valid\n\t\t\n\t\tALL_STUDENTS.add(new_student);\n\t\tint new_studentId = ALL_STUDENTS.size() - 1; //since student was the most recently added element to the ALL_STUDENTS ArrayList, its index should be ALL_STUDENTS.size() - 1. Student's index in this ArrayList should be the new student's Id.\n\t\tnew_student.setId(new_studentId); //set the new student's Id\n\t\t\n\t\treturn new_student.getId();\n\t}", "public studentrecord() {\n initComponents();\n }", "private void SaveStudentInfo() {\n EditText _fullName = (EditText) findViewById(R.id.editTextFullName);\n EditText _birthdate = (EditText) findViewById(R.id.dateBirthday);\n EditText _fullStreetAddress = (EditText) findViewById(R.id.editTextFullAddress);\n EditText _contactPhone = (EditText) findViewById(R.id.editTextContactPhone);\n EditText _contactEmail = (EditText) findViewById(R.id.editTextContactEmail);\n EditText _parentNames = (EditText) findViewById(R.id.editTextParentNames);\n EditText _defaultRate = (EditText) findViewById(R.id.numberRate);\n EditText _notes = (EditText) findViewById(R.id.editTextNotes);\n\n // ***** Create the Student Object\n Student _student = new Student();\n\n // ***** Set the field values\n _student.fullName = String.valueOf(_fullName.getText());\n _student.birthDate = String.valueOf(_birthdate.getText());\n _student.fullAddress = String.valueOf(_fullStreetAddress.getText());\n _student.contactPhone = String.valueOf(_contactPhone.getText());\n _student.contactEmail = String.valueOf(_contactEmail.getText());\n _student.parentNames = String.valueOf(_parentNames.getText());\n\n // ***** Convert to a double to store in database for calulations\n _student.defaultRate = Double.valueOf(String.valueOf(_defaultRate.getText()));\n\n _student.notes = String.valueOf(_notes.getText());\n\n // **** Save the student information\n _myDb.setStudentInfo(_student);\n\n\n }", "NominatedStudentDto create(NominatedStudentDto nominatedStudent, int userId, String userRole);", "private void fillInCurrentStudentInfo() {\n // Extract info from Student object\n String name = WordUtils.capitalizeFully(mCurrentStudent.getName());\n int sex = mCurrentStudent.getSex();\n mStudentBirthdate = mCurrentStudent.getBirthdate();\n int grade = mCurrentStudent.getGrade();\n mChosenClassesList = (ArrayList<String>) mCurrentStudent.getClasses();\n String classes = TextUtils.join(\", \", mChosenClassesList);\n String photoUrl = mCurrentStudent.getPhotoUrl();\n\n // Populate views with the current student's information\n mStudentNameEditText.setText(name);\n mStudentBirthdateTextView.setText(DateUtils.convertDateLongToString(mStudentBirthdate));\n mStudentGradeEditText.setText(String.valueOf(grade));\n mStudentClassesTextView.setText(classes);\n mStudentClassesTextView.setVisibility(View.VISIBLE);\n\n // Set student photo (if it exists)\n if (!TextUtils.isEmpty(photoUrl)) {\n Glide.with(mAddPhotoView.getContext())\n .load(photoUrl)\n .into(mAddPhotoView);\n studentHasPhoto = true;\n }\n\n // Set student sex spinner\n switch (sex) {\n case SEX_MALE_INT:\n mStudentSexSpinner.setSelection(SEX_MALE_INT);\n break;\n case SEX_FEMALE_INT:\n mStudentSexSpinner.setSelection(SEX_FEMALE_INT);\n break;\n default:\n throw new IllegalArgumentException(\"Invalid sex\");\n }\n }", "private void saveStudent(){\n StudentGroupThrift group = mainWindow.getStudentClient().getStudentGroupByName\n (this.group.getSelectedItem().toString());\n SimpleDateFormat format = new SimpleDateFormat(\"yyyy-MM-dd\");\n String birthDate = format.format(jDateChooser.getDate());\n StudentThrift studentThrift = new StudentThrift(\n id,\n getTextID(FIRST_NAME),\n getTextID(LAST_NAME),\n getTextID(MIDDLE_NAME),\n birthDate,\n getTextID(ADDRESS),\n group\n );\n mainWindow.getStudentClient().saveStudent(studentThrift);\n closeDialog();\n }", "public ShowStudentInfo() throws SQLException {\n initComponents();\n ShowDetails();\n }", "public StudentRecord() {}", "public Student insertStudent() {\n\t\tSystem.out.print(\"\\n--- 학생 정보 등록 ---\\n\");\n\t\tSystem.out.print(\"학생 이름 입력 \");\n\t\tString name = sc.next();\n\t\tSystem.out.print(\"학생 나이 입력 \");\n\t\tint age = sc.nextInt();\n\t\tSystem.out.print(\"학생 주소 입력 \");\n\t\tString addr= sc.next();\n\t\tStudent st = new Student(name, age, addr);\n\t\treturn st;\n\t}", "public Student(){\n firstName = \"\";\n lastName = \"\";\n bootcamp = \"\";\n id = 42;\n grade = 1.0;\n }", "private void createStudyStudent() {\n\t\t\n\t\t//Initiate Window\n\t\tsAssignStudyWindow = new JFrame(\"Assign Study Material\");\n\t\tsAssignStudyWindow.setSize(assignStudyWidth, assignStudyHeight);\n\t\tsAssignStudyWindow.setLocationRelativeTo(null);\n\t\tsAssignStudyWindow.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tArrayList<Class> sClasses = student.getClasses();\n\t\t\n\t\tsAddStudyModel = new DefaultListModel<>();\n\t JList classList = new JList<>(sAddStudyModel);\n\t classList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);\n\t classList.setBorder(BorderFactory.createEmptyBorder(2, 2, 2, 2));\n\t\tclassList.addMouseListener(this);\n\t \n\t\t//Add classes\n\t for (Class c: sClasses) {\n\t \t\tsAddStudyModel.addElement(c.getName());\n\t }\n\t \n\t //Main JPanel\n\t JPanel panel = new JPanel();\n\t panel.setLayout(new BoxLayout(panel, BoxLayout.X_AXIS));\n\t \n\t //Left JPanel\n\t JPanel leftPanel = new JPanel();\n\t leftPanel.setLayout(new BorderLayout());\n\t leftPanel.setBorder(BorderFactory.createEmptyBorder(20, 20, 20, 20));\n\t leftPanel.add(new JScrollPane(classList));\n\t \n\t //Right JPanel\n\t JPanel rightPanel = new JPanel();\n\t rightPanel.setLayout(new GridLayout(2,1,1,1));\n\t rightPanel.setBorder(BorderFactory.createEmptyBorder(75, 10, 75, 20));\n\n\t //Student: \"Assign\" JButton\n\t JButton assignB = new JButton(\"Assign\");\n\t assignB.addActionListener(new ActionListener() {\n\t public void actionPerformed(ActionEvent event) {\n\t ListSelectionModel selmodel = classList.getSelectionModel();\n\t int index = selmodel.getMinSelectionIndex();\n\t if (index >= 0) {\n\t \t \tClass selectedClass = sClasses.get(index);\n\t \t \tselectedClass.addFlashCard(newFlashCard);\n\t }\n\t }\n\t });\n\t rightPanel.add(assignB);\n\t\t\n\t //Student: \"Exit\" JButton\n\t JButton exitB = new JButton(\"Exit\");\n\t exitB.addActionListener(new ActionListener() {\n\t public void actionPerformed(ActionEvent e) {\n\t sAssignStudyWindow.dispose();\n\t \tsPortalWindow.dispose();\n\t \tstudentPortalScreen();\n\t }\n\t \t});\n\t rightPanel.add(exitB);\n\n\t panel.add(leftPanel);\n\t panel.add(rightPanel);\n\n\t sAssignStudyWindow.add(panel);\n\t sAssignStudyWindow.setVisible(true);\n\t\t\n\t}", "public Student(String name, String SSN) {\n this.name = name;\n this.SSN = SSN;\n System.out.println(\"Student: \" + name + \", email: \" + generateEmail(name) + \", ID: \" + generateID(SSN));\n }", "public InsertOrUpdate_Details() {\n initComponents();\n }", "public void addStudents(Student student) {\r\n System.out.println(\"conectado con model ---> metodo addStudents\");\r\n //TODO\r\n }", "public static void addStudent(Student student) throws SQLException {\r\n\t String sql = \" INSERT INTO Studentspring VALUES (?,?,?,?,?)\";\r\n\t PreparedStatement pStmt = con.prepareStatement(sql);\r\n\r\n\t String Name=student.getName();\r\n\t int Age=student.getAge();\r\n\t String Course=student.getCourse();\r\n\t int Year=student.getYear();\r\n\t String Section=student.getSection();\r\n\t \r\n\t pStmt.setString(1, Name);\r\n\t pStmt.setInt(2,Age);\r\n\t pStmt.setString(3,Course);\r\n\t pStmt.setInt(4,Year );\r\n\t pStmt.setString(5,Section);\r\n\r\n\t pStmt.executeUpdate();\r\n\t \r\n\t }", "private Student createStudent(Element studentNode) {\n String serialNumber = studentNode.getAttribute(\"serialNumber\");\n Student b = new Student();\n b.setSerialNumber(serialNumber);\n\n b.setName(getTextFromTagName(studentNode, \"name\"));\n b.setGroup(Integer.valueOf(getTextFromTagName(studentNode, \"group\")));\n b.setId(Long.valueOf(getTextFromTagName(studentNode, \"id\")));\n\n return b;\n }", "public Student() {\r\n }", "private void createBtnActionPerformed(java.awt.event.ActionEvent evt) {\n\n staff.setName(regName.getText());\n staff.setID(regID.getText());\n staff.setPassword(regPwd.getText());\n staff.setPosition(regPos.getSelectedItem().toString());\n staff.setGender(regGender.getSelectedItem().toString());\n staff.setEmail(regEmail.getText());\n staff.setPhoneNo(regPhone.getText());\n staff.addStaff();\n if (staff.getPosition().equals(\"Vet\")) {\n Vet vet = new Vet();\n vet.setExpertise(regExp.getSelectedItem().toString());\n vet.setExpertise_2(regExp2.getSelectedItem().toString());\n vet.addExpertise(staff.getID());\n }\n JOptionPane.showMessageDialog(null, \"User added to database\");\n updateJTable();\n }", "@PostMapping(\"/students/{id}\")\n\tpublic String updateStudentDetails(@PathVariable long id,@ModelAttribute(\"student\") Student student)\n\t{\n\t\tStudent existingStudent=studentService.getStudentById(id);\n\t\texistingStudent.setId(id);\n\t\texistingStudent.setEmail(student.getEmail());\n\t\texistingStudent.setFirstName(student.getFirstName());\n\t\texistingStudent.setLastName(student.getLastName());\n\t\texistingStudent.setBirthdate(student.getBirthdate());\n\t\t\n\t\tstudentService.updateStudent(existingStudent);\n\t\treturn \"redirect:/students\";\n\t}", "public Student(String requiredStudentName)\n {\n studentName = requiredStudentName;\n }", "@Override\n public void actionPerformed(ActionEvent e) {\n if(nameTextField.getText().isEmpty() || surnameTexField.getText().isEmpty() ||\n genderTextField.getText().isEmpty() || programmeTextField.getText().isEmpty() ||\n nationalityTextField.getText().isEmpty() || courseTextField.getText().isEmpty() ||\n pathwayTextField.getText().isEmpty()) {\n JOptionPane.showMessageDialog(null, \"One or more fields are empty. Each field should be filled!\", \"Error\", JOptionPane.ERROR_MESSAGE);\n return;\n }\n else {\n try {\n Student st = new Student(nameTextField.getText(), surnameTexField.getText(), genderTextField.getText(),\n nationalityTextField.getText(), programmeTextField.getText(), courseTextField.getText(), pathwayTextField.getText(), 60.0);\n college.addStudent(st);\n JOptionPane.showMessageDialog(null, \"The student \" + nameTextField.getText() + \" \" + surnameTexField.getText() + \" has been\" +\n \" successfully added to the College!\");\n // clear all the fields\n nameTextField.setText(\"\");\n surnameTexField.setText(\"\");\n genderTextField.setText(\"\");\n nationalityTextField.setText(\"\");\n programmeTextField.setText(\"\");\n courseTextField.setText(\"\");\n pathwayTextField.setText(\"\");\n }\n catch (Exception ex) {\n JOptionPane.showMessageDialog(null, \"Oops! Something went wrong...\", \"Error\", JOptionPane.ERROR_MESSAGE);\n return;\n }\n }\n }", "@Override\n\tpublic void createForm(ERForm form) {\n\t\t\tString sql = \"insert into project1.reimbursementInfo (userName, fullName, thedate, eventstartdate, thelocation, description, thecost, gradingformat, passingpercentage, eventtype, filename,status,reason) values (?,?,?,?,?,?,?,?,?,?,?,?,?);\";\n\t\t\ttry {PreparedStatement stmt = conn.prepareCall(sql);\n\t\t\t//RID should auto increment, so this isnt necessary\n\t\t\t\n\t\t\tstmt.setString(1, form.getUserName());\n\t\t\tstmt.setString(2, form.getFullName());\n\t\t\tstmt.setDate(3, Date.valueOf(form.getTheDate()));\n\t\t\tstmt.setDate(4, Date.valueOf(form.getEventStartDate()));\n\t\t\tstmt.setString(5, form.getTheLocation());\n\t\t\tstmt.setString(6, form.getDescription());\n\t\t\tstmt.setDouble(7, form.getTheCost());\n\t\t\tstmt.setString(8, form.getGradingFormat());\n\t\t\tstmt.setString(9, form.getPassingPercentage());\n\t\t\tstmt.setString(10, form.getEventType());\n\t\t\tstmt.setString(11, form.getFileName());\n\t\t\tstmt.setString(12, \"pending\");\n\t\t\tstmt.setString(13, \"\");\n\t\t\tstmt.executeUpdate();\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}", "public SignClassForm(MainPage mainPage,Student student) {\n initComponents();\n this.mainPageInstance=mainPage;\n this.student=student;\n this.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);\n this.initialization();\n }", "public void addStudent(Student student) {\n\t\t\r\n\t}", "private void saveNewStudentToFirebaseDatabase(String studentId) {\n // Extract Student information from the edit text views\n String studentName = mStudentNameEditText.getText().toString().toLowerCase().trim();\n int studentSex = mStudentSex;\n long studentBirthdate = mStudentBirthdate;\n int studentGrade = Integer.parseInt(mStudentGradeEditText.getText().toString());\n\n if (mViewModel.studentPicBitmap != null) {\n // Save photo to Firebase Storage using AsyncTask\n saveStudentPhotoToFirebaseStorage(studentId);\n } else {\n Student newStudent = new Student(studentName, studentSex, studentBirthdate, studentGrade,\n mChosenClassesList, null, studentId);\n\n mStudentsDatabaseReference.child(studentId).setValue(newStudent);\n }\n\n // Close activity\n finish();\n }", "public static AssessmentCreationForm openFillCreationForm(Assessment assm) {\n openCreationSearchForm(Roles.STAFF, WingsTopMenu.WingsStaffMenuItem.P_ASSESSMENTS, Popup.Create);\n\n Logger.getInstance().info(\"Fill out the required fields with valid data\");\n AssessmentCreationForm creationForm = new AssessmentCreationForm();\n creationForm.fillAssessmentInformation(new User(Roles.STAFF), assm);\n\n return new AssessmentCreationForm();\n }", "@GetMapping(\"/reg_m_student\")\r\n\tpublic String m_studentReg() {\r\n\t\treturn \"m_student_Form\";\r\n\t}", "public JStudentInfoRecord() {\n super(JStudentInfo.STUDENT_INFO);\n }", "public StudentDemo(){\r\n \r\n \r\n \r\n }", "public Student(String studentId){\n id = studentId;\n }", "public Student() {\n }", "public Student() {\n }", "public Student() {\n }", "@Override\r\n\t@Transactional\r\n\tpublic void createStudent(Bookmodel s1) {\n\t\tdao.createStudent(s1);\r\n\t}", "@OnClick (R.id.create_course_btn)\n public void createCourse()\n {\n\n CourseData courseData = new CourseData();\n courseData.CreateCourse( getView() ,UserData.user.getId() ,courseName.getText().toString() , placeName.getText().toString() , instructor.getText().toString() , Integer.parseInt(price.getText().toString()), date.getText().toString() , descreption.getText().toString() ,location.getText().toString() , subField.getSelectedItem().toString() , field.getSelectedItem().toString());\n }", "public static void create() {\n Application.currentUserCan( 1 );\n \n String author = session.get(\"userEmail\");\n String title = params.get( \"course[title]\", String.class );\n String content = params.get( \"course[content]\", String.class );\n \n if( title.length() > 0 && content.length() > 0 ) {\n Course course = new Course(title, content, author);\n course.save();\n }\n \n index();\n }", "public StudentInfo() {\n initComponents();\n\n loadData();\n loadComboBox();\n }", "public String actionCreateNew() {\r\n \t\tsetBook(new Book());\r\n \t\treturn \"new\";\r\n \t}", "Student4(int i, String n) {\n id = i;\n name = n;\n\n }", "public ViewStudent() {\n initComponents();\n DB_Connection();\n DisplayInitialValues();\n }", "@GetMapping(\"/create\")\n public ModelAndView create(@ModelAttribute(\"form\") final CardCreateForm form) {\n return getCreateForm(form);\n }", "private void addStudentButtonActionPerformed(java.awt.event.ActionEvent evt) {\n if(lastName.getText().length()==0 && firstName.getText().length()==0) {\n JOptionPane.showMessageDialog(this, \"Some of the fields are empty!\");\n } else if(isInteger(levelOfStudy.getText())) {\n JOptionPane.showMessageDialog(this, \"Valid infomation, adding student (may take a minute)\");\n controller.addStudent(firstName.getText(),lastName.getText(),degreeName.getSelectedItem().toString(),tutor.getText(),levelOfStudy.getText());\n scrollTable.showStudents();\n JOptionPane.showMessageDialog(this, \"Created with password of '123'\");\n } else {\n JOptionPane.showMessageDialog(this, \"Period of study must be a vaild year!\");\n }\n \n \n }", "public CreateProfile() {\n initComponents();\n }", "public AddStudent() {\n initComponents();\n setLocationRelativeTo(null);\n }", "private void addStudent() throws FileNotFoundException, ValidatorException {\n //Lesen wir die Daten\n Scanner sc = new Scanner(System.in);\n System.out.println(\"Read student information\");\n System.out.print(\"ID: \");\n long studentId = sc.nextLong();\n System.out.print(\"First name: \");\n String firstName = sc.next();\n System.out.print(\"Last Name: \");\n String lastName = sc.next();\n\n //Wir rufen die addStudent Funktion vom dem Controller mit den gelesenen Daten auf\n if (ctrl.addStudent(studentId, firstName, lastName)) {\n System.out.println(\"Please add the courses later from the Registration System menu!\");\n System.out.println(\"Student saved with success!\");\n } else\n System.out.println(\"Student with this ID already exists!\");\n }", "@RequestMapping(value = \"/report.create\", method = RequestMethod.GET)\n @ResponseBody public ModelAndView newreportForm(HttpSession session) throws Exception {\n ModelAndView mav = new ModelAndView();\n mav.setViewName(\"/sysAdmin/reports/details\");\n\n //Create a new blank provider.\n reports report = new reports();\n \n mav.addObject(\"btnValue\", \"Create\");\n mav.addObject(\"reportdetails\", report);\n\n return mav;\n }", "private static Student newUser(ArrayList<Student> students){\n\t\tStudent newStudent = new Student();\n\t\n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter first name:\");\n\t\t\t\tnewStudent.setFirstName(input.nextLine());\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getFirstName() == null);\n\n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter last name:\");\n\t\t\t\tnewStudent.setLastName(input.nextLine());\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getLastName() == null);\n\t\t\n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter age:\");\n\t\t\t\tnewStudent.setAge(Integer.parseInt(input.nextLine()));\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getAge() == -1);\n\n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter gender(M/F):\");\n\t\t\t\tnewStudent.setGender(input.nextLine());\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getGender() == null);\n\n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter SSN:\");\n\t\t\t\tnewStudent.setSSN(input.nextLine());\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getSSN() == null);\n\t\t \n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter address:\");\n\t\t\t\tnewStudent.setAddress(input.nextLine());\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getAddress() == null);\n\t\t\n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter city:\");\n\t\t\t\tnewStudent.setCity(input.nextLine());\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getCity() == null);\t\t\n\n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter state(two character abbreviation):\");\n\t\t\t\tnewStudent.setState(input.nextLine());\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getState() == null);\n\n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter zip:\");\n\t\t\t\tnewStudent.setZip(input.nextLine());\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getZip() == null);\n\n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter email:\");\n\t\t\t\tnewStudent.setEmail(input.nextLine());\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getEmail() == null);\n\t\t\n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter phone:\");\n\t\t\t\tString temp = input.nextLine();\n\t\t\t\t// remove all non-numeric characters\n\t\t\t\ttemp = temp.replaceAll(\"[^\\\\d.]\", \"\");\n\t\t\t\tnewStudent.setPhone(temp);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getPhone() == null);\n\n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter ID (Numeric):\");\n\t\t\t\tnewStudent.setID(Integer.parseInt(input.nextLine()));\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getID() == -1);\n\t\t\n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter college:\");\n\t\t\t\tnewStudent.setCollege(input.nextLine());\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getCollege() == null);\n\n\t\tString usr = null;\n\t\tboolean failUsrCheck = false;\n\t\t\n\t\tdo{\n\n\t\t\tSystem.out.println(\"Enter user name:\");\n\t\t\tusr = input.nextLine(); \n\t\t\tfor(Student studentI : students) {\n\t\t\t\tif(usr.equals(studentI.getUsername().replace(\"\\r\",\"\"))){\n\t\t\t\t\tfailUsrCheck = true;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(failUsrCheck){\n\t\t\t\tSystem.out.println(\"User name already used.\");\n\t\t\t}\n\t\t}while (failUsrCheck);\n\t\tnewStudent.setUsername(usr);\n\n\t\t// Display the block of text with the password requirements\n\t\tSystem.out.println(newStudent.PASSWORD_REQUIREMENTS);\n\t\tdo{\n\t\t\ttry{\n\t\t\t\tSystem.out.println(\"Enter password:\");\n\t\t\t\tnewStudent.setPassword(input.nextLine());\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t} while(newStudent.getPassword() == null);\n\t\t\n\t\treturn newStudent;\n\t}", "@FXML\n private void updateStudent() {\n System.out.println(\"trying to insert new student to database\");\n DBhandler db = new DBhandler();\n Student s = new Student(\n txfID.getText(),\n txfFirstName.getText(),\n txfLastName.getText(),\n txfAddress.getText(),\n txfZIP.getText(),\n txfZIPloc.getText(),\n txfEmail.getText(),\n txfPhone.getText()\n );\n System.out.println(s.toString());\n db.updateStudentToDatabase(s);\n RecordEditPage.handledStudent=s;\n Cancel(new ActionEvent());\n }", "Student(String name){\n this.name = name;\n }", "public void displayStudentInfo(JTextField studentId, JTextField firstname, JTextField lastName, \n JTextField address, JTextField phoneNum, JTextField email, JTextField birthday){\n \n try {\n Connection con = DriverManager.getConnection(\"jdbc:mysql://localhost:3306/Student\", \n \"menaagina\", \"Polynomial5%\");\n Statement st = con.createStatement();\n ResultSet rs = st.executeQuery(\"select * from students where Student_id = \"+id);\n rs.next();\n studentId.setText(rs.getString(1));\n firstname.setText(rs.getString(2));\n lastName.setText(rs.getString(3));\n address.setText(rs.getString(4));\n phoneNum.setText(rs.getString(5));\n email.setText(rs.getString(6));\n birthday.setText(rs.getString(7)); \n } catch (SQLException ex) {\n //an exception will never be thrown\n }\n \n }", "public static void createAccount()\r\n\t {\r\n\t\t String name;\r\n\t\t String username;\r\n\t\t String password;\r\n\t\t ArrayList<Book> booksLent = null;\r\n\t\t System.out.println(\"Enter your name\");\r\n\t\t Scanner src = new Scanner(System.in);\r\n\t\t name = src.next();\r\n\t\t System.out.println(\"Enter your username\");\r\n\t\t src = new Scanner(System.in);\r\n\t\t username = src.next();\r\n\t\t System.out.println(\"Enter your password\");\r\n\t\t src = new Scanner(System.in);\r\n\t\t password = src.next();\r\n\t\t \r\n\t\t Student stu = new Student(name, username, password, booksLent, 0);\r\n\t\t studentAccount = stu;\r\n\t\t FileReader.getStudents().add(stu);\r\n\t\t FileReader.update();\r\n\t\t Display.studentDisplay(studentAccount);\r\n\t }", "public void createNewSchoolOnClick(View v){\n Intent intent = new Intent(this, CreateSchoolActivity.class);\n startActivity(intent);\n }", "public Student(int studentId, String studentName, String studentMajor) \r\n {\r\n\r\n setId(studentId);\r\n setName(studentName);\r\n setMajor(studentMajor);\r\n\r\n }", "Student(int i, String n) {\n id = i;\n name = n;\n }", "public void populateDetails() {\n\n txtpn_NameHeading.setText(selStudent.getfName() + \" \" + selStudent.getlName());\n\n txtpn_RacesComplete.setText(String.valueOf(dataCur.countNumberRaces(selStudent.getId())));\n txtpn_DaysAbsent.setText(String.valueOf(selStudent.getAttend()));\n txtpn_AgeGroup.setText(String.valueOf(selStudent.getAge()));\n\n }", "public Student(){}", "public void setStuData() {\n\n System.out.print(\"Enter The Name : \"); \t String Entered_Name = Scan.next();\n\n System.out.print(\"Enter User Name : \");\t String Entered_User = Scan.next();\n\n System.out.print(\"Enter Password : \");\t int Entered_Pass = Scan.nextInt();\n\n System.out.print(\"Enter Feild : \");\t\t String Entered_Feild = Scan.next();\n\n Students_list.add(new Student(Entered_User , Entered_Name , Entered_Pass , Entered_Feild));\n\n System.out.print(\"Data Has been Saved!\");\n\n }", "public Student() {\r\n\t\tScanner in=new Scanner(System.in);\r\n\t\tSystem.out.print(\"Enter Student first name: \");\r\n\t\tthis.firstName=in.nextLine();\r\n\t\tSystem.out.print(\"Enter Student last name: \");\r\n\t\tthis.lastName=in.nextLine();\r\n\t\tSystem.out.print(\"1.Infant\\n2.child\\n3.junior\\n4.senior\\nEnter student class level: \");\r\n\t\tthis.gradeYear=in.nextInt();\r\n\t\r\n\t\tsetStudentId();\r\n\t\t\r\n\t\t\r\n\t}", "private void loardSid() throws IOException{\n StudentController studentController = new StudentController();\n \n List<StudentDTO>list;\n \n try {\n list = studentController.getAllStudent();\n for (StudentDTO studentDTO : list) {\n cmbStudentID.addItem(studentDTO.getId());\n }\n } catch (Exception ex) {\n Logger.getLogger(Registation.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "@RequestMapping(\"/newuser\")\r\n\tpublic ModelAndView newUser() {\t\t\r\n\t\tRegister reg = new Register();\r\n\t\treg.setUser_type(\"ROLE_INDIVIDUAL\");\r\n\t\treg.setEmail_id(\"[email protected]\");\r\n\t\treg.setFirst_name(\"First Name\");\r\n\t\treg.setCity(\"pune\");\r\n\t\treg.setMb_no(new BigInteger(\"9876543210\"));\r\n\t\treturn new ModelAndView(\"register\", \"rg\", reg);\r\n\t}" ]
[ "0.766229", "0.7037086", "0.70064455", "0.690013", "0.6862708", "0.68595773", "0.6844582", "0.6677259", "0.6663471", "0.6561251", "0.65603805", "0.65121305", "0.64401084", "0.6417354", "0.6405969", "0.6347527", "0.6346749", "0.6282207", "0.6269214", "0.6254599", "0.6237991", "0.62357974", "0.62281173", "0.6198152", "0.61831987", "0.61178404", "0.60830116", "0.6076931", "0.60675126", "0.6060668", "0.606025", "0.60597295", "0.601058", "0.599402", "0.5984574", "0.5978497", "0.5969016", "0.5968248", "0.5964937", "0.5945965", "0.5940024", "0.59321475", "0.59169966", "0.591306", "0.59043103", "0.5885285", "0.5871303", "0.58662814", "0.58533466", "0.58523047", "0.583408", "0.582871", "0.58283895", "0.58230734", "0.58155745", "0.58101016", "0.58044505", "0.5802155", "0.57991403", "0.5789223", "0.5782959", "0.5757182", "0.57549727", "0.57421696", "0.5741325", "0.57391405", "0.57316405", "0.57284576", "0.5728404", "0.57276714", "0.57149917", "0.57114476", "0.57114476", "0.57114476", "0.5710185", "0.5709785", "0.57096004", "0.5708128", "0.57073015", "0.56985515", "0.56941825", "0.56895405", "0.56884146", "0.56845635", "0.56765074", "0.5672605", "0.56660014", "0.565916", "0.56505513", "0.5646101", "0.5644631", "0.5630254", "0.5625336", "0.5624527", "0.5623544", "0.5619428", "0.5618874", "0.5608705", "0.56076914", "0.5593161", "0.5592961" ]
0.0
-1
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jPanel5 = new javax.swing.JPanel(); jPanel6 = new javax.swing.JPanel(); jTabbedPane1 = new javax.swing.JTabbedPane(); jPanel1 = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jLabel3 = new javax.swing.JLabel(); jLabel4 = new javax.swing.JLabel(); jLabel5 = new javax.swing.JLabel(); jTextField1 = new javax.swing.JTextField(); jTextField2 = new javax.swing.JTextField(); jComboBox1 = new javax.swing.JComboBox(); jComboBox2 = new javax.swing.JComboBox(); jTextField3 = new javax.swing.JTextField(); jButton1 = new javax.swing.JButton(); jPanel2 = new javax.swing.JPanel(); jLabel6 = new javax.swing.JLabel(); jTextField4 = new javax.swing.JTextField(); jPanel4 = new javax.swing.JPanel(); jLabel7 = new javax.swing.JLabel(); jLabel8 = new javax.swing.JLabel(); jLabel9 = new javax.swing.JLabel(); jLabel10 = new javax.swing.JLabel(); jLabel11 = new javax.swing.JLabel(); jLabel12 = new javax.swing.JLabel(); jLabel13 = new javax.swing.JLabel(); jLabel14 = new javax.swing.JLabel(); jLabel15 = new javax.swing.JLabel(); jLabel16 = new javax.swing.JLabel(); jPanel3 = new javax.swing.JPanel(); jLabel17 = new javax.swing.JLabel(); jLabel18 = new javax.swing.JLabel(); jLabel19 = new javax.swing.JLabel(); jLabel20 = new javax.swing.JLabel(); jLabel21 = new javax.swing.JLabel(); jTextField5 = new javax.swing.JTextField(); jTextField6 = new javax.swing.JTextField(); jTextField7 = new javax.swing.JTextField(); jComboBox3 = new javax.swing.JComboBox(); jTextField8 = new javax.swing.JTextField(); jButton2 = new javax.swing.JButton(); jLabel22 = new javax.swing.JLabel(); jButton3 = new javax.swing.JButton(); jButton4 = new javax.swing.JButton(); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); setLocation(new java.awt.Point(300, 125)); setResizable(false); jPanel5.setBackground(new java.awt.Color(87, 87, 87)); jPanel6.setBackground(new java.awt.Color(153, 153, 153)); jPanel1.setBackground(new java.awt.Color(87, 87, 87)); jPanel1.setForeground(new java.awt.Color(204, 204, 204)); jLabel1.setForeground(new java.awt.Color(204, 204, 204)); jLabel1.setText("Student Registration Number :"); jLabel2.setForeground(new java.awt.Color(204, 204, 204)); jLabel2.setText("Student Name :"); jLabel3.setForeground(new java.awt.Color(204, 204, 204)); jLabel3.setText("Year :"); jLabel4.setForeground(new java.awt.Color(204, 204, 204)); jLabel4.setText("Semester :"); jLabel5.setForeground(new java.awt.Color(204, 204, 204)); jLabel5.setText("Contact No :"); jTextField1.setBackground(new java.awt.Color(87, 87, 87)); jTextField1.setForeground(new java.awt.Color(204, 204, 204)); jTextField1.setCursor(new java.awt.Cursor(java.awt.Cursor.TEXT_CURSOR)); jTextField2.setBackground(new java.awt.Color(87, 87, 87)); jTextField2.setForeground(new java.awt.Color(204, 204, 204)); jComboBox1.setBackground(new java.awt.Color(51, 51, 51)); jComboBox1.setEditable(true); jComboBox1.setForeground(new java.awt.Color(51, 51, 51)); jComboBox1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "2012", "2013", "2014", "2015", "2016" })); jComboBox1.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(51, 51, 51))); jComboBox2.setBackground(new java.awt.Color(51, 51, 51)); jComboBox2.setEditable(true); jComboBox2.setForeground(new java.awt.Color(51, 51, 51)); jComboBox2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "1", "2" })); jComboBox2.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(51, 51, 51))); jTextField3.setBackground(new java.awt.Color(87, 87, 87)); jTextField3.setForeground(new java.awt.Color(204, 204, 204)); jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Library/Add.png"))); // NOI18N jButton1.setContentAreaFilled(false); jButton1.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { jButton1MouseEntered(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { jButton1MouseExited(evt); } }); jButton1.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton1ActionPerformed(evt); } }); javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); jPanel1.setLayout(jPanel1Layout); jPanel1Layout.setHorizontalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup() .addGap(317, 317, 317) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jLabel3) .addComponent(jLabel4) .addComponent(jLabel5) .addComponent(jLabel2) .addComponent(jLabel1)) .addGap(50, 50, 50) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, 114, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, 184, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 94, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, 68, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jComboBox2, javax.swing.GroupLayout.PREFERRED_SIZE, 57, javax.swing.GroupLayout.PREFERRED_SIZE)) .addContainerGap(266, Short.MAX_VALUE)) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup() .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 71, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(481, 481, 481)) ); jPanel1Layout.setVerticalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup() .addGap(34, 34, 34) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel1)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel2)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel3)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jComboBox2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel4)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel5)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap()) ); jTabbedPane1.addTab("Add New Member/Student", jPanel1); jPanel2.setBackground(new java.awt.Color(102, 102, 102)); jLabel6.setForeground(new java.awt.Color(204, 204, 204)); jLabel6.setText("Registration number :"); jTextField4.setBackground(new java.awt.Color(102, 102, 102)); jTextField4.setForeground(new java.awt.Color(204, 204, 204)); jTextField4.addKeyListener(new java.awt.event.KeyAdapter() { public void keyReleased(java.awt.event.KeyEvent evt) { jTextField4KeyReleased(evt); } }); jPanel4.setBackground(new java.awt.Color(82, 82, 82)); jLabel7.setForeground(new java.awt.Color(204, 204, 204)); jLabel7.setText("Registration Number :"); jLabel8.setForeground(new java.awt.Color(204, 204, 204)); jLabel8.setText("Student's Name :"); jLabel9.setForeground(new java.awt.Color(204, 204, 204)); jLabel9.setText("Year :"); jLabel10.setForeground(new java.awt.Color(204, 204, 204)); jLabel10.setText("Semester :"); jLabel11.setForeground(new java.awt.Color(204, 204, 204)); jLabel11.setText("Contact No :"); jLabel12.setForeground(new java.awt.Color(204, 204, 204)); jLabel12.setText("- "); jLabel13.setForeground(new java.awt.Color(204, 204, 204)); jLabel13.setText("- "); jLabel14.setForeground(new java.awt.Color(204, 204, 204)); jLabel14.setText("- "); jLabel15.setForeground(new java.awt.Color(204, 204, 204)); jLabel15.setText("-"); jLabel16.setForeground(new java.awt.Color(204, 204, 204)); jLabel16.setText("- "); javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4); jPanel4.setLayout(jPanel4Layout); jPanel4Layout.setHorizontalGroup( jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel4Layout.createSequentialGroup() .addGap(150, 150, 150) .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jLabel11) .addComponent(jLabel9) .addComponent(jLabel10) .addComponent(jLabel7) .addComponent(jLabel8)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 31, Short.MAX_VALUE) .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jLabel15, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel14, javax.swing.GroupLayout.DEFAULT_SIZE, 143, Short.MAX_VALUE) .addComponent(jLabel12, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel16, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addComponent(jLabel13, javax.swing.GroupLayout.PREFERRED_SIZE, 182, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(113, 113, 113)) ); jPanel4Layout.setVerticalGroup( jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel4Layout.createSequentialGroup() .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel7) .addComponent(jLabel12)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel8) .addComponent(jLabel13)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel9) .addComponent(jLabel14)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel10) .addComponent(jLabel15)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel11) .addComponent(jLabel16)) .addContainerGap()) ); javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2); jPanel2.setLayout(jPanel2Layout); jPanel2Layout.setHorizontalGroup( jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createSequentialGroup() .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createSequentialGroup() .addGap(200, 200, 200) .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGroup(jPanel2Layout.createSequentialGroup() .addGap(351, 351, 351) .addComponent(jLabel6) .addGap(18, 18, 18) .addComponent(jTextField4, javax.swing.GroupLayout.PREFERRED_SIZE, 170, javax.swing.GroupLayout.PREFERRED_SIZE))) .addContainerGap(200, Short.MAX_VALUE)) ); jPanel2Layout.setVerticalGroup( jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createSequentialGroup() .addGap(28, 28, 28) .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel6) .addComponent(jTextField4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(34, 34, 34) .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(31, Short.MAX_VALUE)) ); jTabbedPane1.addTab("Student Details", jPanel2); jPanel3.setBackground(new java.awt.Color(87, 87, 87)); jLabel17.setForeground(new java.awt.Color(204, 204, 204)); jLabel17.setText("Student's Registration Number :"); jLabel18.setForeground(new java.awt.Color(204, 204, 204)); jLabel18.setText("Student's Name :"); jLabel19.setForeground(new java.awt.Color(204, 204, 204)); jLabel19.setText("Year :"); jLabel20.setForeground(new java.awt.Color(204, 204, 204)); jLabel20.setText("Semester :"); jLabel21.setForeground(new java.awt.Color(204, 204, 204)); jLabel21.setText("Contact No :"); jTextField5.setBackground(new java.awt.Color(87, 87, 87)); jTextField5.setForeground(new java.awt.Color(204, 204, 204)); jTextField5.addKeyListener(new java.awt.event.KeyAdapter() { public void keyReleased(java.awt.event.KeyEvent evt) { jTextField5KeyReleased(evt); } }); jTextField6.setBackground(new java.awt.Color(87, 87, 87)); jTextField6.setForeground(new java.awt.Color(204, 204, 204)); jTextField7.setBackground(new java.awt.Color(87, 87, 87)); jTextField7.setForeground(new java.awt.Color(204, 204, 204)); jComboBox3.setBackground(new java.awt.Color(51, 51, 51)); jComboBox3.setEditable(true); jComboBox3.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "1", "2" })); jComboBox3.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0))); jTextField8.setBackground(new java.awt.Color(87, 87, 87)); jTextField8.setForeground(new java.awt.Color(204, 204, 204)); jButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Library/Save.png"))); // NOI18N jButton2.setContentAreaFilled(false); jButton2.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { jButton2MouseEntered(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { jButton2MouseExited(evt); } }); jButton2.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton2ActionPerformed(evt); } }); javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3); jPanel3.setLayout(jPanel3Layout); jPanel3Layout.setHorizontalGroup( jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel3Layout.createSequentialGroup() .addGap(315, 315, 315) .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jLabel21) .addComponent(jLabel19) .addComponent(jLabel20) .addComponent(jLabel17) .addComponent(jLabel18)) .addGap(50, 50, 50) .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jComboBox3, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jTextField6, javax.swing.GroupLayout.PREFERRED_SIZE, 184, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jTextField5, javax.swing.GroupLayout.PREFERRED_SIZE, 94, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jTextField8, javax.swing.GroupLayout.PREFERRED_SIZE, 114, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jTextField7, javax.swing.GroupLayout.PREFERRED_SIZE, 69, javax.swing.GroupLayout.PREFERRED_SIZE)) .addContainerGap(258, Short.MAX_VALUE)) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel3Layout.createSequentialGroup() .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 71, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(466, 466, 466)) ); jPanel3Layout.setVerticalGroup( jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel3Layout.createSequentialGroup() .addContainerGap(34, Short.MAX_VALUE) .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jTextField5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel17)) .addGap(19, 19, 19) .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jTextField6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel18)) .addGap(16, 16, 16) .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jTextField7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel19)) .addGap(16, 16, 16) .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jComboBox3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel20)) .addGap(13, 13, 13) .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel21) .addComponent(jTextField8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(8, 8, 8)) ); jTabbedPane1.addTab("Edit Student Details", jPanel3); jLabel22.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Library/SLIIT_Logo_Crest.png"))); // NOI18N jButton3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Library/Logout.png"))); // NOI18N jButton3.setContentAreaFilled(false); jButton3.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { jButton3MouseEntered(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { jButton3MouseExited(evt); } }); jButton3.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton3ActionPerformed(evt); } }); jButton4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Library/Home.png"))); // NOI18N jButton4.setContentAreaFilled(false); jButton4.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { jButton4MouseEntered(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { jButton4MouseExited(evt); } }); jButton4.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton4ActionPerformed(evt); } }); javax.swing.GroupLayout jPanel6Layout = new javax.swing.GroupLayout(jPanel6); jPanel6.setLayout(jPanel6Layout); jPanel6Layout.setHorizontalGroup( jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel6Layout.createSequentialGroup() .addContainerGap(134, Short.MAX_VALUE) .addComponent(jTabbedPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 1038, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(134, 134, 134)) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel6Layout.createSequentialGroup() .addGap(577, 577, 577) .addComponent(jLabel22, javax.swing.GroupLayout.PREFERRED_SIZE, 152, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jButton4, javax.swing.GroupLayout.PREFERRED_SIZE, 73, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 73, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap()) ); jPanel6Layout.setVerticalGroup( jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel6Layout.createSequentialGroup() .addContainerGap() .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel22, javax.swing.GroupLayout.PREFERRED_SIZE, 190, javax.swing.GroupLayout.PREFERRED_SIZE) .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) .addComponent(jButton4, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE) .addComponent(jButton3, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 73, javax.swing.GroupLayout.PREFERRED_SIZE))) .addGap(28, 28, 28) .addComponent(jTabbedPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 349, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(121, Short.MAX_VALUE)) ); javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5); jPanel5.setLayout(jPanel5Layout); jPanel5Layout.setHorizontalGroup( jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel5Layout.createSequentialGroup() .addContainerGap() .addComponent(jPanel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addContainerGap()) ); jPanel5Layout.setVerticalGroup( jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel5Layout.createSequentialGroup() .addContainerGap() .addComponent(jPanel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addContainerGap()) ); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); getContentPane().setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addContainerGap() .addComponent(jPanel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addContainerGap()) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addContainerGap() .addComponent(jPanel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addContainerGap()) ); pack(); setLocationRelativeTo(null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public frmRectangulo() {\n initComponents();\n }", "public form() {\n initComponents();\n }", "public AdjointForm() {\n initComponents();\n setDefaultCloseOperation(HIDE_ON_CLOSE);\n }", "public FormListRemarking() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n \n }", "public FormPemilihan() {\n initComponents();\n }", "public GUIForm() { \n initComponents();\n }", "public FrameForm() {\n initComponents();\n }", "public TorneoForm() {\n initComponents();\n }", "public FormCompra() {\n initComponents();\n }", "public muveletek() {\n initComponents();\n }", "public Interfax_D() {\n initComponents();\n }", "public quanlixe_form() {\n initComponents();\n }", "public SettingsForm() {\n initComponents();\n }", "public RegistrationForm() {\n initComponents();\n this.setLocationRelativeTo(null);\n }", "public Soru1() {\n initComponents();\n }", "public FMainForm() {\n initComponents();\n this.setResizable(false);\n setLocationRelativeTo(null);\n }", "public soal2GUI() {\n initComponents();\n }", "public EindopdrachtGUI() {\n initComponents();\n }", "public MechanicForm() {\n initComponents();\n }", "public AddDocumentLineForm(java.awt.Frame parent) {\n super(parent);\n initComponents();\n myInit();\n }", "public BloodDonationGUI() {\n initComponents();\n }", "public quotaGUI() {\n initComponents();\n }", "public Customer_Form() {\n initComponents();\n setSize(890,740);\n \n \n }", "public PatientUI() {\n initComponents();\n }", "public myForm() {\n\t\t\tinitComponents();\n\t\t}", "public Oddeven() {\n initComponents();\n }", "public intrebarea() {\n initComponents();\n }", "public Magasin() {\n initComponents();\n }", "public RadioUI()\n {\n initComponents();\n }", "public NewCustomerGUI() {\n initComponents();\n }", "public ZobrazUdalost() {\n initComponents();\n }", "public FormUtama() {\n initComponents();\n }", "public p0() {\n initComponents();\n }", "public INFORMACION() {\n initComponents();\n this.setLocationRelativeTo(null); \n }", "public ProgramForm() {\n setLookAndFeel();\n initComponents();\n }", "public AmountReleasedCommentsForm() {\r\n initComponents();\r\n }", "public form2() {\n initComponents();\n }", "public MainForm() {\n\t\tsuper(\"Hospital\", List.IMPLICIT);\n\n\t\tstartComponents();\n\t}", "public LixeiraForm() {\n initComponents();\n setLocationRelativeTo(null);\n }", "public kunde() {\n initComponents();\n }", "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n setRequestFocusEnabled(false);\n setVerifyInputWhenFocusTarget(false);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 465, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 357, Short.MAX_VALUE)\n );\n }", "public MusteriEkle() {\n initComponents();\n }", "public frmMain() {\n initComponents();\n }", "public frmMain() {\n initComponents();\n }", "public DESHBORDPANAL() {\n initComponents();\n }", "public GUIForm() {\n initComponents();\n inputField.setText(NO_FILE_SELECTED);\n outputField.setText(NO_FILE_SELECTED);\n progressLabel.setBackground(INFO);\n progressLabel.setText(SELECT_FILE);\n }", "public frmVenda() {\n initComponents();\n }", "public Botonera() {\n initComponents();\n }", "public FrmMenu() {\n initComponents();\n }", "public OffertoryGUI() {\n initComponents();\n setTypes();\n }", "public JFFornecedores() {\n initComponents();\n }", "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setBackground(new java.awt.Color(255, 255, 255));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 983, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 769, Short.MAX_VALUE)\n );\n\n pack();\n }", "public EnterDetailsGUI() {\n initComponents();\n }", "public vpemesanan1() {\n initComponents();\n }", "public Kost() {\n initComponents();\n }", "public FormHorarioSSE() {\n initComponents();\n }", "public UploadForm() {\n initComponents();\n }", "public frmacceso() {\n initComponents();\n }", "public HW3() {\n initComponents();\n }", "public Managing_Staff_Main_Form() {\n initComponents();\n }", "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n getContentPane().setLayout(null);\n\n pack();\n }", "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 300, Short.MAX_VALUE)\n );\n }", "public sinavlar2() {\n initComponents();\n }", "public P0405() {\n initComponents();\n }", "public IssueBookForm() {\n initComponents();\n }", "public MiFrame2() {\n initComponents();\n }", "public Choose1() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n\n String oldAuthor = prefs.get(\"AUTHOR\", \"\");\n if(oldAuthor != null) {\n this.authorTextField.setText(oldAuthor);\n }\n String oldBook = prefs.get(\"BOOK\", \"\");\n if(oldBook != null) {\n this.bookTextField.setText(oldBook);\n }\n String oldDisc = prefs.get(\"DISC\", \"\");\n if(oldDisc != null) {\n try {\n int oldDiscNum = Integer.parseInt(oldDisc);\n oldDiscNum++;\n this.discNumberTextField.setText(Integer.toString(oldDiscNum));\n } catch (Exception ex) {\n this.discNumberTextField.setText(oldDisc);\n }\n this.bookTextField.setText(oldBook);\n }\n\n\n }", "public GUI_StudentInfo() {\n initComponents();\n }", "public Lihat_Dokter_Keseluruhan() {\n initComponents();\n }", "public JFrmPrincipal() {\n initComponents();\n }", "public bt526() {\n initComponents();\n }", "public Pemilihan_Dokter() {\n initComponents();\n }", "public Ablak() {\n initComponents();\n }", "@Override\n\tprotected void initUi() {\n\t\t\n\t}", "@SuppressWarnings(\"unchecked\")\n\t// <editor-fold defaultstate=\"collapsed\" desc=\"Generated\n\t// Code\">//GEN-BEGIN:initComponents\n\tprivate void initComponents() {\n\n\t\tlabel1 = new java.awt.Label();\n\t\tlabel2 = new java.awt.Label();\n\t\tlabel3 = new java.awt.Label();\n\t\tlabel4 = new java.awt.Label();\n\t\tlabel5 = new java.awt.Label();\n\t\tlabel6 = new java.awt.Label();\n\t\tlabel7 = new java.awt.Label();\n\t\tlabel8 = new java.awt.Label();\n\t\tlabel9 = new java.awt.Label();\n\t\tlabel10 = new java.awt.Label();\n\t\ttextField1 = new java.awt.TextField();\n\t\ttextField2 = new java.awt.TextField();\n\t\tlabel14 = new java.awt.Label();\n\t\tlabel15 = new java.awt.Label();\n\t\tlabel16 = new java.awt.Label();\n\t\ttextField3 = new java.awt.TextField();\n\t\ttextField4 = new java.awt.TextField();\n\t\ttextField5 = new java.awt.TextField();\n\t\tlabel17 = new java.awt.Label();\n\t\tlabel18 = new java.awt.Label();\n\t\tlabel19 = new java.awt.Label();\n\t\tlabel20 = new java.awt.Label();\n\t\tlabel21 = new java.awt.Label();\n\t\tlabel22 = new java.awt.Label();\n\t\ttextField6 = new java.awt.TextField();\n\t\ttextField7 = new java.awt.TextField();\n\t\ttextField8 = new java.awt.TextField();\n\t\tlabel23 = new java.awt.Label();\n\t\ttextField9 = new java.awt.TextField();\n\t\ttextField10 = new java.awt.TextField();\n\t\ttextField11 = new java.awt.TextField();\n\t\ttextField12 = new java.awt.TextField();\n\t\tlabel24 = new java.awt.Label();\n\t\tlabel25 = new java.awt.Label();\n\t\tlabel26 = new java.awt.Label();\n\t\tlabel27 = new java.awt.Label();\n\t\tlabel28 = new java.awt.Label();\n\t\tlabel30 = new java.awt.Label();\n\t\tlabel31 = new java.awt.Label();\n\t\tlabel32 = new java.awt.Label();\n\t\tjButton1 = new javax.swing.JButton();\n\n\t\tlabel1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel1.setText(\"It seems that some of the buttons on the ATM machine are not working!\");\n\n\t\tlabel2.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel2.setText(\"Unfortunately these numbers are exactly what Professor has to use to type in his password.\");\n\n\t\tlabel3.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel3.setText(\n\t\t\t\t\"If you want to eat tonight, you have to help him out and construct the numbers of the password with the working buttons and math operators.\");\n\n\t\tlabel4.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tlabel4.setText(\"Denver's Password: 2792\");\n\n\t\tlabel5.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel5.setText(\"import java.util.Scanner;\\n\");\n\n\t\tlabel6.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel6.setText(\"public class ATM{\");\n\n\t\tlabel7.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel7.setText(\"public static void main(String[] args){\");\n\n\t\tlabel8.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel8.setText(\"System.out.print(\");\n\n\t\tlabel9.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel9.setText(\" -\");\n\n\t\tlabel10.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel10.setText(\");\");\n\n\t\ttextField1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\ttextField1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tlabel14.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel14.setText(\"System.out.print( (\");\n\n\t\tlabel15.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel15.setText(\"System.out.print(\");\n\n\t\tlabel16.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel16.setText(\"System.out.print( ( (\");\n\n\t\tlabel17.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel17.setText(\")\");\n\n\t\tlabel18.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel18.setText(\" +\");\n\n\t\tlabel19.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel19.setText(\");\");\n\n\t\tlabel20.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel20.setText(\" /\");\n\n\t\tlabel21.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel21.setText(\" %\");\n\n\t\tlabel22.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel22.setText(\" +\");\n\n\t\tlabel23.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel23.setText(\");\");\n\n\t\tlabel24.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel24.setText(\" +\");\n\n\t\tlabel25.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel25.setText(\" /\");\n\n\t\tlabel26.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel26.setText(\" *\");\n\n\t\tlabel27.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));\n\t\tlabel27.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel27.setText(\")\");\n\n\t\tlabel28.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel28.setText(\")\");\n\n\t\tlabel30.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel30.setText(\"}\");\n\n\t\tlabel31.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel31.setText(\"}\");\n\n\t\tlabel32.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel32.setText(\");\");\n\n\t\tjButton1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tjButton1.setText(\"Check\");\n\t\tjButton1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\tjButton1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tjavax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n\t\tlayout.setHorizontalGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(28).addGroup(layout\n\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING).addComponent(getDoneButton()).addComponent(jButton1)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, 774, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addGap(92).addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15, GroupLayout.PREFERRED_SIZE, 145,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(2)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(37))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(174)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(7)))\n\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label22, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label23, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20).addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(23).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel10, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16, GroupLayout.PREFERRED_SIZE, 177,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));\n\t\tlayout.setVerticalGroup(\n\t\t\t\tlayout.createParallelGroup(Alignment.LEADING).addGroup(layout.createSequentialGroup().addContainerGap()\n\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\tlayout.createSequentialGroup().addGroup(layout.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(3)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(19)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(78)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(76)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(75)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShort.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(27))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\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.createParallelGroup(\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\tAlignment.LEADING)\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.addComponent(label22,\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\tGroupLayout.PREFERRED_SIZE,\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\tGroupLayout.DEFAULT_SIZE,\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\tGroupLayout.PREFERRED_SIZE)\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.addGroup(\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\tlayout.createSequentialGroup()\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.addGap(3)\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.addComponent(\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\tlabel23,\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\tGroupLayout.PREFERRED_SIZE,\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\tGroupLayout.DEFAULT_SIZE,\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\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(29)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))))\n\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t.addGap(30)\n\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(25)\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(26).addComponent(jButton1).addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(getDoneButton()).addContainerGap(23, Short.MAX_VALUE)));\n\t\tthis.setLayout(layout);\n\n\t\tlabel16.getAccessibleContext().setAccessibleName(\"System.out.print( ( (\");\n\t\tlabel17.getAccessibleContext().setAccessibleName(\"\");\n\t\tlabel18.getAccessibleContext().setAccessibleName(\" +\");\n\t}", "public Pregunta23() {\n initComponents();\n }", "public FormMenuUser() {\n super(\"Form Menu User\");\n initComponents();\n }", "public AvtekOkno() {\n initComponents();\n }", "public busdet() {\n initComponents();\n }", "public ViewPrescriptionForm() {\n initComponents();\n }", "public Ventaform() {\n initComponents();\n }", "public Kuis2() {\n initComponents();\n }", "public CreateAccount_GUI() {\n initComponents();\n }", "public POS1() {\n initComponents();\n }", "public Carrera() {\n initComponents();\n }", "public EqGUI() {\n initComponents();\n }", "public JFriau() {\n initComponents();\n this.setLocationRelativeTo(null);\n this.setTitle(\"BuNus - Budaya Nusantara\");\n }", "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setBackground(new java.awt.Color(204, 204, 204));\n setMinimumSize(new java.awt.Dimension(1, 1));\n setPreferredSize(new java.awt.Dimension(760, 402));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 750, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n }", "public nokno() {\n initComponents();\n }", "public dokter() {\n initComponents();\n }", "public ConverterGUI() {\n initComponents();\n }", "public hitungan() {\n initComponents();\n }", "public Modify() {\n initComponents();\n }", "public frmAddIncidencias() {\n initComponents();\n }", "public FP_Calculator_GUI() {\n initComponents();\n \n setVisible(true);\n }" ]
[ "0.73191476", "0.72906625", "0.72906625", "0.72906625", "0.72860986", "0.7248112", "0.7213479", "0.72078276", "0.7195841", "0.71899796", "0.71840525", "0.7158498", "0.71477973", "0.7092748", "0.70800966", "0.70558053", "0.69871384", "0.69773406", "0.69548076", "0.69533914", "0.6944929", "0.6942576", "0.69355655", "0.6931378", "0.6927896", "0.69248974", "0.6924723", "0.69116884", "0.6910487", "0.6892381", "0.68921053", "0.6890637", "0.68896896", "0.68881863", "0.68826133", "0.68815064", "0.6881078", "0.68771756", "0.6875212", "0.68744373", "0.68711984", "0.6858978", "0.68558776", "0.6855172", "0.6854685", "0.685434", "0.68525875", "0.6851834", "0.6851834", "0.684266", "0.6836586", "0.6836431", "0.6828333", "0.68276715", "0.68262815", "0.6823921", "0.682295", "0.68167603", "0.68164384", "0.6809564", "0.68086857", "0.6807804", "0.6807734", "0.68067646", "0.6802192", "0.67943805", "0.67934304", "0.6791657", "0.6789546", "0.6789006", "0.67878324", "0.67877173", "0.6781847", "0.6765398", "0.6765197", "0.6764246", "0.6756036", "0.6755023", "0.6751404", "0.67508715", "0.6743043", "0.67387456", "0.6736752", "0.67356426", "0.6732893", "0.6726715", "0.6726464", "0.67196447", "0.67157453", "0.6714399", "0.67140275", "0.6708251", "0.6707117", "0.670393", "0.6700697", "0.66995865", "0.66989213", "0.6697588", "0.66939527", "0.66908985", "0.668935" ]
0.0
-1
Swap the new cursor in. (The framework will take care of closing the old cursor once we return.)
@Override public void onLoadFinished(Loader<Cursor> loader, Cursor cursor) { mPurseAdapter.swapCursor(cursor); // Sumar el total de todos los monederos int currency; int total = 0; if (!cursor.moveToFirst()) { return; } do { currency = cursor.getInt(cursor.getColumnIndexOrThrow(PurseEntry.COLUMN_CURRENCY)); if (currency == PurseEntry.EUR) { total += cursor.getInt(cursor.getColumnIndexOrThrow(PurseEntry.COLUMN_TOTAL)); } } while (cursor.moveToNext()); mTotalTextView.setText(PurseEntry.formatTotal(total) + PurseEntry.selectCurrencySymbol(PurseEntry.EUR)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public Cursor swapCursor(final Cursor cursor) {\n if (cursor == mCursor) return null;\n\n final Cursor prevCursor = mCursor;\n mCursor = cursor;\n return prevCursor;\n }", "public void swapCursor(Cursor newCursor) {\n if (mCursor != null) mCursor.close();\n mCursor = newCursor;\n if (newCursor != null) {\n // Force the RecyclerView to refresh\n this.notifyDataSetChanged();\n }\n }", "public void swapCursor(Cursor cursor) {\n mCursor = cursor;\n notifyDataSetChanged();\n }", "@SuppressWarnings({\"unused\", \"RedundantSuppression\"})\n @Override\n public Cursor swapCursor(final Cursor cursor) {\n mCursorCache = null;\n return cursor;\n }", "public Cursor swapCursor(Cursor c) {\n if (mCursor == c) {\n return null; // bc nothing has changed\n }\n Cursor temp = mCursor;\n this.mCursor = c; // new cursor value assigned\n\n //check if this is a valid cursor, then update the cursor\n if (c != null) {\n this.notifyDataSetChanged();\n }\n return temp;\n }", "public Cursor swapCursor(Cursor c) {\n // check if this cursor is the same as the previous cursor (mCursor)\n if (mCursor == c) {\n return null; // bc nothing has changed\n }\n Cursor temp = mCursor;\n this.mCursor = c; // new cursor value assigned\n\n //check if this is a valid cursor, then update the cursor\n if (c != null) {\n this.notifyDataSetChanged();\n }\n return temp;\n }", "@MainThread\n @SuppressWarnings(\"WeakerAccess\")\n public void updateCursor(final Cursor cursor) {\n setCurrentAdapter(false);\n final Cursor prevCursor = mCursorAdapter.swapCursor(\n cursor != null && cursor.getCount() > 0 ? cursor: null);\n if (prevCursor != null && !Utils.equals(prevCursor, cursor) && !prevCursor.isClosed())\n Utils.close(prevCursor);\n }", "private void updateCursor() {\n if ((! editor.isCursorSet())\n || editor.getCursor() instanceof UIResource) {\n Cursor cursor = (editor.isEditable()) ? textCursor : null;\n editor.setCursor(cursor);\n }\n }", "public void setCursor(int l, int c);", "@Override\n public void onLoadFinished(android.support.v4.content.Loader loader, Cursor data) {\n adapter.swapCursor(data);//replaces the old Cursor with the new one\n }", "public void setCursor(int row, int col);", "public void setCursor(Cursor c) {\n\n\t}", "@Override\n\t\tprotected void onPostExecute(Cursor result) {\n\t\t\tmAdapter.swapCursor(result);\n\t\t}", "public void reset() {\r\n\t\tcursor = mark;\r\n\t}", "void setCursor(int kind);", "private void clearCursor() {\n \n cursor_ = getDefaultInstance().getCursor();\n }", "public void cursorOn();", "public void mark() {\r\n\t\tmark = cursor;\r\n\t}", "private void closeCursor() {\n if (cursor != null) {\n cursor.close();\n }\n if (refreshedCursor != null) {\n refreshedCursor.close();\n }\n }", "public void setChangeCursor(boolean changeCursor)\n\t{\n\t\tthis.changeCursor = changeCursor;\n\t}", "@Override\n public void onLoadFinished(Loader<Cursor> loader, Cursor cursor) {\n // The swapCursor() method assigns the new Cursor to the adapter\n adapter.swapCursor(cursor);\n }", "public List<MovieModel> swapCursor(List<MovieModel> c) {\n if (movieModelList == c) {\n return null; // nothing has changed\n }\n List<MovieModel> temp = movieModelList;\n this.movieModelList = c; // new cursor value assigned\n\n if (c != null) {\n this.notifyDataSetChanged();\n }\n return temp;\n }", "public void moveCursorRight();", "public void swapRecipes(Cursor newRecipes)\n {\n mCursor = newRecipes;\n notifyDataSetChanged();\n }", "void moveNext()\n\t{\n\t\tif (cursor != null) \n\t\t{\n\t\t\tif (cursor == back) \n\t\t\t{\n\t\t\t\tcursor = null;\n index = -1; //added cause i was failing the test scripts and forgot to manage the indices \n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tcursor = cursor.next; //moves cursor toward back of the list\n index++; //added cause i was failing to the test scripts and forgot to manage the indicies\n\t\t\t}\n\t\t}\n\t}", "@Override\n public void onLoadFinished(Loader<Cursor> loader, Cursor data) {\n //data.moveToPrevious();\n mAdapter.swapCursor(data);\n }", "public void cursorOff();", "@Override\n public void onLoadFinished(Loader<Cursor> loader, Cursor data) {\n bookAdapter.swapCursor(data);\n }", "public void moveToCurrentRow() throws SQLException\n {\n m_rs.moveToCurrentRow();\n }", "public void setCursorName(String name) throws SQLException {\n currentPreparedStatement.setCursorName(name);\n }", "@Override\n\tprotected void closeCursor(Cursor cursor) {\n\t\tsuper.closeCursor(cursor);\n\t}", "public void moveCursor(int x, int y) {\n int pos = x + (y * COLS);\n this.x = x;\n this.y = y;\n writeCursor(0x0F, pos);\n writeCursor(0x0E, pos >>> 8);\n }", "private void rewind() {\n currentPos = markPos;\n }", "public void setCursorName(String name) throws SQLException {\n\r\n }", "public void changeCursor(Cursor cursor) {\n cursor.moveToPosition(-1);\n final int key_position = cursor.getColumnIndex(CachedValue.KEY);\n final int value_position = cursor.getColumnIndex(CachedValue.VALUE);\n while (cursor.moveToNext()) {\n String key = cursor.getString(key_position);\n String value = cursor.getString(value_position);\n mValues.put(key, value);\n }\n\n notifyDataSetChanged();\n }", "@Override\n public void setCursorName(String unused) throws SQLException {\n throw new SQLException(\"tinySQL does not support cursors.\");\n }", "public void replaceCurrentData(Cursor cursor) {\n\t\tMySimpleCursorAdapter adapt = (MySimpleCursorAdapter)this.getListAdapter();\n\t\t// because data collection is handled in a separate thread, the adapter\n\t\t// may be null if the data is replaced prior to the thread execution\n\t\tif (cursor != null && adapt != null) {\n\t\t\tadapt.changeCursor(cursor);\n\t\t\tadapt.notifyDataSetChanged();\n\t\t} else\n\t\t\tLog.e(TAG, \"Adapter or cursor is null! adapter = \" + adapt + \", cursor = \" + cursor);\n\t}", "public void moveCursorLeft();", "public void moveToCurrentRow() throws SQLException {\n\n try {\n debugCodeCall(\"moveToCurrentRow\");\n checkClosed();\n insertRow = null;\n }\n catch (Exception e) {\n throw logAndConvert(e);\n }\n }", "private void updateCursor() {\n cursor.setHeight(lineHeight);\n }", "public synchronized void setCursor(Cursor cursor) {\n if (cursor == null) {\n cursor = Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR);\n }\n super.setCursor(cursor);\n }", "@GuardedBy(\"this\")\n private Cursor createMergedCursor() {\n try {\n final boolean hasNewCalls = mNewCallsCursor.getCount() != 0;\n final boolean hasOldCalls = mOldCallsCursor.getCount() != 0;\n \n if (!hasNewCalls) {\n // Return only the old calls, without the header.\n MoreCloseables.closeQuietly(mNewCallsCursor);\n return mOldCallsCursor;\n }\n \n if (!hasOldCalls) {\n // Return only the new calls.\n MoreCloseables.closeQuietly(mOldCallsCursor);\n return new MergeCursor(\n new Cursor[]{ createNewCallsHeaderCursor(), mNewCallsCursor });\n }\n \n return new MergeCursor(new Cursor[]{\n createNewCallsHeaderCursor(), mNewCallsCursor,\n createOldCallsHeaderCursor(), mOldCallsCursor});\n } finally {\n // Any cursor still open is now owned, directly or indirectly, by the caller.\n mNewCallsCursor = null;\n mOldCallsCursor = null;\n }\n }", "private void moveCursorToRow(int row) {\n\t\ttry {\n\t\t\tint count = 0;\n\t\t\twhile (row != count && rs.next()) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tcatch (SQLException se) {\n\t\t\tthrow getExceptionTranslator().translate(\"Attempted to move ResultSet to last committed row\", getSql(), se);\n\t\t}\n\t}", "public int getCursor() { return curs; }", "private void moveCursor( int nr, int nc )\n {\n // moving (or escaping) while editing forces processing of editString\n if( state.equals( \"editing\" ) )\n {\n if( okay( editString ) )\n {\n a[cursorRow][cursorCol] = convert( editString );\n }\n editString = \"\";\n \n }\n else if( state.equals( \"rhsEditing\" ) )\n {\n if( okay( rhsEditString ) )\n {\n a[cursorRow][numCols-1] = convert( rhsEditString );\n }\n rhsEditString = \"\";\n }\n\n // move appropriately (might be illegal request)\n int oldRow=cursorRow, oldCol=cursorCol; // remember so can restore as needed\n\n cursorRow = nr; cursorCol = nc;\n\n if( ( (state.equals( \"editing\" ) && cursorRow == 0) || 1<=cursorRow) // good row\n && cursorRow<numRows && 0<=cursorCol && cursorCol<numCols-1\n )\n {// new position is legal, shift window as needed so cursor visible\n\n // adjust window vertically\n if( cursorRow > 0 ) // when cursor on obj row leave firstWinRow at 1\n {\n if( cursorRow < firstWinRow )\n firstWinRow = cursorRow;\n if( cursorRow > firstWinRow + winRows - 1 )\n firstWinRow = cursorRow - winRows + 1;\n }\n\n // adjust window horizontally\n if( cursorCol < firstWinCol )\n firstWinCol = cursorCol;\n if( firstWinCol+winCols-1 < cursorCol )\n firstWinCol = cursorCol - winCols + 1;\n\n }// new position legal\n else\n {// restore original\n cursorRow=oldRow; cursorCol=oldCol;\n }\n\n }", "public static void m1040a(Cursor cursor) {\n if (cursor != null && !cursor.isClosed()) {\n cursor.close();\n }\n }", "private void resetCursorToMaxBufferedRowsPlus1() {\n if (cursorPosition > rows.size() + 1) {\n cursorPosition = rows.size() + 1;\n }\n }", "@SJC.Inline\n private void writeCursor(int b1, int b2) {\n MAGIC.wIOs8(0x03D4, (byte) b1);\n MAGIC.wIOs8(0x03D5, (byte) b2);\n }", "private void setCursor(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n cursor_ = value;\n }", "public void setCursor(int cl, int cc) {\n if (cl >= lines || cl < 0 || cc >= columns || cc < 0)\n return;\n\n this.cl = cl;\n this.cc = cc;\n }", "public void advance( )\r\n {\r\n\t if(isCurrent() != true){// Implemented by student.\r\n\t throw new IllegalStateException(\"no current element\");\r\n\t }\r\n\t else\r\n\t \t precursor = cursor;\r\n\t \t cursor = cursor.getLink(); // Implemented by student.\r\n }", "public void cursorUp() throws IndexOutOfBoundsException {\n if(cursor <= 0)\n throw new IndexOutOfBoundsException(\"Exception: Cursor is currently at line \"+cursor);\n //Setting the cursor to be the text line before its current position.\n cursor--;\n }", "public abstract long getCursor();", "private void resetMouseCursor() {\n GameContainer c = Main.getInstance().getContainer();\n c.setDefaultMouseCursor();\n }", "public void setResultCursor() {\r\n getParameterTypes().set(0, OUT_CURSOR); \r\n setIsCursorOutputProcedure(!hasOutputCursors());\r\n setIsMultipleCursorOutputProcedure(hasOutputCursors());\r\n }", "@Override\r\n protected void redrawCursor() {\n this.viewport.getCursor().moveAccordingly(this.finger.getFingerPitch(), this.finger.getFingerYaw());\r\n }", "void movePrev()\n\t{\n\t\tif (cursor != null) \n\t\t{\n\t\t\tif (cursor == front) \n\t\t\t{\n\t\t\t\tcursor = null;\n index = -1; //added this because i kept failing the test cases on the grading script\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tcursor = cursor.prev; //moves cursor toward front of the list\n index--; //added this because i kept failing the test cases on the grading script\n\t\t\t}\n\t\t}\n\t}", "public void next() {\n if (highlight.getMatchCount() > 0) {\n Point point = highlight.getNextMatch(cursor.getY(), cursor.getX());\n if (point != null) {\n cursor.moveTo(point);\n }\n return;\n }\n Point point = file.getNextModifiedPoint(cursor.getY(), cursor.getX());\n if (point != null) {\n cursor.moveTo(point);\n }\n }", "private void cursorMoveRightest() {\n\t\td(\"Warn cursorMoveRightest() NOT implemented\");\r\n\t}", "public void start( )\r\n {\r\n if (cursor != head){\r\n \t cursor = head; // Implemented by student.\r\n \t precursor = null;\r\n }\r\n }", "public void setWaitCursor(Cursor waitCursor) {\r\n this.waitCursor = waitCursor;\r\n }", "@Override\n public boolean isCurrent() { return cursor != null; }", "public void removeAtCursor() {\n lines.remove(cursor);\n if(cursor !=0 && cursor==lines.size())\n cursor--;\n }", "private synchronized void invalidate() {\n MoreCloseables.closeQuietly(mNewCallsCursor);\n MoreCloseables.closeQuietly(mOldCallsCursor);\n mNewCallsCursor = null;\n mOldCallsCursor = null;\n }", "@Override\n public void onLoadFinished(Loader<Cursor> loader, Cursor data)\n {\n// mFlavorAdapter.swapCursor(data);\n }", "public void swap() {\n if (capturing) {\n bufDst.end();\n }\n\n // Swap buffers\n if (writeState) {\n bufSrc = buffer1;\n bufDst = buffer2;\n } else {\n bufSrc = buffer2;\n bufDst = buffer1;\n }\n\n if (capturing) {\n bufDst.begin();\n }\n\n writeState = !writeState;\n }", "private static void changeCursorMoveMode(boolean isRelative) {\n if (isRelative) {\n TaskDetail.actionToTask.put(SINGLE_FINGER + MOVE, TaskDetail.taskDetails.get(MOVE_CURSOR_RELATIVE));\n } else {\n TaskDetail.actionToTask.put(SINGLE_FINGER + MOVE, TaskDetail.taskDetails.get(MOVE_CURSOR_ABSOLUTE));\n }\n BluetoothConnection.TouchEventMappingControl.updateMapping();\n }", "private void setBusyCursor(){\r\n\t\tlensdiagram.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));\r\n\t}", "public void replaceAtCursor(String s) {\n lines.set(cursor, s);\n }", "public MoveCursorToHome ( CTEUser user ) {\n _user = user;\n }", "public java.lang.String getCursor() {\n return cursor_;\n }", "public void setGroupCursor(Cursor cursor) {\n mGroupCursorHelper.changeCursor(cursor, false);\n }", "@Override\n public void start() {\n if (size > 0) {\n cursor = head;\n prev = null;\n } else {\n cursor = null; }\n }", "public void previous() {\n if (highlight.getMatchCount() > 0) {\n Point point = highlight.getPreviousMatch(cursor.getY(), cursor.getX());\n if (point != null) {\n cursor.moveTo(point);\n }\n return;\n }\n Point point = file.getPreviousModifiedPoint(cursor.getY(), cursor.getX());\n if (point != null) {\n cursor.moveTo(point);\n }\n }", "public void MovePrevious()\r\n {\r\n\r\n \t try{\r\n \t\t if(!rsTution.previous())rsTution.first();\r\n \t\t Display();\r\n\r\n\r\n \t }catch(SQLException sqle)\r\n \t {System.out.println(\"MovePrevious Error:\"+sqle);}\r\n }", "public void undo() {\n\t\tif(committed){\n\t\t\treturn;\n\t\t}\n\t\tboolean [][] tempGrid = grid;\n\t\tgrid = backupGrid;\n\t\tbackupGrid = tempGrid;\n\n\t\tint [] tempWidths = widths;\n\t\twidths = backupWidths;\n\t\tbackupWidths = tempWidths;\n\n\t\tint [] tempHeights = heights;\n\t\theights = backupHeights;\n\t\tbackupHeights = tempHeights;\n\n\t\tint tempMaxColumnHeight = maxColumnHeight;\n\t\tmaxColumnHeight = backupMaxColumnHeight;\n\t\tbackupMaxColumnHeight = tempMaxColumnHeight;\n\n\t\tcommit();\n\t}", "private void paintCursor() {\r\n }", "@Override\n public void onLoaderReset(Loader<Cursor> loader) {\n bookAdapter.swapCursor(null);\n }", "private void drawCursor(final Terminal term, int prevOption, int curOption)\n {\n // create a blank string and use it to clear where the cursor used to be\n String blank = \"\";\n for (int i = 0; i < cursor.length(); i++)\n {\n blank += SPACE;\n }\n LanternaUtil.termPrint(term, blank, firstColumn, firstRow + prevOption);\n LanternaUtil.termPrint(term, cursor, firstColumn, firstRow + curOption);\n term.flush();\n }", "public static void _ShowCursor() \r\n {\r\n if (TextEditor._ThreadLocalStore.HideCursor)\r\n {\r\n TextEditor._ThreadLocalStore.HideCursor = false; \r\n SafeNativeMethods.ShowCursor(true);\r\n } \r\n }", "public void setCursorFlecha() {\r\n\t\tshell.setCursor(new Cursor(display, SWT.CURSOR_ARROW));\r\n\t}", "public void swap() {\n\t\tCode.put(Code.dup_x1);\n\t\tCode.put(Code.pop);\n\t}", "public int cursor();", "private void closeCursor(Cursor c) { // TEMPORARILY PUBLIC\n if (c != null) {\n c.close();\n }\n }", "private void updateClientCursor() {\n PointerInfo pointerInfo = MouseInfo.getPointerInfo();\n /*\n * BUGFIX not yet applied upstream!\n */\n if (pointerInfo == null) {\n Logger log = Logger.getLogger(getClass().getName());\n log.warning(\"BUGFIX - NPE avoided\");\n return;\n }\n Point p = pointerInfo.getLocation();\n SwingUtilities.convertPointFromScreen(p, this);\n Component target = SwingUtilities.getDeepestComponentAt(this, p.x, p.y);\n if (target != null) {\n content.setCursor(target.getCursor());\n }\n }", "public static void cursor(int cursorOver){\n\t\tmouseOver = cursorOver;\n\t}", "@Override\n public void onLoaderReset(Loader<Cursor> loader) {\n // Clear the Cursor we were using with another call to the swapCursor()\n adapter.swapCursor(null);\n }", "void resetLine() {\n eof = (cursor == lineMark);\n cursor = lineMark;\n }", "public X cursor(Cursor cursor) {\n component.setCursor(cursor);\n return (X) this;\n }", "public void setCursorColor ( Color cursorColor ) { _cursorColor = cursorColor; }", "public void setCursor(int renglon){\n panel.setCaretPosition(renglon);\n }", "public void rewind() throws DbException, TransactionAbortedException;", "public void removeNodeAfter() { cursor = cursor.getNext().getNext(); }", "@Override\n\tpublic void onLoaderReset(Loader<Cursor> loader) {\n\t\tmAdapter.swapCursor(null);\n\t}", "private void setDefaultCursor(){\r\n\t\tlensdiagram.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));\r\n\t}", "public void putDocumentAfterEdit() {\r\n\t\tif(pointer < strategy.getEntireHistory().size()-1) {\r\n\t\t\tstrategy.putVersion(currentDocument);\r\n\t\t}\r\n\t}", "@Override\n public void onLoaderReset(Loader<Cursor> loader) {\n mCursorAdapter.swapCursor(null);\n }", "public void cursorDown() throws IndexOutOfBoundsException {\n if(cursor == size()-1)\n throw new IndexOutOfBoundsException(\"Exception: Current line is size()-1!\");\n //Setting the cursor to be the text line after its current position.\n cursor++;\n }", "@Override\n\t\tpublic void rewind() throws DbException, TransactionAbortedException {\n\t\t\tclose();\n\t\t\topen();\n\t\t}", "public final void rewind() {\n branch = 0;\n }", "public void updateScreen() {\n/* 25 */ this.ipEdit.updateCursorCounter();\n/* */ }" ]
[ "0.7568983", "0.74998534", "0.73973423", "0.7228006", "0.7041382", "0.6998408", "0.66859865", "0.6622632", "0.65490377", "0.6527358", "0.65101004", "0.64928806", "0.6424181", "0.63163596", "0.6119488", "0.6111049", "0.60545397", "0.6016407", "0.5978597", "0.5951686", "0.5911925", "0.5839581", "0.5814538", "0.58060944", "0.58039683", "0.57933503", "0.57552165", "0.5754208", "0.5730949", "0.5722071", "0.57051754", "0.5692517", "0.5666585", "0.5655025", "0.5645146", "0.5643047", "0.5641244", "0.56228137", "0.56067157", "0.5589303", "0.55806535", "0.55760664", "0.5553625", "0.5550729", "0.55456585", "0.5522393", "0.5481266", "0.5466934", "0.5456608", "0.54037774", "0.53903836", "0.53870755", "0.53794444", "0.5369668", "0.5349566", "0.5336094", "0.53334385", "0.5325938", "0.53220356", "0.531927", "0.5319139", "0.5308203", "0.53031325", "0.53010464", "0.52913785", "0.5273449", "0.52578044", "0.52437997", "0.51991105", "0.51789874", "0.5177072", "0.5152969", "0.5149562", "0.5137612", "0.5128848", "0.51277804", "0.512733", "0.5122186", "0.51188594", "0.51129824", "0.51086235", "0.5095955", "0.5086312", "0.5084905", "0.5080332", "0.5076179", "0.5063278", "0.50592065", "0.5052041", "0.50471735", "0.504543", "0.503197", "0.50252384", "0.5023782", "0.5020843", "0.5020616", "0.49929914", "0.49856716", "0.4982969", "0.49773115", "0.49741206" ]
0.0
-1
This is called when the last Cursor provided to onLoadFinished() above is about to be closed. We need to make sure we are no longer using it.
@Override public void onLoaderReset(Loader<Cursor> loader) { mPurseAdapter.swapCursor(null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void onReset() {\n super.onReset();\n onStopLoading();\n if (!(this.mCursor == null || this.mCursor.isClosed())) {\n this.mCursor.close();\n }\n this.mCursor = null;\n }", "@Override\r\n\tpublic void onLoadFinished(Loader<Cursor> mLoader, Cursor mCursor) {\n\t\t\r\n\t}", "public void onReset() {\n super.onReset();\n onStopLoading();\n if (this.mCursor != null && !this.mCursor.isClosed()) {\n this.mCursor.close();\n }\n this.mCursor = null;\n }", "public void onReset() {\n super.onReset();\n onStopLoading();\n Cursor cursor = this.mCursor;\n if (cursor != null && !cursor.isClosed()) {\n this.mCursor.close();\n }\n this.mCursor = null;\n }", "@Override\n\tpublic void onDestroy() {\n\t\tif(cursor!=null)\n\t\t\tcursor.close();\n\t\tsuper.onDestroy();\n\t}", "private void closeCursor() {\n if (cursor != null) {\n cursor.close();\n }\n if (refreshedCursor != null) {\n refreshedCursor.close();\n }\n }", "@Override\n\tpublic void onLoaderReset(Loader<Cursor> arg0) {\n\t // This is called when the last Cursor provided to onLoadFinished()\n\t // above is about to be closed. We need to make sure we are no\n\t // longer using it.\n\t\tmForecastAdapter.swapCursor(null); // Release previous cursor so can be properly handled\n\t}", "@Override\n public void onLoadFinished(Loader<Cursor> loader, Cursor data)\n {\n// mFlavorAdapter.swapCursor(data);\n }", "@Override\n protected void onReset() {\n // Ensure the loader has been stopped.\n onStopLoading();\n // At this point we can release the resources.\n if (mCursor != null) {\n ReleaseResources(mCursor);\n mCursor = null;\n }\n }", "@Override\n public void onCanceled(Cursor cursor) {\n // Attempt to cancel the current asynchronous load.\n super.onCanceled(mCursor);\n\n // The load has been canceled, so we should release the resources\n // associated with 'data'.\n ReleaseResources(cursor);\n }", "@Override\n public void onLoadFinished(Loader<Cursor> loader, Cursor cursor) {\n // The swapCursor() method assigns the new Cursor to the adapter\n adapter.swapCursor(cursor);\n }", "@Override\n\tprotected void onDestroy() {\n\t\tsuper.onDestroy();\n\t\timageCursor.close();\n\t}", "@Override\n\tprotected void closeCursor(Cursor cursor) {\n\t\tsuper.closeCursor(cursor);\n\t}", "@Override\n public void onLoadFinished(Loader<Cursor> cursorLoader, Cursor cursor) {\n if(cursor.getCount() > 0)\n showNoView(false);\n\n // Swap the cursor and cancel the refresh icon\n mMatchesAdapter.swapCursor(cursor);\n postRefreshing(false);\n }", "@Override\n protected void onDestroy() {\n super.onDestroy();\n Log.d(TAG, \"onDestroy\");\n// mPhotoLoader.stop();\n if (mMatrixCursor != null)\n mMatrixCursor.close();\n }", "@Override\r\n public void onLoaderReset(Loader<Cursor> loader) {\n mLocationCursor.close();\r\n mLocationCursor = null;\r\n }", "@Override\n public void onLoaderReset(Loader<Cursor> cursorLoader) {\n // Nothing to do here\n }", "@Override\n public void onLoadFinished(android.support.v4.content.Loader loader, Cursor data) {\n adapter.swapCursor(data);//replaces the old Cursor with the new one\n }", "@Override\n\tpublic void onLoadFinished(Loader<Cursor> arg0, Cursor arg1) {\n\t // Swap the new cursor in. (The framework will take care of closing the\n\t // old cursor once we return.)\n\t\tmForecastAdapter.swapCursor(arg1); // Switch to using this cursor\t\t\n\t\t\n\t\t// Fixes 2 pane bug that does not hold activated state after orient change\n\t\tif (mPosition != ListView.INVALID_POSITION) {\n\t\t\t// If we don't need to restart the loader, and there's a desired position to restore\n\t\t\t// to, do so now.\n\t\t\tmListView.smoothScrollToPosition(mPosition);\n\t\t}\n\t}", "@Override\n public void onLoadFinished(Loader<Cursor> loader, Cursor data) {\n bookAdapter.swapCursor(data);\n }", "private void closeCursor(Cursor c) { // TEMPORARILY PUBLIC\n if (c != null) {\n c.close();\n }\n }", "@Override public void onLoaderReset(Loader<Cursor> loader) {\n\t\t}", "@Override\n public void onLoaderReset(Loader<Cursor> loader)\n {\n// mFlavorAdapter.swapCursor(null);\n }", "@Override\r\n public void onLoaderReset(Loader<Cursor> loader){\r\n //mDetailCursor = null;\r\n }", "@Override\n public void onLoaderReset(Loader<Cursor> arg0) {\n\n }", "@Override\n public void onLoaderReset(Loader<Cursor> arg0) {\n\n }", "@Override\n public void onLoadFinished(Loader<Cursor> loader, Cursor data) {\n //data.moveToPrevious();\n mAdapter.swapCursor(data);\n }", "@Override\n public void onLoadFinished(Loader<Cursor> loader, Cursor data) {\n // Update the data that the adapter uses to create ViewHolders\n mAdapter.swapCursor(data);\n }", "@Override\r\n\tpublic void onLoaderReset(Loader<Cursor> mLoader) {\n\t\t\r\n\t}", "@Override\n public void onLoaderReset(Loader<Cursor> arg0) {\n\n\n }", "public void onDestroy() {\n super.onDestroy();\n if (this.mCityCursor != null) {\n this.mCityCursor.close();\n }\n if (this.mCityRedMan != null) {\n this.mCityRedMan.closeDB();\n }\n }", "public void close(){\n this.mMovieCursor.unregisterContentObserver(mContentObserver);\n mContentObserver = null;\n this.mMovieCursor.close();\n loadedMovies.clear();\n loadedMovies = null;\n }", "@Override\r\n public void onLoaderReset(Loader<Cursor> loader) {\n\r\n }", "@Override\n public void onLoaderReset(Loader<Cursor> loader) {\n\n\n }", "@Override\n\tpublic void onLoaderReset(Loader<Cursor> loader) {\n\n\t}", "@Override\n\tpublic void onLoadFinished(Loader<Cursor> loader, Cursor cursor) {\n\t\tswitch (loader.getId()) {\n\t\t\tcase LOADER_ID:\n\t\t\t\t// The asynchronous load is complete and the data\n\t\t\t\t// is now available for use. Only now can we associate\n\t\t\t\t// the queried Cursor with the SimpleCursorAdapter.\n\t\t\t\tmAdapter.swapCursor(cursor);\n\t\t\t\tmCursor = mAdapter.getCursor();\n\t\t\t\tbreak;\n\t\t}\n\t\t// The listview now displays the queried data.\n\t}", "public void endCallback(){\n inProgress = false;\n desInit();\n }", "@Override\r\n public void onTerminate() {\n \r\n dataManager.closeDb();\r\n selectedBook = null;\r\n super.onTerminate();\r\n }", "@Override\n public void onLoadFinished(Loader<Cursor> loader, Cursor data) {\n this.goalAdapter.swapCursor(data);\n this.goalAdapter.setOnGoalChangeListener(this);\n }", "@Override\n\tpublic void onLoadFinished(Loader<Cursor> loader, Cursor cursor) {\n\t\tExerciseCursorAdapter adapter =\n\t\t\t\tnew ExerciseCursorAdapter(getActivity(), (ExerciseCursor)cursor);\n\t\tsetListAdapter(adapter);\n\t}", "@Override\n public void onLoaderReset(Loader<Cursor> loader) {\n mCursorAdapter.swapCursor(null);\n }", "public void onLoadFinished(Loader<Cursor> loader, Cursor cursor) {\n int i;\n if (cursor == null || cursor.getCount() == 0) {\n i = 1;\n } else {\n cursor.moveToFirst();\n int length = (this.f5389I.getString(R.string.new_recording) + \" \").length();\n i = 1;\n while (!cursor.isAfterLast()) {\n String string = cursor.getString(0);\n try {\n int parseInt = Integer.parseInt(string.substring(length, string.length()));\n if (parseInt != i) {\n if (parseInt > i) {\n break;\n }\n } else {\n i++;\n }\n cursor.moveToNext();\n } catch (Exception unused) {\n cursor.moveToNext();\n }\n }\n }\n this.f5411d = this.f5389I.getString(R.string.new_recording) + \" \" + NumberFormat.getIntegerInstance().format((long) i);\n StringBuilder sb = new StringBuilder();\n sb.append(\"Load new name: <onLoadFinished> the one is: \");\n sb.append(i);\n C0938a.m5002a(\"SR/SoundRecorder\", sb.toString());\n EditText editText = this.f5390J;\n if (editText != null && editText.getVisibility() == 0 && loader.getId() == 0) {\n this.f5390J.setText(this.f5411d);\n EditText editText2 = this.f5390J;\n editText2.setSelection(editText2.getText().length());\n this.f5390J.selectAll();\n }\n TextView textView = this.f5412da;\n if (textView != null && !this.f5408ba) {\n textView.setText(this.f5411d);\n this.f5408ba = true;\n }\n }", "@Override\n public void onLoaderReset(Loader<Cursor> loader) {\n this.goalAdapter.swapCursor(null);\n }", "@Override\n public void onDocumentFinish() {\n if (mImageLoader != null) {\n mImageLoader.clearResources();\n }\n }", "@Override\n public void onLoadFinished(Loader<Cursor> arg0, Cursor arg1) {\n setSupportProgressBarIndeterminateVisibility(false);\n\n if (arg1.moveToFirst()) {\n final Cursor c = arg1;\n\n mHandler.post(new Runnable() {\n @Override\n public void run() {\n do {\n generatePersongrow(c);\n } while (c.moveToNext());\n }\n });\n\n } else {\n mHandler.post(new Runnable() {\n\n @Override\n public void run() {\n String tag = DateTime.getCurrentDateTime();\n GrowFragment f = GrowFragment.newInstance(Action.INSERT, null, null, null, tag);\n addEditFragment(f, tag);\n\n }\n });\n }\n }", "@Override\r\n public void onLoaderReset(Loader<Cursor> loader) {\n mCursorAdapter.swapCursor(null);\r\n\r\n }", "@Override\n public void onLoadFinished(@NotNull Loader<Cursor> cursorLoader, Cursor cursor) {\n if (mStartId > 0) {\n cursor.moveToFirst();\n while (!cursor.isAfterLast()) {\n if (cursor.getLong(ArticleLoader.Query._ID) == mStartId) {\n final int position = cursor.getPosition();\n mCursor = cursor;\n mPagerAdapter.notifyDataSetChanged();\n binding.pager.setCurrentItem(position, false);\n break;\n }\n cursor.moveToNext();\n }\n }\n }", "public void onFinish(){\n\n mMovieStaff.onFinish();\n mRefreshStaff.onFinish();\n mKeeperStaff.onFinish();\n mMaidStaff.onFinish();\n\n mDB.close();\n }", "@Override\n public void onLoaderReset(Loader<Cursor> loader) {\n bookAdapter.swapCursor(null);\n }", "@Override\n public void onLoaderReset(Loader<Cursor> loader) {\n // Clear the Cursor we were using with another call to the swapCursor()\n adapter.swapCursor(null);\n }", "@Override\n public void finish() throws SQLiteException {\n SQLiteNative.sqlite3_finalize(handle);\n }", "@Override\n public void onLoadFinished(Loader<Cursor> arg0, Cursor arg1) {\n setSupportProgressBarIndeterminateVisibility(false);\n\n if (arg1.moveToFirst()) {\n final Cursor c = arg1;\n\n mHandler.post(new Runnable() {\n @Override\n public void run() {\n do {\n System.out.println(\"I'm gening\");\n generateanimaltype(c);\n } while (c.moveToNext());\n }\n });\n\n } else {\n mHandler.post(new Runnable() {\n\n @Override\n public void run() {\n String tag = DateTime.getCurrentDateTime();\n customFragment f = customFragment.newInstance(Action.INSERT, null, null, null, tag);\n addEditFragment(f, tag);\n\n }\n });\n }\n }", "@Override\n public void onPause() {\n super.onPause();\n context.stopManagingCursor(totals);\n context.stopManagingCursor(c);\n context.stopManagingCursor(activity);\n }", "@Override\n\tpublic void onLoaderReset(Loader<Cursor> loader) {\n\t\tmAdapter.swapCursor(null);\n\t}", "static void safeClose(final Cursor cursor) {\n if (null != cursor) {\n try {\n cursor.close();\n } catch (Exception e) {\n LOG.warn(\"Ignoring exception closing cursor.\", e);\n }\n }\n }", "@Override\r\n\t\t\tpublic void onClosed() {\n\t\t\t\t\r\n\t\t\t}", "public static void m1040a(Cursor cursor) {\n if (cursor != null && !cursor.isClosed()) {\n cursor.close();\n }\n }", "protected void onEnd() {}", "public void finalize() {\n\n if (mBtManager != null) {\n //mBtManager.stop();\n mBtManager.setHandler(null);\n }\n mBtManager = null;\n mContext = null;\n mConnectionInfo = null;\n }", "public void m6614a(Cursor cursor) {\n if (cursor != null) {\n try {\n cursor.close();\n } catch (Throwable th) {\n C0938a.m5005b(\"SR/SoundRecorder\", \"fail to close\", th);\n }\n }\n }", "@Override\n public void onLoaderReset(Loader<Cursor> loader) {\n mAdapter.swapCursor(null);\n }", "private void clearCursor() {\n \n cursor_ = getDefaultInstance().getCursor();\n }", "public void onLoaderReset(Loader<Cursor> loader) {\n awardsGridViewAdapter.swapCursor(null);\n }", "@MainThread\n @SuppressWarnings(\"WeakerAccess\")\n public void updateCursor(final Cursor cursor) {\n setCurrentAdapter(false);\n final Cursor prevCursor = mCursorAdapter.swapCursor(\n cursor != null && cursor.getCount() > 0 ? cursor: null);\n if (prevCursor != null && !Utils.equals(prevCursor, cursor) && !prevCursor.isClosed())\n Utils.close(prevCursor);\n }", "@Override\n\tpublic void onPostExecute(boolean isValidCursor)\n\t{\n\t\t\n\t}", "@Override\n public void onLoaderReset(Loader loader) {\n mAdapter.swapCursor(null);\n }", "@FxThread\n private void onFinishLoading() {\n pluginSystem.getPlugins().stream()\n .filter(EditorPlugin.class::isInstance)\n .map(EditorPlugin.class::cast)\n .forEach(editorPlugin -> editorPlugin.onFinishLoading(pluginSystem));\n }", "@Override\n\tpublic void onPause() {\n\t\tsuper.onPause();\n\t\tdatasource.close();\n\t}", "public void finalize() {\r\n byteBuffer2 = null;\r\n byteBuffer4 = null;\r\n byteBuffer8 = null;\r\n progressBar = null;\r\n tagBuffer = null;\r\n\r\n if (raFile != null) {\r\n\r\n try {\r\n raFile.close();\r\n } catch (final IOException ioe) {\r\n // Do nothing\r\n }\r\n }\r\n\r\n raFile = null;\r\n }", "public void onLoadComplete() {\n\t\t\r\n\t}", "private void onQuitter() {\n dispose();\r\n }", "@Override\n public void onLoaderReset(android.support.v4.content.Loader loader) {\n adapter.swapCursor(null);\n }", "@Override\n public void onLoaderReset(@NonNull Loader<Cursor> loader) {\n\n }", "@Override\n\t\t\t\t\tpublic void onFinish() {\n\t\t\t\t\t}", "@Override\n\t\t\t\t\tpublic void onFinish() {\n\t\t\t\t\t}", "public void finalize() {\r\n printToLogFile = null;\r\n selectedFiles = null;\r\n }", "@Override\n public void onLoaderReset(Loader<Cursor> loader) {\n adapter.swapCursor(null);\n }", "public void finishActionsIteration() {\n mIterator = 0;\n mDemoActionsId = null;\n this.getReadableDatabase().close();\n }", "public void onLoaderReset(Loader<Cursor> arg0) {\n \t adapter.swapCursor(null);\n \t\t\n \t}", "protected void finalize() {\n close();\n }", "public void onFinish() {\n }", "@Override\n protected void onPostExecute(Cursor result) {\n if (!isCancelled())\n onEndSearchFile(result);\n }", "protected void finalize() {\n\t\tclose();\n\t}", "public void onLoadComplete(){\n\t\tif (listener != null){\n\t\t\thandler.post(new Runnable() {\n\t\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\tlistener.onLoadComplete();\t\t\t\t\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}", "void onFinishedLoading();", "@Override\n\t\t\t\t\tpublic void onFinish() {\n\n\t\t\t\t\t}", "public void onFinish() {\n\n\t}", "@Override\n\t\tpublic void onFinish() {\n\t\t}", "@Override\n\tpublic void onGuiClosed() {\n\t\tfield_154330_a.removed();\n\t\tsuper.onGuiClosed();\n\t}", "private synchronized void invalidate() {\n MoreCloseables.closeQuietly(mNewCallsCursor);\n MoreCloseables.closeQuietly(mOldCallsCursor);\n mNewCallsCursor = null;\n mOldCallsCursor = null;\n }", "public void onClosingFinished() {\n super.onClosingFinished();\n resetHorizontalPanelPosition();\n setClosingWithAlphaFadeout(false);\n }", "@Override\n public void onDestroy(){\n super.onDestroy();\n favoritesCursor.close();\n db.close();\n }", "@Override\n\t\tpublic void onFinish() {\n\t\t\tfinalizar();\n\t\t}", "@Override\n protected void onReset() {\n onStopLoading();\n\n // At this point we can release the resources associated with 'mData'.\n if (mData != null) {\n releaseResources(mData);\n mData = null;\n }\n }", "@Override\n public void onFinish() {\n\t\t\t\n }", "@Override\n public void onFinish() {\n }", "@Override\n public void onLoadFinished(Loader<Cursor> loader, Cursor cursor) {\n if (cursor == null || cursor.getCount() < 1) {\n return;\n }\n\n // Proceed with moving to the first row of the cursor and reading data from it\n // (This should be the only row in the cursor)\n if (cursor.moveToFirst()) {\n // Find the columns of product attributes that we're interested in\n int idColumnIndex = cursor.getColumnIndex(GoalandTaskMatcherContract.GoalEntry.MY_GOAL_ID);\n int descriptionColumnIndex = cursor.getColumnIndex(GoalandTaskMatcherContract.GoalEntry.COLUMN_GOAL_DESCRIPTION);\n\n // Extract out the value from the Cursor for the given column index\n String ID = cursor.getString(idColumnIndex);\n String description = cursor.getString(descriptionColumnIndex);\n\n // Update the views on the screen with the values from the database\n mDescriptionEditText.setText(description);\n\n }\n }", "@Override\n public void onLoadFinished(android.content.Loader<Cursor> loader, Cursor cursor) {\n if (cursor.moveToFirst()) {\n // Get the column indexes\n int productNameColumnIndex = cursor.getColumnIndex(BookEntry.COLUMN_BOOK_PRODUCT_NAME);\n int priceColumnIndex = cursor.getColumnIndex(BookEntry.COLUMN_BOOK_PRICE);\n int quantityColumnIndex = cursor.getColumnIndex(BookEntry.COLUMN_BOOK_QUANTITY);\n int supplierNameColumnIndex = cursor.getColumnIndex(BookEntry.COLUMN_BOOK_SUPPLIER_NAME);\n int supplierPhoneColumnIndex = cursor.getColumnIndex(BookEntry.COLUMN_BOOK_SUPPLIER_PHONE_NUMBER);\n\n // Pull the data from the columns\n String productName = cursor.getString(productNameColumnIndex);\n String price = cursor.getString(priceColumnIndex);\n String quantity = cursor.getString(quantityColumnIndex);\n String supplierName = cursor.getString(supplierNameColumnIndex);\n String supplierPhone = cursor.getString(supplierPhoneColumnIndex);\n\n // Set the data pulled onto the objects\n productNameEditText.setText(productName);\n priceEditText.setText(price);\n quantityTextView.setText(quantity);\n supplierNameEditText.setText(supplierName);\n supplierPhoneEditText.setText(supplierPhone);\n\n // Set the global variable for the quantity of books\n bookQuantity = Integer.parseInt(quantity);\n }\n }", "@Override\n public void deliverResult(Cursor cursor) {\n if (isReset()) {\n // The Loader has been reset; ignore the result and invalidate the data.\n if (cursor!=null) {\n ReleaseResources(cursor);\n }\n return;\n }\n // Hold a reference to the old data so it doesn't get garbage collected.\n // We must protect it until the new data has been delivered.\n Cursor oldCursor = mCursor;\n mCursor = cursor;\n Log.v(LOG_TAG, \"deliverResult cursor: \" + String.valueOf(mCursor.getCount()));\n if (isStarted()) {\n // If the Loader is in a started state, deliver the results to the\n // client. The superclass method does this for us.\n super.deliverResult(cursor);\n }\n // Invalidate the old data as we don't need it any more\n if (oldCursor!=null && oldCursor!=cursor) {\n ReleaseResources(oldCursor);\n }\n }", "public void onGuiClosed() {\n super.onGuiClosed();\n }" ]
[ "0.75013745", "0.74527436", "0.74223447", "0.7279504", "0.7064719", "0.7029404", "0.69404846", "0.69385564", "0.6923533", "0.68791205", "0.6860994", "0.6813129", "0.68000776", "0.6777345", "0.67602205", "0.6707064", "0.6700493", "0.6638872", "0.65359634", "0.6441918", "0.64026767", "0.6361119", "0.63326395", "0.6292946", "0.6290821", "0.6290821", "0.6290396", "0.6288429", "0.62848175", "0.62502223", "0.6249044", "0.6229887", "0.6218496", "0.62108016", "0.6189364", "0.6154057", "0.61429304", "0.6134681", "0.6123309", "0.61229664", "0.6118579", "0.61160994", "0.6101955", "0.60945046", "0.6084681", "0.6083919", "0.60799503", "0.6054258", "0.60535866", "0.6048722", "0.60437435", "0.603259", "0.6015278", "0.5971384", "0.59668374", "0.596076", "0.5940273", "0.59379214", "0.5927116", "0.5918057", "0.591612", "0.5912473", "0.5904108", "0.5858729", "0.58519167", "0.58255404", "0.58230853", "0.58210814", "0.58164376", "0.58148474", "0.581382", "0.57940245", "0.5793122", "0.5790762", "0.5790762", "0.57886475", "0.57865256", "0.57705176", "0.5761467", "0.57590383", "0.5751003", "0.5748304", "0.57431763", "0.5740275", "0.5736655", "0.5734859", "0.57099104", "0.56926036", "0.5691609", "0.568902", "0.56887734", "0.56858116", "0.56840533", "0.5682118", "0.5678774", "0.5672504", "0.56560904", "0.56527", "0.5651458", "0.5648444" ]
0.6031097
52
I'm making this class a subclass of the Shape class
public ColorEllipse(javax.swing.JPanel container){//I'm making this shape's subclass ask for a container of type javax.swing.JPanel when isntantiated. super(container, new java.awt.geom.Ellipse2D.Double());//I'm passing the superclass constructor the container that will be //received when the shape is created and I'm also passing a new ellipse of type java.awt.geom.Ellipse2D.Double. }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected Shape() {}", "@Override\n\tpublic void getShape() {\n\n\t}", "public Shape getShape() { return shape; }", "Shape getShape();", "public NewShape() {\r\n\t\tsuper();\r\n\t}", "public interface Shape {\n\t/**\n\t * Calculates and returns the area of the object\n\t * @return\n\t */\n\tpublic abstract double getArea();\n\t\n\t/**\n\t * Returns the Color of the object.\n\t * @return\n\t */\n\tpublic abstract Color getColor();\n\t\n\t/**\n\t * Sets the Color of the object.\n\t * @param color\n\t */\n\tpublic abstract void setColor(Color color);\n\t\n\t/**\n\t * Returns true if the object is filled with color, otherwise false.\n\t * @return\n\t */\n\tpublic abstract boolean getFilled();\n\t\n\t/**\n\t * Sets the filled state of the object.\n\t * @param filled\n\t */\n\tpublic abstract void setFilled(boolean filled);\n\t\n\t/**\n\t * Moves the shape by the x and y amounts specified in the Point.\n\t * @param point\n\t */\n\tpublic abstract void move(Point point);\t\n}", "public Shape getShape();", "@Override\n Shape getShape() {\n return Shape.Square;\n }", "@Override\n\tpublic void BuildShape(Graphics g) {\n\t\t\n\t}", "public Shape()\n\t{\n\t\tinitShape();\n\t}", "protected Shape getShape()\n {\n return null;\n }", "public Shape getShape()\n {\n return Shape.this;\n }", "void drawShape(Shape s) {\n }", "public Shape getShape() {\n return shape;\n }", "@Override\n\tprotected Shape getShape() {\n\t\treturn null;\n\t}", "public Shape(){\n\t\t//System.out.println(\"This is abstract class Shape\");\n\t}", "public Shape getShape() {\n\treturn shape;\n }", "AbstractShape(String name, double x, double y, double w, double h, int r, int g, int b) {\n this.name = name;\n this.x = x;\n this.y = y;\n this.w = w;\n this.h = h;\n this.r = r;\n this.g = g;\n this.b = b;\n }", "protected abstract boolean isShapeSimple();", "public Shape getShape() {\n\t\treturn this;\n\t}", "@Override\n public FillableShape getShape()\n {\n return FillableShape.this;\n }", "public Shape() {\n\t\tthis(DEFAULT_X_POS, DEFAULT_Y_POS, DEFAULT_DELTA_X, DEFAULT_DELTA_Y, DEFAULT_WIDTH, DEFAULT_HEIGHT);\n\t}", "public interface Shape {\n\n double size();\n Color color();\n\n\n}", "public abstract Shape createPath();", "@Override\n public void generateShape() {\n AffineTransform tx = new AffineTransform();\n tx.rotate(-this.getRotation(), this.getX(), this.getY());\n this.shape = tx.createTransformedShape(new Ellipse2D.Double(\n this.getX() + this.getWidth() / 2 - D / 2,\n this.getY() + this.getHeight() / 2 - D / 2,\n D, D));\n }", "public interface Shape {\n\t \n\tvoid draw();\n}", "public Shape getMyShape() {\n\t\treturn myShape;\n\t}", "public Shape getShape() {\r\n\t\t\treturn shape;\r\n\t\t}", "public Shape() { this(X_DEFAULT, Y_DEFAULT); }", "@Override\n public Shape getShape() {\n myPencil.moveTo(getStartPoint().getX(), getStartPoint().getY());\n myPencil.lineTo(getEndPoint().getX(), getEndPoint().getY());\n setStartPoint(getEndPoint());\n \n return myPencil;\n }", "public int getMyShape(){ return myShape;}", "public CarrierShape()\n {\n super();\n }", "protected abstract void setShapes();", "public EpsShape(Shape shape) {\n\t\tthis(shape,false);\n\t}", "public Shape getShape() \n {\n return new EllipseShape(new Extent(3,3), Color.RED,true);\n }", "public void drawShape(Shape shape);", "public Shape getShape() {\n\t\treturn shape;\n\t}", "@Override\r\n\tpublic void accept(ShapeElementVisitor visitor) {\n\t\tvisitor.visit(this);\r\n\t}", "IShape getCurrentShape();", "public Rectangle getShape(){\n return myRectangle;\n }", "@Override\n\tpublic String getShape() {\n\t\treturn \"Rectangle\";\n\t}", "@Override\n\tprotected Shape getShape() {\n\t\tRectangle2D ellipse = new Rectangle2D.Double(this.getX(), this.getY(), this.getDimension(), this.getDimension()/2);\n\t return ellipse;\n\t}", "public abstract Shape getCopy();", "abstract void geometryMethod();", "@Override\n\tpublic void createCollisionShape() {\n\t\t\n\t}", "void add(Shape aShape);", "public abstract Shape clone() throws CloneNotSupportedException;", "public void assignShape() {\n\t\t\n\t}", "private static void addShaped()\n {}", "public Paint() {\n shapes = new ArrayList<>();\n }", "public interface Shape \r\n{\r\n void draw();\r\n}", "public Shape getShape() {\n return null;\n }", "public CarrierShape(int x,int y)\n {\n super(x,y);\n }", "public interface Shape\n{\n void draw();\n}", "@Override\n public Shape getCelkoveHranice() {\n return new Rectangle2D.Double(super.getX() + 22, super.getY() + 45, 45, 45);\n }", "public Shape()\n {\n this(Anchor.CENTER.anchoredAt(Anchor.CENTER.ofView()).sized(100, 100));\n }", "public Shape getShape()\n\t{\n\t\treturn rect;\n\t}", "public IShape(Position position, boolean magic) {\r\n\t\tsuper(position, magic, true);\r\n\t\tPosition position1 = new Position(position.row() + 1, position.col());\r\n\t\tPosition position2 = new Position(position1.row() + 1, position1.col());\r\n\t\tsuper.setCell(new Cell(new Block(Color.CYAN, magic), position),\r\n\t\t\t\tnew Cell(new Block(Color.CYAN, false), position1), new Cell(new Block(Color.CYAN, false), position2));\r\n\r\n\t}", "interface Shape{\r\n\tvoid draw();\r\n}", "DrawShape(){\r\n super();\r\n setBackground(Color.WHITE);\r\n addMouseListener(this);\r\n }", "public Shape getClipShape() { return null; }", "public ShapeTest(Shape shape) {\r\n\t\t\r\n\t\tthis.shape = shape;\r\n\t}", "abstract Shape nodeShape(String node, Graphics2D g2d);", "public interface IShape {\n\n /**\n * Adds a new motion to the list if it does not overlap with any existing motion, and add the\n * keyframes that align with the start and end points of this motion.\n *\n * @param motion the motion to be added\n * @throws IllegalArgumentException if the motion overlaps with an existing motion in the list\n */\n void addMotion(IMotion motion);\n\n /**\n * Add the given keyframe to this animation, and edit the motions to align with the new keyframe.\n *\n * @param keyframe the keyframe to be added.\n */\n void addKeyframe(IKeyframe keyframe);\n\n /**\n * Removes the keyframe and reformats motions at the given time.\n *\n * @param time the tick to remove the keyframe at\n */\n void removeKeyframe(int time);\n\n /**\n * Adds the given keyframe to this shape, overwriting the one at the time it has.\n *\n * @param newKeyframe the new keyframe to add.\n */\n void editKeyframe(IKeyframe newKeyframe);\n\n /**\n * Returns all the motions of this shape object.\n *\n * @return a list containing all motions.\n */\n List<IMotion> getMotions();\n\n /**\n * Returns all keyframes of this shape object.\n *\n * @return a list containing all keyframes.\n */\n List<IKeyframe> getKeyframes();\n\n /**\n * Calculates the current position of this shape at the given tick, and sets the values.\n *\n * @param tick the tick to calculate position at\n * @throws IllegalArgumentException if tick is not positive or if no motion runs at that tick\n */\n void calculateMotionAtTick(int tick);\n\n /**\n * Returns a string containing the name of the type of shape this object is.\n *\n * @return the string representing the name of the type of this object.\n */\n String getType();\n\n /**\n * Gets dimensions field of this Shape.\n *\n * @return the dimension field\n */\n Dimension getDimensions();\n\n /**\n * Gets the color field of this Shape.\n *\n * @return the color field\n */\n Color getColor();\n\n /**\n * Gets the position field of this Shape.\n *\n * @return the position field\n */\n Point getPosition();\n\n /**\n * Checks that there are no gaps in the run time of this shape's motions.\n *\n * @return true if there are no gaps, false otherwise\n */\n boolean isPlayable();\n\n /**\n * Returns the final tick value for this shape.\n *\n * @return the final tick value\n */\n int getFinalTick();\n\n /**\n * Returns the first tick motions start for this shape.\n *\n * @return the first tick value.\n */\n int getFirstTick();\n\n /**\n * Gets the name of this shape.\n *\n * @return the name\n */\n String getName();\n\n /**\n * Checks if this shape has a motion during this time.\n *\n * @param tick the tick to check\n * @return if the shape has a motion\n */\n boolean isRunningDuringTick(int tick);\n\n}", "public Shape(ShapeType shape, Color color, int width, int height, int posX, int posY, String name) {\n\t\tsuper(posX, posY, width, height, name);\n\t\tthis.shape = shape;\n\t\tthis.color = color;\n\t}", "public interface Shape {\n\n void draw();\n\n}", "public interface Shape {\r\n void draw();\r\n}", "public CarrierShape(int x,int y, int deltaX, int deltaY)\n {\n super(x,y,deltaX,deltaY);\n }", "public String whatShape();", "public ShapeGraphics() {\r\n //A random object to set random measures for the shapes\r\n Random rn = new Random();\r\n //Creating two instances of every shape using the random object and adding them to the list\r\n for (int i = 0; i <2 ; i++) {\r\n MyLine line = new MyLine(rn.nextInt(MAX_SIZE),rn.nextInt(MAX_SIZE),rn.nextInt(MAX_SIZE),rn.nextInt(MAX_SIZE), Color.RED);\r\n MyRectangle rec = new MyRectangle (rn.nextInt(MAX_SIZE),rn.nextInt(MAX_SIZE),rn.nextInt(MAX_SIZE),rn.nextInt(MAX_SIZE),Color.RED,true);\r\n MyOval oval = new MyOval (rn.nextInt(MAX_SIZE),rn.nextInt(MAX_SIZE),rn.nextInt(MAX_SIZE),rn.nextInt(MAX_SIZE),Color.RED,true);\r\n list.add(line);\r\n list.add(oval);\r\n list.add(rec);\r\n\r\n }\r\n //Creating cloned shapes of this list and adding them to another array list\r\n ClonedShapes c = new ClonedShapes(list);\r\n clonedList = c.getClonedList();\r\n }", "public interface Shape {\n\n void draw();\n}", "public interface Shape {\n\n void draw();\n}", "public interface Shape {\n\n void draw(); //Tells what kind of shape is drawn\n}", "public interface Shape {\n public String draw();\n}", "public static void main(String[] args) {\n\n Color color = new Color();\n color.setIntensity(10);\n color.setName(\"Green\");\n Shape.color = color; // aici se modifica campul color la nivel de clasa\n // Shape.color - variabilele si methodele se acceseaza cu numele clasei iar schimbarea este vizibila in toate instantele clasei\n// shape.setColor(color); // bad practice , nu e ok sa avem getteri si setteri pentru variabile statice\n// shape1.setAria(1); // aici se modifica valoarea campului aria numai in obiectul shape1\n\n// System.out.println(shape1.getAria());\n// System.out.println(Shape.color);\n// System.out.println(shape1.color1);\n\n// System.out.println(shape2.color1);\n// Color color2 = new Color();\n// color2.setIntensity(110);\n// color2.setName(\"Red\");\n// shape2.color = color2; // e acelasi lucru ca si atunci cand schimbam valoarea campului static cu numele clasei, tot la nivel de clasa se schimba si asa pentru ca e static\n // cum e aici schimbat nu e ok- (bad practice) pentru ca ne poate induce in eroare, color fiid un camp static el trebuie accesat cu numele clasei\n // chiar si cand folosim numele unei instante a clasei , schimbarea este vizibila in toate celelalte intante ale clasei\n// System.out.println(shape2.color);\n// System.out.println(shape3.color);\n// System.out.println(shape4.color);\n }", "public Shape getShape() {\n\t\treturn null;\n\t}", "public Shape (int x, int y, Color color)\r\n {\r\n\tthis.x = x;\r\n\tthis.y = y;\r\n\tthis.color = color;\r\n }", "public interface Shape {\n void draw();\n}", "public interface Shape {\n void draw();\n}", "public interface Shape {\n void draw();\n}", "public interface Shape {\n void draw();\n}", "Shape1(){\n\t\tSystem.out.println(\"Shape is constructed\");\n\t}", "public CarrierShape(int x, int y, int deltaX, int deltaY, int width, int height)\n {\n super(x,y,deltaX,deltaY,width,height);\n }", "public Shape(ShapeType shape, Color color, int width, int height, int posX, int posY) {\n\t\tsuper(posX, posY, width, height);\n\t\tthis.shape = shape;\n\t\tthis.color = color;\n\t}", "public Shape(Shape c) { \n\t\t\t\n\t\t\tthis(c.getCenterX(), c.getCenterY(), c.getRadius(), c.getColor(), c.getWidth(), c.getHeight(), c.getAW(), c.getAH(), c.getText(), c.getType()); \n\t\t\t\n\t\t}", "public void setMyShape(int shapeIndex){this.myShape = shapeIndex;}", "public interface Shape {\n\n String getDescription();\n}", "public Circle getShape(){\n\t\treturn new Circle();\n\t}", "Polymorph(int x, int y, int height, int width){\n \t this.x = x;\n \t this.y = y;\n \t this.height = height;\n \t this.width = width;\n }", "public interface ShapeTemplate { #\n\t//Show/hide when rendering\n\tpublic void show();\n\tpublic void hide();\n\tpublic boolean getVisible();\n\t\n\t//Storage/retreival of shape mesh\n\tpublic char[][] regenCharTable();\n\tpublic char[][] getCharTable();\n\tpublic String[] getStringTable();\n\t\n\t//Internal storage of current rendered position\n\tpublic Position getPosition();\n\tpublic void setPosition(int x, int y);\n\t\n\t//Width/height accessor properties\n\tpublic int getWidth();\n\tpublic int getHeight();\n\t\n\t//Fill\n\tpublic char getFillChar();\n\tpublic void setFillChar(char newChar);\n\tpublic boolean getFilled();\n\tpublic void setFilled(boolean isFilled);\n\t\n\t//ToString\n\tpublic String toString();\n}", "void addShape(IShape shape);", "@Override\r\n public void setShape (Shape shape)\r\n {\r\n setShape(shape, Evaluation.ALGORITHM);\r\n }", "public IconShape shape() {\n\t\treturn shape;\n\t}", "public abstract Shape transform(Transformation t);", "Shape createShape(BorderType borderType);", "public interface Shape {\n public void draw();\n}", "ShapeType getShapeType();", "@Override\n\tpublic Object clone() throws CloneNotSupportedException{\n\t\tShape cloned = this;\n\t\tcloned.setPosition(this.getPosition());\n\t\tcloned.setProperties(this.getProperties());\n\t\tcloned.setColor(this.getColor());\n\t\tcloned.setFillColor(this.getFillColor());\n\t\treturn cloned;\n\t}", "public ShapeType getShape() {\n\t\treturn this.shape;\n\t}", "public abstract int[] getShape();", "@Override\n public void create() {\n shapeRenderer = new ShapeRenderer();\n }" ]
[ "0.80793774", "0.78599995", "0.76240927", "0.752209", "0.7500014", "0.7445001", "0.74211484", "0.7397194", "0.7350558", "0.734438", "0.7331751", "0.7319647", "0.72901183", "0.7169351", "0.714009", "0.7134214", "0.7110943", "0.7069622", "0.70568496", "0.7049457", "0.70475614", "0.7018949", "0.69950396", "0.698929", "0.6923362", "0.6918379", "0.69106245", "0.69042724", "0.690108", "0.6900481", "0.6888313", "0.687899", "0.6848411", "0.6839884", "0.68222725", "0.6809804", "0.6804491", "0.68015087", "0.68014854", "0.679248", "0.6782934", "0.67714244", "0.6768918", "0.6752416", "0.67453474", "0.67380095", "0.67367744", "0.67286944", "0.67192113", "0.671337", "0.6709745", "0.6708349", "0.6702762", "0.66935897", "0.6692745", "0.6689904", "0.6668096", "0.6659", "0.66569614", "0.6641848", "0.66408205", "0.66366124", "0.66269326", "0.6595162", "0.65831405", "0.6580366", "0.6579508", "0.65787554", "0.65781194", "0.65779245", "0.6570506", "0.6570506", "0.6568571", "0.6567494", "0.65638155", "0.65586495", "0.6556357", "0.65538895", "0.65538895", "0.65538895", "0.65538895", "0.65471834", "0.6530325", "0.6528417", "0.6522205", "0.65189916", "0.6513398", "0.6512162", "0.64991623", "0.64974827", "0.64957774", "0.6492979", "0.64732766", "0.64695936", "0.64651084", "0.6441081", "0.6419084", "0.64029807", "0.6402499", "0.63978565", "0.6397446" ]
0.0
-1
config contains information about how the game window should be made
public static void main (String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); //set game window title, width and height config.title="Chess Dynasties"; config.width=1100; config.height=618; config.resizable=true; //create window new LwjglApplication(new CEOV2(), config); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void settings() {\n int widthOfWindow = 900;\n int heightOfWindow = 900;\n\n //Size of the program window\n size(widthOfWindow, heightOfWindow);\n //making the movement smooth, i think, comes from processing\n smooth();\n }", "public void windowsConfiguration() {\n\t\tthis.setTitle(\"Segaleo\");\n\t\tthis.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tthis.setResizable(false);\n\t\tthis.setLocationRelativeTo(null);\n\t}", "private void settings() {\n\n\t\tthis.addWindowListener(controller);\n\t\tthis.setVisible(true);\n\t\tthis.setSize(1000, 660);\n\t\tthis.validate();\n\t\tthis.repaint();\n\n\t}", "private void settings() {\n\t\tthis.setVisible(true);\n\t\tthis.setSize(800,200);\n\t}", "protected void init(){\n\t\n\t\tsetBounds(getControllerScreenPosition());\n\t\taddComponentListener(new ComponentListener(){\n\n\t\t\tpublic void componentResized(ComponentEvent arg0) {\n\t\t\t\t//AppLogger.debug2(arg0.toString());\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\tint w = arg0.getComponent().getWidth();\n\t\t\t\tint h = arg0.getComponent().getHeight();\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t \tProperties props = getAppSettings();\t\n\t\t\t \tprops.setProperty(PREFIX+DSC_WIN_W, String.valueOf(w));\n\t\t\t \tprops.setProperty(PREFIX+DSC_WIN_H, String.valueOf(h));\t \t\t\t\t\t\t\n\t\t\t}\n\n\t\t\tpublic void componentMoved(ComponentEvent arg0) {\n\t\t\t\t//AppLogger.debug2(arg0.toString());\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\tint x = arg0.getComponent().getX();\n\t\t\t\tint y = arg0.getComponent().getY();\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t \tProperties props = getAppSettings();\t\t\t\t \t\n\t\t\t \tprops.setProperty(PREFIX+DSC_WIN_X, String.valueOf(x));\n\t\t\t \tprops.setProperty(PREFIX+DSC_WIN_Y, String.valueOf(y));\t \t\t\n\t\t\t}\n\n\t\t\tpublic void componentShown(ComponentEvent arg0) {}\n\t\t\tpublic void componentHidden(ComponentEvent arg0) {}\n\t\t\t\n\t\t});\n\t\t\n\t\tthis.addWindowListener(new WindowAdapter(){\n\t\t\n\t\t\tpublic void windowClosing(WindowEvent evt){\n\t\t\t\tstoreAppSettings();\n\t\t\t}\n\t\t});\n\t\t\n\t}", "private ConfigDialog(JFrame frame, GameScreen gameScreen) {\n super(frame, \"Configurations\", true);\n\n darkSquare = new SimpleColorChooser(\n new Color[]{new Color(0, 0, 0), new Color(40, 40, 60),\n new Color(0, 0, 60), new Color(0, 60, 0), new Color(0, 60, 60),\n new Color(22, 49, 119), new Color(100, 23, 18),\n new Color(55, 55, 0), new Color(90, 90, 90)});\n lightSquare = new SimpleColorChooser(\n new Color[]{Color.WHITE, new Color(255, 255, 204),\n new Color(255, 204, 204), new Color(255, 225, 174),\n new Color(255, 204, 102), new Color(204, 255, 255),\n new Color(218, 218, 218), new Color(255, 202, 169),\n new Color(255, 223, 236)});\n background = new SimpleColorChooser(\n new Color[]{Color.WHITE, Color.BLACK, Color.DARK_GRAY,\n new Color(255, 204, 51), new Color(0, 102, 255),\n new Color(51, 255, 0)});\n border = new SimpleColorChooser(\n new Color[]{Color.RED, Color.MAGENTA, Color.PINK, Color.ORANGE, Color.BLUE,\n Color.YELLOW, Color.CYAN, new Color(189, 37, 141),\n new Color(74, 204, 47)});\n\n showCoordinates = new JCheckBox(\"Show coordinates\");\n showCoordinates.setSelected(true);\n showCoordinates.setFont(font);\n resetCoordinates = true;\n JPanel coord = new JPanel(new FlowLayout(FlowLayout.LEFT));\n coord.add(showCoordinates);\n\n pieceFont = new FontChooser();\n JPanel choosePieces = new JPanel();\n choosePieces.add(pieceFont);\n\n JButton okButton = new JButton(\"OK\");\n okButton.addActionListener(new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n\n gameScreen.setBackground(background.getSelectedColor());\n gameScreen.setChessboardColor(border.getSelectedColor());\n gameScreen.setLightSquareColor(lightSquare.getSelectedColor());\n gameScreen.setDarkSquareColor(darkSquare.getSelectedColor());\n gameScreen.setCoordinateDrawing(showCoordinates.isSelected());\n gameScreen.setPieceFont(pieceFont.getPieceFont());\n gameScreen.repaint();\n resetCoordinates = showCoordinates.isSelected();\n setVisible(false);\n }\n });\n\n JButton cancelButton = new JButton(\"CANCEL\");\n cancelButton.addActionListener(new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n reset();\n setVisible(false);\n }\n });\n\n JPanel buttonPanel = new JPanel(new FlowLayout(FlowLayout.RIGHT, 8, 8));\n buttonPanel.add(okButton);\n buttonPanel.add(cancelButton);\n\n JPanel borderPanel = new JPanel(new BorderLayout());\n borderPanel.add(coord, BorderLayout.SOUTH);\n borderPanel.add(border, BorderLayout.CENTER);\n\n JTabbedPane tabbed = new JTabbedPane();\n tabbed.setTabPlacement(JTabbedPane.LEFT);\n tabbed.setFont(font);\n tabbed.setBorder(BorderFactory.createEmptyBorder(8, 8, 8, 8));\n tabbed.addTab(\"Light Square Color\", lightSquare);\n tabbed.addTab(\"Dark Square Color\", darkSquare);\n tabbed.addTab(\"Border Color\", borderPanel);\n tabbed.addTab(\"Background Color\", background);\n tabbed.addTab(\"Piece Style\", pieceFont);\n\n JPanel content = new JPanel(new BorderLayout());\n content.add(buttonPanel, BorderLayout.SOUTH);\n content.add(tabbed, BorderLayout.CENTER);\n setContentPane(content);\n pack();\n setResizable(false);\n int xp = frame.getX() + (frame.getWidth() - getWidth()) / 2;\n int yp = frame.getY() + (frame.getHeight() - getHeight()) / 2;\n setLocation(xp, yp);\n }", "private void setupGameWindow()\n {\n uControll.setWindowProperties(new WindowListener() {\n @Override\n public void windowOpened(WindowEvent we) {\n }\n\n @Override\n public void windowClosing(WindowEvent we) {\n menuPanel.open();\n }\n\n @Override\n public void windowClosed(WindowEvent we) {\n }\n\n @Override\n public void windowIconified(WindowEvent we) {\n }\n\n @Override\n public void windowDeiconified(WindowEvent we) {\n }\n\n @Override\n public void windowActivated(WindowEvent we) {\n }\n\n @Override\n public void windowDeactivated(WindowEvent we) {\n }\n });\n }", "public static void initSettings () {\r\n waitBoolean = false;\r\n configValue = new String[] \r\n {\"5\", \"10\", \"1000\", \"1\", \"10\", \"120\", \"0\", \"5\", \"2\"};\r\n String [] configTitle = \r\n { \"Number of elevators \",\r\n \"Number of floors \",\r\n \"Number of Passengers\",\r\n \"Riding frequency for one hour \", \r\n \"Elevator capacity \", \r\n \"Simulation Duration in minute\", \r\n \"Elevator call algorithm [0~2]\", \r\n \"Passenger patience \", \r\n \"Resolution: [1-normal, 2-high]\"\r\n };\r\n\r\n // Frame init\r\n JFrame initFrame = new JFrame();\r\n initFrame.setLayout(new BorderLayout());\r\n initFrame.setSize(1000, 800);\r\n\r\n // title area\r\n JLabel title = new JLabel (\"Configure your simulation !\"); \r\n title.setFont(new Font(\"Times\", Font.BOLD, 50));\r\n title.setBackground(Color.CYAN);\r\n JPanel titlePanel = new JPanel(); \r\n titlePanel.setLayout(new GridLayout(1,1));\r\n titlePanel.add(title);\r\n\r\n // config area\r\n JPanel initConfig = new JPanel();\r\n initConfig.setLayout(new GridLayout(configTitle.length,1));\r\n Font f = new Font (\"Times\", Font.BOLD, 30); \r\n\r\n for (int i=0; i < configTitle.length; i++) {\r\n JLabel label = new JLabel(configTitle[i]+\": \");\r\n label.setFont(f);\r\n configTextField[i] = new JTextField (configValue[i]); \r\n configTextField[i].setFont(f);\r\n initConfig.add(label); \r\n initConfig.add(configTextField[i]);\r\n }\r\n\r\n // command\r\n doIt = new JButton (\"Do It!\");\r\n doIt.setFont(new Font(\"Times\", Font.BOLD, 30));\r\n doIt.setActionCommand(\"DO\");\r\n doIt.addActionListener (new ButtonClickListener());\r\n\r\n JPanel doItPanel = new JPanel();\r\n doItPanel.setLayout(new FlowLayout(FlowLayout.LEFT));\r\n doItPanel.add(doIt);\r\n\r\n initFrame.add(titlePanel, BorderLayout.NORTH);\r\n initFrame.add(initConfig, BorderLayout.CENTER);\r\n initFrame.add(doItPanel, BorderLayout.SOUTH);\r\n initFrame.setVisible(true);\r\n \r\n while (waitBoolean == false ) {\r\n try {\r\n Thread.sleep(200);\r\n } catch (Exception e) {}\r\n }\r\n initFrame.setVisible(false);\r\n }", "private void configureWindow() {\n\tsetDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n background.setBackground(Color.BLACK);\n setSize(initialWindowWidth, initialWindowHeight);\n setVisible(true);\n }", "public void loadPreferences() {\n\t\tVector v = dboxini.getSection(\"WindowState\");\n\t\tif (v != null && v.size() == 1) {\n\t\t\tDimension scrSize = Toolkit.getDefaultToolkit().getScreenSize();\n\n\t\t\tConfigSection wp = (ConfigSection) v.elementAt(0);\n\t\t\tint x = wp.getIntProperty(\"xLoc\",-1);\n\t\t\tint y = wp.getIntProperty(\"yLoc\",-1);\n\t\t\tint w = wp.getIntProperty(\"width\",-1);\n\t\t\tint h = wp.getIntProperty(\"height\",-1);\n\n\t\t\tif (w > -1 && h > -1) {\n\t\t\t\tif (w > scrSize.width) w = scrSize.width;\n\t\t\t\tif (h > scrSize.height) h = scrSize.height;\n\t\t\t\tsetSize(w,h);\n\t\t\t}\n\n\t\t\tDimension winSize = getSize();\n\n\t\t\tif (x > -1 && y > -1) {\n\t\t\t\tif (x + winSize.width > scrSize.width) x = scrSize.width - winSize.width;\n\t\t\t\tif (y + winSize.height > scrSize.height) y = scrSize.height - winSize.height;\n\n\t\t\t\tsetLocation(x,y);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tx = (scrSize.width - winSize.width) / 2;\n\t\t\t\ty = (scrSize.height - winSize.height) / 2;\n\n\t\t\t\tint dx = x + winSize.width - scrSize.width;\n\t\t\t\tif (dx > 0)\n\t\t\t\t\tx -= dx;\n\n\t\t\t\tif (x < 0)\n\t\t\t\t\tx = 0;\n\n\t\t\t\tint dy = y + winSize.height - scrSize.height;\n\t\t\t\tif (dy > 0)\n\t\t\t\t\ty -= dy;\n\n\t\t\t\tif (y < 0)\n\t\t\t\t\ty = 0;\n\n\t\t\t\tsetLocation(x,y);\n\t\t\t}\n\t\t}\n\t\t// Otherwise, use the default.\n\t\telse {\n\t\t\tsetSize(800,550);\n\t\n\t\t\tDimension scrSize = Toolkit.getDefaultToolkit().getScreenSize();\n\t\t\tDimension winSize = getSize();\n\t\n\t\t\tint x = (scrSize.width - winSize.width) / 2;\n\t\t\tint y = (scrSize.height - winSize.height) / 2;\n\t\n\t\t\tint dx = x + winSize.width - scrSize.width;\n\t\t\tif (dx > 0)\n\t\t\t\tx -= dx;\n\t\n\t\t\tif (x < 0)\n\t\t\t\tx = 0;\n\t\n\t\t\tint dy = y + winSize.height - scrSize.height;\n\t\t\tif (dy > 0)\n\t\t\t\ty -= dy;\n\t\n\t\t\tif (y < 0)\n\t\t\t\ty = 0;\n\t\n\t\t\tsetLocation(x,y);\n\t\t}\n\t}", "public SettingsWindow()\n {\n House.seed = System.currentTimeMillis();\n initWindow();\n showWindows();\n }", "public config() {\n initComponents();\n }", "public void settings() {\r\n size(WIDTH, HEIGHT); // Set size of screen\r\n }", "private void settings() {\n mainTitle = makeLabel(\"Settings\", true);\n add(mainTitle);\n add(content);\n add(diffSlider);\n add(colourChooser);\n add(mainB);//button to main menu\n diffSlider.requestFocus();\n }", "public void settings() {\r\n\t\tthis.size(PlayGame.WIDTH,PlayGame.HEIGHT);\r\n\t}", "private void setupSettingWindow()\n {\n setGUI.setWindowListener(new WindowListener() {\n @Override\n public void windowOpened(WindowEvent we) {\n }\n\n @Override\n public void windowClosing(WindowEvent we) {\n }\n\n @Override\n public void windowClosed(WindowEvent we) {\n player1Color = setGUI.getPlayer1Color();\n player2Color = setGUI.getPlayer2Color();\n }\n\n @Override\n public void windowIconified(WindowEvent we) {\n }\n\n @Override\n public void windowDeiconified(WindowEvent we) {\n }\n\n @Override\n public void windowActivated(WindowEvent we) {\n }\n\n @Override\n public void windowDeactivated(WindowEvent we) {\n }\n });\n }", "private void buildGui() {\n nifty = screen.getNifty();\n nifty.setIgnoreKeyboardEvents(true);\n nifty.loadStyleFile(\"nifty-default-styles.xml\");\n nifty.loadControlFile(\"nifty-default-controls.xml\");\n nifty.addScreen(\"Option_Screen\", new ScreenBuilder(\"Options_Screen\") {\n {\n controller((ScreenController) app);\n layer(new LayerBuilder(\"background\") {\n {\n childLayoutCenter();;\n font(\"Interface/Fonts/zombie.fnt\");\n backgroundImage(\"Backgrounds/ZOMBIE1.jpg\");\n visibleToMouse(true);\n }\n });\n layer(new LayerBuilder(\"foreground\") {\n {\n childLayoutOverlay();\n font(\"Interface/Fonts/zombie.fnt\");\n\n panel(new PanelBuilder(\"Switch_Options\") {\n {\n childLayoutVertical();\n control(new ButtonBuilder(\"\", \"Display Settings\") {\n {\n marginTop(\"42%\");\n marginLeft(\"5%\");\n height(\"50px\");\n width(\"150px\");\n align(Align.Left);\n interactOnClick(\"goTo(Display_Settings)\");\n font(\"Interface/Fonts/zombie.fnt\");\n }\n });\n /*control(new ButtonBuilder(\"\", \"Graphics Settings\") {\n {\n marginTop(\"2%\");\n marginLeft(\"5%\");\n height(\"50px\");\n width(\"150px\");\n align(Align.Left);\n font(\"Interface/Fonts/zombie.fnt\");\n interactOnClick(\"goTo(Graphics_Extension)\");\n }\n });*/\n control(new ButtonBuilder(\"\", \"Sound Settings\") {\n {\n marginTop(\"2%\");\n marginLeft(\"5%\");\n height(\"50px\");\n width(\"150px\");\n align(Align.Left);\n font(\"Interface/Fonts/zombie.fnt\");\n interactOnClick(\"goTo(#Sound_Settings)\");\n }\n });\n control(new ButtonBuilder(\"\", \"Leaderboard\") {\n {\n marginTop(\"2%\");\n marginLeft(\"5%\");\n height(\"50px\");\n width(\"150px\");\n align(Align.Left);\n font(\"Interface/Fonts/zombie.fnt\");\n interactOnClick(\"goTo(Leader_Board)\");\n }\n });\n control(new ButtonBuilder(\"\", \"Logout\") {\n {\n marginTop(\"2%\");\n marginLeft(\"5%\");\n height(\"50px\");\n width(\"150px\");\n align(Align.Left);\n font(\"Interface/Fonts/zombie.fnt\");\n interactOnClick(\"goTo(#Login_Screen)\");\n }\n });\n control(new ButtonBuilder(\"\", \"Quit Game\") {\n {\n marginTop(\"2%\");\n marginLeft(\"5%\");\n height(\"50px\");\n width(\"150px\");\n align(Align.Left);\n font(\"Interface/Fonts/zombie.fnt\");\n interactOnClick(\"quitGame()\");\n }\n });\n }\n });\n }\n });\n }\n }.build(nifty));\n nifty.addScreen(\"Graphics_Settings\", new ScreenBuilder(\"Graphics_Extension\") {\n {\n controller(settingsControl);\n layer(new LayerBuilder(\"background\") {\n {\n font(\"Interface/Fonts/zombie.fnt\");\n childLayoutCenter();\n backgroundImage(\"Backgrounds/ZOMBIE1.jpg\");\n visibleToMouse(true);\n }\n });\n layer(new LayerBuilder(\"foreground\") {\n {\n font(\"Interface/Fonts/zombie.fnt\");\n childLayoutOverlay();\n panel(new PanelBuilder(\"Settings\") {\n {\n childLayoutVertical();\n control(new ButtonBuilder(\"\", \"Display Settings\") {\n {\n marginTop(\"42%\");\n marginLeft(\"5%\");\n height(\"50px\");\n width(\"150px\");\n align(Align.Left);\n font(\"Interface/Fonts/zombie.fnt\");\n interactOnClick(\"goTo(Display_Settings)\");\n }\n });\n /*control(new ButtonBuilder(\"\", \"Graphics Settings\") {\n {\n marginTop(\"2%\");\n marginLeft(\"5%\");\n height(\"50px\");\n width(\"150px\");\n align(Align.Left);\n font(\"Interface/Fonts/zombie.fnt\");\n }\n });*/\n control(new ButtonBuilder(\"\", \"Sound Settings\") {\n {\n marginTop(\"2%\");\n marginLeft(\"5%\");\n height(\"50px\");\n width(\"150px\");\n align(Align.Left);\n font(\"Interface/Fonts/zombie.fnt\");\n interactOnClick(\"goTo(#Sound_Settings)\");\n }\n });\n control(new ButtonBuilder(\"\", \"Leaderboard\") {\n {\n marginTop(\"2%\");\n marginLeft(\"5%\");\n height(\"50px\");\n width(\"150px\");\n align(Align.Left);\n font(\"Interface/Fonts/zombie.fnt\");\n interactOnClick(\"goTo(Leader_Board)\");\n }\n });\n control(new ButtonBuilder(\"\", \"Logout\") {\n {\n marginTop(\"2%\");\n marginLeft(\"5%\");\n height(\"50px\");\n width(\"150px\");\n align(Align.Left);\n font(\"Interface/Fonts/zombie.fnt\");\n interactOnClick(\"goTo(#Login_Screen)\");\n }\n });\n control(new ButtonBuilder(\"\", \"Quit Game\") {\n {\n marginTop(\"2%\");\n marginLeft(\"5%\");\n height(\"50px\");\n width(\"150px\");\n align(Align.Left);\n font(\"Interface/Fonts/zombie.fnt\");\n interactOnClick(\"quitGame()\");\n }\n });\n }\n });\n }\n });\n layer(new LayerBuilder(\"Settings\") {\n {\n font(\"Interface/Fonts/zombie.fnt\");\n childLayoutVertical();\n panel(new PanelBuilder(\"Post_Water_Panel\") {\n {\n childLayoutHorizontal();\n marginLeft(\"40%\");\n marginTop(\"15%\");\n control(new LabelBuilder(\"\", \"Post Water\") {\n {\n font(\"Interface/Fonts/zombie.fnt\");\n color(\"#ff0000\");\n }\n });\n control(new CheckboxBuilder(\"Post_Water_Button\") {\n {\n marginLeft(\"110%\");\n }\n });\n }\n });\n panel(new PanelBuilder(\"Water_Reflections_Panel\") {\n {\n childLayoutHorizontal();\n marginLeft(\"40%\");\n marginTop(\"5%\");\n control(new LabelBuilder(\"\", \"Water Reflections\") {\n {\n font(\"Interface/Fonts/zombie.fnt\");\n color(\"#ff0000\");\n }\n });\n control(new CheckboxBuilder(\"Water_Reflections_Button\") {\n {\n marginLeft(\"45%\");\n }\n });\n }\n });\n panel(new PanelBuilder(\"Water_Ripples_Panel\") {\n {\n childLayoutHorizontal();\n marginLeft(\"40%\");\n marginTop(\"5%\");\n control(new LabelBuilder(\"\", \"Water Ripples\") {\n {\n font(\"Interface/Fonts/zombie.fnt\");\n color(\"#ff0000\");\n }\n });\n control(new CheckboxBuilder(\"Water_Ripples_Button\") {\n {\n marginLeft(\"75%\");\n }\n });\n }\n });\n panel(new PanelBuilder(\"Water_Specular_Panel\") {\n {\n childLayoutHorizontal();\n marginLeft(\"40%\");\n marginTop(\"5%\");\n control(new LabelBuilder(\"\", \"Water Specular\") {\n {\n font(\"Interface/Fonts/zombie.fnt\");\n color(\"#ff0000\");\n }\n });\n control(new CheckboxBuilder(\"Water_Specular_Button\") {\n {\n marginLeft(\"59%\");\n }\n });\n }\n });\n panel(new PanelBuilder(\"Water_Foam_Panel\") {\n {\n childLayoutHorizontal();\n marginLeft(\"40%\");\n marginTop(\"5%\");\n control(new LabelBuilder(\"\", \"Water Foam\") {\n {\n font(\"Interface/Fonts/zombie.fnt\");\n color(\"#ff0000\");\n }\n });\n control(new CheckboxBuilder(\"Water_Foam_Button\") {\n {\n marginLeft(\"93%\");\n }\n });\n }\n });\n panel(new PanelBuilder(\"Sky_Dome_Panel\") {\n {\n childLayoutHorizontal();\n marginLeft(\"40%\");\n marginTop(\"5%\");\n control(new LabelBuilder(\"\", \"Sky Dome\") {\n {\n font(\"Interface/Fonts/zombie.fnt\");\n color(\"#ff0000\");\n }\n });\n control(new CheckboxBuilder(\"Sky_Dome_Button\") {\n {\n marginLeft(\"128%\");\n }\n });\n }\n });\n panel(new PanelBuilder(\"Star_Motion_Panel\") {\n {\n childLayoutHorizontal();\n marginLeft(\"40%\");\n marginTop(\"5%\");\n control(new LabelBuilder(\"\", \"Star Motion\") {\n {\n font(\"Interface/Fonts/zombie.fnt\");\n color(\"#ff0000\");\n }\n });\n control(new CheckboxBuilder(\"Star_Motion_Button\") {\n {\n marginLeft(\"106%\");\n }\n });\n }\n });\n panel(new PanelBuilder(\"Cloud_Motion_Panel\") {\n {\n childLayoutHorizontal();\n marginLeft(\"40%\");\n marginTop(\"5%\");\n control(new LabelBuilder(\"\", \"Cloud Motion\") {\n {\n font(\"Interface/Fonts/zombie.fnt\");\n color(\"#ff0000\");\n }\n });\n control(new CheckboxBuilder(\"Cloud_Motion_Button\") {\n {\n marginLeft(\"87%\");\n }\n });\n }\n });\n panel(new PanelBuilder(\"Bloom_Light_Panel\") {\n {\n childLayoutHorizontal();\n marginLeft(\"40%\");\n marginTop(\"5%\");\n control(new LabelBuilder(\"\", \"Bloom Lighting\") {\n {\n color(\"#ff0000\");\n font(\"Interface/Fonts/zombie.fnt\");\n }\n });\n control(new CheckboxBuilder(\"Bloom_Light_Button\") {\n {\n marginLeft(\"70%\");\n }\n });\n }\n });\n panel(new PanelBuilder(\"Light_Scatter_Panel\") {\n {\n childLayoutHorizontal();\n marginLeft(\"40%\");\n marginTop(\"5%\");\n control(new LabelBuilder(\"\", \"Light Scatter\") {\n {\n color(\"#ff0000\");\n font(\"Interface/Fonts/zombie.fnt\");\n }\n });\n control(new CheckboxBuilder(\"Light_Scatter_Button\") {\n {\n marginLeft(\"90%\");\n }\n });\n }\n });\n panel(new PanelBuilder(\"Apply_Panel\") {\n {\n font(\"Interface/Fonts/zombie.fnt\");\n childLayoutHorizontal();\n marginLeft(\"43%\");\n marginTop(\"5%\");\n control(new ButtonBuilder(\"Apply_Button\", \"Apply Settings\") {\n {\n interactOnClick(\"applySettings()\");\n font(\"Interface/Fonts/zombie.fnt\");\n }\n });\n }\n });\n }\n });\n }\n }.build(nifty));\n nifty.addScreen(\"Display_Screen\", new ScreenBuilder(\"Display_Settings\") {\n {\n controller(settingsControl);\n layer(new LayerBuilder(\"background\") {\n {\n font(\"Interface/Fonts/zombie.fnt\");\n childLayoutCenter();;\n backgroundImage(\"Backgrounds/ZOMBIE1.jpg\");\n visibleToMouse(true);\n }\n });\n layer(new LayerBuilder(\"foreground\") {\n {\n font(\"Interface/Fonts/zombie.fnt\");\n childLayoutOverlay();\n panel(new PanelBuilder(\"Settings\") {\n {\n font(\"Interface/Fonts/zombie.fnt\");\n childLayoutVertical();\n control(new ButtonBuilder(\"\", \"Display Settings\") {\n {\n marginTop(\"42%\");\n marginLeft(\"5%\");\n height(\"50px\");\n width(\"150px\");\n align(Align.Left);\n font(\"Interface/Fonts/zombie.fnt\");\n }\n });\n /*control(new ButtonBuilder(\"\", \"Graphics Settings\") {\n {\n marginTop(\"2%\");\n marginLeft(\"5%\");\n height(\"50px\");\n width(\"150px\");\n align(Align.Left);\n font(\"Interface/Fonts/zombie.fnt\");\n interactOnClick(\"goTo(Graphics_Extension)\");\n }\n });*/\n control(new ButtonBuilder(\"\", \"Sound Settings\") {\n {\n marginTop(\"2%\");\n marginLeft(\"5%\");\n height(\"50px\");\n width(\"150px\");\n align(Align.Left);\n font(\"Interface/Fonts/zombie.fnt\");\n interactOnClick(\"goTo(#Sound_Settings)\");\n }\n });\n control(new ButtonBuilder(\"\", \"Leaderboard\") {\n {\n marginTop(\"2%\");\n marginLeft(\"5%\");\n height(\"50px\");\n width(\"150px\");\n align(Align.Left);\n font(\"Interface/Fonts/zombie.fnt\");\n interactOnClick(\"goTo(Leader_Board)\");\n }\n });\n control(new ButtonBuilder(\"\", \"Logout\") {\n {\n marginTop(\"2%\");\n marginLeft(\"5%\");\n height(\"50px\");\n width(\"150px\");\n align(Align.Left);\n font(\"Interface/Fonts/zombie.fnt\");\n interactOnClick(\"goTo(#Login_Screen)\");\n }\n });\n control(new ButtonBuilder(\"\", \"Quit Game\") {\n {\n marginTop(\"2%\");\n marginLeft(\"5%\");\n height(\"50px\");\n width(\"150px\");\n align(Align.Left);\n font(\"Interface/Fonts/zombie.fnt\");\n interactOnClick(\"quitGame()\");\n }\n });\n }\n });\n }\n });\n layer(new LayerBuilder(\"Settings\") {\n {\n childLayoutVertical();\n panel(new PanelBuilder(\"Resolution_Panel\") {\n {\n childLayoutHorizontal();\n marginLeft(\"40%\");\n marginTop(\"15%\");\n control(new LabelBuilder(\"\", \"Set Resolution\") {\n {\n color(\"#ff0000\");\n font(\"Interface/Fonts/zombie.fnt\");\n }\n });\n control(new ListBoxBuilder(\"Resolution_Opts\") {\n {\n marginLeft(\"4%\");\n marginBottom(\"10%\");\n displayItems(1);\n showVerticalScrollbar();\n hideHorizontalScrollbar();\n selectionModeSingle();\n width(\"10%\");\n font(\"Interface/Fonts/zombie.fnt\");\n }\n });\n }\n });\n panel(new PanelBuilder(\"Apply_Panel\") {\n {\n childLayoutHorizontal();\n marginLeft(\"45%\");\n marginTop(\"5%\");\n control(new ButtonBuilder(\"Apply_Button\", \"Apply Settings\") {\n {\n interactOnClick(\"displayApply()\");\n font(\"Interface/Fonts/zombie.fnt\");\n }\n });\n }\n });\n }\n });\n }\n }.build(nifty));\n nifty.addScreen(\"Sound Settings\", new ScreenBuilder(\"#Sound_Settings\") {\n {\n controller(settingsControl);\n layer(new LayerBuilder(\"background\") {\n {\n font(\"Interface/Fonts/zombie.fnt\");\n childLayoutCenter();;\n backgroundImage(\"Backgrounds/ZOMBIE1.jpg\");\n visibleToMouse(true);\n }\n });\n layer(new LayerBuilder(\"foreground\") {\n {\n font(\"Interface/Fonts/zombie.fnt\");\n childLayoutOverlay();\n panel(new PanelBuilder(\"Settings\") {\n {\n font(\"Interface/Fonts/zombie.fnt\");\n childLayoutVertical();\n control(new ButtonBuilder(\"\", \"Display Settings\") {\n {\n marginTop(\"42%\");\n marginLeft(\"5%\");\n height(\"50px\");\n width(\"150px\");\n align(ElementBuilder.Align.Left);\n font(\"Interface/Fonts/zombie.fnt\");\n interactOnClick(\"goTo(Display_Settings)\");\n }\n });\n /*control(new ButtonBuilder(\"\", \"Graphics Settings\") {\n {\n marginTop(\"2%\");\n marginLeft(\"5%\");\n height(\"50px\");\n width(\"150px\");\n align(ElementBuilder.Align.Left);\n font(\"Interface/Fonts/zombie.fnt\");\n interactOnClick(\"goTo(Graphics_Extension)\");\n }\n });*/\n control(new ButtonBuilder(\"\", \"Sound Settings\") {\n {\n marginTop(\"2%\");\n marginLeft(\"5%\");\n height(\"50px\");\n width(\"150px\");\n align(ElementBuilder.Align.Left);\n font(\"Interface/Fonts/zombie.fnt\");\n }\n });\n control(new ButtonBuilder(\"\", \"Leaderboard\") {\n {\n marginTop(\"2%\");\n marginLeft(\"5%\");\n height(\"50px\");\n width(\"150px\");\n align(ElementBuilder.Align.Left);\n font(\"Interface/Fonts/zombie.fnt\");\n interactOnClick(\"goTo(Leader_Board)\");\n }\n });\n control(new ButtonBuilder(\"\", \"Logout\") {\n {\n marginTop(\"2%\");\n marginLeft(\"5%\");\n height(\"50px\");\n width(\"150px\");\n align(Align.Left);\n font(\"Interface/Fonts/zombie.fnt\");\n interactOnClick(\"goTo(#Login_Screen)\");\n }\n });\n control(new ButtonBuilder(\"\", \"Quit Game\") {\n {\n marginTop(\"2%\");\n marginLeft(\"5%\");\n height(\"50px\");\n width(\"150px\");\n align(ElementBuilder.Align.Left);\n font(\"Interface/Fonts/zombie.fnt\");\n interactOnClick(\"quitGame()\");\n }\n });\n }\n });\n }\n });\n layer(new LayerBuilder(\"Settings\") {\n {\n childLayoutVertical();\n panel(new PanelBuilder(\"#Master_Volume_Panel\") {\n {\n childLayoutHorizontal();\n marginLeft(\"30%\");\n marginTop(\"35%\");\n control(new LabelBuilder(\"\", \"Master Volume : \") {\n {\n color(\"#ff0000\");\n font(\"Interface/Fonts/zombie.fnt\");\n }\n });\n control(new SliderBuilder(\"#Master_Volume\", false) {\n {\n marginLeft(\"20px\");\n min(0);\n max(100);\n width(\"25%\");\n }\n });\n }\n });\n panel(new PanelBuilder(\"#Ambient_Volume_Panel\") {\n {\n childLayoutHorizontal();\n marginLeft(\"30%\");\n marginTop(\"8%\");\n control(new LabelBuilder(\"\", \"Ambient Volume : \") {\n {\n color(\"#ff0000\");\n font(\"Interface/Fonts/zombie.fnt\");\n }\n });\n control(new SliderBuilder(\"#Ambient_Volume\", false) {\n {\n marginLeft(\"20px\");\n min(0);\n max(100);\n width(\"25%\");\n }\n });\n }\n });\n panel(new PanelBuilder(\"#Combat_Volume_Panel\") {\n {\n childLayoutHorizontal();\n marginLeft(\"30%\");\n marginTop(\"8%\");\n control(new LabelBuilder(\"\", \"Combat Volume : \") {\n {\n color(\"#ff0000\");\n font(\"Interface/Fonts/zombie.fnt\");\n }\n });\n control(new SliderBuilder(\"#Combat_Volume\", false) {\n {\n marginLeft(\"20px\");\n min(0);\n max(100);\n width(\"25%\");\n }\n });\n }\n });\n panel(new PanelBuilder(\"#Dialog_Volume_Panel\") {\n {\n childLayoutHorizontal();\n marginLeft(\"30%\");\n marginTop(\"8%\");\n control(new LabelBuilder(\"\", \"Dialog Volume : \") {\n {\n color(\"#ff0000\");\n font(\"Interface/Fonts/zombie.fnt\");\n }\n });\n control(new SliderBuilder(\"#Dialog_Volume\", false) {\n {\n marginLeft(\"20px\");\n min(0);\n max(100);\n width(\"25%\");\n }\n });\n }\n });\n panel(new PanelBuilder(\"#Footsteps_Volume_Panel\") {\n {\n childLayoutHorizontal();\n marginLeft(\"30%\");\n marginTop(\"8%\");\n control(new LabelBuilder(\"\", \"Footsteps Volume : \") {\n {\n color(\"#ff0000\");\n font(\"Interface/Fonts/zombie.fnt\");\n }\n });\n control(new SliderBuilder(\"#Footsteps_Volume\", false) {\n {\n marginLeft(\"20px\");\n min(0);\n max(100);\n width(\"25%\");\n }\n });\n }\n });\n panel(new PanelBuilder(\"Apply_Panel\") {\n {\n childLayoutHorizontal();\n marginLeft(\"45%\");\n marginTop(\"5%\");\n control(new ButtonBuilder(\"#Apply_Button\", \"Apply Settings\") {\n {\n interactOnClick(\"soundApply()\");\n font(\"Interface/Fonts/zombie.fnt\");\n }\n });\n }\n });\n }\n });\n\n }\n }.build(nifty));\n }", "private void newConfiguration() {\n checkSave();\n config = new Configuration();\n\n // create a ConfigurationDialog\n ConfigurationDialog cdialog = new ConfigurationDialog(frame, NEW, config, getConfigurations());\n cdialog.pack();\n cdialog.setLocationRelativeTo(frame);\n cdialog.setVisible(true);\n\n // if the data is valid, create an ImageDialog to allow registration of the image\n if (cdialog.isDataValid()) {\n System.out.println(\"config name: \"+config.getName());\n if (config.useBlankImage()) {\n System.out.println(\"blank image: \"+config.getImageHeight()+\" x \"+config.getImageWidth());\n }\n else {\n System.out.println(\"image name: \"+addSlashes(config.getImageName()));\n config.setImageName(addSlashes(config.getImageName()));\n }\n\n ImageDialog idialog = new ImageDialog(frame, NEW, config);\n idialog.pack();\n idialog.setLocationRelativeTo(frame);\n idialog.setVisible(true); \n\n // if the ImageDialog data is valid, create a blank motes object and calls viewConfiguration\n if (idialog.isDataValid()) {\n System.out.println(\"minPixelX: \"+config.getMinimumPixelX());\n System.out.println(\"minPixelY: \"+config.getMinimumPixelY());\n System.out.println(\"maxPixelX: \"+config.getMaximumPixelX());\n System.out.println(\"maxPixelY: \"+config.getMaximumPixelY());\n System.out.println(\"minRealX: \"+config.getMinimumRealX());\n System.out.println(\"minRealY: \"+config.getMinimumRealY());\n System.out.println(\"maxRealX: \"+config.getMaximumRealX());\n System.out.println(\"maxRealY: \"+config.getMaximumRealY());\n config.notSaved();\n configSave.setEnabled(true);\n configClose.setEnabled(true);\n motes = new Motes();\n viewConfiguration(DEFAULT_DB_CONFIG_TABLE);\n }\n else {\n config = new Configuration();\n }\n }\n }", "private void setupSettings() {\n add(announcementBtn).expandX().width(ChessGame.MENU_WIDTH);\n row();\n add(currentGamesBtn).expandX().width(ChessGame.MENU_WIDTH);\n row();\n add(chatRoomBtn).expandX().width(ChessGame.MENU_WIDTH);\n row();\n add(friendsListBtn).expandX().width(ChessGame.MENU_WIDTH);\n row();\n add(leaderboardBtn).expandX().width(ChessGame.MENU_WIDTH);\n row();\n }", "public void computeScreenConfiguration(Configuration config) {\n int i;\n int i2;\n int i3;\n boolean rotated;\n int i4;\n DisplayInfo displayInfo = updateDisplayAndOrientation(config.uiMode, config);\n calculateBounds(displayInfo, this.mTmpBounds);\n config.windowConfiguration.setBounds(this.mTmpBounds);\n int dw = displayInfo.logicalWidth;\n int dh = displayInfo.logicalHeight;\n config.orientation = dw <= dh ? 1 : 2;\n config.windowConfiguration.setWindowingMode(getWindowingMode());\n config.windowConfiguration.setDisplayWindowingMode(getWindowingMode());\n config.windowConfiguration.setRotation(displayInfo.rotation);\n float density = this.mDisplayMetrics.density;\n config.screenWidthDp = (int) (((float) this.mDisplayPolicy.getConfigDisplayWidth(dw, dh, displayInfo.rotation, config.uiMode, displayInfo.displayCutout)) / density);\n config.screenHeightDp = (int) (((float) this.mDisplayPolicy.getConfigDisplayHeight(dw, dh, displayInfo.rotation, config.uiMode, displayInfo.displayCutout)) / density);\n this.mDisplayPolicy.getNonDecorInsetsLw(displayInfo.rotation, dw, dh, displayInfo.displayCutout, this.mTmpRect);\n int leftInset = this.mTmpRect.left;\n int topInset = this.mTmpRect.top;\n config.windowConfiguration.setAppBounds(leftInset, topInset, displayInfo.appWidth + leftInset, displayInfo.appHeight + topInset);\n boolean rotated2 = displayInfo.rotation == 1 || displayInfo.rotation == 3;\n int i5 = config.screenLayout & -769;\n if ((displayInfo.flags & 16) != 0) {\n i = 512;\n } else {\n i = 256;\n }\n config.screenLayout = i5 | i;\n config.compatScreenWidthDp = (int) (((float) config.screenWidthDp) / this.mCompatibleScreenScale);\n config.compatScreenHeightDp = (int) (((float) config.screenHeightDp) / this.mCompatibleScreenScale);\n config.compatSmallestScreenWidthDp = computeCompatSmallestWidth(rotated2, config.uiMode, dw, dh, displayInfo.displayCutout);\n config.densityDpi = displayInfo.logicalDensityDpi;\n if (!displayInfo.isHdr() || !this.mWmService.hasHdrSupport()) {\n i2 = 4;\n } else {\n i2 = 8;\n }\n if (!displayInfo.isWideColorGamut() || !this.mWmService.hasWideColorGamutSupport()) {\n i3 = 1;\n } else {\n i3 = 2;\n }\n config.colorMode = i2 | i3;\n config.touchscreen = 1;\n config.keyboard = 1;\n config.navigation = 1;\n int keyboardPresence = 0;\n int navigationPresence = 0;\n InputDevice[] devices = this.mWmService.mInputManager.getInputDevices();\n int len = devices != null ? devices.length : 0;\n int i6 = 0;\n while (i6 < len) {\n InputDevice device = devices[i6];\n if (device.isVirtual()) {\n rotated = rotated2;\n } else {\n rotated = rotated2;\n if (this.mWmService.mInputManager.canDispatchToDisplay(device.getId(), displayInfo.type == 5 ? 0 : this.mDisplayId)) {\n int sources = device.getSources();\n int presenceFlag = device.isExternal() ? 2 : 1;\n if (!this.mWmService.mIsTouchDevice) {\n config.touchscreen = 1;\n } else if ((sources & 4098) == 4098) {\n config.touchscreen = 3;\n }\n if ((sources & 65540) == 65540) {\n config.navigation = 3;\n navigationPresence |= presenceFlag;\n i4 = 2;\n } else if ((sources & 513) == 513 && config.navigation == 1) {\n i4 = 2;\n config.navigation = 2;\n navigationPresence |= presenceFlag;\n } else {\n i4 = 2;\n }\n if (device.getKeyboardType() == i4) {\n config.keyboard = i4;\n keyboardPresence |= presenceFlag;\n }\n }\n }\n i6++;\n rotated2 = rotated;\n }\n if (config.navigation == 1 && this.mWmService.mHasPermanentDpad) {\n config.navigation = 2;\n navigationPresence |= 1;\n }\n boolean hardKeyboardAvailable = config.keyboard != 1;\n if (hardKeyboardAvailable != this.mWmService.mHardKeyboardAvailable) {\n this.mWmService.mHardKeyboardAvailable = hardKeyboardAvailable;\n this.mWmService.mH.removeMessages(22);\n this.mWmService.mH.sendEmptyMessage(22);\n }\n this.mDisplayPolicy.updateConfigurationAndScreenSizeDependentBehaviors();\n config.keyboardHidden = 1;\n config.hardKeyboardHidden = 1;\n config.navigationHidden = 1;\n this.mWmService.mPolicy.adjustConfigurationLw(config, keyboardPresence, navigationPresence);\n }", "private void initConfiguration() {\n\n\t\t//Configuration du jeu\n\t\tconfigJeu = ask(config, \"Emplacement de départ ?\", \"Emplacement\");\n\t\tSystem.out.println(\"\"+modeJeu);\n\n\t\t//mode 2 = Machine contre Machine\n\t\t//mode 1 = Jouur contre Machine\n\n\t\t//On demande le mode de jeu\n\t\tmodeJeu = JOptionPane.showOptionDialog(this, \"Quel mode de jeu ?\", \"Mode de jeu\",\n\t\t\t\tJOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE,\n\t\t\t\ticon, modes, modes[1]); //default button title\n\n\t\tif(modeJeu == 1 || modeJeu == 2){\t//Dans le cas ou c'est joueur contre machine\n\t\t\t nivDifficulté = new String[]{\"Niveau 0 (Random)\",\n\t\t\t\t\t \"Niveau 1 (MinMax niveau 4 avec random)\",\n\t\t\t\t\t \"Niveau 2 (MinMax niveau 2)\",\n\t\t\t\t\t \"Niveau 2.5 (MinMax niveau 2 puis 4)\",\n\t\t\t\t\t \"Niveau 3 (AlphaBeta profondeur 2)\",\n\t\t\t\t\t \"Niveau 4 (NégaAlphaBeta profondeur 4)\",\n\t\t\t\t\t \"Niveau 5 (IA Tricheuse, avec NégaAlphaBeta profondeur 4)\",\n\t\t\t\t\t \"Niveau 6 (IA Tricheuse & voleuse, avec NégaAlphaBeta profondeur 4)\"};\n\n\t\t\tniveauDifficulté = ask(nivDifficulté, \"Votre niveau de difficulté?\",\"Niveau de difficulté\");\n\n\t\t\tniveauHeuristique = ask(configHeuristique, \"L'orientation des poids de l'IA ?\", \"Poids de l'IA\");\n\t\t\tif(niveauHeuristique == 0)\n\t\t\t\tpoids = poidsEquilibre;\n\t\t\telse if(niveauHeuristique == 1)\n\t\t\t\tpoids = poidsAttaque;\n\t\t\telse if (niveauHeuristique == 2)\n\t\t\t\tpoids = poidsDefense;\n\n\n\t\t}else if (modeJeu == 2){\n\t\t\tniveauDifficulté = 10;\t// Dans le cas ou c'est Humain contre humain\n\t\t}\n\t}", "public GuiConfigMod(GuiScreen parent)\n {\n super(parent,\n getConfigElements(),\n MainMod.MODID,\n false,\n false,\n Utilities.stringToGolden(\"Play The Way You Want\", 7));\n titleLine2 = ModConfig.configFile.getAbsolutePath();\n }", "public static void generateCustomGameConfiguration() {\n // GameConfig.getInstance().setMapWidthX(20);\n // GameConfig.getInstance().setMapHeightY(20);\n // GameConfig.getInstance().setMaxEnergyPirateValue(100);\n // GameConfig.getInstance().setMonkeyErraticSpeed(1000);\n // GameConfig.getInstance().setMonkeyHunterSpeed(750);\n // GameConfig.getInstance().setRumEnergyValue(10);\n // GameConfig.getInstance().setTimeRumVisibility(10000);\n // GameConfig.getInstance().setRumList(Brain.getInstance().getObjectManager().getRumList());\n // GameConfig.getInstance().setSquaresList(Brain.getInstance().getMapManager().getMap().getSquareList());\n // ArrayList<Monkey> monkeyArrayList = new ArrayList<Monkey>();\n // for(int i=0;i<10;i++) {\n // if (i % 2 == 0) {\n // monkeyArrayList.add(new Monkey(PositionUtils.getSpawnPosition(\n // Map.getInstance().getGroundSquareList(),\n // CharacterManager.getInstance(Brain.getInstance()).getCharacterList(),\n // ObjectManager.getInstance(Brain.getInstance()).getObjectList()\n // ), Monkey.MonkeyType.ERRATIC));\n // } else {\n // monkeyArrayList.add(new Monkey(PositionUtils.getSpawnPosition(\n // Map.getInstance().getGroundSquareList(),\n // CharacterManager.getInstance(Brain.getInstance()).getCharacterList(),\n // ObjectManager.getInstance(Brain.getInstance()).getObjectList()\n // ), Monkey.MonkeyType.HUNTER));\n // }\n // }\n // GameConfig.getInstance().setMonkeyList(monkeyArrayList);\n // for(int i=0;i< Brain.getInstance().getMapManager().getMap().getSquareList().size();i++) {\n // for (int j = 0; j < Brain.getInstance().getMapManager().getMap().getSquareList().get(i).size(); j++) {\n // if (i == 0 || j==0 || i == GameConfig.getInstance().getMapWidthX()-1\n // || j == GameConfig.getInstance().getMapHeightY()-1) {\n // Brain.getInstance().getMapManager().getMap().getSquareList().get(i).get(j)\n // .setSquareType(Square.SquareType.SEA);\n // }else{\n // Brain.getInstance().getMapManager().getMap().getSquareList().get(i).get(j)\n // .setSquareType(Square.SquareType.GROUND);\n // }\n // }\n // }\n // GameConfig.getInstance().setSquaresList(Brain.getInstance().getMapManager().getMap().getSquareList());\n // saveGameConfiguration();\n }", "private void buildWindow(){\r\n\t\tthis.setSize(new Dimension(600, 400));\r\n\t\tFunctions.setDebug(true);\r\n\t\tbackendConnector = new BackendConnector(this);\r\n\t\tguiManager = new GUIManager(this);\r\n\t\tmainCanvas = new MainCanvas(this);\r\n\t\tadd(mainCanvas);\r\n\t}", "private void setupSimplePreferencesScreen() {\n if (!isSimplePreferences(this)) {\n return;\n }\n\n addPreferencesFromResource(R.xml.pref_empty);\n\n addHeader(R.string.pref_header_game);\n addPreferencesFromResource(R.xml.pref_game);\n this.gameModeSettingsPreferenceScreen = getPreferenceScreen();\n\n addHeader(R.string.pref_header_other);\n addPreferencesFromResource(R.xml.pref_other);\n\n Preference key_game_mode_summary = findPreference(getResources().getString(R.string.key_game_mode_summary));\n this.key_game_mode_summary = key_game_mode_summary;\n\n Preference useCodePreference = findPreference(getResources().getString(R.string.key_use_code));\n this.useCodePreference = useCodePreference;\n useCodePreference.setOnPreferenceChangeListener(USE_CODE_PREFERENCE_LISTENER);\n\n Preference customWidthPreference = findPreference(getResources().getString(R.string.key_custom_maze_width));\n customWidthPreference.setSummary(String.valueOf(getCustomMazeWidth()));\n this.customWidthPreference = customWidthPreference;\n customWidthPreference.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() {\n @Override\n public boolean onPreferenceChange(Preference preference, Object value) {\n try {\n int width = Math.min(Math.max(Integer.parseInt(value.toString()), getResources().getInteger(R.integer.min_custom_maze_size)), getResources().getInteger(R.integer.max_custom_maze_size));\n synchronized (SettingsActivity.class) {\n SettingsActivity.customMazeWidth = width;\n }\n preference.setSummary(String.valueOf(width));\n } catch (NumberFormatException e) {\n }\n return true;\n }\n });\n Preference customHeightPreference = findPreference(getResources().getString(R.string.key_custom_maze_height));\n customHeightPreference.setSummary(String.valueOf(getCustomMazeHeight()));\n this.customHeightPreference = customHeightPreference;\n customHeightPreference.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() {\n @Override\n public boolean onPreferenceChange(Preference preference, Object value) {\n try {\n int height = Math.min(Math.max(Integer.parseInt(value.toString()), getResources().getInteger(R.integer.min_custom_maze_size)), getResources().getInteger(R.integer.max_custom_maze_size));\n synchronized (SettingsActivity.class) {\n SettingsActivity.customMazeHeight = height;\n }\n preference.setSummary(String.valueOf(height));\n } catch (NumberFormatException e) {\n }\n return true;\n }\n });\n Preference customCreatePreference = findPreference(getResources().getString(R.string.key_custom_maze_create));\n this.customCreatePreference = customCreatePreference;\n customCreatePreference.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {\n @Override\n public boolean onPreferenceClick(Preference preference) {\n Maze2D.GeneratedMaze maze = generateCustomMaze(SettingsActivity.this);\n synchronized (SettingsActivity.class) {\n SettingsActivity.loadSeedMaze = maze;\n }\n if (maze != null) {\n SettingsActivity.this.finish();\n }\n return true;\n }\n });\n Preference customSolvePreference = findPreference(getResources().getString(R.string.key_custom_maze_solve));\n this.customSolvePreference = customSolvePreference;\n customSolvePreference.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {\n @Override\n public boolean onPreferenceClick(Preference preference) {\n synchronized (SettingsActivity.class) {\n SettingsActivity.showSolution = true;\n }\n SettingsActivity.this.finish();\n return true;\n }\n });\n Preference regularCreatePreference = findPreference(getResources().getString(R.string.key_maze_create));\n this.regularCreatePreference = regularCreatePreference;\n regularCreatePreference.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {\n @Override\n public boolean onPreferenceClick(Preference preference) {\n if (MainActivity.getGameMode() == GameMode.REGULAR) {\n synchronized (SettingsActivity.class) {\n SettingsActivity.newRegularMaze = true;\n }\n } else {\n synchronized (SettingsActivity.class) {\n SettingsActivity.newFillMaze = true;\n }\n }\n SettingsActivity.this.finish();\n return true;\n }\n });\n\n ListPreference algorithmPreference = (ListPreference) findPreference(getResources().getString(R.string.key_algorithm));\n this.algorithmPreference = algorithmPreference;\n\n // Bind the summaries of EditText/List/Dialog/Ringtone preferences to\n // their values. When their values change, their summaries are updated\n // to reflect the new value, per the Android Design guidelines.\n ListPreference gameModePreference = (ListPreference) findPreference(getResources().getString(R.string.key_game_mode));\n this.gamePreference = gameModePreference;\n bindPreferenceSummaryToValue(gameModePreference);\n String[] names = GameMode.getNames(this);\n gameModePreference.setEntries(names);\n gameModePreference.setEntryValues(names);\n GameMode gameMode = MainActivity.getGameMode();\n if (gameMode != null) {\n gameModePreference.setValueIndex(gameMode.getID());\n }\n\n bindPreferenceSummaryToValue(algorithmPreference);\n names = MazeAlgorithm.getNames(this, true);\n algorithmPreference.setEntries(names);\n algorithmPreference.setEntryValues(names);\n MazeAlgorithm algorithm = MainActivity.getAlgorithm();\n if (algorithm != null) {\n algorithmPreference.setDefaultValue(algorithm.getLocalName(this));\n }\n\n SwitchPreference showTracerPreference = (SwitchPreference) findPreference(getResources().getString(R.string.key_show_tracer));\n showTracerPreference.setOnPreferenceChangeListener(TOGGLE_TRACER_PREFERENCE_LISTENER);\n showTracerPreference.setDefaultValue(MainActivity.toggleTracer());\n\n SwitchPreference squareCellsPreference = (SwitchPreference) findPreference(getResources().getString(R.string.key_square_cells));\n squareCellsPreference.setOnPreferenceChangeListener(SQUARE_CELLS_PREFERENCE_LISTENER);\n squareCellsPreference.setDefaultValue(MainActivity.squareCells());\n\n Preference recalibratePreference = findPreference(getResources().getString(R.string.key_recalibrate));\n recalibratePreference.setOnPreferenceClickListener(RECALIBRATE_PREFERENCE_LISTENER);\n\n Preference defaultTiltPreference = findPreference(getResources().getString(R.string.key_default_tilt));\n defaultTiltPreference.setOnPreferenceClickListener(DEFAULT_TILT_PREFERENCE_LISTENER);\n\n prepareGameModeGUI(MainActivity.getGameMode());\n }", "public void setupGUIWindow()\n { \n// _frame.setExtendedState(Frame.MAXIMIZED_BOTH);\n// exitOnClose(); \n// createButtonGrid(); \n// addButtonPanel(); \n \n\t //setSize(new Dimension(Toolkit.getDefaultToolkit().getScreenSize())); \n \n\t _frame.setExtendedState(Frame.MAXIMIZED_BOTH);\n\t _frame.addComponentListener(new WindowListener());\n\t exitOnClose(); \n\t createShipPlacementButton();\n\t createButtonGrid(_displayPanel, _buttonGrid2, null); // player\n\t createButtonGrid(_buttonPanel, _buttonGrid, new GridListener(_buttonGrid)); // enemy\n\t addButtonPanel(); \n }", "@Override\n public void run(){\n Settings.setGameSettings(new Player(0,Color.RED,1800, \"Player 1\",true),\n new Player(1,Color.BLUE,1800, \"Player 2\",false),1800,25);\n MenuFrame menuFrame = new MenuFrame();\n }", "private void Settings(){\n setUndecorated(true); \r\n\t setSize(250,70);\r\n\t setLocationRelativeTo(null);\r\n setAlwaysOnTop(true);\r\n\t setVisible(true);\r\n \r\n addMouseListener(new HandleStatusDialog());\r\n addWindowListener(new HandleStatusDialog());\r\n }", "@Override\n\tprotected void Initialize() {\n\t\tint grayBoxX = (this.width / 2) - 198;\n\t\tint grayBoxY = (this.height / 2) - 83;\n\t\tint color = Color.DARK_GRAY.getRGB();\n\t\tthis.serverConfiguration = Prefab.proxy.getServerConfiguration();\n\t\tthis.houseConfiguration = ClientEventHandler.playerConfig.getClientConfig(\"Starter House\", HouseConfiguration.class);\n\t\tthis.houseConfiguration.pos = this.pos;\n\n\t\t// Create the Controls.\n\t\t// Column 1:\n\t\tthis.btnHouseStyle = new ExtendedButton(grayBoxX + 10, grayBoxY + 20, 90, 20, this.houseConfiguration.houseStyle.getDisplayName(), this::actionPerformed);\n\n\t\tthis.addButton(this.btnHouseStyle);\n\n\t\tthis.btnVisualize = new ExtendedButton(grayBoxX + 10, grayBoxY + 60, 90, 20, GuiLangKeys.translateString(GuiLangKeys.GUI_BUTTON_PREVIEW), this::actionPerformed);\n\t\tthis.addButton(this.btnVisualize);\n\n\t\tint x = grayBoxX + 10;\n\t\tint y = grayBoxY + 10;\n\t\tint secondColumnY = y;\n\t\tint secondColumnX = x + 137;\n\n\t\tthis.btnAddFurnace = new GuiCheckBox(secondColumnX, secondColumnY, GuiLangKeys.translateString(GuiLangKeys.STARTER_HOUSE_ADD_FURNACE), this.houseConfiguration.addFurnace, null);\n\t\tthis.btnAddFurnace.setFGColor(color);\n\t\tthis.btnAddFurnace.setWithShadow(false);\n\t\tthis.btnAddFurnace.visible = false;\n\t\tthis.addButton(this.btnAddFurnace);\n\n\t\tif (this.serverConfiguration.addFurnace) {\n\t\t\tsecondColumnY += 15;\n\t\t}\n\n\t\tthis.btnAddBed = new GuiCheckBox(secondColumnX, secondColumnY, GuiLangKeys.translateString(GuiLangKeys.STARTER_HOUSE_ADD_BED), this.houseConfiguration.addBed, null);\n\t\tthis.btnAddBed.setFGColor(color);\n\t\tthis.btnAddBed.setWithShadow(false);\n\t\tthis.btnAddBed.visible = false;\n\t\tthis.addButton(this.btnAddBed);\n\n\t\tif (this.serverConfiguration.addBed) {\n\t\t\tsecondColumnY += 15;\n\t\t}\n\n\t\tthis.btnAddCraftingTable = new GuiCheckBox(x, y, GuiLangKeys.translateString(GuiLangKeys.STARTER_HOUSE_ADD_CRAFTING_TABLE), this.houseConfiguration.addCraftingTable, null);\n\t\tthis.btnAddCraftingTable.setFGColor(color);\n\t\tthis.btnAddCraftingTable.setWithShadow(false);\n\t\tthis.btnAddCraftingTable.visible = false;\n\t\tthis.addButton(this.btnAddCraftingTable);\n\n\t\tif (this.serverConfiguration.addCraftingTable) {\n\t\t\ty += 15;\n\t\t}\n\n\t\tthis.btnAddTorches = new GuiCheckBox(x, y, GuiLangKeys.translateString(GuiLangKeys.STARTER_HOUSE_ADD_TORCHES), this.houseConfiguration.addTorches, null);\n\t\tthis.btnAddTorches.setFGColor(color);\n\t\tthis.btnAddTorches.setWithShadow(false);\n\t\tthis.btnAddTorches.visible = false;\n\t\tthis.addButton(this.btnAddTorches);\n\n\t\tif (this.serverConfiguration.addTorches) {\n\t\t\ty += 15;\n\t\t}\n\n\t\tthis.btnAddChest = new GuiCheckBox(x, y, GuiLangKeys.translateString(GuiLangKeys.STARTER_HOUSE_ADD_CHEST), this.houseConfiguration.addChest, null);\n\t\tthis.btnAddChest.setFGColor(color);\n\t\tthis.btnAddChest.setWithShadow(false);\n\t\tthis.btnAddChest.visible = false;\n\t\tthis.addButton(this.btnAddChest);\n\n\t\tif (this.serverConfiguration.addChests) {\n\t\t\ty += 15;\n\t\t}\n\n\t\tthis.btnAddMineShaft = new GuiCheckBox(x, y, GuiLangKeys.translateString(GuiLangKeys.STARTER_HOUSE_BUILD_MINESHAFT), this.houseConfiguration.addMineShaft, null);\n\t\tthis.btnAddMineShaft.setFGColor(color);\n\t\tthis.btnAddMineShaft.setWithShadow(false);\n\t\tthis.btnAddMineShaft.visible = false;\n\t\tthis.addButton(this.btnAddMineShaft);\n\n\t\tif (this.serverConfiguration.addMineshaft) {\n\t\t\ty += 15;\n\t\t}\n\n\t\tthis.btnAddChestContents = new GuiCheckBox(x, y, GuiLangKeys.translateString(GuiLangKeys.STARTER_HOUSE_ADD_CHEST_CONTENTS), this.houseConfiguration.addChestContents, null);\n\t\tthis.btnAddChestContents.setFGColor(color);\n\t\tthis.btnAddChestContents.setWithShadow(false);\n\t\tthis.btnAddChestContents.visible = false;\n\t\tthis.addButton(this.btnAddChestContents);\n\n\t\tif (this.allowItemsInChestAndFurnace) {\n\t\t\ty += 15;\n\t\t}\n\n\t\tthis.btnGlassColor = new ExtendedButton(grayBoxX + 10, grayBoxY + 20, 90, 20, GuiLangKeys.translateDye(this.houseConfiguration.glassColor), this::actionPerformed);\n\t\tthis.addButton(this.btnGlassColor);\n\n\t\t// Column 2:\n\n\t\t// Column 3:\n\n\t\t// Tabs:\n\t\tthis.tabGeneral = new GuiTab(this.Tabs, GuiLangKeys.translateString(GuiLangKeys.STARTER_TAB_GENERAL), grayBoxX + 3, grayBoxY - 20);\n\t\tthis.Tabs.AddTab(this.tabGeneral);\n\n\t\tthis.tabConfig = new GuiTab(this.Tabs, GuiLangKeys.translateString(GuiLangKeys.STARTER_TAB_CONFIG), grayBoxX + 54, grayBoxY - 20);\n\t\tthis.Tabs.AddTab(this.tabConfig);\n\n\t\tthis.tabBlockTypes = new GuiTab(this.Tabs, GuiLangKeys.translateString(GuiLangKeys.STARTER_TAB_BLOCK), grayBoxX + 105, grayBoxY - 20);\n\t\tthis.tabBlockTypes.setWidth(70);\n\t\tthis.Tabs.AddTab(this.tabBlockTypes);\n\n\t\t// Create the done and cancel buttons.\n\t\tthis.btnBuild = new ExtendedButton(grayBoxX + 10, grayBoxY + 136, 90, 20, GuiLangKeys.translateString(GuiLangKeys.GUI_BUTTON_BUILD), this::actionPerformed);\n\t\tthis.addButton(this.btnBuild);\n\n\t\tthis.btnCancel = new ExtendedButton(grayBoxX + 147, grayBoxY + 136, 90, 20, GuiLangKeys.translateString(GuiLangKeys.GUI_BUTTON_CANCEL), this::actionPerformed);\n\t\tthis.addButton(this.btnCancel);\n\t}", "private void configureScene() {\n uiController.setTitle(resources.getString(\"Launch\"));\n BorderPane sp = new BorderPane();\n this.fileLoadButton = new Button();\n sp.setCenter(fileLoadButton);\n sp.setTop(createSettings());\n fileLoadButton.setText(resources.getString(\"LoadSimulationXML\"));\n fileLoadButton.setOnAction(event -> uiController.loadNewSimulation());\n sp.setPrefWidth(width);\n sp.setPrefHeight(height);\n renderNode(sp);\n }", "public interface GameParameters {\n\n\t// Window Settings\n\tpublic static final int WINDOW_WIDTH = 800;\n\tpublic static final int WINDOW_HEIGHT = 600;\n\tpublic static final int FRAME_RATE = 60;\n\n\t// Game States\n\tpublic static final int MAINMENU_STATE = 0;\n\tpublic static final int GAMEPLAY_STATE = 1;\n\tpublic static final int HIGHSCORE_STATE = 2;\n\n\t// Background\n\tpublic static final String BACKGROUND_ID = \"background\";\n\tpublic static final String BACKGROUND_IMAGE = \"/images/background.png\";\n\n\t// Borders\n\tpublic enum BorderType {\n\t\tTOP, LEFT, RIGHT\n\t};\n\n\tpublic static final int BORDER_WIDTH = 6;\n\tpublic static final String TOP_BORDER_ID = \"topBorder\";\n\tpublic static final String LEFT_BORDER_ID = \"leftBorder\";\n\tpublic static final String RIGHT_BORDER_ID = \"rightBorder\";\n\n\t// Blocks\n\tpublic static final String MAP_FILE = \"maps/level1.map\";\n\tpublic static final String BLOCK_1_IMAGE = \"/images/block_1.png\";\n\tpublic static final String BLOCK_2_IMAGE = \"/images/block_2.png\";\n\tpublic static final String BLOCK_3_IMAGE = \"/images/block_3.png\";\n\n\t// Timer\n\tpublic static final String STOP_WATCH_ID = \"stopWatch\";\n\n\t// Ball\n\tpublic static final String BALL_ID = \"ball\";\n\tpublic static final float INITIAL_BALL_SPEED = 0.3f;\n\tpublic static final float SPEEDUP_VALUE = 0.0001f;\n\tpublic static final String BALL_IMAGE = \"/images/ball.png\";\n\n\t// Stick\n\tpublic static final String STICK_ID = \"stick\";\n\tpublic static final float STICK_SPEED = 0.5f;\n\tpublic static final String STICK_IMAGE = \"/images/stick.png\";\n\n\t// Player\n\tpublic static final String PLAYER_ID = \"player\";\n\tpublic static final String NO_LIFE_LEFT = \"noLifeLeft\";\n\n\t// Pause\n\tpublic static final String PAUSE_ID = \"pause\";\n\tpublic static final String PAUSE_IMAGE = \"/images/pause.png\";\n\n\t// Win\n\tpublic static final String WIN_ID = \"win\";\n\n\t// Escape\n\tpublic static final String ESCAPE_ID = \"escape\";\n\n\t// Highscore\n\tpublic static final String HIGHSCORE_FILE = \"highscores/highscore.hsc\";\n}", "private ControladorVentanaConsola() {\r\n configure();\r\n\r\n if (window == null){\r\n window = new VentanaConsola(\"Console\", 200, 500);\r\n window.setLocation(50, 112);\r\n }\r\n }", "public void displayConfigurationPanel(){\n\t\tthis.panelConfiguration = new PanelConfiguration(this.mainFrame);\n\t\tthis.add(this.panelConfiguration,BorderLayout.CENTER);\n\t}", "public DisplaySettings(final JFrame frame) {\n\t\tsetLayout(new BorderLayout());\n\n\t\tadd(createInputPanel(), BorderLayout.CENTER);\n\t\tadd(createButtonPanel(), BorderLayout.PAGE_END);\n\n\t\tsetTitle(\" Settings\");\n\t\tsetModal(true);\n\t\tsetPreferredSize(new Dimension(WIDTH, HEIGHT));\n\t\tsetResizable(false);\n\t\tpack();\n\t\tsetLocationRelativeTo(frame);\n\t\tsetVisible(true);\n\t}", "public ConfigurationAppGUI() {\n super(\"TalkBox\");\n player = new SoundEngine();\n String[] audioFileNames = findFiles(AUDIO_DIR, null);\n try {\n UIManager.setLookAndFeel(\"javax.swing.plaf.nimbus.NimbusLookAndFeel\");\n if(sounds.exists()) {\n //Deserialization\n SaveData data = (SaveData) ResourceManager.load(fileName);\n //Populating InitialList from TalkBoxConfig.save file.\n initialListModel = new DefaultListModel();\n initialList = new JList(initialListModel);\n\n for (int i = 0; i < data.finalList.getModel().getSize(); i++)\n initialListModel.addElement(data.finalList.getModel().getElementAt(i));\n\n //Populating Order ComboBox from TalkBoxConfig.save file.\n orderModel = new DefaultComboBoxModel();\n order = new JComboBox<>(orderModel);\n for (int i = 0; i < data.order.getModel().getSize(); i++)\n orderModel.addElement(data.order.getModel().getElementAt(i));\n }\n } catch (ClassNotFoundException e) {\n e.printStackTrace();\n } catch (InstantiationException e) {\n e.printStackTrace();\n } catch (IllegalAccessException e) {\n e.printStackTrace();\n } catch (UnsupportedLookAndFeelException e) {\n e.printStackTrace();\n } catch (Exception e) {\n JOptionPane.showMessageDialog(null, e.getMessage());\n }\n makeFrame(audioFileNames);\n\n //--Testing interface methods.\n// this.getNumberOfAudioButtons();\n// this.getNumberOfAudioSets();\n// this.getTotalNumberOfButtons();\n// this.getRelativePathToAudioFiles();\n// this.getAudioFileNames();\n }", "public GameWindow() {\n\t\tthis.setTitle(\"HEX\");// small caps HEX is \\u029C\\u1D07x\n\t\tviewSize = new Dimension(750, 600);\n\t\tbarSize = new Dimension(250, 600);\n\t\twindowSize = new Dimension(1000, 600);\n\t\tthis.setDefaultKeys();\n\t\tselectedOption = 0;\n\t\tactiveScreen = 0;\n\t\t// Set default player factions\n\t\tplayerFactions = new int[3];\n\t\tplayerFactions[0] = 1;\n\t\tplayerFactions[1] = 2;\n\t\tsetDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tthis.setResizable(false);\n\t\tthis.getContentPane().setMaximumSize(windowSize);\n\t\tthis.getContentPane().setMinimumSize(windowSize);\n\t\tthis.getContentPane().setPreferredSize(windowSize);\n\t\tthis.getContentPane().setSize(windowSize);\n\t\tpack();\n\t\taddKeyListener(this);\n\t\tthis.setLocationRelativeTo(null);\n\t\tthis.setIconImage(ImageRes.getWinIcon());\n\t\tsetVisible(true);\n\t\trun();\n\t}", "private void createGameMode() {\n GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();\n Rectangle fullScreenBounds = ge.getDefaultScreenDevice().getDefaultConfiguration().getBounds();\n boolean fs = ge.getDefaultScreenDevice().isFullScreenSupported();\n \n setTitle(gameName);\n setName(gameName);\n setDefaultCloseOperation(EXIT_ON_CLOSE);\n \n map = new UAVMap(this, UAVModes.GAME, fs);\n \n if (fs) {\n fullScreen = new Window(this);\n fullScreen.add(map.getCanvas());\n ge.getDefaultScreenDevice().setFullScreenWindow(fullScreen);\n } else {\n this.setSize((int)(.9 * fullScreenBounds.width), (int)(.9 * fullScreenBounds.height));\n this.setLocation(fullScreenBounds.x + (int) (.05 * fullScreenBounds.width), \n fullScreenBounds.y + (int) (.05 * fullScreenBounds.height));\n Container content = getContentPane();\n content.setLayout(new GridBagLayout());\n GridBagConstraints c = new GridBagConstraints();\n c.fill = GridBagConstraints.BOTH;\n c.weightx = 1;\n c.weighty = 1;\n content.add(map.getCanvas(), c);\n setVisible(true);\n }\n map.initializeGame();\n map.startTimer(); \n }", "@Override\n protected void initSettings (GameSettings settings) {\n settings.setWidth(15 * 70);\n settings.setHeight(10* 70);\n settings.setVersion(\"0.1\");\n settings.setTitle(\"Platformer Game\");\n settings.setMenuEnabled(true);\n settings.setMenuKey(KeyCode.ESCAPE);\n }", "private void showCrawlerSettings()\n {\n SpiderConfig config = spider.getConfig();\n \n JPanel crawlerSettingsPanel = new JPanel(new GridLayout(8, 2));\n JLabel crawlDistanceLabel = new JLabel(\"Max crawl distance\");\n JLabel maxAdjLinksLabel = new JLabel(\"Max adjacent URL's\");\n JLabel bufferSizeLabel = new JLabel(\"Buffer size\");\n JLabel cacheSizeLabel = new JLabel(\"Cache size\");\n JLabel updateDurationLabel = new JLabel(\"Duration (days) until update\");\n JLabel maxImagesLabel = new JLabel(\"Max number of images\");\n JLabel collectImagesLabel = new JLabel(\"Fetch images\");\n JLabel defaultIndexFileLabel = new JLabel(\"Default index file\");\n JTextField crawlDistanceField = new JTextField();\n JTextField maxAdjLinksField = new JTextField();\n JTextField bufferSizeField = new JTextField();\n JTextField cacheSizeField = new JTextField();\n JTextField updateDurationField = new JTextField();\n JTextField maxImagesField = new JTextField();\n JTextField indexFileField = new JTextField();\n JCheckBox collectImagesCheck = new JCheckBox();\n \n crawlerSettingsPanel.add(crawlDistanceLabel);\n crawlerSettingsPanel.add(crawlDistanceField);\n crawlerSettingsPanel.add(maxAdjLinksLabel);\n crawlerSettingsPanel.add(maxAdjLinksField);\n crawlerSettingsPanel.add(bufferSizeLabel);\n crawlerSettingsPanel.add(bufferSizeField);\n crawlerSettingsPanel.add(cacheSizeLabel);\n crawlerSettingsPanel.add(cacheSizeField);\n crawlerSettingsPanel.add(updateDurationLabel);\n crawlerSettingsPanel.add(updateDurationField);\n crawlerSettingsPanel.add(maxImagesLabel);\n crawlerSettingsPanel.add(maxImagesField);\n crawlerSettingsPanel.add(defaultIndexFileLabel);\n crawlerSettingsPanel.add(indexFileField);\n crawlerSettingsPanel.add(collectImagesLabel);\n crawlerSettingsPanel.add(collectImagesCheck);\n \n crawlDistanceField.setText(\"\" + config.getMaxCrawlDistance());\n maxAdjLinksField.setText(\"\" + config.getMaxAdjUrls());\n bufferSizeField.setText(\"\" + config.getBufferSize());\n cacheSizeField.setText(\"\" + config.getCacheSize());\n updateDurationField.setText(\"\" + config.getUpdateDays());\n maxImagesField.setText(\"\" + config.getMaxImages());\n collectImagesCheck.setSelected(config.isFetchingImages());\n indexFileField.setText(config.getDatabaseFile());\n \n int option = JOptionPane.showConfirmDialog(null, crawlerSettingsPanel, \"Crawler settings\", JOptionPane.OK_CANCEL_OPTION);\n if(option == JOptionPane.YES_OPTION)\n {\n try\n {\n int maxDistance = Integer.parseInt(crawlDistanceField.getText());\n int maxLinks = Integer.parseInt(maxAdjLinksField.getText());\n int bufferSize = Integer.parseInt(bufferSizeField.getText());\n int cacheSize = Integer.parseInt(cacheSizeField.getText());\n int updateDays = Integer.parseInt(updateDurationField.getText());\n int maxImages = Integer.parseInt(maxImagesField.getText());\n String defaultIndex = indexFileField.getText();\n boolean fetchImages = collectImagesCheck.isSelected();\n \n config.setBufferSize(bufferSize);\n config.setCacheSize(cacheSize);\n config.setMaxCrawlDistance(maxDistance);\n config.setMaxAdjUrls(maxLinks);\n config.setUpdateDays(updateDays);\n config.setFetchImages(fetchImages);\n config.setMaxImages(maxImages);\n config.setDatabaseFile(defaultIndex);\n \n spider.updateConfig();\n }\n \n catch(NumberFormatException e)\n {\n JOptionPane.showMessageDialog(null, \"Invalid config settings\");\n }\n }\n }", "private TabPane createSettingsWindow() {\r\n\t\tint tabHeight = 380, tabWidth = 318, textfieldWidth = 120;\r\n\t\tColor settingsTitleColor = Color.DODGERBLUE;\r\n\t\tColor settingsTextColor = Color.ORANGE;\r\n\t\tFont settingsTitleFont = new Font(\"Aria\", 20);\r\n\t\tFont settingsFont = new Font(\"Aria\", 18);\r\n\t\tFont infoFont = new Font(\"Aria\", 16);\r\n\t\tInsets settingsInsets = new Insets(0, 0, 5, 0);\r\n\t\tInsets topSettingsInsets = new Insets(5, 0, 5, 0);\r\n\t\tInsets paddingAllAround = new Insets(5, 5, 5, 5);\r\n\t\tInsets separatorInsets = new Insets(5, 0, 5, 0);\r\n\t\tfeedbackSettingsLabel.setFont(settingsFont);\r\n\t\tfeedbackSimulationLabel.setFont(settingsFont);\r\n\t\tString updateHelp = \"Enter new values into the textfields\" + System.lineSeparator() + \"and click [enter] to update current values.\";\r\n\r\n//\t\t*** Settings>informationTab ***\r\n\t\tTab infoTab = new Tab(\"Information\");\r\n\t\tinfoTab.setClosable(false);\r\n\t\t\r\n\t\tVBox infoContent = new VBox();\r\n\t\tinfoContent.setPrefSize(tabWidth, tabHeight);\r\n\t\t\r\n\t\tfinal Label proxim8Version = new Label(\"Proxim8 v3.3\");\r\n\t\tproxim8Version.setTextFill(settingsTitleColor);\r\n\t\tproxim8Version.setFont(new Font(\"Aria\", 24));\r\n\t\tfinal Label driveModeLabel = new Label(\"Drive mode:\");\r\n\t\tdriveModeLabel.setTextFill(settingsTitleColor);\r\n\t\tdriveModeLabel.setFont(settingsTitleFont);\r\n\t\tfinal Text driveModeInfo = new Text(\"- measures the distance to the car infront of you\" + System.lineSeparator()\r\n\t\t\t\t\t\t\t\t\t \t + \"- checks if your brakedistance < current distance\");\r\n\t\tdriveModeInfo.setFill(settingsTextColor);\r\n\t\tdriveModeInfo.setFont(infoFont);\r\n\t\tfinal Label blindspotLabel = new Label(\"Blindspot mode:\");\r\n\t\tblindspotLabel.setTextFill(settingsTitleColor);\r\n\t\tblindspotLabel.setFont(settingsTitleFont);\r\n\t\tfinal Text blindspotModeInfo = new Text(\"- checks if there's a car in your blindzone\");\r\n\t\tblindspotModeInfo.setFill(settingsTextColor);\r\n\t\tblindspotModeInfo.setFont(infoFont);\r\n\t\tfinal Label parkingModeLabel = new Label(\"Parking mode:\");\r\n\t\tparkingModeLabel.setTextFill(settingsTitleColor);\r\n\t\tparkingModeLabel.setFont(settingsTitleFont);\r\n\t\tfinal Text parkingModeInfo = new Text(\"- measures the distances around the car\" + System.lineSeparator()\r\n\t\t\t\t\t\t\t\t\t\t\t+ \"- gives a warning incase the distance < door length\");\r\n\t\tparkingModeInfo.setFill(settingsTextColor);\r\n\t\tparkingModeInfo.setFont(infoFont);\r\n\t\t\r\n\t\tinfoContent.getChildren().addAll(proxim8Version, driveModeLabel, driveModeInfo, blindspotLabel, blindspotModeInfo, parkingModeLabel, parkingModeInfo);\r\n\t\tinfoTab.setContent(infoContent);\r\n\t\t\r\n//\t\t*** Settings>settingsTab ***\r\n\t\tTab settingsTab = new Tab(\"Settings\");\r\n\t\tsettingsTab.setClosable(false);\r\n\t\t\r\n\t\tVBox settingsContent = new VBox();\r\n\t\tsettingsContent.setPrefSize(tabWidth, tabHeight);\r\n\t\t\r\n\t\tHBox getAndSetValues = new HBox();\r\n\t\tgetAndSetValues.setPadding(paddingAllAround);\r\n//\t\tSettings>settingsTab>currentValues\r\n\t\tGridPane currentValues = new GridPane();\r\n\t\tfinal Label currentValuesLabel = new Label(\"Current values:\");\r\n\t\tcurrentValuesLabel.setTextFill(settingsTitleColor);\r\n\t\tcurrentValuesLabel.setFont(settingsTitleFont);\r\n\t\t\r\n\t\tfinal Label door = new Label(DOOR_LENGTH + \": \");\r\n\t\tdoor.setTextFill(settingsTextColor);\r\n\t\tdoor.setFont(settingsFont);\r\n\t\tdoor.setPadding(topSettingsInsets);\r\n\t\tfinal Label doorValue = new Label(String.valueOf(carData.getDoorLength()) + \"m\");\r\n\t\tdoorValue.setTextFill(settingsTextColor);\r\n\t\tdoorValue.setFont(settingsFont);\r\n\t\tfinal Label rearDoor = new Label(REAR_DOOR_LENGTH + \": \");\r\n\t\trearDoor.setTextFill(settingsTextColor);\r\n\t\trearDoor.setFont(settingsFont);\r\n\t\trearDoor.setPadding(settingsInsets);\r\n\t\tfinal Label rearDoorValue = new Label(String.valueOf(carData.getRearDoorLength()) + \"m\");\r\n\t\trearDoorValue.setTextFill(settingsTextColor);\r\n\t\trearDoorValue.setFont(settingsFont);\r\n\t\tfinal Label blindZone = new Label(BLIND_ZONE_VALUE + \": \");\r\n\t\tblindZone.setTextFill(settingsTextColor);\r\n\t\tblindZone.setFont(settingsFont);\r\n\t\tblindZone.setPadding(settingsInsets);\r\n\t\tfinal Label blindZoneValue = new Label(String.valueOf(carData.getBlindZoneValue()) + \"m\");\r\n\t\tblindZoneValue.setTextFill(settingsTextColor);\r\n\t\tblindZoneValue.setFont(settingsFont);\r\n\t\tfinal Label frontParkDist = new Label(FRONT_PARK_DISTANCE + \": \");\r\n\t\tfrontParkDist.setTextFill(settingsTextColor);\r\n\t\tfrontParkDist.setFont(settingsFont);\r\n\t\tfrontParkDist.setPadding(settingsInsets);\r\n\t\tfinal Label frontParkDistValue = new Label(String.valueOf(carData.getFrontDistParking()) + \"m\");\r\n\t\tfrontParkDistValue.setTextFill(settingsTextColor);\r\n\t\tfrontParkDistValue.setFont(settingsFont);\r\n\t\tfrontParkDistValue.setPadding(settingsInsets);\r\n\t\t\r\n\t\tcurrentValues.add(currentValuesLabel, 0, 0);\r\n\t\tcurrentValues.add(door, 0, 1);\r\n\t\tcurrentValues.add(doorValue, 1, 1);\r\n\t\t\r\n\t\tcurrentValues.add(rearDoor, 0, 2);\r\n\t\tcurrentValues.add(rearDoorValue, 1, 2);\r\n\t\t\r\n\t\tcurrentValues.add(blindZone, 0, 3);\r\n\t\tcurrentValues.add(blindZoneValue, 1, 3);\r\n\t\t\r\n\t\tcurrentValues.add(frontParkDist, 0, 4);\r\n\t\tcurrentValues.add(frontParkDistValue, 1, 4);\r\n\t\t\r\n//\t\tSettings>settingTab>updateFields\r\n\t\tVBox updateFields = new VBox();\r\n\t\tupdateFields.setPadding(paddingAllAround);\r\n\t\tfinal Label updateLabel = new Label(\"Set new value:\");\r\n\t\tupdateLabel.setTextFill(settingsTitleColor);\r\n\t\tupdateLabel.setFont(settingsTitleFont);\r\n\t\t\r\n\t\tfinal TextField doorLengthField = new TextField();\r\n\t\tdoorLengthField.setPromptText(\"meter\");\r\n\t\tdoorLengthField.setMaxWidth(textfieldWidth);\r\n\t\tdoorLengthField.setOnAction(new EventHandler<ActionEvent>() {\r\n\t\t\t@Override\r\n\t\t\tpublic void handle(ActionEvent event) {\r\n\t\t\t\tvalidateInput(doorValue, feedbackSettingsLabel, doorLengthField, DOOR_LENGTH, 0, 10);\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tfinal TextField rearDoorLengthField = new TextField();\r\n\t\trearDoorLengthField.setPromptText(\"meter\");\r\n\t\trearDoorLengthField.setMaxWidth(textfieldWidth);\r\n\t\trearDoorLengthField.setOnAction(new EventHandler<ActionEvent>() {\r\n\t\t\t@Override\r\n\t\t\tpublic void handle(ActionEvent event) {\r\n\t\t\t\tvalidateInput(rearDoorValue, feedbackSettingsLabel, rearDoorLengthField, REAR_DOOR_LENGTH, 0, 10);\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tfinal TextField blindZoneValueField = new TextField();\r\n\t\tblindZoneValueField.setMaxWidth(textfieldWidth);\r\n\t\tblindZoneValueField.setPromptText(\"meter\");\r\n\t\tblindZoneValueField.setOnAction(new EventHandler<ActionEvent>() {\r\n\t\t\t@Override\r\n\t\t\tpublic void handle(ActionEvent event) {\r\n\t\t\t\tvalidateInput(blindZoneValue, feedbackSettingsLabel, blindZoneValueField, BLIND_ZONE_VALUE, 0, 10);\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tfinal TextField frontParkDistField = new TextField();\r\n\t\tfrontParkDistField.setMaxWidth(textfieldWidth);\r\n\t\tfrontParkDistField.setPromptText(\"meter\");\r\n\t\tfrontParkDistField.setOnAction(new EventHandler<ActionEvent>() {\r\n\t\t\t@Override\r\n\t\t\tpublic void handle(ActionEvent event) {\r\n\t\t\t\tvalidateInput(frontParkDistValue, feedbackSettingsLabel, frontParkDistField, FRONT_PARK_DISTANCE, 0, 10);\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tupdateFields.getChildren().addAll(updateLabel, doorLengthField, rearDoorLengthField, blindZoneValueField, frontParkDistField);\r\n\t\t\r\n\t\tRegion regionSettings = new Region();\r\n\t\tregionSettings.setPrefWidth(25);\r\n\t\tgetAndSetValues.getChildren().addAll(currentValues, regionSettings, updateFields);\r\n\t\t\r\n\t\tSeparator settingsSeparator = new Separator();\r\n\t\tsettingsSeparator.setPadding(separatorInsets);\r\n\t\t\r\n\t\tfinal Text howToUpdate = new Text(updateHelp);\r\n\t\thowToUpdate.setFill(settingsTextColor);\r\n\t\thowToUpdate.setFont(settingsFont);\r\n\t\t\r\n\t\tSeparator settingsSeparator2 = new Separator();\r\n\t\tsettingsSeparator2.setPadding(separatorInsets);\r\n\t\t\r\n\t\t\r\n\t\tsettingsContent.getChildren().addAll(getAndSetValues, settingsSeparator, howToUpdate, settingsSeparator2, feedbackSettingsLabel);\r\n\t\tsettingsTab.setContent(settingsContent);\r\n\t\t\r\n//\t\t*** Settings>simulate ***\r\n\t\tTab simulateTab = new Tab(\"Simulation\");\r\n\t\tsimulateTab.setClosable(false);\r\n\t\t\r\n\t\tVBox simulateContent = new VBox();\r\n\t\tsimulateContent.setPrefSize(tabWidth, tabHeight);\r\n\t\t\r\n\t\t\r\n\t\tHBox getAndSetSim = new HBox();\r\n\t\tgetAndSetSim.setPadding(paddingAllAround);\r\n//\t\tSettings>simulate>currentValues\r\n\t\tGridPane currentValuesSim = new GridPane();\r\n\t\tfinal Label currentValuesSimLabel = new Label(\"Current values:\");\r\n\t\tcurrentValuesSimLabel.setTextFill(settingsTitleColor);\r\n\t\tcurrentValuesSimLabel.setFont(settingsTitleFont);\r\n\t\t\r\n\t\tfinal Label topSpeed = new Label(TOP_SPEED + \": \");\r\n\t\ttopSpeed.setTextFill(settingsTextColor);\r\n\t\ttopSpeed.setFont(settingsFont);\r\n\t\ttopSpeed.setPadding(topSettingsInsets);\r\n\t\tfinal Label topSpeedValue = new Label(String.valueOf(carData.getTopSpeed()) + \"km/h\");\r\n\t\ttopSpeedValue.setTextFill(settingsTextColor);\r\n\t\ttopSpeedValue.setFont(settingsFont);\r\n\t\t\r\n\t\tcurrentValuesSim.add(currentValuesSimLabel, 0, 0);\r\n\t\tcurrentValuesSim.add(topSpeed, 0, 1);\r\n\t\tcurrentValuesSim.add(topSpeedValue, 1, 1);\r\n\t\t\r\n//\t\tSettings>simulate>updateFields\r\n\t\tVBox updateFieldsSim = new VBox();\r\n\t\tfinal Label updateSimLabel = new Label(\"Set new value:\");\r\n\t\tupdateSimLabel.setTextFill(settingsTitleColor);\r\n\t\tupdateSimLabel.setFont(settingsTitleFont);\r\n\t\t\r\n\t\tfinal TextField topSpeedField = new TextField();\r\n\t\ttopSpeedField.setMaxWidth(textfieldWidth);\r\n\t\ttopSpeedField.setPromptText(\"km/h\");\r\n\t\ttopSpeedField.setOnAction(new EventHandler<ActionEvent>() {\r\n\t\t\t@Override\r\n\t\t\tpublic void handle(ActionEvent event) {\r\n\t\t\t\tvalidateInput(topSpeedValue, feedbackSimulationLabel, topSpeedField, TOP_SPEED, Double.valueOf(carSpeed), 999.0);\t\t\t\t\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tupdateFieldsSim.getChildren().addAll(updateSimLabel, topSpeedField);\r\n\t\t\r\n\t\tRegion simulateRegion = new Region();\r\n\t\tsimulateRegion.setPrefWidth(25);\r\n\t\tgetAndSetSim.getChildren().addAll(currentValuesSim, simulateRegion, updateFieldsSim);\r\n\t\t\r\n\t\tSeparator simulationSeparator = new Separator();\r\n\t\tsimulationSeparator.setPadding(separatorInsets);\r\n\t\t\r\n\t\tfinal Text simulateInfo = new Text(updateHelp);\r\n\t\tsimulateInfo.setFill(settingsTextColor);\r\n\t\tsimulateInfo.setFont(settingsFont);\r\n\t\t\r\n\t\tSeparator simulationSeparator2 = new Separator();\r\n\t\tsimulationSeparator2.setPadding(separatorInsets);\r\n\t\t\r\n\t\t\r\n\t\tsimulateContent.getChildren().addAll(getAndSetSim, simulationSeparator, simulateInfo, simulationSeparator2, feedbackSimulationLabel);\r\n\t\tsimulateTab.setContent(simulateContent);\r\n\t\t\r\n//\t\t*** Settings>checkBoxTab ***\r\n\t\tTab extraFeaturesTab = new Tab(\"Extra features\");\r\n\t\textraFeaturesTab.setClosable(false);\r\n\t\t\r\n\t\tVBox extraFeaturesContent = new VBox();\r\n\t\textraFeaturesContent.setPrefSize(tabWidth, tabHeight);\r\n\t\textraFeaturesContent.setPadding(paddingAllAround);\r\n\t\t\r\n\t\tfinal Label extraFeaturesLabel = new Label(\"Extra features\");\r\n\t\textraFeaturesLabel.setTextFill(settingsTitleColor);\r\n\t\textraFeaturesLabel.setFont(settingsTitleFont);\r\n\t\textraFeaturesLabel.setPadding(topSettingsInsets);\r\n\t\t\r\n\t\tSeparator separatorExtraFeatures = new Separator();\r\n\t\tseparatorExtraFeatures.setPadding(separatorInsets);\r\n\t\t\r\n\t\tInsets checkInsets = new Insets(5, 0, 5, 5);\r\n\t\tfinal CheckBox smartBrake = new CheckBox(\"Smart brake\");\r\n\t\tsmartBrake.setSelected(smartBrakeActivated);\r\n\t\tsmartBrake.setFont(settingsFont);\r\n\t\tsmartBrake.setTextFill(settingsTextColor);\r\n\t\tsmartBrake.setPadding(checkInsets);\r\n\t\tsmartBrake.setOnAction(new EventHandler<ActionEvent>() {\r\n\t\t\t@Override\r\n\t\t\tpublic void handle(ActionEvent event) {\r\n\t\t\t\tsmartBrakeActivated = ! smartBrakeActivated;\r\n\t\t\t\tvalidateAndUpdate(null, true, feedbackSettingsLabel, \"Successfully updated\");\r\n\t\t\t}\r\n\t\t});\r\n\t\tfinal CheckBox blindspotAlways = new CheckBox(\"Blindspot always\");\r\n\t\tblindspotAlways.setSelected(blindspotAlwaysActivated);\r\n\t\tblindspotAlways.setFont(settingsFont);\r\n\t\tblindspotAlways.setTextFill(settingsTextColor);\r\n\t\tblindspotAlways.setPadding(checkInsets);\r\n\t\tblindspotAlways.setOnAction(new EventHandler<ActionEvent>() {\r\n\t\t\t@Override\r\n\t\t\tpublic void handle(ActionEvent event) {\r\n\t\t\t\tblindspotAlwaysActivated = ! blindspotAlwaysActivated;\r\n\t\t\t\tvalidateAndUpdate(null, true, feedbackSettingsLabel, \"Successfully updated\");\r\n\t\t\t}\r\n\t\t});\r\n\t\tfinal CheckBox audioWarning = new CheckBox(\"Audio warning\");\r\n\t\taudioWarning.setSelected(audioWarningActivated);\r\n\t\taudioWarning.setFont(settingsFont);\r\n\t\taudioWarning.setTextFill(settingsTextColor);\r\n\t\taudioWarning.setPadding(checkInsets);\r\n\t\taudioWarning.setOnAction(new EventHandler<ActionEvent>() {\r\n\t\t\t@Override\r\n\t\t\tpublic void handle(ActionEvent event) {\r\n\t\t\t\taudioWarningActivated = ! audioWarningActivated;\r\n\t\t\t\tvalidateAndUpdate(null, true, feedbackSettingsLabel, \"Successfully updated\");\t\t\t\t\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\textraFeaturesContent.getChildren().addAll(extraFeaturesLabel, separatorExtraFeatures, smartBrake, blindspotAlways); //, audioWarning);\r\n\t\textraFeaturesTab.setContent(extraFeaturesContent);\r\n\t\t\r\n\t\t\r\n\t\tTabPane settingsWindow = new TabPane();\r\n\t\tsettingsWindow.setVisible(false);\r\n\t\tsettingsWindow.getTabs().addAll(infoTab, settingsTab, simulateTab, extraFeaturesTab);\r\n\t\treturn settingsWindow;\r\n\t}", "private void viewConfiguration(String table) {\n if (view != null) {\n frame.getContentPane().remove(view);\n }\n if (scrollPane != null) {\n frame.getContentPane().remove(scrollPane);\n }\n\n int imageWidth, imageHeight;\n\n // render image\n if (config.useBlankImage()) {\n imageWidth = config.getImageWidth();\n imageHeight = config.getImageHeight();\n canvas = new ZImageCanvas(imageWidth, imageHeight);\n }\n else {\n ImageIcon icon = new ImageIcon(config.getImageName(), config.getImageName());\n Image base = icon.getImage();\n imageHeight = base.getHeight(null);\n imageWidth = base.getWidth(null);\n canvas = new ZImageCanvas(base);\n }\n\n // render surrounding rectangle\n ZLayerGroup layer = canvas.getLayer();\n ZLine line = new ZLine(config.getMinimumPixelX(), config.getMinimumPixelY(), \n config.getMaximumPixelX(), config.getMinimumPixelY());\n ZVisualLeaf leaf = new ZVisualLeaf(line);\n layer.addChild(leaf);\n line = new ZLine(config.getMinimumPixelX(), config.getMinimumPixelY(), \n config.getMinimumPixelX(), config.getMaximumPixelY());\n leaf = new ZVisualLeaf(line);\n layer.addChild(leaf);\n line = new ZLine(config.getMaximumPixelX(), config.getMinimumPixelY(), \n config.getMaximumPixelX(), config.getMaximumPixelY());\n leaf = new ZVisualLeaf(line);\n layer.addChild(leaf);\n line = new ZLine(config.getMinimumPixelX(), config.getMaximumPixelY(), \n config.getMaximumPixelX(), config.getMaximumPixelY());\n leaf = new ZVisualLeaf(line);\n layer.addChild(leaf);\n\n // render the static motes\n for (Enumeration e=motes.elements(); e.hasMoreElements(); ) {\n leaf = new ZVisualLeaf((Mote)e.nextElement());\n layer.addChild(leaf);\n }\n\n JPanel main = new JPanel(new BorderLayout());\n\n // add scroll pane\n int x=0, y = 0;\n if (imageWidth > SCROLL_WIDTH) {\n x = SCROLL_WIDTH;\n }\n else {\n x = imageWidth;\n }\n\n if (imageHeight > SCROLL_HEIGHT) {\n y = SCROLL_HEIGHT;\n }\n else {\n y = imageHeight;\n }\n\n scrollPane = new ZScrollPane(canvas);\n\n scrollPane.setPreferredSize(new Dimension(x+20, y+20));\n frame.getContentPane().add(scrollPane, BorderLayout.CENTER);\n\n view = new JPanel(new GridLayout(0,3));\n view.add(new JLabel(\" X Position \"));\n view.add(new JLabel(\" Y Position \"));\n view.add(new JLabel(\" Mote ID \"));\n xpos = new JLabel (\" 0.0 \");\n ypos = new JLabel (\" 0.0 \");\n moteId = new JLabel(\" ID \");\n view.add(xpos);\n view.add(ypos);\n view.add(moteId);\n frame.getContentPane().add(view, BorderLayout.EAST);\n\n frame.pack();\n\n formatter = new DecimalFormat(\"###.##\");\n\n // create all the event handlers\n panEventHandler = new ZPanEventHandler(canvas.getCameraNode());\n zoomEventHandler = new ZoomEventHandler(canvas.getCameraNode());\n addEventHandler = new AddEventHandler(canvas, this, this, imageWidth, imageHeight, motes, frame);\n moveEventHandler = new MoveEventHandler(canvas, this, imageWidth, imageHeight, true);\n removeEventHandler = new RemoveEventHandler(canvas, canvas.getLayer(), motes, this);\n autoEventHandler = new AutoEventHandler(canvas, motes, imageWidth, imageHeight);\n \n // set the zoom and move event handlers to active\n zoomEventHandler.setActive(true);\n moveEventHandler.setActive(true);\n\n setMode(ADD_MODE);\n/*\n imageWithGrid = new BufferedImage(imageWidth, imageHeight, BufferedImage.TYPE_INT_RGB);\n Graphics g = imageWithGrid.createGraphics();\n g.drawImage(base, 0, 0, null);\n g.setColor(Color.black);\n \n double xdist = Math.abs(config.getMaximumRealX() - config.getMinimumRealX());\n double pxdist = (double)Math.abs((config.getMaximumPixelX() - config.getMinimumPixelX()));\n double xRatio = pxdist/xdist;\n double minX = (double)Math.min(config.getMinimumPixelX(), config.getMaximumPixelX());\n double maxX = (double)Math.max(config.getMinimumPixelX(), config.getMaximumPixelX());\n for (double i=minX; i<=maxX; i+=(xRatio*GRID_DISTANCE)) {\n g.drawLine((int)i,config.getMinimumPixelY(),(int)i,config.getMaximumPixelY());\n }\n g.drawLine(config.getMaximumPixelX(), config.getMinimumPixelY(), config.getMaximumPixelX(), config.getMaximumPixelY());\n\n double ydist = Math.abs(config.getMaximumRealY() - config.getMinimumRealY());\n double pydist = (double)Math.abs((config.getMaximumPixelY() - config.getMinimumPixelY()));\n double yRatio = pydist/ydist;\n double minY = (double)Math.min(config.getMinimumPixelY(), config.getMaximumPixelY());\n double maxY = (double)Math.max(config.getMinimumPixelY(), config.getMaximumPixelY());\n for (double i=minY; i<=maxY; i+=(yRatio*GRID_DISTANCE)) {\n g.drawLine(config.getMinimumPixelX(),(int)i,config.getMaximumPixelX(),(int)i);\n }\n g.drawLine(config.getMinimumPixelX(), config.getMaximumPixelY(), config.getMaximumPixelX(), config.getMaximumPixelY());\n*/\n }", "public void showConfigN3(ActionEvent event) {\r\n\t\tlog.info(\"-----------------------Debugging EstrucOrgController.showConfigN3-----------------------------\");\r\n\t\tlog.info(\"renderConfigN3: \"+getRenderConfigN3());\r\n\t\tif(getRenderConfigN3()==false){\r\n\t\t\tsetRenderConfigN3(true);\r\n\t\t\tsetStrBtnAgregarN3(\"Ocultar Configuración\");\r\n\t\t}else{\r\n\t\t\tsetRenderConfigN3(false);\r\n\t\t\tsetStrBtnAgregarN3(\"Agregar Configuración\");\r\n\t\t}\r\n\t}", "private void configureWorlds(){\n switch (gameWorld){\n case NORMAL:\n world.setPVP(true);\n world.setKeepSpawnInMemory(false);\n world.setAutoSave(false);\n world.setStorm(false);\n world.setThundering(false);\n world.setAnimalSpawnLimit((int) (mobLimit * 0.45));\n world.setMonsterSpawnLimit((int) (mobLimit * 0.45));\n world.setWaterAnimalSpawnLimit((int) (mobLimit * 0.1));\n world.setDifficulty(Difficulty.HARD);\n break;\n case NETHER:\n world.setPVP(true);\n world.setAutoSave(false);\n world.setKeepSpawnInMemory(false);\n world.setStorm(false);\n world.setThundering(false);\n world.setMonsterSpawnLimit((int) (mobLimit * 0.45));\n world.setAnimalSpawnLimit((int) (mobLimit * 0.45));\n world.setWaterAnimalSpawnLimit((int) (mobLimit * 0.1));\n world.setDifficulty(Difficulty.HARD);\n break;\n }\n }", "public ConfigurationWindowLocal(Boolean changeConfig) {\r\n\t\t/**\r\n\t\t * Fills fields with content\r\n\t\t */\r\n\t\tif (changeConfig) {\r\n\t\t\tFile local = new File(Constants.CONFIGURATION_PATH_LOCAL);\r\n\t\t\tFile backUp = new File(Constants.CONFIGURATION_PATH_SERVER);\r\n\t\t\tConfiguration.loadConfigurations(local, backUp);\r\n\t\t\tDatabase localDB = Configuration.getInstance().getLocalDatabase();\r\n\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\ttxtHost.setText(localDB.getHost());\r\n\t\t\tint port = 3306;\r\n try\r\n {\r\n port = Integer.parseInt(localDB.getPort());\r\n }\r\n catch (NumberFormatException e)\r\n {\r\n JOptionPane.showMessageDialog(null, \"Ungültiger Datenbank Port! (\"+localDB.getPort()+\")\\n\"\r\n + \"Port wurde auf 3306 gesetzt.\",\r\n \"Configurations-Fehler\", JOptionPane.ERROR_MESSAGE);\r\n }\r\n spnDBPort.setValue(port);\r\n\t\t\ttxtDatabaseName.setText(localDB.getDatabaseName());\r\n\t\t\ttxtUsername.setText(localDB.getUsername());\r\n\t\t\ttxtPasswort.setText(localDB.getPassword());\r\n\t\t\t\r\n\t\t\tshowSafeMessage = changeConfig;\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\tbuildWindow();\r\n\t\t\r\n\t}", "private void configuracoes() {\n setLocationRelativeTo(null);\n this.setIconImage(new ImageIcon(getClass().getResource(SystemMessage.IMAGE_URL)).getImage());\n this.setTitle(SystemMessage.SYSTEM_NAME + \" -\");\n }", "void buildWindow()\n { main.gui.gralMng.selectPanel(\"primaryWindow\");\n main.gui.gralMng.setPosition(-30, 0, -47, 0, 'r'); //right buttom, about half less display width and hight.\n int windProps = GralWindow.windConcurrently;\n GralWindow window = main.gui.gralMng.createWindow(\"windStatus\", \"Status - The.file.Commander\", windProps);\n windStatus = window; \n main.gui.gralMng.setPosition(3.5f, GralPos.size -3, 1, GralPos.size +5, 'd');\n widgCopy = main.gui.gralMng.addButton(\"sCopy\", main.copyCmd.actionConfirmCopy, \"copy\");\n widgEsc = main.gui.gralMng.addButton(\"dirBytes\", actionButton, \"esc\");\n }", "void loadConfig() {\r\n\t\tFile file = new File(\"open-ig-mapeditor-config.xml\");\r\n\t\tif (file.canRead()) {\r\n\t\t\ttry {\r\n\t\t\t\tElement root = XML.openXML(file);\r\n\t\t\t\t\r\n\t\t\t\t// reposition the window\r\n\t\t\t\tElement eWindow = XML.childElement(root, \"window\");\r\n\t\t\t\tif (eWindow != null) {\r\n\t\t\t\t\tsetBounds(\r\n\t\t\t\t\t\tInteger.parseInt(eWindow.getAttribute(\"x\")),\r\n\t\t\t\t\t\tInteger.parseInt(eWindow.getAttribute(\"y\")),\r\n\t\t\t\t\t\tInteger.parseInt(eWindow.getAttribute(\"width\")),\r\n\t\t\t\t\t\tInteger.parseInt(eWindow.getAttribute(\"height\"))\r\n\t\t\t\t\t);\r\n\t\t\t\t\tsetExtendedState(Integer.parseInt(eWindow.getAttribute(\"state\")));\r\n\t\t\t\t}\r\n\t\t\t\tElement eLanguage = XML.childElement(root, \"language\");\r\n\t\t\t\tif (eLanguage != null) {\r\n\t\t\t\t\tString langId = eLanguage.getAttribute(\"id\");\r\n\t\t\t\t\tif (\"hu\".equals(langId)) {\r\n\t\t\t\t\t\tui.languageHu.setSelected(true);\r\n\t\t\t\t\t\tui.languageHu.doClick();\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tui.languageEn.setSelected(true);\r\n\t\t\t\t\t\tui.languageEn.doClick();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tElement eSplitters = XML.childElement(root, \"splitters\");\r\n\t\t\t\tif (eSplitters != null) {\r\n\t\t\t\t\tsplit.setDividerLocation(Integer.parseInt(eSplitters.getAttribute(\"main\")));\r\n\t\t\t\t\ttoolSplit.setDividerLocation(Integer.parseInt(eSplitters.getAttribute(\"preview\")));\r\n\t\t\t\t\tfeaturesSplit.setDividerLocation(Integer.parseInt(eSplitters.getAttribute(\"surfaces\")));\r\n\t\t\t\t}\r\n\r\n\t\t\t\tElement eTabs = XML.childElement(root, \"tabs\");\r\n\t\t\t\tif (eTabs != null) {\r\n\t\t\t\t\tpropertyTab.setSelectedIndex(Integer.parseInt(eTabs.getAttribute(\"selected\")));\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tElement eLights = XML.childElement(root, \"lights\");\r\n\t\t\t\tif (eLights != null) {\r\n\t\t\t\t\talphaSlider.setValue(Integer.parseInt(eLights.getAttribute(\"preview\")));\r\n\t\t\t\t\talpha = Float.parseFloat(eLights.getAttribute(\"map\"));\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tElement eMode = XML.childElement(root, \"editmode\");\r\n\t\t\t\tif (eMode != null) {\r\n\t\t\t\t\tif (\"true\".equals(eMode.getAttribute(\"type\"))) {\r\n\t\t\t\t\t\tui.buildButton.doClick();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tElement eView = XML.childElement(root, \"view\");\r\n\t\t\t\tif (eView != null) {\r\n\t\t\t\t\tui.viewShowBuildings.setSelected(false);\r\n\t\t\t\t\tif (\"true\".equals(eView.getAttribute(\"buildings\"))) {\r\n\t\t\t\t\t\tui.viewShowBuildings.doClick();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tui.viewSymbolicBuildings.setSelected(false);\r\n\t\t\t\t\tif (\"true\".equals(eView.getAttribute(\"minimap\"))) {\r\n\t\t\t\t\t\tui.viewSymbolicBuildings.doClick();\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tui.viewTextBackgrounds.setSelected(false);\r\n\t\t\t\t\tif (\"true\".equals(eView.getAttribute(\"textboxes\"))) {\r\n\t\t\t\t\t\tui.viewTextBackgrounds.doClick();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tui.viewTextBackgrounds.setSelected(false);\r\n\t\t\t\t\tif (\"true\".equals(eView.getAttribute(\"textboxes\"))) {\r\n\t\t\t\t\t\tui.viewTextBackgrounds.doClick();\r\n\t\t\t\t\t}\r\n\t\t\t\t\trenderer.scale = Double.parseDouble(eView.getAttribute(\"zoom\"));\r\n\t\t\t\t\t\r\n\t\t\t\t\tui.viewStandardFonts.setSelected(\"true\".equals(eView.getAttribute(\"standard-fonts\")));\r\n\t\t\t\t\tui.viewPlacementHints.setSelected(!\"true\".equals(eView.getAttribute(\"placement-hints\")));\r\n\t\t\t\t\tui.viewPlacementHints.doClick();\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tElement eSurfaces = XML.childElement(root, \"custom-surface-names\");\r\n\t\t\t\tif (eSurfaces != null) {\r\n\t\t\t\t\tfor (Element tile : XML.childrenWithName(eSurfaces, \"tile\")) {\r\n\t\t\t\t\t\tTileEntry te = new TileEntry();\r\n\t\t\t\t\t\tte.id = Integer.parseInt(tile.getAttribute(\"id\"));\r\n\t\t\t\t\t\tte.surface = tile.getAttribute(\"type\");\r\n\t\t\t\t\t\tte.name = tile.getAttribute(\"name\");\r\n\t\t\t\t\t\tcustomSurfaceNames.add(te);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tElement eBuildigns = XML.childElement(root, \"custom-building-names\");\r\n\t\t\t\tif (eBuildigns != null) {\r\n\t\t\t\t\tfor (Element tile : XML.childrenWithName(eBuildigns, \"tile\")) {\r\n\t\t\t\t\t\tTileEntry te = new TileEntry();\r\n\t\t\t\t\t\tte.id = Integer.parseInt(tile.getAttribute(\"id\"));\r\n\t\t\t\t\t\tte.surface = tile.getAttribute(\"type\");\r\n\t\t\t\t\t\tte.name = tile.getAttribute(\"name\");\r\n\t\t\t\t\t\tcustomBuildingNames.add(te);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tElement eFilter = XML.childElement(root, \"filter\");\r\n\t\t\t\tif (eFilter != null) {\r\n\t\t\t\t\tfilterSurface.setText(eFilter.getAttribute(\"surface\"));\r\n\t\t\t\t\tfilterBuilding.setText(eFilter.getAttribute(\"building\"));\r\n\t\t\t\t}\r\n\t\t\t\tElement eAlloc = XML.childElement(root, \"allocation\");\r\n\t\t\t\tif (eAlloc != null) {\r\n\t\t\t\t\tui.allocationPanel.availableWorkers.setText(eAlloc.getAttribute(\"worker\"));\r\n\t\t\t\t\tui.allocationPanel.strategies.setSelectedIndex(Integer.parseInt(eAlloc.getAttribute(\"strategy\")));\r\n\t\t\t\t}\r\n\t\t\t\tElement eRecent = XML.childElement(root, \"recent\");\r\n\t\t\t\tif (eRecent != null) {\r\n\t\t\t\t\tfor (Element r : XML.childrenWithName(eRecent, \"entry\")) {\r\n\t\t\t\t\t\taddRecentEntry(r.getAttribute(\"file\")); \r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} catch (IOException ex) {\r\n\t\t\t\tex.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\t}", "private void initialize()\n\t{\n\t\tframe = new JFrame();\n\t\tframe.getContentPane().setBackground(Color.WHITE);\n\t\tframe.setTitle(\"Configuración de Controles\");\n\t\tframe.setBounds(100, 100, 500, 500);\n\t\tframe.getContentPane().setLayout(null);\n\t\tframe.setIconImage(new ImageIcon(getClass().getClassLoader().getResource(\"iconoVentana.jpg\")).getImage());\n\t\t\n\t\tJLabel lblConfiguracinGeneral = new JLabel(\"Configuraci\\u00F3n General\");\n\t\tlblConfiguracinGeneral.setFont(new Font(\"Segoe UI\", Font.PLAIN, 15));\n\t\tlblConfiguracinGeneral.setBounds(171, 11, 162, 21);\n\t\tframe.getContentPane().add(lblConfiguracinGeneral);\n\t\t\n\t\tJLabel lblTeclaAdelante = new JLabel(\"Tecla Adelante\");\n\t\tlblTeclaAdelante.setBounds(10, 65, 115, 14);\n\t\tframe.getContentPane().add(lblTeclaAdelante);\n\t\t\n\t\tJLabel lblTeclaAtrs = new JLabel(\"Tecla Atr\\u00E1s\");\n\t\tlblTeclaAtrs.setBounds(10, 105, 115, 14);\n\t\tframe.getContentPane().add(lblTeclaAtrs);\n\t\t\n\t\tJLabel lblTeclaArriba = new JLabel(\"Tecla Salto\");\n\t\tlblTeclaArriba.setBounds(10, 151, 115, 14);\n\t\tframe.getContentPane().add(lblTeclaArriba);\n\t\t\n\t\tJLabel lblTeclaAbajo = new JLabel(\"Tecla Disparo 1\");\n\t\tlblTeclaAbajo.setBounds(10, 197, 115, 14);\n\t\tframe.getContentPane().add(lblTeclaAbajo);\n\t\t// JTextField\n\t\tteclaDerecha = new JTextField();\n\t\tteclaDerecha.addKeyListener(this);\n\t\tteclaDerecha.setBounds(171, 58, 100, 20);\n\t\tframe.getContentPane().add(teclaDerecha);\n\t\tteclaDerecha.setColumns(10);\n\t\t\n\t\tteclaIzq = new JTextField();\n\t\tteclaIzq.addKeyListener(this);\n\t\tteclaIzq.setBounds(171, 98, 100, 20);\n\t\tframe.getContentPane().add(teclaIzq);\n\t\tteclaIzq.setColumns(10);\n\t\t\n\t\tteclaSalto = new JTextField();\n\t\tteclaSalto.addKeyListener(this);\n\t\tteclaSalto.setBounds(171, 144, 100, 20);\n\t\tframe.getContentPane().add(teclaSalto);\n\t\tteclaSalto.setColumns(10);\n\t\t\n\t\tdisparo1_1 = new JTextField();\n\t\tdisparo1_1.addKeyListener(this);\n\t\tdisparo1_1.setBounds(171, 190, 100, 20);\n\t\tframe.getContentPane().add(disparo1_1);\n\t\tdisparo1_1.setColumns(10);\n\t\t\n\t\tdisparo2_1 = new JTextField();\n\t\tdisparo2_1.addKeyListener(this);\n\t\tdisparo2_1.setColumns(10);\n\t\tdisparo2_1.setBounds(171, 237, 100, 20);\n\t\tframe.getContentPane().add(disparo2_1);\n\t\t// Fin JTextField\n\t\tJLabel Label_ImagenJugador = new JLabel(new ImageIcon(getClass().getClassLoader().getResource(\"muestraJugador.gif\")));\n\t\tLabel_ImagenJugador.setBackground(Color.WHITE);\n\t\tLabel_ImagenJugador.setBounds(339, 43, 215, 215);\n\t\tframe.getContentPane().add(Label_ImagenJugador);\n\t\t\n\t\tJLabel lblTeclaDisparo = new JLabel(\"Tecla Disparo 2\");\n\t\tlblTeclaDisparo.setBounds(10, 244, 115, 14);\n\t\tframe.getContentPane().add(lblTeclaDisparo);\n\t\t\n\t\tJComboBox<String> comboDisiparo1 = new JComboBox<String>();\n\t\tcomboDisiparo1.setBounds(171, 278, 139, 22);\n\t\tfor (int disparo1 = 0; disparo1 < CargaDatos.contDisparo; disparo1++)\n\t\t{\n\t\t\tcomboDisiparo1.addItem(CargaDatos.tipoDisparo[disparo1].getNombre());\n\t\t}\n\t\tcomboDisiparo1.addItemListener(new ItemListener()\n\t\t{\n\t\t\t@Override\n\t\t\tpublic void itemStateChanged(ItemEvent cambio)\n\t\t\t{\n\t\t\t\tdisparo1Elegido = comboDisiparo1.getSelectedIndex();\n\t\t\t}\n\t\t});\n\t\tframe.getContentPane().add(comboDisiparo1);\n\t\t\n\t\tJLabel lblTipoDisparo = new JLabel(\"Tipo Disparo 1\");\n\t\tlblTipoDisparo.setBounds(10, 286, 115, 14);\n\t\tframe.getContentPane().add(lblTipoDisparo);\n\t\t\n\t\tJLabel lblTipoDisparo_1 = new JLabel(\"Tipo Disparo 2\");\n\t\tlblTipoDisparo_1.setBounds(10, 331, 115, 14);\n\t\tframe.getContentPane().add(lblTipoDisparo_1);\n\t\t\n\t\tJComboBox<String> comboDisparo2 = new JComboBox<String>();\n\t\tcomboDisparo2.setBounds(171, 323, 139, 22);\n\t\tfor (int disparo2 = 0; disparo2 < CargaDatos.contDisparo; disparo2++)\n\t\t{\n\t\t\tcomboDisparo2.addItem(CargaDatos.tipoDisparo[disparo2].getNombre());\n\t\t}\n\t\tcomboDisparo2.addItemListener(new ItemListener()\n\t\t{\n\t\t\t@Override\n\t\t\tpublic void itemStateChanged(ItemEvent cambio)\n\t\t\t{\n\t\t\t\tdisparo2Elegido = comboDisparo2.getSelectedIndex();\n\t\t\t}\n\t\t});\n\t\tframe.getContentPane().add(comboDisparo2);\n\t\t\n\t\tbtnAceptar = new JButton(\"Aceptar\");\n\t\tbtnAceptar.setBounds(189, 439, 91, 23);\n\t\tbtnAceptar.addActionListener(this);\n\t\tframe.getContentPane().add(btnAceptar);\n\t\tframe.setVisible(false);\n\t\t\n\t\tframe.setLocationRelativeTo(null);\n\t\tthis.frame.addWindowListener(this);\n\t}", "@Override\n\tprotected void setupWindow(RenderSystem renderSystem, GraphicsEnvironment graphicsEnvironment) {\n\t\tif (BUILD_STATE.equalsIgnoreCase(\"release\")) {\n\t\t\tDisplaySettingsDialog displaySettingsDialogue = new DisplaySettingsDialog(\n\t\t\t\t\tgraphicsEnvironment.getDefaultScreenDevice());\n\t\t\tdisplaySettingsDialogue.showIt();\n\t\t\trenderWindow = renderSystem.createRenderWindow(displaySettingsDialogue.getSelectedDisplayMode(),\n\t\t\t\t\tdisplaySettingsDialogue.isFullScreenModeSelected());\n\t\t\trenderWindow.setTitle(\"The Most Dangerous Game | Saechao Lucas/Nhat Doan A3\");\n\t\t} else if (BUILD_STATE.equalsIgnoreCase(\"test\")) {\n\t\t\tint displayHeight = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice()\n\t\t\t\t\t.getDisplayMode().getHeight();\n\t\t\tint displayWidth = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice()\n\t\t\t\t\t.getDisplayMode().getWidth();\n\t\t\tif (displayHeight > 1920 && displayWidth > 1080)\n\t\t\t\trenderWindow = renderSystem.createRenderWindow(new DisplayMode(1920, 1080, 24, 60), false);\n\t\t\telse\n\t\t\t\trenderWindow = renderSystem.createRenderWindow(new DisplayMode(1280, 720, 24, 60), false);\n\t\t}\n\t}", "private static void setupWindow() {\n window.setSize((2 * WINDOW_MARGINS) + (CELL_SIZE * SIZE_X), (2 * WINDOW_MARGINS) + (CELL_SIZE * SIZE_Y));\n window.add(canvas);\n window.setVisible(true);\n window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n canvas.createBufferStrategy(2);\n }", "public History_GUI(){\n super();\n InitializeComponents();\n ConfigureWin();\n\n }", "private static void changeSettings() {\n\t\t\n\t\tfinal Settings sett = config;\n\t\t\n\t\tfinal JDialog settingsDialog = new JDialog(frame, \"Change settings\");\n\t\t\n\t\tsettingsDialog.getContentPane().setLayout(new BorderLayout());\n\t\tsettingsDialog.setPreferredSize(new Dimension(350,150));\n\t\t\n\t\tJPanel settings = new JPanel();\n\t\tsettings.setLayout(new GridLayout(3,2));\n\t\t\n\t\tJLabel lblDB = new JLabel(\"Update DB dynamically\");\n\t\tJRadioButton rbDB = new JRadioButton();\n\t\trbDB.setSelected(sett.isUpdateDB());\n\t\trbDB.addItemListener(new ItemListener(){\n\n\t\t\t@Override\n\t\t\tpublic void itemStateChanged(ItemEvent e) {\n\t\t\t\tif(e.getStateChange() == ItemEvent.SELECTED){\n\t\t\t\t\tsett.setUpdateDB(true);\n\t\t\t\t} else if(e.getStateChange() == ItemEvent.DESELECTED){\n\t\t\t\t\tsett.setUpdateDB(false);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t});\t\t\n\t\tJLabel lblGUI = new JLabel(\"Use Graphical User Interface\");\n\t\tJRadioButton rbGUI = new JRadioButton();\n\t\trbGUI.setSelected(sett.isGUI());\n\t\trbGUI.addItemListener(new ItemListener() {\n\n\t\t\t@Override\n\t\t\tpublic void itemStateChanged(ItemEvent e) {\n\t\t\t\tif(e.getStateChange() == ItemEvent.SELECTED){\n\t\t\t\t\tsett.setGUI(true);\n\t\t\t\t} else if(e.getStateChange() == ItemEvent.DESELECTED){\n\t\t\t\t\tsett.setGUI(false);\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t});\n\t\t\n\t\tJLabel lblFile = new JLabel(\"Working file\");\n\t\tfinal JTextField tfFile = new JTextField(sett.getWorkingFile());\n\t\t\t\t\n\t\tsettings.add(lblDB);\n\t\tsettings.add(rbDB);\n\t\tsettings.add(lblGUI);\n\t\tsettings.add(rbGUI);\n\t\tsettings.add(lblFile);\n\t\tsettings.add(tfFile);\n\t\t\n\t\tJButton btnSave = new JButton(\"Save settings\");\n\t\tbtnSave.addActionListener(new ActionListener() {\n\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\n\t\t\t\tif(!saved) {\n\t\t \t\tint option = JOptionPane.showOptionDialog(frame,\n\t\t \t\t\t\t\"Updating the settings will reset the application\\nThere are unsaved changes\\nDo you want to save them now?\",\n\t\t \t\t\t\t\"Unsaved changes\",JOptionPane.YES_NO_CANCEL_OPTION,\n\t\t \t\t\t\tJOptionPane.WARNING_MESSAGE, null, null, 0);\n\t\t \t\tswitch(option) {\n\t\t \t\tcase 0:\n\t\t \t\t\ttoggleSaved(portfolio.save(WORKING_FILE));\n\t\t \t\tdefault:\n\t\t \t\t\tbreak; \t \t\t\n\t\t \t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tsett.setWorkingFile(tfFile.getText());\n\t\t\t\t\n\t\t\t\tsett.save();\n\t\t\t\tconfig = new Settings(sett);\n\t\t\t\tsettingsDialog.dispose();\n\t\t\t\t\n\t\t\t\tif(!sett.isGUI()){\n\t\t\t\t\tframe.dispose();\n\t\t\t\t\texit = false;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(!sett.isUpdateDB()){\n\t\t\t\t\tportfolio.init(config.getWorkingFile());\n\t\t\t\t\tframe.setTitle(\"JProject v.\"+VERSION);\n\t\t\t\t\tbtnRestore.setEnabled(true);\n\t\t\t\t} else {\n\t\t\t\t\t\n\t\t\t\t\tportfolio.initDB();\n\t\t\t\t\tframe.setTitle(\"JProject v.\"+VERSION+\" ** Linked to Database **\");\n\t\t\t\t\tbtnRestore.setEnabled(false);\n\t\t\t\t}\n\t\t\t\t\topTable.setModel((TableModel) new ProjectTableModel(portfolio.getOngoingProjects()));\n\t\t\t\t\tfpTable.setModel((TableModel) new ProjectTableModel(portfolio.getFinishedProjects()));\n\t\t\t\t\tsel.init(portfolio);\n\t\t\t\t\tupdateCounters();\n\t\t\t\t\t\n\t\t\t}\n\t\t});\n\t\t\n\t\tsettingsDialog.add(settings, BorderLayout.CENTER);\n\t\tsettingsDialog.add(btnSave, BorderLayout.PAGE_END);\n\t\t\n\t\tsettingsDialog.pack();\n\t\tsettingsDialog.setVisible(true);\t\n\t}", "public main() {\n initComponents();\n btnSalvar3.setVisible(false);\n lerConfig();\n }", "private void setupWindow() {\n\t\tgetContentPane().setLayout(null);\t\t\t\t\n\n\t\t// Set title\n\t\tsetTitle(\"Gallhp\");\n\n\t\t// Set location and size\n\t\tsetLocationRelativeTo(null);\n\t\tsetDefaultCloseOperation(EXIT_ON_CLOSE);\t\n\t\tsetSize(800, 600);\n\t\tsetResizable(false);\n\n\t}", "public Main(String title) {\n\t\tsuper(title);\n\t\tsetBounds(100, 100, 800, 600);\n\t setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t \n\t cardPanel = new JPanel();\n\t CardLayout cl = new CardLayout();\n\t cardPanel.setLayout(cl);\n\t \n\t game = new DrawingSurface(this);\n\t game.init();\n\t menu = new OptionPanel(this); \n\t customize = new CustomizePanel(this);\n\t end = new EndPanel(this);\n\t settings = new SettingsPanel(this);\n\t \n\t cardPanel.add(menu, \"1\");\n\t cardPanel.add(game, \"2\");\n\t cardPanel.add(customize, \"3\");\n\t cardPanel.add(end, \"4\");\n\t cardPanel.add(settings, \"5\");\n\t add(cardPanel);\n\t addKeyListener(game);\n\t \n\t setVisible(true);\n\t}", "private void initialize() {\n\t\tframe = new JFrame();\n\t\tGraphicsDevice gd = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice();\n\t\tint width = gd.getDisplayMode().getWidth();\n\t\tint height = gd.getDisplayMode().getHeight();\n\t\tframe.setBounds(width / 3, height / 3, 461, 321);\n\t\tframe.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\n\t\tframe.getContentPane().setLayout(null);\n\n\t\ttextField = new JTextField();\n\t\ttextField.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tString text = textField.getText();\n\t\t\t\ttextField.setText(\"\");\n\t\t\t\tif (text.trim().equalsIgnoreCase(\"devwindow\")) {\n\n\t\t\t\t\tDevWindow window = new DevWindow();\n\t\t\t\t\twindow.frame.setVisible(true);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\ttextField.setBounds(10, 240, 430, 31);\n\t\tframe.getContentPane().add(textField);\n\n\t\tJLabel label = new JLabel();\n\t\tlabel.setText(\"Command Line (Dev Use Only)\");\n\t\tlabel.setFont(new Font(\"Microsoft Yi Baiti\", Font.PLAIN, 17));\n\t\tlabel.setBounds(10, 220, 204, 17);\n\t\tframe.getContentPane().add(label);\n\n\t\tOptionsController oc = new OptionsController();\n\n\t\tJSlider slider = new JSlider();\n\t\tslider.setBounds(10, 113, 430, 31);\n\t\tslider.setPaintTicks(true);\n\t\tslider.setMaximum(600);\n\t\tslider.setMinimum(1);\n\t\tslider.setValue(Integer.parseInt(oc.getProp().getProperty(\"refreshRate\")));\n\t\tframe.getContentPane().add(slider);\n\n\t\tJLabel lblBackgroundRefreshRate = new JLabel();\n\t\tlblBackgroundRefreshRate.setText(\"Background Refresh Rate\");\n\t\tlblBackgroundRefreshRate.setFont(new Font(\"Microsoft Yi Baiti\", Font.PLAIN, 17));\n\t\tlblBackgroundRefreshRate.setBounds(10, 91, 158, 17);\n\t\tframe.getContentPane().add(lblBackgroundRefreshRate);\n\n\t\tJSlider slider_1 = new JSlider();\n\t\tslider_1.setToolTipText(\"\");\n\t\tslider_1.setBounds(10, 30, 430, 33);\n\t\tslider_1.setMaximum(300);\n\t\tslider_1.setMinimum(1);\n\t\tslider_1.setValue(Integer.parseInt(oc.getProp().getProperty(\"messageFrequency\")));\n\t\tframe.getContentPane().add(slider_1);\n\n\t\tJLabel label_2 = new JLabel();\n\t\tlabel_2.setText(\"New Message Frequency\");\n\t\tlabel_2.setFont(new Font(\"Microsoft Yi Baiti\", Font.PLAIN, 17));\n\t\tlabel_2.setBounds(10, 11, 158, 17);\n\t\tframe.getContentPane().add(label_2);\n\n\t\tJLabel lblNewLabel = new JLabel(\"New label\");\n\t\tlblNewLabel.setHorizontalAlignment(SwingConstants.RIGHT);\n\t\tlblNewLabel.setFont(new Font(\"Microsoft Yi Baiti\", Font.PLAIN, 17));\n\t\tlblNewLabel.setBounds(317, 54, 123, 25);\n\t\tlblNewLabel.setText(oc.getProp().getProperty(\"messageFrequency\") + \" minute(s)\");\n\n\t\tlblNewLabel.addPropertyChangeListener(new PropertyChangeListener() {\n\t\t\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\n\t\t\t\toc.getProp().setProperty(\"messageFrequency\", lblNewLabel.getText().substring(0, 3).trim());\n\t\t\t\toc.saveProperties();\n\t\t\t}\n\t\t});\n\n\t\tframe.getContentPane().add(lblNewLabel);\n\n\t\tJLabel label_3 = new JLabel(\"115 second(s) or 1.92 minute(s)\");\n\t\tlabel_3.setHorizontalAlignment(SwingConstants.RIGHT);\n\t\tlabel_3.setFont(new Font(\"Microsoft Yi Baiti\", Font.PLAIN, 17));\n\t\tlabel_3.setBounds(291, 155, 149, 25);\n\t\tframe.getContentPane().add(label_3);\n\n\t\tJLabel label_1 = new JLabel(oc.getProp().getProperty(\"refreshRate\"));\n\t\tlabel_1.setHorizontalAlignment(SwingConstants.RIGHT);\n\n\t\tlabel_1.setFont(new Font(\"Microsoft Yi Baiti\", Font.BOLD, 17));\n\t\tlabel_1.setBounds(291, 135, 149, 25);\n\t\tDecimalFormat df = new DecimalFormat(\"#.##\");\n\t\tlabel_1.setText(oc.getProp().getProperty(\"refreshRate\") + \" second(s)\");\n\t\tlabel_3.setText(\n\t\t\t\tdf.format(Long.parseLong(oc.getProp().getProperty(\"refreshRate\").trim()) / 60.0) + \" minute(s)\");\n\n\t\tlabel_1.addPropertyChangeListener(new PropertyChangeListener() {\n\t\t\tpublic void propertyChange(PropertyChangeEvent evt) {\n\n\t\t\t\toc.getProp().setProperty(\"refreshRate\", label_1.getText().substring(0, 4).trim());\n\t\t\t\toc.saveProperties();\n\t\t\t}\n\t\t});\n\n\t\tframe.getContentPane().add(label_1);\n\n\t\tJCheckBox chckbxNewCheckBox = new JCheckBox(\"Start On Start Up\");\n\t\tchckbxNewCheckBox.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t\tboolean selected = chckbxNewCheckBox.isSelected();\n\n\t\t\t\toc.getProp().setProperty(\"startOnStartUp\", Boolean.toString(selected));\n\t\t\t\toc.saveProperties();\n\n\t\t\t\tif (selected) {\n\n\t\t\t\t\tif (!StartUp.exists()) {\n\n\t\t\t\t\t\tStartUp.create();\n\t\t\t\t\t}\n\t\t\t\t} else {\n\n\t\t\t\t\tStartUp.delete();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tchckbxNewCheckBox.setFont(new Font(\"Microsoft Yi Baiti\", Font.PLAIN, 15));\n\t\tchckbxNewCheckBox.setBounds(317, 186, 123, 23);\n\t\tchckbxNewCheckBox.setSelected(Boolean.valueOf(oc.getProp().getProperty(\"startOnStartUp\")));\n\t\tframe.getContentPane().add(chckbxNewCheckBox);\n\n\t\tJButton btnNewButton = new JButton(\"Exit Without Refresh\");\n\t\tbtnNewButton.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t});\n\t\tbtnNewButton.setFont(new Font(\"Microsoft Yi Baiti\", Font.PLAIN, 15));\n\t\tbtnNewButton.setBounds(10, 156, 143, 23);\n\t\tframe.getContentPane().add(btnNewButton);\n\n\t\tJButton btnNewButton_1 = new JButton(\"Help\");\n\t\tbtnNewButton_1.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\n\t\t\t\tInstructionWindow iWindow = new InstructionWindow();\n\t\t\t\tiWindow.setVisible(true);\n\t\t\t}\n\t\t});\n\t\tbtnNewButton_1.setBounds(201, 186, 65, 23);\n\t\tframe.getContentPane().add(btnNewButton_1);\n\n\t\tJButton button = new JButton(\"Refresh Offline MBank\");\n\t\tbutton.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\n\t\t\t\t@SuppressWarnings(\"unused\")\n\t\t\t\tConnection conn = null;\n\t\t\t\tDatabaseController dbc = DatabaseController.getDBController();\n\t\t\t\tString connectString = dbc.buildConnectionString();\n\n\t\t\t\ttry {\n\t\t\t\t\tconn = DriverManager.getConnection(connectString);\n\t\t\t\t\toc.getProp().setProperty(\"offlineMode\", \"false\");\n\t\t\t\t\toc.saveProperties();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\tStringBuffer buf = new StringBuffer();\n\t\t\t\t\tbuf.append(\"There was a problem with the following connection string: \");\n\t\t\t\t\tbuf.append(connectString);\n\t\t\t\t\tbuf.append(\"\\n\\nHere is the exceptio:\\n\");\n\t\t\t\t\tbuf.append(e.toString());\n\t\t\t\t\tSystem.out.println(buf.toString());\n\t\t\t\t\ttry {\n\t\t\t\t\t\tRuntime.getRuntime()\n\t\t\t\t\t\t\t\t.exec(\"javaw -jar \\\"\" + System.getProperty(\"user.home\") + File.separator + \"Documents\"\n\t\t\t\t\t\t\t\t\t\t+ File.separator + \"SevMessageConfig\" + File.separator\n\t\t\t\t\t\t\t\t\t\t+ \"NowOfflineWindow.jar\\\"\");\n\t\t\t\t\t} catch (IOException e2) {\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\ttry {\n\t\t\t\t\t\tThread.sleep((long) 3000.0);\n\t\t\t\t\t} catch (InterruptedException e2) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\te2.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t\tSystem.exit(0);\n\t\t\t\t}\n\t\t\t\tFile file = new File(System.getProperty(\"user.home\") + File.separator + \"Documents\" + File.separator\n\t\t\t\t\t\t+ \"SevMessageConfig\" + File.separator + \"offlineMessageBank.txt\");\n\t\t\t\tfile.delete();\n\n\t\t\t\tif (!StartUp.exists()) {\n\n\t\t\t\t\tStartUp.create();\n\t\t\t\t}\n\n\t\t\t}\n\t\t});\n\t\tbutton.setFont(new Font(\"Microsoft Yi Baiti\", Font.PLAIN, 15));\n\t\tbutton.setBounds(10, 186, 165, 23);\n\t\tframe.getContentPane().add(button);\n\n\t\tslider_1.addChangeListener(new ChangeListener() {\n\t\t\tpublic void stateChanged(ChangeEvent arg0) {\n\n\t\t\t\tlblNewLabel.setText(Integer.toString(slider_1.getValue()) + \" minute(s)\");\n\t\t\t}\n\t\t});\n\n\t\tslider.addChangeListener(new ChangeListener() {\n\t\t\tpublic void stateChanged(ChangeEvent arg0) {\n\t\t\t\tDecimalFormat df = new DecimalFormat(\"#.##\");\n\t\t\t\tlabel_1.setText(Integer.toString(slider.getValue()) + \" second(s)\");\n\t\t\t\tlabel_3.setText(df.format(Long.parseLong(oc.getProp().getProperty(\"refreshRate\").trim()) / 60.0)\n\t\t\t\t\t\t+ \" minute(s)\");\n\t\t\t}\n\t\t});\n\t}", "@Override\n\tpublic void settings() {\n\t\tSystem.out.println(\"settings\");\n\t\tsize(800, 800);\n\t}", "public void createMainGame() {\n\t\tpanelIntro.setVisible(false);\n\t\tintroButtonPanel.setVisible(false);\n\t\t\n\t\tpanelMain = new JPanel();\n\t\t\n\t\tcon.add(panelMain);\n\t\t\n\t\tplayerPanel = new JPanel();\n\t\tplayerPanel.setBounds(50, 25, 924, 50);\n\t\tplayerPanel.setBackground(Color.DARK_GRAY);\n\t\tplayerPanel.setLayout(new GridLayout(1,4));\n\t\tpanelMain.add(playerPanel);\n\t\tcon.add(playerPanel);\n\t\t\n\t\tenergyLabel = new JLabel(\" Energie: \");\n\t\tenergyLabel.setFont(playerInfo);\n\t\tenergyLabel.setForeground(Color.LIGHT_GRAY);\n\t\tplayerPanel.add(energyLabel);\n\t\t\n\t\tenergyLabelNumber = new JLabel();\n\t\tenergyLabelNumber.setFont(playerInfo);\n\t\tenergyLabelNumber.setForeground(Color.LIGHT_GRAY);\n\t\tplayerPanel.add(energyLabelNumber);\n\t\t\n\t\tdoubtLevelLabel = new JLabel(\"Misstrauen: \");\n\t\tdoubtLevelLabel.setFont(playerInfo);\n\t\tdoubtLevelLabel.setForeground(Color.LIGHT_GRAY);\n\t\tplayerPanel.add(doubtLevelLabel);\n\t\t\n\t\tdLLNumber = new JLabel();\n\t\tdLLNumber.setFont(playerInfo);\n\t\tdLLNumber.setForeground(Color.LIGHT_GRAY);\n\t\tplayerPanel.add(dLLNumber);\n\t\tplayerPanel.add(Box.createRigidArea(new Dimension(50, 50)));\n\t\tplayerPanel.add(Box.createRigidArea(new Dimension(50, 50)));\n\t\tplayerPanel.add(Box.createRigidArea(new Dimension(50, 50)));\n\t\tplayerPanel.add(Box.createRigidArea(new Dimension(50, 50)));\n\t\t\n\t\tbirdText = new JTextArea();\n\t\tbirdText.setBackground(Color.BLACK);\n\t\tbirdText.setFont(dialogueText);\n\t\tbirdText.setForeground(Color.white);\n\t\tbirdText.setLineWrap(true);\n\t\tbirdText.setWrapStyleWord(true);\n\t\tbirdText.setBounds(354, 200, 250, 150);\n\t\tbirdText.setVisible(false);\n\t\tcon.add(birdText);\n\t\t\n\t\tbirdPanel = new JPanel();\n\t\tbirdPanel.setBounds(354, 387, 60, 82);\n\t\tbirdPanel.setBackground(Color.BLACK);\n\t\tbirdPanel.addMouseListener(new birdListener());\n\t\ttry {\n\t\t\tBufferedImage birdPicture = ImageIO.read(new File(\".//res//bird_kleiner.jpg\"));\n\t\t\tJLabel birdLabel = new JLabel(new ImageIcon(birdPicture));\n\t\t\tbirdPanel.add(birdLabel);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tcon.add(birdPanel);\n\t\t\n\t\thereComesTheText = new JTextArea();\n\t\thereComesTheText.setBounds(55, 100, 285, 370);\n\t\thereComesTheText.setBackground(Color.BLACK);\n\t\thereComesTheText.setForeground(Color.LIGHT_GRAY);\n\t\thereComesTheText.setFont(dialogueText);\n\t\thereComesTheText.setLineWrap(true);\n\t\thereComesTheText.setWrapStyleWord(true);\n\t\tpanelMain.add(hereComesTheText);\n\t\tcon.add(hereComesTheText);\n\t\t\n\t\timagePanel.setBounds(427, 95, 546, 375);\n\t\timagePanel.setBackground(Color.black);\n\t\tpanelMain.add(imagePanel);\n\t\tcon.add(panelMain);\n\t\t\n\t\timagePanel.add(imageLabel);\n\t\t\n\t\tcon.add(imagePanel);\n\t\t\n\t\tpanelButtons = new JPanel();\n\t\tpanelButtons.setBounds(50, 510, 924, 200);\n\t\tpanelButtons.setBackground(Color.black);\n\t\tpanelButtons.setLayout(new GridLayout(2, 2));\n\t\tcon.add(panelButtons);\n\t\t\n\t\tfor(int i=1; i<5; i++) {\n\t\t\tbuttons.get(i).setBackground(Color.black);\n\t\t\tbuttons.get(i).setForeground(Color.LIGHT_GRAY);\n\t\t\tbuttons.get(i).setFont(runningText);\n\t\t\tbuttons.get(i).setFocusPainted(false);\n\t\t\tpanelButtons.add(buttons.get(i));\n\t\t}\n\t}", "public void settings() { size(1200, 800); }", "@Override\r\n\t\t\tpublic void handle(ActionEvent event) {\n\t\t\t\tAnchorPane settingsGvG = new AnchorPane();\r\n\t\t\t\tGridPane grid = new GridPane();\r\n\t\t\t\tgrid.setPadding(new Insets(20));\r\n\t\t\t\tgrid.setHgap(55);\r\n\t\t\t\tgrid.setVgap(35);\r\n\t\t\t\tLabel title = new Label(\"Impostazioni Partita\");\r\n\t\t\t\tLabel labelNome1 = new Label(\"Nome Giocatore 1\");\r\n\t\t\t\tTextField nome1 = new TextField();\r\n\t\t\t\tLabel labelNome2 = new Label(\"Nome Giocatore 2\");\r\n\t\t\t\tTextField nome2 = new TextField();\r\n\t\t\t\tButton conferma = new Button();\r\n\t\t\t\t//-> open new game vs cpu with parameters\r\n\t\t\t\t// set parameters for game\r\n\t\t\t\tconferma.setText(\"Inizia\");\r\n\t\t\t\tButton annulla = new Button();\r\n\t\t\t\tannulla.setText(\"Annulla\");\r\n\t\t\t\t\r\n\t\t\t\t//position in grid\r\n\t\t\t\tgrid.add(title, 0, 0, 2, 1);\r\n\t\t\t\tgrid.add(labelNome1, 0, 1);\r\n\t\t\t\tgrid.add(nome1, 1, 1);\r\n\t\t\t\tgrid.add(labelNome2, 0, 2);\r\n\t\t\t\tgrid.add(nome2, 1, 2);\r\n\t\t\t\tgrid.add(conferma, 1, 3);\r\n\t\t\t\tgrid.add(annulla, 0, 3);\r\n\t\t\t\tsettingsGvG.getChildren().add(grid);\r\n\t\t\t\tcloseEvent(annulla);\r\n\t\t\t\tcloseEvent(conferma);\r\n\t\t\t\tgameStart(conferma);\r\n\t\t\t\t//set scene\r\n\t\t\t\tScene sceneGvG = new Scene(settingsGvG, 450, 350);\r\n\t\t\t\tStage settingsWindow = new Stage();\r\n\t\t\t\tsettingsWindow.setResizable(false);\r\n\t\t\t\tsettingsWindow.setTitle(\"IMPOSTAZIONI PARTITA VS ALTRO GIOCATORE\");\r\n\t\t\t\tsettingsWindow.setScene(sceneGvG);\r\n\t\t\t\tsettingsWindow.initModality(Modality.WINDOW_MODAL);\r\n\t\t\t\tsettingsWindow.setX(stage.getX()+200);\r\n\t\t\t\tsettingsWindow.setY(stage.getY()+100);\r\n\t\t\t\tsettingsWindow.show();\r\n\t\t\t\t\r\n\t\t\t\tconferma.setOnAction(new EventHandler<ActionEvent>() {\r\n\t\t\t\t\t \r\n\t\t\t\t @Override\r\n\t\t\t\t public void handle(ActionEvent e) {\r\n\t\t\t\t \tif (nome1.getText().trim().isEmpty() || nome1.getText().trim()==null || nome2.getText().trim().isEmpty() || nome2.getText().trim()==null){\r\n\t\t \t\tAlert alert = new Alert(AlertType.WARNING);\r\n\t\t\t \talert.setTitle(\"Errore\");\r\n\t\t\t \talert.setHeaderText(null);\r\n\t\t\t \talert.setContentText(\"Inserisci il nome dei giocatori!\");\r\n\t\t\t \talert.showAndWait();\r\n\t\t\t \treturn;\r\n\t\t\t \t} else\r\n\t\t \tgameStart(conferma);\r\n\t\t \t}\r\n\t\t\t\t});\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t}", "public Engine() {\n\t\tsuper(\"DemoYourChoice\");\n\t\tsetDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n setVisible(true);\n setResizable(false);\n setLayout(new BorderLayout());\n\n board = new Board(1280, 720);\n board.setPreferredSize(board.getPreferredSize());\n con.add(board);\n\n ui = new JFrame(\"DemoYourChoice\");\n ui.setPreferredSize(new Dimension(600, 800));\n ui.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n ui.setLayout(new FlowLayout());\n ui.setVisible(true);\n ui.add(titleLbl);\n\n\n\t\tui.pack();\n\n setSize(1280, 720);\n\t}", "public static void setConfig(String configName) {\n Properties properties = new Properties();\n Scanner scanner = new Scanner(System.in);\n String name;\n int maxHealth, health, attack, gold;\n while (true) {\n System.out.println(\"What name should the player have?\");\n name = scanner.nextLine();\n if (name.length() > 0 && name.length() < 16) {\n break;\n }\n System.out.println(\"Your name can only have 15 characters.\");\n }\n\n properties.setProperty(\"playerName\", name);\n while (true) {\n System.out.println(\"How much maximum health should the player have?\");\n try{\n maxHealth = scanner.nextInt();\n break;\n } catch (InputMismatchException e) {\n GUIMessages.invalidInputMessage();\n System.out.println(\"Let's try again!\");\n scanner.nextLine();\n }\n }\n properties.setProperty(\"playerMaxHealth\", Integer.toString(maxHealth));\n while (true) {\n System.out.println(\"How much health should the player have?\");\n try{\n health = scanner.nextInt();\n if (health > maxHealth) {\n System.out.println(\"You cannot have more health than the maximum!\");\n continue;\n }\n break;\n } catch (InputMismatchException e) {\n GUIMessages.invalidInputMessage();\n System.out.println(\"Let's try again!\");\n scanner.nextLine();\n }\n }\n properties.setProperty(\"playerHealth\", Integer.toString(health));\n while (true) {\n System.out.println(\"How much attack should the player have?\");\n try{\n attack = scanner.nextInt();\n break;\n } catch (InputMismatchException e) {\n GUIMessages.invalidInputMessage();\n System.out.println(\"Let's try again!\");\n scanner.nextLine();\n }\n }\n properties.setProperty(\"playerAttack\", Integer.toString(attack));\n while (true) {\n System.out.println(\"How much gold should the player have?\");\n try{\n gold = scanner.nextInt();\n break;\n } catch (InputMismatchException e) {\n GUIMessages.invalidInputMessage();\n System.out.println(\"Let's try again!\");\n scanner.nextLine();\n }\n }\n properties.setProperty(\"playerGold\", Integer.toString(gold));\n File configDirectory = new File(\"config\");\n configDirectory.mkdir();\n\n try {\n FileOutputStream fileOutputStream = new FileOutputStream(configDirectory + File.separator\n + configName + \".ini\");\n properties.store(fileOutputStream, \"Player configuration\");\n System.out.println(\"Player configuration set to:\\nName: \" + name + \"\\nMax Health: \" + maxHealth\n + \"\\nHealth: \" + health + \"\\nAttack: \" + attack + \"\\nGold: \" + gold);\n fileOutputStream.close();\n } catch (FileNotFoundException e) {\n System.out.println(\"File could not be found!\");\n } catch (IOException e) {\n System.out.println(\"Could not write to file!\");\n }\n }", "public void prepareFrame() {\n config = new Configuration();\n\n // create the frame\n frame = new JFrame(\"Sensor Network Visualization and Diagnostic Tool\");\n frame.addWindowListener(new WindowAdapter() {\n public void windowClosing(WindowEvent e) {\n System.exit(0);\n }\n });\n\n // create the menu bar\n JMenuBar menubar = new JMenuBar();\n frame.setJMenuBar(menubar);\n \n configuration = new JMenu(\"Configuration\");\n menubar.add(configuration);\n configuration.setMnemonic(KeyEvent.VK_C);\n\n configNew = new JMenuItem(\"New\", KeyEvent.VK_N);\n configNew.setActionCommand(\"New Configuration\");\n configNew.setToolTipText(\"New Configuration\");\n configNew.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent ae) {\n newConfiguration();\n }\n });\n configuration.add(configNew);\n\n configEdit = new JMenuItem(\"Edit\", KeyEvent.VK_E);\n configEdit.setActionCommand(\"Edit Configuration\");\n configEdit.setToolTipText(\"Edit Configuration\");\n configEdit.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent ae) {\n editConfiguration(DEFAULT_DB_CONFIG_TABLE);\n }\n });\n configuration.add(configEdit);\n\n configLoad = new JMenuItem(\"Load\", KeyEvent.VK_L);\n configLoad.setActionCommand(\"Load Configuration\");\n configLoad.setToolTipText(\"Load Configuration\");\n configLoad.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent ae) {\n loadConfiguration(DEFAULT_DB_CONFIG_TABLE);\n }\n });\n configuration.add(configLoad);\n\n configSave = new JMenuItem(\"Save\", KeyEvent.VK_S);\n configSave.setActionCommand(\"Save Configuration\");\n configSave.setToolTipText(\"Save Configuration\");\n configSave.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent ae) {\n saveConfiguration(DEFAULT_DB_CONFIG_TABLE);\n }\n });\n configuration.add(configSave);\n configSave.setEnabled(false);\n\n configuration.addSeparator();\n\n configClose = new JMenuItem(\"Close\", KeyEvent.VK_C);\n configClose.setActionCommand(\"Close Configuration\");\n configClose.setToolTipText(\"Close Configuration\");\n configClose.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent ae) {\n closeConfiguration();\n }\n });\n configuration.add(configClose);\n configClose.setEnabled(false);\n\n configuration.addSeparator();\n\n configExit = new JMenuItem(\"Exit\", KeyEvent.VK_X);\n configExit.setActionCommand(\"Exit\");\n configExit.setToolTipText(\"Exit Application\");\n configExit.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent ae) {\n exitConfiguration();\n }\n });\n configuration.add(configExit);\n\n Vector configNames = getConfigurations(DEFAULT_DB_CONFIG_TABLE);\n if (configNames.size() == 0) {\n configEdit.setEnabled(false);\n configLoad.setEnabled(false);\n }\n\n frame.getContentPane().add(createToolBar(), BorderLayout.NORTH);\n\n frame.setSize(400,200);\n frame.setVisible(true);\n }", "public void settings() {\n size(640, 384);\n }", "@Override\n public void run() {\n ModConfigsScreen screen = new ModConfigsScreen(\n MinecraftClient.getInstance().currentScreen,\n ModConfigs.INSTANCE);\n MinecraftClient.getInstance().openScreen(screen);\n }", "private void initUI() {\n\t\t//Creating the window for our game\n\t\tframe = new JFrame(GAME_TITLE);\n\t\tframe.setSize(BOARD_WIDTH, BOARD_HEIGHT);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tframe.setResizable(false);\n\t\tframe.setLocationRelativeTo(null);\n\t\tframe.setVisible(true);\n\t\t\n\t\t//Creating a canvas to add to the window\n\t\tcanvas = new Canvas();\n\t\tcanvas.setPreferredSize(new Dimension(BOARD_WIDTH, BOARD_HEIGHT));\n\t\tcanvas.setMaximumSize(new Dimension(BOARD_WIDTH, BOARD_HEIGHT));\n\t\tcanvas.setMinimumSize(new Dimension(BOARD_WIDTH, BOARD_HEIGHT));\n\t\t\n\t\tframe.add(canvas);\n\t\tframe.pack();\n\t\t\n\t}", "private void setProperties(String windowName) {\n\t\tsetSize(WIDTH, HEIGHT);\n\t\tsetTitle(windowName);\n\t\tsetDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t}", "public void settings() {\r\n size(750, 550);\r\n }", "private void projectConfigure() {\n\n btnConfigureProject.setButtonType(JFXButton.ButtonType.RAISED);\n\n final JFXButton btnEditInstructor = new JFXButton(\"Edit instructor\");\n btnEditInstructor.getStyleClass().add(\"button-try-now\");\n\n final JFXButton btnAddCar = new JFXButton(\"Configure car\");\n btnAddCar.getStyleClass().add(\"button-try-now\");\n\n final JFXButton btnAddInstructor = new JFXButton(\"Add Instructor\");\n btnAddInstructor.getStyleClass().add(\"button-try-now\");\n\n final JFXButton btnCloseProject = new JFXButton(\"Close project\");\n btnCloseProject.getStyleClass().add(\"button-try-now\");\n\n final int value = 10;\n nodeList.setSpacing(value);\n nodeList.addAnimatedNode(btnConfigureProject);\n nodeList.addAnimatedNode(btnAddInstructor);\n nodeList.addAnimatedNode(btnEditInstructor);\n nodeList.addAnimatedNode(btnAddCar);\n nodeList.addAnimatedNode(btnCloseProject);\n\n btnAddInstructor.setOnAction(this::premierLeague);\n btnEditInstructor.setOnAction(this::editInstructors);\n btnAddCar.setOnAction(this::addCar);\n btnCloseProject.setOnAction(e -> closeProject());\n }", "public MainWindow()\n\t{\n\t\tsettingsWindow = new SettingsWindow(this);\n\t\t\n\t\tplayingField = null;\n\t\t\n\t\tthis.setTitle(\"Minesweeper\");\n\t\tthis.setResizable(false);\n\t\tthis.setJMenuBar(createMenuBar());\n\t\tthis.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\t\n\t\tthis.newGame();\n\t\t\n\t\tthis.setVisible(true);\n\t}", "private void init()\n {\n setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n setSize(745, 468);\n setLocationRelativeTo(null);\n setTitle(\"Tetris Multiplayer - Server\");\n setContentPane(mainPanel);\n setResizable(false);\n setVisible(true);\n addWindowListener(new WindowListener()\n {\n\n @Override\n public void windowOpened(WindowEvent e)\n {\n // TODO Auto-generated method stub\n\n }\n\n @Override\n public void windowClosing(WindowEvent e)\n {\n // TODO Auto-generated method stub\n\n }\n\n @Override\n public void windowClosed(WindowEvent e)\n {\n if (main.getEntityManagerFactory().isOpen())\n {\n main.getEntityManagerFactory().close();\n }\n }\n\n @Override\n public void windowIconified(WindowEvent e)\n {\n // TODO Auto-generated method stub\n\n }\n\n @Override\n public void windowDeiconified(WindowEvent e)\n {\n // TODO Auto-generated method stub\n\n }\n\n @Override\n public void windowActivated(WindowEvent e)\n {\n // TODO Auto-generated method stub\n\n }\n\n @Override\n public void windowDeactivated(WindowEvent e)\n {\n // TODO Auto-generated method stub\n\n }\n\n });\n }", "private void addProperties()\n\t{\n\t\tgetContentPane().setLayout(null);\n\t\tDimension resolucao=Toolkit.getDefaultToolkit().getScreenSize();\n\t\tsetSize(370,177);\n\t\tsetLocation((resolucao.width-260)/2,(resolucao.height-380)/2);\n\t\tsetResizable(false);\n\t\taddWindowListener(new WindowAdapter(){public void windowClosing(WindowEvent e){dispose();}});\n \t}", "public Window(){\n\n\t\t//character is updated\n\t\tFile fi=new File(\"./config/character\");\n _character=(new FileHandling()).readFromFile(fi);\n\t\t\n\t\t\n\t\ttxtrHiThere.setFont(new Font(\"Lucida Sans\", Font.BOLD, 13));\n\t\ttxtrHiThere.setText(\" \");\n\t\ttxtrHiThere.setBackground(new Color(255, 250, 205));\n\t\ttxtrHiThere.setBounds(252, 470, 198, 100);\n\t\ttxtrHiThere.setEditable(false);\n\t\tpanel.addMouseMotionListener(new MouseMotionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseMoved(MouseEvent e) {\n\t\t\t\t//updates speech bubble\n\t\t\t\ttxtrHiThere.setText(null);\n\t\t\t\ttxtrHiThere.append(\"Hi guys! I am \"+_character+\"\\nLet's learn words together\\nwith VOXSPELL.\"+\" Move your\\nmouse over each of these\\n buttons to see what they do\");\n\t\t\t}\n\t\t});\n\t\tpanel.add(txtrHiThere);\n\t\ttxtrHiThere.append(\"Hi guys! I am \"+_character+\"\\nLet's learn words together\\nwith VOXSPELL.\"+\" Move your\\nmouse over each of these\\n buttons to see what they do\");\n\t\t\n\t\tpanel.setBackground(new Color(0, 128, 128));\n\t\tpanel.setBorder(new MatteBorder(1, 1, 1, 1, (Color) new Color(0, 100, 0)));\n\t\tpanel.setPreferredSize(new Dimension(800, 880));\n\t\tpanel.setLayout(null);\n\t\tbtnN.addMouseMotionListener(new MouseMotionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseMoved(MouseEvent e) {\n\t\t\t\t//updates speech bubble\n\t\t\t\ttxtrHiThere.setText(null);\n\t\t\t\ttxtrHiThere.append(\"You will be asked to\\nspell 10 words\"+\"from the level you\\npick when you click on the\\nlittle arrow below the button\");\n\t\t\t}\n\t\t});\n\t\tbtnN.setBounds(509, 593, 263, 65);\n\t\tbtnN.setFont(new Font(\"Purisa\", Font.BOLD, 18));\n\t\tbtnN.setBackground(new Color(255, 250, 205));\n\t\t//adding buttons\n\t\tpanel.add(btnN);\n\t\tbtnN.addActionListener(this);\n\t\tbtnR.addMouseMotionListener(new MouseMotionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseMoved(MouseEvent e) {\n\t\t\t\t//updates speech bubble\n\t\t\t\ttxtrHiThere.setText(null);\n\t\t\t\ttxtrHiThere.append(\"You will be asked to review\\nsome of the mistakes in the\\npast quizzes. If you haven't\\nstarted one already,don't\\nworry about it. Start\\na new quiz instead. :)\");\n\t\t\t}\n\t\t});\n\t\tbtnR.setBounds(568, 792, 204, 65);\n\t\tbtnR.setFont(new Font(\"Purisa\", Font.BOLD, 18));\n\t\tbtnR.setBackground(new Color(255, 250, 205));\n\t\tpanel.add(btnR);\n\t\tcomboBox.setModel(new DefaultComboBoxModel(new String[] {\"1\", \"2\", \"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\"}));\n\t\tcomboBox.setBounds(509, 705, 263, 24);\n\t\tpanel.add(comboBox);\n\t\tbtnS.addMouseMotionListener(new MouseMotionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseMoved(MouseEvent e) {\n\t\t\t\t//updates speech bubble\n\t\t\t\ttxtrHiThere.setText(null);\n\t\t\t\ttxtrHiThere.append(\" Here you can change\\n all your settings: like\\n deleting saved progress,\\n changing voices and\\n getting a new wordlist\");\n\t\t\t}\n\t\t});\n\t\tbtnS.setBounds(25, 792, 170, 65);\n\t\tbtnS.setFont(new Font(\"Purisa\", Font.BOLD, 19));\n\t\tbtnS.setBackground(new Color(255, 250, 205));\n\t\tpanel.add(btnS);\n\t\tbtnR.addActionListener(this);\n\t\tbtnS.addActionListener(this);\n\t\tgetContentPane().add(panel, BorderLayout.SOUTH);\n\t\tJLabel lblSelectLevel = new JLabel(\"Select Level\");\n\t\tlblSelectLevel.setBounds(334, 696, 157, 33);\n\t\tlblSelectLevel.setForeground(new Color(255, 250, 240));\n\t\tlblSelectLevel.setFont(new Font(\"Purisa\", Font.BOLD, 20));\n\t\tpanel.add(lblSelectLevel);\n\t\tJLabel lblNewLabel = new JLabel(\"\");\n\t\tlblNewLabel.setBounds(-231, -25, 1056, 436);\n\t\tlblNewLabel.setIcon(new ImageIcon(\"./resources/main_menu_image.jpg\"));\n\t\tpanel.add(lblNewLabel);\n\t\tJLabel lblNewLabel_1 = new JLabel(\"\");\n\t\tlblNewLabel_1.setIcon(new ImageIcon(\"./resources/\"+_character+\"_2.png\"));\n\t\tlblNewLabel_1.setBounds(54, 485, 180, 297);\n\t\tpanel.add(lblNewLabel_1);\n\t\t\n\t\t //window listener to show a pop up when user tries to close the application\n addWindowListener(new WindowAdapter() {\n //code obtained from http://docs.oracle.com/javase/tutorial/uiswing/components/dialog.html\n public void windowClosing(WindowEvent e) {\n Object[] options = {\"Yes, Please\",\n \"No I want to stay!\"};\n int num = JOptionPane.showOptionDialog(panel,\n \"Are you sure you want to leave the game already?\",\n \"Attention!\",\n JOptionPane.YES_NO_CANCEL_OPTION,\n JOptionPane.QUESTION_MESSAGE,\n null,\n options,null);\n //if yes\n if(num==0){\n setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n }\n //otherwise\n else{\n setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);\n }\n }\n });\n\t\t\n\t\tJLabel lblNewLabel_2 = new JLabel(\"\");\n\t\tlblNewLabel_2.setIcon(new ImageIcon(\"./resources/bubble_main.png\"));\n\t\tlblNewLabel_2.setBounds(207, 423, 281, 200);\n\t\tpanel.add(lblNewLabel_2);\n\t\t\n\t\tJButton progbutton = new JButton(\"See how you're going!\");\n\t\tprogbutton.addMouseMotionListener(new MouseMotionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseMoved(MouseEvent e) {\n\t\t\t\t//speech bubble updated\n\t\t\t\ttxtrHiThere.setText(null);\n\t\t\t\ttxtrHiThere.append(\" Here, you can see how you\\n are going! It will show you\\n how many words you have\\n mastered as well as a cool\\n graph to help you see\\n your performance\");\n\t\t\t}\n\t\t});\n\t\tprogbutton.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t//leads to the statistics window\n\t\t\t\tPersonalBests s=new PersonalBests();\n\t\t\t\tdispose();\n\t\t\t\ts.setVisible(true);\n\t\t\t\t\n\t\t\t}\n\t\t});\n\t\tprogbutton.setBackground(new Color(255, 250, 205));\n\t\tprogbutton.setFont(new Font(\"Purisa\", Font.BOLD, 16));\n\t\tprogbutton.setBounds(231, 792, 292, 65);\n\t\tpanel.add(progbutton);\n\t\tpack();\n\t\tsetTitle(\"Welcome to the VOXSPELL Spelling Aid\");\n\t\tsetDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tsetLocationRelativeTo(null);\n\t\tsetResizable(false);\n\t}", "private static void initConfig() {\n /*\n * Human IO\n */\n {\n /*\n * Constants\n */\n {\n /*\n * Joysticks\n */\n {\n addToConstants(\"joysticks.left\", 0);\n addToConstants(\"joysticks.right\", 1);\n addToConstants(\"joysticks.operator\", 2);\n }\n\n /*\n * Buttons and axis\n */\n {\n }\n }\n }\n\n /*\n * RobotIO\n */\n {\n /*\n * Constants\n */\n {\n /*\n * Kicker\n */\n addToConstantsA(\"kicker.encoder.distPerPulse\", 360.0 / 1024.0);\n }\n }\n\n /*\n * Chassis\n */\n {\n /*\n * Constants\n */\n {\n }\n\n /*\n * Variables\n */\n {\n }\n }\n\n /*\n * Kicker\n */\n {\n /*\n * Constants\n */\n {\n addToConstants(\"kicker.kick.normal\", 1.75);\n addToConstants(\"kicker.kick.timeout\", 0.75);\n\n addToConstants(\"kicker.shaken.voltage\", -0.3316);\n addToConstants(\"kicker.shaken.tolerance\", 3.0);\n\n addToConstants(\"kicker.zero.voltage\", 0.8);\n addToConstants(\"kicker.zero.duration\", 0.75);\n }\n\n /*\n * Variables\n */\n {\n }\n }\n\n /*\n * Gripper\n */\n {\n /*\n * Constants\n */\n {\n addToConstants(\"gripper.collection.voltage\", 0.82);\n addToConstants(\"gripper.ejection.voltage\", -0.45);\n }\n }\n }", "private void frameSettings(String title) {\r\n\t\tsetTitle(title);\r\n\r\n\t\tsetSize(400, 720);\r\n\r\n\t\tsetLocationRelativeTo(null);\r\n\t\tsetUndecorated(true); // Do not display the buttons of the frame\r\n\t\tsetAlwaysOnTop(true);\r\n\t\tsetResizable(false);\r\n\t\tsetBackground(new Color(0, 0, 0, 0));\r\n\t\tsetDefaultCloseOperation(EXIT_ON_CLOSE);\r\n\t}", "public GameWindow() {\n\t\tthis.initWindow();\n\t}", "public cifraDeCesar() {\n initComponents();\n this.setLocationRelativeTo(null);\n// this.setExtendedState(MAXIMIZED_BOTH);\n this.setTitle(\"Alex - Cifra de Cesar\");\n configAll();\n }", "public GameWindow() {\n super(\"P-CHESS\");\n gameScreen = new GameScreen(this);\n\n setContentPane(gameScreen);\n setJMenuBar(new ProgramMenu(this));\n\n pack();\n\n setLocationRelativeTo(null);\n setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);\n setMinimumSize(getSize());\n setPreferredSize(getSize());\n\n addWindowListener(new WindowAdapter() {\n @Override\n public void windowClosing(WindowEvent evt) {\n confirmExit();\n\n }\n });\n\n }", "public void createGUI() {\n\n\t\tcontents = getContentPane();\n\t\tcontents.setLayout(new GridLayout(size, size));\n\n\t\t// Set Up Menu Bar\n\t\tJMenuBar menuBar = new JMenuBar();\n\t\tsetJMenuBar(menuBar);\n\n\t\tJMenu game = new JMenu(\"Game\");\n\t\tmenuBar.add(game);\n\t\tJMenuItem clearBoard = new JMenuItem(\"New Game\");\n\t\tgame.add(clearBoard);\n\t\tJMenuItem boardSize = new JMenuItem(\"Change Size\");\n\t\tgame.add(boardSize);\n\t\tJMenuItem exit = new JMenuItem(\"Exit\");\n\t\tgame.add(exit);\n\n\t\tJMenu help = new JMenu(\"Help\");\n\t\tmenuBar.add(help);\n\t\tJMenuItem rules = new JMenuItem(\"How to Play\");\n\t\thelp.add(rules);\n\t\tJMenuItem about = new JMenuItem(\"About\");\n\t\thelp.add(about);\n\n\t\tJMenu playerSelect = new JMenu(\"Players: \" + players);\n\t\tmenuBar.add(playerSelect);\n\t\tJMenuItem players2 = new JMenuItem(\"2 Player Game\");\n\t\tplayerSelect.add(players2);\n\t\tJMenuItem players3 = new JMenuItem(\"3 Player Game\");\n\t\tplayerSelect.add(players3);\n\t\tJMenuItem players4 = new JMenuItem(\"4 Player Game\");\n\t\tplayerSelect.add(players4);\n\n\t\tmenuBar.add(Box.createHorizontalGlue());\n\n\t\tplayerTurnLbl.setFont(new Font(\"Lucida Grande\", Font.BOLD, 12)); // Player 1's Turn\n\t\tmenuBar.add(playerTurnLbl);\n\t\tplayerTurnLbl.setVisible(true);\n\n\t\tinvalidMoveLbl.setFont(new Font(\"Lucida Grande\", Font.BOLD, 12)); // Invalid Move Alert\n\t\tinvalidMoveLbl.setForeground(Color.RED);\n\t\tmenuBar.add(invalidMoveLbl);\n\t\tinvalidMoveLbl.setVisible(false);\n\n\t\t// Exit Button Action\n\t\texit.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t});\n\n\t\t// Board Size Button Action\n\t\tboardSize.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\trestartGame();\n\t\t\t}\n\t\t});\n\n\t\t// Reset Board Button Action\n\t\tclearBoard.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tresetBoard();\n\t\t\t}\n\t\t});\n\n\t\t// Rules Button Action\n\t\trules.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tJOptionPane.showMessageDialog(null,\n\t\t\t\t\t\t\"1. Players take turns moving up, down, left, or right to generate a self-avoiding walk.\\n\\tClick on a square to make your move.\\n\\n2. A player who makes a self-intersecting move loses the game. \\n\\n3. A player can win the game by making a self-intersecting move that creates a self-avoiding polygon.\\n\\tThis is only valid after at least 4 moves.\",\n\t\t\t\t\t\t\"Self-Avoiding Walk Game Rules\", JOptionPane.PLAIN_MESSAGE);\n\t\t\t}\n\t\t});\n\n\t\t// About Button Action\n\t\tabout.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tJOptionPane.showMessageDialog(null,\n\t\t\t\t\t\t\"Self-Avoiding Walk Multiplayer Game\\nDeveloped by Adam Binder\\nCopyright 2019\", \"About\",\n\t\t\t\t\t\tJOptionPane.INFORMATION_MESSAGE);\n\t\t\t}\n\t\t});\n\n\t\t// 2 Player Button Action\n\t\tplayers2.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tplayers = 2;\n\t\t\t\tresetBoard();\n\t\t\t}\n\t\t});\n\n\t\t// 3 Player Button Action\n\t\tplayers3.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tplayers = 3;\n\t\t\t\tresetBoard();\n\t\t\t}\n\t\t});\n\n\t\t// 4 Player Button Action\n\t\tplayers4.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tplayers = 4;\n\t\t\t\tresetBoard();\n\t\t\t}\n\t\t});\n\n\t\t// Create event handlers:\n\t\tButtonHandler buttonHandler = new ButtonHandler();\n\n\t\t// Create and add board components:\n\t\tfor (int i = 0; i < size; i++) {\n\t\t\tfor (int j = 0; j < size; j++) {\n\t\t\t\tsquares[i][j] = new JButton();\n\t\t\t\tsquares[i][j].setBorder(null);\n\t\t\t\tsquares[i][j].setOpaque(true);\n\t\t\t\tsquares[i][j].setBorderPainted(false);\n\t\t\t\tif ((i + j) % 2 != 0) {\n\t\t\t\t\tsquares[i][j].setBackground(colorGray);\n\t\t\t\t\tsquares[i][j].setBorder(null);\n\t\t\t\t\tsquares[i][j].setOpaque(true);\n\t\t\t\t}\n\t\t\t\tcontents.add(squares[i][j]);\n\t\t\t\tsquares[i][j].addActionListener(buttonHandler);\n\t\t\t}\n\t\t}\n\t}", "private void initialize() {\n\t\t\n\t\tInputStream inputStream ;\n \t\tProperties prop = new Properties();\n \t\tString propFileName = \"config.properties\";\n \t\tinputStream = getClass().getClassLoader().getResourceAsStream(propFileName);\n \t\ttry {\n \t\t\tprop.load(inputStream);\n \t\t} catch (IOException e1) {\n \t\t\te1.printStackTrace();\n \t\t}\n\t\t\n\t\tframe = new JFrame();\n\t\tframe.getContentPane().setBackground(Color.WHITE);\n\t\tframe.getContentPane().setLayout(null);\n\t\t\n\t\tJPanel panel = new JPanel();\n\t\tpanel.setBackground(SystemColor.desktop);\n\t\tpanel.setBounds(0, 0, 450, 89);\n\t\tframe.getContentPane().add(panel);\n\t\tpanel.setLayout(null);\n\t\t\n\t\tJLabel lblInsererLeNom = new JLabel(\"inserer le nom du fournisseur\");\n\t\tlblInsererLeNom.setForeground(SystemColor.text);\n\t\tlblInsererLeNom.setFont(new Font(\"FreeSans\", Font.BOLD | Font.ITALIC, 16));\n\t\tlblInsererLeNom.setBounds(98, 24, 284, 36);\n\t\tpanel.add(lblInsererLeNom);\n\t\t\n\t\tJLabel lblIdmarch = new JLabel(\"id_marché :\");\n\t\tlblIdmarch.setBounds(32, 141, 133, 32);\n\t\tframe.getContentPane().add(lblIdmarch);\n\t\t\n\t\ttxtIdmarche = new JTextField();\n\t\ttxtIdmarche.setBounds(183, 142, 224, 32);\n\t\tframe.getContentPane().add(txtIdmarche);\n\t\ttxtIdmarche.setColumns(10);\n\t\t\n\t\tJLabel lblNomDeFournisseur = new JLabel(\"nom de fournisseur:\");\n\t\tlblNomDeFournisseur.setBounds(32, 207, 147, 24);\n\t\tframe.getContentPane().add(lblNomDeFournisseur);\n\t\t\n\t\ttxtNomfournisseur = new JTextField();\n\t\ttxtNomfournisseur.setBounds(183, 196, 228, 35);\n\t\tframe.getContentPane().add(txtNomfournisseur);\n\t\ttxtNomfournisseur.setColumns(10);\n\t\t\n\t\tJButton btnAjouter = new JButton(\"ajouter \");\n\t\tbtnAjouter.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\ttry\n\t {\n\t Class.forName(\"com.microsoft.sqlserver.jdbc.SQLServerDriver\");\n\t \n\t \t\tString userName = prop.getProperty(\"userName\");\n \t\t\tString password = prop.getProperty(\"password\");\n \t\t\tString url = prop.getProperty(\"url\");\n \t\t\t\n\t Connection con = DriverManager.getConnection(url, userName, password);\n\t Statement s1 = con.createStatement();\n\t \n\t //fields of the form\n\t \n\t String fournisseur = txtNomfournisseur.getText();\n\t String fournisseur1=fournisseur.replace(\"'\", \"''\");\n\t String id = txtIdmarche.getText();\n\t \n\t String sql = \"insert into fournisseurs (nom,serie) values('\"+fournisseur1+\"','\"+id+\"');\";\n\t \n\t //execute the request\n\t \n\t s1.executeUpdate(sql);\n\t \t \n\t frame.setVisible(false);\n\t Inserted.main(null);\n\t Newfournisseur.main(null);\n\t } catch (Exception e)\n\t {\n\t e.printStackTrace();\n\t }\n\t\t\t}\n\t\t\t\n\t\t});\n\t\tbtnAjouter.setBackground(SystemColor.desktop);\n\t\tbtnAjouter.setForeground(SystemColor.text);\n\t\tbtnAjouter.setBounds(133, 264, 170, 35);\n\t\tframe.getContentPane().add(btnAjouter);\n\t\tframe.setBounds(100, 100, 450, 387);\n\t\t//frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t}", "public ConfigBlock() {\n\t\tthis.soundVolume = Preferences.soundVolume;\n\t\tthis.musicVolume = Preferences.musicVolume;\n\t\tthis.language = Preferences.language;\n\t\tthis.player1InputPreferences = Preferences.inputPrefsP1;\n\t\tthis.player2InputPreferences = Preferences.inputPrefsP2;\n\t\tthis.displayWidth = Preferences.displayWidth;\n\t\tthis.displayHeight = Preferences.displayHeight;\n\t\tthis.displayFullscreen = Preferences.displayFullscreen;\n\t}", "private Scene createSettingsMenuScene() {\n /*\n * Grid pane\n */\n GridPane root = new GridPane();\n root.setId(\"pane\");\n root.setVgap(BUTTON_DISTANCE);\n root.setHgap(BUTTON_DISTANCE / 3);\n /*\n * title label\n */\n Label lTitle = new Label(\"Settings\");\n lTitle.setId(\"title-label\");\n root.add(lTitle, 0, 0, 2, 1);\n /*\n * Raw amount selection\n */\n ObservableList<String> rawOptions =\n FXCollections.observableArrayList(\"3\", \"4\", \"5\", \"6\");\n ComboBox<String> comboRawChoose = new ComboBox<String>(rawOptions);\n comboRawChoose.setValue(Integer.toString(Game.settings.rawNumber));\n Label lRawChoose = new Label(\"Raws:\");\n root.add(lRawChoose, 0, 1);\n root.add(comboRawChoose, 1, 1);\n /*\n * Column amount selection\n */\n ObservableList<String> columnOptions =\n FXCollections.observableArrayList(\"3\", \"4\", \"5\", \"6\");\n ComboBox<String> comboColumnChoose = new ComboBox<String>(columnOptions);\n comboColumnChoose.setValue(Integer.toString(Game.settings.columnNumber));\n Label lColumnChoose = new Label(\"Columns:\");\n root.add(lColumnChoose, 0, 2);\n root.add(comboColumnChoose, 1, 2);\n /*\n * Difficulty selection\n */\n ObservableList<String> diffOptions =\n FXCollections.observableArrayList(\"Easy\", \"Hard\");\n ComboBox<String> comboDiffChoose = new ComboBox<String>(diffOptions);\n if (Game.settings.currentDifficulty == Settings.Difficulty.EASY) {\n comboDiffChoose.setValue(\"Easy\");\n } else {\n comboDiffChoose.setValue(\"Hard\");\n }\n Label lDiffChoose = new Label(\"Difficulty:\");\n root.add(lDiffChoose, 0, 3);\n root.add(comboDiffChoose, 1, 3);\n /*\n * Player/bot selection\n */\n ObservableList<String> botOptions =\n FXCollections.observableArrayList(\"Player\", \"Bot\");\n ComboBox<String> comboBotChoose = new ComboBox<String>(botOptions);\n if (Game.settings.currentGameType == Settings.GameType.PLAYER) {\n comboBotChoose.setValue(\"Player\");\n } else {\n comboBotChoose.setValue(\"Bot\");\n }\n Label lBotChoose = new Label(\"Who plays:\");\n root.add(lBotChoose, 0, 4);\n root.add(comboBotChoose, 1, 4);\n /*\n * Button \"Apply\"\n */\n Button bApply = new Button(\"Apply\");\n bApply.setId(\"c16\");\n bApply.setOnAction(new EventHandler<ActionEvent>() {\n @Override\n public void handle(ActionEvent event) {\n Game.settings.rawNumber = Integer.parseInt(comboRawChoose.getValue());\n Game.settings.columnNumber =\n Integer.parseInt(comboColumnChoose.getValue());\n if (comboDiffChoose.getValue().equals(\"Easy\")) {\n Game.settings.currentDifficulty = Settings.Difficulty.EASY;\n } else {\n Game.settings.currentDifficulty = Settings.Difficulty.EASY;\n }\n if (comboBotChoose.getValue().equals(\"Bot\")) {\n Game.settings.currentGameType = Settings.GameType.BOT;\n } else {\n Game.settings.currentGameType = Settings.GameType.PLAYER;\n }\n mainMenu();\n }\n });\n /*\n * Button \"Cancel\"\n */\n Button bCancel = new Button(\"Cancel\");\n bCancel.setId(\"c4096\");\n bCancel.setOnAction(new EventHandler<ActionEvent>() {\n @Override\n public void handle(ActionEvent event) {\n mainMenu();\n }\n });\n root.add(bApply, 0, 5);\n root.add(bCancel, 1, 5);\n /*\n * Creating a scene with all these settings\n */\n Scene settingsScene =\n new Scene(root, Game.WINDOW_SIZE_X, Game.WINDOW_SIZE_Y);\n settingsScene.getStylesheets().\n addAll(this.getClass().getResource(\"menu.css\").toExternalForm());\n return settingsScene;\n }", "private void goalsConfigButton(){\n if(!goalsOpened){\n goalsUI = new GoalsUI(this, false);\n goalsOpened = true;\n }\n }", "private static void createWindow(){\n try{\n\n displayMode = new DisplayMode(1600 ,900);\n Display.setDisplayMode(displayMode);\n\n /*\n Display.setDisplayMode(getDisplayMode(1920 ,1080,false));\n if(displayMode.isFullscreenCapable()){\n Display.setFullscreen(true);\n }else{\n Display.setFullscreen(false);\n }\n */\n Display.setTitle(\"CubeKraft\");\n Display.create();\n }catch (Exception e){\n for(StackTraceElement s: e.getStackTrace()){\n System.out.println(s.toString());\n }\n }\n }", "@Override\n protected void appSize(int width, int height, Bitmap.Config config) {\n // Do nothing if already set.\n if (width == screenWidth && height == screenHeight && config == screenConfig)\n return;\n \n screenWidth = width;\n screenHeight = height;\n screenConfig = config;\n \n if (eyeCandy != null)\n eyeCandy.setConfiguration(screenWidth, screenHeight, screenConfig);\n }", "private void config() {\n\t}", "@Override\n public void simpleInitApp() {\n setDisplayStatView(false);\n setDisplayFps(false);\n\n // just a blue box\n Box mesh = new Box(1, 1, 1);\n Geometry geom = new Geometry(\"Box\", mesh);\n Material mat = new Material(assetManager,\n \"Common/MatDefs/Misc/Unshaded.j3md\");\n mat.setColor(\"Color\", ColorRGBA.Blue);\n geom.setMaterial(mat);\n rootNode.attachChild(geom);\n\n // Display a line of text in the default font on depth layer 0\n guiFont = assetManager.loadFont(\"Interface/Fonts/Default.fnt\");\n distanceText = new BitmapText(guiFont);\n distanceText.setSize(guiFont.getCharSet().getRenderedSize());\n distanceText.move( // x/y coordinates and z = depth layer 0\n settings.getWidth() / 2 + 50,\n distanceText.getLineHeight() + 20,\n 0);\n guiNode.attachChild(distanceText);\n\n // Display a 2D image or icon on depth layer -2\n Picture frame = new Picture(\"User interface frame\");\n frame.setImage(assetManager, \"Interface/frame.png\", false);\n frame.move(settings.getWidth() / 2 - 265, 0, -2);\n frame.setWidth(530);\n frame.setHeight(10);\n guiNode.attachChild(frame);\n\n // Display a 2D image or icon on depth layer -1\n Picture logo = new Picture(\"logo\");\n logo.setImage(assetManager, \"Interface/Monkey.png\", true);\n logo.move(settings.getWidth() / 2 - 47, 2, -1);\n logo.setWidth(95);\n logo.setHeight(75);\n guiNode.attachChild(logo);\n }", "private GameConfig() {}", "@FXML\n\tprivate void onSaveBtn() {\n\t\tSettings settings = Settings.getSingleton();\n\t\t//Set rule setting\n\t\tif(ruleBox.getValue() == \"Standard\") {\n\t\t\tsettings.setRuleType(RuleType.STANDARD);\n\t\t} else {\n\t\t\tsettings.setRuleType(RuleType.CHALLENGE);\n\t\t}\n\t\t\n\t\t//Set number of walls setting\n\t\tsettings.setWalls(wallBox.getValue());\n\t\t//Set show label\n\t\tsettings.setShowLabels(indicateLabel.isSelected());\n\t\t//Set show ghost trails\n\t\t//settings.setShowTrail(ghostTrail.isSelected());\n\t\t\n\t\t//Set board height and width\n\t\tswitch(boardBox.getValue()) {\n\t\tcase \"7x7\":\n\t\t\tsettings.setBoardHeight(7);\n\t\t\tsettings.setBoardWidth(7);\t\t\t\n\t\t\tbreak;\n\t\tcase \"9x9\":\n\t\t\tsettings.setBoardHeight(9);\n\t\t\tsettings.setBoardWidth(9);\t\t\t\n\t\t\tbreak;\n\t\tcase \"11x11\":\n\t\t\tsettings.setBoardHeight(11);\n\t\t\tsettings.setBoardWidth(11);\t\n\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tsettings.setBoardHeight(9);\n\t\t\t\tsettings.setBoardWidth(9);\n\t\t\t\tbreak;\n\t\t}\n\t\t//Set tile size\n\t\tsettings.setTileSize(tileBox.getValue());\n\t}", "public GameWindow() {\n\t\tif (!ENABLED) {\n\t\t\t// Don't touch anything that could cause an X11 call, since this\n\t\t\t// might mess up a test being run over SSH.\n\t\t\tframe = null;\n\t\t\twhoseTurnLabel = null;\n\t\t\tboardPanel = null;\n\t\t} else {\n\t\t\tframe = new JFrame();\n\t\t\tframe.setTitle(\"Fox and Geese\");\n\t\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\t\t\n\t\t\tJPanel content = new JPanel();\n\t\t\tcontent.setLayout(new BorderLayout());\n\t\t\tframe.setContentPane(content);\n\t\n\t\t\tboardPanel = new BoardPanel();\n\t\t\tcontent.add(boardPanel, BorderLayout.CENTER);\n\t\n\t\t\t// Make a row of status labels along the bottom of the window.\n\t\t\tBox status = new Box(BoxLayout.X_AXIS);\n\t\t\tcontent.add(status, BorderLayout.SOUTH);\n\t\n\t\t\twhoseTurnLabel = new JLabel();\n\t\t\twhoseTurnLabel.setBorder(\n\t\t\t\t\tBorderFactory.createEmptyBorder(2, 2, 2, 2));\n\t\t\tstatus.add(whoseTurnLabel);\n\t\n\t\t\t// Determine frame size based on subcomponents.\n\t\t\tframe.pack();\n\t\t}\n\t\t\n\t\tsynchronized (INSTANCES) {\n\t\t\tINSTANCES.add(this);\n\t\t}\n\t}", "protected void configure() {\n\t \n\t Configuration.BASE=true;\n\t Configuration.BASEMENUBAR=true;\n\t Configuration.BASETOOLBAR=true;\n\t Configuration.EDITMENUBAR=true;\n\t Configuration.EDITTOOLBAR=true;\n\t Configuration.FORMATMENUBAR=true;\n\t Configuration.FORMATTOOLBAR=true;\n\t Configuration.PERSISTENCEMENUBAR=true;\n\t Configuration.PERSISTENCETOOLBAR=true;\n\t Configuration.PRINTMENUBAR=true;\n\t Configuration.PRINTTOOLBAR=true;\n\t Configuration.SEARCHMENUBAR=true;\n\t Configuration.SEARCHTOOLBAR=true;\n\t Configuration.UNDOREDOMENUBAR=true;\n\t \t Configuration.UNDOREDOTOOLBAR=true;\n\t //\n\t Configuration.WORDCOUNTMENUBAR=true;\n\t Configuration.WORDCOUNTTOOLBAR=true;\n }", "@Override\n public void start(Stage primaryStage) throws Exception {\n\n Button playBtn = new Button(\"Start!!\");\n playBtn.setMinSize(150, 35);\n\n playBtn.setOnAction(new EventHandler<ActionEvent>() {\n @Override\n public void handle(ActionEvent event) {\n Application configStage = new GameConfiguration(config);\n try {\n configStage.start(primaryStage);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n });\n\n Button helpBtn = new Button(\"Help!!\");\n helpBtn.setMinSize(110, 30);\n\n VBox panelButtons = new VBox(20);\n panelButtons.setAlignment(Pos.CENTER);\n panelButtons.getChildren().addAll(playBtn, helpBtn);\n\n String GAME_TITLE = \"Mates Rapidas Game\";\n Text title = new Text(GAME_TITLE);\n title.setFont(new Font(30));\n\n VBox panelMain = new VBox(10);\n panelMain.setAlignment(Pos.CENTER);\n panelMain.getChildren().addAll(title, panelButtons);\n\n StackPane canvas = new StackPane();\n canvas.setPadding(new Insets(30));\n canvas.getChildren().add(panelMain);\n\n Scene principal = new Scene(canvas, 400, 400);\n\n primaryStage.setTitle(GAME_TITLE);\n primaryStage.setScene(principal);\n primaryStage.setResizable(false);\n primaryStage.show();\n }", "private void settingsScreenRender() {\n overlay.draw(batch, 0.5f);\n uiFont.draw(batch, scoreTxt, 0, HEIGHT - (scoreLayout.height));\n uiFont.draw(batch, healthTxt, WIDTH / 2, HEIGHT - (healthLayout.height));\n musicOn.draw(batch, 1);\n musicOff.draw(batch, 1);\n resume.draw(batch, 1);\n settingStage.draw();\n }", "static public void make() {\n\t\tif (window != null)\n\t\t\treturn;\n\n\t\twindow = new JFrame();\n\t\twindow.setTitle(\"Finecraft\");\n\t\twindow.setMinimumSize(new Dimension(500, 300));\n\t\twindow.setSize(asInteger(WINDOW_WIDTH), asInteger(WINDOW_HEIGHT));\n\t\twindow.setResizable(asBoolean(WINDOW_RESIZE));\n\t\twindow.setLocationRelativeTo(null);\n\t\twindow.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t}", "@Override\n public void simpleInitApp() {\n configureCamera();\n configureMaterials();\n viewPort.setBackgroundColor(new ColorRGBA(0.5f, 0.2f, 0.2f, 1f));\n configurePhysics();\n initializeHeightData();\n addTerrain();\n showHints();\n }", "@Override\npublic Dimension getPreferredSize() {\n\treturn new Dimension(Config.WIDTH, Config.HEIGHT);\n}", "@Override\n protected void configureWindow(Window root)\n {\n }", "CartogramWizardOptionsWindow ()\n\t{\n\t\t\n\t\t// Set the window parameters.\n\t\tthis.setTitle(\"Advanced options\");\n\t\t\t\n\t\tthis.setSize(500, 580);\n\t\tthis.setLocation(40, 50);\n\t\tthis.setResizable(false);\n\t\tthis.setLayout(null);\n\t\tthis.setModal(true);\n\t\t\n\t\t\n\t\t\t\t\n\t\t// GRID LAYER CHECK BOX\n\t\tmGridLayerCheckBox = \n\t\t\tnew JCheckBox(\"Create a transformation grid layer\");\n\t\t\n\t\tmGridLayerCheckBox.setSelected(\n\t\t\tAppContext.cartogramWizard.getCreateGridLayer());\n\t\t\t\n\t\tmGridLayerCheckBox.setFont(new Font(null, Font.BOLD, 11));\n\t\tmGridLayerCheckBox.setLocation(20, 20);\n\t\tmGridLayerCheckBox.setSize(300, 26);\n\t\tthis.add(mGridLayerCheckBox);\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t// DEFORMATION GRID LAYER HELP TEXT\n\t\t\n\t\tClassLoader cldr = this.getClass().getClassLoader();\n\t\t\n\t\tJTextPane deformationGridPane = new JTextPane();\n\t\tString deformationText = null;\n\t\ttry\n\t\t{\n\t\t\tInputStream inStream = \n\t\t\t\tcldr.getResource(\"DeformationGridLayerText.html\").openStream();\n\t\t\tStringBuffer inBuffer = new StringBuffer();\n\t\t\tint c;\n\t\t\twhile ((c = inStream.read()) != -1)\n\t\t\t{\n\t\t\t\tinBuffer.append((char)c);\n\t\t\t}\n\t\t\tinStream.close();\n\t\t\tdeformationText = inBuffer.toString();\n\t\t} \n\t\tcatch (Exception e) \n\t\t{\n\t\t\te.printStackTrace(); \n\t\t}\n\t\tdeformationGridPane.setContentType(\"text/html\");\n\t\tdeformationGridPane.setText(deformationText);\n\t\tdeformationGridPane.setEditable(false);\n\t\tdeformationGridPane.addHyperlinkListener(this);\n\t\tdeformationGridPane.setBackground(null);\n\t\tdeformationGridPane.setLocation(45, 45);\n\t\tdeformationGridPane.setSize(400, 30);\n\t\tthis.add(deformationGridPane);\n\t\t\n\t\t\n\t\t\n\t\t// GRID SIZE TEXT FIELD\n\t\tJLabel gridSizeLabel = new JLabel(\"Enter the number of rows:\");\n\t\tgridSizeLabel.setLocation(45, 85);\n\t\tgridSizeLabel.setSize(140, 26);\n\t\tgridSizeLabel.setFont(new Font(null, Font.PLAIN, 11));\n\t\tthis.add(gridSizeLabel);\n\t\t\n\t\tint gridSize = AppContext.cartogramWizard.getDeformationGridSize();\n\t\tString gridSizeString = \"\" + gridSize;\n\t\tmGridSizeTextField = new JTextField(gridSizeString);\n\t\tmGridSizeTextField.setLocation(240, 85);\n\t\tmGridSizeTextField.setSize(50, 26);\n\t\tmGridSizeTextField.setFont(new Font(null, Font.PLAIN, 11));\n\t\tmGridSizeTextField.setHorizontalAlignment(SwingConstants.RIGHT);\n\t\tthis.add(mGridSizeTextField);\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t// Separator\n\t\tJSeparator separator = new JSeparator(SwingConstants.HORIZONTAL);\n\t\tseparator.setLocation(20, 120);\n\t\tseparator.setSize(460, 10);\n\t\tthis.add(separator);\n\t\t\n\t\t\n\t\t\n\t\t// ADVANCED OPTIONS CHECK BOX\n\t\tmAdvancedOptionsCheckBox = \n\t\t\tnew JCheckBox(\"Define cartogram parameters manually\");\n\t\t\n\t\tmAdvancedOptionsCheckBox.setSelected(\n\t\t\tAppContext.cartogramWizard.getAdvancedOptionsEnabled());\n\t\t\t\n\t\tmAdvancedOptionsCheckBox.setFont(new Font(null, Font.BOLD, 11));\n\t\tmAdvancedOptionsCheckBox.setLocation(20, 140);\n\t\tmAdvancedOptionsCheckBox.setSize(360, 26);\n\t\tmAdvancedOptionsCheckBox.addChangeListener(this);\n\t\tthis.add(mAdvancedOptionsCheckBox);\n\t\t\n\t\t\n\t\t\n\t\t// Manual parameters text\n\t\tmManualParametersPane = new JTextPane();\n\t\tString manualParametersText = null;\n\t\ttry\n\t\t{\n\t\t\tInputStream inStream = \n\t\t\t\tcldr.getResource(\"ManualParametersText.html\").openStream();\n\t\t\tStringBuffer inBuffer = new StringBuffer();\n\t\t\tint c;\n\t\t\twhile ((c = inStream.read()) != -1)\n\t\t\t{\n\t\t\t\tinBuffer.append((char)c);\n\t\t\t}\n\t\t\tinStream.close();\n\t\t\tmanualParametersText = inBuffer.toString();\n\t\t} \n\t\tcatch (Exception e) \n\t\t{\n\t\t\te.printStackTrace(); \n\t\t}\n\t\tmManualParametersPane.setContentType(\"text/html\");\n\t\tmManualParametersPane.setText(manualParametersText);\n\t\tmManualParametersPane.setEditable(false);\n\t\tmManualParametersPane.addHyperlinkListener(this);\n\t\tmManualParametersPane.setBackground(null);\n\t\tmManualParametersPane.setLocation(45, 170);\n\t\tmManualParametersPane.setSize(400, 30);\n\t\tmManualParametersPane.setEnabled(mAdvancedOptionsCheckBox.isSelected());\n\t\tthis.add(mManualParametersPane);\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t// Grid 1 text\n\t\tmGrid1Pane = new JTextPane();\n\t\tString grid1Text = null;\n\t\ttry\n\t\t{\n\t\t\tInputStream inStream = \n\t\t\t\tcldr.getResource(\"Grid1Text.html\").openStream();\n\t\t\tStringBuffer inBuffer = new StringBuffer();\n\t\t\tint c;\n\t\t\twhile ((c = inStream.read()) != -1)\n\t\t\t{\n\t\t\t\tinBuffer.append((char)c);\n\t\t\t}\n\t\t\tinStream.close();\n\t\t\tgrid1Text = inBuffer.toString();\n\t\t} \n\t\tcatch (Exception e) \n\t\t{\n\t\t\te.printStackTrace(); \n\t\t}\n\t\tmGrid1Pane.setContentType(\"text/html\");\n\t\tmGrid1Pane.setText(grid1Text);\n\t\tmGrid1Pane.setEditable(false);\n\t\tmGrid1Pane.addHyperlinkListener(this);\n\t\tmGrid1Pane.setBackground(null);\n\t\tmGrid1Pane.setLocation(45, 210);\n\t\tmGrid1Pane.setSize(400, 60);\n\t\tmGrid1Pane.setEnabled(mAdvancedOptionsCheckBox.isSelected());\n\t\tthis.add(mGrid1Pane);\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t// Cartogram grid size\n\t\tmCartogramGridSizeLabel = \n\t\t\tnew JLabel(\"Enter the number of grid rows:\");\n\t\t\t\n\t\tmCartogramGridSizeLabel.setLocation(45, 270);\n\t\tmCartogramGridSizeLabel.setSize(170, 26);\n\t\tmCartogramGridSizeLabel.setFont(new Font(null, Font.PLAIN, 11));\n\t\tmCartogramGridSizeLabel.setEnabled(\n\t\t\tmAdvancedOptionsCheckBox.isSelected());\n\t\tthis.add(mCartogramGridSizeLabel);\n\t\t\n\t\tint cgGridSizeX = AppContext.cartogramWizard.getCartogramGridSizeInX();\n\t\tint cgGridSizeY = AppContext.cartogramWizard.getCartogramGridSizeInY();\n\t\tint cgGridSize = Math.max(cgGridSizeX, cgGridSizeY);\n\t\tString cgGridSizeString = \"\" + cgGridSize;\n\t\tmCartogramGridSizeTextField = new JTextField(cgGridSizeString);\n\t\tmCartogramGridSizeTextField.setLocation(240, 270);\n\t\tmCartogramGridSizeTextField.setSize(50, 26);\n\t\tmCartogramGridSizeTextField.setFont(new Font(null, Font.PLAIN, 11));\n\t\tmCartogramGridSizeTextField.setHorizontalAlignment(SwingConstants.RIGHT);\n\t\tmCartogramGridSizeTextField.setEnabled(\n\t\t\tmAdvancedOptionsCheckBox.isSelected());\n\t\tthis.add(mCartogramGridSizeTextField);\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t// Grid 2 text\n\t\tmGrid2Pane = new JTextPane();\n\t\tString grid2Text = null;\n\t\ttry\n\t\t{\n\t\t\tInputStream inStream = \n\t\t\t\tcldr.getResource(\"Grid2Text.html\").openStream();\n\t\t\tStringBuffer inBuffer = new StringBuffer();\n\t\t\tint c;\n\t\t\twhile ((c = inStream.read()) != -1)\n\t\t\t{\n\t\t\t\tinBuffer.append((char)c);\n\t\t\t}\n\t\t\tinStream.close();\n\t\t\tgrid2Text = inBuffer.toString();\n\t\t} \n\t\tcatch (Exception e) \n\t\t{\n\t\t\te.printStackTrace(); \n\t\t}\n\t\tmGrid2Pane.setContentType(\"text/html\");\n\t\tmGrid2Pane.setText(grid2Text);\n\t\tmGrid2Pane.setEditable(false);\n\t\tmGrid2Pane.addHyperlinkListener(this);\n\t\tmGrid2Pane.setBackground(null);\n\t\tmGrid2Pane.setLocation(45, 315);\n\t\tmGrid2Pane.setSize(400, 50);\n\t\tmGrid2Pane.setEnabled(mAdvancedOptionsCheckBox.isSelected());\n\t\tthis.add(mGrid2Pane);\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t// Diffusion grid size\n\t\tmDiffusionGridSizeLabel = new JLabel(\"Diffusion grid size:\");\n\t\tmDiffusionGridSizeLabel.setLocation(45, 365);\n\t\tmDiffusionGridSizeLabel.setSize(170, 26);\n\t\tmDiffusionGridSizeLabel.setFont(new Font(null, Font.PLAIN, 11));\n\t\tmDiffusionGridSizeLabel.setEnabled(\n\t\t\tmAdvancedOptionsCheckBox.isSelected());\n\t\tthis.add(mDiffusionGridSizeLabel);\n\t\t\n\t\tmDiffusionGridMenu = new JComboBox();\n\t\tmDiffusionGridMenu.setBounds(240, 365, 100, 26);\n\t\tmDiffusionGridMenu.setFont(new Font(null, Font.PLAIN, 11));\n\t\tmDiffusionGridMenu.setEnabled(mAdvancedOptionsCheckBox.isSelected());\n\t\tmDiffusionGridMenu.addItem(\"64\");\n\t\tmDiffusionGridMenu.addItem(\"128\");\n\t\tmDiffusionGridMenu.addItem(\"256\");\n\t\tmDiffusionGridMenu.addItem(\"512\");\n\t\tmDiffusionGridMenu.addItem(\"1024\");\n\t\t\n\t\tString strGridSize = \n\t\t\t\"\" + AppContext.cartogramWizard.getDiffusionGridSize();\n\t\t\t\n\t\tmDiffusionGridMenu.setSelectedItem(strGridSize);\n\t\t\n\t\tthis.add(mDiffusionGridMenu);\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t// Iterations text\n\t\tmIterPane = new JTextPane();\n\t\tString iterText = null;\n\t\ttry\n\t\t{\n\t\t\tInputStream inStream = \n\t\t\t\tcldr.getResource(\"GastnerIterationsText.html\").openStream();\n\t\t\tStringBuffer inBuffer = new StringBuffer();\n\t\t\tint c;\n\t\t\twhile ((c = inStream.read()) != -1)\n\t\t\t{\n\t\t\t\tinBuffer.append((char)c);\n\t\t\t}\n\t\t\tinStream.close();\n\t\t\titerText = inBuffer.toString();\n\t\t} \n\t\tcatch (Exception e) \n\t\t{\n\t\t\te.printStackTrace(); \n\t\t}\n\t\tmIterPane.setContentType(\"text/html\");\n\t\tmIterPane.setText(iterText);\n\t\tmIterPane.setEditable(false);\n\t\tmIterPane.addHyperlinkListener(this);\n\t\tmIterPane.setBackground(null);\n\t\tmIterPane.setLocation(45, 405);\n\t\tmIterPane.setSize(400, 45);\n\t\tmIterPane.setEnabled(mAdvancedOptionsCheckBox.isSelected());\n\t\tthis.add(mIterPane);\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t// Iterations of diffusion algorithm\n\t\tmIterationsLabel = \n\t\t\tnew JLabel(\"Enter the number of iterations:\");\n\t\t\t\n\t\tmIterationsLabel.setLocation(45, 450);\n\t\tmIterationsLabel.setSize(190, 26);\n\t\tmIterationsLabel.setFont(new Font(null, Font.PLAIN, 11));\n\t\tmIterationsLabel.setEnabled(mAdvancedOptionsCheckBox.isSelected());\n\t\tthis.add(mIterationsLabel);\n\n\t\tmDiffusionIterationsTextField = new JTextField(\n\t\t\t\"\" + AppContext.cartogramWizard.getDiffusionIterations());\n\t\tmDiffusionIterationsTextField.setLocation(240, 450);\n\t\tmDiffusionIterationsTextField.setSize(50, 26);\n\t\tmDiffusionIterationsTextField.setFont(new Font(null, Font.PLAIN, 11));\n\t\tmDiffusionIterationsTextField.setHorizontalAlignment(SwingConstants.RIGHT);\n\t\tmDiffusionIterationsTextField.setEnabled(\n\t\t\tmAdvancedOptionsCheckBox.isSelected());\n\t\tthis.add(mDiffusionIterationsTextField);\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t// Cancel button\n\t\tJButton cancelButton = new JButton(\"Cancel\");\n\t\tcancelButton.setLocation(270, 510);\n\t\tcancelButton.setSize(100, 26);\n\t\t\n\t\tcancelButton.addActionListener(new \n\t\t\tCartogramWizardAdvancedOptionsAction(\n\t\t\t\"closeDialogWithoutSaving\", this));\n\t\t\t\n\t\tthis.add(cancelButton);\n\t\t\n\t\t\n\t\t// Ok button\n\t\tJButton okButton = new JButton(\"OK\");\n\t\tokButton.setLocation(380, 510);\n\t\tokButton.setSize(100, 26);\n\t\t\n\t\tokButton.addActionListener(new \n\t\t\tCartogramWizardAdvancedOptionsAction(\n\t\t\t\"closeDialogWithSaving\", this));\n\t\t\t\n\t\tthis.add(okButton);\n\t\t\n\n\n\n\t\t// ADD THE HELP BUTTON\n\t\t\t\t\n\t\tjava.net.URL imageURL = cldr.getResource(\"help-22.png\");\n\t\tImageIcon helpIcon = new ImageIcon(imageURL);\n\n\t\tJButton helpButton = \n\t\t\tnew JButton(helpIcon);\n\t\t\n\t\thelpButton.setVerticalTextPosition(SwingConstants.BOTTOM);\n\t\thelpButton.setHorizontalTextPosition(SwingConstants.CENTER);\n\t\thelpButton.setSize(30, 30);\n\t\thelpButton.setLocation(20, 510);\n\t\thelpButton.setFocusable(false);\n\t\thelpButton.setContentAreaFilled(false);\n\t\thelpButton.setBorderPainted(false);\n\t\t\n\t\thelpButton.addActionListener(new CartogramWizardShowURL(\n\t\t\t\"http://chorogram.choros.ch/scapetoad/help/c-transformation-parameters.php#advanced-options\"));\n\t\t\n\t\tthis.add(helpButton);\n\n\n\n\t\n\t}", "public Main(){\n \tsetSize(new Dimension(1024, 768));\n \t\n \t//setUndecorated(true); // borderless (fullscreen) window\n \tsetExtendedState(getExtendedState() | JFrame.MAXIMIZED_BOTH); // maximize window\n \t\n setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n setTitle(\"Game\");\n setLocationRelativeTo(null); // center on screen\n\n \tContentLoader.LoadContent();\n init();\n start();\n }", "private void configActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_configActionPerformed\n java.awt.EventQueue.invokeLater(() -> {\n if (dialog == null) {\n dialog = new ConfigurationDlg(this, true);\n }\n dialog.addWindowListener(new java.awt.event.WindowAdapter() {\n @Override\n public void windowClosing(java.awt.event.WindowEvent e) {\n dialog.dispose();\n }\n });\n dialog.setVisible(true);\n });\n }", "@Override protected void configureWindow(java.awt.Window root) {\n }" ]
[ "0.6856358", "0.6816217", "0.67260426", "0.65711427", "0.6564342", "0.6550825", "0.6525992", "0.65105355", "0.65041393", "0.6471286", "0.64424276", "0.6395432", "0.6318179", "0.63154656", "0.6300055", "0.629586", "0.6258244", "0.6254628", "0.6254023", "0.6248238", "0.6210137", "0.61653537", "0.61331534", "0.60697365", "0.60395306", "0.6022515", "0.6016167", "0.5994055", "0.59744394", "0.5958776", "0.5946463", "0.5934475", "0.5932352", "0.5921438", "0.590893", "0.59008646", "0.5890728", "0.5887645", "0.5886467", "0.5878861", "0.58786196", "0.58629924", "0.58605266", "0.5853793", "0.5853708", "0.5851827", "0.5837673", "0.5833281", "0.5821484", "0.5820699", "0.58186597", "0.58172876", "0.5801531", "0.5800543", "0.57973987", "0.5796123", "0.5794845", "0.57880837", "0.5785197", "0.5781814", "0.5776965", "0.57737094", "0.5771703", "0.57635397", "0.5762156", "0.5762118", "0.576167", "0.57557166", "0.57505476", "0.5749741", "0.5746512", "0.5737412", "0.5733874", "0.57321143", "0.57319075", "0.5729432", "0.5717676", "0.57132393", "0.571267", "0.5712355", "0.57083786", "0.570529", "0.57007706", "0.56925595", "0.5683568", "0.56794125", "0.56681526", "0.5664427", "0.5664021", "0.5660445", "0.56602836", "0.56574833", "0.5657226", "0.5650073", "0.56473976", "0.5646754", "0.564666", "0.5644048", "0.5622853", "0.5620976", "0.56167126" ]
0.0
-1
Get the async version of this proxy
public AsyncALTextToSpeech async() { return asyncProxy; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public AsyncHandler getAsyncHandler() {\n return asyncHandler;\n }", "@Nonnull\n public java.util.concurrent.CompletableFuture<ManagedAppPolicy> getAsync() {\n return sendAsync(HttpMethod.GET, null);\n }", "@Nonnull\n public java.util.concurrent.CompletableFuture<AndroidWorkProfileCertificateProfileBase> getAsync() {\n return sendAsync(HttpMethod.GET, null);\n }", "public Object get() {\n Supplier supplier = this.delegate;\n synchronized (supplier) {\n Supplier supplier2 = this.delegate;\n return supplier2.get();\n }\n }", "private HttpProxyCacheServer getProxy() {\n\n return proxy == null ? (proxy = newProxy()) : proxy;\n }", "@Nonnull\n public java.util.concurrent.CompletableFuture<DeviceManagementDomainJoinConnector> getAsync() {\n return sendAsync(HttpMethod.GET, null);\n }", "default EagerFutureStream<U> async(){\n\t\treturn (EagerFutureStream<U>)FutureStream.super.async();\n\t}", "public Object getProxy() {\n\t\t\r\n\t\treturn getProxy(this.advised.getTargetClass().getClassLoader());\r\n\t}", "public ListenableFuture<ResourceSet<T>> async() {\n return async(Twilio.getRestClient());\n }", "@Nonnull\n public java.util.concurrent.CompletableFuture<PersonAnnotation> getAsync() {\n return sendAsync(HttpMethod.GET, null);\n }", "@Override\r\n\tpublic Executor getAsyncExecutor() {\n\t\treturn null;\r\n\t}", "public Proxy getProxy() {\n return proxy;\n }", "@Nonnull\n public java.util.concurrent.CompletableFuture<UserSettings> getAsync() {\n return sendAsync(HttpMethod.GET, null);\n }", "@Override\n\tpublic V get() {\n\t\tV result = null;\n\t\ttry {\n\t\t\tresult = fTask.get();\n\t\t} catch (InterruptedException | ExecutionException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn result;\n\t}", "@Override\n public T get() {\n if (!initialized) {\n synchronized (this) {\n if (!initialized) {\n T t = delegate.get();\n value = t;\n initialized = true;\n return t;\n }\n }\n }\n return value;\n }", "@Nonnull\n public java.util.concurrent.CompletableFuture<DelegatedAdminCustomer> getAsync() {\n return sendAsync(HttpMethod.GET, null);\n }", "@Override\n public AsyncJob getJob() {\n final AsyncJob job = s_jobMgr.getAsyncJob(_job.getId());\n return job;\n }", "public boolean isAsync() {\n return async;\n }", "@Nonnull\n public java.util.concurrent.CompletableFuture<ExternalMeetingRegistrant> getAsync() {\n return sendAsync(HttpMethod.GET, null);\n }", "@JsonGetter(\"async\")\n public boolean isAsync() {\n return async != null && async;\n }", "Proxy getProxy();", "protected MqttAsyncClient getClient() {\n return client;\n }", "@Override\n public T get() {\n long nanos = this.expirationNanos;\n long now = nanoTime();\n if (nanos == 0L || now - nanos >= 0L) {\n synchronized(this) {\n if (nanos == this.expirationNanos) {\n ReturnValue<T> t = this.delegate.get();\n if (t.canMemoize())\n this.value = t.value();\n else\n return t.value();\n\n this.expirationNanos = now + this.durationNanos;\n return t.value();\n }\n }\n }\n return this.value;\n }", "public SynchronizationResponse getResult() {\n return _response;\n }", "public Task task()\n {\n return _link.first;\n }", "@Nonnull\n public java.util.concurrent.CompletableFuture<AccessReviewHistoryDefinition> getAsync() {\n return sendAsync(HttpMethod.GET, null);\n }", "public abstract T await();", "AsynchronousSocketChannel getClientSocket() {\n return clientSocket;\n }", "public ExecutorService asyncEventExecutor() {\n\t\treturn asyncListenersExecutor.get(rand.nextInt(asyncListenersExecutor.size()));\n\t}", "public Proxy getProxy(){\n mode = COMMAND_MODE;\n pack();\n show();\n return proxy;\n }", "@Field(2) \n\tpublic Pointer<GOutputStreamClass.splice_async_callback > splice_async() {\n\t\treturn this.io.getPointerField(this, 2);\n\t}", "@Nonnull\n public java.util.concurrent.CompletableFuture<OnlineMeeting> getAsync() {\n return sendAsync(HttpMethod.GET, null);\n }", "@Override\n public Object get() throws InterruptedException, ExecutionException {\n return getSafely();\n }", "String getAsyncDelayedRedelivery();", "@Nonnull\n public java.util.concurrent.CompletableFuture<UserExperienceAnalyticsAnomalyDevice> getAsync() {\n return sendAsync(HttpMethod.GET, null);\n }", "ProxyConnectionState getProxyConnectionState() {\n return proxyConnectionState;\n }", "private CloseableHttpAsyncClient createHttpClient() {\n RequestConfig.Builder requestConfigBuilder = RequestConfig.custom()\n .setConnectTimeout(Timeout.ofMilliseconds(DEFAULT_CONNECT_TIMEOUT_MILLIS))\n .setResponseTimeout(Timeout.ofMilliseconds(DEFAULT_RESPONSE_TIMEOUT_MILLIS));\n if (requestConfigCallback != null) {\n requestConfigBuilder = requestConfigCallback.customizeRequestConfig(requestConfigBuilder);\n }\n\n try {\n final TlsStrategy tlsStrategy = ClientTlsStrategyBuilder.create()\n .setSslContext(SSLContext.getDefault())\n // See https://issues.apache.org/jira/browse/HTTPCLIENT-2219\n .setTlsDetailsFactory(new Factory<SSLEngine, TlsDetails>() {\n @Override\n public TlsDetails create(final SSLEngine sslEngine) {\n return new TlsDetails(sslEngine.getSession(), sslEngine.getApplicationProtocol());\n }\n })\n .build();\n\n final PoolingAsyncClientConnectionManager connectionManager = PoolingAsyncClientConnectionManagerBuilder.create()\n .setMaxConnPerRoute(DEFAULT_MAX_CONN_PER_ROUTE)\n .setMaxConnTotal(DEFAULT_MAX_CONN_TOTAL)\n .setTlsStrategy(tlsStrategy)\n .build();\n\n HttpAsyncClientBuilder httpClientBuilder = HttpAsyncClientBuilder.create()\n .setDefaultRequestConfig(requestConfigBuilder.build())\n .setConnectionManager(connectionManager)\n .setTargetAuthenticationStrategy(DefaultAuthenticationStrategy.INSTANCE)\n .disableAutomaticRetries();\n if (httpClientConfigCallback != null) {\n httpClientBuilder = httpClientConfigCallback.customizeHttpClient(httpClientBuilder);\n }\n\n final HttpAsyncClientBuilder finalBuilder = httpClientBuilder;\n return AccessController.doPrivileged((PrivilegedAction<CloseableHttpAsyncClient>) finalBuilder::build);\n } catch (NoSuchAlgorithmException e) {\n throw new IllegalStateException(\"could not create the default ssl context\", e);\n }\n }", "@Nullable\n\tfinal T blockingGet() {\n\t\tif (Schedulers.isInNonBlockingThread()) {\n\t\t\tthrow new IllegalStateException(\"block()/blockFirst()/blockLast() are blocking, which is not supported in thread \" + Thread.currentThread().getName());\n\t\t}\n\t\tif (getCount() != 0) {\n\t\t\ttry {\n\t\t\t\tawait();\n\t\t\t}\n\t\t\tcatch (InterruptedException ex) {\n\t\t\t\tdispose();\n\t\t\t\tThread.currentThread().interrupt();\n\t\t\t\tthrow Exceptions.propagate(ex);\n\t\t\t}\n\t\t}\n\n\t\tThrowable e = error;\n\t\tif (e != null) {\n\t\t\tRuntimeException re = Exceptions.propagate(e);\n\t\t\t//this is ok, as re is always a new non-singleton instance\n\t\t\tre.addSuppressed(new Exception(\"#block terminated with an error\"));\n\t\t\tthrow re;\n\t\t}\n\t\treturn value;\n\t}", "DispatchTask getTask()\n {\n synchronized (m_lock)\n {\n return m_runnable;\n }\n }", "public List<T> getData() {\n if (nonNull(asyncData)) {\n return this.getAsyncData();\n }\n this.updateStream();\n return this.data;\n }", "public ProxyConnection fetchConnection() {\n ProxyConnection connection = null;\n\n try {\n connection = connections.take();\n } catch (InterruptedException e) {\n LOGGER.log(Level.ERROR, \"Can't fetch a connection!\", e);\n }\n\n return connection;\n }", "@Override\n\tpublic ISearchServiceAsync getSearchService() {\n\t\treturn ClientFactoryImpl.I_SEARCH_SERVICE_ASYNC;\n\t}", "public static Object httpClient() {\n return new Object();\n// return HttpClient.newBuilder()\n// .version(HttpClient.Version.HTTP_1_1)\n// .followRedirects(HttpClient.Redirect.NORMAL)\n// .connectTimeout(Duration.ofSeconds(300))\n// .build();\n }", "AblyBase getAblyClient(final long handle) {\n AblyRealtime realtime = getRealtime(handle);\n return (realtime != null) ? realtime : getRest(handle);\n }", "public static ServerServiceAsync getService() {\n\n return GWT.create(ServerService.class);\n }", "@Override\n\tpublic boolean isAsyncSupported() {\n\t\treturn false;\n\t}", "public HttpProxyConfigResponse httpProxyConfig() {\n return this.httpProxyConfig;\n }", "default T await() {\n return await(0, TimeUnit.NANOSECONDS);\n }", "public ConnectionClientTransport delegate() {\n return this.delegate;\n }", "public NetInterface.NetHandler getNetProxy() {\n return (NetInterface.NetHandler) self;\n }", "@Field(4) \n\tpublic Pointer<gio.GIOStreamClass.close_async_callback > close_async() {\n\t\treturn this.io.getPointerField(this, 4);\n\t}", "public String getPromise() {\n return promise;\n }", "public HttpClient httpClient() {\n return httpClient;\n }", "@Override\n public E poll() {\n return delegate.poll();\n }", "public final T getResult() {\n try {\n try {\n ForkJoinPool.managedBlock(this);\n } catch (InterruptedException e) {\n }\n return self();\n }catch(Throwable t){\n throw new RuntimeException(t);\n }\n }", "private OkHttpClient Create() {\n final OkHttpClient.Builder baseClient = new OkHttpClient().newBuilder()\n .connectTimeout(CONNECTION_TIMEOUT, TimeUnit.SECONDS)\n .writeTimeout(WRITE_TIMEOUT, TimeUnit.SECONDS)\n .readTimeout(READ_TIMEOUT, TimeUnit.SECONDS);\n\n // If there's no proxy just create a normal client\n if (appProps.getProxyHost().isEmpty()) {\n return baseClient.build();\n }\n\n final OkHttpClient.Builder proxyClient = baseClient\n .proxy(new java.net.Proxy(java.net.Proxy.Type.HTTP, new InetSocketAddress(appProps.getProxyHost(), Integer.parseInt(appProps.getProxyPort()))));\n\n if (!appProps.getProxyUsername().isEmpty() && !appProps.getProxyPassword().isEmpty()) {\n\n Authenticator proxyAuthenticator;\n String credentials;\n\n credentials = Credentials.basic(appProps.getProxyUsername(), appProps.getProxyPassword());\n\n // authenticate the proxy\n proxyAuthenticator = (route, response) -> response.request().newBuilder()\n .header(\"Proxy-Authorization\", credentials)\n .build();\n proxyClient.proxyAuthenticator(proxyAuthenticator);\n }\n return proxyClient.build();\n\n }", "public Future<Integer> getValue() {\n GetValue getValue = new GetValue(this.generator);\n return this.scheduled.schedule(getValue, this.delay, TimeUnit.MILLISECONDS);\n }", "public synchronized String getProxyAddress() {\n \n return this.address;\n }", "@Override\n\tpublic AsyncContext getAsyncContext() {\n\t\treturn null;\n\t}", "public Lock delegate() {\n return this.delegate;\n }", "DeliverTask getCallback()\n {\n synchronized (m_lock)\n {\n return m_callback;\n }\n }", "@Override\n public ClientTransport get(PickSubchannelArgs args) {\n return delayedTransport;\n }", "public T getValue() {\n if (mDependency == null)\n mDependency = new ReactorDependency();\n\n mDependency.depend();\n return mValue;\n }", "public MainThreadExecutor getHandler() {\n return handler;\n }", "@Nullable\n public Response<T> awaitResponse() {\n Await.latch(responseLatch, waitTimeMs);\n return responseContainer.get();\n }", "public interface AsynService {\n void asynMethod();\n}", "public interface AsyncConnection {\n \n /**\n * Return <tt>true</tt> is the current connection associated with \n * this event has been suspended.\n */\n public boolean isSuspended();\n \n \n /**\n * Suspend the current connection. Suspended connection are parked and\n * eventually used when the Grizzlet Container initiates pushes.\n */\n public void suspend() throws AlreadyPausedException;\n \n \n /**\n * Resume a suspended connection. The response will be completed and the \n * connection become synchronous (e.g. a normal http connection).\n */\n public void resume() throws NotYetPausedException;\n \n \n /**\n * Advises the Grizzlet Container to start intiating a push operation, using \n * the argument <code>message</code>. All asynchronous connection that has \n * been suspended will have a chance to push the data back to their \n * associated clients.\n *\n * @param message The data that will be pushed.\n */\n public void push(String message) throws IOException;\n \n \n /**\n * Return the GrizzletRequest associated with this AsynchConnection. \n */\n public GrizzletRequest getRequest();\n \n \n /**\n * Return the GrizzletResponse associated with this AsynchConnection. \n */\n public GrizzletResponse getResponse();\n \n \n /**\n * Is this AsyncConnection being in the process of being resumed?\n */\n public boolean isResuming();\n \n \n /**\n * Is this AsyncConnection has push events ready to push back data to \n * its associated client.\n */\n public boolean hasPushEvent();\n \n \n /**\n * Return the <code>message</code> that can be pushed back.\n */\n public String getPushEvent();\n \n \n /**\n * Is the current asynchronous connection defined as an HTTP Get.\n */\n public boolean isGet();\n \n \n /**\n * Is the current asynchronous connection defined as an HTTP Get. \n */\n public boolean isPost();\n \n \n /**\n * Return the number of suspended connections associated with the current\n * {@link Grizzlet}\n */\n public int getSuspendedCount();\n \n \n}", "public V get() {\n\t\treturn this.get(0, TimeUnit.SECONDS);\n\t}", "final Object getDelegateLock() {\n return getTarget().getTreeLock();\n }", "public Short getSynchronous() {\n return synchronous;\n }", "Callable<E> getTask();", "protected HeavyClient getClient() {\n\t\treturn client;\n\t}", "@Deprecated\n public HttpHandler getProxyHandler() {\n return createProxyHandler();\n }", "default EagerFutureStream<U> sync(){\n\t\treturn (EagerFutureStream<U>)FutureStream.super.sync();\n\t}", "@Override public byte Async_init() {\n\t\tString src = \"http://ftp.sunet.se/pub/multimedia/graphics/ImageMagick/binaries/ImageMagick-6.8.8-1-Q16-x86-windows.zip\";\r\n\t\tthis.Init(\"downloading\", src, trg);\r\n\t\treturn super.Async_init();\r\n\t}", "public boolean getAwaitResponse() {\n return awaitResponse;\n }", "protected HttpClient getHttpClient( ) {\r\n\t\treturn httpClient;\r\n\t}", "public Object runAndGetResult() {\n run();\n return getResult();\n }", "public Long getAsyncWaitTimeout() {\n\t\treturn asyncWaitTimeout;\n\t}", "public ObservableSubscriber<T> await() {\n return await(60, TimeUnit.SECONDS);\n }", "@Override\n @SuppressWarnings(\"unchecked\")\n public <T> T getObject() {\n waitFor();\n return (T) response;\n }", "static DocumentRemote get() {\n\t\tif (GWT.isScript()) {\n\t\t\treturn nativeGet();\n\t\t}\n\t\t// No need to be MT-safe. Single-threaded JS code.\n\t\tif (doc == null) {\n\t\t\tdoc = nativeGet();\n\t\t}\n\t\treturn doc;\n\t}", "public interface AmazonConfigAsync extends AmazonConfig {\n /**\n * <p>\n * Returns the current status of the specified delivery channel. If a\n * delivery channel is not specified, this action returns the current\n * status of all delivery channels associated with the account.\n * </p>\n * <p>\n * <b>NOTE:</b>Currently, you can specify only one delivery channel per\n * account.\n * </p>\n *\n * @param describeDeliveryChannelStatusRequest Container for the\n * necessary parameters to execute the DescribeDeliveryChannelStatus\n * operation on AmazonConfig.\n * \n * @return A Java Future object containing the response from the\n * DescribeDeliveryChannelStatus service method, as returned by\n * AmazonConfig.\n * \n *\n * @throws AmazonClientException\n * If any internal errors are encountered inside the client while\n * attempting to make the request or handle the response. For example\n * if a network connection is not available.\n * @throws AmazonServiceException\n * If an error response is returned by AmazonConfig indicating\n * either a problem with the data in the request, or a server side issue.\n */\n public Future<DescribeDeliveryChannelStatusResult> describeDeliveryChannelStatusAsync(DescribeDeliveryChannelStatusRequest describeDeliveryChannelStatusRequest) \n throws AmazonServiceException, AmazonClientException;\n\n /**\n * <p>\n * Returns the current status of the specified delivery channel. If a\n * delivery channel is not specified, this action returns the current\n * status of all delivery channels associated with the account.\n * </p>\n * <p>\n * <b>NOTE:</b>Currently, you can specify only one delivery channel per\n * account.\n * </p>\n *\n * @param describeDeliveryChannelStatusRequest Container for the\n * necessary parameters to execute the DescribeDeliveryChannelStatus\n * operation on AmazonConfig.\n * @param asyncHandler Asynchronous callback handler for events in the\n * life-cycle of the request. Users could provide the implementation of\n * the four callback methods in this interface to process the operation\n * result or handle the exception.\n * \n * @return A Java Future object containing the response from the\n * DescribeDeliveryChannelStatus service method, as returned by\n * AmazonConfig.\n * \n *\n * @throws AmazonClientException\n * If any internal errors are encountered inside the client while\n * attempting to make the request or handle the response. For example\n * if a network connection is not available.\n * @throws AmazonServiceException\n * If an error response is returned by AmazonConfig indicating\n * either a problem with the data in the request, or a server side issue.\n */\n public Future<DescribeDeliveryChannelStatusResult> describeDeliveryChannelStatusAsync(DescribeDeliveryChannelStatusRequest describeDeliveryChannelStatusRequest,\n AsyncHandler<DescribeDeliveryChannelStatusRequest, DescribeDeliveryChannelStatusResult> asyncHandler)\n throws AmazonServiceException, AmazonClientException;\n\n /**\n * <p>\n * Returns the name of one or more specified configuration recorders.\n * If the recorder name is not specified, this action returns the names\n * of all the configuration recorders associated with the account.\n * </p>\n * <p>\n * <b>NOTE:</b> Currently, you can specify only one configuration\n * recorder per account.\n * </p>\n *\n * @param describeConfigurationRecordersRequest Container for the\n * necessary parameters to execute the DescribeConfigurationRecorders\n * operation on AmazonConfig.\n * \n * @return A Java Future object containing the response from the\n * DescribeConfigurationRecorders service method, as returned by\n * AmazonConfig.\n * \n *\n * @throws AmazonClientException\n * If any internal errors are encountered inside the client while\n * attempting to make the request or handle the response. For example\n * if a network connection is not available.\n * @throws AmazonServiceException\n * If an error response is returned by AmazonConfig indicating\n * either a problem with the data in the request, or a server side issue.\n */\n public Future<DescribeConfigurationRecordersResult> describeConfigurationRecordersAsync(DescribeConfigurationRecordersRequest describeConfigurationRecordersRequest) \n throws AmazonServiceException, AmazonClientException;\n\n /**\n * <p>\n * Returns the name of one or more specified configuration recorders.\n * If the recorder name is not specified, this action returns the names\n * of all the configuration recorders associated with the account.\n * </p>\n * <p>\n * <b>NOTE:</b> Currently, you can specify only one configuration\n * recorder per account.\n * </p>\n *\n * @param describeConfigurationRecordersRequest Container for the\n * necessary parameters to execute the DescribeConfigurationRecorders\n * operation on AmazonConfig.\n * @param asyncHandler Asynchronous callback handler for events in the\n * life-cycle of the request. Users could provide the implementation of\n * the four callback methods in this interface to process the operation\n * result or handle the exception.\n * \n * @return A Java Future object containing the response from the\n * DescribeConfigurationRecorders service method, as returned by\n * AmazonConfig.\n * \n *\n * @throws AmazonClientException\n * If any internal errors are encountered inside the client while\n * attempting to make the request or handle the response. For example\n * if a network connection is not available.\n * @throws AmazonServiceException\n * If an error response is returned by AmazonConfig indicating\n * either a problem with the data in the request, or a server side issue.\n */\n public Future<DescribeConfigurationRecordersResult> describeConfigurationRecordersAsync(DescribeConfigurationRecordersRequest describeConfigurationRecordersRequest,\n AsyncHandler<DescribeConfigurationRecordersRequest, DescribeConfigurationRecordersResult> asyncHandler)\n throws AmazonServiceException, AmazonClientException;\n\n /**\n * <p>\n * Starts recording configurations of all the resources associated with\n * the account.\n * </p>\n * <p>\n * You must have created at least one delivery channel to successfully\n * start the configuration recorder.\n * </p>\n *\n * @param startConfigurationRecorderRequest Container for the necessary\n * parameters to execute the StartConfigurationRecorder operation on\n * AmazonConfig.\n * \n * @return A Java Future object containing the response from the\n * StartConfigurationRecorder service method, as returned by\n * AmazonConfig.\n * \n *\n * @throws AmazonClientException\n * If any internal errors are encountered inside the client while\n * attempting to make the request or handle the response. For example\n * if a network connection is not available.\n * @throws AmazonServiceException\n * If an error response is returned by AmazonConfig indicating\n * either a problem with the data in the request, or a server side issue.\n */\n public Future<Void> startConfigurationRecorderAsync(StartConfigurationRecorderRequest startConfigurationRecorderRequest) \n throws AmazonServiceException, AmazonClientException;\n\n /**\n * <p>\n * Starts recording configurations of all the resources associated with\n * the account.\n * </p>\n * <p>\n * You must have created at least one delivery channel to successfully\n * start the configuration recorder.\n * </p>\n *\n * @param startConfigurationRecorderRequest Container for the necessary\n * parameters to execute the StartConfigurationRecorder operation on\n * AmazonConfig.\n * @param asyncHandler Asynchronous callback handler for events in the\n * life-cycle of the request. Users could provide the implementation of\n * the four callback methods in this interface to process the operation\n * result or handle the exception.\n * \n * @return A Java Future object containing the response from the\n * StartConfigurationRecorder service method, as returned by\n * AmazonConfig.\n * \n *\n * @throws AmazonClientException\n * If any internal errors are encountered inside the client while\n * attempting to make the request or handle the response. For example\n * if a network connection is not available.\n * @throws AmazonServiceException\n * If an error response is returned by AmazonConfig indicating\n * either a problem with the data in the request, or a server side issue.\n */\n public Future<Void> startConfigurationRecorderAsync(StartConfigurationRecorderRequest startConfigurationRecorderRequest,\n AsyncHandler<StartConfigurationRecorderRequest, Void> asyncHandler)\n throws AmazonServiceException, AmazonClientException;\n\n /**\n * <p>\n * Creates a new delivery channel object to deliver the configuration\n * information to an Amazon S3 bucket, and to an Amazon SNS topic.\n * </p>\n * <p>\n * You can use this action to change the Amazon S3 bucket or an Amazon\n * SNS topic of the existing delivery channel. To change the Amazon S3\n * bucket or an Amazon SNS topic, call this action and specify the\n * changed values for the S3 bucket and the SNS topic. If you specify a\n * different value for either the S3 bucket or the SNS topic, this action\n * will keep the existing value for the parameter that is not changed.\n * </p>\n * <p>\n * <b>NOTE:</b> Currently, you can specify only one delivery channel per\n * account.\n * </p>\n *\n * @param putDeliveryChannelRequest Container for the necessary\n * parameters to execute the PutDeliveryChannel operation on\n * AmazonConfig.\n * \n * @return A Java Future object containing the response from the\n * PutDeliveryChannel service method, as returned by AmazonConfig.\n * \n *\n * @throws AmazonClientException\n * If any internal errors are encountered inside the client while\n * attempting to make the request or handle the response. For example\n * if a network connection is not available.\n * @throws AmazonServiceException\n * If an error response is returned by AmazonConfig indicating\n * either a problem with the data in the request, or a server side issue.\n */\n public Future<Void> putDeliveryChannelAsync(PutDeliveryChannelRequest putDeliveryChannelRequest) \n throws AmazonServiceException, AmazonClientException;\n\n /**\n * <p>\n * Creates a new delivery channel object to deliver the configuration\n * information to an Amazon S3 bucket, and to an Amazon SNS topic.\n * </p>\n * <p>\n * You can use this action to change the Amazon S3 bucket or an Amazon\n * SNS topic of the existing delivery channel. To change the Amazon S3\n * bucket or an Amazon SNS topic, call this action and specify the\n * changed values for the S3 bucket and the SNS topic. If you specify a\n * different value for either the S3 bucket or the SNS topic, this action\n * will keep the existing value for the parameter that is not changed.\n * </p>\n * <p>\n * <b>NOTE:</b> Currently, you can specify only one delivery channel per\n * account.\n * </p>\n *\n * @param putDeliveryChannelRequest Container for the necessary\n * parameters to execute the PutDeliveryChannel operation on\n * AmazonConfig.\n * @param asyncHandler Asynchronous callback handler for events in the\n * life-cycle of the request. Users could provide the implementation of\n * the four callback methods in this interface to process the operation\n * result or handle the exception.\n * \n * @return A Java Future object containing the response from the\n * PutDeliveryChannel service method, as returned by AmazonConfig.\n * \n *\n * @throws AmazonClientException\n * If any internal errors are encountered inside the client while\n * attempting to make the request or handle the response. For example\n * if a network connection is not available.\n * @throws AmazonServiceException\n * If an error response is returned by AmazonConfig indicating\n * either a problem with the data in the request, or a server side issue.\n */\n public Future<Void> putDeliveryChannelAsync(PutDeliveryChannelRequest putDeliveryChannelRequest,\n AsyncHandler<PutDeliveryChannelRequest, Void> asyncHandler)\n throws AmazonServiceException, AmazonClientException;\n\n /**\n * <p>\n * Deletes the specified delivery channel.\n * </p>\n * <p>\n * The delivery channel cannot be deleted if it is the only delivery\n * channel and the configuration recorder is still running. To delete the\n * delivery channel, stop the running configuration recorder using the\n * StopConfigurationRecorder action.\n * </p>\n *\n * @param deleteDeliveryChannelRequest Container for the necessary\n * parameters to execute the DeleteDeliveryChannel operation on\n * AmazonConfig.\n * \n * @return A Java Future object containing the response from the\n * DeleteDeliveryChannel service method, as returned by AmazonConfig.\n * \n *\n * @throws AmazonClientException\n * If any internal errors are encountered inside the client while\n * attempting to make the request or handle the response. For example\n * if a network connection is not available.\n * @throws AmazonServiceException\n * If an error response is returned by AmazonConfig indicating\n * either a problem with the data in the request, or a server side issue.\n */\n public Future<Void> deleteDeliveryChannelAsync(DeleteDeliveryChannelRequest deleteDeliveryChannelRequest) \n throws AmazonServiceException, AmazonClientException;\n\n /**\n * <p>\n * Deletes the specified delivery channel.\n * </p>\n * <p>\n * The delivery channel cannot be deleted if it is the only delivery\n * channel and the configuration recorder is still running. To delete the\n * delivery channel, stop the running configuration recorder using the\n * StopConfigurationRecorder action.\n * </p>\n *\n * @param deleteDeliveryChannelRequest Container for the necessary\n * parameters to execute the DeleteDeliveryChannel operation on\n * AmazonConfig.\n * @param asyncHandler Asynchronous callback handler for events in the\n * life-cycle of the request. Users could provide the implementation of\n * the four callback methods in this interface to process the operation\n * result or handle the exception.\n * \n * @return A Java Future object containing the response from the\n * DeleteDeliveryChannel service method, as returned by AmazonConfig.\n * \n *\n * @throws AmazonClientException\n * If any internal errors are encountered inside the client while\n * attempting to make the request or handle the response. For example\n * if a network connection is not available.\n * @throws AmazonServiceException\n * If an error response is returned by AmazonConfig indicating\n * either a problem with the data in the request, or a server side issue.\n */\n public Future<Void> deleteDeliveryChannelAsync(DeleteDeliveryChannelRequest deleteDeliveryChannelRequest,\n AsyncHandler<DeleteDeliveryChannelRequest, Void> asyncHandler)\n throws AmazonServiceException, AmazonClientException;\n\n /**\n * <p>\n * Stops recording configurations of all the resources associated with\n * the account.\n * </p>\n *\n * @param stopConfigurationRecorderRequest Container for the necessary\n * parameters to execute the StopConfigurationRecorder operation on\n * AmazonConfig.\n * \n * @return A Java Future object containing the response from the\n * StopConfigurationRecorder service method, as returned by AmazonConfig.\n * \n *\n * @throws AmazonClientException\n * If any internal errors are encountered inside the client while\n * attempting to make the request or handle the response. For example\n * if a network connection is not available.\n * @throws AmazonServiceException\n * If an error response is returned by AmazonConfig indicating\n * either a problem with the data in the request, or a server side issue.\n */\n public Future<Void> stopConfigurationRecorderAsync(StopConfigurationRecorderRequest stopConfigurationRecorderRequest) \n throws AmazonServiceException, AmazonClientException;\n\n /**\n * <p>\n * Stops recording configurations of all the resources associated with\n * the account.\n * </p>\n *\n * @param stopConfigurationRecorderRequest Container for the necessary\n * parameters to execute the StopConfigurationRecorder operation on\n * AmazonConfig.\n * @param asyncHandler Asynchronous callback handler for events in the\n * life-cycle of the request. Users could provide the implementation of\n * the four callback methods in this interface to process the operation\n * result or handle the exception.\n * \n * @return A Java Future object containing the response from the\n * StopConfigurationRecorder service method, as returned by AmazonConfig.\n * \n *\n * @throws AmazonClientException\n * If any internal errors are encountered inside the client while\n * attempting to make the request or handle the response. For example\n * if a network connection is not available.\n * @throws AmazonServiceException\n * If an error response is returned by AmazonConfig indicating\n * either a problem with the data in the request, or a server side issue.\n */\n public Future<Void> stopConfigurationRecorderAsync(StopConfigurationRecorderRequest stopConfigurationRecorderRequest,\n AsyncHandler<StopConfigurationRecorderRequest, Void> asyncHandler)\n throws AmazonServiceException, AmazonClientException;\n\n /**\n * <p>\n * Schedules delivery of a configuration snapshot to the Amazon S3\n * bucket in the specified delivery channel. After the delivery has\n * started, AWS Config sends following notifications using an Amazon SNS\n * topic that you have specified.\n * </p>\n * \n * <ul>\n * <li>Notification of starting the delivery.</li>\n * <li>Notification of delivery completed, if the delivery was\n * successfully completed.</li>\n * <li>Notification of delivery failure, if the delivery failed to\n * complete.</li>\n * \n * </ul>\n *\n * @param deliverConfigSnapshotRequest Container for the necessary\n * parameters to execute the DeliverConfigSnapshot operation on\n * AmazonConfig.\n * \n * @return A Java Future object containing the response from the\n * DeliverConfigSnapshot service method, as returned by AmazonConfig.\n * \n *\n * @throws AmazonClientException\n * If any internal errors are encountered inside the client while\n * attempting to make the request or handle the response. For example\n * if a network connection is not available.\n * @throws AmazonServiceException\n * If an error response is returned by AmazonConfig indicating\n * either a problem with the data in the request, or a server side issue.\n */\n public Future<DeliverConfigSnapshotResult> deliverConfigSnapshotAsync(DeliverConfigSnapshotRequest deliverConfigSnapshotRequest) \n throws AmazonServiceException, AmazonClientException;\n\n /**\n * <p>\n * Schedules delivery of a configuration snapshot to the Amazon S3\n * bucket in the specified delivery channel. After the delivery has\n * started, AWS Config sends following notifications using an Amazon SNS\n * topic that you have specified.\n * </p>\n * \n * <ul>\n * <li>Notification of starting the delivery.</li>\n * <li>Notification of delivery completed, if the delivery was\n * successfully completed.</li>\n * <li>Notification of delivery failure, if the delivery failed to\n * complete.</li>\n * \n * </ul>\n *\n * @param deliverConfigSnapshotRequest Container for the necessary\n * parameters to execute the DeliverConfigSnapshot operation on\n * AmazonConfig.\n * @param asyncHandler Asynchronous callback handler for events in the\n * life-cycle of the request. Users could provide the implementation of\n * the four callback methods in this interface to process the operation\n * result or handle the exception.\n * \n * @return A Java Future object containing the response from the\n * DeliverConfigSnapshot service method, as returned by AmazonConfig.\n * \n *\n * @throws AmazonClientException\n * If any internal errors are encountered inside the client while\n * attempting to make the request or handle the response. For example\n * if a network connection is not available.\n * @throws AmazonServiceException\n * If an error response is returned by AmazonConfig indicating\n * either a problem with the data in the request, or a server side issue.\n */\n public Future<DeliverConfigSnapshotResult> deliverConfigSnapshotAsync(DeliverConfigSnapshotRequest deliverConfigSnapshotRequest,\n AsyncHandler<DeliverConfigSnapshotRequest, DeliverConfigSnapshotResult> asyncHandler)\n throws AmazonServiceException, AmazonClientException;\n\n /**\n * <p>\n * Creates a new configuration recorder to record the resource\n * configurations.\n * </p>\n * <p>\n * You can use this action to change the role ( <code>roleARN</code> )\n * of an existing recorder. To change the role, call the action on the\n * existing configuration recorder and specify a role.\n * </p>\n * <p>\n * <b>NOTE:</b> Currently, you can specify only one configuration\n * recorder per account.\n * </p>\n *\n * @param putConfigurationRecorderRequest Container for the necessary\n * parameters to execute the PutConfigurationRecorder operation on\n * AmazonConfig.\n * \n * @return A Java Future object containing the response from the\n * PutConfigurationRecorder service method, as returned by AmazonConfig.\n * \n *\n * @throws AmazonClientException\n * If any internal errors are encountered inside the client while\n * attempting to make the request or handle the response. For example\n * if a network connection is not available.\n * @throws AmazonServiceException\n * If an error response is returned by AmazonConfig indicating\n * either a problem with the data in the request, or a server side issue.\n */\n public Future<Void> putConfigurationRecorderAsync(PutConfigurationRecorderRequest putConfigurationRecorderRequest) \n throws AmazonServiceException, AmazonClientException;\n\n /**\n * <p>\n * Creates a new configuration recorder to record the resource\n * configurations.\n * </p>\n * <p>\n * You can use this action to change the role ( <code>roleARN</code> )\n * of an existing recorder. To change the role, call the action on the\n * existing configuration recorder and specify a role.\n * </p>\n * <p>\n * <b>NOTE:</b> Currently, you can specify only one configuration\n * recorder per account.\n * </p>\n *\n * @param putConfigurationRecorderRequest Container for the necessary\n * parameters to execute the PutConfigurationRecorder operation on\n * AmazonConfig.\n * @param asyncHandler Asynchronous callback handler for events in the\n * life-cycle of the request. Users could provide the implementation of\n * the four callback methods in this interface to process the operation\n * result or handle the exception.\n * \n * @return A Java Future object containing the response from the\n * PutConfigurationRecorder service method, as returned by AmazonConfig.\n * \n *\n * @throws AmazonClientException\n * If any internal errors are encountered inside the client while\n * attempting to make the request or handle the response. For example\n * if a network connection is not available.\n * @throws AmazonServiceException\n * If an error response is returned by AmazonConfig indicating\n * either a problem with the data in the request, or a server side issue.\n */\n public Future<Void> putConfigurationRecorderAsync(PutConfigurationRecorderRequest putConfigurationRecorderRequest,\n AsyncHandler<PutConfigurationRecorderRequest, Void> asyncHandler)\n throws AmazonServiceException, AmazonClientException;\n\n /**\n * <p>\n * Returns a list of configuration items for the specified resource. The\n * list contains details about each state of the resource during the\n * specified time interval. You can specify a <code>limit</code> on the\n * number of results returned on the page. If a limit is specified, a\n * <code>nextToken</code> is returned as part of the result that you can\n * use to continue this request.\n * </p>\n * <p>\n * <b>NOTE:</b> Each call to the API is limited to span a duration of\n * seven days. It is likely that the number of records returned is\n * smaller than the specified limit. In such cases, you can make another\n * call, using the nextToken .\n * </p>\n *\n * @param getResourceConfigHistoryRequest Container for the necessary\n * parameters to execute the GetResourceConfigHistory operation on\n * AmazonConfig.\n * \n * @return A Java Future object containing the response from the\n * GetResourceConfigHistory service method, as returned by AmazonConfig.\n * \n *\n * @throws AmazonClientException\n * If any internal errors are encountered inside the client while\n * attempting to make the request or handle the response. For example\n * if a network connection is not available.\n * @throws AmazonServiceException\n * If an error response is returned by AmazonConfig indicating\n * either a problem with the data in the request, or a server side issue.\n */\n public Future<GetResourceConfigHistoryResult> getResourceConfigHistoryAsync(GetResourceConfigHistoryRequest getResourceConfigHistoryRequest) \n throws AmazonServiceException, AmazonClientException;\n\n /**\n * <p>\n * Returns a list of configuration items for the specified resource. The\n * list contains details about each state of the resource during the\n * specified time interval. You can specify a <code>limit</code> on the\n * number of results returned on the page. If a limit is specified, a\n * <code>nextToken</code> is returned as part of the result that you can\n * use to continue this request.\n * </p>\n * <p>\n * <b>NOTE:</b> Each call to the API is limited to span a duration of\n * seven days. It is likely that the number of records returned is\n * smaller than the specified limit. In such cases, you can make another\n * call, using the nextToken .\n * </p>\n *\n * @param getResourceConfigHistoryRequest Container for the necessary\n * parameters to execute the GetResourceConfigHistory operation on\n * AmazonConfig.\n * @param asyncHandler Asynchronous callback handler for events in the\n * life-cycle of the request. Users could provide the implementation of\n * the four callback methods in this interface to process the operation\n * result or handle the exception.\n * \n * @return A Java Future object containing the response from the\n * GetResourceConfigHistory service method, as returned by AmazonConfig.\n * \n *\n * @throws AmazonClientException\n * If any internal errors are encountered inside the client while\n * attempting to make the request or handle the response. For example\n * if a network connection is not available.\n * @throws AmazonServiceException\n * If an error response is returned by AmazonConfig indicating\n * either a problem with the data in the request, or a server side issue.\n */\n public Future<GetResourceConfigHistoryResult> getResourceConfigHistoryAsync(GetResourceConfigHistoryRequest getResourceConfigHistoryRequest,\n AsyncHandler<GetResourceConfigHistoryRequest, GetResourceConfigHistoryResult> asyncHandler)\n throws AmazonServiceException, AmazonClientException;\n\n /**\n * <p>\n * Returns details about the specified delivery channel. If a delivery\n * channel is not specified, this action returns the details of all\n * delivery channels associated with the account.\n * </p>\n * <p>\n * <b>NOTE:</b> Currently, you can specify only one delivery channel per\n * account.\n * </p>\n *\n * @param describeDeliveryChannelsRequest Container for the necessary\n * parameters to execute the DescribeDeliveryChannels operation on\n * AmazonConfig.\n * \n * @return A Java Future object containing the response from the\n * DescribeDeliveryChannels service method, as returned by AmazonConfig.\n * \n *\n * @throws AmazonClientException\n * If any internal errors are encountered inside the client while\n * attempting to make the request or handle the response. For example\n * if a network connection is not available.\n * @throws AmazonServiceException\n * If an error response is returned by AmazonConfig indicating\n * either a problem with the data in the request, or a server side issue.\n */\n public Future<DescribeDeliveryChannelsResult> describeDeliveryChannelsAsync(DescribeDeliveryChannelsRequest describeDeliveryChannelsRequest) \n throws AmazonServiceException, AmazonClientException;\n\n /**\n * <p>\n * Returns details about the specified delivery channel. If a delivery\n * channel is not specified, this action returns the details of all\n * delivery channels associated with the account.\n * </p>\n * <p>\n * <b>NOTE:</b> Currently, you can specify only one delivery channel per\n * account.\n * </p>\n *\n * @param describeDeliveryChannelsRequest Container for the necessary\n * parameters to execute the DescribeDeliveryChannels operation on\n * AmazonConfig.\n * @param asyncHandler Asynchronous callback handler for events in the\n * life-cycle of the request. Users could provide the implementation of\n * the four callback methods in this interface to process the operation\n * result or handle the exception.\n * \n * @return A Java Future object containing the response from the\n * DescribeDeliveryChannels service method, as returned by AmazonConfig.\n * \n *\n * @throws AmazonClientException\n * If any internal errors are encountered inside the client while\n * attempting to make the request or handle the response. For example\n * if a network connection is not available.\n * @throws AmazonServiceException\n * If an error response is returned by AmazonConfig indicating\n * either a problem with the data in the request, or a server side issue.\n */\n public Future<DescribeDeliveryChannelsResult> describeDeliveryChannelsAsync(DescribeDeliveryChannelsRequest describeDeliveryChannelsRequest,\n AsyncHandler<DescribeDeliveryChannelsRequest, DescribeDeliveryChannelsResult> asyncHandler)\n throws AmazonServiceException, AmazonClientException;\n\n /**\n * <p>\n * Returns the current status of the specified configuration recorder.\n * If a configuration recorder is not specified, this action returns the\n * status of all configuration recorder associated with the account.\n * </p>\n * <p>\n * <b>NOTE:</b>Currently, you can specify only one configuration\n * recorder per account.\n * </p>\n *\n * @param describeConfigurationRecorderStatusRequest Container for the\n * necessary parameters to execute the\n * DescribeConfigurationRecorderStatus operation on AmazonConfig.\n * \n * @return A Java Future object containing the response from the\n * DescribeConfigurationRecorderStatus service method, as returned by\n * AmazonConfig.\n * \n *\n * @throws AmazonClientException\n * If any internal errors are encountered inside the client while\n * attempting to make the request or handle the response. For example\n * if a network connection is not available.\n * @throws AmazonServiceException\n * If an error response is returned by AmazonConfig indicating\n * either a problem with the data in the request, or a server side issue.\n */\n public Future<DescribeConfigurationRecorderStatusResult> describeConfigurationRecorderStatusAsync(DescribeConfigurationRecorderStatusRequest describeConfigurationRecorderStatusRequest) \n throws AmazonServiceException, AmazonClientException;\n\n /**\n * <p>\n * Returns the current status of the specified configuration recorder.\n * If a configuration recorder is not specified, this action returns the\n * status of all configuration recorder associated with the account.\n * </p>\n * <p>\n * <b>NOTE:</b>Currently, you can specify only one configuration\n * recorder per account.\n * </p>\n *\n * @param describeConfigurationRecorderStatusRequest Container for the\n * necessary parameters to execute the\n * DescribeConfigurationRecorderStatus operation on AmazonConfig.\n * @param asyncHandler Asynchronous callback handler for events in the\n * life-cycle of the request. Users could provide the implementation of\n * the four callback methods in this interface to process the operation\n * result or handle the exception.\n * \n * @return A Java Future object containing the response from the\n * DescribeConfigurationRecorderStatus service method, as returned by\n * AmazonConfig.\n * \n *\n * @throws AmazonClientException\n * If any internal errors are encountered inside the client while\n * attempting to make the request or handle the response. For example\n * if a network connection is not available.\n * @throws AmazonServiceException\n * If an error response is returned by AmazonConfig indicating\n * either a problem with the data in the request, or a server side issue.\n */\n public Future<DescribeConfigurationRecorderStatusResult> describeConfigurationRecorderStatusAsync(DescribeConfigurationRecorderStatusRequest describeConfigurationRecorderStatusRequest,\n AsyncHandler<DescribeConfigurationRecorderStatusRequest, DescribeConfigurationRecorderStatusResult> asyncHandler)\n throws AmazonServiceException, AmazonClientException;\n}", "public Task getTask() { return task; }", "public static Handler getInstance() {\n Object object = sHandler;\n if (object != null) {\n return sHandler;\n }\n object = MainThreadAsyncHandler.class;\n synchronized (object) {\n Handler handler = sHandler;\n if (handler == null) {\n handler = Looper.getMainLooper();\n sHandler = handler = HandlerCompat.createAsync((Looper)handler);\n }\n return sHandler;\n }\n }", "public String get() {\n return getImpl(this.url);\n }", "public Proxy getProxy(Proxy p){\n if(p != null){\n doInit(p);\n }\n mode = COMMAND_MODE;\n pack();\n show();\n return proxy;\n }", "public final T getResult() {\n join();\n return self();\n }", "public alluxio.proto.journal.File.AsyncPersistRequestEntry getAsyncPersistRequest() {\n return asyncPersistRequest_;\n }", "public ProxySelector proxySelector() {\n return proxySelector;\n }", "@Override\n @SuppressWarnings({\"unchecked\", \"rawtypes\"})\n public Future<jsonvalues.JsObj> get() {\n\n List<String> keys = bindings.keysIterator()\n .toList();\n\n\n java.util.List futures = bindings.values()\n .map(Supplier::get)\n .toJavaList();\n return CompositeFuture.all(futures)\n .map(r -> {\n JsObj result = JsObj.empty();\n java.util.List<?> list = r.result()\n .list();\n for (int i = 0; i < list.size(); i++) {\n result = result.set(keys.get(i),\n ((JsValue) list.get(i))\n );\n }\n\n return result;\n\n });\n\n\n\n /* Future<jsonvalues.JsObj> result = Future.succeededFuture(jsonvalues.JsObj.empty());\n\n for (final Tuple2<String, Exp<? extends JsValue>> tuple : bindings.iterator()) {\n result = result.flatMap(obj -> tuple._2.get()\n .map(v -> obj.set(tuple._1,\n v\n )));\n }\n\n\n return result;*/\n }", "public T getResponse() {\n return response;\n }", "@Nonnull\n public Proxy.Type getProxyType() {\n return proxyType;\n }", "public static Client getHttpClient() {\r\n return c;\r\n }", "public T delegate() {\n return _delegate;\n }", "public ListenableFuture<SendResult> getSendResultFuture() {\n return this.sendResultFuture;\n }", "public String getProxyServer() {\n return proxyServer;\n }", "public CompletableFuture<?> getReleaseFuture() {\n\t\treturn releaseFuture;\n\t}", "protected RemoteApi getRemoteApi() {\n return getLockssDaemon().getRemoteApi();\n }", "public T get() {\n return cache.getUnchecked(clazz);\n }" ]
[ "0.63955146", "0.61772734", "0.61702067", "0.6043204", "0.60188717", "0.6017261", "0.5926057", "0.5889058", "0.5856162", "0.5802166", "0.57543486", "0.57435143", "0.57362795", "0.5727432", "0.5698987", "0.56903905", "0.56887335", "0.5685552", "0.5656623", "0.56340396", "0.56132245", "0.5566074", "0.5557363", "0.555026", "0.55251336", "0.54549426", "0.54531366", "0.5452466", "0.54070413", "0.5394252", "0.53556764", "0.5351837", "0.53175646", "0.5316385", "0.5217184", "0.52015483", "0.5184473", "0.5181858", "0.51791143", "0.51589465", "0.51465064", "0.51365805", "0.5129961", "0.51296693", "0.5126072", "0.5098472", "0.5082971", "0.5074862", "0.5074734", "0.50713223", "0.5062686", "0.5060756", "0.50575143", "0.5046295", "0.5043527", "0.5043257", "0.50388247", "0.49850762", "0.49846506", "0.4984325", "0.49831504", "0.49798658", "0.4977363", "0.49744734", "0.49678603", "0.4962235", "0.49619746", "0.49437985", "0.49409893", "0.49405867", "0.493782", "0.49338633", "0.4930045", "0.49296862", "0.4926819", "0.49265954", "0.492322", "0.49142238", "0.490911", "0.48998356", "0.4883913", "0.48805502", "0.487972", "0.4871814", "0.48586392", "0.48544976", "0.48533267", "0.48446536", "0.4844181", "0.48418647", "0.4839627", "0.48396057", "0.4835658", "0.48316863", "0.4822125", "0.48169374", "0.48148698", "0.4807905", "0.48064795", "0.4806098" ]
0.6691441
0
Sets the volume of texttospeech output.
public void setVolume(Float volume) throws DynamicCallException, ExecutionException { call("setVolume", volume).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setVolume(int volume);", "void setVolume(float volume);", "public void setVolume(int volume) {\n mBundle.putInt(KEY_VOLUME, volume);\n }", "public void setVolume(float volume) {\n }", "public void setVolume(int v) {\n volume = v;\n }", "@Override\r\n\tpublic void setVolume(float volume) {\n\t\t\r\n\t}", "public void setVolume(float volume) {\r\n\t\tthis.volume = volume;\r\n\t}", "public void setVolume(int volume) {\n\t\tthis.volume = volume;\n\t}", "public void changeVolume(double volume){\n\t\tsynth.changeVolume(volume);\n\t}", "public void setVolume(double value) {\n this.volume = value;\n }", "public void setVolume(double volume)\n {\n mediaPlayer.setVolume(volume);\n }", "public void setVolume(final int volume) {\r\n\t\tthis.volume = volume;\r\n\t}", "void volume(double volume) {\n execute(\"player.volume = \" + volume);\n }", "@Override\n \tpublic void onSetVolume(double arg0) {\n \t}", "public void setVolume(int level);", "@Override\n\t\tpublic void setVolume(int volume) {\n\t\t\tif(volume>RemoteControl.MAX_VOLUME) {\n\t\t\t\tthis.volume = RemoteControl.MAX_VOLUME;\n\t\t\t}else if(volume<RemoteControl.MIN_VOLUME) {\n\t\t\t\tthis.volume = RemoteControl.MIN_VOLUME;\n\t\t\t}else {\n\t\t\t\tthis.volume = volume;\n\t\t\t}\n\t\t\tSystem.out.println(\"현재 오디오 볼륨은 \"+this.volume);\n\t\t}", "public abstract SoundPlayer setVolume(int volume);", "public void setVolume(float volume) {\n\t alSourcef(musicSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(reverseSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(flangeSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(revFlangeSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(wahSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(revWahSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(wahFlangeSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(revWahFlangeSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(distortSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(revDistortSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(distortFlangeSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(revDistortFlangeSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(wahDistortSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(revWahDistortSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(wahDistortFlangeSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(revWahDistortFlangeSourceIndex, AL_GAIN, volume / 100.0f);\n\t}", "public void setVolume(float volume) {\n mediaPlayer.setVolume(volume, volume);\n }", "@Override\r\n\t\tpublic void dmr_setVolume(int volume) throws RemoteException {\n\t\t\tint flag = 4097;\r\n\t\t\tmAmanager.setStreamVolume(AudioManager.STREAM_MUSIC, volume,\r\n\t\t\t\t\tflag);\r\n\t\t\tUtils.printLog(TAG, \"soundManager.setVolume\" + volume);\r\n\t\t}", "public void setVolume(int v) {\n\t\tif (On) {\n\t\t\tif (v < 0 || v > 5) {\n\t\t\t\tSystem.out.println(\"New volume not within range!\");\n\t\t\t} else {\n\t\t\t\tVolume = v;\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.out.println(\"Radio off ==> No adjustment possible\");\n\n\t\t}\n\t}", "public void updateVolume() {\n\t\tMixer.Info[] mixerInfos = AudioSystem.getMixerInfo();\n\n\t\tfor (Mixer.Info mixerInfo : mixerInfos) {\n\t\t\tMixer mixer = AudioSystem.getMixer(mixerInfo);\n\t\t\tLine.Info[] lineInfos = mixer.getTargetLineInfo();\n\n\t\t\tfor (Line.Info lineInfo : lineInfos) {\n\t\t\t\ttry {\n\t\t\t\t\tLine line = mixer.getLine(lineInfo);\n\t\t\t\t\tline.open();\n\t\t\t\t\tif (line.isControlSupported(FloatControl.Type.VOLUME)) {\n\t\t\t\t\t\tFloatControl volumeControl = (FloatControl) line.getControl(FloatControl.Type.VOLUME);\n\t\t\t\t\t\tvolumeControl.setValue((float) volume);\n\t\t\t\t\t}\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "@Override\r\n\tpublic void changeVolume(int volume) {\n\t\tSystem.out.println(\"볼륨을 조절하다\");\r\n\t}", "public Builder setVolume(int value) {\n bitField0_ |= 0x00000008;\n volume_ = value;\n onChanged();\n return this;\n }", "public void setVolume(double volume)\n {\n if (this.mediaPlayer == null)\n {\n return;\n }\n\n this.mediaPlayer.setVolume(volume);\n }", "public void setSoundVolume(float soundVolume) {\n _soundVolume = soundVolume;\n }", "public void setVolume(float value){\n\t\tgainControl.setValue(value);\n\t}", "public void setVolumeProgress(Double volumeProgress) {\n this.volumeProgress = volumeProgress;\n }", "public void setVolume(byte newVolume){\r\n\t\tvolume = newVolume > 10 ? 10 : newVolume;\r\n\t}", "public void mute() {\n this.tv.setVolume(0);\r\n }", "@SuppressWarnings(\"unchecked\")\n\tpublic void setEffectsVolume(float volume){\n\t\tvolume = volume / 100;\n\t\tif (volume < 0){\n\t\t\tvolume = 0;\n\t\t}\t\n\t\tif (volume > 1){\n\t\t\tvolume = 1;\n\t\t}\n\t\t\n\t\tthis.mLeftVolume = this.mRightVolume = volume;\n\t\t\n\t\t// change the volume of playing sounds\n\t\tIterator<?> iter = this.mSoundIdStreamIdMap.entrySet().iterator();\n\t\twhile (iter.hasNext()){\n\t\t\tMap.Entry<Integer, Integer> entry = (Map.Entry<Integer, Integer>)iter.next();\n\t\t\tthis.mSoundPool.setVolume(entry.getValue(), mLeftVolume, mRightVolume);\n\t\t}\n\t}", "public void setVolume(float newVolume) {\n\t\tthis.volume = newVolume;\n\t}", "public void adjustVolume(double volume) {\n try {\n controller.setGain(volume);\n this.volume = volume;\n } catch (BasicPlayerException e) {\n e.printStackTrace();\n }\n }", "public void resetVolume() {\n\t\tthis.volume = defaultVolume;\n\t}", "public void mute() {\n\t\tif (isMute) {\n\t\t\tplaybin.setVolume(0);\n\t\t\tisMute = false;\n\t\t} else {\n\t\t\tplaybin.setVolume(volume);\n\t\t\tisMute = true;\n\t\t}\n\t}", "@Test\n public void setVolume() {\n final int volume = 16;\n\n getApplicationHandler().setVolume(volume, true);\n\n assertTrue(getApplicationHandler().getVolume() == volume);\n expandPanel();\n onView(withId(R.id.vli_seek_bar)).check(matches(withProgress(volume)));\n onView(withId(R.id.vli_volume_text)).check(matches(withText(String.valueOf(volume))));\n }", "public Future<Void> setVolume(Float volume) throws DynamicCallException, ExecutionException{\n return call(\"setVolume\", volume);\n }", "public void increseVolume() {\n\t\tvolume++;\n\t\tSystem.out.println(\"MobilePhone当前音量为:\"+volume);\n\t}", "void changeVolume(int newVolume) {\n if (newVolume < 0) {\n throw new IllegalArgumentException(\"Invalid volume\");\n }\n this.volume = newVolume;\n }", "@Override\n public void onSetVolume(int result) {\n Log.d(\"DLNA\", \"onSetVolume result:\" + result);\n }", "public void increaseVolume()\r\n {\r\n volume++;\r\n }", "public static void setSoundEffectVolume(int volume)\n\t{\n\t\tPreconditions.checkArgument(volume >= 0, \"Sound effect volume was less than zero: %s\", volume);\n\t\tPreconditions.checkArgument(volume <= 100, \"Sound effect volume was greater than 100: %s\", volume);\n\t\t\n\t\tsoundEffectVolume = volume;\n\t}", "@Override\n\t\t\tpublic void onProgressChanged(SeekBar arg0, int arg1, boolean arg2) {\n\t\t\t\tmediaPlayer.setVolume(arg1, arg1);\n\t\t\t}", "public static void setMusicVolume(int volume)\n\t{\n\t\tPreconditions.checkArgument(volume >= 0, \"Music volume was less than zero: %s\", volume);\n\t\tPreconditions.checkArgument(volume <= 100, \"Music volume was greater than 100: %s\", volume);\n\t\t\n\t\tmusicVolume = volume;\n\t}", "protected void updateVolumeTextView(String text) {\n mVolTextView.setText(text);\n }", "private static void m18335b(AudioTrack audioTrack, float volume) {\n audioTrack.setStereoVolume(volume, volume);\n }", "public void increaseVolume() {\r\n\t\tvolume++;\r\n\t}", "@Override\n\tpublic void volume() {\n\t\tsolido.volume = (solido.areaBase * altura) / 3;\n\t}", "void setFluidContents(int volume);", "private void mute(String[] command) {\n\t\ttry {\n\t\t\tnew ProcessBuilder(Constants.CH_PATH_NIRCMD, \"mutesysvolume\", \"1\")\n\t\t\t\t\t.start();\n\t\t\tSystem.out.println(\"Muting sound.\");\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "@JsAccessible\n public void onVolumeChanged(double volume, boolean muted) {\n volumeChangedListeners.forEach(listener -> listener.accept(muted));\n }", "public void updateVolume(){\r\n if(currentLoop0) backgroundMusicLoop0.gainControl.setValue(Window.musicVolume);\r\n else backgroundMusicLoop1.gainControl.setValue(Window.musicVolume);\r\n }", "public double getVolume() { return volume; }", "public boolean setPropertyVolume(long aValue);", "public void setVolumeSize(Integer volumeSize) {\n this.volumeSize = volumeSize;\n }", "public Conserve(double pVolume) {\n\t\tthis.volume = pVolume;\n\t}", "public double getVolume() {\n return volume;\n }", "@Override\r\n\tpublic void volume() {\n\t\tSystem.out.println(\"Turn up\");\r\n\t\t\r\n\t}", "public static void halfVolume() {\n volume = 50;\n System.out.println(\"Volume: \" + volume);\n//end of modifiable zone(JavaCode)........E/30cff6a1-f5dd-43b9-94cb-285201f52ee7\n }", "public void setVolume(int level) {\n if(level >= 0 && level <= 100) {\n int checkSum = 0x07^0x01^0x00^0x44^level^level; \n String hexLevel = Integer.toHexString(level);\n if(hexLevel.length() == 1)\n hexLevel = \"0\" + hexLevel;\n String hexCheckSum = Integer.toHexString(checkSum);\n if(hexCheckSum.length() == 1)\n hexCheckSum = \"0\" + hexCheckSum;\n sendHexCommand(\"07 01 00 44 \" + hexLevel + \" \" + hexLevel + \" \"+\n hexCheckSum, 20);\n lastVolumeChange = System.currentTimeMillis();\n }\n }", "public void adjustVolume(MediaDevice device, int volume) {\n ThreadUtils.postOnBackgroundThread(() -> {\n device.requestSetVolume(volume);\n });\n }", "public void setStorageVolumeInfo(VPlexStorageVolumeInfo volumeInfo) {\n storageVolumeInfo = volumeInfo;\n }", "public void activateVolume(boolean on){\n\n\t\tif(prevPitch != cow.getPitch()) {\n\t\t\tcow.setIsPlaying(on);\n\n\t\t\t//if(sequencer.isRunning()) {\n\t\t\t\tcow.stopNote(synthesizer);\n\t\t\t//-}\n\n\t\t\tif (cow.getIsPlaying()) {\n\t\t\t\tsynthesizer = cow.playNote();\n\t\t\t}\n\n\t\t\tprevPitch = cow.getPitch();\n\t\t}\n\t\t\n\t}", "public int getVolume() {\n return volume;\n }", "public void setVolumeType(String volumeType) {\n this.volumeType = volumeType;\n }", "public void setVolumeType(String volumeType) {\n this.volumeType = volumeType;\n }", "int getVolume();", "int getVolume();", "int getVolume() {\n return this.volume;\n }", "public int getVolume() {\r\n\t\treturn volume;\r\n\t}", "@Test\n public void changeVolume() throws TimeoutException {\n final int volume = 16;\n expandPanel();\n\n onView(withId(R.id.vli_seek_bar)).perform(ViewActions.slideSeekBar(volume));\n\n onView(withId(R.id.vli_seek_bar)).check(matches(withProgress(volume)));\n onView(withId(R.id.vli_volume_text)).check(matches(withText(String.valueOf(volume))));\n\n getConnectionHandlerManager().waitForMethodHandled(Application.SetVolume.METHOD_NAME, 10000);\n assertTrue(\"applicationHandler volume: \"+ getApplicationHandler().getVolume()\n + \" != \" + volume, getApplicationHandler().getVolume() == volume);\n }", "public int getVolume() {\n return volume_;\n }", "public void setVolumeMax(int volumeMax) {\n mBundle.putInt(KEY_VOLUME_MAX, volumeMax);\n }", "public void decreaseVolume() {\n\t\tvolume--;\n\t\tSystem.out.println(\"MobilePhone当前音量为:\"+volume);\n\t}", "public static void setMasterVolume(float masterVolume){\r\n\t\tif(masterVolume <= 1.0f && masterVolume >= 0.0f){\r\n\t\t\tSound.masterVolume = masterVolume;\r\n\t\t}else if(masterVolume < 0.0f){\r\n\t\t\tSound.masterVolume = 0.0f;\r\n\t\t}else{\r\n\t\t\tSound.masterVolume = 1.0f;\r\n\t\t}\r\n\t\tSound.masterVolumeStorage = Sound.masterVolume;\r\n\t}", "@Override\n public void onProgressChanged(SeekBar seekBar, int progress,boolean fromUser) {\n TextView txtV_volume = inf.findViewById(R.id.textView9);\n txtV_volume.setText(\"\"+progress+\" ml\");\n }", "@Override\n\tpublic void calcularVolume() {\n\t\t\n\t}", "public float getVolume()\n {\n return volume;\n }", "void setRemainingVolume(int newRemainingVolume) throws Exception;", "public long getPropertyVolume();", "public byte getVolume(){\r\n\t\treturn volume;\r\n\t}", "@Override\r\n\tpublic void volumeUp() {\n\t\tSystem.out.println(\"ig tv volume on\");\r\n\r\n\t}", "public int getVolume() {\n return volume_;\n }", "public int getVolume();", "@Override\n public void setAudioVolumeInsideVolumeSeekBar(int i) {\n float currentVolume = 1.0f;\n if (i < PlayerConstants.MaxProgress) {\n currentVolume = (float)(1.0f - (Math.log(PlayerConstants.MaxProgress - i) / Math.log(PlayerConstants.MaxProgress)));\n }\n setAudioVolume(currentVolume);\n //\n }", "public void setAudioVolumeUp(int streamType) {\n mAudioManager.adjustStreamVolume(streamType, AudioManager.ADJUST_RAISE,\n AudioManager.FLAG_SHOW_UI);\n }", "@Override\n\tpublic void volumeUp() {\n\t\tSystem.out.println(\"samsongTV volumeUp\");\n\n\t}", "public float getSoundVolume() {\n return _soundVolume;\n }", "public double getVolume()\n {\n return volume / 512;\n }", "public String volume() {\n return mVolume;\n }", "public double getVolume()\n {\n return this.volume;\n }", "@Override\n\t\t\tpublic void onProgressChanged(SeekBar seekBar, int progress,\n\t\t\t\t\tboolean fromUser) {\n\t\t\t\tfloat set = (float) progress/100;\n\t\t\t\tLog.v(\"set\", set+\"\");\n\t\t\t\tmMediaPlayer[0].setVolume(set,set);\n\t\t\t}", "public void enablePropertyVolume()\n {\n iPropertyVolume = new PropertyUint(new ParameterUint(\"Volume\"));\n addProperty(iPropertyVolume);\n }", "public static void maxVolume() {\n volume = 100;\n System.out.println(\"Volume: \" + volume);\n//end of modifiable zone(JavaCode)........E/883cef54-8649-49b6-b371-11234437d0eb\n }", "public void setVolumeFactor(float volumeFactor) {\r\n\t\tthis.volumeFactor = volumeFactor;\r\n\t}", "protected void enableActionSetVolume()\n {\n Action action = new Action(\"SetVolume\");\n action.addInputParameter(new ParameterRelated(\"Value\", iPropertyVolume));\n iDelegateSetVolume = new DoSetVolume();\n enableAction(action, iDelegateSetVolume);\n }", "ModuleComponent volume();", "public float getVolume() {\n return 1.0f;\n }", "public void setVolumeLitres(final double volumeLitres) {\n if (volumeLitres >= 0.0) {\n this.volumeLitres = volumeLitres;\n }\n }", "public static void setDefaultVolume(float newDefault) {\n\t\tdefaultVolume = newDefault;\n\t}" ]
[ "0.72396475", "0.7202993", "0.70552754", "0.6965316", "0.6945306", "0.6944757", "0.6910864", "0.6883281", "0.68803674", "0.685386", "0.6832721", "0.6812976", "0.67483187", "0.66980577", "0.66165507", "0.6615563", "0.6535909", "0.65120035", "0.6489582", "0.64706546", "0.64413565", "0.6413438", "0.6376432", "0.63509935", "0.6334376", "0.6288665", "0.62833565", "0.62158066", "0.6156546", "0.61463004", "0.6122762", "0.6096677", "0.6091124", "0.6075954", "0.60663855", "0.6057276", "0.5987314", "0.5982001", "0.5975968", "0.5947866", "0.592834", "0.59120846", "0.58916396", "0.5875384", "0.58678335", "0.58537966", "0.5850663", "0.58394027", "0.5828082", "0.579857", "0.57846737", "0.5782536", "0.5765361", "0.57597345", "0.57341343", "0.56775093", "0.56477815", "0.56097597", "0.5602566", "0.56016797", "0.55988675", "0.55931795", "0.5571344", "0.55708027", "0.55597425", "0.55597425", "0.5551174", "0.5551174", "0.5547488", "0.5544085", "0.55440617", "0.55388355", "0.55350083", "0.5534843", "0.55251604", "0.552504", "0.55120176", "0.5511417", "0.55083907", "0.550457", "0.55004925", "0.54944265", "0.54931325", "0.5482535", "0.54677397", "0.54604095", "0.5454203", "0.5445474", "0.5438779", "0.54308873", "0.54256356", "0.5425215", "0.54184043", "0.5416118", "0.54114753", "0.5402162", "0.5400872", "0.5393355", "0.53901416", "0.5385451" ]
0.6535719
17
Get the locale associate to the current language.
public String locale() throws DynamicCallException, ExecutionException { return (String)call("locale").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Locale getLocale() {\n return localeInfo.get();\n }", "public String getLocale ( ) {\n\t\treturn extract ( handle -> getLocale ( ) );\n\t}", "java.lang.String getLocale();", "public Locale getLocale() {\n return getULocale().toLocale();\n }", "public java.util.Locale getLocale() {\n MenuContainer parent = MenuComponent.this.getParent();\n if (parent instanceof Component)\n return ((Component)parent).getLocale();\n else\n return java.util.Locale.getDefault();\n }", "public ULocale getLocale() {\r\n return this.locale;\r\n }", "public String getLocale() {\n return (String)getAttributeInternal(LOCALE);\n }", "public String getLocale() {\n return (String)getAttributeInternal(LOCALE);\n }", "public String getLocale() {\n return this.locale;\n }", "public Locale getLocale() {\n if (this.locale == null) {\n return Locale.getDefault();\n }\n return this.locale;\n }", "String getCurrentLocaleString();", "public String getLocale()\n {\n return (m_taskVector == null || m_taskVector.size() == 0) ?\n DEFAULT_LOCALE :\n taskAt(0).getSourceLanguage();\n }", "public Locale getLocale() {\r\n if (this.locale == null) {\r\n return Locale.getDefault();\r\n } else {\r\n return locale;\r\n }\r\n }", "public Locale getLocale() {\r\n if (this.locale == null) {\r\n return Locale.getDefault();\r\n } else {\r\n return locale;\r\n }\r\n }", "public Locale getLocale() {\r\n if (this.locale == null) {\r\n return Locale.getDefault();\r\n } else {\r\n return locale;\r\n }\r\n }", "public String locale() {\n return this.locale;\n }", "public Locale getLocale() {\n\t\t\n\t\treturn locale;\n\t}", "public Locale getCurrentLocale() {\r\n\t\t// NOTE: should be written in some properties file\r\n\t\tLocale defaultLocale = getLocale();\r\n\t\tLocale locale = getUsersLocale();\r\n\t\t\r\n\t\tif (locale == null) {\r\n\t\t\treturn defaultLocale;\r\n\t\t}\r\n\t\treturn locale;\r\n\t}", "Optional<Locale> getLanguage();", "private Locale getLocale() {\n Locale selectedLocale = (Locale) Sessions.getCurrent().getAttribute(Attributes.PREFERRED_LOCALE);\n if (selectedLocale != null) {\n return selectedLocale;\n }\n Locale defaultLocale = ((HttpServletRequest) Executions.getCurrent().getNativeRequest()).getLocale();\n Sessions.getCurrent().setAttribute(org.zkoss.web.Attributes.PREFERRED_LOCALE, defaultLocale);\n return defaultLocale;\n }", "public Locale getLocaleL() {\n\t\treturn panelVirtualKeyboard.getLocaleL();\n\t}", "public java.lang.String getLanguageLocaleKey() {\n return languageLocaleKey;\n }", "public String getCurrentLanguage() {\n return getStringData(Key.APP_CURRENT_LANGUAGE + \"\", \"zh\");\n }", "private Locale getLocale(PageContext pageContext) {\n HttpSession session = pageContext.getSession();\n Locale ret = null;\n // See if a Locale has been set up for Struts\n if (session != null) {\n ret = (Locale) session.getAttribute(Globals.LOCALE_KEY);\n }\n\n // If we've found nothing so far, use client browser's Locale\n if (ret == null) {\n ret = pageContext.getRequest().getLocale();\n }\n return ret;\n }", "public static Locale get() {\n return STACK.peek();\n }", "ULocale getLocale() {\n\t\treturn locale;\n\t}", "public String getUserLocale() {\n return sessionData.getUserLocale();\n }", "public Locale getLocale() {\r\n return Locale.getDefault();\r\n }", "public static String getCurrentLanguage() {\n\t\tif ( currentLanguage == null || currentLanguage.isEmpty() ) {\r\n\t\t\tcurrentLanguage = Locale.getDefault().getLanguage();\r\n\t\t}\r\n\t\treturn currentLanguage;\r\n\t}", "public Locale getLocale () {\n\t\treturn locale;\n\t}", "public Locale getLocale() {\n return locale;\n }", "public Locale getLocale() {\n return locale;\n }", "public Locale getLocale() {\n return locale;\n }", "private Locale getLocale() {\n\t\treturn ((Component) getParent()).getLocale();\n\t}", "public Locale getLocale() {\r\n return locale;\r\n }", "public static Locale getCurrentLocale(HttpServletRequest request) {\r\n\t\treturn getCurrentLocale(request.getSession(false));\r\n\t}", "public Locale getLocale()\n/* */ {\n/* 487 */ return getULocale().toLocale();\n/* */ }", "public Locale getLocale () {\n return _locale;\n }", "public static Locale getCurrentLocale(HttpSession session) {\r\n\t\tif (session == null)\r\n\t\t\tthrow new IllegalArgumentException(\r\n\t\t\t\t\t\"Cannot get an attribute of a null session\");\r\n\t\treturn (Locale) session.getAttribute(CURRENT_LOCALE_NAME);\r\n\t}", "String getLocalizedString(Locale locale);", "java.lang.String getLanguage();", "java.lang.String getLanguage();", "public Locale getLocale()\n {\n return locale;\n }", "public static String getLanguage() {\n return language;\n }", "private Locale getPreferredLocale() {\n return mActivity.getResources().getConfiguration().getLocales().get(0);\n }", "public static SupportedLanguage getLang() {\n\t\tif (SINGLETON == null) {\n\t\t\tSINGLETON = new I18nHelper();\n\t\t}\n\t\treturn SINGLETON.getAndroidLang();\n\t}", "public final static Locale getLocale(HttpServletRequest request) {\r\n\t Locale locale = getLocaleInSession(request.getSession(false));\r\n\t if(locale == null) {\r\n\t return resolveLocale(request);\r\n\t }\r\n\t return locale;\r\n\t}", "public java.lang.String getLanguage()\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(LANGUAGE$14);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "public java.lang.String getLanguage()\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(LANGUAGE$14);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "public Locale getLocale() {\n\t\treturn null;\n\t}", "public static String getKeyboardLocale()\n {\n final InputMethodManager imm = (InputMethodManager) MwmApplication.get().getSystemService(Context.INPUT_METHOD_SERVICE);\n if (imm != null)\n {\n final InputMethodSubtype ims = imm.getCurrentInputMethodSubtype();\n if (ims != null)\n return ims.getLocale();\n }\n\n return getDefaultLocale();\n }", "protected Locale getCurrentLocale()\n\t{\n\t\tLocale locale = getArchLocale();\n\t\tif (locale == null) {\n\t\t\t//Fallback to Spring locale\n\t\t\tlocale = LocaleContextHolder.getLocale();\n\t\t}\n\t\treturn locale;\n\t}", "private static Locale getUserPreferredLocale() {\n\t\tfinal ResourceLoader rl = new ResourceLoader();\n\t\treturn rl.getLocale();\n\t}", "String getLanguage();", "String getLanguage();", "String getLanguage();", "public Locale getLocale() {\n return locale;\n }", "public Locale getLocale() { return this.locale; }", "private Locale getBotLocale( HttpServletRequest request )\r\n {\r\n String strLanguage = request.getParameter( PARAMETER_LANGUAGE );\r\n\r\n if ( strLanguage != null )\r\n {\r\n return new Locale( strLanguage );\r\n }\r\n\r\n return LocaleService.getDefault( );\r\n }", "public Locale getLocale() {\n return this.response.getLocale();\n }", "public String getLanguage();", "public Locale getLocale(final String key) {\n return get(Locale.class, key);\n }", "protected Locale getLocale() {\n\t\treturn null;\n\t}", "public static String getLocale(Player player)\n {\n Object ep = null;\n try\n {\n ep = getMethod(\"getHandle\", player.getClass()).invoke(player, (Object[]) null);\n }\n catch (IllegalAccessException | IllegalArgumentException| InvocationTargetException e)\n {\n e.printStackTrace();\n }\n Field f = null;\n try\n {\n f = ep.getClass().getDeclaredField(\"locale\");\n }\n catch (NoSuchFieldException | SecurityException e)\n {\n e.printStackTrace();\n }\n f.setAccessible(true);\n String language = null;\n try\n {\n language = (String) f.get(ep);\n }\n catch (IllegalArgumentException | IllegalAccessException e)\n {\n e.printStackTrace();\n }\n return language;\n }", "private java.util.Locale getLocale(String languageCode) {\r\n\t\tif (languageCode != null) {\r\n\t\t\treturn new java.util.Locale(languageCode);\r\n\t\t}\r\n\t\treturn java.util.Locale.getDefault();\r\n\t}", "public Locale getLocale() {\n/* 380 */ Locale locale = super.getLocale();\n/* 381 */ if (locale == null) {\n/* 382 */ return Locale.getDefault();\n/* */ }\n/* 384 */ return locale;\n/* */ }", "private String getSystemLanguage() {\n String language;\n if (System.getProperty(COUNTRY) == null) {\n language = System.getProperty(LANGUAGE);\n } else {\n language = System.getProperty(LANGUAGE) + \"-\"\n + System.getProperty(COUNTRY).toLowerCase(Locale.ENGLISH);\n }\n return language;\n }", "public String getLanguage() {\n return languageProperty.get();\n }", "public String getPrimaryLanguage(){\n return sharedPreferences.getString(PRIMARY_LANGUAGE, \"LANG_NOT_FOUND\");\n }", "protected Locale getArchLocale()\n\t{\n\t\tLocale locale = null;\n\t\ttry {\n\t\t\tfinal ContextoSesion sessionContext = ContextoLocator.getInstance().getContextoSesion();\n\t\t\tObject value, o = sessionContext.getCtxValue(ConstantesSesion.ARCH_LOCALE);\n\t\t\tif (o instanceof IDato) {\n\t\t\t\tvalue = ((IDato) o).getValor();\n\t\t\t} else {\n\t\t\t\tvalue = o;\n\t\t\t}\n\t\t\tif (value instanceof Locale) {\n\t\t\t\tlocale = (Locale) value;\n\t\t\t} else if (value instanceof String) {\n\t\t\t\tlocale = StringUtils.parseLocaleString((String)value);\n\t\t\t}\n\t\t} catch (PersistenciaException e) {\t}\n\t\treturn locale;\n\t}", "public String getLanguage()\r\n\t{\r\n\t\treturn (String) queryParams.get(AUTH_LANGUAGE);\r\n\t}", "public static Locale systemSettingLanguage() {\n\t\t// define return result\n\t\tLocale _ret = Locale.ENGLISH;\n\n\t\t// get default locale\n\t\tLocale _defaultLocale = Locale.getDefault();\n\n\t\t// check language and country\n\t\tif (Locale.CHINESE.toString().equalsIgnoreCase(\n\t\t\t\t_defaultLocale.getLanguage())) {\n\t\t\tif (\"CN\".equalsIgnoreCase(_defaultLocale.getCountry())) {\n\t\t\t\t_ret = Locale.SIMPLIFIED_CHINESE;\n\t\t\t} else {\n\t\t\t\t_ret = Locale.TRADITIONAL_CHINESE;\n\t\t\t}\n\t\t}\n\n\t\treturn _ret;\n\t}", "public static String getAppLanguage() {\n return Locale.getDefault().getLanguage().toLowerCase().substring(0, 2);\n }", "public String getLanguageValue(Locale locale) {\n\n\t\tString language = locale.getDisplayLanguage(this.locale);\n\t\t\n\t\tif(language.length() > 0) {\n\t\t\tlanguage = language.substring(0, 1).toUpperCase(this.locale) + language.substring(1);\n\t\t}\n\t\t\n\t\tString country = locale.getDisplayCountry(); \n\t\t\n\t\tif(country.length() > 0) {\n\t\t\tlanguage = language + \" - \" + locale.getDisplayCountry(this.locale); \n\t\t}\n\t\t\n\t\tString variant = locale.getDisplayVariant(); \n\n\t\tif(variant.length() > 0) {\n\t\t\tlanguage = language + \" - \" + locale.getDisplayVariant(this.locale); \n\t\t}\n\t\t\n\t\tif(locale == fallbackLocale) {\n\t\t\tlanguage = language + \" (fallback)\";\n\t\t}\n\t\t\n\t\treturn language;\n\t}", "@ZAttr(id=345)\n public String getLocaleAsString() {\n return getAttr(Provisioning.A_zimbraLocale, null);\n }", "Locale getDefaultLocale();", "Locale getDefaultLocale();", "String getLang();", "public static String getDefaultLocale()\n {\n return Locale.getDefault().toString();\n }", "protected String getCurrentLocaleName() {\n return LocaleInfo.getCurrentLocale().getLocaleName();\n }", "public Locale getUserPreferedLanguage(HttpServletRequest request) {\n String lang = (String) request.getAttribute(EXPLICIT_LOCALE_KEY);\n if (lang != null && ! \"\".equals(lang)) {\n return request.getLocale();\n } else {\n return new Locale(lang);\n }\n }", "public Locale getLocale() {\n return m_sql_bundle.getLocale();\n }", "public Future<String> locale() throws DynamicCallException, ExecutionException {\n return call(\"locale\");\n }", "@objid (\"8b3ba8b8-4d09-4d8e-9064-983191cc6b26\")\n @Override\n public String getLanguage() {\n String language = Platform.getNL();\n if (language.contains(\"_\")) {\n return Platform.getNL().substring(0, language.lastIndexOf(\"_\"));\n }\n return Platform.getNL();\n }", "public static String getlanguage(Context ctx) {\n\t\treturn getSharedPreferences(ctx).getString(language, \"\");\n\t}", "public String getLang() {\n return (String)getAttributeInternal(LANG);\n }", "public String getLanguage()\n {\n return mLanguage;\n }", "Locale getLocale(TransformerImpl transformer, int contextNode)\n throws TransformerException\n {\n\n Locale locale = null;\n\n if (null != m_lang_avt)\n {\n XPathContext xctxt = transformer.getXPathContext();\n String langValue = m_lang_avt.evaluate(xctxt, contextNode, this);\n\n if (null != langValue)\n {\n\n // Not really sure what to do about the country code, so I use the\n // default from the system.\n // TODO: fix xml:lang handling.\n locale = new Locale(langValue.toUpperCase(), \"\");\n\n //Locale.getDefault().getDisplayCountry());\n if (null == locale)\n {\n transformer.getMsgMgr().warn(this, null, xctxt.getDTM(contextNode).getNode(contextNode),\n XSLTErrorResources.WG_LOCALE_NOT_FOUND,\n new Object[]{ langValue }); //\"Warning: Could not find locale for xml:lang=\"+langValue);\n\n locale = Locale.getDefault();\n }\n }\n }\n else\n {\n locale = Locale.getDefault();\n }\n\n return locale;\n }", "@Nullable\n public final String getLanguage() {\n return this.language;\n }", "public Locale getLocale() {\n\t\treturn Locale.US;\r\n\t}", "public String getPreferredLanguage()\n {\n if (lsData == null)\n return null;\n else\n return lsData.language;\n }", "ResourceBundle getResourceBundle(Locale locale);", "public String getShopperLocale() {\n return shopperLocale;\n }", "public java.lang.String getLanguage() {\n return language;\n }", "public java.lang.String getLanguage() {\n return language;\n }", "public java.lang.String getLang()\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(LANG$28);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "private static String getCurrentLanguageCode() {\n return Locale.getDefault().getLanguage();\n }", "String getLocalization();", "public Locale getBaseLocale() {\n if (_extensions == LocaleExtensions.EMPTY_EXTENSIONS) {\n return this;\n }\n return getInstance(_baseLocale.getLanguage(), _baseLocale.getScript(),\n _baseLocale.getRegion(), _baseLocale.getVariant(), LocaleExtensions.EMPTY_EXTENSIONS);\n }", "public Locale getMBLocale()\r\n {\r\n \tLocale l = mb.getLocale();\r\n \treturn l;\r\n }" ]
[ "0.8198879", "0.7852313", "0.77008027", "0.7549517", "0.75382227", "0.7509022", "0.7492036", "0.7492036", "0.7403686", "0.7384795", "0.73677546", "0.7346722", "0.73432904", "0.73432904", "0.73432904", "0.7321496", "0.73100644", "0.73020065", "0.73017603", "0.72956896", "0.72909325", "0.7270676", "0.72625816", "0.7248319", "0.7243238", "0.72345215", "0.72078305", "0.71997017", "0.7190434", "0.718638", "0.71753573", "0.71753573", "0.71753573", "0.717082", "0.71385896", "0.7133658", "0.7116147", "0.7107384", "0.7095678", "0.70927304", "0.70509", "0.70509", "0.70447505", "0.70136696", "0.69919944", "0.69908947", "0.69868046", "0.6967388", "0.6967388", "0.69594145", "0.69472003", "0.69146323", "0.69104314", "0.6901431", "0.6901431", "0.6901431", "0.6852833", "0.6844289", "0.6838733", "0.6832552", "0.68230563", "0.68134075", "0.679999", "0.6778269", "0.6722102", "0.67217296", "0.6707716", "0.67069966", "0.6699809", "0.6693676", "0.6683343", "0.6672104", "0.66602623", "0.66590697", "0.66573024", "0.66470957", "0.66470957", "0.66453004", "0.6639854", "0.663634", "0.66260225", "0.66141057", "0.6607449", "0.65959114", "0.656711", "0.655899", "0.65450704", "0.6528437", "0.652632", "0.65201837", "0.65099263", "0.6504263", "0.6490068", "0.64637744", "0.64637744", "0.64449775", "0.644271", "0.6439335", "0.6433947", "0.64228815" ]
0.69263977
51
Reset ALTextToSpeech to his default state.
public void reset() throws DynamicCallException, ExecutionException{ call("reset").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void reset() {\n \t\tif (currentSuggestion != null) {\n \t\t\tsetPromptingOff(currentSuggestion.getReplacementString());\n \t\t} else {\n \t\t\tif (focused) {\n \t\t\t\tsetPromptingOff(\"\");\n \t\t\t} else {\n \t\t\t\tsetPromptingOn();\n \t\t\t}\n \t\t}\n \t\thideSuggestions();\n \t\tLogger.getLogger(VSuggestFieldWidget.class.getName()).info(\"Reset\");\n \t}", "@Override\r\n public void onInit(int status) {\n if(status!=TextToSpeech.ERROR) {\r\n ttobj.setLanguage(Locale.UK);\r\n //ttobj.setPitch(2);\r\n }\r\n }", "public void reset() {\n mMediaPlayer.reset();\n setPlayerState(State.IDLE);\n }", "public void resetState() {\n \ts = State.STRAIGHT;\n }", "public void reset() {\n tid.setEnabled(true);\n tid.setText(\"\");\n tname.setText(\"\");\n }", "private void resetGame() {\r\n SCORE = 0;\r\n defaultState();\r\n System.arraycopy(WordCollection.WORD, 0, tempWord, 0, WordCollection.WORD.length);\r\n }", "private void defaultState() {\r\n stringBuffer = \"\";\r\n bufferLength = 0;\r\n currentWord = \"\";\r\n }", "private void setTextTospeech() {\n textToSpeech = new TextToSpeech(mContext, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n Set<Locale> languages = textToSpeech.getAvailableLanguages();\n if (language.toLowerCase().contains(langaugeCodeEnglish)) {\n int result = textToSpeech.setLanguage(new Locale(\"en\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n //Toast.makeText(mContext, result + \" is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n }\n } else {\n int result = textToSpeech.setLanguage(new Locale(\"hi\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n result = textToSpeech.setLanguage(Locale.forLanguageTag(\"hin\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n\n // Toast.makeText(mContext, result + \"Language is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \"Language is not supported\");\n }\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n if (result == TextToSpeech.LANG_NOT_SUPPORTED) {\n showTtsLanuageNSDialog();\n }\n }\n }\n }\n });\n }", "private void reset () {\n this.logic = null;\n this.lastPulse = 0;\n this.pulseDelta = 0;\n }", "public void stopTTS(){\n if(textToSpeech.isSpeaking()){textToSpeech.speak(\"\", TextToSpeech.QUEUE_FLUSH, null);}\n handler.removeCallbacks(speakingRunnable);\n }", "public void resetDFA() {\n currentState = State.START;\n }", "public void reset()\n {\n m_fCorrectEvent = false;\n }", "protected void resetTextBuffer() {\n this.textBuffer = new StringBuffer();\n }", "public void reset() {\r\n\t\tplayAgain = false;\r\n\t\tmainMenu = false;\r\n\t\tachievement = 0;\r\n\t}", "public void reset() {\n _styles.clear();\n _styles.add(TextStyle.DEFAULT);\n }", "@Override\n public void onInit(int status) {\n\t \n\tif (status == TextToSpeech.SUCCESS) {\n\t\t \n int result = mTts.setLanguage(Locale.US);\n if (result != TextToSpeech.LANG_MISSING_DATA && result != TextToSpeech.LANG_NOT_SUPPORTED) {\n \tspokenText += spokenText+\"\"+spokenText+\"\";\n // mTts.speak(\"Dear sir your class is finished!! Dear sir your class is finished!! Dear sir your class is finished!!\", TextToSpeech.QUEUE_FLUSH, null);\n mTts.speak(spokenText, TextToSpeech.QUEUE_FLUSH, null);\n } \n } \n\t \n}", "@Override\n\tpublic void reset() {\n\t\tsuper.reset();\n\t\tmSpeed = 0.0;\n\t\tmGoalAngle = 0.0;\n\t\tmCurrentAngle = mNavigation.getHeadingInDegrees();\n\t}", "private void speak() {\n if(textToSpeech != null && textToSpeech.isSpeaking()) {\n textToSpeech.stop();\n }else{\n textToSpeech = new TextToSpeech(activity, this);\n }\n }", "public void iResetDefault() {\n\t\tmTvChannelSelector.stop();\n\t\tmConfig.resetFactory();\n\t\tmTvChannelManager.clear();\n\t}", "private void ConvertTextToSpeech() {\n if (properties.get(selectedStateOrCountry) != null) {\n tts.speak(String.format(\"This is %s %s\", selectedStateOrCountry, properties.get(selectedStateOrCountry)),\n TextToSpeech.QUEUE_FLUSH, null);\n\n } else if (countryCapitalMap.get(selectedStateOrCountry) != null) {\n tts.speak(countryCapitalMap.get(selectedStateOrCountry), TextToSpeech.QUEUE_FLUSH, null);\n } else {\n tts.speak(selectedStateOrCountry, TextToSpeech.QUEUE_FLUSH, null);\n }\n }", "public void reset()\n {\n m_source_.setToStart();\n updateInternalState();\n }", "void StoryReset() {\n\n //Delete Any Previous Recordings\n\n //Remove Previous Audio Commentary Callbacks\n cancelIdleStoryCountdown();\n }", "public void reset() {\n\t\treset(ModSettings.currentContext);\n\t}", "@Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n int result = tts.setLanguage(Locale.US);\n if (result == TextToSpeech.LANG_MISSING_DATA ||\n result == TextToSpeech.LANG_NOT_SUPPORTED) {\n Log.e(\"error\", \"This Language is not supported\");\n } else {\n ConvertTextToSpeech(\"\");\n\n }\n } else\n Log.e(\"error\", \"Initilization Failed!\");\n\n\n }", "void reset() {\n\t\tsongs.get(curSong).rewind();\n\t\tsongs.get(curSong).pause();\n\t}", "void resetAudioRoute() {\n if (mode != -1) {\n updateAudioRoute(mode, true);\n }\n }", "private void resetStory() {\n storyManager.resetAllStories();\n user.setCurrentStoryNode(0);\n }", "public void reset() { \r\n stop(); \r\n if (midi) \r\n sequencer.setTickPosition(0); \r\n else \r\n clip.setMicrosecondPosition(0); \r\n audioPosition = 0; \r\n progress.setValue(0); \r\n }", "private void ConvertTextToSpeech(String voice1) {\n text=voice1;\n //text = et.getText().toString();\n if (text == null || \"\".equals(text)) {\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n } else\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", "public void reset() {\n actionFlag = true;\n messageFlag = false;\n self.getInputBuffer().clear();\n self.getOutputBuffer().clear();\n self.setCurrentProduct(null);\n self.resetCounters();\n self.getServiceManager().init(getRandom(), template);\n syncUpdate();\n }", "public void reset() {\n onoff.reset();\n itiefe.reset();\n itiefe.setEnabled(false);\n }", "public void reset() {\n context.reset();\n state = State.NAME;\n }", "public static void resetMetaState(Spannable text) {\n text.removeSpan(CAP);\n text.removeSpan(ALT);\n text.removeSpan(SYM);\n }", "@Override\n public void onInit(int code) {\n if (code==TextToSpeech.SUCCESS) {\n m_tts.setLanguage(Locale.US);\n } else {\n m_tts = null;\n msg(\"Failed to initialize TTS engine\");\n }\n }", "public static void Reset(){\n\t\ttstr = 0;\n\t\ttluc = 0;\n\t\ttmag = 0; \n\t\ttacc = 0;\n\t\ttdef = 0; \n\t\ttspe = 0;\n\t\ttHP = 10;\n\t\ttMP = 0;\n\t\tstatPoints = 13;\n\t}", "public void onInit(int code) {\n\t\t if (code==TextToSpeech.SUCCESS) {\n\t\t \t com.example.main_project.MainActivity.tts.setLanguage(Locale.getDefault());\n\n\n\t\t \t } else {\n\t\t \t com.example.main_project.MainActivity.tts = null;\n\t\t \t Toast.makeText(this, \"Failed to initialize TTS engine.\",\n\t\t \t Toast.LENGTH_SHORT).show();\n\t\t \t }\t\t\n\t\t}", "@Override\r\n\tpublic void resetState() {\r\n\t\t// what to do for a tape device??\r\n\t}", "public void stopSpeak() {\n if (mSynthesizer != null && mSynthesizer.isSpeaking()) {\n mSynthesizer.stopSpeaking();\n }\n }", "public void reset() {\n\t\tmCycleFlip = false;\n\t\tmRepeated = 0;\n\t\tmMore = true;\n //mOneMoreTime = true;\n \n\t\t// 추가\n\t\tmStarted = mEnded = false;\n\t\tmCanceled = false;\n }", "public void reset() {\n playing = true;\n won = false;\n startGame();\n\n // Make sure that this component has the keyboard focus\n requestFocusInWindow();\n }", "public void reset(){\n try {\n getDocument().remove(0,getDocument().getLength()); \n if(defaultText != null){\n getDocument().insertString(0,defaultText,null); \n }\n }catch (BadLocationException ble){\n System.err.println(\"Reset ist fehlgeschlagen!\");\n }\n }", "public void reset() {\n\t\tbg = TetrisDefaults.BGColor;\n\t\ttext = TetrisDefaults.TEXTColor;\n\t\tz = TetrisDefaults.ZColor;\n\t\ts = TetrisDefaults.SColor;\n\t\tleft = TetrisDefaults.LEFTColor;\n\t\tright = TetrisDefaults.RIGHTColor;\n\t\tline = TetrisDefaults.LINEColor;\n\t\ttri = TetrisDefaults.TRIANGLEColor;\n\t\tsquare = TetrisDefaults.SQUAREColor;\n\t\tflash = TetrisDefaults.FLASHColor;\n\t}", "public static void reset() {\n\t\tselectedAtts.clear();\n\t}", "public synchronized void resetSubtitleTextPairs() {\r\n subtitleTextPairs = null;\r\n }", "public void reset() {\n\t\tappTda_ = new ApplicationTda();\n\t\t\n\t\t// get the associated settings\n\t\tprocessData_ = appTda_.getSettings();\n\t}", "default void free() {\n setState(Audio.AudioState.STOPPED);\n }", "public void resetText(View view) {\n display();\n }", "public void resetConversationFlow(){\n conversationDao.init();\n }", "public void textMergeReset() {\n\n }", "public void SetBackToBeginning() {\n // starting word\n this.mStartWord = 0;\n // the words count that is displaying\n this.mDisplayWord = 0;\n this.mDisplayCount = 0;\n // reset index.\n this.mTextIndex = 0;\n // to enable to read and draw.\n this.mReadingF = true;\n this.mDisplayF = true;\n this.mWaitingF = false;\n // font size back default\n this.mFontSize = this.mFontDefaultSize;\n // font color back to default\n this.mFontColor = this.mFontDefaultColor;\n }", "public void reset() {\n started = false;\n flushing = false;\n moreText = true;\n headerCount = 0;\n actualLen = 0;\n }", "private void resetText() {\n\t\tpass.setText(\"\");\n\t}", "public void reset() {\n this.state = null;\n }", "private void initializeTextToSpeech() {\n myTTS = new TextToSpeech(this, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int i) {\n if(myTTS.getEngines().size() ==0){\n Toast.makeText(MainActivity.this, \"There is no Text to Speech engine on your device\", Toast.LENGTH_LONG).show();\n finish();\n }\n else {\n myTTS.setLanguage(Locale.US);\n speak(\"Hello! Welcome to the workout app\");\n\n }\n }\n });\n }", "public void reset(){\n this.context.msr.setReadyForInput(false);\n emptyAllInputBuffers();\n emptyAllOutputBuffers();\n emptyEngineersConsoleBuffer();\n }", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent(\n\t\t\t\t\t\tRecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\n\t\t\t\tintent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, \"en-US\");\n\n\t\t\t\ttry {\n\t\t\t\t\tstartActivityForResult(intent, RESULT_SPEECH);\n\t\t\t\t\tet1.setText(\"\");\n\t\t\t\t} catch (ActivityNotFoundException a) {\n\t\t\t\t\tToast t = Toast.makeText(getApplicationContext(),\n\t\t\t\t\t\t\t\"Opps! Your device doesn't support Speech to Text\",\n\t\t\t\t\t\t\tToast.LENGTH_SHORT);\n\t\t\t\t\tt.show();\n\t\t\t\t}\n\t\t\t\t\n\n\t\t\t}", "public void reset()\n\t{\n\t\tm_running = false;\n\t\tm_elapsedMs = 0;\n\t\tm_lastMs = 0;\n\t}", "public void reset() {\n\t\tinit(0, 0, 1, false);\n\t}", "public void reset()\n\t{\n\t\tthis.sourceUnit.setSelectedIndex(0);\n\t\tthis.destUnit.setSelectedIndex(0);\n\t\tthis.input.setText(\"\");\n\t\tthis.outputLabel.setText(\"\");\n\t}", "private void resetSense() {\r\n\t\tArrays.fill(this.senseBytes, (byte)0x00);\r\n\t\tthis.updateUnitStatus();\r\n\t}", "public synchronized void resetCurrentIndex()\n {\n // Reset the current index to start from 1 (speechgen0001.mp3)\n currentIndex = 1;\n }", "@Override\n public void onInit(int i) {\n if(i!=TextToSpeech.ERROR){\n // To Choose language of speech\n textToSpeech.setLanguage(getResources().getConfiguration().locale);\n }\n }", "public void resetSounds() {\n\t\tCollection<SoundInfo> sounds = soundList.values();\n for(SoundInfo sound: sounds){\n \t\tsound.reset();\n }\n\t}", "public void resetState();", "public void reset () {}", "private void reset() {\n\t\tlevel.getLogic().resetBoard();\n\t\tlevelView.refresh();\n\t\tlevelView.clearSelectedWords();\n\t}", "public void reset();", "public void reset();", "public void reset();", "public void reset();", "public void reset();", "public void reset();", "public void reset();", "public void reset();", "public void reset();", "public void reset();", "public void reset();", "public void reset();", "public void reset();", "public void reset();", "public void reset();", "private void softReset() {\n // variables\n lapMap.clear();\n // ui\n sessionTView.setText(\"\");\n positionTView.setText(\"-\");\n currentLapTView.setText(\"--:--:---\");\n lastLapTView.setText(\"--:--:---\");\n bestLapTView.setText(\"--:--:---\");\n currentLapNumberTView.setText(\"-\");\n gapTView.setText(\" -.---\");\n fastestDriver = Float.MAX_VALUE;\n fastestDriverName = null;\n fastestDriverTView.setText(\"--:--:---\");\n fastestDriverNameTView.setText(\"Fastest lap\");\n Log.d(TAG, \"SOFT Reset: between game states\");\n }", "public void reset() {\n\t\tTextView SetQuestionText = (TextView) findViewById(R.id.textView5);\n\t\tSetQuestionText.setText(\"\" + Question);\n\t\tEditText editText22 = (EditText) findViewById(R.id.editText1);\n\t\teditText22.setText(\" ?\");\n\t\tExpresstion_generator_based_on_difficulty();\n\t\tEndTimer();\n\t\tStartTimer();\n\t}", "public void reset(){\r\n\t\tdialogToDisplay=0;\r\n\t\tqueuedDialog=0;\r\n\t\toptionSelection=null;\r\n\t\tdone=false;\r\n\t}", "public void reset(){\n active = false;\n done = false;\n state = State.invisible;\n curX = 0;\n }", "public void reset() {\n // stop motors\n Motor.A.stop();\t\n Motor.A.setPower(0);\t\n Motor.B.stop();\n Motor.B.setPower(0);\t\n Motor.C.stop();\n Motor.C.setPower(0);\t\n // passivate sensors\n Sensor.S1.passivate();\n Sensor.S2.passivate();\n Sensor.S3.passivate();\n for(int i=0;i<fSensorState.length;i++)\n fSensorState[i] = false;\n }", "public void resetText (String textString) {\n\t\tbody=textString;\n\t\tTextLine line = new TextLine();\n\t\tContext context = new Context();\n\t\tText textobj = new Text();\n\t\tline = genText(textString,textobj,line,context);\n\t\ttextobj.copyLine(line);\n\t\ttextobj.finalize();\n\t\tMemoryTextWrapper textWrapper = new MemoryTextWrapper(textobj);\n\t\tthis.text = textWrapper;\n\t}", "public void reset(){\n\t\tBashCmdUtil.bashCmdNoOutput(\"rm -r data/games_module\");\n\t\tBashCmdUtil.bashCmdNoOutput(\"sed -i \\\"1s/.*/ \"+\"0\"+\" /\\\" data/winnings\");\n\t\tBashCmdUtil.bashCmdNoOutput(\"sed -i \\\"1s/.*/ \"+\"175\"+\" /\\\" data/tts_speed\");\n\t\tBashCmdUtil.bashCmdNoOutput(\"rm data/answered_questions\");\n\t\tBashCmdUtil.bashCmdNoOutput(\"rm data/five_random_categories\");\n\t\tBashCmdUtil.bashCmdNoOutput(\"rm data/current_player\");\n\t\t_currentPlayer = null;\n\t\t_internationalUnlocked = false;\n\t\t_gamesData.clear();\n\t\t_fiveRandomCategories.clear();\n\t\tfor (int i= 0; i<5;i++) {\n\t\t\t_answeredQuestions[i]=0;\n\t\t}\n\t\tBashCmdUtil.bashCmdNoOutput(\"touch data/answered_questions\");\n\t\tinitialiseCategories();\n\t\ttry {\n\t\t\treadCategories();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tsetFiveRandomCategories();\n\t}", "public void resetNlpnStatistics() {\n this.numberOfWords = 0;\n this.numberOfSentences = 0;\n this.naturalLanguageProcessingRuntime = 0;\n this.languageDetectionRuntime = 0;\n }", "private void resetValues() {\n this.teaIDText.setText(\"\");\n this.teaNameText.setText(\"\");\n this.teaCollegeText.setText(\"\");\n this.teaDepartmentText.setText(\"\");\n this.teaTypeText.setText(\"\");\n this.teaPhoneText.setText(\"\");\n this.teaRemarkText.setText(\"\");\n }", "public void resetBusquedaSimpleAvanzada()\r\n {\r\n this.busquedaSimpleAvanzada = null;\r\n }", "public void resetBusquedaSimpleAvanzada()\r\n {\r\n this.busquedaSimpleAvanzada = null;\r\n }", "public void reset() {\n\t\tmCustomRingtone = null;\n\t\tmSendToVM = null;\n\t\tmSelected = false;\n\t\tmHasText = null;\n\t\tmHasPhone = null;\n\t\tmHasEmail = null;\n\t\t// mPhoto = null; // don't re-get this, too expensive\n\t\tmContactInfo = null;\n\t}", "public void resetScsynth() {\n\t\tsendMessage(\"/g_freeAll\", new Object[] { 0 });\n\t\tsendMessage(\"/clearSched\");\n\t\tsendMessage(\"/g_new\", new Object[] { 1 });\n\t}", "@SuppressWarnings(\"NullAway\")\n\t\tpublic void reset() {\n\t\t\ttrackDoc = null;\n\t\t\tglobalDoc = null;\n\t\t\tpredicted.reset();\n\t\t\tobserved.reset();\n\t\t\tdoc_to_imagePixel.reset();\n\t\t}", "public void reset()\n\t{\n\t\tthis.resetSelected();\n\t\tthis.clearMsgArea();\n\t}", "public void reset()\n\t{\n\t\tdelayCount = 0f;\n\t\trepeatCount = 0;\n\t\tenabled = true;\n\t}", "public void reset() {\n this.displayHasContent = false;\n this.obscured = false;\n this.syswin = false;\n this.preferredRefreshRate = 0.0f;\n this.preferredModeId = 0;\n }", "public void resetLanguage() {\n BlockConnectorShape.resetConnectorShapeMappings();\n getWorkspace().getEnv().resetAllGenuses();\n BlockLinkChecker.reset();\n }", "public void resetButtonAndText() {\n currentText = colorTxtArr[(int) (Math.random() * 5)];\n buttonColor = colorArr[(int) (Math.random() * 5)];\n colorText.setForeground(buttonColor);\n colorText.setText(currentText);\n }", "public void sendAllSoundsOff()\n {\n super.sendAllSoundsOff();\n }" ]
[ "0.6227051", "0.60857964", "0.6033119", "0.5999797", "0.59717715", "0.59482634", "0.59042", "0.58922267", "0.58762443", "0.5870071", "0.586375", "0.5854123", "0.58483964", "0.58123875", "0.5803686", "0.5801656", "0.57966423", "0.57934207", "0.576404", "0.57628465", "0.57527065", "0.5738244", "0.5727753", "0.5707783", "0.57067096", "0.5701248", "0.569831", "0.568276", "0.5669584", "0.5663754", "0.5660293", "0.56534183", "0.5648782", "0.5639191", "0.5634396", "0.56332976", "0.56298405", "0.5627355", "0.56165767", "0.56046337", "0.55947065", "0.5591651", "0.55912495", "0.5588802", "0.55786866", "0.55717313", "0.55704653", "0.5567037", "0.5566592", "0.5559955", "0.55584574", "0.5555469", "0.5554683", "0.55541104", "0.5550177", "0.55498874", "0.55496037", "0.55495185", "0.5545552", "0.5543784", "0.55435663", "0.5519576", "0.55187476", "0.5517552", "0.5516417", "0.55088353", "0.5504227", "0.5504227", "0.5504227", "0.5504227", "0.5504227", "0.5504227", "0.5504227", "0.5504227", "0.5504227", "0.5504227", "0.5504227", "0.5504227", "0.5504227", "0.5504227", "0.5504227", "0.5503834", "0.549988", "0.5467437", "0.5465452", "0.54626405", "0.546", "0.54596186", "0.54590005", "0.54587984", "0.5458474", "0.5458474", "0.54566234", "0.54558307", "0.5454484", "0.54504406", "0.54431003", "0.5436471", "0.54326355", "0.54252833", "0.5423739" ]
0.0
-1
Loads a set of voice parameters defined in a xml file contained in the preferences folder.The name of the xml file must begin with ALTextToSpeech_Voice_
public void loadVoicePreference(String pPreferenceName) throws DynamicCallException, ExecutionException{ call("loadVoicePreference", pPreferenceName).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void loadPreferences() {\n\t\tXSharedPreferences prefApps = new XSharedPreferences(PACKAGE_NAME);\n\t\tprefApps.makeWorldReadable();\n\n\t\tthis.debugMode = prefApps.getBoolean(\"waze_audio_emphasis_debug\", false);\n }", "public void loadPreferecences()\n {\n // Load preferences for chapter\n chapterPref = Activator.getDefault().getPluginPreferences().getBoolean(PREFERENCE_FOR_CHAPTER);\n if (controller != null)\n { \n\t\t\tcontroller.setHierarchical(chapterPref);\n\t\t}\n // Load preferences for value to recognize req\n String pref = Activator.getDefault().getPluginPreferences().getString(PREFERENCE_FOR_VALUE_TO_RECOGNIZE_REQ);\n if (pref != null && pref.length() > 0)\n {\n Serializer<RecognizedElement> serializer = new Serializer<RecognizedElement>();\n RecognizedElement element = serializer.unSerialize(pref);\n if (element != null)\n {\n valueToRecognizeReq = element;\n }\n }\n\n // Load preferences for attributes list\n pref = Activator.getDefault().getPluginPreferences().getString(PREFERENCE_FOR_LIST_RECOGNIZED_ELEMENT);\n if (pref != null && pref.length() > 0)\n {\n Serializer<Collection<RecognizedElement>> serializer = new Serializer<Collection<RecognizedElement>>();\n Collection<RecognizedElement> paramDecoded = serializer.unSerialize(pref);\n if (paramDecoded != null && paramDecoded.size() > 0)\n {\n for (Iterator<RecognizedElement> iterator = paramDecoded.iterator(); iterator.hasNext();)\n {\n tree.add((RecognizedElement) iterator.next());\n }\n }\n }\n \n // Load preferences for the description\n descriptionChecked = Activator.getDefault().getPluginPreferences().getBoolean(PREFERENCE_FOR_DESCRIPTION);\n }", "public Future<Void> loadVoicePreference(String pPreferenceName) throws DynamicCallException, ExecutionException{\n return call(\"loadVoicePreference\", pPreferenceName);\n }", "public void load () {\n hasSoundOn = preference.getBoolean(\"sound effect\", true);\n hasMusicOn = preference.getBoolean(\"background music\", true);\n soundVolume = MathUtils.clamp(preference.getFloat(\"sound volume\", 0.5f), 0.0f, 1.0f);\n musicVolume = MathUtils.clamp(preference.getFloat(\"music volume\", 0.5f), 0.0f, 1.0f);\n }", "private void configureVoice(Voice voice) {\n voice.setPitch(configurator.getPitch());\n voice.setVolume(configurator.getVolume());\n voice.setRate(configurator.getRate());\n }", "private void loadSpeechActivity() {\n PackageManager pm = getPackageManager();\n List<ResolveInfo> activities = pm.queryIntentActivities(\n new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH), 0);\n if (activities.size() == 0)\n {\n voiceSupport=0;\n }\n\t\t\n\t}", "private void init() {\n if (!isInitiated) {\n //Voices use by freeTTS, we define where they are, currently in the java en_us.jar\n //add the package\n addToSystemesPropetites(this.configurator.getLocation());\n\n // The VoiceManager manages all the voices for FreeTTS.\n voiceManager = VoiceManager.getInstance();\n\n this.defaultVoice = voiceManager.getVoice(this.configurator.getName());\n\n configureVoice(this.defaultVoice);\n\n // Allocates the resources for the voice.\n this.defaultVoice.allocate();\n isInitiated = true;\n }\n }", "private void loadPreferences() {\n SharedPreferences sp = getActivity().getSharedPreferences(SETTINGS, Context.MODE_PRIVATE );\n boolean lm = sp.getBoolean(getString(R.string.live_match), true);\n boolean ls = sp.getBoolean(getString(R.string.live_score), true);\n\n if(lm) live_match.setChecked(true);\n else live_match.setChecked(false);\n\n if(ls) live_score.setChecked(true);\n else live_score.setChecked(false);\n }", "@Override\n\tpublic void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\t\taddPreferencesFromResource(R.xml.talk_robot_settings);\n\t}", "public abstract void startVoiceRecognition(String language);", "@Override\n protected void onCreate(Bundle icicle) {\n super.onCreate(icicle);\n mPhone = PhoneFactory.getDefaultPhone();\n \n addPreferencesFromResource(R.xml.call_feature_setting);\n \n mAudioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);\n \n // get buttons\n PreferenceScreen prefSet = getPreferenceScreen();\n mSubMenuVoicemailSettings = (EditPhoneNumberPreference)findPreference(BUTTON_VOICEMAIL_KEY);\n if (mSubMenuVoicemailSettings != null) {\n mSubMenuVoicemailSettings.setParentActivity(this, VOICEMAIL_PREF_ID, this);\n mSubMenuVoicemailSettings.setDialogOnClosedListener(this);\n mSubMenuVoicemailSettings.setDialogTitle(R.string.voicemail_settings_number_label);\n }\n \n mButtonDTMF = (ListPreference) findPreference(BUTTON_DTMF_KEY);\n mButtonAutoRetry = (CheckBoxPreference) findPreference(BUTTON_RETRY_KEY);\n mButtonHAC = (CheckBoxPreference) findPreference(BUTTON_HAC_KEY);\n mButtonTTY = (ListPreference) findPreference(BUTTON_TTY_KEY);\n mVoicemailProviders = (ListPreference) findPreference(BUTTON_VOICEMAIL_PROVIDER_KEY);\n if (mVoicemailProviders != null) {\n mVoicemailProviders.setOnPreferenceChangeListener(this);\n mVoicemailSettings = (PreferenceScreen)findPreference(BUTTON_VOICEMAIL_SETTING_KEY);\n \n initVoiceMailProviders();\n }\n if (getResources().getBoolean(R.bool.dtmf_type_enabled)) {\n mButtonDTMF.setOnPreferenceChangeListener(this);\n } else {\n prefSet.removePreference(mButtonDTMF);\n mButtonDTMF = null;\n }\n \n if (getResources().getBoolean(R.bool.auto_retry_enabled)) {\n mButtonAutoRetry.setOnPreferenceChangeListener(this);\n } else {\n prefSet.removePreference(mButtonAutoRetry);\n mButtonAutoRetry = null;\n }\n \n if (getResources().getBoolean(R.bool.hac_enabled)) {\n mButtonHAC.setOnPreferenceChangeListener(this);\n } else {\n prefSet.removePreference(mButtonHAC);\n mButtonHAC = null;\n }\n \n if (getResources().getBoolean(R.bool.tty_enabled)) {\n mButtonTTY.setOnPreferenceChangeListener(this);\n ttyHandler = new TTYHandler();\n } else {\n prefSet.removePreference(mButtonTTY);\n mButtonTTY = null;\n }\n \n if (!getResources().getBoolean(R.bool.world_phone)) {\n prefSet.removePreference(prefSet.findPreference(BUTTON_CDMA_OPTIONS));\n prefSet.removePreference(prefSet.findPreference(BUTTON_GSM_UMTS_OPTIONS));\n \n if (mPhone.getPhoneName().equals(\"CDMA\")) {\n prefSet.removePreference(prefSet.findPreference(BUTTON_FDN_KEY));\n addPreferencesFromResource(R.xml.cdma_call_options);\n } else {\n addPreferencesFromResource(R.xml.gsm_umts_call_options);\n }\n }\n \n // create intent to bring up contact list\n mContactListIntent = new Intent(Intent.ACTION_GET_CONTENT);\n mContactListIntent.setType(android.provider.Contacts.Phones.CONTENT_ITEM_TYPE);\n \n // check the intent that started this activity and pop up the voicemail\n // dialog if we've been asked to.\n // If we have at least one non default VM provider registered then bring up\n // the selection for the VM provider, otherwise bring up a VM number dialog.\n // We only bring up the dialog the first time we are called (not after orientation change)\n if (icicle == null) {\n if (getIntent().getAction().equals(ACTION_ADD_VOICEMAIL) &&\n mVoicemailProviders != null) {\n if (mVMProvidersData.size() > 1) {\n simulatePreferenceClick(mVoicemailProviders);\n } else {\n mSubMenuVoicemailSettings.showPhoneNumberDialog();\n }\n }\n }\n updateVoiceNumberField();\n }", "public void loadFromPreferences(SharedPreferences preferences){\r\n\t\tinitialSetuped = preferences.getBoolean(\"initialSetupped\", false);\r\n\t\tuserName = preferences.getString(\"username\", \"\");\r\n\t\tuserEmail = preferences.getString(\"useremail\", \"\");\r\n\t\trecipientEmail = preferences.getString(\"recipientemail\", \"\");\r\n\t\toption = WeightUnitOption.loadPreference(preferences.getBoolean(\"option\", true));\r\n\t}", "@Override\n\tpublic String addVoice(String voiceFileName) throws Exception {\n\t\treturn null;\n\t}", "private void changeVoice(String voice) throws IOException{\r\n\t\tFile failed = new File(\".festivalrc\");\r\n\t\t//If file does not exist, create new file\r\n\t\tif(!failed.exists()) {\r\n\t\t\tfailed.createNewFile();\r\n\t\t} \r\n\r\n\t\t//Appending the word to the file\r\n\t\tWriter output;\r\n\t\toutput = new BufferedWriter(new FileWriter(failed,false)); \r\n\t\toutput.append(\"(set! voice_default '\"+voice +\")\");\r\n\t\toutput.close();\r\n\t}", "public static void load() {\n tag = getPlugin().getConfig().getString(\"Tag\");\n hologram_prefix = getPlugin().getConfig().getString(\"Prefix\");\n hologram_time_fixed = getPlugin().getConfig().getBoolean(\"Hologram_time_fixed\");\n hologram_time = getPlugin().getConfig().getInt(\"Hologram_time\");\n hologram_height = getPlugin().getConfig().getInt(\"Hologram_height\");\n help_message = getPlugin().getConfig().getStringList(\"Help_message\");\n hologram_text_lines = getPlugin().getConfig().getInt(\"Max_lines\");\n special_chat = getPlugin().getConfig().getBoolean(\"Special_chat\");\n radius = getPlugin().getConfig().getBoolean(\"Radius\");\n radius_distance = getPlugin().getConfig().getInt(\"Radius_distance\");\n chat_type = getPlugin().getConfig().getInt(\"Chat-type\");\n spectator_enabled = getPlugin().getConfig().getBoolean(\"Spectator-enabled\");\n dataType = getPlugin().getConfig().getInt(\"Data\");\n mySQLip = getPlugin().getConfig().getString(\"Server\");\n mySQLDatabase = getPlugin().getConfig().getString(\"Database\");\n mySQLUsername = getPlugin().getConfig().getString(\"Username\");\n mySQLPassword = getPlugin().getConfig().getString(\"Password\");\n\n }", "private void loadSettings() {\n//\t\tSharedPreferences prefs = this.getSharedPreferences(Defs.PREFS_NAME, 0);\n//\t\t\n//\t\tString fileData = prefs.getString(Defs.PREFS_KEY_PREV_RATES_FILE, \"\");\n//\t\tLog.d(TAG, \"Loaded last \" + fileData);\n//\t\tif ( fileData.length() > 0 ) {\n//\t\t\tByteArrayInputStream bias = new ByteArrayInputStream(fileData.getBytes());\n//\t\t\t_oldRates = new ExchangeRate();\n//\t\t\tparseRates(bias, _oldRates);\n//\t\t}\n\t}", "public void initializeQuestion(){\n\t\ttry{Element root = new XmlReader().parse(Gdx.files.internal(xmlFile));\n\t\tElement artist = root.getChildByName(formatName(game.getArtist()));\n\t\tElement quesNum = artist.getChildByName(Integer.toString(game.getQuestion()));\n\t\tElement question = quesNum.getChildByName(\"Question\");\n\t\tques = question.getText();\n\t\t}\n\t\tcatch(IOException e){\n\t\t}\n\t}", "private void startVoiceRecognitionActivity() {\n\t\t// Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\t\t// intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n\t\t// RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n\t\t// intent.putExtra(RecognizerIntent.EXTRA_PROMPT,\n\t\t// \"Diga o valor do produto\");\n\t\t// intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_PREFERENCE, \"pt-BR\");\n\t\t// // intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_PREFERENCE,\n\t\t// \"en-US\");\n\t\t// intent.putExtra(RecognizerIntent.EXTRA_ONLY_RETURN_LANGUAGE_PREFERENCE,\n\t\t// true);\n\t\t// startActivityForResult(intent, VOICE_RECOGNITION_REQUEST_CODE);\n\t\tUtils.startVoiceRecognitionActivity(this, Utils.nomeProdutoMessage);\n\t}", "private void setTextTospeech() {\n textToSpeech = new TextToSpeech(mContext, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n Set<Locale> languages = textToSpeech.getAvailableLanguages();\n if (language.toLowerCase().contains(langaugeCodeEnglish)) {\n int result = textToSpeech.setLanguage(new Locale(\"en\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n //Toast.makeText(mContext, result + \" is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n }\n } else {\n int result = textToSpeech.setLanguage(new Locale(\"hi\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n result = textToSpeech.setLanguage(Locale.forLanguageTag(\"hin\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n\n // Toast.makeText(mContext, result + \"Language is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \"Language is not supported\");\n }\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n if (result == TextToSpeech.LANG_NOT_SUPPORTED) {\n showTtsLanuageNSDialog();\n }\n }\n }\n }\n });\n }", "private void setRecognizerParam(SettingParams params) {\n if (mRecognizer == null)\n return;\n //清空所以参数\n mRecognizer.setParameter(SpeechConstant.PARAMS, null);\n //设置听写引擎\n mRecognizer.setParameter(SpeechConstant.ENGINE_TYPE, SpeechConstant.TYPE_CLOUD);\n //设置返回结果格式\n mRecognizer.setParameter(SpeechConstant.RESULT_TYPE, \"json\");\n //设置标点符号 0:无标点 1:有标点\n mRecognizer.setParameter(SpeechConstant.ASR_PTT, \"0\");\n //设置语言\n mRecognizer.setParameter(SpeechConstant.LANGUAGE, params.getRecognizerLanguage());\n //设置发音\n mRecognizer.setParameter(SpeechConstant.ACCENT, params.getRecognizerAccent());\n //设置语音前端点:静音超时时间,即用户多长时间不说话则当做超时处理\n mRecognizer.setParameter(SpeechConstant.VAD_BOS, params.getRecognizerBOS() + \"\");\n //设置语音后端点:后端点静音检测时间,即用户停止说话多长时间内即认为不再输入, 自动停止录音\n mRecognizer.setParameter(SpeechConstant.VAD_EOS, params.getRecognizerEOS() + \"\");\n\n //open translate in english mode\n if (isEnglishEnvironment) {\n mRecognizer.setParameter(SpeechConstant.ASR_SCH, \"0\");\n mRecognizer.setParameter(SpeechConstant.ADD_CAP, \"translate\");\n mRecognizer.setParameter(SpeechConstant.TRS_SRC, \"its\");\n mRecognizer.setParameter(SpeechConstant.ORI_LANG, \"en\");\n mRecognizer.setParameter(SpeechConstant.TRANS_LANG, \"cn\");\n }\n }", "@Override\n public void onCreatePreferences(Bundle bundle, String s) {\n addPreferencesFromResource(R.xml.pref);\n sharedPreferences = PreferenceManager.getDefaultSharedPreferences(getActivity());\n //onSharedPreferenceChanged(sharedPreferences, getString(R.string.language_key));\n onSharedPreferenceChanged(sharedPreferences, getString(R.string.difficulty_key));\n onSharedPreferenceChanged(sharedPreferences, getString(R.string.word_category_key));\n }", "public void setContactVoice(String contactVoice) {\n this.contactVoice = contactVoice;\n }", "public void onVoiceStart(int sampleRates) {\n }", "@Override\r\n protected void onCreate(Bundle savedInstanceState) {\r\n super.onCreate(savedInstanceState);\r\n setContentView(R.layout.activity_translate);\r\n\r\n translatedPhrase = findViewById(R.id.translatedPhrase);//textview to display the translated phrase or word\r\n list3 = findViewById(R.id.list3);\r\n list3.setChoiceMode(ListView.CHOICE_MODE_SINGLE);//setting the choice mode of the list to single choice\r\n\r\n subscribedLanguage = findViewById(R.id.subscribedLanguage);\r\n languageArrayList = phrasesDatabase.languages();//storing the data from the database into the array\r\n //array to store the string values of the main array\r\n ArrayList<String> spinnerArray = new ArrayList<>();\r\n //loop to retrieve the values from the main array into the string array for displaying\r\n for(int i =0; i < languageArrayList.size(); i++) {\r\n spinnerArray.add(languageArrayList.get(i).getLanguage());\r\n }\r\n\r\n ArrayAdapter<String> spinnerAdapter = new ArrayAdapter<>(this, android.R.layout.simple_spinner_item, spinnerArray);\r\n spinnerAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\r\n subscribedLanguage.setAdapter(spinnerAdapter);\r\n\r\n translate = findViewById(R.id.translate);\r\n pronounce = findViewById(R.id.pronounce);\r\n\r\n translationService = initLanguageTranslatorService();\r\n textService = initTextToSpeechService();\r\n\r\n //calling methods\r\n translatePhrase();\r\n textToSpeech();\r\n }", "private static ArrayList<String> loadParameters() throws IOException {\r\n BufferedReader br = new BufferedReader(new FileReader(new File(\"conf.data\")));\r\n\r\n ArrayList<String> params = new ArrayList<>();\r\n\r\n String param;\r\n while ((param = br.readLine()) != null ){\r\n params.add(param);\r\n }\r\n\r\n return params;\r\n }", "public void startVoiceRecognition() {\n startVoiceRecognition(null);\n }", "public void makeDecision(String speech , List<WordResult> speechWords) {\r\n\t\tVoiceManager vm =VoiceManager.getInstance();\r\n\t\tVoice voice;\r\n\t\tvoice=vm.getVoice(\"mbrola_us3\");\r\n\t\tvoice.allocate();\r\n\t\tSystem.out.println(speech);\r\n\t\t//System.out.println(speech+\"fdsf\");\r\n\t\t if(speech.equalsIgnoreCase(\"shutdown computer\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\" Shuting down the computer\");\r\n\t\t \tRuntime rm=Runtime.getRuntime();\r\n\t\t\t\ttry{\r\n\t\t\t\t\tProcess proc=rm.exec(\"shutdown -s -t 0\");\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e)\r\n\t\t\t\t{}\r\n\t\t\t\t\r\n\r\n\t\t \t}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"restart computer\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"restarting the computer\");\r\n\t\t \tRuntime rm=Runtime.getRuntime();\r\n\t\t\t\ttry{\r\n\t\t\t\t\tProcess proc=rm.exec(\"shutdown -r -t 0\");\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e)\r\n\t\t\t\t{}\r\n\t\t\t\t\r\n\t\t \t}\r\n\t\t \tcatch(Exception e)\r\n\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\t else if(speech.equalsIgnoreCase(\"who is smart\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"Abhay bhadouriya is smartest person alive in this world\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who is ugly\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"your sister and friends are the most ugliest persons in the world \");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"what is time\"))\r\n\t\t {\r\n\t\t \tDate dm=new Date();\r\n\t\t \tint h=dm.getHours();\r\n\t\t \tint m=dm.getMinutes();\r\n\t\t \tif(h>12)\r\n\t\t \t{\r\n\t\t \t\th=h-12;\r\n\t\t \t}\r\n\t\t \t\r\n\t\t \ttry {voice.speak(\"TIME is\"+h+\"Hour\"+m+\"Minutes\" );}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"say hello \"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"Hello this is your computer\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"please sleep\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"no i don't wont to sleep\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open facebook\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"facebook\");\r\n\t\t \t FUNC.facebook();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open google\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"google\");\r\n\t\t \t FUNC.google();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open youtube\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"youtube\");\r\n\t\t \t FUNC.youtube();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open gmail\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"gmail\");\r\n\t\t \t FUNC.gmail();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"play music\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"music\");\r\n\t\t \t FUNC.pmusic();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"volume up\"))\r\n\t\t {\r\n\t\t \tvoice.speak(\"volume increasing by 10\");\r\n\t\t \t\tvolume.up();\r\n\t\t \t\t\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"volume down\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t\t voice.speak(\"volume decreasing by 10\");\r\n\t \t\tvolume.down();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"show desktop\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"Showing desktop\");\r\n\t\t\t FUNC.desktop();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"how are you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"i'm fine and you \");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"what day is today\"))\r\n\t\t {\r\n\t\t\t Date dd=new Date();\r\n\t\t\t int i=dd.getDay();\r\n\t\t\t\tif(i==0)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is sunday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==1)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is monday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==2)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is tuesday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==3)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is wednesday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==4)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is thursday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==5)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is friday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==6)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is saturday\");\r\n\t\t\t\t}\r\n\t\t\t \r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to right\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.right();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to left\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.left();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to up\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t emotion.up();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to down\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.down();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"select this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.select();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"view its property\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.property();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"view item menu\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.viewmenu();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on mouse by keyboard\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.turnon();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close this window tab\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.close();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"switch window tab\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.switcht();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"ok dude take some rest\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t voice.speak(\"have a nice day\");\r\n\t\t\t voice.speak(\"i'm very lucky to have a master like you sir \");\r\n\t\t\t voice.speak(\"good night my suprier great master\");\r\n\t\t\t System.exit(0);\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn off wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on bluetooth\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t try{\r\n\t \t\t Process p ;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c fsquirt\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the notepad\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start notepad\");\r\n\t \t\t // System.out.println(\"inside\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t } else if(speech.equalsIgnoreCase(\"close the notepad\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im notepad.exe /f\");\r\n\t \t\t // System.out.println(\"inside\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the command\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t\t\tProcess p;\r\n\t \t\t\t\tp = Runtime.getRuntime().exec(\"cmd /c start cmd\");\t\t\t\t\r\n\t \t\t\t\t}catch(Exception er)\r\n\t \t\t\t\t{}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the command\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im cmd.exe /f\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the browser\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start chrome.exe\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the browser\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im chrome.exe /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the control panel\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c control\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the control panel\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c control taskkill /im control /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the paint\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start mspaint\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the paint\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im mspaint.exe /f\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the task manager\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start taskmgr.exe\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the task manager\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t \tp = Runtime.getRuntime().exec(\"cmd /c start taskkill /im taskmgr.exe /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open power option\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c powercfg.cpl\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open windows security center\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c wscui.cpl\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"copy this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok item is copied\");\r\n\t\t\t basiccontrolls.copy();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"paste here selected item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"item is pasted\");\r\n\t\t\t basiccontrolls.paste();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"cut this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok item is cut\");\r\n\t\t\t basiccontrolls.cut();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"go back\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok going to previous page\");\r\n\t\t\t basiccontrolls.back();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"show me my beautiful face\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"you look like a donkey\");\r\n\t\t\t basiccontrolls.camera();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who the hell are you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"hello\");\r\n\t\t\t voice.speak(\"i am computer \");\r\n\t\t\t voice.speak(\"here i'm assist by you \");\r\n\t\t\t voice.speak(\"i will do anything what ever you told me todo and \"+\" \"+\" what instruction are feeded in my dictionary\");\r\n\t\t\t voice.speak(\"Thank you for asking \");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who loves you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"no one loves me \");\r\n\t\t\t voice.speak(\"except my charger \");\r\n\t\t\t voice.speak(\"but more impoertantly i looks far handsome than you \");\r\n\t\t\t voice.speak(\"you peace of shit \");\r\n\t\t\t voice.speak(\"your face is look like a monkey\");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"do you like engineering\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"no\");\r\n\t\t\t voice.speak(\"I hate engineering\");\r\n\t\t\t voice.speak(\"you ruined my life \");\r\n\t\t }\r\n\t\t/* else if(speech.equalsIgnoreCase(\"turn off wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }*/\r\n\r\n\t}", "private void loadSettingsFromSharedPreferencesDeviceAndResourcees() {\n this.mTouchCapture = (TouchCapture)this.mActivity.getCommonSettings().get(CommonSettingKey.TOUCH_CAPTURE);\n this.mPrefs = this.mActivity.getSharedPreferences(\"com.sonyericsson.android.camera.shared_preferences\", 0);\n int n = this.mCameraDevice.getCameraId();\n switch (n) {\n case 0: {\n this.mVideoFocusMode = FocusMode.FACE_DETECTION;\n break;\n }\n case 1: {\n this.mVideoFocusMode = FocusMode.FIXED;\n }\n }\n this.mAutoReviewSetting = this.mActivity.isOneShotPhotoSecure() ? AutoReview.OFF : FastCapturingCameraUtils.loadParameter(this.mPrefs, 1, n, ParameterKey.AUTO_REVIEW, AutoReview.OFF);\n if (this.mVideoAutoReviewSetting == null) {\n this.mVideoAutoReviewSetting = FastCapturingCameraUtils.loadParameter(this.mPrefs, 2, n, ParameterKey.VIDEO_AUTO_REVIEW, VideoAutoReview.OFF);\n }\n if (n == 0) {\n this.mPhotoSelfTimerSetting = SelfTimer.OFF;\n return;\n }\n this.mPhotoSelfTimerSetting = FastCapturingCameraUtils.loadParameter(this.mPrefs, 1, n, ParameterKey.SELF_TIMER, SelfTimer.OFF);\n }", "public Voice getVoice ()\r\n {\r\n return voice;\r\n }", "private void startVoiceRecognitionActivity()\n {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Voice recognition Demo...\");\n startActivityForResult(intent, REQUEST_CODE);\n }", "private void startVoiceRecognitionActivity()\n\t{\n\t\tSystem.out.println(\"Starting activity lel\");\n\t\tIntent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\t\tintent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n\t\t\t\tRecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n\t\tintent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Voice recognition Demo...\");\n\t\tstartActivityForResult(intent, VOICE_REQUEST_CODE);\n\t}", "private void startVoiceRecognitionActivity() {\n\t\tIntent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\t\tintent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n\t\tintent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"What food are you stocking right now?\");\n\t\tstartActivityForResult(intent, SPEECH_REQCODE);\n\t}", "public static void loadAudio()\n\t{\n\t\ttry\n\t\t{\n\t\t\tmusic = Applet.newAudioClip(new URL(\"file:\" + System.getProperty(\"user.dir\") + \"/sound/Pamgaea.wav\"));\n\t\t\tlaser = Applet.newAudioClip(new URL(\"file:\" + System.getProperty(\"user.dir\") + \"/sound/laser.wav\"));\n\t\t\tlaserContinuous = Applet.newAudioClip(new URL(\"file:\" + System.getProperty(\"user.dir\") + \"/sound/laser_continuous.wav\"));\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "@Override\n public void onCreatePreferences(Bundle bundle, String s) {\n addPreferencesFromResource(R.xml.preferences);\n }", "public static void InitLoadAudioCtl() {\n LoadCurAudioVolume();\r\n // Get Current Audio Balance\r\n LoadCurAudioBalance();\r\n\r\n // Get Current Supper Bass Switch\r\n LoadCurAudioSupperBassSwitch();\r\n // Get Current Supper Bass Volume\r\n LoadCurAudioSupperBassVolume();\r\n\r\n SetAudioMainVolume();\r\n\r\n // Get Current SRSSurround\r\n LoadCurAudioSrsSurround();\r\n\r\n // Get Current SRS DialogClarity\r\n LoadCurAudioSrsDialogClarity();\r\n\r\n // Get Current SRS TruBass\r\n LoadCurAudioSrsTruBass();\r\n\r\n // Get Current Audio Sound Mode\r\n LoadCurAudioSoundMode();\r\n LoadCurAudioWallEffect();\r\n // Get Custom Audio Bass and Treble\r\n LoadCustomBassVolume();\r\n LoadCustomTrebleVolume();\r\n if (disableEQ) {\r\n SetSpecialModeBTVolume(GetCurAudioSoundMode());\r\n } else {\r\n // Load Custom EQ Gain Values\r\n LoadCustomEQGain(GetEQMinGainVal(), GetEQMaxGainVal());\r\n SetSpecialModeEQGain(GetCurAudioSoundMode());\r\n SetCurAudioBassVolume(mCurAudioBassVolume);\r\n SetCurAudioTrebleVolume(mCurAudioTrebleVolume);\r\n }\r\n\r\n // Get Current EQ mode\r\n // LoadCurAudioEQMode();\r\n // SetSpecialModeEQGain(GetCurAudioEQMode());\r\n }", "private void readPreferences() {\n configAutonomousCommand();\n }", "private void initSpeechRecognizer(String userwordPath) {\n mRecognizer = SpeechRecognizer.createRecognizer(mCallerActivity, mInitListener);\n //if(mRecognizer == null){\n // Log.e(\"mRecognizer\",\"NULL!!\");\n //}\n// Log.e(TAG, \"initSpeechRecognizer: \"+ this.getPackageName());\n String userwordContent = FucUtil.readFile(mCallerActivity, userwordPath, \"utf-8\");\n int ret = mRecognizer.updateLexicon(\"userword\", userwordContent, mLexiconListener);\n Log.d(LOG_TAG, \"update lexicon fail, error code: \" + ret);\n mSharedPreferences = mCallerActivity.getSharedPreferences(mCallerActivity.getPackageName(),\tMODE_PRIVATE);\n }", "private void readSharedPreferences() {\n SharedPreferences sharedPref = getActivity().getSharedPreferences(SETTINGS_FILE_KEY, MODE_PRIVATE);\n currentDeviceAddress = sharedPref.getString(SETTINGS_CURRENT_DEVICE_ADDRESS, \"\");\n currentDeviceName = sharedPref.getString(SETTINGS_CURRENT_DEVICE_NAME, \"\");\n currentFilenamePrefix = sharedPref.getString(SETTINGS_CURRENT_FILENAME_PREFIX, \"\");\n currentSubjectName = sharedPref.getString(SETTINGS_SUBJECT_NAME, \"\");\n currentShoes = sharedPref.getString(SETTINGS_SHOES, \"\");\n currentTerrain = sharedPref.getString(SETTINGS_TERRAIN, \"\");\n }", "private void readPreferences() {\r\n \t\tSharedPreferences sp = getSharedPreferences(SPN, MODE_PRIVATE);\r\n \t\t// set listener to this\r\n \t\tsp.registerOnSharedPreferenceChangeListener(this);\r\n \t\t// read shared preferences to get data file\r\n \t\tdataFile = sp.getString(res.getString(R.string.pref_data_file_key),\r\n \t\t\t\tnull);\r\n \t\tif (localLOGV) {\r\n \t\t\tLog.i(TAG, \"Data file is \" + dataFile);\r\n \t\t}\r\n \t\tif (dataFile == null)\r\n \t\t\treturn;\r\n \t\t// read if data file is compressed\r\n \t\tgzipFile = sp.getBoolean(res.getString(R.string.pref_data_file_gzip),\r\n \t\t\t\tfalse);\r\n \t}", "public void setVoice(String pVoiceID) throws DynamicCallException, ExecutionException{\n call(\"setVoice\", pVoiceID).get();\n }", "public interface VoiceManager {\n\n void speak(int requestCode, int speechResourceId, Object... formatArgs);\n\n void speak(int requestCode, int speechResourceId);\n\n void listen(int requestCode);\n\n void shutdown();\n\n void setVoiceManagerListener(VoiceManagerImpl.VoiceManagerListener listener);\n}", "private void setupRecognizer(File assetsDir) throws IOException {\n\n recognizer = SpeechRecognizerSetup.defaultSetup()\n .setAcousticModel(new File(assetsDir, \"ru-ru-ptm\"))\n .setDictionary(new File(assetsDir, \"dict_ru.dict\"))\n .setBoolean(\"-remove_noise\", true)\n //.setRawLogDir(assetsDir) // To disable logging of raw audio comment out this call (takes a lot of space on the device)\n .setKeywordThreshold(1e-7f)\n .getRecognizer();\n recognizer.addListener(this);\n\n /* In your application you might not need to add all those searches.\n They are added here for demonstration. You can leave just one.\n */\n\n\n // Create keyword-activation search.\n recognizer.addKeyphraseSearch(KEYPHRASE, KEYPHRASE);\n\n // Create grammar-based search for selection between demos\n File menuGrammar = new File(assetsDir, \"menu.gram\");\n recognizer.addGrammarSearch(MENU_SEARCH, menuGrammar);\n\n // Create grammar-based search for digit recognition\n File digitsGrammar = new File(assetsDir, \"digits.gram\");\n recognizer.addGrammarSearch(DIGITS_SEARCH, digitsGrammar);\n\n // Phonetic search\n File phoneticModel = new File(assetsDir, \"jsgf_ru.gram\");\n recognizer.addAllphoneSearch(ANIMAL_SEARCH, phoneticModel);\n }", "private void ConvertTextToSpeech(String voice1) {\n text=voice1;\n //text = et.getText().toString();\n if (text == null || \"\".equals(text)) {\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n } else\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", "public void loadConfig(XMLElement xml) {\r\n\r\n }", "private void loadSettingFont() {\n\t\tSharedPreferences mysettings = getSharedPreferences(\n\t\t\t\tPREFERENCES_FILE_NAME, 0);\n\t\tindexFont = mysettings.getInt(\"indexFont\", 1);\n\t\tLog.d(\"indexFont\", indexFont + \"\");\n\t\tswitch (indexFont) {\n\t\tcase 0:\n\t\t\tmTypeface = Typeface.DEFAULT;\n\t\t\tbreak;\n\t\tcase 1:\n\t\t\tmTypeface = Typeface.createFromAsset(getApplicationContext()\n\t\t\t\t\t.getAssets(), \"SEGOEUI.TTF\");\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tmTypeface = Typeface.createFromAsset(getApplicationContext()\n\t\t\t\t\t.getAssets(), \"tinhyeu.ttf\");\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tmTypeface = Typeface.createFromAsset(getApplicationContext()\n\t\t\t\t\t.getAssets(), \"thuphap.ttf\");\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tmTypeface = Typeface.createFromAsset(getApplicationContext()\n\t\t\t\t\t.getAssets(), \"SEGOEUI.TTF\");\n\t\t\tbreak;\n\t\t}\n\t}", "@Override\n public void onInit(int status) {\n\t \n\tif (status == TextToSpeech.SUCCESS) {\n\t\t \n int result = mTts.setLanguage(Locale.US);\n if (result != TextToSpeech.LANG_MISSING_DATA && result != TextToSpeech.LANG_NOT_SUPPORTED) {\n \tspokenText += spokenText+\"\"+spokenText+\"\";\n // mTts.speak(\"Dear sir your class is finished!! Dear sir your class is finished!! Dear sir your class is finished!!\", TextToSpeech.QUEUE_FLUSH, null);\n mTts.speak(spokenText, TextToSpeech.QUEUE_FLUSH, null);\n } \n } \n\t \n}", "private void setSynthesizerParam(SettingParams params) {\n if (mSynthesizer == null)\n return;\n //清除所有参数\n mSynthesizer.setParameter(SpeechConstant.PARAMS, null);\n //设置合成引擎\n mSynthesizer.setParameter(SpeechConstant.ENGINE_TYPE, SpeechConstant.TYPE_CLOUD);\n //设置音调\n mSynthesizer.setParameter(SpeechConstant.PITCH, \"50\");\n //设置播放器音频流类型\n mSynthesizer.setParameter(SpeechConstant.STREAM_TYPE, \"3\");\n //设置播放合成音频打断音乐播放,默认为true\n mSynthesizer.setParameter(SpeechConstant.KEY_REQUEST_FOCUS, \"true\");\n //设置合成发言人\n mSynthesizer.setParameter(SpeechConstant.VOICE_NAME, params.getVoiceName());\n //设置语速\n mSynthesizer.setParameter(SpeechConstant.SPEED, params.getVoiceSpeed() + \"\");\n //设置音量\n mSynthesizer.setParameter(SpeechConstant.VOLUME, params.getVoiceVolume() + \"\");\n }", "private LODEParameters(){\n prefsFile=new File(LODEConstants.PARAMS_FILE);\n }", "public void setApplicationContext(Context cx)\n {\n context = new WeakReference<>(cx);\n\n if(context.get() != null && voices == null)\n {\n // Create an array with uri:s\n voices = new Uri[VoiceID.VID_MAX_NUM_ENUMS.ordinal()];\n\n // And create these only once\n voices[VoiceID.VID_WELCOME_TO_THE_NEWSPAPER.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p001);\n voices[VoiceID.VID_ONE_MOMENT_NEWSPAPER_LOADING.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p002);\n voices[VoiceID.VID_CONTINUING.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p004);\n voices[VoiceID.VID_PAUSING.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p005);\n voices[VoiceID.VID_NEXT_ARTICLE.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p006);\n voices[VoiceID.VID_PREVIOUS_ARTICLE.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p007);\n voices[VoiceID.VID_NEXT_NEWSPAPER.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p008);\n voices[VoiceID.VID_PREVIOUS_NEWSPAPER.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p009);\n voices[VoiceID.VID_YOU_HAVE_REACHED_THE_END_OF_THE_NEWSPAPER.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p013);\n }\n }", "private void speak() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM) ;\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Speak the Item\");\n\n startActivityForResult(intent, SPEECH_REQUEST_CODE);\n\n }", "private void loadPreferences() {\n SharedPreferences sp = getSharedPreferences(MY_PREFS, MODE_PRIVATE);\n\n int entreeIndex = sp.getInt(\"entreeIndex\", 0);\n int drinkIndex = sp.getInt(\"drinkIndex\", 0);\n int dessertIndex = sp.getInt(\"dessertIndex\", 0);\n\n // Setting inputs from SharedPreferences\n spEntree.setSelection(entreeIndex);\n spDrink.setSelection(drinkIndex);\n spDessert.setSelection(dessertIndex);\n\n edtTxtEntreePrice.setText(alEntreePrices.get(entreeIndex));\n edtTxtDrinkPrice.setText(alDrinkPrices.get(drinkIndex));\n edtTxtDessertPrice.setText(alDessertPrices.get(dessertIndex));\n }", "public void onClick(View v) {\n speechRecognizer.startListening(speechRecognizerIntent);\n Toast.makeText( getActivity(),\"Voice\", Toast.LENGTH_SHORT).show();\n }", "private void readPreferences()\n {\n\n \tCheckBox myNotifyRing\t= (CheckBox) findViewById(R.id.CheckBoxNotifyRing);\n \tCheckBox myNotifyCharge\t= (CheckBox) findViewById(R.id.CheckBoxNotifyCharge);\n \tCheckBox myNotifySMS\t= (CheckBox) findViewById(R.id.CheckBoxNotifySMS);\n \tCheckBox myNotifyMail\t= (CheckBox) findViewById(R.id.CheckBoxNotifyMail);\n \tCheckBox myNotifyIM\t\t= (CheckBox) findViewById(R.id.CheckBoxNotifyIM);\n\n \tCheckBox myVibrateRing\t= (CheckBox) findViewById(R.id.CheckBoxVibrateRing);\n \tCheckBox myVibrateSMS\t= (CheckBox) findViewById(R.id.CheckBoxVibrateSMS);\n \tCheckBox myVibrateMail\t= (CheckBox) findViewById(R.id.CheckBoxVibrateMail);\n \tCheckBox myVibrateIM\t= (CheckBox) findViewById(R.id.CheckBoxVibrateIM);\n\n \tCheckBox mySoundRing\t= (CheckBox) findViewById(R.id.CheckBoxSoundRing);\n \tCheckBox mySoundSMS\t\t= (CheckBox) findViewById(R.id.CheckBoxSoundSMS);\n \tCheckBox mySoundMail\t= (CheckBox) findViewById(R.id.CheckBoxSoundMail);\n \tCheckBox mySoundIM\t\t= (CheckBox) findViewById(R.id.CheckBoxSoundIM);\n \t\n \tCheckBox myVibrateOff\t= (CheckBox) findViewById(R.id.CheckBoxVibrationOff);\n \tCheckBox mySoundOff\t= (CheckBox) findViewById(R.id.CheckBoxSoundOff);\n \t\n \tSpinner mySpinnerRing \t= (Spinner) findViewById(R.id.SpinnerRing);\n \tSpinner mySpinnerCharge = (Spinner) findViewById(R.id.SpinnerCharge);\n \tSpinner mySpinnerSMS \t= (Spinner) findViewById(R.id.SpinnerSMS);\n \tSpinner mySpinnerMail \t= (Spinner) findViewById(R.id.SpinnerMail);\n \tSpinner mySpinnerIM \t= (Spinner) findViewById(R.id.SpinnerIM);\n \tSpinner mySpinnerSleep \t= (Spinner) findViewById(R.id.SpinnerSleep);\n \t\n \tSpinner mySpinnerVFrom \t= (Spinner) findViewById(R.id.SpinnerVibrationOffFrom);\n \tSpinner mySpinnerVTo \t= (Spinner) findViewById(R.id.SpinnerVibrationOffTo);\n \tSpinner mySpinnerSFrom \t= (Spinner) findViewById(R.id.SpinnerSoundOffFrom);\n \tSpinner mySpinnerSTo \t= (Spinner) findViewById(R.id.SpinnerSoundOffTo);\n\n \t\n myNotifyRing.setChecked(m_myPrefs.getNotifyRing());\n myNotifyCharge.setChecked(m_myPrefs.getNotifyCharge());\n myNotifySMS.setChecked(m_myPrefs.getNotifySMS());\n myNotifyMail.setChecked(m_myPrefs.getNotifyMail());\n myNotifyIM.setChecked(m_myPrefs.getNotifyIM());\n \n myVibrateRing.setChecked(m_myPrefs.getVibrateRing());\n myVibrateSMS.setChecked(m_myPrefs.getVibrateSMS());\n myVibrateMail.setChecked(m_myPrefs.getVibrateMail());\n myVibrateIM.setChecked(m_myPrefs.getVibrateIM());\n\n mySoundRing.setChecked(m_myPrefs.getPlaySoundRing());\n mySoundSMS.setChecked(m_myPrefs.getPlaySoundSMS());\n mySoundMail.setChecked(m_myPrefs.getPlaySoundMail());\n mySoundIM.setChecked(m_myPrefs.getPlaySoundIM());\n\n mySpinnerRing.setSelection(m_myPrefs.getEffectRing());\n mySpinnerCharge.setSelection(m_myPrefs.getEffectCharge());\n mySpinnerSMS.setSelection(m_myPrefs.getEffectSMS());\n mySpinnerMail.setSelection(m_myPrefs.getEffectMail());\n mySpinnerIM.setSelection(m_myPrefs.getEffectIM());\n mySpinnerSleep.setSelection(m_myPrefs.getEffectSleep());\n \n // sounds\n m_strUriRing \t= m_myPrefs.getSoundRing();\t \n m_strUriSMS \t= m_myPrefs.getSoundSMS();\n m_strUriIM \t\t= m_myPrefs.getSoundIM();\n m_strUriMail\t= m_myPrefs.getSoundMail();\n \n // silence options\n myVibrateOff.setChecked(m_myPrefs.getVibrateOff());\n mySoundOff.setChecked(m_myPrefs.getSoundOff());\n \n mySpinnerVFrom.setSelection(m_myPrefs.getVibrateOffTimespan().getFromHours());\n mySpinnerVTo.setSelection(m_myPrefs.getVibrateOffTimespan().getToHours());\n mySpinnerSFrom.setSelection(m_myPrefs.getSoundOffTimespan().getFromHours());\n mySpinnerSTo.setSelection(m_myPrefs.getSoundOffTimespan().getToHours());\n\n }", "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n addPreferencesFromResource(R.xml.preferences);\n\n SharedPreferences SP = PreferenceManager.getDefaultSharedPreferences(getBaseContext());\n\n //String ip = SP.getString(\"ip\", \"NULL\");\n // Config.ip = SP.getString(\"ip\", \"NULL\");\n // Log.e(\"IP\",Config.ip );\n String language = SP.getString(\"language\",\"NULL\");\n // Toast.makeText(getApplicationContext(),Config.ip,Toast.LENGTH_SHORT).show();\n //Toast.makeText(getApplicationContext(),language,Toast.LENGTH_SHORT).show();\n }", "private void initData() {\n Resources resources = context.getResources();\n settingTitles = resources.getStringArray(R.array.setting_array);\n selectAccent = resources.getStringArray(R.array.accent_array);\n selectAccentDisplay = resources.getStringArray(R.array.accent_display_array);\n selectSpeaker = resources.getStringArray(R.array.speaker_array);\n selectSpeakerDisplay = resources.getStringArray(R.array.speaker_display_array);\n\n positive = resources.getString(R.string.positive);\n negative = resources.getString(R.string.negative);\n answerUnKnown = resources.getString(R.string.unknown);\n answerCalling = resources.getString(R.string.calling);\n answerOpen = resources.getString(R.string.opening);\n answerFound = resources.getString(R.string.founded);\n answerNotFound = resources.getString(R.string.not_found);\n\n String systemLanguage = Util.getSystemLanguage(context).toLowerCase();\n if (systemLanguage.equalsIgnoreCase(\"zh_cn\")) {\n isEnglishEnvironment = false;\n }\n }", "public void ResultVoiceDialog(EventVoice event);", "public void speakButtonClicked(View v)\n {\n startVoiceRecognitionActivity();\n }", "@Override\r\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\r\n getPreferenceManager().setSharedPreferencesName(PreferManager.PPEFER_FILE);\r\n addPreferencesFromResource(R.xml.preference);\r\n }", "private void loadSettings(){\n SharedPreferences sharedPreferences = getActivity().getSharedPreferences(SHARED_PREF, Context.MODE_PRIVATE);\n notificationSwtich = sharedPreferences.getBoolean(SWITCH, false);\n reminderOnOff.setChecked(notificationSwtich);\n }", "public Future<String> getVoice() throws DynamicCallException, ExecutionException {\n return call(\"getVoice\");\n }", "public RasaDialoguePolicy(SpeechConfig speechConfig) {\n this.gson = new Gson();\n }", "void loadPreferences() throws OntimizeJEERuntimeException;", "@Override\r\n public void loadPianoAudioStart() {\n }", "public Voice() {\n /* Make the utteranceProcessors a synchronized list to avoid\n * some threading issues.\n */\n utteranceProcessors = Collections.synchronizedList(new ArrayList());\n\tfeatures = new FeatureSetImpl();\n\tfeatureProcessors = new HashMap();\n\n\ttry {\n\t nominalRate = Float.parseFloat(\n\t\t Utilities.getProperty(PROP_PREFIX + \"speakingRate\",\"150\"));\n\t pitch = Float.parseFloat(\n\t\t Utilities.getProperty(PROP_PREFIX + \"pitch\",\"100\"));\n\t range = Float.parseFloat(\n\t\t Utilities.getProperty(PROP_PREFIX + \"range\",\"10\"));\n\t volume = Float.parseFloat(\n\t\t Utilities.getProperty(PROP_PREFIX + \"volume\",\"1.0\"));\n\t} catch (SecurityException se) {\n\t // can't get properties, just use defaults\n\t}\n outputQueue = null;\n audioPlayer = null;\n defaultAudioPlayer = null;\n }", "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main);\n txtSpeechInput = (TextView) findViewById(R.id.txtSpeechInput);\n textToSpeech = new TextToSpeech(getApplicationContext(), new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status != TextToSpeech.ERROR) {\n textToSpeech.setLanguage(Locale.ENGLISH);\n }\n }\n });\n\n btnSpeak = (ImageButton) findViewById(R.id.btnSpeak);\n btnSpeak.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n\n promptSpeechInput();\n }\n });\n\n }", "private void addSpeech(String text, String filename) {\n mUtterances.put(text, new SoundResource(filename));\n }", "private void initVariables() {\n ivBack.setVisibility(View.VISIBLE);\n tvTitle.setVisibility(View.VISIBLE);\n tvTitle.setText(getString(R.string.change_language));\n\n gifProgress.setImageResource(R.drawable.shopholic_loader);\n progressBar.setVisibility(View.GONE);\n String currentLang = AppSharedPreference.getInstance().getString(this, AppSharedPreference.PREF_KEY.CURRENT_LANGUAGE);\n setLanguage(currentLang);\n }", "public String getVoice() throws DynamicCallException, ExecutionException {\n return (String)call(\"getVoice\").get();\n }", "private String setSpeechFXLanguage(String language){\n String lang;\n if (!mSpeechFXon) {\n lang = language;\n } else if (mTts == null) {\n\t\t\tLog.i(TAG, \"TTS IS NULL!\");\n\t\t\tlang = language;\n\t\t} else {\n\t\t\tlang = Languages.setSpeechLanguage(language, mDefaultSpeechLang, mTts.ttsengine());\n\t\t\tif (mTts != null && lang != null && !lang.equals(\"\")) {\n\t\t\t\tLog.i(TAG, \"TTS set speech engine language: \" + lang);\n\t\t\t\tmTts.ttsengine().setLanguage(Languages.stringToLocale(lang));\n\t\t\t} else {\n\t\t\t\t// Unchanged, so return the pilot language\n\t\t\t\tlang = language;\n\t\t\t}\n\t\t\tLog.i(TAG, \"TTS LANG: \" + lang);\n\t\t}\n\n\t\treturn lang;\n\t}", "void load() {\n String uri =\"/storage/sdcard0/Download/bbb_sunflower_1080p_30fps_normal.mp4\";\n //String uri = \"rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov\";\n put(OPT_URI, sPref.getString(\"OPT_URI\", uri));\n put(OPT_RTSP_PROTOCOL,sPref.getString(\"OPT_RTSP_PROTOCOL\", \"tcp\"));\n put(OPT_PACKET_BUFFER_SIZE,sPref.getInt(\"OPT_PACKET_BUFFER_SIZE\", 10));\n put(OPT_IS_FLUSH,sPref.getBoolean(\"OPT_IS_FLUSH\", true));\n put(OPT_IS_MAX_FPS,sPref.getBoolean(\"OPT_IS_MAX_FPS\", true));\n put(OPT_IS_SKIP_PACKET, sPref.getBoolean(\"OPT_IS_SKIP_PACKET\", true));\n put(OPT_IS_LOOP_PLAYING, sPref.getBoolean(\"OPT_IS_LOOP_PLAYING\", true));\n put(OPT_IS_WINDOW_NATIVE, sPref.getBoolean(\"OPT_IS_WINDOW_NATIVE\", false));\n put(OPT_IS_WINDOW_GLES, sPref.getBoolean(\"OPT_IS_WINDOW_GLES\", true));\n put(OPT_IS_VIDEO_QUEUE, sPref.getBoolean(\"OPT_IS_VIDEO_QUEUE\", false));\n }", "void playSpeech(String rawText);", "private void getSettings(){\n SharedPreferences sp = getSharedPreferences(\"PACERUNNER_SETTINGS\", Activity.MODE_PRIVATE);\n AMOUNT_OF_SECONDS_WHEN_TRIGGERING_NOTIFICATION = sp.getInt(\"NOTIFICATION_SENSITIVITY\", -15);\n REQUIRED_METERS_BEFORE_SHOWING_AVGPACE = sp.getInt(\"NOTIFICATION_METERS_BEFORE_START\", 500);\n }", "@Override\r\n \tpublic void onCreate() {\r\n \t\tsuper.onCreate();\r\n \t\t// keep a copy of resources for later use in application\r\n \t\tres = getResources();\r\n \t\t// read preferences\r\n \t\treadPreferences();\r\n \t}", "private void LoadSavedPreferences() {\n\t\tString value;\n\t\tSharedPreferences sharedPreferences = PreferenceManager\n\t\t\t\t.getDefaultSharedPreferences(this);\n\t\t// tab 3 ************************************************\n\t\tvalue = sharedPreferences.getString(\"tempSzad\", \"22\");\n\t\tettempSzad_.setText(value);\n\t\tvalue = sharedPreferences.getString(\"tempPmaxdop\", \"70\");\n\t\tettempPmaxdop_.setText(value);\n\t\tvalue = sharedPreferences.getString(\"tempZmaxdop\", \"22\");\n\t\tettempZmaxdop_.setText(value);\n\t\tvalue = sharedPreferences.getString(\"tempPumpaON\", \"50\");\n\t\tettempPumpaON_.setText(value);\n\n\t\t// tab 1 ************************************************\n\t\tvalue = sharedPreferences.getString(\"tv1\", \"20.20\");\n\t\ttvS1.setText(value);\n\t\tvalue = sharedPreferences.getString(\"tv2\", \"44.22\");\n\t\ttvS2.setText(value);\n\t\tvalue = sharedPreferences.getString(\"tv3\", \"19.22\");\n\t\ttvS3.setText(value);\n\t}", "public static void loadConfig(){\n String filename = ConfigManager.getConfig().getString(LANG_FILE_KEY);\n String langFileName = Language.LANG_FOLDER_NAME + '/' + filename;\n config.setConfigFile(langFileName);\n\n File file = config.getConfigFile();\n if(file.exists()){\n config.loadConfig();\n }else{\n Logger.warn(\"Lang file \\\"\" + filename + \"\\\" doesn't exist\", false);\n Logger.warn(\"Using English language to avoid errors\", false);\n config.clearConfig();\n try{\n config.getBukkitConfig().load(plugin.getResource(Language.EN.getLangFileName()));\n }catch(Exception ex){\n Logger.err(\"An error occurred while loading English language:\", false);\n Logger.err(ex, false);\n }\n }\n//</editor-fold>\n }", "public AudioSettings() {\n this.emulator = NEmuSUnified.getInstance().getEmulator();\n }", "public void readParameters() {\r\n File directory = new File(OptionItems.XML_DEFINITION_PATH);\r\n if (directory.exists()) {\r\n parameterParserXML.readParameterDefinition(configData.getParameterList());\r\n parameterParserXML.processParameterDependency();\r\n }\r\n\r\n Log.info(\"info.progress_control.load_parameter_description\");\r\n }", "public interface ITextToSpeech {\n\n /* loaded from: classes.dex */\n public interface TextToSpeechCallback {\n void onFailure();\n\n void onSuccess();\n }\n\n boolean isInitialized();\n\n int isLanguageAvailable(Locale locale);\n\n void onDestroy();\n\n void onResume();\n\n void onStop();\n\n void setPitch(float f);\n\n void setSpeechRate(float f);\n\n void speak(String str, Locale locale);\n}", "private static void loadSettings() {\n try {\n File settings = new File(\"settings.txt\");\n //Options\n BufferedReader reader = new BufferedReader(new FileReader(settings));\n defaultSliderPosition = Double.parseDouble(reader.readLine());\n isVerticalSplitterPane = Boolean.parseBoolean(reader.readLine());\n verboseCompiling = Boolean.parseBoolean(reader.readLine());\n warningsEnabled = Boolean.parseBoolean(reader.readLine());\n clearOnMethod = Boolean.parseBoolean(reader.readLine());\n compileOptions = reader.readLine();\n runOptions = reader.readLine();\n //Colors\n for(int i = 0; i < colorScheme.length; i++) \n colorScheme[i] = new Color(Integer.parseInt(reader.readLine()));\n\n for(int i = 0; i < attributeScheme.length; i++) {\n attributeScheme[i] = new SimpleAttributeSet();\n attributeScheme[i].addAttribute(StyleConstants.Foreground, colorScheme[i]);\n }\n\n theme = reader.readLine();\n\n reader.close(); \n } catch (FileNotFoundException f) {\n println(\"Couldn't find the settings. How the hell.\", progErr);\n } catch (IOException i) {\n println(\"General IO exception when loading settings.\", progErr);\n } catch (Exception e) {\n println(\"Catastrophic failure when loading settings.\", progErr);\n println(\"Don't mess with the settings file, man!\", progErr);\n }\n }", "public void onInit(int code) {\n\t\t if (code==TextToSpeech.SUCCESS) {\n\t\t \t com.example.main_project.MainActivity.tts.setLanguage(Locale.getDefault());\n\n\n\t\t \t } else {\n\t\t \t com.example.main_project.MainActivity.tts = null;\n\t\t \t Toast.makeText(this, \"Failed to initialize TTS engine.\",\n\t\t \t Toast.LENGTH_SHORT).show();\n\t\t \t }\t\t\n\t\t}", "private void checkVoiceCommandPermission()\n {\n // Android 6 er uporer version gula te voice neoar capability ache, and they require permissions.\n // that's why we check first the SDK version is above 6 or not\n if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.M)\n {\n // jodi persmission pai voice er then\n if(!(ContextCompat.checkSelfPermission(SmartPlayerActivity.this, Manifest.permission.RECORD_AUDIO) == PackageManager.PERMISSION_GRANTED))\n {\n // we can start the activity\n Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS, Uri.parse(\"package:\" + getPackageName()));\n startActivity(intent);\n finish();\n }\n }\n }", "private void addVoiceApp() {\n\t\tApplicationInfo application = new ApplicationInfo();\r\n\t\tapplication.title = \"Camera\";\r\n application.icon = context.getResources().getDrawable(R.drawable.ic_camera_50);\r\n Intent intent=new Intent(context,CameraActivity.class);\r\n application.voiceTag=true;\r\n application.setIntent(intent);\r\n mApplications.add(application);\r\n application.setIndex(mApplications.size()-1); \r\n \r\n\t\tapplication = new ApplicationInfo();\r\n\t\tapplication.title = \"Google\";\r\n\t\tintent=new Intent(\"com.google.glass.action.START_VOICE_SEARCH_ACTIVITY\");\r\n\t\tapplication.setIntent(intent);\r\n\t\tapplication.voiceTag=true;\r\n\t\tapplication.icon = context.getResources().getDrawable(R.drawable.ic_search_50);\r\n mApplications.add(application);\r\n application.setIndex(mApplications.size()-1); \r\n\t}", "public void speakModeHint()\n {\n // speak hint text\n if (getHintsEnabled()) {\n if (mCurrentMode) {\n AudioService.getInstance().speak(getResources().getString(R.string.read_mode_hint_general));\n }\n else {\n AudioService.getInstance().speak(getResources().getString(R.string.search_mode_hint_general));\n }\n }\n }", "private static boolean loadSharedPreferencesFromFile(File src) {\n\t\tboolean res = false;\n\t\tObjectInputStream input = null;\n\t\ttry {\n\t\t\tinput = new ObjectInputStream(new FileInputStream(src));\n\t\t\tEditor prefEdit = PreferenceManager.getDefaultSharedPreferences(mContext).edit();\n\t\t\tprefEdit.clear();\n\t\t\t// first object is preferences\n\t\t\tMap<String, ?> entries = (Map<String, ?>) input.readObject();\n\t\t\t\t\n\t\t\tfor (Entry<String, ?> entry : entries.entrySet()) {\n\t\t\t\tObject v = entry.getValue();\n\t\t\t\tString key = entry.getKey();\n\t\n\t\t\t\tif (v instanceof Boolean)\n\t\t\t\t\tprefEdit.putBoolean(key, ((Boolean) v).booleanValue());\n\t\t\t\telse if (v instanceof Float)\n\t\t\t\t\tprefEdit.putFloat(key, ((Float) v).floatValue());\n\t\t\t\telse if (v instanceof Integer)\n\t\t\t\t\tprefEdit.putInt(key, ((Integer) v).intValue());\n\t\t\t\telse if (v instanceof Long)\n\t\t\t\t\tprefEdit.putLong(key, ((Long) v).longValue());\n\t\t\t\telse if (v instanceof String)\n\t\t\t\t\tprefEdit.putString(key, ((String) v));\n\t\t\t}\n\t\t\tprefEdit.commit();\n\t\n\t\t\t// second object is admin options\n\t\t\tEditor adminEdit = mContext.getSharedPreferences(AdminPreferencesActivity.ADMIN_PREFERENCES, 0).edit();\n\t\t\tadminEdit.clear();\n\t\t\t// first object is preferences\n\t\t\tMap<String, ?> adminEntries = (Map<String, ?>) input.readObject();\n\t\t\tfor (Entry<String, ?> entry : adminEntries.entrySet()) {\n\t\t\t\tObject v = entry.getValue();\n\t\t\t\tString key = entry.getKey();\n\t\n\t\t\t\tif (v instanceof Boolean)\n\t\t\t\t\tadminEdit.putBoolean(key, ((Boolean) v).booleanValue());\n\t\t\t\telse if (v instanceof Float)\n\t\t\t\t\tadminEdit.putFloat(key, ((Float) v).floatValue());\n\t\t\t\telse if (v instanceof Integer)\n\t\t\t\t\tadminEdit.putInt(key, ((Integer) v).intValue());\n\t\t\t\telse if (v instanceof Long)\n\t\t\t\t\tadminEdit.putLong(key, ((Long) v).longValue());\n\t\t\t\telse if (v instanceof String)\n\t\t\t\t\tadminEdit.putString(key, ((String) v));\n\t\t\t}\n\t\t\tadminEdit.commit();\n\t\n\t\t\tLog.i(t, \"Loaded hashmap settings into preferences\");\n\t\t\tres = true;\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} catch (ClassNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (input != null) {\n\t\t\t\t\tinput.close();\n\t\t\t\t}\n\t\t\t} catch (IOException ex) {\n\t\t\t\tex.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn res;\n\t}", "private void initSpeechManager() {\n mSpeechManager = SpeechManager.getInstance(this);\n }", "public XmlParserPref(Context cont, String name) {\n\t\tcontext = cont;\n\t\tprefEdit = PreferenceManager.getDefaultSharedPreferences(context).edit();\n\t\tprofileName = name;\n\t}", "private void initializeTextToSpeech() {\n myTTS = new TextToSpeech(this, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int i) {\n if(myTTS.getEngines().size() ==0){\n Toast.makeText(MainActivity.this, \"There is no Text to Speech engine on your device\", Toast.LENGTH_LONG).show();\n finish();\n }\n else {\n myTTS.setLanguage(Locale.US);\n speak(\"Hello! Welcome to the workout app\");\n\n }\n }\n });\n }", "void loadConfig() {\r\n\t\tFile file = new File(\"open-ig-mapeditor-config.xml\");\r\n\t\tif (file.canRead()) {\r\n\t\t\ttry {\r\n\t\t\t\tElement root = XML.openXML(file);\r\n\t\t\t\t\r\n\t\t\t\t// reposition the window\r\n\t\t\t\tElement eWindow = XML.childElement(root, \"window\");\r\n\t\t\t\tif (eWindow != null) {\r\n\t\t\t\t\tsetBounds(\r\n\t\t\t\t\t\tInteger.parseInt(eWindow.getAttribute(\"x\")),\r\n\t\t\t\t\t\tInteger.parseInt(eWindow.getAttribute(\"y\")),\r\n\t\t\t\t\t\tInteger.parseInt(eWindow.getAttribute(\"width\")),\r\n\t\t\t\t\t\tInteger.parseInt(eWindow.getAttribute(\"height\"))\r\n\t\t\t\t\t);\r\n\t\t\t\t\tsetExtendedState(Integer.parseInt(eWindow.getAttribute(\"state\")));\r\n\t\t\t\t}\r\n\t\t\t\tElement eLanguage = XML.childElement(root, \"language\");\r\n\t\t\t\tif (eLanguage != null) {\r\n\t\t\t\t\tString langId = eLanguage.getAttribute(\"id\");\r\n\t\t\t\t\tif (\"hu\".equals(langId)) {\r\n\t\t\t\t\t\tui.languageHu.setSelected(true);\r\n\t\t\t\t\t\tui.languageHu.doClick();\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tui.languageEn.setSelected(true);\r\n\t\t\t\t\t\tui.languageEn.doClick();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tElement eSplitters = XML.childElement(root, \"splitters\");\r\n\t\t\t\tif (eSplitters != null) {\r\n\t\t\t\t\tsplit.setDividerLocation(Integer.parseInt(eSplitters.getAttribute(\"main\")));\r\n\t\t\t\t\ttoolSplit.setDividerLocation(Integer.parseInt(eSplitters.getAttribute(\"preview\")));\r\n\t\t\t\t\tfeaturesSplit.setDividerLocation(Integer.parseInt(eSplitters.getAttribute(\"surfaces\")));\r\n\t\t\t\t}\r\n\r\n\t\t\t\tElement eTabs = XML.childElement(root, \"tabs\");\r\n\t\t\t\tif (eTabs != null) {\r\n\t\t\t\t\tpropertyTab.setSelectedIndex(Integer.parseInt(eTabs.getAttribute(\"selected\")));\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tElement eLights = XML.childElement(root, \"lights\");\r\n\t\t\t\tif (eLights != null) {\r\n\t\t\t\t\talphaSlider.setValue(Integer.parseInt(eLights.getAttribute(\"preview\")));\r\n\t\t\t\t\talpha = Float.parseFloat(eLights.getAttribute(\"map\"));\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tElement eMode = XML.childElement(root, \"editmode\");\r\n\t\t\t\tif (eMode != null) {\r\n\t\t\t\t\tif (\"true\".equals(eMode.getAttribute(\"type\"))) {\r\n\t\t\t\t\t\tui.buildButton.doClick();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tElement eView = XML.childElement(root, \"view\");\r\n\t\t\t\tif (eView != null) {\r\n\t\t\t\t\tui.viewShowBuildings.setSelected(false);\r\n\t\t\t\t\tif (\"true\".equals(eView.getAttribute(\"buildings\"))) {\r\n\t\t\t\t\t\tui.viewShowBuildings.doClick();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tui.viewSymbolicBuildings.setSelected(false);\r\n\t\t\t\t\tif (\"true\".equals(eView.getAttribute(\"minimap\"))) {\r\n\t\t\t\t\t\tui.viewSymbolicBuildings.doClick();\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tui.viewTextBackgrounds.setSelected(false);\r\n\t\t\t\t\tif (\"true\".equals(eView.getAttribute(\"textboxes\"))) {\r\n\t\t\t\t\t\tui.viewTextBackgrounds.doClick();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tui.viewTextBackgrounds.setSelected(false);\r\n\t\t\t\t\tif (\"true\".equals(eView.getAttribute(\"textboxes\"))) {\r\n\t\t\t\t\t\tui.viewTextBackgrounds.doClick();\r\n\t\t\t\t\t}\r\n\t\t\t\t\trenderer.scale = Double.parseDouble(eView.getAttribute(\"zoom\"));\r\n\t\t\t\t\t\r\n\t\t\t\t\tui.viewStandardFonts.setSelected(\"true\".equals(eView.getAttribute(\"standard-fonts\")));\r\n\t\t\t\t\tui.viewPlacementHints.setSelected(!\"true\".equals(eView.getAttribute(\"placement-hints\")));\r\n\t\t\t\t\tui.viewPlacementHints.doClick();\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tElement eSurfaces = XML.childElement(root, \"custom-surface-names\");\r\n\t\t\t\tif (eSurfaces != null) {\r\n\t\t\t\t\tfor (Element tile : XML.childrenWithName(eSurfaces, \"tile\")) {\r\n\t\t\t\t\t\tTileEntry te = new TileEntry();\r\n\t\t\t\t\t\tte.id = Integer.parseInt(tile.getAttribute(\"id\"));\r\n\t\t\t\t\t\tte.surface = tile.getAttribute(\"type\");\r\n\t\t\t\t\t\tte.name = tile.getAttribute(\"name\");\r\n\t\t\t\t\t\tcustomSurfaceNames.add(te);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tElement eBuildigns = XML.childElement(root, \"custom-building-names\");\r\n\t\t\t\tif (eBuildigns != null) {\r\n\t\t\t\t\tfor (Element tile : XML.childrenWithName(eBuildigns, \"tile\")) {\r\n\t\t\t\t\t\tTileEntry te = new TileEntry();\r\n\t\t\t\t\t\tte.id = Integer.parseInt(tile.getAttribute(\"id\"));\r\n\t\t\t\t\t\tte.surface = tile.getAttribute(\"type\");\r\n\t\t\t\t\t\tte.name = tile.getAttribute(\"name\");\r\n\t\t\t\t\t\tcustomBuildingNames.add(te);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tElement eFilter = XML.childElement(root, \"filter\");\r\n\t\t\t\tif (eFilter != null) {\r\n\t\t\t\t\tfilterSurface.setText(eFilter.getAttribute(\"surface\"));\r\n\t\t\t\t\tfilterBuilding.setText(eFilter.getAttribute(\"building\"));\r\n\t\t\t\t}\r\n\t\t\t\tElement eAlloc = XML.childElement(root, \"allocation\");\r\n\t\t\t\tif (eAlloc != null) {\r\n\t\t\t\t\tui.allocationPanel.availableWorkers.setText(eAlloc.getAttribute(\"worker\"));\r\n\t\t\t\t\tui.allocationPanel.strategies.setSelectedIndex(Integer.parseInt(eAlloc.getAttribute(\"strategy\")));\r\n\t\t\t\t}\r\n\t\t\t\tElement eRecent = XML.childElement(root, \"recent\");\r\n\t\t\t\tif (eRecent != null) {\r\n\t\t\t\t\tfor (Element r : XML.childrenWithName(eRecent, \"entry\")) {\r\n\t\t\t\t\t\taddRecentEntry(r.getAttribute(\"file\")); \r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} catch (IOException ex) {\r\n\t\t\t\tex.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\t}", "private void initVoiceMailProviders() {\n String providerToIgnore = null;\n if (getIntent().getAction().equals(ACTION_ADD_VOICEMAIL)) {\n providerToIgnore = getIntent().getStringExtra(IGNORE_PROVIDER_EXTRA);\n }\n \n mVMProvidersData.clear();\n \n // Stick the default element which is always there\n final String myCarrier = getString(R.string.voicemail_default);\n mVMProvidersData.put(\"\", new VoiceMailProvider(myCarrier, null));\n \n // Enumerate providers\n PackageManager pm = getPackageManager();\n Intent intent = new Intent();\n intent.setAction(ACTION_CONFIGURE_VOICEMAIL);\n List<ResolveInfo> resolveInfos = pm.queryIntentActivities(intent, 0);\n int len = resolveInfos.size() + 1; // +1 for the default choice we will insert.\n \n // Go through the list of discovered providers populating the data map\n // skip the provider we were instructed to ignore if there was one\n for (int i = 0; i < resolveInfos.size(); i++) {\n final ResolveInfo ri= resolveInfos.get(i);\n final ActivityInfo currentActivityInfo = ri.activityInfo;\n final String key = makeKeyForActivity(currentActivityInfo);\n if (key.equals(providerToIgnore)) {\n len--;\n continue;\n }\n final String nameForDisplay = ri.loadLabel(pm).toString();\n Intent providerIntent = new Intent();\n providerIntent.setAction(ACTION_CONFIGURE_VOICEMAIL);\n providerIntent.setClassName(currentActivityInfo.packageName,\n currentActivityInfo.name);\n mVMProvidersData.put(\n key,\n new VoiceMailProvider(nameForDisplay, providerIntent));\n \n }\n \n // Now we know which providers to display - create entries and values array for\n // the list preference\n String [] entries = new String [len];\n String [] values = new String [len];\n entries[0] = myCarrier;\n values[0] = \"\";\n int entryIdx = 1;\n for (int i = 0; i < resolveInfos.size(); i++) {\n final String key = makeKeyForActivity(resolveInfos.get(i).activityInfo);\n if (!mVMProvidersData.containsKey(key)) {\n continue;\n }\n entries[entryIdx] = mVMProvidersData.get(key).name;\n values[entryIdx] = key;\n entryIdx++;\n }\n \n mVoicemailProviders.setEntries(entries);\n mVoicemailProviders.setEntryValues(values);\n \n updateVMPreferenceWidgets(mVoicemailProviders.getValue());\n \n mPerProviderSavedVMNumbers =\n this.getApplicationContext().getSharedPreferences(\n VM_NUMBERS_SHARED_PREFERENCES_NAME, MODE_PRIVATE);\n }", "public void initializeAnswer(){\n\t\ttry{Element root = new XmlReader().parse(Gdx.files.internal(xmlFile));\n\t\tElement artist = root.getChildByName(formatName(game.getArtist()));\n\t\tElement quesNum = artist.getChildByName(Integer.toString(game.getQuestion()));\n\t\tArray<Element> answerCA = quesNum.getChildrenByName(\"Correct\");\n\t\tSystem.out.println(\"The size of the correct array is \" + answerCA.size);\n\t\tfor (int i = 0; i <answerCA.size; i++){\n\t\t\tcorrectA.add(answerCA.get(i).getText());\n\t\t}\n\t\t}\n\t\tcatch(IOException e){\n\t\t}\n\t}", "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_question);\n// try {\n// Uri path = Uri.parse(\"android.resource://\"+getPackageName()+\"/raw/alarm.mp3\");\n// // The line below will set it as a default ring tone replace\n// // RingtoneManager.TYPE_RINGTONE with RingtoneManager.TYPE_NOTIFICATION\n// // to set it as a notification tone\n// RingtoneManager.setActualDefaultRingtoneUri(\n// getApplicationContext(), RingtoneManager.TYPE_RINGTONE,\n// path);\n// Ringtone r = RingtoneManager.getRingtone(getApplicationContext(), path);\n// r.play();\n// }\n// catch (Exception e) {\n// e.printStackTrace();\n// }\n subject=getIntent().getStringExtra(\"Subject\");\n String question=\"[\\n\" +\n \"{\\n\" +\n \" \\\"Question\\\": \\\"What are the indirect Direct subclasses of Services?\\\",\\n\" +\n \"\\\"Q1\\\": \\\"recognitionService\\\",\\n\" +\n \"\\\"Q2\\\": \\\" remoteViewsService\\\",\\n\" +\n \"\\\"Q3\\\": \\\"spellCheckerService\\\",\\n\" +\n \"\\\"Q4\\\": \\\"inputMethodService\\\",\\n\" +\n \"\\\"A\\\": \\\"inputMethodService\\\"\\n\" +\n \"},\\n\" +\n \"{\\n\" +\n \" \\\"Question\\\": \\\"How many ways to start services?\\\",\\n\" +\n \"\\\"Q1\\\": \\\"started\\\",\\n\" +\n \"\\\"Q2\\\": \\\" bound\\\",\\n\" +\n \"\\\"Q3\\\": \\\"a & b\\\",\\n\" +\n \"\\\"Q4\\\": \\\"messenger\\\",\\n\" +\n \"\\\"A\\\": \\\"a & b\\\"\\n\" +\n \"},\\n\" +\n \"{\\n\" +\n \" \\\"Question\\\": \\\"Which of the important device characteristics that you should consider as you design and develop your application?\\\",\\n\" +\n \"\\\"Q1\\\": \\\"screen size and density\\\",\\n\" +\n \"\\\"Q2\\\": \\\" input configurations\\\",\\n\" +\n \"\\\"Q3\\\": \\\" device features\\\",\\n\" +\n \"\\\"Q4\\\": \\\"all the above\\\",\\n\" +\n \"\\\"A\\\": \\\"all the above\\\"\\n\" +\n \"},\\n\" +\n \"{\\n\" +\n \" \\\"Question\\\": \\\"Parent class of Service?\\\",\\n\" +\n \"\\\"Q1\\\": \\\"Object\\\",\\n\" +\n \"\\\"Q2\\\": \\\" Context\\\",\\n\" +\n \"\\\"Q3\\\": \\\" ContextWrapper\\\",\\n\" +\n \"\\\"Q4\\\": \\\"ContextThemeWrapper\\\",\\n\" +\n \"\\\"A\\\": \\\"ContextWrapper\\\"\\n\" +\n \"},\\n\" +\n \"{\\n\" +\n \" \\\"Question\\\": \\\"What are the indirect Direct subclasses of Activity?\\\",\\n\" +\n \"\\\"Q1\\\": \\\" launcherActivity\\\",\\n\" +\n \"\\\"Q2\\\": \\\" preferenceActivity\\\",\\n\" +\n \"\\\"Q3\\\": \\\" tabActivity\\\",\\n\" +\n \"\\\"Q4\\\": \\\"all the above\\\",\\n\" +\n \"\\\"A\\\": \\\"all the above\\\"\\n\" +\n \"},\\n\" +\n \"{\\n\" +\n \" \\\"Question\\\": \\\"What are the Direct subclasses of Activity?\\\",\\n\" +\n \"\\\"Q1\\\": \\\"ListActivity\\\",\\n\" +\n \"\\\"Q2\\\": \\\" ActivityGroup\\\",\\n\" +\n \"\\\"Q3\\\": \\\" FragmentActivity\\\",\\n\" +\n \"\\\"Q4\\\": \\\"all the above\\\",\\n\" +\n \"\\\"A\\\": \\\"all the above\\\"\\n\" +\n \"},\\n\" +\n \"{\\n\" +\n \" \\\"Question\\\": \\\"Parent class of Activity?\\\",\\n\" +\n \"\\\"Q1\\\": \\\"object\\\",\\n\" +\n \"\\\"Q2\\\": \\\" Context\\\",\\n\" +\n \"\\\"Q3\\\": \\\" activityGroup\\\",\\n\" +\n \"\\\"Q4\\\": \\\"contextThemeWrapper\\\",\\n\" +\n \"\\\"A\\\": \\\"contextThemeWrapper\\\"\\n\" +\n \"},\\n\" +\n \"{\\n\" +\n \" \\\"Question\\\": \\\" Layouts in android?\\\",\\n\" +\n \"\\\"Q1\\\": \\\"Frame Layout\\\",\\n\" +\n \"\\\"Q2\\\": \\\" Linear Layout\\\",\\n\" +\n \"\\\"Q3\\\": \\\" Relative Layout\\\",\\n\" +\n \"\\\"Q4\\\": \\\"all of the above\\\",\\n\" +\n \"\\\"A\\\": \\\"all the above\\\"\\n\" +\n \"}\\n\" +\n \"]\";\n\n al=new ArrayList<>();\n// alA=new ArrayList<>();\n// set=new HashSet<>();\n// set1=new HashSet<>();\n try {\n\n JSONArray question1=new JSONArray(question);\n for(int i=0;i<question1.length();i++) {\n Map<String,String> map=new HashMap<>() ;\n JSONObject object = question1.getJSONObject(i);\n String Questionobject=object.getString(\"Question\");\n String q1=object.getString(\"Q1\");\n String q2=object.getString(\"Q2\");\n String q3=object.getString(\"Q3\");\n String q4=object.getString(\"Q4\");\n String A=object.getString(\"A\");\n map.put(\"Question\",Questionobject);\n map.put(\"q1\",q1);\n map.put(\"q2\",q2);\n map.put(\"q3\",q3);\n map.put(\"q4\",q4);\n map.put(\"A\",A);\n al.add(map);\n\n }\n\n\n } catch (JSONException e) {\n e.printStackTrace();\n }\n// sharedPreferences = getSharedPreferences(MyPREFERENCES, Context.MODE_PRIVATE);\n\n q=findViewById(R.id.question);\n time=findViewById(R.id.time);\n b1=findViewById(R.id.b1);\n b2=findViewById(R.id.b2);\n b3=findViewById(R.id.b3);\n b4=findViewById(R.id.b4);\n p1=findViewById(R.id.p1);\n qno1=findViewById(R.id.qno);\n\n qno1.setText(\"Question \" + (j+1) + \" of 8\");\n\n\n q.setText(al.get(j).get(\"Question\"));\n b1.setText(al.get(j).get(\"q1\"));\n b2.setText(al.get(j).get(\"q2\"));\n b3.setText(al.get(j).get(\"q3\"));\n b4.setText(al.get(j).get(\"q4\"));\n dataBaseClass = new DataBaseClass(Question.this);\n String q1 = q.getText().toString();\n String A =al.get(j).get(\"A\");\n\n dataBaseClass.insertValues1(q1, A);\n if(j<al.size()-1)\n {\n\n new CountDownTimer(9000, 1000) {\n\n public void onTick(long millisUntilFinished) {\n time.setText(\"Seconds remaining:\" + millisUntilFinished / 1000);\n\n b1.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n if(b1.getText().equals(al.get(j).get(\"A\"))) {\n count++;\n }\n dataBaseClass.updateData1(b1.getText().toString(),q.getText().toString());\n\n// alA.add(b1.getText().toString());\n// alA.add( al.get(j).get(\"Question\"));\n// alA.add(al.get(j).get(\"A\"));\n// set.add(b1.getText().toString());\n Intent i = getIntent();\n i.putExtra(\"Subject\",subject);\n b1.setBackgroundColor(Color.GREEN);\n j++;\n startActivity(i);\n\n }\n });\n\n b2.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n if(b2.getText().equals(al.get(j).get(\"A\"))) {\n count++;\n }\n dataBaseClass.updateData1(b2.getText().toString(),q.getText().toString());\n// alA.add(b2.getText().toString());\n// alA.add(al.get(j).get(\"Question\"));\n// alA.add(al.get(j).get(\"A\"));\n Intent i=getIntent();\n j++;\n b2.setBackgroundColor(Color.GREEN);\n startActivity(i);\n }\n });\n\n b3.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n if(b3.getText().equals(al.get(j).get(\"A\"))) {\n count++;\n }\n dataBaseClass.updateData1(b3.getText().toString(),q.getText().toString());\n// alA.add(b3.getText().toString());\n// alA.add(al.get(j).get(\"Question\"));\n// alA.add(al.get(j).get(\"A\"));\n Intent i=getIntent();\n j++;\n b3.setBackgroundColor(Color.GREEN);\n startActivity(i);\n }\n });\n\n b4.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n if(b4.getText().equals(al.get(j).get(\"A\"))) {\n count++;\n }\n dataBaseClass.updateData1(b4.getText().toString(),q.getText().toString());\n// alA.add(b4.getText().toString());\n// alA.add(al.get(j).get(\"Question\"));\n// alA.add(al.get(j).get(\"A\"));\n Intent i=getIntent();\n j++;\n b4.setBackgroundColor(Color.GREEN);\n startActivity(i);\n }\n });\n }\n\n public void onFinish() {\n Intent i = getIntent();\n i.putExtra(\"Subject\",subject);\n j++;\n startActivity(i);\n }\n }.start();\n\n }\n else {\n new CountDownTimer(9000, 1000) {\n\n public void onTick(long millisUntilFinished) {\n time.setText(\"Seconds remaining:\" + millisUntilFinished / 1000);\n\n b1.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n// editor = sharedPreferences.edit();\n//\n// set.addAll(alA);\n// editor.putStringSet(\"selected\",set);\n// editor.apply();\n j=0;\n dataBaseClass.updateData1(b1.getText().toString(),q.getText().toString());\n Intent i=new Intent(Question.this,Congratulation.class);\n// i.putExtra(\"json\",al);\n// i.putExtra(\"slectedAnswer\",alA);\n i.putExtra(\"Subject\",subject);\n i.putExtra(\"score\",String.valueOf(count));\n startActivity(i);\n }\n });\n b2.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n// editor = sharedPreferences.edit();\n// set.addAll(alA);\n// editor.putStringSet(\"selected\",set);\n// editor.apply();\n j=0;\n dataBaseClass.updateData1(b2.getText().toString(),q.getText().toString());\n Intent i=new Intent(Question.this,Congratulation.class);\n// i.putExtra(\"json\",al);\n// i.putExtra(\"slectedAnswer\",alA);\n i.putExtra(\"Subject\",subject);\n i.putExtra(\"score\",String.valueOf(count));\n startActivity(i);\n }\n });\n b3.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n j=0;\n// editor = sharedPreferences.edit();\n// set.addAll(alA);\n// Log.e(\"alA\", alA.toString() );\n// editor.putStringSet(\"selected\",set);\n// editor.apply();\n dataBaseClass.updateData1(b3.getText().toString(),q.getText().toString());\n Intent i=new Intent(Question.this,Congratulation.class);\n// i.putExtra(\"json\",al);\n// i.putExtra(\"slectedAnswer\",alA);\n i.putExtra(\"Subject\",subject);\n i.putExtra(\"score\",String.valueOf(count));\n startActivity(i);\n }\n });\n b4.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n j=0;\n// editor = sharedPreferences.edit();\n// set.addAll(alA);\n// editor.putStringSet(\"selected\",set);\n// editor.commit();\n dataBaseClass.updateData1(b4.getText().toString(),q.getText().toString());\n Intent i=new Intent(Question.this,Congratulation.class);\n// i.putExtra(\"json\",al);\n// i.putExtra(\"slectedAnswer\",alA);\n i.putExtra(\"Subject\",subject);\n i.putExtra(\"score\",String.valueOf(count));\n startActivity(i);\n }\n });\n }\n\n public void onFinish() {\n Intent i =new Intent(Question.this,Congratulation.class);\n i.putExtra(\"Subject\",subject);\n i.putExtra(\"score\",String.valueOf(count));\n j=0;\n startActivity(i);\n }\n }.start();\n }\n\n }", "private void setTermbaseLangs(String p_xmlDefinition) throws Exception\n {\n XmlParser parser = XmlParser.hire();\n Document dom = parser.parseXml(p_xmlDefinition);\n Element root = dom.getRootElement();\n List langGrps = root.selectNodes(\"/definition/languages/language/name\");\n m_termbaseLangs = new ArrayList();\n for (int i = 0; i < langGrps.size(); i++)\n {\n Element e = (Element) langGrps.get(i);\n String lang = e.getText();\n m_termbaseLangs.add(lang);\n }\n XmlParser.fire(parser);\n\n }", "@UML(identifier=\"voice\", obligation=OPTIONAL, specification=ISO_19115)\n Collection<String> getVoices();", "public SettingsController(){\n SharedPreferences prefs = MainActivity.context.getSharedPreferences(MY_PREFERENCES, MODE_PRIVATE);\n backgroundMusicOn = prefs.getBoolean(MUSIC_PREFERENCES, true);\n soundEffectsOn= prefs.getBoolean(SOUND_EFFECTS_PREFERENCES, true);\n deckSkin=prefs.getString(DECK_SKIN_PREFERENCES, \"back1\");\n animationSpeed=prefs.getInt(ANIMATION_SPEED_PREFERENCES,ANIMATION_MEDIUM);\n }", "public void loadConfig(){\r\n File config = new File(\"config.ini\");\r\n if(config.exists()){\r\n try {\r\n Scanner confRead = new Scanner(config);\r\n \r\n while(confRead.hasNextLine()){\r\n String line = confRead.nextLine();\r\n if(line.indexOf('=')>0){\r\n String setting,value;\r\n setting = line.substring(0,line.indexOf('='));\r\n value = line.substring(line.indexOf('=')+1,line.length());\r\n \r\n //Perform the actual parameter check here\r\n if(setting.equals(\"romfile\")){\r\n boolean result;\r\n result = hc11_Helpers.loadBinary(new File(value.substring(value.indexOf(',')+1,value.length())),board,\r\n Integer.parseInt(value.substring(0,value.indexOf(',')),16));\r\n if(result)\r\n System.out.println(\"Loaded a rom file.\");\r\n else\r\n System.out.println(\"Error loading rom file.\");\r\n }\r\n }\r\n }\r\n confRead.close();\r\n } catch (FileNotFoundException ex) {\r\n ex.printStackTrace();\r\n }\r\n }\r\n }", "public static void load()\n throws IOException, ClassNotFoundException {\n FileInputStream f_in = new\n FileInputStream (settingsFile);\n ObjectInputStream o_in = new\n ObjectInputStream(f_in);\n SettingsSaver loaded = (SettingsSaver) o_in.readObject();\n advModeUnlocked = loaded.set[0];\n LIM_NOTESPERLINE = loaded.set[1];\n LIM_96_MEASURES = loaded.set[2];\n LIM_VOLUME_LINE = loaded.set[3];\n LIM_LOWA = loaded.set[4];\n LIM_HIGHD = loaded.set[5];\n LOW_A_ON = loaded.set[6];\n NEG_TEMPO_FUN = loaded.set[7];\n LIM_TEMPO_GAPS = loaded.set[8];\n RESIZE_WIN = loaded.set[9];\n ADV_MODE = loaded.set[10];\n o_in.close();\n f_in.close();\n }", "@Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n int result = tts.setLanguage(Locale.US);\n if (result == TextToSpeech.LANG_MISSING_DATA ||\n result == TextToSpeech.LANG_NOT_SUPPORTED) {\n Log.e(\"error\", \"This Language is not supported\");\n } else {\n ConvertTextToSpeech(\"\");\n\n }\n } else\n Log.e(\"error\", \"Initilization Failed!\");\n\n\n }", "public void SetPrefs(\r\n String refreshTime,\r\n String sampleNumber,\r\n String sensor1ChanID,\r\n String sensor1ReadAPI,\r\n String tabAText,\r\n String sensor1TempField,\r\n String sensor1HumdField,\r\n String sensor2ChanID,\r\n String sensor2ReadAPI,\r\n String tabBText,\r\n String sensor2TempField,\r\n String sensor2HumdField,\r\n String sensor3ChanID,\r\n String sensor3ReadAPI,\r\n String tabCText,\r\n String sensor3PowerField,\r\n String logLevel) throws ThingSpeakException, UnirestException, FileNotFoundException {\r\n\r\n try {\r\n pref.put(\"refreshtime\", refreshTime);\r\n pref.put(\"samplenumber\", sampleNumber);\r\n pref.put(\"sensor1_Chan_ID\", sensor1ChanID);\r\n pref.put(\"sensor1_ReadAPI\", sensor1ReadAPI);\r\n pref.put(\"sensor1_Tab_Text\", tabAText);\r\n pref.put(\"sensor1_Temp_Field\", sensor1TempField);\r\n pref.put(\"sensor1_Humd_Field\", sensor1HumdField);\r\n pref.put(\"sensor2_Chan_ID\", sensor2ChanID);\r\n pref.put(\"sensor2_ReadAPI\", sensor2ReadAPI);\r\n pref.put(\"sensor2_Tab_Text\", tabBText);\r\n pref.put(\"sensor2_Temp_Field\", sensor2TempField);\r\n pref.put(\"sensor2_Humd_Field\", sensor2HumdField);\r\n pref.put(\"defaultLogLevel\", logLevel);\r\n pref.put(\"sensor3_Chan_ID\", sensor3ChanID);\r\n pref.put(\"sensor3_ReadAPI\", sensor3ReadAPI);\r\n pref.put(\"sensor3_Tab_Text\", tabCText);\r\n pref.put(\"sensor3_Power_Field\", sensor3PowerField);\r\n pref.exportSubtree(new BufferedOutputStream(new FileOutputStream(\"preferences.xml\")));\r\n } catch (IOException ex) {\r\n log.log(Priority.ERROR, ex);\r\n } catch (BackingStoreException ex) {\r\n log.log(Priority.ERROR, ex);\r\n }\r\n\r\n }", "private void setupChangeVoice() {\n\t\tFestivalVoice[] voices={FestivalVoice.Kiwi, FestivalVoice.British, FestivalVoice.American};\n\t\tfinal JComboBox voice_chooser = new JComboBox(voices);\n\t\tvoice_chooser.setFont(new Font(\"Arial\", Font.PLAIN, 20));\n\t\tvoice_chooser.setForeground(Color.BLACK);\n\t\tvoice_chooser.setBackground(Color.WHITE);\n\n\t\t//set shown item to be the current voice\n\t\tvoice_chooser.setSelectedItem(parent_frame.getFestival().getFestivalVoice());\n\t\tvoice_chooser.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tinput_from_user.requestFocusInWindow();//gets focus back to the spell here field\n\t\t\t\tif((FestivalVoice)voice_chooser.getSelectedItem()!=null){\n\t\t\t\t\tparent_frame.getFestival().setFestivalVoice((FestivalVoice)voice_chooser.getSelectedItem());\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tvoice_chooser.setBounds(919, 600, 154, 40);\n\t\tadd(voice_chooser);\n\t}", "@Override\n public void onInit(int status) {\n\n if (status == TextToSpeech.SUCCESS) {\n\n int result = tts.setLanguage(Locale.US);\n\n //tts.setPitch(0.8f); // set pitch level\n tts.setSpeechRate(1); // set speech speed rate\n\n if (result == TextToSpeech.LANG_MISSING_DATA\n || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n Log.e(\"TTS\", \"Language is not supported\");\n } else {\n Log.e(\"TTS\", \"Language is supported\");\n }\n\n } else {\n Log.e(\"TTS\", \"Initilization Failed\");\n }\n\n }" ]
[ "0.58255583", "0.582075", "0.5796561", "0.5615683", "0.5569084", "0.5553798", "0.55322516", "0.5479164", "0.54618794", "0.53742343", "0.5369084", "0.5332996", "0.52478456", "0.5240012", "0.52077025", "0.51826453", "0.5163609", "0.5142955", "0.51010484", "0.5094766", "0.5083024", "0.5071215", "0.505982", "0.5030952", "0.5000008", "0.4993807", "0.4982164", "0.49770164", "0.49685803", "0.49684367", "0.49674252", "0.4965414", "0.49483925", "0.49398038", "0.49303982", "0.4918562", "0.4914632", "0.4914099", "0.4909083", "0.49074647", "0.49071205", "0.48935378", "0.48880818", "0.4886838", "0.48848894", "0.48806053", "0.48751023", "0.48714414", "0.486105", "0.48318413", "0.48307157", "0.48303092", "0.4816747", "0.4815533", "0.4812702", "0.4803589", "0.48034316", "0.47932294", "0.4792424", "0.47856468", "0.47791812", "0.4775727", "0.47707734", "0.4767084", "0.47603875", "0.47596538", "0.4754222", "0.47503537", "0.47090036", "0.4705446", "0.47023046", "0.46978122", "0.46896046", "0.46868992", "0.46822277", "0.46801275", "0.46782777", "0.46744132", "0.46740943", "0.46706915", "0.46677676", "0.46667892", "0.46643528", "0.46594825", "0.46581638", "0.4655631", "0.46554676", "0.46479633", "0.46405795", "0.46398124", "0.46182588", "0.46152395", "0.4610454", "0.4606122", "0.46050292", "0.4604705", "0.4600162", "0.4599818", "0.45971295", "0.4591161" ]
0.6142936
0
Add a word to the library
public Boolean addToDictionary(String type, String word, String priority, String phonetic, String accent) throws DynamicCallException, ExecutionException { return (Boolean)call("addToDictionary", type, word, priority, phonetic, accent).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addWord(Word word);", "public void add(String word) {\n Signature sig = new Signature(word);\n add(sig, word);\n }", "public void addWord(String word) {\n root.addWord(word);\n }", "public void addWord(String word) {\n\t\taddWord(word, root);\n\t}", "private void addCustomWords() {\r\n\r\n }", "public void addWord(String word) {\n root = put(root, word, 0);\n }", "public void add(String word) {\n\t\twordList.add(word);\n\t\t// TODO Add your code here\n\t}", "public void addWord(String word) {\n trie.insert(word);\n }", "public static void addKeyWord(String word)\r\n\t{\r\n\t\tkeywords.add(word);\r\n\t}", "void addWordToDoc(int doc,VocabWord word);", "public boolean addWord(String word) {\n return false;\n }", "public void add(String word, String file, int position) {\n\t \taddHelper(word, file, position);\n\t}", "public void addWord (String word) {\r\n word = word.toUpperCase ();\r\n if (word.length () > 1) {\r\n String s = validateWord (word);\r\n if (!s.equals (\"\")) {\r\n JOptionPane.showMessageDialog (null, \"The word you have entered contained invalid characters\\nInvalid characters are: \" + s, \"Error\",\r\n JOptionPane.ERROR_MESSAGE);\r\n return;\r\n }\r\n checkEasterEgg (word);\r\n words.add (word);\r\n Components.wordList.getContents ().addElement (word);\r\n } else {\r\n JOptionPane.showMessageDialog (null, \"The word you have entered does not meet the minimum requirement length of 2\", \"Error\", JOptionPane.ERROR_MESSAGE);\r\n }\r\n }", "public void addWord(String word) {\n CharNode target = root ;\n for(int i=0; i<word.length(); i++) {\n target = target.insertCharInChildren(word.charAt(i)) ;\n }\n target.end = true ;\n }", "public void add(T word);", "public AddWordAction(JTextComponent jText, String word) {\r\n this(jText, word, Utils.getResource(\"Adicionar ao dicionário\"));\r\n }", "public void addWord(String word) {\n dataStructure.put(word, \"\");\n }", "public void addWord(int id, int start, int length, int[] type);", "public void addPos(String word, IPosition pos);", "public void populateWord(String word) {\n\t\tthis.add(word);\n\t}", "public void addRef(String word) {\n addRef(word.toCharArray()); }", "public void putWord(String word) {\n if(index < words.length) {\n words[index] = word;\n }\n index++;\n }", "public void insert(String word) {\r\n tree.add(word);\r\n }", "public void addWord(String word) {\n if (word == null || word.equals(\"\")) return;\n char[] str = word.toCharArray();\n WordDictionary cur = this;\n for (char c: str) {\n if (cur.letters[c - 'a'] == null) cur.letters[c - 'a'] = new WordDictionary();\n cur = cur.letters[c - 'a'];\n }\n cur.end = true;\n }", "private void addWords(){\n wordList.add(\"EGE\");\n wordList.add(\"ABBAS\");\n wordList.add(\"KAZIM\");\n }", "void setWord(Word word);", "public void addWord(String word) {\n TrieNode curr = root;\n for (char c : word.toCharArray()) {\n curr = curr.chars.computeIfAbsent(c, (k) -> new TrieNode());\n\n }\n curr.isWord = true;\n }", "public void addWord(String word) {\n TrieNode cur = root;\n for(char c : word.toCharArray()) {\n if(cur.next[c-'a'] == null) {\n cur.next[c-'a'] = new TrieNode(c);\n }\n cur = cur.next[c-'a'];\n }\n cur.isWord = true;\n }", "public void add(LLNodeHash word){\n if (!checkWord(word)){\n put(word);\n }\n }", "public void addTWord(String word){\n\t\tsentence.add(new TWord(word));\n\t}", "private void wordAdd(String word){\n if (!fileWords.containsKey(word)){\n fileWords.put(word,1);\n if (probabilities.containsKey(word)) {\n double oldCount = probabilities.get(word);\n probabilities.put(word, oldCount+1);\n } else {\n probabilities.put(word, 1.0);\n }\n }\n }", "public void addWord(String word) {\n TrieNode node = root;\n char[] words = word.toCharArray();\n for (char c: words){\n if (node.children[c-'a'] == null){\n node.children[c-'a']=new TrieNode();\n }\n node = node.children[c-'a'];\n }\n node.item = word;\n }", "public void addWord(String word) {\n // Write your code here\n TrieNode now = root;\n for(int i = 0; i < word.length(); i++) {\n Character c = word.charAt(i);\n if (!now.children.containsKey(c)) {\n now.children.put(c, new TrieNode());\n }\n now = now.children.get(c);\n }\n now.hasWord = true;\n }", "public void addWord(String word) {\r\n Node node = root;\r\n for(char c : word.toCharArray()){\r\n node.nodes[c-'a'] = new Node();\r\n node = node.nodes[c-'a'];\r\n }\r\n node.isLeaf = true;\r\n }", "void addHadithText(Object newHadithText);", "public void addWord(String word) {\n // Write your code here\n TrieNode now = root;\n for(int i = 0; i < word.length(); i++) {\n Character c = word.charAt(i);\n if (now.children[c - 'a'] == null) {\n now.children[c - 'a'] = new TrieNode();\n }\n now = now.children[c - 'a'];\n }\n now.hasWord = true;\n }", "public boolean add(String word) {\r\n\t\treturn dict.add(word);\r\n\t}", "public void addWord(String word) {\n TrieNode cur = root;\n for(int i = 0; i < word.length(); i++) {\n char c = word.charAt(i);\n TrieNode node = cur.children.get(c);\n if(node == null) {\n node = new TrieNode();\n cur.children.put(c, node);\n }\n cur = node;\n }\n cur.isEnd = true;\n }", "public void addRef(char[] word) {\n if (indexedFile == null) {\n throw new IllegalStateException(); }\n index.addRef(indexedFile, word); }", "public AddWordAction(JTextComponent jText, String word, String label) {\r\n super(label);\r\n this.word = word;\r\n this.jText = jText;\r\n }", "public void insert(String word) {\n if (word == null) {\n return;\n }\n if (value == null) {\n value = new ArrayList<>();\n }\n value.add(word);\n }", "public void addWord(String word) {\n maxLength = Math.max(maxLength, word.length());\n\n TrieNode temp = root;\n for (int i = 0; i < word.length(); i++) {\n char c = word.charAt(i);\n if (temp.children[c - 'a'] == null) {\n temp.children[c - 'a'] = new TrieNode(c);\n }\n temp = temp.children[c - 'a'];\n }\n temp.isWord = true;\n }", "public boolean addThemeWord(String word){\r\n\t\treturn themeWords.add(word);\r\n\t}", "public void addWord(String word) {\n TrieNode cur = root;\n for (int i=0; i<word.length(); i++) {\n int pos = word.charAt(i) - 'a';\n if (cur.next[pos] == null) {\n cur.next[pos] = new TrieNode();\n }\n cur = cur.next[pos];\n }\n cur.isWord = true;\n }", "public void addElement(String word, String signature) {\n\t\tif(dictionaryMap.get(signature)!= null)\n\t\t\tdictionaryMap.get(signature).add(word);\n\t\telse {\n\t\t\tSet<String> newSignature = new TreeSet<>();\n\t\t\tnewSignature.add(word);\n\t\t\tdictionaryMap.put(signature, newSignature);\n\t\t}\n\t}", "public void addWord(String word)\n {\n TrieNode1 node = root;\n for (char c:word.toCharArray())\n {\n if (node.childerens[c-'a']==null)\n {\n node.childerens[c-'a'] = new TrieNode1();\n }\n node = node.childerens[c-'a'];\n }\n node.isEnd = true;\n\n }", "public void addWord(String word) {\n //Corner Case\n if(word == null || word.length() == 0){\n return;\n }\n TrieNode node = root;\n int d = 0;\n \n while(d<word.length()){\n char c = word.charAt(d);\n if(node.next[c-'a']==null){\n node.next[c-'a'] = new TrieNode();\n }\n node = node.next[c-'a'];\n d++;\n }\n \n node.isWord = true;\n }", "public void addWord(String word) {\n // Write your code here\n TrieNode cur=root;\n for(int i=0;i<word.length();++i){\n char c=word.charAt(i);\n TrieNode nextNode=cur.children.get(c);\n if(nextNode==null){\n nextNode=new TrieNode();\n cur.children.put(c,nextNode);\n }\n cur=nextNode;\n }\n cur.hasWord=true;\n }", "public void addTWord(String word, String tag){\n\t\tTWord tword = new TWord(word, tag);\n\t\tsentence.add(tword);\n\t}", "public void add(Word w)\n {\n words = words + w.getWords();\n syllables = syllables + w.getSyllables();\n sentences = sentences + w.getSentences();\n }", "public void insert(String word) {\n insert(root, word, new Object(), 0);\n }", "public void addWord(String word) {\n \tTrieNode curr=root;\n for(int i=0;i<word.length();i++){\n \tchar ch=word.charAt(i);\n \tif(curr.children[ch-'a']==null)\n \t\tcurr.children[ch-'a']=new TrieNode();\n \tif(i==word.length()-1)\n \t\tcurr.children[ch-'a'].isCompleteword=true;\n \t\n \tcurr=curr.children[ch-'a'];\n }\n }", "private void addSpell(Bundle bundle) {\n Toast.makeText(getContext(), \"Not yet implemented\", Toast.LENGTH_SHORT).show();\n }", "public void addTWord(TWord tword){\n\t\tsentence.add(tword);\n\t}", "@FXML\n\tpublic void addWord() {\n\n\t\twordList.add(new Word(TextFieldWord.getText(), TextFieldDescribe.getText(), liczbaznakow));\n\n\t\ttry {\n\n\t\t\tout = new PrintWriter(selectedFile);\n\n\t\t\tfor (int i = 0; i < wordList.size(); i++) {\n\n\t\t\t\tout.printf(\"%s;%s;%d;\",\n\n\t\t\t\t\t\twordList.get(i).getWord(), wordList.get(i).getDescribe(), wordList.get(i).getLiczbaznakow());\n\t\t\t}\n\n\t\t} catch (FileNotFoundException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\tif (out != null)\n\t\t\t\tout.close();\n\t\t}\n\t}", "private void addWord(String word, int articleId, int times) {\n // if input is \"\" means here is the end of the woed then we can add the articleId to this node\n if(word.equals(\"\")) {\n addAricles(articleId, times);\n } else {\n Result res = findChild(word);\n // if the node is not exist, then we need to create an new one with next char of the word, and add word to next node \n if(res == null) {\n Node nextNode = new Node(word.substring(0, 1));\n this.addChildren(nextNode);\n nextNode.addWord(word.substring(1), articleId, times);\n } \n //if the node exist, add substring to next node\n else {\n Node nextNode = res.getN();\n String nextString = res.getS();\n nextNode.addWord(nextString, articleId, times);\n }\n }\n }", "public void addWord(String word) {\n TrieNode node = root;\n for (int i = 0; i < word.length(); i++) {\n char c = word.charAt(i);\n if (!node.children.containsKey(c)) {\n node.children.put(c, new TrieNode());\n }\n node = node.children.get(c);\n }\n node.isEnd = true;\n }", "public void addWord(String word) {\n TrieNode curr = root;\n for (int i = 0; i < word.length(); i++) {\n char c = word.charAt(i);\n if (curr.children[c - 'a'] == null )\n curr.children[c - 'a'] = new TrieNode();\n curr = curr.children[c - 'a'];\n }\n curr.end = true;\n }", "public void addWord(String word) {\r\n Trie node = root;\r\n for(char ch: word.toCharArray()){\r\n if(node.child[ch - 'a'] == null)\r\n node.child[ch - 'a'] = new Trie(ch);\r\n node = node.child[ch - 'a'];\r\n }\r\n node.end = true;\r\n }", "public void addWord(String word) {\n if (word !=null && word.length() > 0) {\n TrieNode t = this.root;\n for (int i = 0; i < word.length(); i++) {\n int offset = word.charAt(i) - 'a';\n if (t.children[offset] == null) {\n t.children[offset] = new TrieNode();\n }\n t = t.children[offset];\n if (i == word.length() - 1) {\n t.endWithWord = true;\n }\n }\n }\n }", "public void addWord(String word) {\n if (word != null){\n Map<Character, TrieNode> children=root.children;\n for (int i=0;i<word.length();i++){\n char c=word.charAt(i);\n TrieNode t;\n if (children.containsKey(c)){\n t=children.get(c);\n }else {\n t=new TrieNode(c);\n children.put(c, t);\n }\n children=t.children;\n if (i==word.length()-1){\n t.isLeaf=true;\n }\n }\n }\n }", "public void addWord(String word) {\n char[] wordChars = word.toCharArray();\n TrieNode curr = root;\n for (char c : wordChars) {\n if(curr.map.containsKey(c)) {\n curr = curr.map.get(c);\n } else {\n TrieNode newNode = new TrieNode();\n curr.map.put(c, newNode);\n curr = newNode;\n }\n }\n curr.isLeaf = true;\n }", "@Override\r\n public void actionPerformed(ActionEvent arg0) {\r\n UserDictionaryProvider provider = SpellChecker.getUserDictionaryProvider();\r\n if (provider != null) {\r\n provider.addWord(word);\r\n }\r\n Dictionary dictionary = SpellChecker.getCurrentDictionary();\r\n dictionary.add(word);\r\n dictionary.trimToSize();\r\n AutoSpellChecker.refresh(jText);\r\n }", "private void add(String thestring) {\n\t\t\n\t}", "public void insert(String word) {\n this.root.insert(word);\n }", "public void insert(String word, DictionaryData data) {\r\n\r\n dictionaryMap.put(word.toUpperCase(),data);\r\n }", "public void add(String str);", "public void add(String str);", "public void addWord(String word) {\n char[] chs = word.toCharArray();\n TreeNode cur = root;\n for (int i = 0; i < chs.length; i++) {\n int ind = chs[i] - 'a';\n if (cur.map[ind] == null) {\n cur.map[ind] = new TreeNode();\n }\n cur = cur.map[ind];\n }\n cur.end = true;\n }", "void addWord(Nod n, String word) {\n\t\tint i = 0;\n\t\twhile (i < 26) {\n\n\t\t\tif (n.frunze.get(i).cuvant.equals(\"%\")) {\n\t\t\t\tn.frunze.get(i).cuvant = word;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t}", "public void addWord(String word) {\n all.add(word);\n TrieNode head = root;\n \n for (char i :word.toCharArray()){\n\n int k = i-'a';\n if (head.child[k]==null)\n {\n head.child[k] = new TrieNode();\n }\n head = head.child[k];\n \n }\n head.end = true;\n }", "public void addWord(String word) {\n HashMap<Character, TrieNode> children = root.children;\n TrieNode Tnode;\n char[] charArray = word.toCharArray();\n for (int i = 0; i < word.length(); i++) {\n if (children.containsKey(charArray[i])) {\n Tnode = children.get(charArray[i]);\n }\n else\n {\n Tnode = new TrieNode(charArray[i]);\n children.put(charArray[i], Tnode);\n }\n children = Tnode.children;\n\n if (i == word.length() - 1) {\n Tnode.isLeaf = true;\n }\n }\n }", "public void add(String word) {\n if (hashTable.contains(word)) {\n hashTable.put(word, hashTable.get(word) + 1);\n }\n else {\n hashTable.put(word,1);\n }\n }", "private void add_word(String word, String definition, String subword){\n\t\trepresentative_letter = subword.charAt(0);\n\t\tboolean child_has_been_added = false;\n\t\t\n\t\t//If we already have a child with that representative_letter, we\n\t\t//send the rest of the word to him.\n\t\tfor(LexiNode child: childs){\n\t\t\tif(subword.length() > 1 && subword.toLowerCase().charAt(1) == Character.toLowerCase(child.getRepresentative_letter())){\n\t\t\t\tchild.add_word(word, definition, subword.substring(1));\n\t\t\t\tchild_has_been_added = true;\n\t\t\t}\n\t\t}\n\t\tif(!child_has_been_added){\n\t\t\tif(subword.length() > 1){\n\t\t\t\tLexiNode child = new LexiNode();\n\t\t\t\tchilds.add(child);\n\t\t\t\ttry{\n\t\t\t\t\tchild.add_word(word, definition, subword.substring(1));\n\t\t\t\t}\n\t\t\t\tcatch(StringIndexOutOfBoundsException e){\n\t\t\t\t\tSystem.out.println(\"Error: \" + e);\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if (subword.length() == 1) {\n\t\t\t\tthis.current_word = word;\n\t\t\t\tthis.definition = definition;\n\t\t\t}\n\t\t}\n\t}", "public void add_word(String word, String definition){\n\t\tif(word.length() > 1){\n\t\t\tfor(LexiNode child: childs){\n\t\t\t\tif(word.toLowerCase().charAt(0) == Character.toLowerCase(child.getRepresentative_letter())){\n\t\t\t\t\tchild.add_word(word, definition, word);\n\t\t\t\t\t//if we found a matching child, we don't wanna create another one\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tLexiNode child = new LexiNode();\n\t\t\tchilds.add(child);\n\t\t\tchild.add_word(word, definition, word);\n\t\t}\n\t}", "private void addToRoot(String line) {\r\n String[] components = line.split(\"\\\",\\\"\"); //get all components of line, that are [word, type, meaning]\r\n removeSpaces(components); //remove space and extra symbol from all components\r\n\r\n if (components.length == 3) { //if the components are valid\r\n\r\n boolean[] status = dict.addWord(components[0], components[1], components[2], 'a'); //try adding in add mode\r\n\r\n if (status[1]) { // if word already exists but have other meaning so need to append the meaning\r\n dict.addWord(components[0], components[1], components[2], 'u'); //add in update mdoe\r\n }\r\n }\r\n\r\n //System.out.println(\"Added word : \" + components[0]);\r\n }", "@Override\n\t\tpublic void addText(String txt) {\n\t\t\t\n\t\t}", "public void add (String word) {\n Trie pointeur ;\n\n if(word.length() != 0){\n String lettre = Character.toString(word.charAt(0));\n String ssChaine = word.substring(1);\n pointeur = this.fils.get(lettre);\n if(pointeur == null){\n pointeur = new Trie();\n this.fils.put(lettre,pointeur);\n\n }\n pointeur.add(ssChaine);\n if(ssChaine.length()==0){\n this.fin = true;\n }\n \n }\n \n }", "public void setWord(String newWord)\n\t{\n\t\tword = newWord;\n\t}", "public abstract void addWordAudio(WordAudio audio) throws IOException;", "void addWordsToDoc(int doc,List<VocabWord> words);", "public void edit_word(String word, String definition){\n\t\tLexiNode node = search_specific_word(word, -1);\n\t\tif(node == null)\n\t\t\tadd_word(word, definition);\n\t\telse\n\t\t\tsearch_specific_word(word, -1).setDefinition(definition);\n\t}", "public void insert(String word) { \n char[] w = word.toCharArray(); \n insert(root, w, 0); \n }", "public void SaveWord(String phrase) {\n\tOrdBok.SaveWord(phrase, 30);\r\n }", "public void addWord(Word word, Tag tag) {\n if(tag == null) throw new RuntimeException(\"null tag when adding word into Trellis\");\n\n // probability process\n logPro += tag instanceof UnknownTag? Math.log(cur.getUnknownTagPro()): Math.log(cur.getTagPro(tag.getStr()));\n logPro += word == null? Math.log(tag.getUnknownWordPro()):Math.log(tag.getWordPro(word.getWord()));\n\n // list process\n wordL.add(word);\n tagL.add(tag);\n cur = tag;\n }", "public void add(String word, String url) {\n \n // don't need to add this word if it's a stop word\n for (String stopWord : Settings.getStopWords()) {\n if (word.equalsIgnoreCase(stopWord)) return;\n }\n \n // don't need to add this word if it's already in here\n StringNode check = locate(word);\n if (check != null) {\n check.getPagesContainingWord().add(url);\n return;\n }\n \n // not a stop word, not present--need to add it\n StringNode newNode = new StringNode(word, new URLLinkedList());\n newNode.getPagesContainingWord().add(url);\n if (first == null) { // if first is null, there's nothing in the list\n first = newNode; // set first to this new node\n newNode.getPagesContainingWord().add(url);\n }\n else { // first isn't null, so we want to find the correct place to put this new node\n StringNode current = first;\n // this barebones linked list is very inconvenient, so we have to make a special \n // check for the first item in the list.\n if (word.compareTo(current.getWord()) < 0) { // the word in the new node goes before the word in the first node\n first = newNode; // now the new node is the first one\n newNode.setNext(current); // and its next is the old first one\n }\n else if (!current.hasNext()) { // no next node, so this word goes after current\n current.setNext(newNode);\n }\n else { // new node doesn't go before first, so check the rest of the list\n boolean newNodePlaced = false;\n StringNode previous;\n while (current.hasNext() && !newNodePlaced) { \n previous = current;\n current = current.getNext(); // grab next node\n if (word.compareTo(current.getWord()) < 0) { // new word goes before this one\n// StringNode oldNext = current.getNext();\n// current.setNext(newNode);\n// newNode.setNext(oldNext);\n// newNodePlaced = true;\n previous.setNext(newNode);\n newNode.setNext(current);\n newNodePlaced = true;\n }\n }\n if (!newNodePlaced) { // if we're here and haven't yet placed the node, it goes at the end\n current.setNext(newNode);\n }\n }\n }\n size++;\n }", "public void insert(String word) {\n\t\t\tTrieNode curr = root;\n\t\t\tfor (char c : word.toCharArray()) {\n\t\t\t\tif (!curr.children.containsKey(c))\n\t\t\t\t\tcurr.children.put(c, new TrieNode());\n\t\t\t\tcurr = curr.children.get(c);\n\t\t\t}\n\t\t\tcurr.isWord = true;\n\t\t}", "public void insert(String word) {\n\t\tTrie curr = this;\n\t\tfor(Character ch : word.toCharArray()) {\n\t\t\tTrie n = curr.nodes[ch - 'a'];\n\t\t\t\n\t\t\tif (n == null) {\n\t\t\t\tn = new Trie();\n\t\t\t\tn.isWord = false;\n\t\t\t\tcurr.nodes[ch - 'a'] = n;\n\t\t\t}\n\t\t\t\n\t\t\tcurr = n;\n\t\t}\n\t\tcurr.isWord = true;\n\t}", "public void addWordCount(){\r\n\t\twordCount = wordCount + 1;\r\n\t}", "public void addWord(Word englishWord, Word frenchWord) {\n\t\tdictFr.add(frenchWord);\n\t\tdictEn.add(englishWord);\n\t\twordsAdded(englishWord, frenchWord);\n\t}", "public void insert(String word) {\n TrieNode node = root;\n\n // for each char in the word, add to the TrieNode\n for (char c: word.toCharArray()) {\n // if there are no such child, then we add it\n if (node.children[c - 'a'] == null) {\n node.children[c - 'a'] = new TrieNode(c);\n }\n // move the node to next layer\n node = node.children[c - 'a'];\n\n }\n // mark the isWord\n node.isWord = true;\n }", "public void add(String alphabetizedWord, String word){\n int index = word.length();\n if(index >= tree.size()){\n tree.setSize(index + 1);\n }\n if(tree.get(index) == null){\n tree.set(index, new Trie());\n }\n //add word to appropriate trie\n tree.get(index).addWord(alphabetizedWord, word);\n }", "public void insert(String word) {\n TrieNode n = root;\n for(char c : word.toCharArray()) {\n if(n.children[c]==null) {\n n.children[c] = new TrieNode();\n }\n n = n.children[c];\n }\n n.isWord = true;\n n.word = word;\n }", "public void addToCorpus(String word) {\n corpus.add(word);\n }", "public void insert(String word) {\n Entry tempRoot = root;\n for(int i=0; i<word.length(); i++){\n char ch = word.charAt(i);\n Entry childNode = tempRoot.getChildNode(ch);\n if(childNode == null){\n tempRoot.setChildNode(new Entry(), ch);\n }\n tempRoot = tempRoot.getChildNode(ch);\n }\n\n tempRoot.setIsWord(true);\n }", "public void setWord(String word){\n this.word = word; //Only used in testing.\n }", "private void insertWordEntry(String file, String word, String partition) {\n\t\tArrayList<String> fileList = new ArrayList<String>();\n\t\tfileList.add(file);\n\t\tindexedDir.get(partition).put(word, fileList);\n\t}", "void add(String value);", "private void addWordHelper( String word, int pos, TrieNode curNode )\n\t{\n\t\t//Check to see if the node has been occupied yet\n\t\tif( curNode.getLetters()[ (int)word.charAt(pos) - 97 ] == null )\n\t\t\t//If we are at the last character of the word\n\t\t\tif( pos >= word.length() - 1 )\n\t\t\t\t//Make sure the isWord property is set to true\n\t\t\t\tcurNode.setLetter( word.charAt( pos ), true );\n\t\t\telse\n\t\t\t\tcurNode.setLetter( word.charAt( pos ), false );\n\t\t\n\t\t//If it hasn't reached the last letter yet\n\t\tif( !( pos >= word.length() - 1 ) )\n\t\t\t//Keep on adding the word\n\t\t\taddWordHelper( word, pos + 1, curNode.getLetters()[ (int)word.charAt( pos ) - 97 ] );\n\t}", "public void insert(String word) {\n \tTrieNode cur=root;\n \tfor (int i = 0; i < word.length(); i++) {\n \t\t\tint ch=word.charAt(i)-'a';\n \t\t\tif(cur.next[ch]==null) {\n \t\t\t\tcur.next[ch]=new TrieNode();\n \t\t\t}\n \t\t\tcur=cur.next[ch];\n \t\t}\n \tcur.val=word;\n \tcur.isEnd=true;\n }", "public void insert(String word) {\n TrieTree point = root;\n for(int i = 0; i < word.length(); i++){\n char ch = word.charAt(i);\n if(point.getChild(ch - 'a') == null){\n point.setChild(ch - 'a', ch);\n }\n point = point.getChild(ch - 'a');\n }\n point.setIsWord();\n }" ]
[ "0.83992296", "0.80525506", "0.7991349", "0.7718489", "0.7694721", "0.76325333", "0.75138825", "0.75032425", "0.74919796", "0.72720116", "0.72317094", "0.7203887", "0.7116307", "0.7101458", "0.7073688", "0.707267", "0.70510685", "0.70416933", "0.6982543", "0.6941838", "0.69137645", "0.6903018", "0.68832564", "0.6872842", "0.68541646", "0.6846709", "0.68159133", "0.68150663", "0.6814637", "0.6807127", "0.67857575", "0.6772704", "0.6772122", "0.6743027", "0.67358595", "0.67124265", "0.67093146", "0.6670244", "0.6668884", "0.66635567", "0.66627425", "0.6659769", "0.6658367", "0.6653469", "0.66454506", "0.6621068", "0.6619133", "0.6616052", "0.66053736", "0.6596916", "0.6589495", "0.6582224", "0.65735936", "0.65681976", "0.6557153", "0.6534915", "0.65344673", "0.65166706", "0.6511187", "0.64906526", "0.64719105", "0.6458946", "0.64425284", "0.64361924", "0.64307857", "0.6424551", "0.6421379", "0.6421379", "0.6395812", "0.63862354", "0.635073", "0.6347512", "0.63461787", "0.6338164", "0.63351023", "0.63279235", "0.6326388", "0.6318527", "0.63159037", "0.63138056", "0.6293223", "0.6290378", "0.62879807", "0.62644815", "0.62641597", "0.62631774", "0.62610865", "0.62511", "0.6248502", "0.6234818", "0.62181586", "0.62099123", "0.6198101", "0.6187801", "0.61870795", "0.61865044", "0.6181824", "0.6158173", "0.61383325", "0.61212814", "0.6120272" ]
0.0
-1
Add a word to the library
public Boolean addToDictionary(String text, String toReplace) throws DynamicCallException, ExecutionException { return (Boolean)call("addToDictionary", text, toReplace).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addWord(Word word);", "public void add(String word) {\n Signature sig = new Signature(word);\n add(sig, word);\n }", "public void addWord(String word) {\n root.addWord(word);\n }", "public void addWord(String word) {\n\t\taddWord(word, root);\n\t}", "private void addCustomWords() {\r\n\r\n }", "public void addWord(String word) {\n root = put(root, word, 0);\n }", "public void add(String word) {\n\t\twordList.add(word);\n\t\t// TODO Add your code here\n\t}", "public void addWord(String word) {\n trie.insert(word);\n }", "public static void addKeyWord(String word)\r\n\t{\r\n\t\tkeywords.add(word);\r\n\t}", "void addWordToDoc(int doc,VocabWord word);", "public boolean addWord(String word) {\n return false;\n }", "public void add(String word, String file, int position) {\n\t \taddHelper(word, file, position);\n\t}", "public void addWord (String word) {\r\n word = word.toUpperCase ();\r\n if (word.length () > 1) {\r\n String s = validateWord (word);\r\n if (!s.equals (\"\")) {\r\n JOptionPane.showMessageDialog (null, \"The word you have entered contained invalid characters\\nInvalid characters are: \" + s, \"Error\",\r\n JOptionPane.ERROR_MESSAGE);\r\n return;\r\n }\r\n checkEasterEgg (word);\r\n words.add (word);\r\n Components.wordList.getContents ().addElement (word);\r\n } else {\r\n JOptionPane.showMessageDialog (null, \"The word you have entered does not meet the minimum requirement length of 2\", \"Error\", JOptionPane.ERROR_MESSAGE);\r\n }\r\n }", "public void addWord(String word) {\n CharNode target = root ;\n for(int i=0; i<word.length(); i++) {\n target = target.insertCharInChildren(word.charAt(i)) ;\n }\n target.end = true ;\n }", "public void add(T word);", "public AddWordAction(JTextComponent jText, String word) {\r\n this(jText, word, Utils.getResource(\"Adicionar ao dicionário\"));\r\n }", "public void addWord(String word) {\n dataStructure.put(word, \"\");\n }", "public void addWord(int id, int start, int length, int[] type);", "public void addPos(String word, IPosition pos);", "public void populateWord(String word) {\n\t\tthis.add(word);\n\t}", "public void addRef(String word) {\n addRef(word.toCharArray()); }", "public void putWord(String word) {\n if(index < words.length) {\n words[index] = word;\n }\n index++;\n }", "public void insert(String word) {\r\n tree.add(word);\r\n }", "public void addWord(String word) {\n if (word == null || word.equals(\"\")) return;\n char[] str = word.toCharArray();\n WordDictionary cur = this;\n for (char c: str) {\n if (cur.letters[c - 'a'] == null) cur.letters[c - 'a'] = new WordDictionary();\n cur = cur.letters[c - 'a'];\n }\n cur.end = true;\n }", "private void addWords(){\n wordList.add(\"EGE\");\n wordList.add(\"ABBAS\");\n wordList.add(\"KAZIM\");\n }", "void setWord(Word word);", "public void addWord(String word) {\n TrieNode curr = root;\n for (char c : word.toCharArray()) {\n curr = curr.chars.computeIfAbsent(c, (k) -> new TrieNode());\n\n }\n curr.isWord = true;\n }", "public void addWord(String word) {\n TrieNode cur = root;\n for(char c : word.toCharArray()) {\n if(cur.next[c-'a'] == null) {\n cur.next[c-'a'] = new TrieNode(c);\n }\n cur = cur.next[c-'a'];\n }\n cur.isWord = true;\n }", "public void add(LLNodeHash word){\n if (!checkWord(word)){\n put(word);\n }\n }", "public void addTWord(String word){\n\t\tsentence.add(new TWord(word));\n\t}", "private void wordAdd(String word){\n if (!fileWords.containsKey(word)){\n fileWords.put(word,1);\n if (probabilities.containsKey(word)) {\n double oldCount = probabilities.get(word);\n probabilities.put(word, oldCount+1);\n } else {\n probabilities.put(word, 1.0);\n }\n }\n }", "public void addWord(String word) {\n TrieNode node = root;\n char[] words = word.toCharArray();\n for (char c: words){\n if (node.children[c-'a'] == null){\n node.children[c-'a']=new TrieNode();\n }\n node = node.children[c-'a'];\n }\n node.item = word;\n }", "public void addWord(String word) {\n // Write your code here\n TrieNode now = root;\n for(int i = 0; i < word.length(); i++) {\n Character c = word.charAt(i);\n if (!now.children.containsKey(c)) {\n now.children.put(c, new TrieNode());\n }\n now = now.children.get(c);\n }\n now.hasWord = true;\n }", "public void addWord(String word) {\r\n Node node = root;\r\n for(char c : word.toCharArray()){\r\n node.nodes[c-'a'] = new Node();\r\n node = node.nodes[c-'a'];\r\n }\r\n node.isLeaf = true;\r\n }", "void addHadithText(Object newHadithText);", "public void addWord(String word) {\n // Write your code here\n TrieNode now = root;\n for(int i = 0; i < word.length(); i++) {\n Character c = word.charAt(i);\n if (now.children[c - 'a'] == null) {\n now.children[c - 'a'] = new TrieNode();\n }\n now = now.children[c - 'a'];\n }\n now.hasWord = true;\n }", "public boolean add(String word) {\r\n\t\treturn dict.add(word);\r\n\t}", "public void addWord(String word) {\n TrieNode cur = root;\n for(int i = 0; i < word.length(); i++) {\n char c = word.charAt(i);\n TrieNode node = cur.children.get(c);\n if(node == null) {\n node = new TrieNode();\n cur.children.put(c, node);\n }\n cur = node;\n }\n cur.isEnd = true;\n }", "public void addRef(char[] word) {\n if (indexedFile == null) {\n throw new IllegalStateException(); }\n index.addRef(indexedFile, word); }", "public AddWordAction(JTextComponent jText, String word, String label) {\r\n super(label);\r\n this.word = word;\r\n this.jText = jText;\r\n }", "public void insert(String word) {\n if (word == null) {\n return;\n }\n if (value == null) {\n value = new ArrayList<>();\n }\n value.add(word);\n }", "public void addWord(String word) {\n maxLength = Math.max(maxLength, word.length());\n\n TrieNode temp = root;\n for (int i = 0; i < word.length(); i++) {\n char c = word.charAt(i);\n if (temp.children[c - 'a'] == null) {\n temp.children[c - 'a'] = new TrieNode(c);\n }\n temp = temp.children[c - 'a'];\n }\n temp.isWord = true;\n }", "public boolean addThemeWord(String word){\r\n\t\treturn themeWords.add(word);\r\n\t}", "public void addWord(String word) {\n TrieNode cur = root;\n for (int i=0; i<word.length(); i++) {\n int pos = word.charAt(i) - 'a';\n if (cur.next[pos] == null) {\n cur.next[pos] = new TrieNode();\n }\n cur = cur.next[pos];\n }\n cur.isWord = true;\n }", "public void addElement(String word, String signature) {\n\t\tif(dictionaryMap.get(signature)!= null)\n\t\t\tdictionaryMap.get(signature).add(word);\n\t\telse {\n\t\t\tSet<String> newSignature = new TreeSet<>();\n\t\t\tnewSignature.add(word);\n\t\t\tdictionaryMap.put(signature, newSignature);\n\t\t}\n\t}", "public void addWord(String word)\n {\n TrieNode1 node = root;\n for (char c:word.toCharArray())\n {\n if (node.childerens[c-'a']==null)\n {\n node.childerens[c-'a'] = new TrieNode1();\n }\n node = node.childerens[c-'a'];\n }\n node.isEnd = true;\n\n }", "public void addWord(String word) {\n //Corner Case\n if(word == null || word.length() == 0){\n return;\n }\n TrieNode node = root;\n int d = 0;\n \n while(d<word.length()){\n char c = word.charAt(d);\n if(node.next[c-'a']==null){\n node.next[c-'a'] = new TrieNode();\n }\n node = node.next[c-'a'];\n d++;\n }\n \n node.isWord = true;\n }", "public void addWord(String word) {\n // Write your code here\n TrieNode cur=root;\n for(int i=0;i<word.length();++i){\n char c=word.charAt(i);\n TrieNode nextNode=cur.children.get(c);\n if(nextNode==null){\n nextNode=new TrieNode();\n cur.children.put(c,nextNode);\n }\n cur=nextNode;\n }\n cur.hasWord=true;\n }", "public void addTWord(String word, String tag){\n\t\tTWord tword = new TWord(word, tag);\n\t\tsentence.add(tword);\n\t}", "public void add(Word w)\n {\n words = words + w.getWords();\n syllables = syllables + w.getSyllables();\n sentences = sentences + w.getSentences();\n }", "public void insert(String word) {\n insert(root, word, new Object(), 0);\n }", "public void addWord(String word) {\n \tTrieNode curr=root;\n for(int i=0;i<word.length();i++){\n \tchar ch=word.charAt(i);\n \tif(curr.children[ch-'a']==null)\n \t\tcurr.children[ch-'a']=new TrieNode();\n \tif(i==word.length()-1)\n \t\tcurr.children[ch-'a'].isCompleteword=true;\n \t\n \tcurr=curr.children[ch-'a'];\n }\n }", "private void addSpell(Bundle bundle) {\n Toast.makeText(getContext(), \"Not yet implemented\", Toast.LENGTH_SHORT).show();\n }", "public void addTWord(TWord tword){\n\t\tsentence.add(tword);\n\t}", "@FXML\n\tpublic void addWord() {\n\n\t\twordList.add(new Word(TextFieldWord.getText(), TextFieldDescribe.getText(), liczbaznakow));\n\n\t\ttry {\n\n\t\t\tout = new PrintWriter(selectedFile);\n\n\t\t\tfor (int i = 0; i < wordList.size(); i++) {\n\n\t\t\t\tout.printf(\"%s;%s;%d;\",\n\n\t\t\t\t\t\twordList.get(i).getWord(), wordList.get(i).getDescribe(), wordList.get(i).getLiczbaznakow());\n\t\t\t}\n\n\t\t} catch (FileNotFoundException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\tif (out != null)\n\t\t\t\tout.close();\n\t\t}\n\t}", "private void addWord(String word, int articleId, int times) {\n // if input is \"\" means here is the end of the woed then we can add the articleId to this node\n if(word.equals(\"\")) {\n addAricles(articleId, times);\n } else {\n Result res = findChild(word);\n // if the node is not exist, then we need to create an new one with next char of the word, and add word to next node \n if(res == null) {\n Node nextNode = new Node(word.substring(0, 1));\n this.addChildren(nextNode);\n nextNode.addWord(word.substring(1), articleId, times);\n } \n //if the node exist, add substring to next node\n else {\n Node nextNode = res.getN();\n String nextString = res.getS();\n nextNode.addWord(nextString, articleId, times);\n }\n }\n }", "public void addWord(String word) {\n TrieNode node = root;\n for (int i = 0; i < word.length(); i++) {\n char c = word.charAt(i);\n if (!node.children.containsKey(c)) {\n node.children.put(c, new TrieNode());\n }\n node = node.children.get(c);\n }\n node.isEnd = true;\n }", "public void addWord(String word) {\n TrieNode curr = root;\n for (int i = 0; i < word.length(); i++) {\n char c = word.charAt(i);\n if (curr.children[c - 'a'] == null )\n curr.children[c - 'a'] = new TrieNode();\n curr = curr.children[c - 'a'];\n }\n curr.end = true;\n }", "public void addWord(String word) {\r\n Trie node = root;\r\n for(char ch: word.toCharArray()){\r\n if(node.child[ch - 'a'] == null)\r\n node.child[ch - 'a'] = new Trie(ch);\r\n node = node.child[ch - 'a'];\r\n }\r\n node.end = true;\r\n }", "public void addWord(String word) {\n if (word !=null && word.length() > 0) {\n TrieNode t = this.root;\n for (int i = 0; i < word.length(); i++) {\n int offset = word.charAt(i) - 'a';\n if (t.children[offset] == null) {\n t.children[offset] = new TrieNode();\n }\n t = t.children[offset];\n if (i == word.length() - 1) {\n t.endWithWord = true;\n }\n }\n }\n }", "public void addWord(String word) {\n if (word != null){\n Map<Character, TrieNode> children=root.children;\n for (int i=0;i<word.length();i++){\n char c=word.charAt(i);\n TrieNode t;\n if (children.containsKey(c)){\n t=children.get(c);\n }else {\n t=new TrieNode(c);\n children.put(c, t);\n }\n children=t.children;\n if (i==word.length()-1){\n t.isLeaf=true;\n }\n }\n }\n }", "public void addWord(String word) {\n char[] wordChars = word.toCharArray();\n TrieNode curr = root;\n for (char c : wordChars) {\n if(curr.map.containsKey(c)) {\n curr = curr.map.get(c);\n } else {\n TrieNode newNode = new TrieNode();\n curr.map.put(c, newNode);\n curr = newNode;\n }\n }\n curr.isLeaf = true;\n }", "@Override\r\n public void actionPerformed(ActionEvent arg0) {\r\n UserDictionaryProvider provider = SpellChecker.getUserDictionaryProvider();\r\n if (provider != null) {\r\n provider.addWord(word);\r\n }\r\n Dictionary dictionary = SpellChecker.getCurrentDictionary();\r\n dictionary.add(word);\r\n dictionary.trimToSize();\r\n AutoSpellChecker.refresh(jText);\r\n }", "private void add(String thestring) {\n\t\t\n\t}", "public void insert(String word) {\n this.root.insert(word);\n }", "public void insert(String word, DictionaryData data) {\r\n\r\n dictionaryMap.put(word.toUpperCase(),data);\r\n }", "public void add(String str);", "public void add(String str);", "public void addWord(String word) {\n char[] chs = word.toCharArray();\n TreeNode cur = root;\n for (int i = 0; i < chs.length; i++) {\n int ind = chs[i] - 'a';\n if (cur.map[ind] == null) {\n cur.map[ind] = new TreeNode();\n }\n cur = cur.map[ind];\n }\n cur.end = true;\n }", "void addWord(Nod n, String word) {\n\t\tint i = 0;\n\t\twhile (i < 26) {\n\n\t\t\tif (n.frunze.get(i).cuvant.equals(\"%\")) {\n\t\t\t\tn.frunze.get(i).cuvant = word;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t}", "public void addWord(String word) {\n all.add(word);\n TrieNode head = root;\n \n for (char i :word.toCharArray()){\n\n int k = i-'a';\n if (head.child[k]==null)\n {\n head.child[k] = new TrieNode();\n }\n head = head.child[k];\n \n }\n head.end = true;\n }", "public void addWord(String word) {\n HashMap<Character, TrieNode> children = root.children;\n TrieNode Tnode;\n char[] charArray = word.toCharArray();\n for (int i = 0; i < word.length(); i++) {\n if (children.containsKey(charArray[i])) {\n Tnode = children.get(charArray[i]);\n }\n else\n {\n Tnode = new TrieNode(charArray[i]);\n children.put(charArray[i], Tnode);\n }\n children = Tnode.children;\n\n if (i == word.length() - 1) {\n Tnode.isLeaf = true;\n }\n }\n }", "public void add(String word) {\n if (hashTable.contains(word)) {\n hashTable.put(word, hashTable.get(word) + 1);\n }\n else {\n hashTable.put(word,1);\n }\n }", "private void add_word(String word, String definition, String subword){\n\t\trepresentative_letter = subword.charAt(0);\n\t\tboolean child_has_been_added = false;\n\t\t\n\t\t//If we already have a child with that representative_letter, we\n\t\t//send the rest of the word to him.\n\t\tfor(LexiNode child: childs){\n\t\t\tif(subword.length() > 1 && subword.toLowerCase().charAt(1) == Character.toLowerCase(child.getRepresentative_letter())){\n\t\t\t\tchild.add_word(word, definition, subword.substring(1));\n\t\t\t\tchild_has_been_added = true;\n\t\t\t}\n\t\t}\n\t\tif(!child_has_been_added){\n\t\t\tif(subword.length() > 1){\n\t\t\t\tLexiNode child = new LexiNode();\n\t\t\t\tchilds.add(child);\n\t\t\t\ttry{\n\t\t\t\t\tchild.add_word(word, definition, subword.substring(1));\n\t\t\t\t}\n\t\t\t\tcatch(StringIndexOutOfBoundsException e){\n\t\t\t\t\tSystem.out.println(\"Error: \" + e);\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if (subword.length() == 1) {\n\t\t\t\tthis.current_word = word;\n\t\t\t\tthis.definition = definition;\n\t\t\t}\n\t\t}\n\t}", "public void add_word(String word, String definition){\n\t\tif(word.length() > 1){\n\t\t\tfor(LexiNode child: childs){\n\t\t\t\tif(word.toLowerCase().charAt(0) == Character.toLowerCase(child.getRepresentative_letter())){\n\t\t\t\t\tchild.add_word(word, definition, word);\n\t\t\t\t\t//if we found a matching child, we don't wanna create another one\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tLexiNode child = new LexiNode();\n\t\t\tchilds.add(child);\n\t\t\tchild.add_word(word, definition, word);\n\t\t}\n\t}", "private void addToRoot(String line) {\r\n String[] components = line.split(\"\\\",\\\"\"); //get all components of line, that are [word, type, meaning]\r\n removeSpaces(components); //remove space and extra symbol from all components\r\n\r\n if (components.length == 3) { //if the components are valid\r\n\r\n boolean[] status = dict.addWord(components[0], components[1], components[2], 'a'); //try adding in add mode\r\n\r\n if (status[1]) { // if word already exists but have other meaning so need to append the meaning\r\n dict.addWord(components[0], components[1], components[2], 'u'); //add in update mdoe\r\n }\r\n }\r\n\r\n //System.out.println(\"Added word : \" + components[0]);\r\n }", "@Override\n\t\tpublic void addText(String txt) {\n\t\t\t\n\t\t}", "public void add (String word) {\n Trie pointeur ;\n\n if(word.length() != 0){\n String lettre = Character.toString(word.charAt(0));\n String ssChaine = word.substring(1);\n pointeur = this.fils.get(lettre);\n if(pointeur == null){\n pointeur = new Trie();\n this.fils.put(lettre,pointeur);\n\n }\n pointeur.add(ssChaine);\n if(ssChaine.length()==0){\n this.fin = true;\n }\n \n }\n \n }", "public void setWord(String newWord)\n\t{\n\t\tword = newWord;\n\t}", "public abstract void addWordAudio(WordAudio audio) throws IOException;", "void addWordsToDoc(int doc,List<VocabWord> words);", "public void edit_word(String word, String definition){\n\t\tLexiNode node = search_specific_word(word, -1);\n\t\tif(node == null)\n\t\t\tadd_word(word, definition);\n\t\telse\n\t\t\tsearch_specific_word(word, -1).setDefinition(definition);\n\t}", "public void insert(String word) { \n char[] w = word.toCharArray(); \n insert(root, w, 0); \n }", "public void SaveWord(String phrase) {\n\tOrdBok.SaveWord(phrase, 30);\r\n }", "public void addWord(Word word, Tag tag) {\n if(tag == null) throw new RuntimeException(\"null tag when adding word into Trellis\");\n\n // probability process\n logPro += tag instanceof UnknownTag? Math.log(cur.getUnknownTagPro()): Math.log(cur.getTagPro(tag.getStr()));\n logPro += word == null? Math.log(tag.getUnknownWordPro()):Math.log(tag.getWordPro(word.getWord()));\n\n // list process\n wordL.add(word);\n tagL.add(tag);\n cur = tag;\n }", "public void add(String word, String url) {\n \n // don't need to add this word if it's a stop word\n for (String stopWord : Settings.getStopWords()) {\n if (word.equalsIgnoreCase(stopWord)) return;\n }\n \n // don't need to add this word if it's already in here\n StringNode check = locate(word);\n if (check != null) {\n check.getPagesContainingWord().add(url);\n return;\n }\n \n // not a stop word, not present--need to add it\n StringNode newNode = new StringNode(word, new URLLinkedList());\n newNode.getPagesContainingWord().add(url);\n if (first == null) { // if first is null, there's nothing in the list\n first = newNode; // set first to this new node\n newNode.getPagesContainingWord().add(url);\n }\n else { // first isn't null, so we want to find the correct place to put this new node\n StringNode current = first;\n // this barebones linked list is very inconvenient, so we have to make a special \n // check for the first item in the list.\n if (word.compareTo(current.getWord()) < 0) { // the word in the new node goes before the word in the first node\n first = newNode; // now the new node is the first one\n newNode.setNext(current); // and its next is the old first one\n }\n else if (!current.hasNext()) { // no next node, so this word goes after current\n current.setNext(newNode);\n }\n else { // new node doesn't go before first, so check the rest of the list\n boolean newNodePlaced = false;\n StringNode previous;\n while (current.hasNext() && !newNodePlaced) { \n previous = current;\n current = current.getNext(); // grab next node\n if (word.compareTo(current.getWord()) < 0) { // new word goes before this one\n// StringNode oldNext = current.getNext();\n// current.setNext(newNode);\n// newNode.setNext(oldNext);\n// newNodePlaced = true;\n previous.setNext(newNode);\n newNode.setNext(current);\n newNodePlaced = true;\n }\n }\n if (!newNodePlaced) { // if we're here and haven't yet placed the node, it goes at the end\n current.setNext(newNode);\n }\n }\n }\n size++;\n }", "public void insert(String word) {\n\t\t\tTrieNode curr = root;\n\t\t\tfor (char c : word.toCharArray()) {\n\t\t\t\tif (!curr.children.containsKey(c))\n\t\t\t\t\tcurr.children.put(c, new TrieNode());\n\t\t\t\tcurr = curr.children.get(c);\n\t\t\t}\n\t\t\tcurr.isWord = true;\n\t\t}", "public void insert(String word) {\n\t\tTrie curr = this;\n\t\tfor(Character ch : word.toCharArray()) {\n\t\t\tTrie n = curr.nodes[ch - 'a'];\n\t\t\t\n\t\t\tif (n == null) {\n\t\t\t\tn = new Trie();\n\t\t\t\tn.isWord = false;\n\t\t\t\tcurr.nodes[ch - 'a'] = n;\n\t\t\t}\n\t\t\t\n\t\t\tcurr = n;\n\t\t}\n\t\tcurr.isWord = true;\n\t}", "public void addWordCount(){\r\n\t\twordCount = wordCount + 1;\r\n\t}", "public void addWord(Word englishWord, Word frenchWord) {\n\t\tdictFr.add(frenchWord);\n\t\tdictEn.add(englishWord);\n\t\twordsAdded(englishWord, frenchWord);\n\t}", "public void insert(String word) {\n TrieNode node = root;\n\n // for each char in the word, add to the TrieNode\n for (char c: word.toCharArray()) {\n // if there are no such child, then we add it\n if (node.children[c - 'a'] == null) {\n node.children[c - 'a'] = new TrieNode(c);\n }\n // move the node to next layer\n node = node.children[c - 'a'];\n\n }\n // mark the isWord\n node.isWord = true;\n }", "public void add(String alphabetizedWord, String word){\n int index = word.length();\n if(index >= tree.size()){\n tree.setSize(index + 1);\n }\n if(tree.get(index) == null){\n tree.set(index, new Trie());\n }\n //add word to appropriate trie\n tree.get(index).addWord(alphabetizedWord, word);\n }", "public void insert(String word) {\n TrieNode n = root;\n for(char c : word.toCharArray()) {\n if(n.children[c]==null) {\n n.children[c] = new TrieNode();\n }\n n = n.children[c];\n }\n n.isWord = true;\n n.word = word;\n }", "public void addToCorpus(String word) {\n corpus.add(word);\n }", "public void insert(String word) {\n Entry tempRoot = root;\n for(int i=0; i<word.length(); i++){\n char ch = word.charAt(i);\n Entry childNode = tempRoot.getChildNode(ch);\n if(childNode == null){\n tempRoot.setChildNode(new Entry(), ch);\n }\n tempRoot = tempRoot.getChildNode(ch);\n }\n\n tempRoot.setIsWord(true);\n }", "public void setWord(String word){\n this.word = word; //Only used in testing.\n }", "private void insertWordEntry(String file, String word, String partition) {\n\t\tArrayList<String> fileList = new ArrayList<String>();\n\t\tfileList.add(file);\n\t\tindexedDir.get(partition).put(word, fileList);\n\t}", "void add(String value);", "private void addWordHelper( String word, int pos, TrieNode curNode )\n\t{\n\t\t//Check to see if the node has been occupied yet\n\t\tif( curNode.getLetters()[ (int)word.charAt(pos) - 97 ] == null )\n\t\t\t//If we are at the last character of the word\n\t\t\tif( pos >= word.length() - 1 )\n\t\t\t\t//Make sure the isWord property is set to true\n\t\t\t\tcurNode.setLetter( word.charAt( pos ), true );\n\t\t\telse\n\t\t\t\tcurNode.setLetter( word.charAt( pos ), false );\n\t\t\n\t\t//If it hasn't reached the last letter yet\n\t\tif( !( pos >= word.length() - 1 ) )\n\t\t\t//Keep on adding the word\n\t\t\taddWordHelper( word, pos + 1, curNode.getLetters()[ (int)word.charAt( pos ) - 97 ] );\n\t}", "public void insert(String word) {\n \tTrieNode cur=root;\n \tfor (int i = 0; i < word.length(); i++) {\n \t\t\tint ch=word.charAt(i)-'a';\n \t\t\tif(cur.next[ch]==null) {\n \t\t\t\tcur.next[ch]=new TrieNode();\n \t\t\t}\n \t\t\tcur=cur.next[ch];\n \t\t}\n \tcur.val=word;\n \tcur.isEnd=true;\n }", "public void insert(String word) {\n TrieTree point = root;\n for(int i = 0; i < word.length(); i++){\n char ch = word.charAt(i);\n if(point.getChild(ch - 'a') == null){\n point.setChild(ch - 'a', ch);\n }\n point = point.getChild(ch - 'a');\n }\n point.setIsWord();\n }" ]
[ "0.83992296", "0.80525506", "0.7991349", "0.7718489", "0.7694721", "0.76325333", "0.75138825", "0.75032425", "0.74919796", "0.72720116", "0.72317094", "0.7203887", "0.7116307", "0.7101458", "0.7073688", "0.707267", "0.70510685", "0.70416933", "0.6982543", "0.6941838", "0.69137645", "0.6903018", "0.68832564", "0.6872842", "0.68541646", "0.6846709", "0.68159133", "0.68150663", "0.6814637", "0.6807127", "0.67857575", "0.6772704", "0.6772122", "0.6743027", "0.67358595", "0.67124265", "0.67093146", "0.6670244", "0.6668884", "0.66635567", "0.66627425", "0.6659769", "0.6658367", "0.6653469", "0.66454506", "0.6621068", "0.6619133", "0.6616052", "0.66053736", "0.6596916", "0.6589495", "0.6582224", "0.65735936", "0.65681976", "0.6557153", "0.6534915", "0.65344673", "0.65166706", "0.6511187", "0.64906526", "0.64719105", "0.6458946", "0.64425284", "0.64361924", "0.64307857", "0.6424551", "0.6421379", "0.6421379", "0.6395812", "0.63862354", "0.635073", "0.6347512", "0.63461787", "0.6338164", "0.63351023", "0.63279235", "0.6326388", "0.6318527", "0.63159037", "0.63138056", "0.6293223", "0.6290378", "0.62879807", "0.62644815", "0.62641597", "0.62631774", "0.62610865", "0.62511", "0.6248502", "0.6234818", "0.62181586", "0.62099123", "0.6198101", "0.6187801", "0.61870795", "0.61865044", "0.6181824", "0.6158173", "0.61383325", "0.61212814", "0.6120272" ]
0.0
-1
Sets a voice as the default voice for the corresponding language
public void setLanguageDefaultVoice(String Language, String Voice) throws DynamicCallException, ExecutionException{ call("setLanguageDefaultVoice", Language, Voice).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Future<Void> setLanguageDefaultVoice(String Language, String Voice) throws DynamicCallException, ExecutionException{\n return call(\"setLanguageDefaultVoice\", Language, Voice);\n }", "private void changeVoice(String voice) throws IOException{\r\n\t\tFile failed = new File(\".festivalrc\");\r\n\t\t//If file does not exist, create new file\r\n\t\tif(!failed.exists()) {\r\n\t\t\tfailed.createNewFile();\r\n\t\t} \r\n\r\n\t\t//Appending the word to the file\r\n\t\tWriter output;\r\n\t\toutput = new BufferedWriter(new FileWriter(failed,false)); \r\n\t\toutput.append(\"(set! voice_default '\"+voice +\")\");\r\n\t\toutput.close();\r\n\t}", "private void configureVoice(Voice voice) {\n voice.setPitch(configurator.getPitch());\n voice.setVolume(configurator.getVolume());\n voice.setRate(configurator.getRate());\n }", "public void setContactVoice(String contactVoice) {\n this.contactVoice = contactVoice;\n }", "private void setupChangeVoice() {\n\t\tFestivalVoice[] voices={FestivalVoice.Kiwi, FestivalVoice.British, FestivalVoice.American};\n\t\tfinal JComboBox voice_chooser = new JComboBox(voices);\n\t\tvoice_chooser.setFont(new Font(\"Arial\", Font.PLAIN, 20));\n\t\tvoice_chooser.setForeground(Color.BLACK);\n\t\tvoice_chooser.setBackground(Color.WHITE);\n\n\t\t//set shown item to be the current voice\n\t\tvoice_chooser.setSelectedItem(parent_frame.getFestival().getFestivalVoice());\n\t\tvoice_chooser.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tinput_from_user.requestFocusInWindow();//gets focus back to the spell here field\n\t\t\t\tif((FestivalVoice)voice_chooser.getSelectedItem()!=null){\n\t\t\t\t\tparent_frame.getFestival().setFestivalVoice((FestivalVoice)voice_chooser.getSelectedItem());\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tvoice_chooser.setBounds(919, 600, 154, 40);\n\t\tadd(voice_chooser);\n\t}", "public void startVoiceRecognition() {\n startVoiceRecognition(null);\n }", "public abstract void startVoiceRecognition(String language);", "public void setVoice(String pVoiceID) throws DynamicCallException, ExecutionException{\n call(\"setVoice\", pVoiceID).get();\n }", "public void setVoice (Voice voice)\r\n {\r\n // Already done?\r\n if (this.voice == null) {\r\n final String contextString = getContextString();\r\n logger.debug(\"{} Ch#{} setVoice {}\",\r\n contextString, id, voice.getId());\r\n\r\n this.voice = voice;\r\n\r\n // Update the voice entity\r\n if (!isWholeDuration()) {\r\n if (slot != null) {\r\n voice.setSlotInfo(\r\n slot,\r\n new VoiceChord(this, Voice.Status.BEGIN));\r\n }\r\n\r\n // Extend this info to other grouped chords if any\r\n BeamGroup group = getBeamGroup();\r\n\r\n if (group != null) {\r\n logger.debug(\r\n \"{} Ch#{} extending voice#{} to group#{}\",\r\n contextString, id, voice.getId(), group.getId());\r\n\r\n group.setVoice(voice);\r\n }\r\n\r\n // Extend to the following tied chords as well\r\n List<Chord> tied = getFollowingTiedChords();\r\n\r\n for (Chord chord : tied) {\r\n logger.debug(\"{} tied to {}\", this, chord);\r\n\r\n // Check the tied chords belong to the same measure\r\n if (this.getMeasure() == chord.getMeasure()) {\r\n logger.debug(\r\n \"{} Ch#{} extending voice#{} to tied chord#{}\",\r\n contextString, id, voice.getId(), chord.getId());\r\n\r\n chord.setVoice(voice);\r\n } else {\r\n // Chords tied across measure boundary\r\n logger.debug(\"{} Cross tie {} -> {}\",\r\n contextString,\r\n toShortString(), chord.toShortString());\r\n }\r\n }\r\n }\r\n } else if (this.voice != voice) {\r\n addError(\r\n \"Chord. Attempt to reassign voice from \" + this.voice.\r\n getId()\r\n + \" to \" + voice.getId() + \" in \" + this);\r\n } else {\r\n if (!isWholeDuration()) {\r\n if (slot != null) {\r\n voice.setSlotInfo(\r\n slot,\r\n new VoiceChord(this, Voice.Status.BEGIN));\r\n }\r\n }\r\n }\r\n }", "public void startVoiceRecognition(String language) {\n if (mTrigger != null) {\n mTrigger.startVoiceRecognition(language);\n }\n }", "private void init() {\n if (!isInitiated) {\n //Voices use by freeTTS, we define where they are, currently in the java en_us.jar\n //add the package\n addToSystemesPropetites(this.configurator.getLocation());\n\n // The VoiceManager manages all the voices for FreeTTS.\n voiceManager = VoiceManager.getInstance();\n\n this.defaultVoice = voiceManager.getVoice(this.configurator.getName());\n\n configureVoice(this.defaultVoice);\n\n // Allocates the resources for the voice.\n this.defaultVoice.allocate();\n isInitiated = true;\n }\n }", "public ApplicationCreator setVoiceFallbackUrl(final String voiceFallbackUrl) {\n return setVoiceFallbackUrl(Promoter.uriFromString(voiceFallbackUrl));\n }", "public SendVoice() {\n super();\n }", "public Future<Void> setVoice(String pVoiceID) throws DynamicCallException, ExecutionException{\n return call(\"setVoice\", pVoiceID);\n }", "public void setDigitalVoiceValue(String value) {\n setBootenv(ENV_DIGIT_AUDIO, value);\n\n if (PCM.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"0\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_mute\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_on\");\n } else if (RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"1\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_off\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_unmute\");\n } else if (SPDIF_RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"1\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_off\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_unmute\");\n } else if (HDMI_RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"2\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_mute\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_on\");\n }\n }", "private String setSpeechFXLanguage(String language){\n String lang;\n if (!mSpeechFXon) {\n lang = language;\n } else if (mTts == null) {\n\t\t\tLog.i(TAG, \"TTS IS NULL!\");\n\t\t\tlang = language;\n\t\t} else {\n\t\t\tlang = Languages.setSpeechLanguage(language, mDefaultSpeechLang, mTts.ttsengine());\n\t\t\tif (mTts != null && lang != null && !lang.equals(\"\")) {\n\t\t\t\tLog.i(TAG, \"TTS set speech engine language: \" + lang);\n\t\t\t\tmTts.ttsengine().setLanguage(Languages.stringToLocale(lang));\n\t\t\t} else {\n\t\t\t\t// Unchanged, so return the pilot language\n\t\t\t\tlang = language;\n\t\t\t}\n\t\t\tLog.i(TAG, \"TTS LANG: \" + lang);\n\t\t}\n\n\t\treturn lang;\n\t}", "public Voice getVoice ()\r\n {\r\n return voice;\r\n }", "public ApplicationCreator setVoiceFallbackUrl(final URI voiceFallbackUrl) {\n this.voiceFallbackUrl = voiceFallbackUrl;\n return this;\n }", "public interface Voice {\n\n\t/**\n\t * Plays the specified text as synthesized audio.\n\t * @param text The text to speak.\n\t */\n\tpublic void speak(String text);\n\n\t/**\n\t * Sets the pitch of the voice.\n\t * @param pitch The new voice pitch.\n\t * @throws IllegalArgumentException If the specified voice\n\t * pitch is less than <tt>0</tt>.\n\t */\n\tpublic void setPitch(int pitch);\n\n\t/**\n\t * Sets the volume of the voice.\n\t * @param volume The new volume.\n\t * @throws IllegalArgumentException If the specified voice\n\t * volume is less than <tt>0</tt> or greater than <tt>100</tt>.\n\t */\n\tpublic void setVolume(int volume);\n\n\t/**\n\t * Sets the talk speed of the voice.\n\t * @param wpm The new talk speed in words per minute.\n\t * @throws IllegalArgumentException If the specified voice\n\t * speed is less than <tt>0</tt> or greater than <tt>999</tt>.\n\t */\n\tpublic void setSpeed(int wpm);\n\n}", "public boolean convertAudioTypeToDefault();", "public void setRemainingVoice(int value) {\n this.remainingVoice = value;\n }", "private void setDefaultLanguage() {\n this.setLanguage(Locale.getDefault().getDisplayLanguage());\n }", "@Override\n public void onInit(int i) {\n if(i!=TextToSpeech.ERROR){\n // To Choose language of speech\n textToSpeech.setLanguage(getResources().getConfiguration().locale);\n }\n }", "public ApplicationCreator setVoiceUrl(final String voiceUrl) {\n return setVoiceUrl(Promoter.uriFromString(voiceUrl));\n }", "public Voice(String name){\r\n this.name = name;\r\n }", "public ApplicationCreator setVoiceFallbackMethod(final HttpMethod voiceFallbackMethod) {\n this.voiceFallbackMethod = voiceFallbackMethod;\n return this;\n }", "private void ConvertTextToSpeech(String voice1) {\n text=voice1;\n //text = et.getText().toString();\n if (text == null || \"\".equals(text)) {\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n } else\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", "private void changeLanguage(String newLanguage){\n\tif (newLanguage.contentEquals(\"FR\")){\n\t\t((GameActivity) activity).setStringPreferences(\"language\", \"1\");\n\t} else if (newLanguage.contentEquals(\"UK\")){\n\t\t((GameActivity) activity).setStringPreferences(\"language\", \"2\");\n\t}\n\t\n\t/*\n\tprefLanguage = ((GameActivity) activity).getPreference(\"language\", \"1\");\n\tif (prefLanguage.contentEquals(\"1\")){\n\t\tresourcesManager.tts.setLanguage(Locale.FRENCH);\n\t} else if (prefLanguage.contentEquals(\"2\")){\n\t\tresourcesManager.tts.setLanguage(Locale.ENGLISH);\t\n\t}\n\t*/\n\t\n\t\n\t\n\t/*\n\tif (newLanguage.contentEquals(\"FR\")){\n\t\tresourcesManager.tts.setLanguage(Locale.FRENCH);\n\t\tlocalLanguage=0;\n\t} else if (newLanguage.contentEquals(\"UK\")){\n\t\tresourcesManager.tts.setLanguage(Locale.ENGLISH);\t\n\t\tlocalLanguage=1;\n\t}\n\t*/\n\t\n}", "@Override\n\tpublic String addVoice(String voiceFileName) throws Exception {\n\t\treturn null;\n\t}", "public void onSpeak(View v)\n\t{\n\t\tstartVoiceRecognitionActivity();\n\t}", "void setAudioRoute(String device);", "public void setLang(AVT v)\n {\n m_lang_avt = v;\n }", "private void speak() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM) ;\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Speak the Item\");\n\n startActivityForResult(intent, SPEECH_REQUEST_CODE);\n\n }", "@Override\r\n\t\tpublic void setLang(String lang)\r\n\t\t\t{\n\t\t\t\t\r\n\t\t\t}", "@Override\n public void setLanguage(String lang) {\n }", "void setValueMixerSound(int value);", "public void setApplicationLanguage() {\n\t\tinitializeMixerLocalization();\n\t\tinitializeRecorderLocalization();\n\t\tinitializeMenuBarLocalization();\n\t\tsetLocalizedLanguageMenuItems();\n\t\tboardController.setLocalization(bundle);\n\t\tboardController.refreshSoundboard();\n\t}", "public HomeworkVoice() {\n super();\n }", "public void setDefaultLanguage(java.lang.String defaultLanguage) {\n this.defaultLanguage = defaultLanguage;\n }", "protected static void setLanguage(Language lang) {\r\n\t\tInterface.lang = lang;\r\n\t}", "public interface VoiceManager {\n\n void speak(int requestCode, int speechResourceId, Object... formatArgs);\n\n void speak(int requestCode, int speechResourceId);\n\n void listen(int requestCode);\n\n void shutdown();\n\n void setVoiceManagerListener(VoiceManagerImpl.VoiceManagerListener listener);\n}", "private void speak() {\n if(textToSpeech != null && textToSpeech.isSpeaking()) {\n textToSpeech.stop();\n }else{\n textToSpeech = new TextToSpeech(activity, this);\n }\n }", "public void setLanguage(String lang, String country, String variant) {\n mSelf.setLanguage(lang, country, variant);\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}", "protected void setupAudio(Engine engine, SceneManager sceneManager, Invocable invocableEngine) {\n\t\tsetupAudio = new File(\"setupAudio.js\");\n\t\tjsEngine.put(\"currentSong\", currentSong);\n\t\tjsEngine.put(\"music\", music);\n\t\tjsEngine.put(\"sfx\", sfx);\n\t\tthis.runScript(jsEngine, setupAudio);\n\t\ttry {\n\t\t\tinvocableEngine.invokeFunction(\"setupAudio\", this);\n\n\t\t} catch (ScriptException e1) {\n\t\t\tSystem.out.println(\"ScriptException in \" + setupAudio + e1);\n\t\t} catch (NoSuchMethodException e2) {\n\t\t\tSystem.out.println(\"No such method in \" + setupAudio + e2);\n\t\t} catch (NullPointerException e3) {\n\t\t\tSystem.out.println(\"Null pointer exception reading \" + setupAudio + e3);\n\t\t}\n\t\tmusic = (Sound[]) jsEngine.get(\"music\");\n\t\tsfx = (Sound[]) jsEngine.get(\"sfx\");\n\t}", "void setLanguage(Language language);", "public abstract void grantVoice(String nickname);", "@ReactMethod\n public void setAudioDevice(final String device) {\n runInAudioThread(new Runnable() {\n @Override\n public void run() {\n if (!availableDevices.contains(device)) {\n JitsiMeetLogger.w(TAG + \" Audio device not available: \" + device);\n userSelectedDevice = null;\n return;\n }\n\n if (mode != -1) {\n JitsiMeetLogger.i(TAG + \" User selected device set to: \" + device);\n userSelectedDevice = device;\n updateAudioRoute(mode, false);\n }\n }\n });\n }", "public void AudioMuerte() {\r\n\t\ttry {\r\n\t\t\tdeath.AbrirFichero(\"C:\\\\Temp\\\\Sonidos\\\\golpe.wav\");\r\n\t\t} catch (Exception e) {\r\n\t\t\tSystem.out.println(\"Error: \" + e);\r\n\t\t}\r\n\t}", "public void setUpSound() {\n try {\n generateTone();\n setFrequencyLabel();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }", "public void voiceEvent(Voice voice)\r\n {\r\n voiceValue = voice.getVoice();\r\n\r\n getReturnPattern().addElement(voice);\r\n }", "public void onInit(int code) {\n\t\t if (code==TextToSpeech.SUCCESS) {\n\t\t \t com.example.main_project.MainActivity.tts.setLanguage(Locale.getDefault());\n\n\n\t\t \t } else {\n\t\t \t com.example.main_project.MainActivity.tts = null;\n\t\t \t Toast.makeText(this, \"Failed to initialize TTS engine.\",\n\t\t \t Toast.LENGTH_SHORT).show();\n\t\t \t }\t\t\n\t\t}", "public ApplicationCreator setVoiceMethod(final HttpMethod voiceMethod) {\n this.voiceMethod = voiceMethod;\n return this;\n }", "public ApplicationCreator setVoiceUrl(final URI voiceUrl) {\n this.voiceUrl = voiceUrl;\n return this;\n }", "public void stopSpeak() {\n if (mSynthesizer != null && mSynthesizer.isSpeaking()) {\n mSynthesizer.stopSpeaking();\n }\n }", "void updateLang() {\n if (lang == null)\n lang = game.q;\n }", "public void onVoiceStart(int sampleRates) {\n }", "public void setReportVoice(boolean reportVoice) {\n\t\tthis.reportVoice = reportVoice;\n\t}", "void setBotOptions(DefaultBotOptions botOptions){\n this.botOptions = botOptions;\n }", "@Override\n\tpublic void setTargetLanguage(java.lang.String targetLanguage) {\n\t\t_scienceApp.setTargetLanguage(targetLanguage);\n\t}", "public static void setDefaultLanguage(Context context, String lang) {\n Locale locale = new Locale(lang);\n Locale.setDefault(locale);\n Configuration config = new Configuration();\n config.locale = locale;\n context.getResources().updateConfiguration(config,\n context.getResources().getDisplayMetrics());\n }", "public void speakButtonClicked(View v)\n {\n startVoiceRecognitionActivity();\n }", "public void addSentVoice(Voice voice) {\n this.getState().sentVoice(voice);\n }", "private void setTextTospeech() {\n textToSpeech = new TextToSpeech(mContext, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n Set<Locale> languages = textToSpeech.getAvailableLanguages();\n if (language.toLowerCase().contains(langaugeCodeEnglish)) {\n int result = textToSpeech.setLanguage(new Locale(\"en\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n //Toast.makeText(mContext, result + \" is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n }\n } else {\n int result = textToSpeech.setLanguage(new Locale(\"hi\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n result = textToSpeech.setLanguage(Locale.forLanguageTag(\"hin\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n\n // Toast.makeText(mContext, result + \"Language is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \"Language is not supported\");\n }\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n if (result == TextToSpeech.LANG_NOT_SUPPORTED) {\n showTtsLanuageNSDialog();\n }\n }\n }\n }\n });\n }", "public static void setDefaults() {\r\n\t\tString temp = \"\";\r\n\t\tString[] sa;\r\n\t\tString prefix = \"\";\r\n\t\tString suffix = \"\";\r\n\r\n\t\t//Reset the skins so no more than one is selected when processed.\r\n\t\tclearSkin();\r\n\t\t\t\t\r\n\t\t//Loop through the entire sounds array list to find all the settings.\r\n\t\tfor (int i = 0; i < defaults.size(); i++) {\r\n\t\t\t//When found, set the variable in main to that string..\r\n\t\t\ttemp = (String) defaults.get(i);\r\n\t\t\t\r\n\t\t\tsa = splitString('=', temp);\r\n\t\t\t\r\n\t\t\tprefix = sa[0];\r\n\t\t\tsuffix = sa[1];\r\n\r\n\t\t\t//Find the properties and set them to the desired values.\r\n\t\t\tif (prefix.equalsIgnoreCase(\"sounds\")) {\r\n\t\t\t\tif (suffix.equalsIgnoreCase(\"true\")) Main.sounds = true;\r\n\t\t\t\tif (suffix.equalsIgnoreCase(\"false\")) Main.sounds = false;\r\n\t\t\t} else if (prefix.equalsIgnoreCase(\"skin\")){\r\n\t\t\t\tif (suffix.equalsIgnoreCase(\"iowa\")) Main.skinIsIowa = true;\r\n\t\t\t\tif (suffix.equalsIgnoreCase(\"isu\")) Main.skinIsIowaState = true;\r\n\t\t\t\tif (suffix.equalsIgnoreCase(\"uni\")) Main.skinIsNorthernIowa = true;\r\n\t\t\t} else if (prefix.equalsIgnoreCase(\"winscore\")){\r\n\t\t\t\tMain.winScore = suffix;\r\n\t\t\t} else if (prefix.equalsIgnoreCase(\"losescore\")){\r\n\t\t\t\tMain.loseScore = suffix;\r\n\t\t\t} else if (prefix.equalsIgnoreCase(\"sounddir\")){\r\n\t\t\t\tMain.soundDir = suffix;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "@Override\n\tpublic void speak() {\n\t\tSystem.out.println(\"Hello I override the default method\");\n\t}", "private void initializeMixerLocalization() {\n\t\ttry {\n\t\t\tmixerTab.setText(bundle.getString(\"mixerTab\"));\n\n\t\t\tlabelSelectFile.setText(bundle.getString(\"mixerSelectFileText\"));\n\t\t\tlabelOr.setText(bundle.getString(\"mixerOrText\"));\n\t\t\tlabelRecordFile.setText(bundle.getString(\"mixerRecordFileText\"));\n\n\t\t\tif (mixerSelectedFile != null) {\n\t\t\t\tif (mixerSelectedFile.getName().equals(\"mixer_default.wav\")) {\n\t\t\t\t\tlabelSelectedFile.setText(bundle.getString(\"mixerFileSelectedText\") + \" \"\n\t\t\t\t\t\t\t+ bundle.getString(\"mixerSelectedRecordingText\"));\n\t\t\t\n\t\t\t\t} else {\n\t\t\t\t\tlabelSelectedFile\n\t\t\t\t\t\t\t.setText(bundle.getString(\"mixerFileSelectedText\") + \" \" + mixerSelectedFile.getName());\n\t\t\t\t\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tlabelSelectedFile.setText(bundle.getString(\"mixerFileNotSelectedText\"));\n\t\t\t}\n\n\t\t\tlabelTryMixer.setText(bundle.getString(\"mixerTryMixerText\"));\n\n\t\t\tlabelPitch.setText(bundle.getString(\"mixerPitchText\"));\n\t\t\tlabelEcho.setText(bundle.getString(\"mixerEchoText\"));\n\t\t\tlabelDecay.setText(bundle.getString(\"mixerDecayText\"));\n\t\t\tlabelEchoLength.setText(bundle.getString(\"mixerEchoLengthText\"));\n\t\t\tlabelLowPass.setText(bundle.getString(\"mixerLowPassText\"));\n\t\t\tlabelFlanger.setText(bundle.getString(\"mixerFlangerText\"));\n\t\t\tlabelWetness.setText(bundle.getString(\"mixerWetnessText\"));\n\t\t\tlabelFlangerLength.setText(bundle.getString(\"mixerFlangerLengthText\"));\n\t\t\tlabelLfo.setText(bundle.getString(\"mixerLfoText\"));\n\t\t\tlabelGain.setText(bundle.getString(\"mixerGainText\"));\n\n\t\t\tbuttonMixerFileOpener.setText(bundle.getString(\"mixerFileButton\"));\n\t\t\tif (toggleButtonMixerStartRecording.isSelected()) {\n\t\t\t\ttoggleButtonMixerStartRecording.setText(bundle.getString(\"mixerStopRecordButton\"));\n\t\t\t} else {\n\t\t\t\ttoggleButtonMixerStartRecording.setText(bundle.getString(\"mixerStartRecordButton\"));\n\t\t\t}\n\n\t\t\tif (toggleButtonTestFilter.isSelected()) {\n\t\t\t\ttoggleButtonTestFilter.setText(bundle.getString(\"mixerButtonTryMixerStopText\"));\n\t\t\t} else {\n\t\t\t\ttoggleButtonTestFilter.setText(bundle.getString(\"mixerButtonTryMixerStartText\"));\n\t\t\t}\n\n\t\t\tbuttonMixerResetSliders.setText(bundle.getString(\"mixerResetSlidersButton\"));\n\t\t\tbuttonSaveSettings.setText(bundle.getString(\"mixerSaveSettingsButton\"));\n\t\t\tbuttonLoadSettings.setText(bundle.getString(\"mixerLoadSettingsButton\"));\n\t\t\tbuttonSaveMixedFile.setText(bundle.getString(\"mixerSaveFileButton\"));\n\n\t\t\ttooltipPitch.setText(bundle.getString(\"mixerPitchTooltip\"));\n\t\t\ttooltipGain.setText(bundle.getString(\"mixerGainTooltip\"));\n\t\t\ttooltipEcho.setText(bundle.getString(\"mixerEchoTooltip\"));\n\t\t\ttooltipFlanger.setText(bundle.getString(\"mixerFlangerTooltip\"));\n\t\t\ttooltipLowPass.setText(bundle.getString(\"mixerLowPassTooltip\"));\n\n\t\t\tsymbols = new DecimalFormatSymbols(bundle.getLocale());\n\t\t\tdecimalFormat = new DecimalFormat(\"#0.00\", symbols);\n\n\t\t\ttextFieldPitch\n\t\t\t\t\t.setText(decimalFormat.format(Double.parseDouble(textFieldPitch.getText().replace(',', '.'))));\n\t\t\ttextFieldEchoLength\n\t\t\t\t\t.setText(decimalFormat.format(Double.parseDouble(textFieldEchoLength.getText().replace(',', '.'))));\n\t\t\ttextFieldDecay\n\t\t\t\t\t.setText(decimalFormat.format(Double.parseDouble(textFieldDecay.getText().replace(',', '.'))));\n\t\t\ttextFieldLowPass\n\t\t\t\t\t.setText(decimalFormat.format(Double.parseDouble(textFieldLowPass.getText().replace(',', '.'))));\n\t\t\ttextFieldWetness\n\t\t\t\t\t.setText(decimalFormat.format(Double.parseDouble(textFieldWetness.getText().replace(',', '.'))));\n\t\t\ttextFieldFlangerLength.setText(\n\t\t\t\t\tdecimalFormat.format(Double.parseDouble(textFieldFlangerLength.getText().replace(',', '.'))));\n\t\t\ttextFieldLfo.setText(decimalFormat.format(Double.parseDouble(textFieldLfo.getText().replace(',', '.'))));\n\t\t\ttextFieldGain.setText(decimalFormat.format(Double.parseDouble(textFieldGain.getText().replace(',', '.'))));\n\n\t\t\tif (bundle.getLocale().toString().equals(\"fi_FI\")) {\n\t\t\t\tcheckmarkFinnish.setVisible(true);\n\t\t\t\tcheckmarkEnglish.setVisible(false);\n\t\t\t} else if (bundle.getLocale().toString().equals(\"en_US\")) {\n\t\t\t\tcheckmarkEnglish.setVisible(true);\n\t\t\t\tcheckmarkFinnish.setVisible(false);\n\t\t\t}\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}", "@Override\r\n\tpublic void setDefault(String oletus) {\r\n\t\ttextVastaus.setText(oletus);\r\n\t}", "public void setVoiceEffect(int effectIndex) {\n mRtcEngine.setAudioEffectPreset(VOICE_EFFECTS[effectIndex]);\n }", "public Voice() {\n }", "public static void setDefaultVolume(float newDefault) {\n\t\tdefaultVolume = newDefault;\n\t}", "@Override\r\n\tpublic void setMusic() {\r\n\t\tmanager.getMusicManager().setMusic((Music) Gdx.audio.newMusic(Gdx.files.internal(\"Music/Bandit Camp.mp3\")));\r\n\t}", "private void ConvertTextToSpeech() {\n if (properties.get(selectedStateOrCountry) != null) {\n tts.speak(String.format(\"This is %s %s\", selectedStateOrCountry, properties.get(selectedStateOrCountry)),\n TextToSpeech.QUEUE_FLUSH, null);\n\n } else if (countryCapitalMap.get(selectedStateOrCountry) != null) {\n tts.speak(countryCapitalMap.get(selectedStateOrCountry), TextToSpeech.QUEUE_FLUSH, null);\n } else {\n tts.speak(selectedStateOrCountry, TextToSpeech.QUEUE_FLUSH, null);\n }\n }", "public void setLanguage(String language);", "public void onClick(View v) {\n speechRecognizer.startListening(speechRecognizerIntent);\n Toast.makeText( getActivity(),\"Voice\", Toast.LENGTH_SHORT).show();\n }", "@Override\r\n public void onInit(int status) {\n if(status!=TextToSpeech.ERROR) {\r\n ttobj.setLanguage(Locale.UK);\r\n //ttobj.setPitch(2);\r\n }\r\n }", "public void setAudioPort(int port);", "@Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n int result = tts.setLanguage(Locale.US);\n if (result == TextToSpeech.LANG_MISSING_DATA ||\n result == TextToSpeech.LANG_NOT_SUPPORTED) {\n Log.e(\"error\", \"This Language is not supported\");\n } else {\n ConvertTextToSpeech(\"\");\n\n }\n } else\n Log.e(\"error\", \"Initilization Failed!\");\n\n\n }", "public AudioSettings() {\n this.emulator = NEmuSUnified.getInstance().getEmulator();\n }", "public Word(String defaultTranslation, String miwok, int musicid) {\n mDefaultTranslation = defaultTranslation;\n miwokTranslation = miwok;\n mmusic_id = musicid;\n }", "public void switchLanguage(){\n Locale myLocale = new Locale(\"de\");\r\n // get current Locale\r\n String currentLocale = scanActivity.getResources().getConfiguration().locale\r\n .toString();\r\n // set Locale to english if current Locale is german\r\n if (currentLocale.equals(\"de\")) {\r\n myLocale = new Locale(\"en\");\r\n }\r\n // sets the Locale in the configuration and updates the\r\n // configuration\r\n DisplayMetrics metrics = scanActivity.getResources().getDisplayMetrics();\r\n Configuration config = scanActivity.getResources().getConfiguration();\r\n config.locale = myLocale;\r\n scanActivity.getResources().updateConfiguration(config, metrics);\r\n // recreates the app in order to show the selected language\r\n scanActivity.recreate();\r\n }", "public static void enableSound() {\n\t\tvelocity = 127;\n\t}", "private void setLanguage(String language_) {\n\n //by default assign language to language_. This may change below.\n language = language_;\n\n //---------- set the default file extensions ----------\n switch (language_) {\n case IAGConstant.LANGUAGE_CPP:\n //extensions = IAGConstant.CPP_EXTENSIONS;\n break;\n case IAGConstant.LANGUAGE_PYTHON3:\n //extensions = IAGConstant.PYTHON_EXTENSIONS;\n break;\n case IAGConstant.LANGUAGE_AUTO:\n //extensions = IAGConstant.PYTHON_AND_CPP_EXTENSIONS;\n break;\n default:\n //extensions = IAGConstant.PYTHON_AND_CPP_EXTENSIONS;;\n language = LANGUAGE_AUTO; //invalid language specified: use AUTO by default\n }\n\n }", "@Override\n public void onInit(int status) {\n\t \n\tif (status == TextToSpeech.SUCCESS) {\n\t\t \n int result = mTts.setLanguage(Locale.US);\n if (result != TextToSpeech.LANG_MISSING_DATA && result != TextToSpeech.LANG_NOT_SUPPORTED) {\n \tspokenText += spokenText+\"\"+spokenText+\"\";\n // mTts.speak(\"Dear sir your class is finished!! Dear sir your class is finished!! Dear sir your class is finished!!\", TextToSpeech.QUEUE_FLUSH, null);\n mTts.speak(spokenText, TextToSpeech.QUEUE_FLUSH, null);\n } \n } \n\t \n}", "public void onInit(int arg0) {\n\t\t if (arg0 == TextToSpeech.SUCCESS) {\r\n\t\t\t \r\n\t int result = texttospeech.setLanguage(Locale.US);\r\n\t \r\n\t if (result == TextToSpeech.LANG_MISSING_DATA\r\n\t || result == TextToSpeech.LANG_NOT_SUPPORTED) {\r\n\t Log.e(\"TTS\", \"This Language is not supported\");\r\n\t } \r\n\t else \r\n\t {\r\n\t speakOut(src, dest);\r\n\t }\r\n\t \r\n\t } \r\n\t else \r\n\t {\r\n\t Log.e(\"text to speech\", \"failed\");\r\n\t }\r\n\t\t\r\n\t}", "public void changeLanguage(View v) {\n Resources res = getResources();\n DisplayMetrics dm = res.getDisplayMetrics();\n Configuration config = res.getConfiguration();\n\n String targetLanguage;\n\n // Log.d(\"en-US\", targetLanguage);\n\n if ( config.locale.toString().equals(\"pt\") ) {\n targetLanguage = \"en-US\";\n } else {\n targetLanguage = \"pt\";\n }\n\n Locale newLang = new Locale(targetLanguage);\n\n config.locale = newLang;\n res.updateConfiguration(config, dm);\n\n // Reload current page with new language\n Intent refresh = new Intent(this, Settings.class);\n startActivity(refresh);\n }", "public static void setSound(boolean tempSound) {\n sound = tempSound;\n }", "protected void muteSounds()\n {\n if(confused.isPlaying())\n confused.stop();\n }", "public void addSentVoice(Voice voice) {\n\t\taddCommunicationSent(voice);\n\t}", "public String getVoice() throws DynamicCallException, ExecutionException {\n return (String)call(\"getVoice\").get();\n }", "@Override\n public void speak() {\n System.out.println(\"I'm an Aardvark, I make grunting sounds most of the time.\");\n }", "public void ChangeSoundInput(String input) {\n shellExec(\"osascript \" + Parse(dataPath(\"ChangeAudioInput.scpt\")) + \" \\\"\" + input + \"\\\"\");\n println(\"Audio input set to \" + input);\n //Connect/Reconnect STT Library to default input\n ReconfigureSTT();\n}", "private void startVoiceRecognitionActivity() {\n\t\tIntent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\t\tintent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n\t\tintent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"What food are you stocking right now?\");\n\t\tstartActivityForResult(intent, SPEECH_REQCODE);\n\t}", "@SuppressLint(\"SetTextI18n\")\n @Override\n public void setLanguage() {\n if (Value.language_flag == 0) {\n title.setText(title_text);\n back.setText(\"back\");\n copyright.setText(Value.copyright_text + Value.ver);\n nowTime.setText(Value.updatestring + Value.updateTime);\n } else if (Value.language_flag == 1) {\n title.setText(title_text);\n back.setText(\"返回\");\n copyright.setText(Value.copyright_text + Value.ver);\n nowTime.setText(Value.updatestring + Value.updateTime);\n } else if (Value.language_flag == 2) {\n title.setText(title_text);\n back.setText(\"返回\");\n copyright.setText(Value.copyright_text + Value.ver);\n nowTime.setText(Value.updatestring + Value.updateTime);\n }\n }", "@Override\n\tpublic String speak() {\n\t\treturn null;\n\t}", "@FXML\n\tpublic void recorderPlayAudio() {\n\t\tcontroller.audioRecorderPlayAudio();\n\t\trecorderButtonPlay.setDisable(true);\n\t\trecorderButtonPause.setDisable(false);\n\t\trecorderButtonStop.setDisable(false);\n\t}", "private void initialMusic(){\n\n }", "public void loadVoicePreference(String pPreferenceName) throws DynamicCallException, ExecutionException{\n call(\"loadVoicePreference\", pPreferenceName).get();\n }", "private void startVoiceRecognitionActivity() {\n\t\t// Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\t\t// intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n\t\t// RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n\t\t// intent.putExtra(RecognizerIntent.EXTRA_PROMPT,\n\t\t// \"Diga o valor do produto\");\n\t\t// intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_PREFERENCE, \"pt-BR\");\n\t\t// // intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_PREFERENCE,\n\t\t// \"en-US\");\n\t\t// intent.putExtra(RecognizerIntent.EXTRA_ONLY_RETURN_LANGUAGE_PREFERENCE,\n\t\t// true);\n\t\t// startActivityForResult(intent, VOICE_RECOGNITION_REQUEST_CODE);\n\t\tUtils.startVoiceRecognitionActivity(this, Utils.nomeProdutoMessage);\n\t}", "public void setAudioDescriptor( AudioDescriptor audioDescriptor );" ]
[ "0.7617133", "0.72510284", "0.65543514", "0.63726676", "0.63423413", "0.6289934", "0.6280845", "0.62759703", "0.5996283", "0.5973176", "0.5840393", "0.57511383", "0.5723367", "0.5722902", "0.5714904", "0.5712192", "0.57038045", "0.5677324", "0.5676522", "0.5633969", "0.5603353", "0.56000006", "0.556667", "0.5532885", "0.5515643", "0.5491962", "0.5467621", "0.54647934", "0.5461399", "0.5441221", "0.5439925", "0.5438321", "0.5433651", "0.54190373", "0.5397205", "0.5375829", "0.5354108", "0.5348869", "0.53444064", "0.53419346", "0.5341453", "0.5333356", "0.5318792", "0.531379", "0.53112286", "0.53091997", "0.53085047", "0.52999735", "0.5299532", "0.52992153", "0.5290243", "0.52883077", "0.5286928", "0.5273584", "0.52564", "0.5244857", "0.5240477", "0.52382606", "0.5196197", "0.51906157", "0.51903665", "0.51849186", "0.51732695", "0.5165076", "0.51500785", "0.51454395", "0.51443523", "0.5140175", "0.5136338", "0.5134345", "0.51286185", "0.51195705", "0.51136553", "0.51105237", "0.51061594", "0.51021856", "0.50833845", "0.5075491", "0.5066122", "0.506404", "0.506327", "0.5060514", "0.5047517", "0.50433964", "0.50325614", "0.50156295", "0.501432", "0.5010569", "0.50084114", "0.5004418", "0.5000472", "0.49990252", "0.49967468", "0.4995479", "0.4991374", "0.49905264", "0.49893573", "0.4985385", "0.49839482", "0.4980088" ]
0.79055274
0
Fetches the current volume the text to speech.
public Float getVolume() throws DynamicCallException, ExecutionException { return (Float)call("getVolume").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getVolume();", "int getVolume();", "public int getVolume();", "public int getCurrentVolume() {\n return mCurrentVolume;\n }", "public float getConferenceLocalInputVolume();", "public long getCurrentVolume() {\n return currentVolume;\n }", "public float getSoundVolume() {\n return _soundVolume;\n }", "int getOriginalVolume();", "Double volume() {\n return execute(\"player.volume\");\n }", "public int getVolume() {\n return mBundle.getInt(KEY_VOLUME);\n }", "@Override\r\n\t\tpublic int dmr_getVolume() throws RemoteException {\n\t\t\tint current = soundManager.getVolume();\r\n\t\t\tUtils.printLog(TAG, \"current Volume\" + current);\r\n\t\t\treturn current;\r\n\t\t}", "public String volume() {\n return mVolume;\n }", "public double getVolume()\n {\n return this.volume;\n }", "@Resource(resourceId = 2216, operation = Operation.Read)\n public Long readVolume()\t{\n ActionInvocation actionInvocation =\n new ActionInvocation(renderingControlService.getAction(ACTION_GET_VOLUME));\n actionInvocation.setInput(ARG_INSTANCE_ID, new UnsignedIntegerFourBytes(0));\n actionInvocation.setInput(ARG_CHANNEL, VALUE_CHANNEL_MASTER);\n Map<String, ActionArgumentValue> output = UpnpController.getInstance().executeUpnpAction(actionInvocation);\n return ((UnsignedIntegerTwoBytes)output.get(ARG_CURRENT_VOLUME).getValue()).getValue();\n }", "public double getVolume() {\n return volume;\n }", "public abstract double getVolume();", "public double getVolume() { return volume; }", "public double getcurrentVolume() {\n\t return this.currentVolume;\n\t}", "public int getVolume() {\n return volume;\n }", "public float getVolume()\n {\n return volume;\n }", "int getRemainingVolume();", "public int getVolume() {\n return volume_;\n }", "int getVolume() {\n return this.volume;\n }", "public int VolumeGet();", "public Future<Float> getVolume() throws DynamicCallException, ExecutionException {\n return call(\"getVolume\");\n }", "public int getVolume() {\n return volume_;\n }", "@Override\n\tprotected float getSoundVolume() {\n\t\t// note: unused, managed in playSound()\n\t\treturn 1;\n\t}", "public int getVolume() {\r\n\t\treturn volume;\r\n\t}", "public void updateVolume() {\n\t\tMixer.Info[] mixerInfos = AudioSystem.getMixerInfo();\n\n\t\tfor (Mixer.Info mixerInfo : mixerInfos) {\n\t\t\tMixer mixer = AudioSystem.getMixer(mixerInfo);\n\t\t\tLine.Info[] lineInfos = mixer.getTargetLineInfo();\n\n\t\t\tfor (Line.Info lineInfo : lineInfos) {\n\t\t\t\ttry {\n\t\t\t\t\tLine line = mixer.getLine(lineInfo);\n\t\t\t\t\tline.open();\n\t\t\t\t\tif (line.isControlSupported(FloatControl.Type.VOLUME)) {\n\t\t\t\t\t\tFloatControl volumeControl = (FloatControl) line.getControl(FloatControl.Type.VOLUME);\n\t\t\t\t\t\tvolumeControl.setValue((float) volume);\n\t\t\t\t\t}\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public double getVolume()\n {\n return volume / 512;\n }", "public double getTotalVolume() {\n return totalVolume;\n }", "public int getVolume() {\n\t\treturn this.volume;\n\t}", "public long getPropertyVolume();", "public float getVolume() {\n return 1.0f;\n }", "protected float getSoundVolume()\n\t{\n\t\treturn 1F;\n\t}", "@Override\r\n\tpublic float getVolume() {\n\t\treturn 0;\r\n\t}", "protected float getSoundVolume()\n {\n return 0.4F;\n }", "public abstract double calcVolume();", "public abstract double calcVolume();", "public Double getVolumeProgress() {\n return this.volumeProgress;\n }", "public byte getVolume(){\r\n\t\treturn volume;\r\n\t}", "public abstract float volume();", "public abstract double volume();", "public static int getMusicVolume()\n\t{\n\t\treturn musicVolume;\n\t}", "BigDecimal getVolume();", "public void updateVolume(){\r\n if(currentLoop0) backgroundMusicLoop0.gainControl.setValue(Window.musicVolume);\r\n else backgroundMusicLoop1.gainControl.setValue(Window.musicVolume);\r\n }", "private int getPreviousStreamVolume() {\n \tif (this.debugMode){\n \t\treturn QUIET_SOUND_LEVEL;\n \t} else {\n \t\treturn previousStreamVolume;\n \t}\n }", "double volume() {\n\t\treturn 0;\n\t}", "@Override\n\tpublic void calcularVolume() {\n\t\t\n\t}", "public double getVolume() {\n return super.getLado1() * super.getLado2() * this.altura;\n }", "@Override\n\tpublic double volume() {\n\t\treturn 0;\n\t}", "@Override\n\tpublic double volume() {\n\t\treturn 0;\n\t}", "public int getAudioVolume(int streamType) {\n return mAudioManager.getStreamVolume(streamType);\n }", "public double getCyclinderVolume();", "void volume(double volume) {\n execute(\"player.volume = \" + volume);\n }", "@Override\n\tpublic float volume() {\n\t\treturn 0;\n\t}", "private double Volume() {\n\t\tdouble volume = (4f / 3f) * Math.PI * Math.pow(_radius, 3);\n\t\treturn volume;\n\t}", "public int getSliderVolume() {\n return (int)(this.volume * 100);\n }", "public long getPropertyVolumeUnity();", "public long getPropertyVolume()\n {\n return iPropertyVolume.getValue();\n }", "ModuleComponent volume();", "public static int getSoundEffectVolume()\n\t{\n\t\treturn soundEffectVolume;\n\t}", "public interface VolumeControl\n{\n /**\n * The name of the configuration property which specifies the volume level\n * of audio input.\n */\n public final static String CAPTURE_VOLUME_LEVEL_PROPERTY_NAME\n = \"net.java.sip.communicator.service.media.CAPTURE_VOLUME_LEVEL\";\n\n /**\n * The name of the configuration property which specifies the volume level\n * of audio output.\n */\n public final static String PLAYBACK_VOLUME_LEVEL_PROPERTY_NAME\n = \"net.java.sip.communicator.service.media.PLAYBACK_VOLUME_LEVEL\";\n\n /**\n * Current volume value.\n * @return the current volume level.\n */\n public float getVolume();\n\n /**\n * Returns the minimum allowed volume value.\n * @return the minimum allowed volume value.\n */\n public float getMinValue();\n\n /**\n * Returns the maximum allowed volume value.\n * @return the maximum allowed volume value.\n */\n public float getMaxValue();\n\n /**\n * Changes volume level.\n * @param value the new level to set.\n * @return the actual level which was set.\n */\n public float setVolume(float value);\n\n /**\n * Mutes current sound playback.\n * @param mute mutes/unmutes playback.\n */\n public void setMute(boolean mute);\n\n /**\n * Get mute state of sound playback.\n * @return mute state of sound playback.\n */\n public boolean getMute();\n\n /**\n * Adds a <tt>VolumeChangeListener</tt> to be informed for any change\n * in the volume levels.\n *\n * @param listener volume change listener.\n */\n public void addVolumeChangeListener(VolumeChangeListener listener);\n\n /**\n * Removes a <tt>VolumeChangeListener</tt>.\n * @param listener the volume change listener to be removed.\n */\n public void removeVolumeChangeListener(VolumeChangeListener listener);\n}", "public void increseVolume() {\n\t\tvolume++;\n\t\tSystem.out.println(\"MobilePhone当前音量为:\"+volume);\n\t}", "public double getVolume() {\n\t\treturn height * depth * length;\n\n\t}", "public void calcVolume() {\n this.vol = (0.6666666666666667 * Math.PI) * Math.pow(r, 3);\n }", "String getVolume_type();", "public float getVolumeMultiplier();", "public static synchronized int getKeyClickVolume() {\r\n\t\treturn Button.keys.getKeyClickVolume();\r\n\t}", "public double getVolume()\r\n\t{\r\n\t\treturn (super.getArea())*h;\r\n\t}", "public int calculateVolume() {\n return (int) Math.pow(this.sideLength, 3) ;\n }", "private int getVol() {\r\n\r\n\t\treturn dayVolume;\r\n\t}", "public double getVolume() {\n return (getArea() * height);\n }", "double getMaxVolume();", "public double getVolumeLitres() {\n return volumeLitres;\n }", "public String getVolumeType() {\n return this.volumeType;\n }", "public String getVolumeType() {\n return this.volumeType;\n }", "int getCancelledVolume();", "public double getVolume() {\n\t\treturn base.getArea() * height;\n\t}", "public String getVolumeName() {\n return volumeName;\n }", "public int getVolumeHandling() {\n return mBundle.getInt(KEY_VOLUME_HANDLING);\n }", "public float getInitSFXVolume() {\n \t\treturn 1;\n \t}", "public void setVolume(int volume);", "public String interact() {\n return sound;\n }", "public double volume()\r\n {\r\n double volume = Math.pow(radius, 2) * (height / 3) * Math.PI;\r\n return volume;\r\n }", "public void decreaseVolume() {\n\t\tvolume--;\n\t\tSystem.out.println(\"MobilePhone当前音量为:\"+volume);\n\t}", "public void increaseVolume()\r\n {\r\n volume++;\r\n }", "public void play() {\n if (audio != null) {\n audio.play(sfxVolume);\n }\n }", "void setVolume(float volume);", "@Override\n\t\tpublic void onReceive(Context arg0, Intent arg1) {\n\t\t\tString action = arg1.getAction();\n\t\t\tLog.v(TAG, \"action: \" + arg1.getAction());\n\t\t\tif(action.equals(\"android.media.VOLUME_CHANGED_ACTION\")){\n\t\t\t\tsystem_sound = audio.getStreamVolume(AudioManager.STREAM_RING) ;// 当前的媒体音量\n\t\t\t\tFyLog.d(TAG, \"the system_sound is: \" + system_sound);\n\t\t\t\tif(system_sound != sound.getProgress())\n\t\t\t\t\tsound.setProgress(system_sound);\n\t\t\t}\n\t\t}", "public double volume() {\n\t\treturn this.iWidth * this.iLength * this.iDepth\r\n\t}", "boolean hasVolume();", "public void increaseVolume() {\r\n\t\tvolume++;\r\n\t}", "protected void updateVolumeTextView(String text) {\n mVolTextView.setText(text);\n }", "@ReactMethod\n public void getVolumes(Promise promise) {\n int musicVolume = audioManager.getStreamVolume(AudioManager.STREAM_MUSIC);\n int musicMaxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC);\n int alarmVolume = audioManager.getStreamVolume(AudioManager.STREAM_ALARM);\n int alarmMaxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_ALARM);\n int ringVolume = audioManager.getStreamVolume(AudioManager.STREAM_RING);\n int ringMaxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_RING);\n WritableMap map = Arguments.createMap();\n map.putInt(\"musicVolume\",musicVolume);\n map.putInt(\"musicMaxVolume\",musicMaxVolume);\n map.putInt(\"alarmVolume\",alarmVolume);\n map.putInt(\"alarmMaxVolume\",alarmMaxVolume);\n map.putInt(\"ringVolume\",ringVolume);\n map.putInt(\"ringMaxVolume\",ringMaxVolume);\n promise.resolve(map);\n }", "@Override\n\tpublic float volume() {\n\t\tfloat volume = (float) ((4/3) * Math.PI * Math.pow(this.radius, 3));\n\t\treturn volume;\n\t}", "@Override\n public double getVolume() {\n return liquids\n .stream()\n .mapToDouble(Liquid::getVolume)\n .sum();\n }", "public String getVolumeId() {\n return this.volumeId;\n }", "public double calcVolume(){\n double area=calcArea(); // calcArea of superclass used\r\n return area*h;\r\n }", "@Override\n \tpublic void onUpdateVolume(double arg0) {\n \t}" ]
[ "0.70707124", "0.70707124", "0.6930639", "0.6915535", "0.68822527", "0.6852055", "0.68214345", "0.67872554", "0.6786844", "0.6721195", "0.6718519", "0.6717051", "0.6714628", "0.66991746", "0.6666133", "0.66599005", "0.6655181", "0.6650129", "0.66302335", "0.6615166", "0.6608207", "0.65875304", "0.65637344", "0.65459555", "0.650395", "0.6495588", "0.6472839", "0.6459954", "0.6458902", "0.6431613", "0.6400174", "0.63569003", "0.6348365", "0.63237876", "0.6292433", "0.62779677", "0.62713736", "0.62627196", "0.62627196", "0.62402683", "0.6229271", "0.6219185", "0.620312", "0.6176149", "0.61692816", "0.61369693", "0.6122388", "0.6099618", "0.6052628", "0.60432684", "0.6010863", "0.6010863", "0.59881717", "0.5923614", "0.5919488", "0.5889224", "0.58873487", "0.5868574", "0.5853767", "0.58370554", "0.58324397", "0.58306277", "0.5826129", "0.58177346", "0.58101755", "0.58059716", "0.5789719", "0.57878596", "0.5758415", "0.575467", "0.57533395", "0.5746408", "0.5742885", "0.57418036", "0.570551", "0.5703098", "0.5703098", "0.5698444", "0.5667542", "0.5662898", "0.5657032", "0.56447744", "0.5630103", "0.5626995", "0.5621348", "0.562028", "0.5619609", "0.56161964", "0.56092244", "0.5603713", "0.55920744", "0.5580374", "0.557966", "0.55703515", "0.555155", "0.5542501", "0.5537313", "0.55246663", "0.5515883", "0.5514603" ]
0.6448583
29
Exits and unregisters the module.
public void exit() throws DynamicCallException, ExecutionException{ call("exit").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void shutdown() {\r\n //shut down MbModule\r\n super.shutdown();\r\n }", "public void closeModule() {\n\n }", "@Deactivate\n public void deactivate()\n {\n m_PluginFactoryTracker.close();\n if (m_RegistryComponent != null)\n {\n m_RegistryComponent.dispose();\n }\n }", "private void unregister() {\n Intent regIntent = new Intent(REQUEST_UNREGISTRATION_INTENT);\n regIntent.setPackage(GSF_PACKAGE);\n regIntent.putExtra(\n EXTRA_APPLICATION_PENDING_INTENT, PendingIntent.getBroadcast(context, 0, new Intent(), 0));\n setUnregisteringInProcess(true);\n context.startService(regIntent);\n }", "public static void shutdown() {\n if(registry != null)\n StandardServiceRegistryBuilder.destroy(registry);\n }", "public void close() {\n m_module.close();\n }", "private void onModuleDestroy() {\n //!\n //! Handle the destroy notification.\n //!\n mLifecycle.onPause();\n mLifecycle.onDispose();\n\n //!\n //! Unload resource module.\n //!\n mResources.onModuleDestroy();\n\n mResources.unloadAll();\n\n //!\n //! Unload input module.\n //!\n mInputThread.cancel();\n mInput.onModuleDestroy();\n\n //!\n //! Unload audio module.\n //!\n mAudioThread.cancel();\n mAudio.onModuleDestroy();\n\n //!\n //! Unload render module.\n //!\n //! NOTE: Update the render to destroy all render component(s)\n //!\n mRender.onModuleUpdate();\n mRender.onModuleDestroy();\n\n //!\n //! Unload display module.\n //!\n mDisplay.onModuleDestroy();\n }", "private void onModuleDestroy() {\n //!\n //! Handle the destroy notification.\n //!\n mLifecycle.onPause();\n mLifecycle.onDispose();\n\n //!\n //! Unload resource module.\n //!\n mResources.onModuleDestroy();\n mResources.unloadAll();\n\n //!\n //! Unload input module.\n //!\n mInputThread.cancel();\n mInput.onModuleDestroy();\n\n //!\n //! Unload audio module.\n //!\n mAudioThread.cancel();\n mAudio.onModuleDestroy();\n\n //!\n //! Unload render module.\n //!\n //! NOTE: Update the render to destroy all render component(s)\n //!\n mRender.onModuleDestroy();\n\n //!\n //! Unload display module.\n //!\n mDisplay.onModuleDestroy();\n }", "public abstract void unregister();", "public void shutdown() {\n logger.info(\"Shutting down modules.\");\n for (Module module : modules) {\n module.stop();\n }\n logger.info(\"Shutting down reporters.\");\n for (Reporter reporter : reporters.values()) {\n reporter.stop();\n }\n }", "public void unregister() {\n unregistered = true;\n }", "public void exit () {\r\n System.out.println(\"Desligando aplicação...\");\r\n this.stub.killStub();\r\n }", "public static void shutdown()\n\t{\n\t\tinstance = null;\n\t}", "public void shutdown() {\r\n System.exit(0);\r\n }", "void close() {\n unload0(name, handle);\n }", "@After\n public void cleanup()\n throws Exception\n {\n moduleManager.stop();\n }", "public void stop(){\n\t\t\n\t\tif (extObj != null){\n\t\t\textObj.stopComponent();\n\t\t\textObj = null;\n\t\t}\n\t\t\n\t\textClassLoader = null;\n\t}", "public void shutdown()\r\n {\r\n debug(\"shutdown() the application module\");\r\n\r\n // Shutdown all the Timers\r\n shutdownWatchListTimers();\r\n // Save Our WatchLists\r\n saveAllVectorData();\r\n // Our Container vectors need to be emptied and clear. \r\n modelVector.removeAllElements();\r\n modelVector = null;\r\n\r\n tableVector.removeAllElements();\r\n tableVector = null;\r\n\r\n // Delete any additional Historic Data that is Serialized to disk\r\n expungeAllHistoricFiles();\r\n\r\n // Shutdown the task that monitors the update tasks\r\n if ( this.monitorTask != null )\r\n {\r\n this.monitorTask.cancel();\r\n this.monitorTask = null;\r\n }\r\n // Null out any reference to this data that may be present\r\n stockData = null;\r\n debug(\"shutdown() the application module - complete\");\r\n\r\n }", "public void shutdown();", "public void shutdown();", "public void shutdown();", "public void shutdown();", "@Override\n protected void onUnregister() {\n Core.unregister(this);\n }", "public void destroy() throws RemoteException {\n Thread thread = new Thread() {\n public void run() {\n //System.setProperty(\"terminatingHello\", \"true\");\n //System.err.println(\"Shutting down service\");\n //System.err.println(\"Terminating - checking activation ID\");\n\n try {\n AdmActFilterImpl.super.destroy();\n\n activatableFactory.unregister(activationAdapter.getActivationID());\n\n System.out.println(\"destroyed!\");\n\n/* while (!Activatable.inactive(id)) {\n Thread.yield();\n }\n\n ActivationSystem activationSystem = ActivationGroup.getSystem();\n\n ActivationDesc activationDesc = activationSystem.getActivationDesc(id);\n\n ActivationGroupID gid = activationDesc.getGroupID();\n\n activationSystem.unregisterGroup(gid);\n*/\n }\n catch(Exception e) {\n e.printStackTrace();\n }\n }\n };\n\n thread.setDaemon(false);\n thread.start();\n }", "public static void shutdown ()\n\t{\n\t\tif (m_interpreter != null)\n\t\t{\n\t\t\tm_console.dispose ();\n\t\t\tm_interpreter.cleanup ();\n\t\t}\n\t}", "public static void Finalize() {\n isReady = false;\n\n try {\n for (RemoteField f : exported)\n UnicastRemoteObject.unexportObject(f, true);\n if (registry != null)\n UnicastRemoteObject.unexportObject(registry, true);\n } catch (Exception e) {\n e.printStackTrace();\n System.exit(-1);\n }\n }", "void destroy() {\n INSTANCE = null;\n }", "public static void shutdown() {\n\t}", "void unregisterAll();", "public void unregister()\n\t{\n\t\tcancelPrevRegisterTask();\n\n\t\tpushRegistrar.unregisterPW(mContext);\n\t}", "public void shutDown() {\n StunStack.shutDown();\n stunStack = null;\n stunProvider = null;\n requestSender = null;\n\n this.started = false;\n\n }", "@Override\r\n\tpublic void shutdown() {\n\t\tunRigisterMBean();\r\n\t}", "public void Kill(){\n this.dead.getAndSet(true);\n if(this.registry != null){\n try {\n UnicastRemoteObject.unexportObject(this.registry, true);\n } catch(Exception e){\n System.out.println(\"None reference\");\n }\n }\n }", "protected void uninstallComponents() {\n }", "@AfterClass\n\tpublic static void tearDown() throws RemoteException, NotBoundException {\n\t\tSystem.out.println(\n\t\t\t\t\"----------------------------------------Test Recovery Tearing down----------------------------------------\");\n\t\treg.unbind(BINDING_NAME);\n\t\treg = null;\n\t\tSystem.out.println(\n\t\t\t\t\"----------------------------------------Test Recovery Tear down done----------------------------------------\");\n\t}", "public void exitOverlay() {\n\t\tdeRegister(); \n\t}", "public void shutdown()\n {\n // todo\n }", "public synchronized void shutDown() {\n if (this.wakeLock != null) {\n /* Wakelock are ref counted by default. We disable this feature here to ensure that\n * the power lock is released upon shutdown.\n */ \n wakeLock.setReferenceCounted(false);\n wakeLock.release();\n }\n context.unregisterReceiver(broadcastReceiver);\n releaseGlobalContext();\n }", "public synchronized void shutDown() {\n\t state.shutDown();\n\t}", "@Override\n public boolean onUnbind(Intent intent) {\n mPluginManager = null;\n \n stopSelf();\n \n return false;\n }", "public void unRegister(GameObject gameObject) {\r\n\t\tsuper.unRegister((Object)gameObject);\r\n\t}", "public void shutdown() {\n shutdown(false);\n }", "public synchronized void unRegisterAll()\r\n {\r\n clearNameObjectMaps();\r\n }", "public void shutDown();", "protected void uninstallComponents() {\n\t}", "void stop()\n {\n this.service_skeleton.stop(0);\n this.registration_skeleton.stop(0);\n }", "public void shutdown() {\n\t\tInput.cleanUp();\n\t\tVAO.cleanUp();\n\t\tTexture2D.cleanUp();\n\t\tResourceLoader.cleanUp();\n\t}", "public static native void unexport(int pin) throws RuntimeException;", "@Override\n protected void onUnregistered() throws RemoteException {\n\n }", "public void stopModules()\n\t{\n\t\tList<AModule> reversedModules = new ArrayList<>(orderedModules);\n\t\tCollections.reverse(reversedModules);\n\n\t\tinternalStopModules(reversedModules);\n\n\t\tdeinitModules(reversedModules);\n\n\t\tmodulesState.set(ModulesState.RESOLVED);\n\t}", "public void shutdown(){\n\t\tAndroidSensorDataManagerSingleton.cleanup();\n\t}", "public void destroyOsgi();", "public void shutdown() {\n }", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "public void do_shutdown() throws RemoteException {\r\n\t\ttry{\r\n\t\t\t\r\n \r\n\t System.out.println(\"File Server shutdown requested.\");\r\n\t //Removes the binding for the specified name in this registry. \r\n\t registry.unbind(\"remoteObj\");\r\n\t // Removes the remote object from the RMI runtime\r\n if (UnicastRemoteObject.unexportObject(registry, false)) System.out.println(\"Server has been terminated successfully\");\r\n\t\t\tSystem.exit(1);\r\n\r\n\t }\r\n\t catch(Exception e){\r\n\t\t\te.printStackTrace();\r\n\r\n\t }\r\n\r\n\t}", "public void onDestroy() {\n PackageManagerActivity.super.onDestroy();\n LocalBroadcastManager.getInstance(this).unregisterReceiver(this.h);\n }", "void shutDown();", "private void closeModules()\n {\n for (Module m : m_modules)\n {\n // Remove the module from the resolver state.\n getFramework().getResolver().removeModule(m);\n\n // Set fragments to null, which will remove the module from all\n // of its dependent fragment modules.\n try\n {\n ((ModuleImpl) m).attachFragments(null);\n }\n catch (Exception ex)\n {\n getFramework().getLogger().log(\n m.getBundle(), Logger.LOG_ERROR, \"Error detaching fragments.\", ex);\n }\n // Set wires to null, which will remove the module from all\n // of its dependent modules.\n ((ModuleImpl) m).setWires(null);\n\n // Close the module's content.\n ((ModuleImpl) m).close();\n }\n }", "public void shutdown() {\n if (configurations.isRegisterMXBeans()) {\n JmxConfigurator.get().removeMXBean(this);\n }\n configurations.shutdown();\n }", "public void removeModule(IPModule module);", "@Override\n public void onDestroy() {\n EventBusWraper.getInstance().unregister(mContext);\n super.onDestroy();\n // unRegister();\n }", "public void unload() {\n releasePressureToReturn();\n releasePressureToShooter();\n latch(false);\n// reloaded = false;\n }", "public static void shutdown() {\n resetCache();\n listeningForChanges = false;\n }", "public void shutdown() {\n\t\t\n\t}", "public void stopPlugin() {\n try {\n ServicesRegisterManager.removeService(Parameters.JAR_REPOSITORY_MANAGER);\n }\n catch (ServiceClosedException sce) {}\n }", "public void shutdown() {\n _udpServer.stop();\n _registrationTimer.cancel();\n _registrationTimer.purge();\n }", "void internalShutdown() {\n\t\tsynchronized(this.hookedPlugins) {\n\t\t\tIterator<String> it = this.hookedPlugins.keySet().iterator();\n\t\t\twhile (it.hasNext()) {\n\t\t\t\tString id = it.next(); \n\t\t\t\tPluginLogListener listener = this.hookedPlugins.get(id);\n\t\t\t\tlistener.dispose(); \n\t\t\t}\n\t\t\tthis.hookedPlugins.clear(); \n\t\t}\t\n\t\tthis.hierarchy.shutdown();\n\t}", "private static void exit(){\n\t\t\n\t\tMain.run=false;\n\t\t\n\t}", "public void stop() {\n executor.shutdownNow();\n\n Collection<NodeRegistrationContext> allRegistrations = nodeRegistrations.values();\n for (NodeRegistrationContext registration : allRegistrations) {\n sendUnregistrationEvent(registration.resolvedDeployment);\n }\n }", "public void finish() {\n if (Interpreter.getExtension() != null) {\n Interpreter.getExtension().setHierarchy(null);\n }\n }", "protected void uninstall() {\n\t\t//\n\t}", "public void unregisterModule(Enum event, IModule module) {\n eventQueue.unregisterModule(event, module);\n }", "protected void shutdown()\n throws SwiftletException {\n if (config == null)\n return;\n if (traceSpace.enabled) traceSpace.trace(getName(), \"shutdown ...\");\n rlgroups.clear();\n groups.clear();\n users.clear();\n publicRLGroup = null;\n publicGroup = null;\n authenticationOff = true;\n config = null;\n if (traceSpace.enabled) traceSpace.trace(getName(), \"shutdown: done.\");\n }", "public void unregisterState(IState state) {\n moduleCSM.unregisterState(state);\n threadPool.unregisterState(state);\n }", "boolean unregister(String name);", "public void environmentStop(EnvironmentClassLoader loader)\n {\n forceClose();\n }", "public void shutdown() {\n shutdown = true;\n //\n // Cancel our event listener (this will cause the event wait to complete)\n //\n try {\n List<String> eventList = new ArrayList<>();\n Nxt.eventRegister(eventList, eventToken, false, true);\n } catch (IOException exc) {\n Main.log.error(\"Unable to cancel event listener\", exc);\n Main.logException(\"Unable to cancel event listener\", exc);\n }\n }", "public void destroy(){\n Log.i(Constant.TAG, \"destroy...\") ;\n //if sim1 signal listener not null, unregister it\n if (null != mSim1SignalListener) {\n Log.i(Constant.TAG, \"destroy unregister mSim1SignalListener...\") ;\n mTelephonyManager.listen(mSim1SignalListener, PhoneStateListener.LISTEN_NONE);\n mSim1SignalListener = null ;\n }\n\n //if sim1 signal listener not null, unregister it\n if (null != mSim2SignalListener) {\n Log.i(Constant.TAG, \"destroy unregister mSim2SignalListener...\") ;\n mTelephonyManager.listen(mSim2SignalListener, PhoneStateListener.LISTEN_NONE);\n mSim2SignalListener = null ;\n }\n\n // if sim state receiver not null, unregister it\n if (mSimStateReceiver != null && mContext.get() != null){\n Log.i(Constant.TAG, \"destroy unregister mSimStateReceiver...\") ;\n try {\n mContext.get().unregisterReceiver(mSimStateReceiver);\n }catch (Exception e){}\n mSimStateReceiver = null ;\n }\n\n //clear sim state listeners\n if (mSignalStateListeners != null){\n Log.i(Constant.TAG, \"destroy clear mSignalStateListeners...\") ;\n mSignalStateListeners.clear();\n mSignalStateListeners = null ;\n }\n //set instance to null\n Log.i(Constant.TAG, \"destroy set sInstance to null...\") ;\n sInstance = null ;\n }", "public static void exit() {\n\t\t\n\t\t//\tlog out\n\t\tlogout();\n\t\t\n\t\t//\tclean up\n\t\taccountNames.clear();\n\t\taccountsByName.clear();\n\t\tdataProvider = null;\n\t\trememberedUserNames = null;\n\t}", "public void exit() {\n loader.getApplet().stop();\n loader.getApplet().destroy();\n }", "public void destroy() {\r\n Display.destroy();\r\n System.exit(0);\r\n }", "@Override\n\tprotected void onDestroy() {\n\t\tsuper.onDestroy();\n\t\tSystem.exit(0);\n\t}", "public void shutdown() {\n // For now, do nothing\n }", "boolean unload();", "public static void clearRegistry() {\n \t\tLIBRARIES.clear();\n \t}" ]
[ "0.64976", "0.6176508", "0.6146891", "0.60660416", "0.6062907", "0.60122496", "0.6006442", "0.59895074", "0.5931821", "0.5921244", "0.5917259", "0.5914479", "0.5886955", "0.5823562", "0.5815419", "0.58096945", "0.5775123", "0.5774169", "0.57511175", "0.57511175", "0.57511175", "0.57511175", "0.57463163", "0.573832", "0.5708418", "0.5706583", "0.569419", "0.5680019", "0.566777", "0.5658377", "0.5646562", "0.56406057", "0.563831", "0.56278133", "0.5616577", "0.561427", "0.5611093", "0.5600692", "0.5599796", "0.5598929", "0.5598604", "0.55820936", "0.55807906", "0.55799514", "0.5579868", "0.5568629", "0.55580056", "0.5557555", "0.5554771", "0.55503047", "0.5549098", "0.5529768", "0.5521838", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.55167633", "0.54996645", "0.54940003", "0.54874396", "0.54873353", "0.5454171", "0.54414874", "0.543749", "0.54345787", "0.5430404", "0.5430031", "0.5425104", "0.54127187", "0.5411216", "0.5405812", "0.5402083", "0.5398933", "0.5394525", "0.538966", "0.53869796", "0.53867644", "0.5385662", "0.5384335", "0.5383396", "0.5382122", "0.537233", "0.5369218", "0.53657824", "0.53657204", "0.5365128", "0.53641474" ]
0.0
-1
Returns the version of the module.
public String version() throws DynamicCallException, ExecutionException { return (String)call("version").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getModuleVersionNumber();", "public static String getVersion() {\n\t\treturn version;\r\n\t}", "public static String getVersion() {\n\t\treturn version;\n\t}", "public static String getVersion() {\n return version;\n }", "public static String getVersion() {\n return version;\n }", "public static String getVersion() {\r\n\t\treturn VERSION;\r\n\t}", "public static String getVersion() {\n\t\treturn \"1.0.3\";\n\t}", "public static final String getVersion() { return version; }", "public static final String getVersion() { return version; }", "public String getVersion()\n {\n return ver;\n }", "public String getVersion () {\r\n return version;\r\n }", "public String getVersion();", "public String getVersion();", "public String getVersion();", "public String getVersion();", "public String getVersion()\n {\n return version;\n }", "public final String getVersion() {\n return version;\n }", "public String getVersion()\n {\n return version;\n }", "public String getVersion()\n {\n return version;\n }", "public java.lang.String getVersion() {\r\n return version;\r\n }", "public String getVersion() {\n return version;\n }", "public String getVersion() {\n return version;\n }", "public String getVersion() {\n return version;\n }", "public String getVersion() {\n return version;\n }", "public String getVersion() {\n return version;\n }", "public String getVersion() {\n return version;\n }", "public String getVersion() {\n return version;\n }", "public String getVersion() {\n return version;\n }", "public String getVersion() {\n return version;\n }", "public String getVersion() {\n return version;\n }", "public String getVersion() {\n return version;\n }", "public String getVersion() {\r\n return version;\r\n }", "public String getVersion() {\n\t\treturn (VERSION);\n\t}", "String getVersion();", "String getVersion();", "String getVersion();", "String getVersion();", "String getVersion();", "String getVersion();", "String getVersion();", "String getVersion();", "String getVersion();", "String getVersion();", "String getVersion();", "public String getVersion() {\n\t\tString version = \"0.0.0\";\n\n\t\tPackageManager packageManager = getPackageManager();\n\t\ttry {\n\t\t\tPackageInfo packageInfo = packageManager.getPackageInfo(\n\t\t\t\t\tgetPackageName(), 0);\n\t\t\tversion = packageInfo.versionName;\n\t\t} catch (NameNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\treturn version;\n\t}", "public String getVersion() {\n\t\tString version = \"0.0.0\";\n\n\t\tPackageManager packageManager = getPackageManager();\n\t\ttry {\n\t\t\tPackageInfo packageInfo = packageManager.getPackageInfo(\n\t\t\t\t\tgetPackageName(), 0);\n\t\t\tversion = packageInfo.versionName;\n\t\t} catch (NameNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\treturn version;\n\t}", "public String getVersion() {\n return version;\n }", "public String getVersion() {\n return version;\n }", "public String getVersion() {\n return version;\n }", "public Token getModuleVersion()\n {\n // ie: use Module 'x'\n if (!getToken(OperatorToken.class, 3).isNull())\n {\n return Token.NULL;\n }\n\n return getToken(NumberToken.class, 2);\n }", "public String getVersion() {\n\t\treturn version;\n\t}", "public Version getVersion();", "java.lang.String getVersion();", "java.lang.String getVersion();", "java.lang.String getVersion();", "java.lang.String getVersion();", "java.lang.String getVersion();", "java.lang.String getVersion();", "java.lang.String getVersion();", "java.lang.String getVersion();", "Version getVersion();", "Version getVersion();", "Version getVersion();", "Version getVersion();", "public String getVersion() {\r\n\t\treturn version;\r\n\t}", "String version();", "public static String getVersion() {\n\t\treturn \"0.9.4-SNAPSHOT\";\n\t}", "public String getVersion(){\r\n return version;\r\n }", "int getCurrentVersion();", "public String getVersion () {\n return this.version;\n }", "@Nullable\n public ModuleVersionIdentifier getModuleVersion() {\n return moduleVersion;\n }", "public String getVersion() {\n return _version;\n }", "public int getVersion() {\n return version;\n }", "public int getVersion() {\n return version;\n }", "public int getVersion() {\n return version;\n }", "public int getVersion() {\n return version;\n }", "public int getVersion() {\n return version;\n }", "public default String getVersion() {\n return Constants.VERSION_1;\n }", "public String getVersionNum();", "public final int getVersion() {\n return version;\n }", "public String getVersion() {\n\t\treturn _version;\n\t}", "public int getLibVersionNumber();", "public String version() {\n return this.version;\n }", "public String version() {\n return this.version;\n }", "public String version() {\n return this.version;\n }", "public String version() {\n return this.version;\n }", "public java.lang.String getVersion() {\n return version_;\n }", "public String getVersionNumber ();", "public static Version<?> getVersion() {\n return BL_VERSION;\n }", "public int getVersion()\n {\n return info.getVersion().intValueExact();\n }", "public String getProductVersion();", "public long getVersion() {\n return version;\n }", "public long getVersion() {\n return version;\n }", "public String getVersionNumber() {\n return versionNumber;\n }", "public String versionNumber (){\r\n\t\t\treturn _versionNumber;\r\n\t\t}", "public String getVersion()\r\n {\r\n return(\"Ver. 1.0\");\r\n }", "public String getVersion() {\n return this.version;\n }", "long getVersion();", "long getVersion();", "long getVersion();", "long getVersion();" ]
[ "0.82828534", "0.79593027", "0.79504377", "0.7928336", "0.7928336", "0.78901106", "0.78431976", "0.78209424", "0.78209424", "0.77527565", "0.7751525", "0.77265674", "0.77265674", "0.77265674", "0.77265674", "0.76989996", "0.7686446", "0.7666878", "0.7666878", "0.7656246", "0.7653376", "0.7653376", "0.7653376", "0.7653376", "0.7653376", "0.7653376", "0.7653376", "0.7653376", "0.7653376", "0.7653376", "0.7653376", "0.76448345", "0.76314396", "0.76234967", "0.76234967", "0.76234967", "0.76234967", "0.76234967", "0.76234967", "0.76234967", "0.76234967", "0.76234967", "0.76234967", "0.76234967", "0.7614233", "0.7614233", "0.76055956", "0.75855184", "0.75855184", "0.75750834", "0.7573843", "0.7573303", "0.7573023", "0.7573023", "0.7573023", "0.7573023", "0.7573023", "0.7573023", "0.7573023", "0.7573023", "0.756092", "0.756092", "0.756092", "0.756092", "0.7540342", "0.7523776", "0.7509748", "0.74949247", "0.746536", "0.7463481", "0.74540716", "0.74429137", "0.74429077", "0.74429077", "0.74429077", "0.74429077", "0.74429077", "0.74417776", "0.7437249", "0.74297607", "0.7426142", "0.74247557", "0.7402017", "0.7402017", "0.7402017", "0.7402017", "0.7398883", "0.7396844", "0.73368466", "0.73022395", "0.7299033", "0.72982556", "0.72982556", "0.7294856", "0.72675514", "0.7245095", "0.7239376", "0.72327787", "0.72327787", "0.72327787", "0.72327787" ]
0.0
-1
Just a ping. Always returns true
public Boolean ping() throws DynamicCallException, ExecutionException { return (Boolean)call("ping").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean ping();", "public Boolean ping() throws CallError, InterruptedException {\n return (Boolean)service.call(\"ping\").get();\n }", "public boolean ping() throws RemoteException;", "public static void ping() {}", "public static void ping() {}", "@Override\n public String ping() {\n return super.ping();\n }", "public Future<Boolean> ping() throws DynamicCallException, ExecutionException {\n return call(\"ping\");\n }", "public boolean isPing()\n {\n return _isPing;\n }", "public boolean Ping() throws RemoteException;", "boolean ping(String asker);", "public boolean isOnline() {\n Runtime runtime = Runtime.getRuntime();\n try {\n Process ipProcess = runtime.exec(\"/system/bin/ping -c 1 8.8.8.8\");\n int exitValue = ipProcess.waitFor();\n return (exitValue == 0);\n } catch (IOException e) {\n e.printStackTrace();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n return false;\n }", "@Override\n\tpublic String ping() {\n\t\treturn null;\n\t}", "private static boolean isServerReachable() {\n\t\treturn new PingRpcExample().pingServer();\n\t}", "public boolean testConnection() {\r\n boolean toReturn = true;\r\n\r\n String[] paramFields = {};\r\n SocketMessage request = new SocketMessage(\"admin\", \"ping\", SocketMessage.PriorityType.EMERGENCY, SocketMessage.TransferType.BI_WAY, \"\", paramFields);\r\n SocketMessage response = handleMessage(request);\r\n if (isSuccessful(response)) {\r\n toReturn = true;\r\n } else {\r\n toReturn = false;\r\n }\r\n\r\n return toReturn;\r\n }", "public void ping() throws RemoteException{\n return;\n }", "public void\n ping() {\n }", "public boolean pingServer() {\n WifiMouseApplication.KnownServer selected = WifiMouseApplication.getSelectedServer();\n if(this.server.name != selected.name || this.server.bluetooth != selected.bluetooth)\n return false;\n\n sendStringOverNetwork(\"PING\", true);\n //Log.d(\"Waiting for ping...\", \"count: \"+(++count) +\", sessionIv: \"+sessionIV);\n String response = readStringFromNetwork(true);\n //Log.d(\"PingResponse\", \" \"+response);\n\n return response.equals(\"PING\");\n }", "@DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2014-03-25 14:24:54.397 -0400\", hash_original_method = \"FC9A66B03EDC591DD9B38410E60AAA0B\", hash_generated_method = \"575EBCA96DF418DE2A7F2DFD0BCD9A9A\")\n \n public static boolean pingCommand(){\n \tdouble taintDouble = 0;\n \n \treturn ((taintDouble) == 1);\n }", "public Boolean isOnlineNet() {\n\n try {\n Process p = java.lang.Runtime.getRuntime().exec(\"ping -c 1 www.google.es\");\n\n int val = p.waitFor();\n boolean reachable = (val == 0);\n return reachable;\n\n } catch (Exception e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n return false;\n }", "public void ping() throws IOException {\r\n\t\t//Pings the server\r\n\t\tthis.send(\"!ping\");\r\n\t\t//Updates the time since the ping\r\n\t\ttimeSincePing = System.currentTimeMillis();\r\n\t\t//System.out.println(\"Ping!\");\r\n\t}", "protected void ping() {\n\t\tpingCount ++;\n\t\tif(pingCount > 5) {\n\t\t\tlog.debug(\"pingCount is exceed, so close this connection.\");\n\t\t\tclose();\n\t\t\treturn;\n\t\t}\n\t\tsendData(\"<ping />\");\n\t}", "@Override\n\tpublic void ping() {\n\t\t//respond to ping with pong\n\t\tlastPing = System.currentTimeMillis();\n\t\tthis.writeNow(\"type:pong;\");\n\t}", "public void ping() {\n JsonNode rootNode = get(\"ping\");\n\n // TODO verify that the response was \"Pong!\"\n JsonNode dataNode = rootNode.get(\"data\");\n String pong = dataNode.asText();\n }", "public static boolean pingIp(String ipAddress) throws IOException, InterruptedException{\n\t String cmd = \"ping \" + ipAddress;\n\t Runtime runTime = Runtime.getRuntime();\n\t Process process = runTime.exec(cmd);\n\t process.waitFor();\n\t return process.exitValue()==0;\n\t }", "public boolean isHostReachable(String sIPAddress) {\n try {\n\n Process p1 = java.lang.Runtime.getRuntime().exec(\"ping \" + sIPAddress);\n int iRetVal = p1.waitFor();\n if (iRetVal == 0) {\n return true;\n } else {\n return false;\n }\n\n //InetAddress inet = InetAddress.getByName(sIPAddress);\n //return (inet.isReachable(5000) ? true : false);\n } catch (Exception e) {\n return false;\n }\n }", "public boolean getPingOnReuse()\n {\n return _isPing;\n }", "public boolean lockForPing() {\r\n\t\treturn beingPinged.compareAndSet(false, true);\r\n\t}", "public boolean mo15755a(long j, TimeUnit timeUnit) {\n if (f1363a) {\n C1202a.m1318b(\"PingTask\", \"ping google return cache\");\n return true;\n }\n C1202a.m1318b(\"PingTask\", \"start ping goole\");\n this.f1364b = new CountDownLatch(1);\n new AsyncTaskC1228a().execute(new Context[0]);\n try {\n if (!this.f1364b.await(j, timeUnit)) {\n C1202a.m1318b(\"PingTask\", \"await time out\");\n return false;\n }\n C1202a.m1318b(\"PingTask\", \"await:isReachable:\" + f1363a);\n return f1363a;\n } catch (InterruptedException unused) {\n C1202a.m1320d(\"PingTask\", \"await:InterruptedException:\");\n return false;\n }\n }", "public String getPing() {\r\n return ping;\r\n }", "public boolean hasActiveInternetConnection()\n {\n Runtime runtime = Runtime.getRuntime();\n try {\n Process ipProcess = runtime.exec(\"/system/bin/ping -c 1 8.8.8.8\");\n int exitValue = ipProcess.waitFor();\n return (exitValue == 0);\n } catch (IOException e) {\n e.printStackTrace();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n return false;\n }", "public void ping() {\n\t\tHeader.Builder hb = Header.newBuilder();\n\t\thb.setNodeId(999);\n\t\thb.setTime(System.currentTimeMillis());\n\t\thb.setDestination(-1);\n\n\t\tCommandMessage.Builder rb = CommandMessage.newBuilder();\n\t\trb.setHeader(hb);\n\t\trb.setPing(true);\n\n\t\ttry {\n\t\t\t// direct no queue\n\t\t\t// CommConnection.getInstance().write(rb.build());\n\n\t\t\t// using queue\n\t\t\tCommConnection.getInstance().enqueue(rb.build());\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public boolean getPingOnIdle()\n {\n return _isPing;\n }", "private static boolean pingURL(String url, int timeout) {\n try {\n HttpURLConnection connection = (HttpURLConnection) new URL(url).openConnection();\n connection.setConnectTimeout(timeout);\n connection.setReadTimeout(timeout);\n connection.setRequestMethod(\"HEAD\");\n int responseCode = connection.getResponseCode();\n return (200 <= responseCode && responseCode <= 399);\n } catch (IOException exception) {\n return false;\n }\n }", "protected boolean isValidPing(final String path) {\n return \"/ping\".equals(path);\n }", "public static boolean ping(String... varargs) {\n\t\t// setting the default value when argument's value is omitted\n\t\tString sessionID = varargs.length > 0 ? varargs[0] : null;\n\t\tsessionID = sessionId(sessionID);\n\t\tString url = apiUrl(sessionID, false) + \"Ping?sessionID=\" + PMA.pmaQ(sessionID);\n\t\ttry {\n\t\t\tURL urlResource = new URL(url);\n\t\t\tHttpURLConnection con;\n\t\t\tif (url.startsWith(\"https\")) {\n\t\t\t\tcon = (HttpsURLConnection) urlResource.openConnection();\n\t\t\t} else {\n\t\t\t\tcon = (HttpURLConnection) urlResource.openConnection();\n\t\t\t}\n\t\t\tcon.setRequestMethod(\"GET\");\n\t\t\tcon.setRequestProperty(\"Accept\", \"application/json\");\n\t\t\tString jsonString = PMA.getJSONAsStringBuffer(con).toString();\n\t\t\treturn jsonString.equals(\"true\") ? true : false;\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\tif (PMA.logger != null) {\n\t\t\t\tStringWriter sw = new StringWriter();\n\t\t\t\te.printStackTrace(new PrintWriter(sw));\n\t\t\t\tPMA.logger.severe(sw.toString());\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}", "@GET\n @Path(\"/ping\")\n\tpublic Response ping() {\n\t\tlog.debug(\"Ping check ok\");\n return Response.status(Response.Status.OK).entity(1).build();\n \n\t}", "public boolean isAlive();", "boolean isAlive();", "boolean isAlive();", "public boolean isNetworkReachable();", "private Callable<Boolean> isReachable() {\n return () -> {\n try {\n if (!isOnline()) {\n return false;\n }\n\n URL url = new URL(\"https://api.vk.com\"); //url for ex.\n HttpURLConnection httpURLConnection = (HttpURLConnection) url.openConnection();\n httpURLConnection.setConnectTimeout(2000);\n httpURLConnection.connect();\n\n return true;\n } catch (Exception e) {\n return false;\n }\n };\n }", "public void ping(boolean lastPing) {\n\n\t\tSystem.out.println(\"Host is sending a ping...\");\n\t\t\n\t\ttry {\n\t\t\tDatagramSocket pingSocket = new DatagramSocket(Constants.Network.HOST_UDP_PORT);\n\n\t\t\tfor(ClientConnection cc : clients.values()) {\n\n\t\t\t\tInetAddress address = cc.addr;\n\t\t\t\tint port = cc.udpPort; \n\n\t\t\t\tSystem.out.println(\"Sending ping to \" + address.toString() + \":\" + port);\n\n\t\t\t\tlong currentTime = System.currentTimeMillis();\n\n\t\t\t\tbyte[] buf = new byte[9];\n\n\t\t\t\t//byte[] buf = Utils.longToBytes(currentTime);\n\n\t\t\t\tboolean successfulReceipt = false;\n\n\t\t\t\twhile(! successfulReceipt ) {\n\n\t\t\t\t\t// If this is the last ping, we set the last byte to be our LAST_PING flag, and \n\t\t\t\t\t// tell the client how much they should buffer before playing.\n\t\t\t\t\tif(lastPing) {\n\t\t\t\t\t\tbuf[8] = Constants.Network.STOP_WAITING_FOR_PINGS;\n\n\t\t\t\t\t\tlong bufferingAmount = calculateInitialBufferTimeForClient(cc, bufferTime);\n\n\t\t\t\t\t\tUtils.inPlaceLongToBytes(bufferingAmount, buf);\n\n\t\t\t\t\t\tSystem.out.println(\"Telling client to set initial buffering time to \" + bufferingAmount);\n\t\t\t\t\t}\n\n\t\t\t\t\ttry {\n\t\t\t\t\t\tDatagramPacket packet = new DatagramPacket(buf, buf.length, address, port);\n\t\t\t\t\t\tpingSocket.send(packet);\n\n\n\t\t\t\t\t\tpingSocket.setSoTimeout((int) (cc.averageLatencyInMillis() + 1000));\n\t\t\t\t\t\tDatagramPacket receipt = new DatagramPacket(buf, buf.length);\n\t\t\t\t\t\tpingSocket.receive(receipt);\n\t\t\t\t\t\tsuccessfulReceipt = true;\n\t\t\t\t\t} catch (SocketTimeoutException e) {\n\t\t\t\t\t\tSystem.out.println(\"Did not receive a response in \" + (cc.averageLatencyInMillis() + 1000) + \" ms, trying again...\");\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t\tlong timeDifference = (System.currentTimeMillis() - currentTime) / 2;\n\n\t\t\t\tSystem.out.println(\"Host reported a time difference of \" + timeDifference + \" milliseconds from \" + cc.addr);\n\n\t\t\t\tcc.addLatencyNumber((System.currentTimeMillis() - currentTime) / 2);\n\t\t\t}\n\n\t\t\tpingSocket.close();\n\n\t\t} catch(SocketException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tif(lastPing)\n\t\t\tSystem.out.println(\"Host done sending pings.\");\n\n\t}", "public void ping(){\r\n\t\t uSensor.ping();\r\n\t }", "public void setPing(boolean ping)\n {\n _isPing = ping;\n }", "private void doPing()\r\n {\r\n requestQueue.add( new ChargerHTTPConn( weakContext,\r\n CHARGE_NODE_JSON_DATA, \r\n PING_URL,\r\n SN_HOST,\r\n null, \r\n cookieData,\r\n false,\r\n token,\r\n secret ) );\r\n }", "protected boolean pingFromMaster(String who) throws Throwable {\n Log.INFO(\"Attempting to ping \" + who + \" from the master node\");\n if (runSystemCommand(\n SSH_ROOT + adminVIP +\" \\\"\"+ PING + \" \" + who + \"\\\"\" ))\n {\n Log.INFO(who + \" is pingable\");\n return true;\n } else {\n Log.ERROR(who + \" is not pingable\");\n return false;\n }\n }", "boolean getAlive();", "private void startPinging() {\n Bukkit.getScheduler().runTaskTimerAsynchronously(plugin, new Runnable() {\n @Override\n public void run() {\n HashSet<Connection> connectionsSet = new HashSet<>(connections); //Create new hashset of connections\n for (Connection connection : connectionsSet) { //Loop thru connections\n boolean stillInConnections = false;\n synchronized (connections) { //Check if connection still in the array\n if (connections.contains(connection)) {\n stillInConnections = true;\n }\n }\n if (stillInConnections) { //If still in array\n try { //Try to ping\n connection.isValid(5);\n } catch (SQLException e) { //If not valid anymore\n synchronized (connections) { //Remove from array\n connections.remove(connection);\n }\n closeConnection(connection); //Close the connection\n }\n }\n }\n }\n }, 17000, 17000);\n }", "private boolean isWifiConnected() throws InterruptedException {\n int counter = 10;\n while (--counter > 0) {\n try {\n String mPingSite = String.format(\"http://%s\", DEFAULT_PING_SITE);\n URL url = new URL(mPingSite);\n HttpURLConnection conn = (HttpURLConnection) url.openConnection();\n conn.setRequestMethod(\"GET\");\n conn.setConnectTimeout(mABvtHelper.LONG_TIMEOUT * 12);\n conn.setReadTimeout(mABvtHelper.LONG_TIMEOUT * 12);\n if (conn.getResponseCode() == HttpURLConnection.HTTP_OK) {\n return true;\n }\n Thread.sleep(mABvtHelper.SHORT_TIMEOUT);\n } catch (IOException ex) {\n // Wifi being flaky in the lab, test retries 10 times to connect to google.com\n // as IOException is throws connection isn't made and response stream is null\n // so for retrying purpose, exception hasn't been rethrown\n Log.i(mABvtHelper.TEST_TAG, ex.getMessage());\n }\n }\n return false;\n }", "boolean isAlive() throws RemoteException;", "public TestPing(boolean request) {\n\t\tthis.request = request;\n\t\tp = new Ping(request);\n\t}", "public long getPing()\n\t{\n\t\t\n\t\treturn clientPing;\n\t\t\n\t}", "public final boolean isAlive() { return true; }", "public static boolean isConnectedToInternet() {\n String pingServerURL = pingBackUrl.substring(0, pingBackUrl.indexOf(\"/\", \"http://url\".length()));\n try {\n URL url = new URL(pingServerURL);\n HttpURLConnection urlConn = (HttpURLConnection) url.openConnection();\n urlConn.connect();\n return (HttpURLConnection.HTTP_NOT_FOUND != urlConn.getResponseCode());\n } catch (MalformedURLException e) {\n LOG.error(\"LeadCapture : Error creating HTTP connection to the server : \" + pingServerURL);\n \n } catch (IOException e) {\n LOG.error(\"LeadCapture : Error creating HTTP connection to the server : \" + pingServerURL);\n }\n return false;\n }", "boolean getIsAlive();", "public String determinePing(String ip) {\r\n if(ip.isEmpty()) {\r\n System.out.println(\"PING NOT AVAILABLE\");\r\n ping = \"Not Available\";\r\n return ping;\r\n }\r\n \r\n String command = \"ping \" + ip;\r\n\r\n try{\r\n Process proc = Runtime.getRuntime().exec(command);\r\n BufferedReader input = new BufferedReader(new InputStreamReader(proc.getInputStream()));\r\n String line;\r\n while((line = input.readLine()) != null) {\r\n if(line.length() > 0 && line.contains(\"time=\")) {\r\n System.out.println(line);\r\n input.close();\r\n String timeString = line.substring(line.indexOf(\"time\"));\r\n String time = timeString.substring(timeString.indexOf(\"=\") + 1, timeString.indexOf(\"ms\") + 2);\r\n ping = time;\r\n return ping;\r\n }\r\n }\r\n }\r\n catch(Exception e){\r\n System.out.println(e);\r\n }\r\n\r\n return \"SERVERS ON FIRE\";\r\n }", "@Test\n\tpublic void checkStatus() {\n\t\tclient.execute(\"1095C-16-111111\");\n\t}", "public boolean isAlive() throws RemoteException;", "boolean stillAlive();", "boolean isAlive() { return alive; }", "protected boolean isAlive()\n {\n return alive;\n }", "protected boolean isAlive()\n {\n return alive;\n }", "public Thread asyncPing() {\n Gson gson = new Gson();\n PingMessage pingMessage = new PingMessage(\"ping\");\n return new Thread(() -> {\n try {\n while (!socket.isClosed() && !Command.checkError()) {\n Command.sendMessage(gson.toJson(new MessageEnvelope(MessageType.PING, gson.toJson(pingMessage, PingMessage.class)), MessageEnvelope.class));\n Thread.sleep(500);\n }\n } catch (InterruptedException e) {\n view.showError(\"Error ping thread interrupted\");\n }\n });\n }", "public static ServerStatus ping(String address) {\n MCPingOptions options = getPingOptions(address);\n Instant timestamp = Instant.now();\n MCPingResponse ping = null;\n\n try {\n ping = MCPing.getPing(options);\n } catch (IOException e) {\n //TODO differentiate between different types of exceptions, i.e. UnknownHostException,\n log.error(\"Error while pinging Minecraft server\", e);\n }\n\n return new ServerStatus(address, ping, ping != null, timestamp);\n }", "private native String simplePing(int sessionId, String name, String pingStr);", "public boolean isAlive() { return alive; }", "protected void pingReceived(){\r\n\t\tpings++;\r\n\t\troundTrip = System.currentTimeMillis() - pingSent;\r\n\t\tlastPing = System.currentTimeMillis();\r\n\t\tlog.trace(\"\\\"\" + getName() + \"\\\" responded to ping after \" + roundTrip + \"ms\");\r\n\t}", "boolean hasSock();", "boolean hasHost();", "boolean hasHost();", "public boolean isAlive() {\n return health > 0;\n }", "boolean getHealthy();", "public int pingHost(String host, int timeout) throws IOException,\n InterruptedException {\n Runtime runtime = Runtime.getRuntime();\n timeout /= 1000;\n String cmd = \"ping -c 5 -W \" + timeout + \" \" + host;\n Process proc = runtime.exec(cmd);\n LibreLogger.d(this,\"Ping Result : \" + cmd);\n BufferedReader reader = new BufferedReader(\n new InputStreamReader(proc.getInputStream()));\n int read;\n char[] buffer = new char[4096];\n StringBuffer output = new StringBuffer();\n while ((read = reader.read(buffer)) > 0) {\n output.append(buffer, 0, read);\n }\n reader.close();\n LibreLogger.d(this,\"Ping result\" + output.toString()+ \"For URL\" + host);\n proc.waitFor();\n int exit = proc.exitValue();\n return exit;\n }", "public void run() {\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tSystem.out.println(\"before job: \" + PingServersEndpoint.status.get( usertoken ) );\r\n\t\tint count = 0;\r\n\t\t\r\n\t\t// grab the ip range\r\n\t\tlong startIp = PingThreadJob.ipToLong( ip_start );\r\n\t\tlong endIp = PingThreadJob.ipToLong( ip_end );\r\n\t\tlong currentIp = startIp;\r\n\t\t\r\n\t\t\r\n\t\twhile( PingServersEndpoint.status.get( usertoken ) && (currentIp <= endIp) ) {\r\n\t\t\tcount++;\r\n\t\t\r\n\t\t\t\r\n\t\t\t// find the range we want to \r\n\t\t\t\r\n\t\t\tSystem.out.println(\"Loop count : \" + count );\r\n\t\t\tSystem.out.println(\"Found check : \" + PingServersEndpoint.status.get( usertoken ));\r\n\t\t\t\r\n\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tString currentIp_string = PingThreadJob.longToIp( currentIp );\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\tPingJob job = new PingJob();\r\n\r\n\t\t\tLong ping = job.ping( currentIp_string, port );\r\n\t\t\t\r\n\t\t\ttry {\r\n\t\t\t\t\r\n\t\t\t\tJSONObject resultPayload = new JSONObject();\r\n\t\t\t\t\r\n\t\t\t\tresultPayload.put(\"pingstatus\", \"good\" );\r\n\t\t\t\tresultPayload.put( \"ip\", currentIp_string );\r\n\t\t\t\tresultPayload.put( \"ip_num\", currentIp );\r\n\t\t\t\tresultPayload.put(\"port\", \"port\" );\r\n\t\t\t\t\r\n\t\t\t\tif( ping != null ) {\r\n\t\t\t\t\tresultPayload.put(\"accepting\", true );\r\n\t\t\t\t\tresultPayload.put( \"ping\", ping );\r\n\t\t\t\t} else {\r\n\t\t\t\t\t\r\n\t\t\t\t\tresultPayload.put(\"accepting\", false );\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tsession.getBasicRemote().sendText( resultPayload.toString() );\r\n\t\t\t} catch (IOException e1) {\r\n\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\te1.printStackTrace();\r\n\t\t\t}\r\n\t\t\t\r\n//\t\t\ttry {\r\n//\t\t\t\tThread.sleep(2000);\r\n//\t\t\t} catch (InterruptedException 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\t\r\n\t\t\tcurrentIp++;\r\n\t\t}\r\n\t\t\r\n\t\tSystem.out.println(\"Final count : \" + count );\r\n\t}", "public boolean isAlive() {\r\n\t\treturn hp > 0;\r\n\t}", "public boolean spam() {\n\t\tsynchronized (this) {\n\t\t\tif (!canUse() || !start())\n\t\t\t\treturn false;\n\t\t\tfinal TimedCondition tc = new TimedCondition(1000) {\n\t\t\t\t@Override\n\t\t\t\tpublic boolean isDone() {\n\t\t\t\t\treturn !canUse() || BarNode.this.isDone();\n\t\t\t\t}\n\t\t\t};\n\t\t\tdo {\n\t\t\t\tsend();\n\t\t\t\tTask.sleep(300, 400);\n\t\t\t} while (tc.isRunning());\n\t\t\treturn tc.isDone();\n\t\t}\n\t}", "public boolean isAlive(){\n \treturn alive;\r\n }", "public void ping(long timeout) {\n //prepearing test message\n \n writeRoutingLabel(sltm, 0,0,link.sls,dpc,opc);\n sltm[0] = (byte) 0xC1; // 1100 0001\n sltm[5] = 0x11;\n sltm[6] = (byte) (SLTM_PATTERN.length << 4);\n System.arraycopy(SLTM_PATTERN, 0, sltm, 7, SLTM_PATTERN.length);\n \n //sending test message\n link.queue(sltm);\n \n //incremeting number of tries.\n tryCount++;\n \n //scheduling timeout\n testFuture = mtpTimer.schedule(this, timeout, TimeUnit.SECONDS);\n if (logger.isDebugEnabled()) {\n \tlogger.debug(String.format(\"(%s) Test request, try number = %d\", link.name, tryCount));\n }\n }", "public boolean isAlive() {\n return this.getHealthPower().hasSomeHealth();\n }", "public boolean isAlive() {\n\t\treturn aliveStatus;\n\t}", "@RequestMapping(value = \"/ping\", produces = \"text/plain\")\n public String ping() {\n return \"OK\";\n }", "private void startPingTimer() {\n\n Timer timer = new Timer();\n TimerTask task = new TimerTask() {\n @Override\n public void run() {\n\n if (pong) {\n send(\"<ping/>\");\n pong = false;\n } else {\n System.out.println(\"[CLIENT] No pong received. Client will now be disconnected.\");\n clientController.onMissingPong();\n closeConnection();\n timer.cancel();\n }\n\n }\n };\n timer.scheduleAtFixedRate(task, 0, 20000);\n\n }", "public boolean isAlive(){\n \t\treturn alive;\n \t}", "@Override\n public boolean isReachable(DeviceId deviceId) {\n return true;\n }", "@Override\n public boolean isReachable(DeviceId deviceId) {\n return true;\n }", "boolean hasKeepAlive();", "public long getPingInterval()\n {\n return _pingInterval;\n }", "boolean isNetworkAvailable();", "public boolean IsReachable(Context context) {\n final ConnectivityManager connMgr = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);\n final NetworkInfo netInfo = connMgr.getActiveNetworkInfo();\n boolean isReachable = false;\n\n if (netInfo != null && netInfo.isConnected()) {\n // Some sort of connection is open, check if server is reachable\n try {\n URL url = new URL(\"http://\"+ipAddress);\n HttpURLConnection urlc = (HttpURLConnection) url.openConnection();\n urlc.setRequestProperty(\"User-Agent\", \"Android Application\");\n urlc.setRequestProperty(\"Connection\", \"close\");\n urlc.setConnectTimeout(10 * 2000);\n urlc.connect();\n isReachable = (urlc.getResponseCode() == 200);\n } catch (IOException e) {\n //Log.e(TAG, e.getMessage());\n }\n }\n\n return isReachable;\n }", "public boolean hasLanded ();", "public boolean isAlive()\n {\n return alive;\n }", "boolean isAvailable( long millis );", "public boolean connectionAlive() throws RemoteException;", "@Override\n public boolean isOnline() {\n if(mSocket != null && mSocket.isConnected())\n return true;\n return false;\n }", "public void testGetUptime() {\n assertTrue(mb.getUptime() > -1);\n }", "@Override\n public boolean isAlive() {\n return health > 0f;\n }", "public ModelApiResponse ping() throws AuthenticationApiException {\n try {\n return authenticationApi.ping();\n } catch (ApiException e) {\n throw new AuthenticationApiException(\"Error during keep alive ping\", e);\n }\n }", "public boolean isAlive()\n\t{\n\t\treturn alive;\n\t}", "public boolean isAlive()\n\t{\n\t\treturn alive;\n\t}", "public boolean isAlive () {\n return (daemon != null) && daemon.isAlive();\n }" ]
[ "0.88457584", "0.8238676", "0.80067414", "0.79437816", "0.79437816", "0.7771776", "0.77290916", "0.7649587", "0.7501426", "0.73965514", "0.7326954", "0.72604406", "0.72292286", "0.72246003", "0.7190066", "0.7124655", "0.7122489", "0.70292544", "0.6971615", "0.6862764", "0.6849364", "0.6805265", "0.67931986", "0.6778941", "0.6757494", "0.6707175", "0.6667544", "0.666226", "0.66598564", "0.6659484", "0.6611924", "0.65974826", "0.65762806", "0.657004", "0.653507", "0.65239465", "0.6508667", "0.64991426", "0.64991426", "0.64916337", "0.6485339", "0.64768827", "0.64740807", "0.6370569", "0.62995654", "0.6266211", "0.62487406", "0.6241719", "0.62285405", "0.62162274", "0.62157625", "0.6184534", "0.61791", "0.6168244", "0.61554945", "0.61230695", "0.6095187", "0.6084458", "0.6045944", "0.60276526", "0.60165006", "0.60165006", "0.596772", "0.5962529", "0.59556746", "0.595039", "0.5924889", "0.59196275", "0.5905001", "0.5905001", "0.5902668", "0.58957744", "0.5882545", "0.58823496", "0.587578", "0.5845819", "0.5844712", "0.58427614", "0.5840767", "0.58149815", "0.5808803", "0.58069843", "0.58037156", "0.57940984", "0.57940984", "0.5784038", "0.57805616", "0.57768756", "0.57680315", "0.57649803", "0.5764127", "0.57637686", "0.57540387", "0.5741375", "0.57392454", "0.57388514", "0.5721816", "0.57197475", "0.57197475", "0.57168955" ]
0.7808683
5
Retrieves the module's method list.
public List<String> getMethodList() throws DynamicCallException, ExecutionException { return (List<String>)call("getMethodList").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<String> getMethodList() throws CallError, InterruptedException {\n return (List<String>)service.call(\"getMethodList\").get();\n }", "public List<IMethod> getMethods();", "public List<IMethod> getMethods();", "public List<MethodInfo> getMethods() { \n return lstMethodInfo;\n }", "List<Method> getAllMethods();", "public Future<List<String>> getMethodList() throws DynamicCallException, ExecutionException {\n return call(\"getMethodList\");\n }", "public List<ServiceMethod> getMethodList()\n {\n return Collections.unmodifiableList(methods);\n }", "public List<Method> getMethod_list() {\n\t\treturn arrayMethods;\n\t}", "@XRMethod(value = \"system.listMethods\", help = \"List all method names available\")\r\n\tList<String> listMethods();", "java.util.List<org.mojolang.mojo.lang.FuncDecl> \n getMethodsList();", "public String[] getMethods() {\n\t\treturn methods;\n\t}", "public ArrayList<Method> getMethods() {\n\t\treturn arrayMethods;\n\t}", "public Enumeration getMethods()\n {\n ensureLoaded();\n return m_tblMethod.elements();\n }", "ISourceMethod[] getMethods();", "public static MethodClass getMethods (){\n\t\treturn methods;\n\t}", "List<MethodNode> getMethods() {\n return this.classNode.methods;\n }", "public abstract String[] getMethodNames();", "public MethodDescriptor[] getMethodDescriptors() {\n return getMdescriptor();\n }", "public List<Method> getMethods(File f, EolModule module) {\n\t\tList<Method> methods = new ArrayList<>();\r\n\t\tEglPreprocessorModule pm = ((EglModule)module).getPreprocessorModule();\r\n\t\tfor (Operation op : pm.getDeclaredOperations()) {\r\n\t\t\t//EolType contextClass = op.getContextType(module.getContext());\r\n\t\t\tTypeExpression contextClass = op.getContextTypeExpression();\r\n\t\t\tMethod m;\r\n\t\t\tif (contextClass!=null)\r\n\t\t\t\tm = new Method(contextClass.getName(), op.getName(), f);\r\n\t\t\telse\r\n\t\t\t\tm = new Method(null, op.getName(), f);\r\n\t\t\tmethods.add(m);\r\n\t\t}\r\n\t\treturn methods;\r\n\t}", "public MethodDeclaration[] getMethods() {\n return m_classBuilder.getMethods();\n }", "java.util.List<? extends org.mojolang.mojo.lang.FuncDeclOrBuilder> \n getMethodsOrBuilderList();", "public List<WjrMethodItem> getMethodItems() {\r\n return new ArrayList<WjrMethodItem>(methodItems.values());\r\n }", "public List getMethodLines() {\n return methodLines;\n }", "@Override\n public MethodDescriptor[] getMethodDescriptors() {\n return getMdescriptor();\n }", "@Override\r\n\tpublic List<Method> getMethods(File f) {\n\t\tEolModule module = new EolModule();\r\n\t\treturn this.getMethods(f, module);\r\n\t}", "public List<ResourceMethod> getResourceMethods() {\n return resourceMethods;\n }", "@Override\n\tpublic String[] getMethods() {\n\t\treturn null;\n\t}", "@Override\r\n\tpublic String[] getMethodNames() {\n\t\treturn this.methodNames;\r\n\t\t//未实现\r\n\t}", "public static List<Map<String, Object>> getMethods(Map<String, Object> model) {\n @SuppressWarnings(\"unchecked\")\n List<Map<String, Object>> methods = (List<Map<String, Object>>) getRoot(model).get(ModelConstant.METHODS);\n return methods;\n }", "public abstract GobalPostLoader.MethodList getPostLoaderMethodList();", "@SuppressWarnings(\"rawtypes\")\n\tpublic ArrayList getMethodStructures(){\n\t\treturn methodStructures;\n\t}", "public TreeMap<String,CheckOutMethod>\n getMethods()\n {\n TreeMap<String,CheckOutMethod> methods = new TreeMap<String,CheckOutMethod>();\n for(String name : pVersionFields.keySet()) {\n JCollectionField field = pMethodFields.get(name);\n methods.put(name, CheckOutMethod.values()[field.getSelectedIndex()]);\n }\n return methods;\n }", "public List<Module> getModules(){\r\n return modules;\r\n }", "public\tList<JsClass.Method>\tgetAddedMethods() {\n\t\t\n\t\treturn\tCollections.unmodifiableList(this.addedMethods);\n\t}", "public List<MethodInfo> getMethod(String methodName) {\n List<MethodInfo> matchedMethodInfo = new ArrayList<MethodInfo>();\n for (MethodInfo method : this.lstMethodInfo) {\n if (methodName.equals(method.getName())) {\n matchedMethodInfo.add(method);\n }\n }\n \n return matchedMethodInfo;\n }", "public Set<AbstractProgramData<?>> getMethods()\n {\n return this.methods;\n }", "public List<MethodDeclaration> getMethodDeclarations() {\n return methodDeclarations;\n }", "public\tList<ChangedJsMethod>\tgetChangedMethods() {\n\t\t\n\t\treturn\tCollections.unmodifiableList(this.changedMethods);\n\t}", "String getMethod();", "String getMethod();", "public String getMethod ()\n {\n return method;\n }", "public abstract Set<MethodUsage> getDeclaredMethods();", "public java.util.List getColumnNamesMethods() {\n\t\treturn Arrays.asList(columnNamesMethodsTable);\n\t}", "public List<PaymentEntity> getPaymentMethods() {\n return entityManager.createNamedQuery(\"getAllPaymentMethods\", PaymentEntity.class).getResultList();\n\n }", "public static List<Method> getMethods( Class<?> klass )\r\n {\r\n return Arrays.asList( org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods( klass ) );\r\n }", "List<ICMakeModule> getModules();", "protected List<Object> getModules() {\n return new ArrayList<>();\n }", "public Enumeration getMethodNames()\n {\n final EnumerationUnion eu = new EnumerationUnion();\n if( methods != null )\n {\n eu.add( methods.keys() );\n }\n if( ancestors != null )\n {\n final int size = ancestors.size();\n for( int i = 0; i < size; i++ )\n {\n final ScriptingClass clazz = (ScriptingClass)\n ancestors.elementAt( i );\n eu.add( clazz.getMethodNames() );\n }\n }\n try\n {\n final ScriptingClass object = getClassLoader().load( \"object\" );\n eu.add( object.getMethodNames() );\n }\n catch( ScriptingClassNotFoundException e )\n {\n }\n return eu;\n }", "@Override\n public ServiceResponse listMethods(final ServiceRequest request) throws SOAPException {\n return this.soapClient.listMethods(request, this.getTargetUrl());\n }", "public String getMethod() {\n return method;\n }", "public String getMethod() {\n return method;\n }", "public String getMethod() {\n return method;\n }", "public Method getMethod();", "@Override\n public String getMethod() {\n return METHOD_NAME;\n }", "public Method getMethod() {\n return mMethod;\n }", "public Method getMethod() {\n return method;\n }", "public Method getMethod() {\n return method;\n }", "public java.beans.MethodDescriptor[] getMethodDescriptors() {\n\ttry {\n\t\tjava.beans.MethodDescriptor aDescriptorList[] = {\n\t\t\tclearMethodDescriptor()\n\t\t\t,main_javalangString__MethodDescriptor()\n\t\t\t,toggleVisibilityMethodDescriptor()\n\t\t};\n\t\treturn aDescriptorList;\n\t} catch (Throwable exception) {\n\t\thandleException(exception);\n\t};\n\treturn null;\n}", "public Method getMethod () {\n\t\treturn method;\n\t}", "public\tList<JsClass.Method>\tgetRemovedMethods() {\n\t\t\n\t\treturn\tCollections.unmodifiableList(this.removedMethods);\n\t}", "synchronized List<Module> getModules()\n {\n return m_modules;\n }", "public static Method[] getPublicMethods(Class<?> paramClass) {\n/* 107 */ if (System.getSecurityManager() == null) {\n/* 108 */ return paramClass.getMethods();\n/* */ }\n/* 110 */ HashMap<Object, Object> hashMap = new HashMap<>();\n/* 111 */ while (paramClass != null) {\n/* 112 */ boolean bool = getInternalPublicMethods(paramClass, (Map)hashMap);\n/* 113 */ if (bool) {\n/* */ break;\n/* */ }\n/* 116 */ getInterfaceMethods(paramClass, (Map)hashMap);\n/* 117 */ paramClass = paramClass.getSuperclass();\n/* */ } \n/* 119 */ return (Method[])hashMap.values().toArray((Object[])new Method[hashMap.size()]);\n/* */ }", "public AuthMethod[] getAuthMethods() {\n\t\treturn authMethods.clone();\n\t}", "public String getMethod() {\n\n return this.method;\n }", "public String getMethod() {\n\t\treturn method;\n\t}", "@Override public Iterable<JflowModel.Method> getStartMethods()\n{\n Vector<JflowModel.Method> v = new Vector<JflowModel.Method>();\n\n for (JflowMethod cm : model_master.getStartMethods()) {\n ModelMethod cs = complete_calls.get(cm);\n if (cs != null) v.add(cs);\n }\n\n return v;\n}", "public HashMap<String, LabTest> getMethods() {\n HashMap<String, LabTest> methods = new HashMap<>();\n if (isApiAvailable(\"getMethods\")) {\n makeConnection(\"getMethods\");\n BufferedReader in = null;\n try {\n in = new BufferedReader(new InputStreamReader(con.getInputStream()));\n } catch (IOException e) {\n e.printStackTrace();\n }\n String inputLine = null;\n StringBuilder content = new StringBuilder();\n while (true) {\n try {\n assert in != null;\n if ((inputLine = in.readLine()) == null) break;\n } catch (IOException e) {\n e.printStackTrace();\n }\n content.append(inputLine);\n }\n try {\n in.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n String jsonstring = content.toString();\n jsonArray = new JSONArray(jsonstring);\n for (int i = 0; i < jsonArray.length(); i++) {\n Gson gson = new GsonBuilder().setPrettyPrinting().create();\n JsonObject jsonObject = gson.fromJson(String.valueOf(jsonArray.get(i)), JsonObject.class);\n LabTest method = makeMethod(jsonObject);\n methods.put(method.getNameOfMethod(), method);\n }\n con.disconnect();\n }\n return methods;\n }", "protected Method getMethod() {\n return method;\n }", "public List<WjrMethodItem> getMethodItems(String className) {\r\n checkNotNull(className, \"The className parameter is null.\");\r\n checkState(\r\n classItems.containsKey(className),\r\n \"The %s is not found.\",\r\n className);\r\n\r\n List<WjrMethodItem> items = new ArrayList<WjrMethodItem>();\r\n\r\n SortedMap<String, WjrMethodItem> tailMap = methodItems.tailMap(className);\r\n for (WjrMethodItem item : tailMap.values()) {\r\n if (item.getClassName().equals(className)) {\r\n items.add(item);\r\n } else {\r\n break;\r\n }\r\n }\r\n return items;\r\n }", "@GetMapping(\"/methods\")\n @Timed\n public List<MethodsDTO> getAllMethods() {\n log.debug(\"REST request to get all Methods\");\n return methodsService.findAll();\n }", "public List<ResourceMethod> getSubResourceMethods() {\n return subResourceMethods;\n }", "public String getMethod() {\n\t\t\treturn method;\n\t\t}", "public Method getMethod() {\n\t\treturn method;\n\t}", "public Set<Method> getMethods() {\r\n \t\t// We will only consider private methods in the declared class\r\n \t\tif (forceAccess)\r\n \t\t\treturn setUnion(source.getDeclaredMethods(), source.getMethods());\r\n \t\telse\r\n \t\t\treturn setUnion(source.getMethods());\r\n \t}", "java.util.List<java.lang.String>\n getCommandList();", "Method getMethod();", "Method getMethod();", "public List<ResolvedMethodDeclaration> getAllMethods() {\n List<ResolvedMethodDeclaration> allMethods = new LinkedList<>(this.getTypeDeclaration().getDeclaredMethods());\n getDirectAncestors().forEach(a -> allMethods.addAll(a.getAllMethods()));\n return allMethods;\n }", "public ArrayList<String> getNullMethods() {\n\t\treturn methods;\n\t}", "public int getMethod(){\n return method;\n }", "org.mojolang.mojo.lang.FuncDecl getMethods(int index);", "public List<BrainTreePaymentInfo> getPaymentMethods(final SessionContext ctx)\n\t{\n\t\tList<BrainTreePaymentInfo> coll = (List<BrainTreePaymentInfo>)getProperty( ctx, PAYMENTMETHODS);\n\t\treturn coll != null ? coll : Collections.EMPTY_LIST;\n\t}", "public String getMethod() {\n\t\treturn getParameter(\"method\");\n\t}", "public java.lang.reflect.Method getMethod()\n {\n return __m_Method;\n }", "public Method method() {\n return method;\n }", "public String[] getMethods(String url) throws RemoteException{\n\t\ttry{\n\t\t//reading wsdl here...\n String wsdlFile = url+\"?wsdl\";\n \n WSDLParser parser = new WSDLParser(wsdlFile);\n\t\treturn parser.getAllMethodNames();\n\t\t}catch(Exception e){\n\t\t\tSystem.err.println(e.getMessage());\t\n\t\t}\n\n\t\treturn null;\n\t}", "public List<BrainTreePaymentInfo> getPaymentMethods()\n\t{\n\t\treturn getPaymentMethods( getSession().getSessionContext() );\n\t}", "public List<String> getModulesList() {\n\t\treturn modulesList;\n\t}", "public List<AModule> getModules()\n\t{\n\t\treturn new ArrayList<>(modules.values());\n\t}", "public List<String> getAllModules() {\n\t\treturn allModules;\n\t}", "@Converted(kind = Converted.Kind.AUTO,\n source = \"${LLVM_SRC}/llvm/include/llvm/IR/Module.h\", line = 497,\n FQN=\"llvm::Module::getFunctionList\", NM=\"_ZN4llvm6Module15getFunctionListEv\",\n cmd=\"jclank.sh -java-options=${SPUTNIK}/modules/org.llvm.ir/llvmToClangType ${LLVM_SRC}/llvm/lib/IR/AsmWriter.cpp -nm=_ZN4llvm6Module15getFunctionListEv\")\n //</editor-fold>\n public SymbolTableList<Function, Module> /*&*/ getFunctionList() {\n return FunctionList;\n }", "public static java.util.List getOperationDescByName(java.lang.String methodName) {\r\n return (java.util.List)_myOperations.get(methodName);\r\n }", "MethodName getMethod();", "public List<Module> getAllModules() {\n List<Module> moduleList = new ArrayList<>();\n\n db = dbHelper.getReadableDatabase();\n\n Cursor cursor = db.query(Constants.MODULE_TABLE_NAME, null, null, null, null, null, null);\n\n while (cursor.moveToNext()) {\n int id = cursor.getInt(cursor.getColumnIndex(Constants.MODULE_ID));\n\n String type = cursor.getString(cursor.getColumnIndex(Constants.MODULE_TYPE));\n String name = cursor.getString(cursor.getColumnIndex(Constants.MODULE_NAME));\n String label = cursor.getString(cursor.getColumnIndex(Constants.MODULE_LABEL));\n String command = cursor.getString(cursor.getColumnIndex(Constants.MODULE_COMMAND));\n\n Module module = new Module(type, name, label, command);\n module.setId(id);\n\n moduleList.add(module);\n }\n\n cursor.close();\n\n return moduleList;\n }", "public String enumerateMethods(){\n Class c = EvaluatingStudent.class; // replace this with your choice, e.g. CreatingStudent.class\n Method[] methods = c.getMethods();\n String result = \"\";\n for(int i = 0; i < methods.length; i++) {\n result += methods[i].toString() + '\\n';\n }\n return result;\n }", "public List<String> list() throws SecurityException {\n if (collectorsToList == null) {\n throw new IllegalArgumentException(\"Could not call Collectors.toList()\");\n }\n final Object /* Stream<String> */ resourcesStream = reflectionUtils\n .invokeMethod(/* throwException = */ true, moduleReader, \"list\");\n if (resourcesStream == null) {\n throw new IllegalArgumentException(\"Could not call moduleReader.list()\");\n }\n final Object resourcesList = reflectionUtils.invokeMethod(/* throwException = */ true, resourcesStream,\n \"collect\", collectorClass, collectorsToList);\n if (resourcesList == null) {\n throw new IllegalArgumentException(\"Could not call moduleReader.list().collect(Collectors.toList())\");\n }\n @SuppressWarnings(\"unchecked\")\n final List<String> resourcesListTyped = (List<String>) resourcesList;\n return resourcesListTyped;\n }", "public Set<String> moduleList() {\n return moduleList;\n }", "List<String> getModuleNames() {\n return moduleNames;\n }", "public List<CoinbasePaymentMethod> getCoinbasePaymentMethods() throws IOException {\n\n String path = \"/v2/payment-methods\";\n String apiKey = exchange.getExchangeSpecification().getApiKey();\n BigDecimal timestamp = coinbase.getTime(Coinbase.CB_VERSION_VALUE).getData().getEpoch();\n String signature = getSignature(timestamp, path);\n showCurl(apiKey, timestamp, signature, path);\n\n return coinbase.getPaymentMethods(Coinbase.CB_VERSION_VALUE, apiKey, signature, timestamp).getData();\n }", "private Map<String, MethodNode> getMethods(ClassNode cls) {\n Map<String, MethodNode> methods = new HashMap<String, MethodNode>();\n\n Map<String, Node> allAttrs = cls.getMembers();\n Iterator allAttrs_it = allAttrs.entrySet().iterator();\n while(allAttrs_it.hasNext()) {\n Map.Entry attr_entry = (Map.Entry)allAttrs_it.next();\n if(attr_entry.getValue() instanceof MethodNode) {\n String methodName = (String)attr_entry.getKey();\n MethodNode method = (MethodNode)attr_entry.getValue();\n methods.put(methodName, method);\n }\n }\n return methods;\n }" ]
[ "0.78285235", "0.77741057", "0.77741057", "0.7695305", "0.76623446", "0.7629603", "0.7571606", "0.7500316", "0.73690224", "0.7152102", "0.71092737", "0.7095206", "0.7069985", "0.6978457", "0.6848124", "0.6760872", "0.66360235", "0.6635295", "0.6591391", "0.65497154", "0.6528013", "0.6491924", "0.64485663", "0.64481646", "0.64367515", "0.6399004", "0.639074", "0.63834226", "0.6335623", "0.629993", "0.6262617", "0.6253296", "0.6253265", "0.6204648", "0.61759543", "0.6167246", "0.6159643", "0.6153147", "0.6132073", "0.6132073", "0.61065465", "0.6100235", "0.60833895", "0.6069142", "0.6025965", "0.60158885", "0.60002744", "0.598118", "0.5951342", "0.5949665", "0.5949665", "0.5949665", "0.59481573", "0.5947474", "0.59461427", "0.5921341", "0.5921341", "0.59211046", "0.59191394", "0.590699", "0.5903474", "0.5888613", "0.58726037", "0.5839415", "0.5834969", "0.5828606", "0.5814081", "0.5813398", "0.5806182", "0.58039474", "0.5798456", "0.5777594", "0.57757413", "0.57719815", "0.57547444", "0.5749238", "0.5749238", "0.57383054", "0.57343245", "0.5732351", "0.5720747", "0.5711105", "0.5696235", "0.56957537", "0.5687316", "0.5675367", "0.5674769", "0.5670775", "0.5664474", "0.56609744", "0.56451535", "0.56366867", "0.5634415", "0.56218874", "0.5601917", "0.5595985", "0.55837375", "0.55828106", "0.55686533", "0.5559709" ]
0.7572056
6
Retrieves a method's description.
public Object getMethodHelp(String methodName) throws DynamicCallException, ExecutionException { return (Object)call("getMethodHelp", methodName).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getDesc();", "public static String getDescription(Descriptor descriptor, Annotation... annotatedMethod)\n {\n String description = getDescription(annotatedMethod);\n if (description != null) {\n return description;\n }\n\n // If that didn't work, look for one in the descriptor object\n Object descriptionValue = descriptor.getFieldValue(\"description\");\n if (descriptionValue instanceof String) {\n return (String) descriptionValue;\n }\n return null;\n }", "java.lang.String getDesc();", "String getDescribe();", "String getDescribe();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "java.lang.String getDescribe();", "java.lang.String getDescription();", "java.lang.String getDescription();", "java.lang.String getDescription();", "java.lang.String getDescription();", "java.lang.String getDescription();", "java.lang.String getDescription();", "java.lang.String getDescription();", "java.lang.String getDescription();", "java.lang.String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "public String getDescription ();", "public String description();", "public abstract String getDescription ( );", "String description();", "String description();", "String description();", "String description();", "String description();", "String description();", "String description();", "String description();", "String description();", "String description();", "String description();", "String description();", "public String getDescription(){\n return getString(KEY_DESCRIPTION);\n }", "public String getDescription(){\r\n \tString retVal = this.description;\r\n return retVal;\r\n }", "String getDescripcion();", "String getDescripcion();", "public static String getDesc(Method m)\n\t{\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(m.getName());\n\t\tsb.append('(');\n\t\t\n\t\tClass<?>[] types = m.getParameterTypes();\n\t\tfor (Class<?> type : types) \n\t\t{\n\t\t\tsb.append(getDesc(type));\n\t\t}\n\t\tsb.append(')');\n\t\tsb.append(getDesc(m.getReturnType()));\n\t\t\n\t\treturn sb.toString();\n\t}", "public String getDescription () {\n return impl.getDescription ();\n }", "public static String getDesc(CtMethod m) throws NotFoundException\n\t{\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(m.getName());\n\t\tsb.append('(');\n\t\t\n\t\tCtClass[] types = m.getParameterTypes();\n\t\tfor (CtClass type : types)\n\t\t{\n\t\t\tsb.append(getDesc(type));\n\t\t}\n\t\tsb.append(')');\n\t\tsb.append(getDesc(m.getReturnType()));\n\t\t\n\t\treturn sb.toString();\n\t}", "public String getDescription() {\n return (desc);\n }", "public abstract String getDescription();" ]
[ "0.7386968", "0.73719776", "0.73255134", "0.7262818", "0.7262818", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7177307", "0.7155666", "0.7155666", "0.7155666", "0.7155666", "0.7155666", "0.7155666", "0.7155666", "0.7155666", "0.7155666", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.71416444", "0.7121477", "0.71068007", "0.70941633", "0.70941633", "0.70941633", "0.70941633", "0.70941633", "0.70941633", "0.70941633", "0.70941633", "0.70941633", "0.70941633", "0.70941633", "0.70941633", "0.7051999", "0.7047873", "0.7031021", "0.7031021", "0.6979284", "0.6970367", "0.69626117", "0.6943305", "0.6896505" ]
0.0
-1
Retrieves the module's description.
public Object getModuleHelp() throws DynamicCallException, ExecutionException { return (Object)call("getModuleHelp").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getModuleDescription();", "public String getDescription() {\n return m_module.getConfiguration().getDescription();\n }", "public ModuleDescriptionEntry getModuleDescriptionEntry();", "public String getDescription(){\n return getString(KEY_DESCRIPTION);\n }", "public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}", "public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}", "public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}", "public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}", "public String getDescription () {\n return description;\n }", "public java.lang.String getDescription () {\n\t\treturn description;\n\t}", "public java.lang.String getDescription () {\n\t\treturn description;\n\t}", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\r\n return description;\r\n }", "public java.lang.String getDescription() {\r\n return description;\r\n }", "public java.lang.String getDescription() {\r\n return description;\r\n }", "public String getDescription()\n\t{\n\t\treturn description;\n\t}", "public String getDescription()\r\n\t{\r\n\t\treturn description;\r\n\t}", "public String getDescription()\r\n {\r\n return description;\r\n }", "public java.lang.String getDescription() {\n return description;\n }", "public String getDescription() {\n return (desc);\n }", "public String getDescription() {\n return desc;\n }", "public final String getDescription() {\n return description;\n }", "public String getDescription() {\n return getString(KEY_DESCRIPTION);\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription() {\n return desc;\n }", "public String getDescription() {\n return description; \n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\r\n {\r\n\treturn desc;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "@NonNull\n public String getDescription() {\n return description;\n }", "@NonNull\n public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }" ]
[ "0.8615408", "0.81573033", "0.8122164", "0.7813136", "0.7709191", "0.7709191", "0.7709191", "0.7709191", "0.7685923", "0.76810414", "0.76810414", "0.7655621", "0.76443434", "0.76443434", "0.76443434", "0.76443434", "0.76443434", "0.76443434", "0.76443434", "0.76443434", "0.76443434", "0.7626382", "0.7626382", "0.7626382", "0.7622286", "0.7622211", "0.7618029", "0.7608894", "0.76074696", "0.76068044", "0.76033473", "0.7595381", "0.7595253", "0.7595253", "0.7595253", "0.7595253", "0.7595253", "0.7595253", "0.7595253", "0.7595253", "0.7595253", "0.7595253", "0.7595253", "0.7595253", "0.7594255", "0.75834686", "0.7583436", "0.75726527", "0.7565059", "0.7565059", "0.7565059", "0.7565059", "0.7565059", "0.7565059", "0.7565059", "0.7565059", "0.7565059", "0.7565059", "0.7562151", "0.7562151", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099" ]
0.0
-1
Wait for the end of a long running method that was called using 'post'
public Boolean wait(Integer id, Integer timeoutPeriod) throws DynamicCallException, ExecutionException { return (Boolean)call("wait", id, timeoutPeriod).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Status waitUntilFinished();", "protected abstract void afterWait();", "public abstract void onWait();", "protected abstract long waitOnQueue();", "public void waitToFinish()\n {\n while(!this.finished)\n {\n try\n {\n Thread.sleep(1);\n }\n catch (InterruptedException e)\n {\n e.printStackTrace();\n return;\n }\n }\n }", "protected abstract long waitToTravel();", "public void finish() {\n latch.countDown();\n }", "@Override\n public boolean waitToProceed() {\n return false;\n }", "protected void waitUntilCommandFinished() {\n }", "public synchronized void postRequestAndWait (final Runnable r) {\n postRequest (r, true);\n }", "private void customWait() throws InterruptedException {\n while (!finished) {\n Thread.sleep(1);\n }\n finished = false;\n }", "public Reply done() throws ThingsException, InterruptedException;", "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}", "public void handleFinish()\n {\n }", "public synchronized void postRequestAndWait (Runnable r, int time) {\n postRequest (r, time, new RequestWaiter () {\n public void run (Thread t) {\n requestorThread.interrupt ();\n requestorThread.stop ();\n //S ystem.out.println (\"Kill \" + requestorThread.getName ()); // NOI18N\n }\n });\n }", "public void waitForData() {\n waitForData(1);\n }", "public synchronized void waitForDone() {\n\twhile (!done) myWait();\n }", "void requestFinish();", "@Override\n public void run() {\n\n new Thread() {\n\n @Override\n public void run() {\n HttpGet requestForTest = new HttpGet(\"http://m.google.com\");\n try {\n new DefaultHttpClient().execute(requestForTest); // can last...\n responded = true;\n } catch (Exception e) {}\n }\n\n }.start();\n\n try {\n int waited = 0;\n while(!responded && (waited < timeout)) {\n sleep(100);\n if(!responded ) { \n waited += 100;\n }\n }\n } \n catch(InterruptedException e) {} // do nothing \n finally { \n if (!responded) { handler.sendEmptyMessage(0); } \n else { handler.sendEmptyMessage(1); }\n }\n\n }", "protected abstract int doAwaitExit() throws InterruptedException;", "public boolean postExecute() throws Exception{\n if (!commitResponsePhase.getAndSet(true)){\n processorTask.postResponse();\n processorTask.postProcess();\n processorTask.terminateProcess();\n\n // De-reference so under stress we don't have a simili leak.\n processorTask = null;\n return false;\n }\n return false;\n }", "public void waitFinish() throws InterruptedException {\r\n\t\t\ttThread.join();\r\n\t\t}", "public void delayTestFinish() {\r\n\t\ttry {\r\n\t\t\tlatch.await();\r\n\t\t} catch (InterruptedException e) {\r\n\t\t\tthrow new RuntimeException(e);\t// don't expose InterruptedException to users\r\n\t\t} finally {\r\n\t\t\tlatch.reset();\r\n\t\t}\r\n\t}", "@Test\n public void testTakeWillWaitTillSubmitCompletes() {\n final BoundedCompletionService<String> ecs = new BoundedCompletionService<String>(\n new ExecutorCompletionService<String>(e));\n final int delaySecs = 1;\n try {\n Assert.assertNull(ecs.poll());\n Thread t = new Thread() {\n @Override\n public void run() {\n ecs.submit(new StringDelayableCallable(\"String delayab\", delaySecs));\n }\n };\n t.start();\n long t1 = System.nanoTime();\n Future<String> f = ecs.take();\n Assert.assertNotNull(f);\n Assert.assertTrue(f.isDone());\n long t2 = System.nanoTime();\n System.out.println(t2 - t1);\n Assert.assertTrue(t2 > t1 + delaySecs * 100000000L); // Need to check that take will wait till submit completes\n } catch (Exception ex) {\n unexpectedException();\n }\n }", "public void waitForFinish() {\n for(Future future : futures){\n try {\n future.get();\n } catch (InterruptedException | ExecutionException e) {\n LOGGER.error(\"ERROR\",e);\n }\n }\n }", "@Override\n public void onTimeout(TimeValue timeout) {\n run();\n }", "void await(long timeout, TimeUnit unit) throws InterruptedException;", "public void waitForCompletion() throws Exception {\n latch.await();\n if (exception != null) {\n throw new RuntimeException(\"Query submission failed\", exception);\n }\n }", "protected void onThreadFinish() {\n\t\t// notify test finish\n\t\tparent.finishLock.countDown();\n\n\t\t// print finish summary message\n\t\tprintThreadFinishMessage();\n\t}", "public void waitForPostProcessingThread(){\n\t\tsynchronized(PPT_Lock) {\n\t\t\twhile(PPT.isWorking()){\n\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\tPPT_Lock.wait();\n\t\t\t\t\t\n\t\t\t\t} catch (InterruptedException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "@Override\n\t\t\tpublic void doTimeOutWork() {\n\t\t\t\tthis.exit();\n\t\t\t}", "@Override\n\t\t\tpublic void doTimeOutWork() {\n\t\t\t\tthis.exit();\n\t\t\t}", "protected boolean isFinished() {\n \t// wait for a time out\n return false;\n }", "public void finish() {\n if (!isFinishing) {\n performFnishWithRequest(true);\n }\n }", "public synchronized void postRequest (final Runnable r) {\n postRequest (r, false);\n }", "private void onComplete(int duration) {\n\t\t\n\t\tservice = Executors.newSingleThreadExecutor();\n\n\t\ttry {\n\t\t Runnable r = new Runnable() {\n\t\t @Override\n\t\t public void run() {\n\t\t // Database task\n\t\t \tcontrollerVars.setPlays(false);\n\t\t }\n\t\t };\n\t\t Future<?> f = service.submit(r);\n\n\t\t f.get(duration, TimeUnit.MILLISECONDS); // attempt the task for two minutes\n\t\t}\n\t\tcatch (final InterruptedException e) {\n\t\t // The thread was interrupted during sleep, wait or join\n\t\t}\n\t\tcatch (final TimeoutException e) {\n\t\t // Took too long!\n\t\t}\n\t\tcatch (final ExecutionException e) {\n\t\t // An exception from within the Runnable task\n\t\t}\n\t\tfinally {\n\t\t service.shutdown();\n\t\t}\t\t\n\t}", "private void await() {\n try {\n Thread.sleep(10 * 1000L);\n } catch (InterruptedException e) {\n // ignore\n }\n }", "public abstract T await();", "@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\t\n\t\t\t while ( !bFinished ) {\n\t\t\t \ttry {\n\t\t\t\t\t\t\tThread.sleep(200);\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 }\n\t\t\t System.exit(0);\n\t\t\t\t}", "@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 }", "protected void onQueued() {}", "public void waitToFinish()\n/* */ {\n/* 473 */ synchronized (this) {\n/* 474 */ while (getIterationsToGo() > 0) {\n/* */ try {\n/* 476 */ wait();\n/* */ }\n/* */ catch (InterruptedException e) {\n/* 479 */ e.printStackTrace();\n/* */ }\n/* */ }\n/* */ }\n/* */ }", "public void finishTest() {\r\n\t\tlatch.countDown();\r\n\t}", "@Override\n public void onComplete(long dt) {\n }", "public void afterDone() {\n }", "public void afterDone() {\n }", "private void _wait() {\n\t\tfor (int i = 1000; i > 0; i--)\n\t\t\t;\n\t}", "void await(long timeout, TimeUnit timeUnit) throws InterruptedException;", "public void finish() {}", "void completeJob();", "protected void finishExecution() {\r\n\r\n\t}", "void post(java.lang.Runnable command);", "boolean awaitMessages(long timeout) throws InterruptedException;", "public void postPerform() {\n // nothing to do by default\n }", "void synchronizationDone();", "protected abstract void postPause();", "public void waitCommandEnd()\n {\n System.out.println(\"Wait cmd\");\n //Set a flag in order to informe that we wait a end command\n ContextManager.getCMDHandler().setWaiting(true);\n //Wait the command end\n ContextManager.getCMDHandler().waitEndCmd();\n //Remove the flag\n ContextManager.getCMDHandler().setWaiting(false);\n System.out.println(\"End Wait cmd\");\n }", "public abstract void await() throws InterruptedException;", "public synchronized void execute() {\n\t\tthis.timeoutFuture = SCHEDULER.schedule(this::processTimeout, 5, TimeUnit.SECONDS);\n\t\tthis.statuses.put(this.localNode.getInfo(), NodeStatus.Unasked);\n\t\tcheckFinishAndProcess();\n\t}", "public synchronized void postRequest (Runnable r, int time) {\n postRequest (r, time, new RequestWaiter () {\n public void run (Thread t) {\n requestorThread.interrupt ();\n requestorThread.stop ();\n //S ystem.out.println (\"Kill \" + requestorThread.getName ()); // NOI18N\n }\n });\n }", "void whenComplete();", "public void callTheWaiter();", "public void postData()\n\t{\n\t\tnew NetworkingTask().execute(message);\n\t}", "void await( long millis ) throws UnavailableException;", "public void finishRequest ()\r\n\t{\r\n\t\tthis.simTime = this.sim.getTimer();\r\n\t\t//Debug/System.out.println(Fmt.time(this.simTime)\r\n\t\t//Debug/\t+ \": <finishRequest> \" + this.request);\r\n\r\n\t\t//\tRemove request from the queue.\r\n\t\tthis.removeRequest();\r\n\t\t//\tGet the next request from the queue.\r\n\t\tthis.nextRequest();\r\n\t\t//\tIf there is one, process it.\r\n\t\t//\tIf not, then the next request scheduled will begin immediately.\r\n\t\tif (this.request != null) this.procRequest();\r\n\t}", "public void awaitDone() {\n try {\n // Wait until the CountDownLatch reaches 0.\n mExitBarrier.await();\n } catch(java.lang.InterruptedException e) {\n errorLog(\"PlatformStrategyAndroid\",\n e.getMessage());\n }\n }", "protected void synchronizationDone() {\n }", "public void pauseTilDone() throws InterruptedException { \n\t\t\tthis.me_.join(); \n\t\t}", "@Override\r\n\tprotected boolean isFinished() {\n\t\treturn isTimedOut();\r\n\t}", "public abstract boolean await(long timeout, TimeUnit unit)\n\t\t\tthrows InterruptedException;", "public void waitCompletion()\n {\n\n if (isThreadEnabled())\n {\n try\n {\n executionThread.join();\n }\n catch (InterruptedException ex)\n {\n throw new RuntimeException(ex);\n }\n }\n }", "void await(long timeout, TimeUnit timeUnit)\n throws InterruptedException;", "@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\tlong nowTime = System.currentTimeMillis();\n\t\t\t\t\t//Logger.debug(\"测试主动回答线程================================系统时间\" + nowTime);\n\t\t\t\t\tif (nowTime - mIStartTime <= timeNum + 1000 && nowTime - mIStartTime >= timeNum) {\n\t\t\t\t\t\tmICount++;\n\t\t\t\t\t\tcall.OnEnd();\n\t\t\t\t\t\tsetStartTime(nowTime);\n\t\t\t\t\t\tthis.cancel();\n\t\t\t\t\t}\n\t\t\t\t}", "boolean getFinished();", "public boolean postThread(IThread thread) throws IllegalWriteException, BBException;", "synchronized public void requestDone(Request request, boolean isSuccessful)\n {\n runningRequest = null;\n runNextRequest();\n }", "protected void end() {\n isFinished();\n }", "protected void execute() {\n finished = true;\n }", "protected void onExit() {\r\n\t\tnew DelayAsyncTask(this, 500).execute();\r\n\t}", "public void handleTimeout();", "public final void waitFor() {\r\n for (;;) {\r\n synchronized (this) {\r\n if (this.m_b)\r\n return;\r\n try {\r\n this.wait();\r\n } catch (Throwable tt) {\r\n tt.printStackTrace();\r\n }\r\n }\r\n }\r\n }", "public void finished() {\n Object obj = get();\n if (obj instanceof Exception)\n mCallback.run(null, (Exception)obj, mRock);\n else\n mCallback.run(obj, null, mRock);\n }", "@Override\n protected Boolean doInBackground(Void... params) {\n\n try {\n // Simulate network access.\n Thread.sleep(2000);\n } catch (InterruptedException e) {\n return false;\n }\n\n return post(user);\n\n }", "public boolean block() {\n while( !isDone() ) join();\n return true;\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 }", "private void handleNow() {\n Log.d(TAG, \"Short lived task is done.\");\n }", "private void handleNow() {\n Log.d(TAG, \"Short lived task is done.\");\n }", "public boolean isDone() { return true; }", "private void awaitDone() throws IgniteInterruptedCheckedException {\n U.await(doneLatch);\n }", "public void finishTask() {\n\t\t\n\t}", "void sendFinishMessage();", "void awaitNanos(final long timeout) throws InterruptedException;", "private void awaitT(){\n try {\n game.getBarrier().await(20, TimeUnit.SECONDS);\n } catch (InterruptedException e) {\n e.printStackTrace();\n } catch (BrokenBarrierException e) {\n e.printStackTrace();\n } catch (TimeoutException e) {\n trimBarrier();\n synchronized (lock){\n if(!botSignal){\n bot = new BotClient();\n new Thread(bot).start();\n botSignal = true;\n }\n\n }\n }\n }", "protected boolean isFinished() {\r\n return isTimedOut();\r\n }", "protected int getWait() \t\t\t\t{\treturn wait;\t\t}", "public void waitForNotificationOrFail() {\n new PollingCheck(5000) {\n @Override\n protected boolean check() {\n return mContentChanged;\n }\n }.run();\n mHT.quit();\n }", "public abstract void finished();", "void await()\n throws InterruptedException;", "public synchronized void postRequest (final Runnable r, boolean wait) {\n if (releaseOn) return;\n //if (requestorThread != null) S ystem.out.println (\"Waiting \" + r); // NOI18N\n synchronized (LOCK) {\n if (requestorThread != null)\n try {\n LOCK.wait ();\n if (releaseOn) return;\n } catch (InterruptedException e) {\n }\n (requestorThread = new Thread (\"Request \" + r + \" thread\") { // NOI18N\n public void run () {\n synchronized (LOCK) {\n //S ystem.out.println (\"Start \" + r); // NOI18N\n lastStart = System.currentTimeMillis ();\n try {\n r.run ();\n } catch (Throwable e) {\n //e.printStackTrace ();\n }\n //t = System.currentTimeMillis () - lastStart;\n requestorThread = null;\n //S ystem.out.println (\"End \" + r + \" time: \" + t); // NOI18N\n LOCK.notify ();\n }\n }\n }).start ();\n try {\n if (wait) LOCK.wait ();\n } catch (InterruptedException e) {\n }\n } // synchronized LOCK end\n }", "@Override\r\n\tpublic void finishEvent() {\n\t\tif(!mEventStarted)\r\n\t\t\treturn;\r\n\t\t\r\n\t\tmEventStarted = false;\r\n\t\t\r\n\t\txmlStreamTracerService.postObsel(mURL, mTraceID, mCookie, mRoot.toString(),\r\n\t\t\t\tnew AsyncCallback<String>() {\r\n\t\t\tpublic void onFailure(Throwable caught) {\r\n\t\t\t\t// Show the RPC error message to the user\r\n\t\t\t\tSystem.out.println(\"XMLStreamTracer: Failed to post the event.\");\r\n\t\t\t}\r\n\r\n\t\t\tpublic void onSuccess(String result) {\r\n\t\t\t\tSystem.out.println(\"XMLStreamTracer: Event posted.\");\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tmDocument.removeChild(mRoot);\r\n\t}", "void testFinished() {\n currentThreads.decrementAndGet();\n thread.interrupt();\n }" ]
[ "0.652333", "0.64040726", "0.6324347", "0.62295395", "0.6188023", "0.59504783", "0.5925397", "0.5860945", "0.5830767", "0.5823437", "0.5799121", "0.57330865", "0.56716174", "0.5670093", "0.5663085", "0.56505823", "0.5621365", "0.5618009", "0.5595089", "0.558274", "0.55782884", "0.55687904", "0.5535767", "0.5518723", "0.5507857", "0.5492825", "0.5480248", "0.5478559", "0.5472746", "0.54674524", "0.54590046", "0.54590046", "0.54542065", "0.54347146", "0.5430289", "0.5424437", "0.54166317", "0.54102886", "0.5409632", "0.540796", "0.5388796", "0.5388144", "0.53757507", "0.53754336", "0.5375008", "0.5375008", "0.5369938", "0.5364694", "0.53577673", "0.5355111", "0.53490996", "0.5346322", "0.5342695", "0.5341501", "0.53330517", "0.53268695", "0.5326306", "0.53222317", "0.5318533", "0.53166795", "0.53066415", "0.53019285", "0.5301183", "0.5296004", "0.52915776", "0.5284566", "0.5282354", "0.5277563", "0.52747977", "0.52714425", "0.5261676", "0.5261444", "0.5258642", "0.5247728", "0.5246867", "0.524581", "0.5243925", "0.5221343", "0.5220828", "0.5220823", "0.52196884", "0.52192116", "0.5208504", "0.52082443", "0.52082413", "0.5198331", "0.5198331", "0.51972216", "0.51961356", "0.5194421", "0.5170991", "0.5163933", "0.5158112", "0.51550263", "0.51525587", "0.51445574", "0.5141477", "0.51412135", "0.5140104", "0.5138083", "0.51366735" ]
0.0
-1
Wait for the end of a long running method that was called using 'post', returns a cancelable future
public void wait(Integer id) throws DynamicCallException, ExecutionException{ call("wait", id).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Status waitUntilFinished();", "public abstract T await();", "CompletableFuture<?> submit(Runnable request);", "Future<T> then(Runnable result);", "public synchronized void postRequestAndWait (final Runnable r) {\n postRequest (r, true);\n }", "CompletableFuture<PostResponse> createNewPost(Post post);", "public abstract void onWait();", "public void awaitTermination() throws InterruptedException, ExecutionException {\n executor.awaitTermination(1, TimeUnit.SECONDS);\n if (future != null) {\n future.get();\n }\n }", "protected abstract long waitOnQueue();", "@Test\n public void testTakeWillWaitTillSubmitCompletes() {\n final BoundedCompletionService<String> ecs = new BoundedCompletionService<String>(\n new ExecutorCompletionService<String>(e));\n final int delaySecs = 1;\n try {\n Assert.assertNull(ecs.poll());\n Thread t = new Thread() {\n @Override\n public void run() {\n ecs.submit(new StringDelayableCallable(\"String delayab\", delaySecs));\n }\n };\n t.start();\n long t1 = System.nanoTime();\n Future<String> f = ecs.take();\n Assert.assertNotNull(f);\n Assert.assertTrue(f.isDone());\n long t2 = System.nanoTime();\n System.out.println(t2 - t1);\n Assert.assertTrue(t2 > t1 + delaySecs * 100000000L); // Need to check that take will wait till submit completes\n } catch (Exception ex) {\n unexpectedException();\n }\n }", "Future_<V> submit(Callable_<V> task);", "void await(long timeout, TimeUnit unit) throws InterruptedException;", "protected abstract void afterWait();", "<T> T endProcess(AsyncResult<T> asyncResult) throws ExecutionException, InterruptedException;", "public int waitFor() throws Exception {\n \n int result = future.get();\n service.shutdown();\n return result;\n }", "native public <U> Promise<U> then();", "CompletableFuture<WriteResponse> submit();", "public static void main(String[] args) throws InterruptedException {\n\r\n FutureService futureService = new FutureService();\r\n Future<String> future = futureService.submit(() -> {\r\n try {\r\n Thread.sleep(10_000);\r\n } catch (InterruptedException e) {\r\n e.printStackTrace();\r\n }\r\n return \"FINISH\";\r\n }, System.out::println);\r\n System.out.println(\"================\");\r\n System.out.println(\"do other thing.\");\r\n Thread.sleep(1_000L);\r\n System.out.println(\"================\");\r\n\r\n// System.out.println(future.get());\r\n }", "<T> CompletableFuture<T> submit(Callable<T> request);", "@Override\n public Task<Boolean> then(@NonNull Task<Long> task) throws Exception {\n return addPostToUserUpvoted(postReference, postObject.getOp()).continueWith(new Continuation<Void, Boolean>() {\n @Override\n public Boolean then(@NonNull Task task) throws Exception {\n // Not upvoting post anymore\n upvotingPost = false;\n return true;\n }\n });\n }", "void await(long timeout, TimeUnit timeUnit) throws InterruptedException;", "@CheckForNull\n public static <T> Future<T> postCallable(Callable<T> callable) {\n if (handler != null)\n return handler.postCallable(callable);\n return null;\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}", "Future_<V> take() throws InterruptedException;", "private BlockingFuture setRetractingFuture(ATFarReference reference) {\n\t\t// first assign future to a local variable to avoid race conditions on writing to the outboxFuture_ variable!\n\t\tfinal BlockingFuture future = new BlockingFuture();\n\t\tsynchronized(this) { \n\t\t\t// synchronized access because different thread in the pool could\n\t\t\t// be processing retractUnsentMessages requests for different references. \n\t\t\tretractFutures_.put(reference, future);\n\t\t}\n\t\treturn future;\n\t}", "CompletableFuture<WebClientServiceResponse> whenComplete();", "public boolean postExecute() throws Exception{\n if (!commitResponsePhase.getAndSet(true)){\n processorTask.postResponse();\n processorTask.postProcess();\n processorTask.terminateProcess();\n\n // De-reference so under stress we don't have a simili leak.\n processorTask = null;\n return false;\n }\n return false;\n }", "public ChannelProgressivePromise awaitUninterruptibly()\r\n/* 113: */ {\r\n/* 114:144 */ super.awaitUninterruptibly();\r\n/* 115:145 */ return this;\r\n/* 116: */ }", "CompletableFuture<CalculationResult> goInfiniteAsync();", "public abstract boolean await(long timeout, TimeUnit unit)\n\t\t\tthrows InterruptedException;", "public void run()\r\n/* 996: */ {\r\n/* 997:838 */ if (DefaultPromise.this.listeners == null) {\r\n/* 998: */ for (;;)\r\n/* 999: */ {\r\n/* :00:840 */ GenericFutureListener<?> l = (GenericFutureListener)poll();\r\n/* :01:841 */ if (l == null) {\r\n/* :02: */ break;\r\n/* :03: */ }\r\n/* :04:844 */ DefaultPromise.notifyListener0(DefaultPromise.this, l);\r\n/* :05: */ }\r\n/* :06: */ }\r\n/* :07:849 */ DefaultPromise.execute(DefaultPromise.this.executor(), this);\r\n/* :08: */ }", "protected abstract int doAwaitExit() throws InterruptedException;", "void await(long timeout, TimeUnit timeUnit)\n throws InterruptedException;", "public synchronized void postRequest (final Runnable r) {\n postRequest (r, false);\n }", "@Override\n public boolean waitToProceed() {\n return false;\n }", "@Override\n public Boolean then(@NonNull Task task) throws Exception {\n upvotingPost = false;\n return true;\n }", "public Reply done() throws ThingsException, InterruptedException;", "public abstract void await() throws InterruptedException;", "public synchronized void postRequestAndWait (Runnable r, int time) {\n postRequest (r, time, new RequestWaiter () {\n public void run (Thread t) {\n requestorThread.interrupt ();\n requestorThread.stop ();\n //S ystem.out.println (\"Kill \" + requestorThread.getName ()); // NOI18N\n }\n });\n }", "public boolean await(long timeout, TimeUnit unit)\r\n/* 235: */ throws InterruptedException\r\n/* 236: */ {\r\n/* 237:267 */ return await0(unit.toNanos(timeout), true);\r\n/* 238: */ }", "Future timeoutIn(long timeout, TimeUnit timeUnit);", "void await( long millis ) throws UnavailableException;", "@Override\n public void onTosRejected() {\n finish();\n }", "public void testThread() {\n ExecutorService executor = Executors.newSingleThreadExecutor();\n // result of the thread\n Future<String> future = null;\n\n future = executor.submit(new TestTask());\n try {\n String result = future.get(2000, TimeUnit.MILLISECONDS);\n System.out.println(result);\n } catch (InterruptedException e) {\n e.printStackTrace();\n } catch (ExecutionException e) {\n e.printStackTrace();\n } catch (TimeoutException e) {\n System.out.println(\"the execution was terminated after 5 s\");\n boolean cancelled = future.cancel(true);\n System.out.println(cancelled);\n\n\n }\n\n try {\n System.out.println(\"attempt to shutdown executor\");\n executor.shutdown();\n executor.awaitTermination(5, TimeUnit.SECONDS);\n }\n catch (InterruptedException e) {\n System.err.println(\"tasks interrupted\");\n }\n finally {\n if (!executor.isTerminated()) {\n System.err.println(\"cancel non-finished tasks\");\n }\n executor.shutdownNow();\n System.out.println(\"shutdown finished\");\n }\n\n }", "void awaitNanos(final long timeout) throws InterruptedException;", "public void finish() {\n\t\ttask.run();\n\t\ttask.cancel();\n\t}", "public <T> CompletableFuture<T> ask(ActorRef ref, long timeoutMillisUpperBound, Object requestBody) {\n final TaskScheduler timeoutScheduler = getTimeoutScheduler();\n final CompletableFuture<T> future = new CompletableFuture<>();\n \n final AtomicBoolean taskRegion = new AtomicBoolean();\n final AwaitableAtomicReference<TimeoutTask> timeoutTaskHolder = new AwaitableAtomicReference<>();\n ingress(a -> {\n if (taskRegion.compareAndSet(false, true)) {\n final MessageBuilder mb = a.to(ref);\n mb.ask(requestBody).await(timeoutMillisUpperBound)\n .onTimeout(() -> future.completeExceptionally(new TimeoutException()))\n .onFault(f -> {\n if (f.getReason() instanceof Throwable) {\n future.completeExceptionally(f.getReason());\n } else {\n future.completeExceptionally(new FaultException(f.getReason()));\n }\n })\n .onResponse(r -> future.complete(r.body()));\n timeoutTaskHolder.set(mb.getTimeoutTask());\n }\n });\n \n future.whenComplete((t, x) -> {\n if (future.isCancelled()) {\n if (! taskRegion.compareAndSet(false, true)) {\n final TimeoutTask task = timeoutTaskHolder.awaitThenGet();\n // by forcing timeout, the pending task is removed from the ingress actor; calling this\n // a second (and subsequent) times has no further effect\n timeoutScheduler.executeNow(task);\n } else {\n timeoutTaskHolder.set(CANCELLED);\n }\n }\n });\n return future;\n }", "@Nonnull\n public java.util.concurrent.CompletableFuture<SynchronizationJob> postAsync(@Nonnull final SynchronizationJob newSynchronizationJob) {\n final String requestUrl = getBaseRequest().getRequestUrl().toString();\n return new SynchronizationJobRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null)\n .buildRequest(getBaseRequest().getHeaders())\n .postAsync(newSynchronizationJob);\n }", "protected abstract long waitToTravel();", "@Override\n public boolean isDone() {\n return future.isDone();\n }", "public abstract Task markAsDone();", "boolean awaitMessages(long timeout) throws InterruptedException;", "V get(long timeout, TimeUnit timeUnit) throws PromiseBrokenException, TimeoutException, InterruptedException;", "public void finish() {\n if (!isFinishing) {\n performFnishWithRequest(true);\n }\n }", "public boolean block() {\n while( !isDone() ) join();\n return true;\n }", "void put( long number,Future<T> t);", "void await() throws InterruptedException;", "void await() throws InterruptedException;", "void await() throws InterruptedException;", "public boolean hasFuture();", "@Override\n public String call() throws Exception {\n if (!iAmSpecial) {\n blocker.await();\n }\n ran = true;\n return result;\n }", "void requestFinish();", "private static void threadPoolWithSubmit() throws InterruptedException, ExecutionException {\n Executor executor = Executors.newFixedThreadPool(1);\n Callable<String> callable=()->{\n try{\n Thread.sleep(4000);\n System.out.println(\"In callable\");\n Thread.sleep(4000);\n System.out.println(\"In runnable for task id 1\");\n }catch(Exception e){\n e.printStackTrace();\n }\n return \"success\";\n };\n Future<String> future =((ExecutorService) executor).submit(callable);\n System.out.println(\"Future result - \"+future.get()+\" Future is blocking as it blocks until result is obtained\");\n System.out.println(\"End of method \");\n ((ExecutorService) executor).shutdown();\n /*Output\n In callable\n In runnable for task id 1\n Future result - success Future is blocking as it blocks until result is obtained\n End of method\n */\n }", "@Test\n public void testTake() {\n \tBoundedCompletionService<String> ecs = new BoundedCompletionService<String>(\n new ExecutorCompletionService<String>(e));\n try {\n Callable<String> c = new StringTask();\n ecs.submit(c);\n Future<String> f = ecs.take();\n Assert.assertTrue(f.isDone());\n } catch (Exception ex) {\n unexpectedException();\n }\n }", "public void waitForFinish() {\n for(Future future : futures){\n try {\n future.get();\n } catch (InterruptedException | ExecutionException e) {\n LOGGER.error(\"ERROR\",e);\n }\n }\n }", "public void finish() {\n latch.countDown();\n }", "private void onComplete(int duration) {\n\t\t\n\t\tservice = Executors.newSingleThreadExecutor();\n\n\t\ttry {\n\t\t Runnable r = new Runnable() {\n\t\t @Override\n\t\t public void run() {\n\t\t // Database task\n\t\t \tcontrollerVars.setPlays(false);\n\t\t }\n\t\t };\n\t\t Future<?> f = service.submit(r);\n\n\t\t f.get(duration, TimeUnit.MILLISECONDS); // attempt the task for two minutes\n\t\t}\n\t\tcatch (final InterruptedException e) {\n\t\t // The thread was interrupted during sleep, wait or join\n\t\t}\n\t\tcatch (final TimeoutException e) {\n\t\t // Took too long!\n\t\t}\n\t\tcatch (final ExecutionException e) {\n\t\t // An exception from within the Runnable task\n\t\t}\n\t\tfinally {\n\t\t service.shutdown();\n\t\t}\t\t\n\t}", "public void done() {\n if (!isCancelled()) {\n try {\n C0637h.this.mo7991a(get());\n } catch (InterruptedException | ExecutionException e) {\n C0637h.this.mo7992a(e.getCause());\n }\n } else {\n C0637h.this.mo7992a((Throwable) new CancellationException());\n }\n }", "Cancelable dispatch(UnivapayCallback<E> callback);", "public boolean awaitUninterruptibly(long timeout, TimeUnit unit)\r\n/* 279: */ {\r\n/* 280: */ try\r\n/* 281: */ {\r\n/* 282:307 */ return await0(unit.toNanos(timeout), false);\r\n/* 283: */ }\r\n/* 284: */ catch (InterruptedException e)\r\n/* 285: */ {\r\n/* 286:310 */ throw new InternalError();\r\n/* 287: */ }\r\n/* 288: */ }", "@Override\n public void operationComplete(Future<Void> future) throws Exception{\n if(!future.isSuccess()){\n olapFuture.fail(future.cause());\n olapFuture.signal();\n }\n }", "public void done() {\n AppMethodBeat.i(98166);\n try {\n AsyncTask.this.a(get());\n AppMethodBeat.o(98166);\n } catch (InterruptedException e) {\n AppMethodBeat.o(98166);\n } catch (ExecutionException e2) {\n RuntimeException runtimeException = new RuntimeException(\"An error occured while executing doInBackground()\", e2.getCause());\n AppMethodBeat.o(98166);\n throw runtimeException;\n } catch (CancellationException e3) {\n AsyncTask.this.a(null);\n AppMethodBeat.o(98166);\n }\n }", "@Override\n public void onComplete(long dt) {\n }", "void finish(Task task);", "<T> CompletableFuture<T> submit(Integer key, Callable<T> request);", "String getAsyncDelayedRedelivery();", "@Test\n public void testFutureWithoutDone() throws Exception {\n Callable<String> task = new Callable<String>() {\n public String call() throws Exception {\n // do something that takes some time\n LOG.info(\"Starting to process task\");\n Thread.sleep(5000);\n LOG.info(\"Task is now done\");\n return \"Camel rocks\";\n }\n };\n\n // this is the thread pool we will use\n ExecutorService executor = Executors.newCachedThreadPool();\n\n // now submit the task to the thread pool\n // and get the Future handle back so we can later get the result\n LOG.info(\"Submitting task to ExecutorService\");\n Future<String> future = executor.submit(task);\n LOG.info(\"Task submitted and we got a Future handle\");\n\n // instead of testing when we are done we can just get\n // the result and it will automatic wait until the task is done\n String answer = future.get();\n LOG.info(\"The answer is: \" + answer);\n }", "@Override\n public void onComplete(@NonNull Task<DocumentReference> task) {\n creatingPost = false;\n }", "CompletableFuture<PostResponse> updatePost(Post post);", "public Promise<V> await()\r\n/* 207: */ throws InterruptedException\r\n/* 208: */ {\r\n/* 209:242 */ if (isDone()) {\r\n/* 210:243 */ return this;\r\n/* 211: */ }\r\n/* 212:246 */ if (Thread.interrupted()) {\r\n/* 213:247 */ throw new InterruptedException(toString());\r\n/* 214: */ }\r\n/* 215:250 */ synchronized (this)\r\n/* 216: */ {\r\n/* 217:251 */ while (!isDone())\r\n/* 218: */ {\r\n/* 219:252 */ checkDeadLock();\r\n/* 220:253 */ incWaiters();\r\n/* 221: */ try\r\n/* 222: */ {\r\n/* 223:255 */ wait();\r\n/* 224: */ }\r\n/* 225: */ finally\r\n/* 226: */ {\r\n/* 227:257 */ decWaiters();\r\n/* 228: */ }\r\n/* 229: */ }\r\n/* 230: */ }\r\n/* 231:261 */ return this;\r\n/* 232: */ }", "public void awaitPendingTasksFinished() throws IgniteCheckedException {\n GridCompoundFuture pendingFut = this.pendingTaskFuture;\n\n this.pendingTaskFuture = new GridCompoundFuture();\n\n if (pendingFut != null) {\n pendingFut.markInitialized();\n\n pendingFut.get();\n }\n }", "public abstract void submit(Runnable runnable);", "private static void shutdownDone(ChannelFuture shutdownOutputFuture, ChannelFuture shutdownInputFuture, ChannelPromise promise) {\n/* 674 */ Throwable shutdownOutputCause = shutdownOutputFuture.cause();\n/* 675 */ Throwable shutdownInputCause = shutdownInputFuture.cause();\n/* 676 */ if (shutdownOutputCause != null) {\n/* 677 */ if (shutdownInputCause != null) {\n/* 678 */ logger.debug(\"Exception suppressed because a previous exception occurred.\", shutdownInputCause);\n/* */ }\n/* */ \n/* 681 */ promise.setFailure(shutdownOutputCause);\n/* 682 */ } else if (shutdownInputCause != null) {\n/* 683 */ promise.setFailure(shutdownInputCause);\n/* */ } else {\n/* 685 */ promise.setSuccess();\n/* */ } \n/* */ }", "public void waitForCompletion() throws Exception {\n latch.await();\n if (exception != null) {\n throw new RuntimeException(\"Query submission failed\", exception);\n }\n }", "public boolean stop(long timeout, TimeUnit timeUnit) {\n/* 73 */ setStopping();\n/* 74 */ boolean stopped = stop(this.future);\n/* 75 */ setStopped();\n/* 76 */ return stopped;\n/* */ }", "void await()\n throws InterruptedException;", "@Test\n public void testPoll1() {\n \tBoundedCompletionService<String> ecs = new BoundedCompletionService<String>(\n new ExecutorCompletionService<String>(e));\n try {\n Assert.assertNull(ecs.poll());\n Callable<String> c = new StringTask();\n ecs.submit(c);\n Thread.sleep(SHORT_DELAY_MS);\n for (;;) {\n Future<String> f = ecs.poll();\n if (f != null) {\n Assert.assertTrue(f.isDone());\n break;\n }\n }\n } catch (Exception ex) {\n unexpectedException();\n }\n }", "@Override\n public void run() {\n\n new Thread() {\n\n @Override\n public void run() {\n HttpGet requestForTest = new HttpGet(\"http://m.google.com\");\n try {\n new DefaultHttpClient().execute(requestForTest); // can last...\n responded = true;\n } catch (Exception e) {}\n }\n\n }.start();\n\n try {\n int waited = 0;\n while(!responded && (waited < timeout)) {\n sleep(100);\n if(!responded ) { \n waited += 100;\n }\n }\n } \n catch(InterruptedException e) {} // do nothing \n finally { \n if (!responded) { handler.sendEmptyMessage(0); } \n else { handler.sendEmptyMessage(1); }\n }\n\n }", "public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException {\r\n return dead;\r\n }", "CompletableFuture<Void> cancel();", "@Test\n public void testFutureWithDone() throws Exception {\n Callable<String> task = new Callable<String>() {\n public String call() throws Exception {\n // do something that takes some time\n LOG.info(\"Starting to process task\");\n Thread.sleep(5000);\n LOG.info(\"Task is now done\");\n return \"Camel rocks\";\n }\n };\n\n // this is the thread pool we will use\n ExecutorService executor = Executors.newCachedThreadPool();\n\n // now submit the task to the thread pool\n // and get the Future handle back so we can later get the result\n LOG.info(\"Submitting task to ExecutorService\");\n Future<String> future = executor.submit(task);\n LOG.info(\"Task submitted and we got a Future handle\");\n\n // test when we are done\n boolean done = false;\n while (!done) {\n done = future.isDone();\n LOG.info(\"Is the task done? \" + done);\n if (!done) {\n Thread.sleep(2000);\n }\n }\n\n // and get the answer\n String answer = future.get();\n LOG.info(\"The answer is: \" + answer);\n }", "public void awaitDone() {\n try {\n // Wait until the CountDownLatch reaches 0.\n mExitBarrier.await();\n } catch(java.lang.InterruptedException e) {\n errorLog(\"PlatformStrategyAndroid\",\n e.getMessage());\n }\n }", "public MockOutgoing<P> awaitComplete(Duration timeout) {\n whenComplete().await(timeout);\n return this;\n }", "public Future<Void> wait(Integer id) throws DynamicCallException, ExecutionException{\n return call(\"wait\", id);\n }", "default T await() {\n return await(0, TimeUnit.NANOSECONDS);\n }", "private void postTaskToExecutor(Runnable task) {\n try {\n mExecutor.execute(task);\n } catch (RejectedExecutionException failException) {\n Log.e(CronetUrlRequestContext.LOG_TAG, \"Exception posting task to executor\",\n failException);\n // If posting a task throws an exception, then there is no choice\n // but to destroy the stream without invoking the callback.\n synchronized (mNativeStreamLock) {\n mReadState = mWriteState = State.ERROR;\n destroyNativeStreamLocked(false);\n }\n }\n }", "void post(java.lang.Runnable command);", "public interface Future\n{\n\n public abstract boolean cancel(boolean flag);\n\n public abstract boolean isCancelled();\n\n public abstract boolean isDone();\n\n public abstract Object get()\n throws ExecutionException, InterruptedException;\n\n public abstract Object get(long l, TimeUnit timeunit)\n throws ExecutionException, InterruptedException, TimeoutException;\n}", "public JsonNode endAsyncMethod(final JsiiPromise promise) {\n ObjectNode req = makeRequest(\"end\");\n req.put(\"promiseid\", promise.getPromiseId());\n JsonNode resp = this.runtime.requestResponse(req);\n if (resp == null) {\n return null; // result is null\n }\n return resp.get(\"result\");\n }", "public void handleFinish()\n {\n }", "public interface Promise<V> {\n\n /**\n * Checks if the promise has been realized, if a promise has been realized then it has either\n * been full-filled or broken. This function returns false until the promise has been either\n * full-filled or broken. Will return true after the promise is full-filled or broken.\n * <p/>\n * NonBlocking\n *\n * @return true if promise is realized by either full-filling it or breaking it.\n */\n boolean isRealized();\n\n /**\n * Checks if the promise has been full-filled. A promise is said to have been full-filled\n * if the value of a promise is realized. It returns true if the promise has been realized\n * and the promise has been full-filled, false if the promise has been realized and the\n * promise has been broken. This should usually only be called once the promise has been\n * realized. If it's called before the promise has been realized, it throws an exception.\n * <p/>\n * NonBlocking\n *\n * @return true if a promise is realized and full-filled, false if promise is realized and broken\n * @throws IllegalStateException if isRealized()==false\n */\n boolean isFullfilled() throws IllegalStateException;\n\n /**\n * Checks to see if the promise has been broken. A promise is said to have been broken\n * if the promise is realized but is in a broken state. It returns true if the promise\n * is realized and a it's in a broken state, false if the promise is realized and it's\n * in a full-filled state.\n * <p/>\n * NonBlocking\n *\n * @return true if promise is broken false if promise is full-filled\n * @throws IllegalStateException if isRealized()==false\n */\n boolean isBroken() throws IllegalStateException;\n\n /**\n * Puts the calling thread in a wait state until the promise has been realized.\n * <p/>\n * Blocking: Puts the thread in a wait state.\n *\n * @throws InterruptedException if the calling/waiting thread is interrupted\n * before the promise has been realized\n */\n void await() throws InterruptedException;\n\n /**\n * Puts the calling thread in a wait state until either the promise has been\n * realized or \"timeout\" units of type \"timeUnit\" have passed, whichever\n * happens sooner. if the calling/waiting thread is interrupted\n * before either the promise is fullfilled or the timeout hasn't happened.\n * <p/>\n * Blocking: Puts thread in a wait state\n *\n * @param timeout\n * @param timeUnit\n * @throws InterruptedException\n */\n void await(long timeout, TimeUnit timeUnit) throws InterruptedException;\n\n /**\n * Puts the calling thread in a wait state until the promise has been realized\n * and either returns the value of the promise once it has been full-filled or\n * throws a promise broken exception once the promis is broken.\n * <p/>\n * Blocking: Puts thread in a wait state\n *\n * @return value of the promise once it has been set\n * @throws PromiseBrokenException of isRealized==true and promise is broken\n * @throws InterruptedException if the calling/waiting thread is interrupted\n */\n V get() throws PromiseBrokenException, InterruptedException;\n\n /**\n * Puts the calling thread in a wait state until the promise has either been\n * realized or the timeout period has expired. If the promise has been realized\n * then it either returns the value of the promise once it has been full-filled or\n * throws a promise broken exception once the promis is broken. If the call has\n * timed out a timeout exception is thrown.\n * <p/>\n * Blocking: puts the thread in a wait state\n *\n * @param timeout\n * @param timeUnit\n * @return value of promise if it has been set before timeout expires\n * @throws PromiseBrokenException if isRealized==true and promise is broken\n * @throws InterruptedException if the calling/waiting thread is interrupted\n * @throws TimeoutException if isRealized==false until timeout, timeunits\n */\n V get(long timeout, TimeUnit timeUnit) throws PromiseBrokenException, TimeoutException, InterruptedException;\n\n /**\n * Adds a PromiseListener to the promise, whose whenFullfilled or whenBroken\n * method is invoked when the promise is realized.\n * <p/>\n * NonBlocking: it's a callback mechanism\n *\n * @param promiseListener\n */\n void addListener(PromiseListener promiseListener);\n}" ]
[ "0.5778187", "0.5702883", "0.5682342", "0.55274713", "0.5522787", "0.5410459", "0.5409187", "0.5405397", "0.5400045", "0.5378589", "0.5347325", "0.5300659", "0.52991325", "0.52871925", "0.5247767", "0.52406156", "0.5235578", "0.51865053", "0.51556814", "0.5155309", "0.5146856", "0.5133336", "0.5127188", "0.51271147", "0.50885713", "0.50792783", "0.5074767", "0.50694484", "0.5066146", "0.50545835", "0.50382864", "0.50376755", "0.50277424", "0.50224656", "0.50168717", "0.501067", "0.50028086", "0.49825388", "0.49803597", "0.4971505", "0.49654245", "0.49566302", "0.4940224", "0.4939582", "0.49233732", "0.49102923", "0.49099588", "0.49032378", "0.4900318", "0.48980674", "0.4895502", "0.48745665", "0.48718446", "0.487002", "0.4868788", "0.4864483", "0.48587748", "0.48587748", "0.48587748", "0.4858645", "0.48584944", "0.4856465", "0.4847606", "0.4847212", "0.48397666", "0.48374486", "0.4831138", "0.48303214", "0.48214874", "0.48089007", "0.4808888", "0.4806367", "0.48010588", "0.4799205", "0.47985327", "0.47921696", "0.4790624", "0.47845846", "0.47833058", "0.47765177", "0.47725466", "0.47723302", "0.4771237", "0.47621456", "0.476068", "0.47536665", "0.4750805", "0.47481322", "0.47460824", "0.47422233", "0.47406438", "0.4739247", "0.47279915", "0.47268245", "0.47252947", "0.47234997", "0.4713511", "0.4710306", "0.4706698", "0.47064328", "0.47024828" ]
0.0
-1
Returns true if the method is currently running.
public Boolean isRunning(Integer id) throws DynamicCallException, ExecutionException { return (Boolean)call("isRunning", id).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning () {\n\t\t\tsynchronized (runningLock) {\n\t\t\t\treturn running;\n\t\t\t}\n\t\t}", "@Override\n public final boolean isRunning() {\n return (this.running && runningAllowed());\n }", "public final boolean isRunning() {\n\t\treturn running;\n\t}", "boolean isRunning();", "boolean isRunning();", "boolean isRunning();", "boolean isRunning();", "boolean isRunning();", "public boolean isRunning()\n\t{\n\t\treturn running;\n\t}", "public boolean isRunning() {\n\t\treturn isRunning;\n\t}", "public final boolean isRunning() {\n return running;\n }", "public boolean isRunning() {\n\t\treturn running;\n\t}", "public boolean isRunning()\n\t{\n\t\treturn this.running;\n\t}", "protected final boolean isRunning() {\n\t\treturn _running;\n\t}", "public boolean isRunning()\n\t{\n\t\treturn m_running;\n\t}", "public boolean isRunning() {\n return running;\n }", "public boolean isRunning() {\n return running;\n }", "public boolean isRunning(){\n\t\treturn this.running;\n\t}", "public synchronized boolean isRunning() {\n return running;\n }", "public boolean isRunning()\n\t{\n\t\treturn updateTimer.isRunning();\n\t}", "public boolean isRunning() {\n \t\tif (localMonitor == null) {\n\t\t\treturn localMonitor.isRunning();\n \t\t}\n \n \t\treturn localMonitor.isRunning();\n \t}", "public boolean isRunning() {\r\n return running;\r\n }", "@Override\n public boolean isRunning() {\n return isRunning;\n }", "@Override\n public boolean isRunning() {\n return isRunning;\n }", "public boolean isRunning() {\r\n\t\treturn __flagRunning;\r\n\t}", "public boolean isRunning() {\n return isRunning;\n }", "public synchronized boolean isRunning() {\n return this.running;\n }", "public boolean isRunning() {\n return running;\n }", "public boolean isRunning() {\n return running;\n }", "public boolean isRunning() {\n\t\treturn !loopTask.stop;\n\t}", "@Override\n public boolean isRunning() {\n return running;\n }", "public boolean isRunning(){\n return isRunning;\n }", "public boolean isRunning() {\n return this.isRunning;\n }", "public boolean isRunning() {\n return this.isRunning;\n }", "public static boolean isRunning() {\n return _thd != null && _thd.isAlive();\n }", "public boolean isRunning()\n {\n\n // TODO Auto-generated method stub\n return !started || running;\n }", "public boolean isRunning() {\n return bRunning;\n }", "public boolean iAmRunning();", "public boolean isRunning() {\n return (service != null) && service.isMonitoring();\n }", "public boolean isRunning ()\n {\n return server == null ? false : true;\n }", "public static boolean isRunning()\n {\n synchronized( Lifecycle.class ) {\n return context != null;\n }\n }", "public boolean isRunning() {\n/* 101 */ return this.isRunning;\n/* */ }", "public Boolean isRunning() {\n\t\t// We don't know if it is an external process or not yet ---------------\n\t\t// (first check in the program or after a stop)\n\n\t\tif (this.isManagedExternally == null) {\n\t\t\tif (this.isExternalBackendRunning()) {\n\t\t\t\tthis.isManagedExternally = true;\n\t\t\t\treturn true; // to avoid unnecessary duplicate request below\n\t\t\t} else {\n\t\t\t\tthis.isManagedExternally = false;\n\t\t\t}\n\t\t}\n\n\t\t// Externally managed --------------------------------------------------\n\n\t\tif (this.isManagedExternally) {\n\t\t\treturn this.isExternalBackendRunning();\n\t\t}\n\n\t\t// We manage the process ourself ---------------------------------------\n\n\t\treturn this.processRunner.isRunning();\n\t}", "public static boolean isRunningCommand() {\n return runningCommand;\n }", "public boolean isRunning()\n\t{\n\t\tif(mBoundService != null){\t// Service already started\n\t\t\tif(mBoundService.testThread != null && mBoundService.testThread.isAlive())\n\t\t\t\treturn true;\n\t\t\telse\n\t\t\t\treturn false;\n\t\t}else{\n\t\t\tLog.v(\"4G Test\", \"mBoundService null not running\");\n\t\t\treturn false;\n\t\t}\n\t}", "public boolean isRunning(){\n return !paused;\n }", "public boolean isRunning() {\n return this.runningThread != null && !serverSocket.isClosed();\n }", "public boolean isRunning() { return _timer!=null && _timer.isRunning(); }", "@Override\n public boolean isRunning() {\n if (lumenClient == null || spine == null || !spine.isRunning()) {\n return false;\n } else {\n return true;\n }\n }", "boolean isActive() {\n assert this.isHeldByCurrentThread();\n return isActive;\n }", "public boolean isRunning(){\n\t\treturn gameRunning;\n\t}", "public boolean isRunning() {\n boolean isRunning = true;\n\n if (field.isUserWin()) {\n System.out.println(\"You win! Computer is too bad :)\");\n isRunning = false;\n } else if (field.isComputerWin()) {\n System.out.println(\"Computer win! You lose :(\");\n isRunning = false;\n } else if (field.isFull()) {\n System.out.println(\"You tied! Try next time :)\");\n isRunning = false;\n }\n\n return isRunning;\n }", "public boolean isAlive(){\r\n\t\treturn Thread.currentThread() == workerThread;\r\n\t}", "public boolean isStarted() {\n\t\treturn started.get();\n\t}", "public boolean getRunning() {\n\t\treturn this.isRunning;\n\t}", "boolean isStarted();", "boolean isStarted();", "public boolean getRunning() {\n\t\treturn running;\n\t}", "public boolean IsAlive() {\n\treturn process != null;\n }", "@Deprecated\n @SuppressWarnings({\"DeprecatedIsStillUsed\", \"RedundantSuppression\"})\n public boolean isRunning() {\n return isRunning(10, 500, TimeUnit.MILLISECONDS);\n }", "public boolean isStarted()\n\t{\n\t\treturn isStarted;\n\t}", "public boolean getRunning() {\n return this.running;\n }", "@Override\n public boolean isRunning() {\n return !paused;\n }", "public boolean isServiceRunning();", "public boolean isAlive()\r\n\t{\r\n\t\treturn internalThread.isAlive();\r\n\t}", "public boolean isAlive() {\n synchronized (this) {\n return mIsAlive;\n }\n }", "public boolean isStarted() {\n \t\treturn isStarted;\n \t}", "public boolean isStarted() {\n return started;\n }", "public boolean isRecognitionRunning() {\n return mRecognitionTask != null &&\n (mRecognitionTask.getStatus().equals(AsyncTask.Status.PENDING)\n || mRecognitionTask.getStatus().equals(AsyncTask.Status.RUNNING));\n }", "public boolean isStarting() {\n\t\treturn starting;\n\t}", "public synchronized boolean isStarted() {\n\t\treturn State.STARTED.equals(state);\n\t}", "public final boolean isStarted() {\n return started;\n }", "public boolean startTimerIsRunning() {\n\t\treturn startMoveDownTimer.isRunning();\n\t}", "protected boolean isCommandExecuting() {\n // long start = System.nanoTime();\n // boolean inCommand = false;\n // for (StackTraceElement e : Thread.currentThread().getStackTrace()) {\n // if (e.getMethodName().equals(\"handleCommand\")) {\n // inCommand = true;\n // break;\n // }\n // }\n // long now = System.nanoTime();\n // double elapsedMillis = (now - start) * 1e-6;\n // getLogger().info(\"handleCommand: \" + inCommand + \" elapsed ms: \" +\n // elapsedMillis);\n\n try {\n Field playerCommandState = Bukkit.getServer().getClass().getField(\"playerCommandState\");\n return playerCommandState.getBoolean(Bukkit.getServer());\n } catch (IllegalArgumentException | IllegalAccessException | NoSuchFieldException | SecurityException ex) {\n getLogger().severe(\"This plugin needs to be updated for the current server (EasyRider.isCommandExecuting()).\");\n return false;\n }\n }", "public final boolean isActive() {\n synchronized (this.lifecycleMonitor) {\n return this.active;\n }\n }", "public static final boolean isRunning(Context context){\r\n \t\tmIsRunning = MainPipeline.isEnabled(context);\r\n \t\treturn mIsRunning;\r\n \t}", "public synchronized static boolean isServiceRunning(){\n return prefs.getBoolean(IS_SERVICE_RUNNING, false);\n }", "public boolean isStarted()\r\n\t{\r\n\t\treturn currentstate == TIMER_START;\r\n\t}", "public boolean isStarted(){\n \treturn started;\n }", "public boolean isAlive() {\n\t\treturn isAlive;\n\t}", "public boolean isAlive () {\n return (daemon != null) && daemon.isAlive();\n }", "public final boolean isTimerRunning() {\n return timerRunning;\n }", "public boolean isAlive();", "boolean isOpen() {\n return state == RUNNING;\n }", "public Boolean timerCheck(){\n return isRunning;\n }", "public boolean isAlive() {\n return this.isAlive;\n }", "public boolean hasStarted() {\n return hasStarted(10, 500, TimeUnit.MILLISECONDS);\n }", "public boolean isAlive() {\n\t\treturn this.alive;\n\t}", "public boolean isAlive(){\n\t\treturn isAlive;\n\t}", "public boolean hasStarted() {\n return mStarted;\n }", "public boolean isRunning() {\r\n\t\tboolean sentinel = true;\r\n\t\trunningBalls = 0;\r\n\t\ttraversal_inorder_runningcheck(root);\r\n\t\tif (runningBalls!=0) {\r\n\t\t\treturn sentinel;\r\n\t\t}\r\n\t\telse {\r\n\t\t\tsentinel = false;\r\n\t\t\treturn sentinel;\r\n\t\t}\r\n\t}", "public boolean isAlive() {\n\t\treturn state;\n\t}", "boolean hasStopped()\n {\n if (running && ! isAlive())\n {\n nextStartTime = System.currentTimeMillis() + minDurationInMillis;\n running = false;\n return true;\n }\n return false;\n }", "public boolean isGameRunning()\n\t{\n\t\treturn zegar.isRunning() || wToku;\n\t}", "public boolean isActive() {\n\t\treturn stateMachine.isActive();\n\t}" ]
[ "0.8049263", "0.8049263", "0.8049263", "0.8049263", "0.8049263", "0.8049263", "0.7981295", "0.7917775", "0.7906718", "0.787724", "0.787724", "0.787724", "0.787724", "0.787724", "0.78703344", "0.7853705", "0.7838923", "0.7833095", "0.78260773", "0.78013694", "0.7772111", "0.7760564", "0.7760564", "0.77599794", "0.7751613", "0.77428496", "0.77406996", "0.77373385", "0.77309555", "0.77309555", "0.7707084", "0.770302", "0.770036", "0.76937866", "0.76937866", "0.76312137", "0.7619008", "0.761336", "0.76117754", "0.76117754", "0.7602184", "0.7593951", "0.7573415", "0.75543374", "0.75332683", "0.74995744", "0.73705155", "0.73426515", "0.73398495", "0.73265404", "0.7322085", "0.72714376", "0.7264555", "0.72504073", "0.7247334", "0.72445434", "0.7241859", "0.7238496", "0.71959025", "0.71726495", "0.7157516", "0.7118181", "0.7118181", "0.71077347", "0.7071648", "0.7040922", "0.702668", "0.70234674", "0.69987965", "0.6993464", "0.6963687", "0.6903613", "0.6877646", "0.6861434", "0.68589866", "0.6853597", "0.68531346", "0.6852244", "0.6836335", "0.68210715", "0.6773253", "0.6764036", "0.6758679", "0.67569035", "0.6731128", "0.6722063", "0.6710353", "0.67085433", "0.670853", "0.6701768", "0.66992044", "0.6698592", "0.66975373", "0.6689816", "0.66572696", "0.6655346", "0.66342604", "0.6630786", "0.6613442", "0.6587633", "0.6576985" ]
0.0
-1
returns true if the method is currently running
public void stop(Integer id) throws DynamicCallException, ExecutionException{ call("stop", id).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "boolean isRunning();", "boolean isRunning();", "boolean isRunning();", "boolean isRunning();", "boolean isRunning();", "@Override\n public boolean isRunning() {\n return isRunning;\n }", "@Override\n public boolean isRunning() {\n return isRunning;\n }", "@Override\n public final boolean isRunning() {\n return (this.running && runningAllowed());\n }", "public boolean iAmRunning();", "public boolean isRunning()\n\t{\n\t\treturn running;\n\t}", "public boolean isRunning () {\n\t\t\tsynchronized (runningLock) {\n\t\t\t\treturn running;\n\t\t\t}\n\t\t}", "@Override\n public boolean isRunning() {\n return running;\n }", "public final boolean isRunning() {\n\t\treturn running;\n\t}", "public boolean isRunning() {\n\t\treturn isRunning;\n\t}", "protected final boolean isRunning() {\n\t\treturn _running;\n\t}", "public boolean isRunning()\n\t{\n\t\treturn this.running;\n\t}", "public boolean isRunning() {\n\t\treturn running;\n\t}", "public boolean isRunning(){\n\t\treturn this.running;\n\t}", "public boolean isRunning()\n {\n\n // TODO Auto-generated method stub\n return !started || running;\n }", "public boolean isRunning(){\n return isRunning;\n }", "public boolean isRunning() {\r\n return running;\r\n }", "public boolean isRunning()\n\t{\n\t\treturn updateTimer.isRunning();\n\t}", "public final boolean isRunning() {\n return running;\n }", "public boolean isRunning() {\n return running;\n }", "public boolean isRunning() {\n return running;\n }", "public boolean isRunning()\n\t{\n\t\treturn m_running;\n\t}", "public boolean isRunning() {\n return isRunning;\n }", "public synchronized boolean isRunning() {\n return running;\n }", "public boolean isRunning() {\n \t\tif (localMonitor == null) {\n\t\t\treturn localMonitor.isRunning();\n \t\t}\n \n \t\treturn localMonitor.isRunning();\n \t}", "public boolean isRunning() {\n return running;\n }", "public boolean isRunning() {\n return running;\n }", "public boolean isRunning() {\r\n\t\treturn __flagRunning;\r\n\t}", "public boolean isRunning() {\n\t\treturn !loopTask.stop;\n\t}", "public synchronized boolean isRunning() {\n return this.running;\n }", "public boolean isRunning() {\n return bRunning;\n }", "public boolean isRunning() {\n/* 101 */ return this.isRunning;\n/* */ }", "public boolean isRunning() {\n return this.isRunning;\n }", "public boolean isRunning() {\n return this.isRunning;\n }", "boolean isStarted();", "boolean isStarted();", "public boolean isRunning(){\n return !paused;\n }", "public static boolean isRunning() {\n return _thd != null && _thd.isAlive();\n }", "public boolean isRunning ()\n {\n return server == null ? false : true;\n }", "public boolean isRunning() {\n boolean isRunning = true;\n\n if (field.isUserWin()) {\n System.out.println(\"You win! Computer is too bad :)\");\n isRunning = false;\n } else if (field.isComputerWin()) {\n System.out.println(\"Computer win! You lose :(\");\n isRunning = false;\n } else if (field.isFull()) {\n System.out.println(\"You tied! Try next time :)\");\n isRunning = false;\n }\n\n return isRunning;\n }", "public boolean isRunning(){\n\t\treturn gameRunning;\n\t}", "public boolean isRunning() { return _timer!=null && _timer.isRunning(); }", "public boolean isAlive(){\r\n\t\treturn Thread.currentThread() == workerThread;\r\n\t}", "public boolean isRunning()\n\t{\n\t\tif(mBoundService != null){\t// Service already started\n\t\t\tif(mBoundService.testThread != null && mBoundService.testThread.isAlive())\n\t\t\t\treturn true;\n\t\t\telse\n\t\t\t\treturn false;\n\t\t}else{\n\t\t\tLog.v(\"4G Test\", \"mBoundService null not running\");\n\t\t\treturn false;\n\t\t}\n\t}", "@Override\n public boolean isRunning() {\n if (lumenClient == null || spine == null || !spine.isRunning()) {\n return false;\n } else {\n return true;\n }\n }", "public boolean isRunning() {\n return (service != null) && service.isMonitoring();\n }", "public boolean IsAlive() {\n\treturn process != null;\n }", "public Boolean isRunning() {\n\t\t// We don't know if it is an external process or not yet ---------------\n\t\t// (first check in the program or after a stop)\n\n\t\tif (this.isManagedExternally == null) {\n\t\t\tif (this.isExternalBackendRunning()) {\n\t\t\t\tthis.isManagedExternally = true;\n\t\t\t\treturn true; // to avoid unnecessary duplicate request below\n\t\t\t} else {\n\t\t\t\tthis.isManagedExternally = false;\n\t\t\t}\n\t\t}\n\n\t\t// Externally managed --------------------------------------------------\n\n\t\tif (this.isManagedExternally) {\n\t\t\treturn this.isExternalBackendRunning();\n\t\t}\n\n\t\t// We manage the process ourself ---------------------------------------\n\n\t\treturn this.processRunner.isRunning();\n\t}", "@Override\n public boolean isRunning() {\n return !paused;\n }", "public static boolean isRunning()\n {\n synchronized( Lifecycle.class ) {\n return context != null;\n }\n }", "boolean isActive() {\n assert this.isHeldByCurrentThread();\n return isActive;\n }", "public boolean isRunning() {\n return this.runningThread != null && !serverSocket.isClosed();\n }", "public boolean isStarted() {\n\t\treturn started.get();\n\t}", "public static boolean isRunningCommand() {\n return runningCommand;\n }", "public boolean isStarted()\n\t{\n\t\treturn isStarted;\n\t}", "public boolean isAlive()\r\n\t{\r\n\t\treturn internalThread.isAlive();\r\n\t}", "public boolean getRunning() {\n\t\treturn this.isRunning;\n\t}", "public boolean getRunning() {\n\t\treturn running;\n\t}", "public boolean isAlive();", "public boolean isStarted() {\n \t\treturn isStarted;\n \t}", "public boolean getRunning() {\n return this.running;\n }", "boolean isOpen() {\n return state == RUNNING;\n }", "public boolean isServiceRunning();", "public Boolean timerCheck(){\n return isRunning;\n }", "public boolean isStarted(){\n \treturn started;\n }", "@Deprecated\n @SuppressWarnings({\"DeprecatedIsStillUsed\", \"RedundantSuppression\"})\n public boolean isRunning() {\n return isRunning(10, 500, TimeUnit.MILLISECONDS);\n }", "protected boolean isCommandExecuting() {\n // long start = System.nanoTime();\n // boolean inCommand = false;\n // for (StackTraceElement e : Thread.currentThread().getStackTrace()) {\n // if (e.getMethodName().equals(\"handleCommand\")) {\n // inCommand = true;\n // break;\n // }\n // }\n // long now = System.nanoTime();\n // double elapsedMillis = (now - start) * 1e-6;\n // getLogger().info(\"handleCommand: \" + inCommand + \" elapsed ms: \" +\n // elapsedMillis);\n\n try {\n Field playerCommandState = Bukkit.getServer().getClass().getField(\"playerCommandState\");\n return playerCommandState.getBoolean(Bukkit.getServer());\n } catch (IllegalArgumentException | IllegalAccessException | NoSuchFieldException | SecurityException ex) {\n getLogger().severe(\"This plugin needs to be updated for the current server (EasyRider.isCommandExecuting()).\");\n return false;\n }\n }", "@Override\r\n public boolean isRunning()\r\n {\n return initialized;\r\n }", "public boolean isAlive() {\n synchronized (this) {\n return mIsAlive;\n }\n }", "public boolean isStarted() {\n return started;\n }", "public boolean isStarted()\r\n\t{\r\n\t\treturn currentstate == TIMER_START;\r\n\t}", "public boolean startTimerIsRunning() {\n\t\treturn startMoveDownTimer.isRunning();\n\t}", "public boolean isStarting() {\n\t\treturn starting;\n\t}", "public boolean isExecuting(){\n return !pausing;\n }", "public final boolean isStarted() {\n return started;\n }", "public synchronized boolean isStarted() {\n\t\treturn State.STARTED.equals(state);\n\t}", "boolean isAlive();", "boolean isAlive();", "public boolean isAlive(){\n\t\treturn isAlive;\n\t}", "public boolean isRecognitionRunning() {\n return mRecognitionTask != null &&\n (mRecognitionTask.getStatus().equals(AsyncTask.Status.PENDING)\n || mRecognitionTask.getStatus().equals(AsyncTask.Status.RUNNING));\n }", "public final boolean isAlive() { return true; }", "boolean start()\n {\n // log.info(\"Begin start(), instance = '\" + instance + \"'\");\n boolean retVal = false;\n\n if (isStartable())\n {\n t = new Thread(processor);\n t.start();\n nextStartTime = System.currentTimeMillis() + minDurationInMillis;\n running = true;\n retVal = true;\n }\n\n // log.info(\"End start(), instance = '\" + instance + \"', retVal = \" + retVal);\n return retVal;\n }", "boolean hasExecution();", "public boolean isAlive() {\n\t\treturn isAlive;\n\t}", "public boolean hasStarted() {\n return hasStarted(10, 500, TimeUnit.MILLISECONDS);\n }", "public boolean isStartable () ;", "public static final boolean isRunning(Context context){\r\n \t\tmIsRunning = MainPipeline.isEnabled(context);\r\n \t\treturn mIsRunning;\r\n \t}", "public boolean isAlive() {\n\t\treturn state;\n\t}", "boolean hasStopped()\n {\n if (running && ! isAlive())\n {\n nextStartTime = System.currentTimeMillis() + minDurationInMillis;\n running = false;\n return true;\n }\n return false;\n }", "@Override\n\tpublic boolean isJobRunning() {\n\t\treturn false;\n\t}", "public boolean isAlive() {\n return this.isAlive;\n }" ]
[ "0.82992965", "0.82992965", "0.82992965", "0.82992965", "0.82992965", "0.82992965", "0.8217331", "0.8217331", "0.8217331", "0.8217331", "0.8217331", "0.7928134", "0.7928134", "0.7914395", "0.79021555", "0.7849566", "0.7828639", "0.7805471", "0.78020954", "0.77904755", "0.7785806", "0.77753896", "0.77697855", "0.7763454", "0.7755376", "0.77302945", "0.7727687", "0.77242076", "0.7721828", "0.77193147", "0.77193147", "0.7702193", "0.7689015", "0.7686813", "0.7673111", "0.766067", "0.766067", "0.7646083", "0.764066", "0.7584238", "0.7543006", "0.75277287", "0.7505764", "0.7505764", "0.74809206", "0.74809206", "0.7438437", "0.7437653", "0.7420921", "0.73540837", "0.7352003", "0.7342258", "0.7338885", "0.73057216", "0.7263744", "0.72529674", "0.7243691", "0.7235336", "0.723385", "0.723029", "0.72165847", "0.71592563", "0.71168", "0.7087952", "0.7059603", "0.7056958", "0.702432", "0.70212", "0.69935066", "0.69687366", "0.69639856", "0.6962389", "0.6936507", "0.69217193", "0.6911602", "0.69058156", "0.6905448", "0.68995327", "0.6887972", "0.688068", "0.68710816", "0.683727", "0.6833301", "0.6822173", "0.68136287", "0.68043894", "0.67949116", "0.67949116", "0.6785872", "0.67785144", "0.6778455", "0.6774508", "0.6765011", "0.6759356", "0.675687", "0.6747198", "0.6741733", "0.6738726", "0.6732954", "0.6716138", "0.67121446" ]
0.0
-1
Gets the name of the parent broker.
public String getBrokerName() throws DynamicCallException, ExecutionException { return (String)call("getBrokerName").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getParentName() {\n return getProperty(Property.PARENT_NAME);\n }", "public String getParentName() {\n return parentName;\n }", "public String getParentName() {\n return parentName;\n }", "public String getParentName() {\n\t\treturn parentName;\n\t}", "public String getBrokerName() throws CallError, InterruptedException {\n return (String)service.call(\"getBrokerName\").get();\n }", "public String getParentId() {\n return getProperty(Property.PARENT_ID);\n }", "public String getParent() {\r\n return (String) getAttributeInternal(PARENT);\r\n }", "public String getParent() {\n return _parent;\n }", "public String getParent() {\n return _theParent;\n }", "public Future<String> getBrokerName() throws DynamicCallException, ExecutionException {\n return call(\"getBrokerName\");\n }", "public String getParent() {\n return parent;\n }", "public String getParent() {\r\n return this.parent;\r\n }", "public String getParentTitle() {\n return getProperty(Property.PARENT_TITLE);\n }", "public String getParent() {\r\n return parent;\r\n }", "String getBaseQueueName();", "public String getParent() {\n Path path = getPathNIO();\n if (path == null) {\n return \"\";\n }\n\n Path parent = Paths.get(this.dataSource).toAbsolutePath().relativize(path.getParent());\n\n return parent.toString();\n }", "public String getPeerName() {\n return peerAddress.getHostName();\n }", "public String getPeerName() {\n return peerAddress.getHostName();\n }", "public String getBrokerId() {\n return brokerId;\n }", "public String getBrokerId() {\n return brokerId;\n }", "java.lang.String getQueueName();", "public String getProducerName() {\n return PRODUCER_NAME;\n }", "public String getParentId() {\n return getParent() != null ? getParent().getId() : null;\n }", "public String getBrokerId() {\n return brokerId;\n }", "public String getBrokerId() {\n return brokerId;\n }", "public String getParentKey() {\n\n return this.parentKey;\n }", "public String getParentProfile() {\n\t\treturn mParentProfile == null ? new String() : mParentProfile.getName();\n\t}", "@ApiModelProperty(example = \"null\", value = \"The backend that is used for when properties are not set. This allows credentials to be set at one backend and used by multiple backends.\")\n public String getParentId() {\n return parentId;\n }", "String getBaseQueueManagerName();", "public String getExecBroker() {\n Object ref = execBroker_;\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 execBroker_ = s;\n }\n return s;\n } else {\n return (String) ref;\n }\n }", "String getParentDriverName();", "public String getExecBroker() {\n Object ref = execBroker_;\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 execBroker_ = s;\n }\n return s;\n }\n }", "@Override\n\tpublic String getQueueName() {\n\t\treturn model.getQueueName();\n\t}", "public String getParentTitle() {\n return parentTitle;\n }", "public String getClientName ()\n\t{\n\t\treturn clientName;\n\t}", "com.google.protobuf.ByteString\n getParentBytes();", "public Long getParentConversationId()\r\n\t{\r\n\t\treturn parentConversationId;\r\n\t}", "public String getClientName() {\r\n return clientName;\r\n }", "public String getClientName() {\n\t\treturn name;\n\t}", "@Override\r\n public FileName getParent() {\r\n final String parentPath;\r\n final int idx = getPath().lastIndexOf(SEPARATOR_CHAR);\r\n if (idx == -1 || idx == getPath().length() - 1) {\r\n // No parent\r\n return null;\r\n }\r\n if (idx == 0) {\r\n // Root is the parent\r\n parentPath = SEPARATOR;\r\n } else {\r\n parentPath = getPath().substring(0, idx);\r\n }\r\n return createName(parentPath, FileType.FOLDER);\r\n }", "public String getParentLabel(){\n\t\treturn this.parentLabel;\n\t}", "public String getClientName() {\n return clientName;\n }", "public String getName() {\n\t\tSharedPreferences settings = parentContext.getSharedPreferences(PREFERENCE_FILE,\n\t\t\t\tContext.MODE_PRIVATE);\n\t\treturn settings.getString(USERNAME_KEY, null);\n\t}", "public String getParentId() {\n return parentId;\n }", "public String getParentId() {\n return parentId;\n }", "public String getParentId() {\n return parentId;\n }", "public String getParentId() {\n return parentId;\n }", "public String getParentId() {\n return parentId;\n }", "public String getParentId() {\n return parentId;\n }", "public String getParentId() {\n return parentId;\n }", "public String getParentId() {\n return parentId;\n }", "public String getParentId() {\n return parentId;\n }", "public static String getParentName(IL1Element actualSource) {\r\n\t\tEObject parent = actualSource;\r\n\t\twhile (!(parent instanceof TaskImpl || parent instanceof ProtectedImpl || parent instanceof EnvironTaskImpl)) {\r\n\t\t\tparent = parent.eContainer();\r\n\t\t}\r\n\r\n\t\tif (parent instanceof Signature)\r\n\t\t\treturn ((Signature) parent).getName();\r\n\t\telse\r\n\t\t\treturn null;\r\n\t}", "@DISPID(84)\r\n\t// = 0x54. The runtime will prefer the VTID if present\r\n\t@VTID(82)\r\n\tint parentID();", "public String getParentCall() {\n return parentCall;\n }", "public String queueName();", "@DISPID(53)\r\n\t// = 0x35. The runtime will prefer the VTID if present\r\n\t@VTID(58)\r\n\tint parentID();", "public String getTopicName() {\n if (topicName.isPresent()) {\n return topicName.get();\n }\n return null;\n }", "public @Nullable CharSequence getQueueTitle() {\n try {\n return mSessionBinder.getQueueTitle();\n } catch (RemoteException e) {\n Log.wtf(TAG, \"Error calling getQueueTitle\", e);\n }\n return null;\n }", "public String getQualifiedName() {\n if(probe.getHost() != null) {\n return probe.getHost().getName() + \"/\" + getName();\n } else {\n return \"/\" + getName();\n }\n }", "public String getQualifiedName() {\n if (probe.getHost() != null) {\n return probe.getHost().getName() + \"/\" + getName();\n } else {\n return \"/\" + getName();\n }\n }", "public String getParentActivity() {\n return parentActivity;\n }", "public long getParentKey() {\n\t\treturn parentKey;\n\t}", "public int getParentID() {\n\t\treturn _parentID;\n\t}", "@Override\n\tpublic String getPeerName() {\n\t\treturn null;\n\t}", "public BigDecimal getWtIdParent() {\r\n\t\tif (oldEntrust != null) {\r\n\t\t\treturn oldEntrust.getEntrustId();\r\n\t\t}\r\n\t\treturn wtIdParent;\r\n\t}", "@DISPID(150)\n @PropGet\n com4j.Com4jObject getParent();", "@DISPID(150)\n @PropGet\n com4j.Com4jObject getParent();", "public int getParentID() {\n\t\treturn parentID;\n\t}", "public Integer getParentid() {\n\t\treturn parentid;\n\t}", "public String getWorkerName(){\r\n\t\ttry {\r\n\t\t\treturn this.workerobj.getString(WorkerController.NAME);\r\n\t\t} catch (JSONException e) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}", "public java.lang.String getQueueName() {\n return queueName;\n }", "com.google.protobuf.ByteString getParentBytes();", "public String getMyPeerName() throws Exception\n {\n Pdu pdu = this.channel.writeForReply(makePdu(\"get_my_peer\"), replyTimeout, \"recv_pids\");\n return pdu.getString(\"pid\");\n }", "public String getParent() {\n int index = filename.lastIndexOf(separatorChar);\n\n if (index > 0) {\n return filename.substring(0, index);\n } else {\n return null;\n }\n\n }", "@XmlElement\n @Nullable\n public String getParentDocumentId() {\n return this.parentDocumentId;\n }", "public String getParentSku() {\n return parentSku;\n }", "public String getParentGenus() {\n return parentGenus;\n }", "java.lang.String getParent();", "java.lang.String getParent();", "public String getParentAgentcy() {\r\n return parentAgentcy;\r\n }", "@Transient\n\tpublic String getParentTransactionId()\t{\n\t\tif (mParentTransactionIdLong > 0) \n\t\t\treturn Long.toString(mParentTransactionIdLong);\n\t\telse\n\t\t\treturn null;\n\t}", "java.lang.String getChannelName();", "public String getParentContainerXPath()\n\t{\n\t\treturn this.parentContainerXPath;\n\t}", "public String getName() {\n return (NAME_PREFIX + _applicationId + DELIM + _endpointId);\n }", "@Array({11}) \n\t@Field(0) \n\tpublic Pointer<Byte > BrokerID() {\n\t\treturn this.io.getPointerField(this, 0);\n\t}", "public java.lang.String getBrokerAddress() {\n java.lang.Object ref = brokerAddress_;\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 brokerAddress_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String getPartnerName() {\n\t\treturn partnerName;\n\t}", "@NoProxy\n @NoWrap\n @NoDump\n public BwEvent getParent() {\n return parent;\n }", "public String getCodeParent() {\n\t\treturn codeParent;\n\t}", "public String getSubProcessName() {\n\t\treturn subProcessName;\n\t}", "public String getName() {\n return chatRoom.getName();\n }", "public String getTopicName() {\n if (activeTopic == null) {\n return \"\";\n } else {\n return TOPIC_HEADER_PRESTRING + activeTopic.getName();\n }\n }", "public String getPentahoName() {\n\t\treturn pentahoName;\n\t}", "public void setParentName(String name) { m_parentName = name; }", "String getPackageName() {\n final int lastSlash = name.lastIndexOf('/');\n final String parentPath = name.substring(0, lastSlash);\n return parentPath.replace('/', '.');\n }", "public String getChargename() {\n return chargename;\n }", "public String getPlayerName() {\n\t\tString name = super.getPlayerName();\n\t\treturn name;\n\t}", "java.lang.String getBrokerAddress();", "public java.lang.String getBeanIdentifier() {\n\t\treturn _preschoolParentLocalService.getBeanIdentifier();\n\t}" ]
[ "0.71936846", "0.6787384", "0.6786481", "0.6777598", "0.66057324", "0.64146364", "0.631574", "0.62719184", "0.6244546", "0.6238048", "0.6196289", "0.6178248", "0.6168162", "0.6156306", "0.60927606", "0.6091746", "0.598864", "0.598864", "0.5977325", "0.5977325", "0.5961093", "0.5953698", "0.5946732", "0.59424627", "0.59424627", "0.59182686", "0.5911959", "0.58915573", "0.586691", "0.5860167", "0.5856518", "0.5845859", "0.5824692", "0.57795143", "0.5779248", "0.5745441", "0.57404995", "0.57347214", "0.5727396", "0.57174915", "0.5712101", "0.5698747", "0.56924975", "0.56879616", "0.56879616", "0.56879616", "0.56879616", "0.56879616", "0.56879616", "0.56879616", "0.56879616", "0.56879616", "0.5685565", "0.56586456", "0.5654958", "0.5651849", "0.5580758", "0.557158", "0.5563963", "0.55526966", "0.5537251", "0.5490572", "0.5489908", "0.54879826", "0.54824674", "0.5481643", "0.54783946", "0.54783946", "0.5470954", "0.54675823", "0.54672307", "0.5465977", "0.54495573", "0.54382557", "0.5432381", "0.5418159", "0.5416923", "0.54132396", "0.54113364", "0.54113364", "0.5405195", "0.54024583", "0.5401975", "0.53999776", "0.53975326", "0.53802985", "0.53791934", "0.5376312", "0.5373802", "0.5372559", "0.53723943", "0.53669626", "0.5363565", "0.53557783", "0.53533375", "0.5340751", "0.5333764", "0.53286505", "0.53254926", "0.5313692" ]
0.63864905
6
Gets the method usage string. This summarises how to use the method.
public String getUsage(String name) throws DynamicCallException, ExecutionException { return (String)call("getUsage", name).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static String getUsage()\n {\n final StringBuilder usage = new StringBuilder(400);\n\n // Empty line before usage info\n usage.append(\"\\n \" \n // Describe commands/options\n + \"those <option> <command> <cmd-options> \\n\"\n + \" Options:\\n\"\n + \"\\t-v : Allows stack trace to be printed.\\n\" \n + \" Commands:\\n\"\n + getCreateUsage()\n + \" help\\n\" \n + \"\\t Displays this help message\\n\" \n + \" version\\n\" \n + \"\\t Displays the SDK version and supported Core APIs\\n\");\n\n return usage.toString();\n }", "public abstract String usage();", "@Override\n public Text getUsage(CommandSource source) {\n return usage;\n }", "private String usage() {\n return command(\"usage\");\n }", "public String usageString() {\n StringJoiner output = new StringJoiner(\" OR \");\n for (TokenMatcher tokenMatcher : matcherList) {\n output.add(tokenMatcher.usageString());\n }\n return \"USAGE: \" + output.toString();\n }", "public abstract String getUsageName();", "private static void printUsage(){\n\t\tprintLine(USAGE_STRING);\n\t}", "@XRMethod(value = \"system.help\", help = \"Returns usage information for a method\")\r\n\tString help(String methodName);", "public String getMethod()\n {\n if (averageRating == null) {\n return \"\";\n } else {\n return averageRating.getMethod();\n }\n }", "private String _getUsage() {\n\n StringBuffer buf = new StringBuffer();\n \n // Add FEI version number string and copyright statement\n buf.append(Constants.COPYRIGHT + \"\\n\");\n buf.append(Constants.CLIENTVERSIONSTR + \"\\n\");\n buf.append(Constants.APIVERSIONSTR + \"\\n\\n\");\n\n // All usuage statements begin with Usage: command name\n buf.append(\"Usage:\\t\" + this._userScript + \" \");\n\n if (this._actionId.equals(Constants.CREDLOGIN))\n {\n buf.append(\"[<user name> [<server group>] ] [help]\");\n }\n else if (this._actionId.equals(Constants.CREDLOGOUT))\n {\n buf.append(\"[<server group>] [help]\");\n }\n else if (this._actionId.equals(Constants.CREDLIST))\n {\n buf.append(\"[help]\");\n }\n else if (this._actionId.equals(Constants.ADDFILE))\n {\n buf.append(\"[<server group>:]<file type> <file name expression>\\n\")\n .append(\"\\t{[before|after <date-time>] | [between <date-time1> and <date-time2>]}\\n\")\n .append(\"\\t[format \\'<date format>\\'] [comment \\'<comment text>\\'] [crc] [receipt]\\n\")\n .append(\"\\t[autodelete] [filehandler] [help]\\n\\n\")\n .append(\"Usage:\\t\").append(this._userScript)\n .append(\" using <option file>\\n\");\n buf.append(\"Option File Format (per line):\\n\")\n .append(\"\\t[<server group>:]<file type> <file name>...\\n\")\n .append(\"\\t{[before|after <date-time>] | [between <date-time1> and <date-time2>]}\\n\")\n .append(\"\\t[format \\'<date format>\\'] [comment \\'<comment text>\\'] \\n\")\n .append(\"\\t[autodelete] [crc] [receipt]\");\n }\n else if (this._actionId.equals(Constants.REPLACEFILE)) \n {\n buf.append(\"[<server group>:]<file type> <file name expression>\\n\")\n .append(\"\\t{[before|after <date-time>] | [between <date-time1> and <date-time2>]}\\n\")\n .append(\"\\t[format \\'<date format>\\'] [comment \\'<comment text>\\'] [crc] [receipt]\\n\")\n .append(\"\\t[autodelete] [diff] [filehandler] [help]\\n\\n\")\n .append(\"Usage:\\t\").append(this._userScript)\n .append(\" using <option file>\\n\");\n buf.append(\"Option File Format (per line):\\n\")\n .append(\"\\t[<server group>:]<file type> <file name>...\\n\")\n .append(\"\\t{[before|after <date-time>] | [between <date-time1> and <date-time2>]}\\n\")\n .append(\"\\t[format \\'<date format>\\'] [comment \\'<comment text>\\'] \\n\")\n .append(\"\\t[autodelete] [crc] [receipt] [diff]\");\n }\n else if (this._actionId.equals(Constants.GETFILES))\n {\n buf.append(\"[<server group>:]<file type> [\\'<file name expression>\\'] \\n\")\n .append(\"\\t[output <path>] {[before|after <datetime>] | \\n\")\n .append(\"\\t[between <datetime1> and <datetime2>]} \\n\")\n .append(\"\\t[format \\'<date format>\\'] [crc] [saferead] [receipt] \\n\")\n .append(\"\\t{[replace|version]} [diff] [query <queryfile>] [replicate]\\n\")\n .append(\"\\t[replicateroot <rootdir>] [filehandler] [help]\\n\\n\")\n .append(\"Usage:\\t\").append(this._userScript)\n .append(\" using <option file>\\n\");\n buf.append(\"Option File Format (per line):\\n\")\n .append(\"\\t[<server group>:]<file type> [\\'<file name expression>\\']\\n\")\n .append(\"\\t[output <path>] {[before|after <date-time>] | \\n\")\n .append(\"\\t[between <date-time1> and <date-time2>]} \\n\")\n .append(\"\\t[format \\'<date format>\\'] [crc] [saferead] [receipt] \\n\")\n .append(\"\\t{[replace|version]} [diff]\");\n }\n else if (this._actionId.equals(Constants.AUTOGETFILES))\n {\n buf.append(\"[<server group:]<file type> \\n\")\n .append(\"\\t[output <path>] [restart] [using <option file>] {[pull|push]} \\n\")\n .append(\"\\t{[replace|version]} [format \\'<date format>\\'] [query <queryfile>]\\n\")\n .append(\"\\t[replicate] [replicateroot <rootdir>] [filehandler] [diff] [help]\\n\");\n buf.append(\"Option File Format:\\n\")\n .append(\"\\tcrc\\n\")\n .append(\"\\tdiff\\n\")\n .append(\"\\tinvoke <command>\\n\")\n .append(\"\\tinvokeExitOnError\\n\")\n .append(\"\\tinvokeAsync\\n\")\n .append(\"\\tlogFile <file name>\\n\")\n .append(\"\\tlogFileRolling {monthly|weekly|daily|hourly|minutely|halfdaily}\\n\")\n .append(\"\\tmailMessageFrom <email address>\\n\")\n .append(\"\\tmailMessageTo <email address, email address, ...>\\n\")\n .append(\"\\tmailReportAt <hh:mm am|pm, hh:mm am|pm, ...>\\n\")\n .append(\"\\tmailReportTo <email address, email address, ...>\\n\")\n .append(\"\\tmailSMTPHost <host name>\\n\")\n .append(\"\\tmailSilentReconnect\\n\")\n .append(\"\\treceipt\\n\").append(\"\\treplace\\n\")\n .append(\"\\tsaferead\\n\").append(\"\\tversion\");\n }\n else if (this._actionId.equals(Constants.AUTOSHOWFILES))\n {\n buf.append(\"[<server group:]<file type> \\n\")\n .append(\"\\t[output <path>] [restart] [using <option file>] {[pull|push]}\\n\")\n .append(\"\\t[format \\'<date format>\\'] [query <queryfile>] [filehandler]\\n\")\n .append(\"\\t[help]\\n\");\n buf.append(\"Option File Format:\\n\")\n .append(\"\\tinvoke <command>\\n\")\n .append(\"\\tinvokeExitOnError\\n\")\n .append(\"\\tinvokeAsync\\n\")\n .append(\"\\tlogFile <file name>\\n\")\n .append(\"\\tlogFileRolling {monthly|weekly|daily|hourly|minutely|halfdaily}\\n\")\n .append(\"\\tmailMessageFrom <email address>\\n\")\n .append(\"\\tmailMessageTo <email address, email address, ...>\\n\")\n .append(\"\\tmailReportAt <hh:mm am|pm, hh:mm am|pm, ...>\\n\")\n .append(\"\\tmailReportTo <email address, email address, ...>\\n\")\n .append(\"\\tmailSMTPHost <host name>\\n\")\n .append(\"\\tmailSilentReconnect\\n\");\n }\n else if (this._actionId.equals(Constants.MAKECLEAN))\n {\n buf.append(\"[<server group>:]<file type> [help]\");\n }\n else if (this._actionId.equals(Constants.DELETEFILE))\n {\n buf.append(\"[<server group>:]<file type> \\'<file name expression>\\' \\n\")\n .append(\"\\t[filehandler] [help]\\n\\n\")\n .append(\"Usage:\\t\").append(this._userScript)\n .append(\" using <option file>\\n\");\n buf.append(\"Option File Format (per line):\\n\")\n .append(\"\\t[<server group>:]<file type> \\'<file name expression>\\'\");\n }\n else if (this._actionId.equals(Constants.SHOWFILES))\n {\n buf.append(\"[<server group>:]<file type> [\\'<file name expression>\\'] \\n\")\n .append(\"\\t{[before|after <date-time>] | [between <date-time1> and <date-time2>]}\\n\")\n .append(\"\\t[format \\'<date format>\\'] {[long | verylong]} \\n\")\n .append(\"\\t[query <queryfile>] [filehandler] [help]\");\n }\n else if (this._actionId.equals(Constants.SETREFERENCE))\n {\n buf.append(\"[<server group>:]<file type> <file name> \\n\")\n .append(\"\\tvft <VFT name> reference <ref name> [help]\");\n }\n else if (this._actionId.equals(Constants.RENAMEFILE))\n {\n buf.append(\"[<server group>:]<file type> <old file name> <new file name>\\n\")\n .append(\"\\t[filehandler] [help]\\n\\n\")\n .append(\"Usage:\\t\")\n .append(this._userScript)\n .append(\" using <option file>\\n\")\n .append(\"Option File Format (per line):\\n\")\n .append(\"\\t[<server group>:]<file type> <old file name> <new file name>\");\n }\n else if (this._actionId.equals(Constants.COMMENTFILE))\n {\n buf.append(\"[<server group>:]<file type> <file name> comment \\n\")\n .append(\"\\t\\'<comment text>\\' [filehandler] [help]\");\n }\n else if (this._actionId.equals(Constants.COMPUTECHECKSUM))\n {\n buf.append(\"<file name expression> [help]\");\n }\n else if (this._actionId.equals(Constants.CHECKFILES))\n {\n buf.append(\"[<server group>:]<file type> [\\'<file name expression>\\']\\n\")\n .append(\"\\t{[before|after <date-time>] | [between <date-time1> and <date-time2>]}\\n\")\n .append(\"\\t[format \\'<date format>\\'] {[long | verylong]} [help]\\n\\n\")\n .append(\"Usage:\\t\")\n .append(this._userScript + \" using <option file>\\n\");\n buf.append(\"Option File Format (per line):\\n\")\n .append(\"\\t[<server group>:]<file type> \\'<file name expression>\\'\\n\")\n .append(\"\\t{[before|after <date-time>] | [between <date-time1> and <date-time2>]}\\n\")\n .append(\"\\t[format \\'<date format>\\'] {[long | verylong]}\");\n }\n else if (this._actionId.equals(Constants.DISPLAY))\n {\n buf.append(\"[<server group>:]<file type> <file name> [help]\");\n }\n else if (this._actionId.equals(Constants.ACCEPT))\n {\n buf.append(\"[<server group>:]<file type> for <add|replace|get|delete>\\n\")\n .append(\"\\t[output <path>] [crc] [saferead] [autodelete] {[replace|version]}\\n\")\n .append(\"\\t[diff] [help]\");\n }\n else if (this._actionId.equals(Constants.SHOWTYPES))\n {\n buf.append(\"{\\'[<server group>:][<file type expression>]\\'|[srvgroups]}\\n\")\n .append(\"\\t[classic] [help]\\n\");\n }\n else if (this._actionId.equals(Constants.CHECK))\n {\n buf.append(\"[help]\");\n }\n else if (this._actionId.equals(Constants.REGISTERFILE))\n {\n buf.append(\"[<server group>:]<file type> <file name expression>\\n\")\n .append(\"\\t[replace] [force] [comment \\'<comment text>\\']\\n\")\n .append(\"\\t{[before|after <date-time>] | [between <date-time1> and <date-time2>]}\\n\")\n .append(\"\\t[format \\'<date format>\\'] [receipt] [filehandler] [help]\\n\\n\")\n .append(\"Usage:\\t\").append(this._userScript)\n .append(\" using <option file>\\n\");\n buf.append(\"Option File Format (per line):\\n\")\n .append(\"\\t[<server group>:]<file type> <file name>... [replace] [force]\\n\")\n .append(\"\\t{[before|after <date-time>] | [between <date-time1> and <date-time2>]}\\n\")\n .append(\"\\t[format \\'<date format>\\'] [comment \\'<comment text>\\'] [receipt]\");\n }\n else if (this._actionId.equals(Constants.UNREGISTERFILE))\n {\n buf.append(\"[<server group>:]<file type> \\'<file name expression>\\' \\n\")\n .append(\"\\t[filehandler] [help]\\n\\n\")\n .append(\"Usage:\\t\").append(this._userScript)\n .append(\" using <option file>\\n\");\n buf.append(\"Option File Format (per line):\\n\")\n .append(\"\\t[<server group>:]<file type> \\'<file name expression>\\'\");\n }\n else if (this._actionId.equals(Constants.LOCKFILETYPE))\n {\n buf.append(\"[<server group>:]<file type> [owner | group] [help]\\n\"); \n }\n else if (this._actionId.equals(Constants.UNLOCKFILETYPE))\n {\n buf.append(\"[<server group>:]<file type> [owner | group] [help]\\n\"); \n }\n else if (this._actionId.equals(Constants.CHANGEPASSWORD))\n {\n buf.append(\"<server group> [help]\\n\"); \n }\n else\n {\n }\n \n \n \n return buf.toString();\n }", "protected String methodString(Method m) {\n if (m == null) return \"(null)\"; // Catch border-case, prevent NPE\n \n Class[] parameters= m.getParameterTypes();\n StringBuffer buf= new StringBuffer()\n .append(m.getReturnType().getName())\n .append(' ')\n .append(m.getName())\n .append(':')\n .append(parameters.length)\n .append(\"(\");\n \n // Append parameter types\n for (Class c: parameters) {\n buf.append(c.getName()).append(\", \");\n }\n if (parameters.length > 0) { \n buf.delete(buf.length() - 2, buf.length());\n }\n \n return buf.append(')').toString();\n }", "public DGUsage getUsage() {\n if (usageBuilder_ == null) {\n return usage_;\n } else {\n return usageBuilder_.getMessage();\n }\n }", "public String toString() {\n\t\treturn methodName;\n\t}", "protected static void printUsage() {\n\t}", "public String usage()\n {\n return (\"Common [optional] options supported by Minitest:\\n\"\n + \"(Note: assumes inputDir=.\\\\tests\\\\api)\\n\"\n + super.usage()); // Grab our parent classes usage as well\n }", "public String methodReturn() {\n\t\t\n\t\treturn \"Executing a method which returns a String Text\";\n\t}", "private String getName() {\n return method.getName();\n }", "public String toString() {\n StringBuffer sb = new StringBuffer();\n sb.append(\"Summary for \");\n sb.append(method.toString());\n sb.append(':');\n sb.append(Strings.lineSep);\n// for (Iterator i=nodes.keySet().iterator(); i.hasNext(); ) {\n// Node n = (Node)i.next();\n// sb.append(\"\\t\");\n// sb.append(n.toString_long());\n// sb.append(Strings.lineSep);\n// }\n if(params != null && params.length > 0) {\n sb.append(\"\\tParams: \");\n sb.append(Arrays.asList(params));\n sb.append(Strings.lineSep);\n }\n if (returned != null && !returned.isEmpty()) {\n sb.append(\"\\tReturned: \");\n sb.append(returned);\n sb.append(Strings.lineSep);\n }\n if (thrown != null && !thrown.isEmpty()) {\n sb.append(\"\\tThrown: \");\n sb.append(thrown);\n sb.append(Strings.lineSep);\n }\n if (calls != null && !calls.isEmpty()) {\n sb.append(\"\\tCalls: \");\n sb.append(calls);\n sb.append(Strings.lineSep);\n }\n return sb.toString();\n }", "public String getFullName() {\n return getFullMethodName(method);\n }", "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 }", "UsagePattern getUsagePattern();", "String getMethod();", "String getMethod();", "java.lang.String getPurpose();", "String getMethodName();", "String getMethodName();", "java.lang.String getMethodName();", "java.lang.String getMethodName();", "java.lang.String getMethodName();", "java.lang.String getMethodName();", "public String getUsage() {\n return \"robot repair --input <file> \" + \"--output <file> \" + \"--output-iri <iri>\";\n }", "protected void showUsage() {\n\n\tStringBuffer usage = new StringBuffer();\n\tusage.append(\"------------------------------------------------------\\n\");\n\tusage.append(\" \" + APP_NAME + \" \" + APP_VERSION + \"\\n\");\n\tusage.append(\"------------------------------------------------------\\n\");\n\tusage.append(\"Prints the Tool Kit name for the given Branch and \\n\");\n\tusage.append(\"Component.\\n\");\n\tusage.append(\"\\n\");\n\tusage.append(\"USAGE:\\n\");\n\tusage.append(\"------\\n\");\n\tusage.append(APP_NAME + \" <-c component> <-b branch> [-y] [-h] [-db dbMode]\\n\");\n\tusage.append(\"\\n\");\n\tusage.append(\" component = Component name (ess, pds, model, einstimer ...).\\n\");\n\tusage.append(\" branch = Branch name.\\n\");\n\tusage.append(\" -y = (optional) Verbose mode (echo messages to screen)\\n\");\n\tusage.append(\" dbMode = (optional) DEV | PROD (defaults to PROD)\\n\");\n\tusage.append(\" -h = Help (shows this information)\\n\");\n\tusage.append(\"\\n\");\n\tusage.append(\"Return Codes\\n\");\n\tusage.append(\"------------\\n\");\n\tusage.append(\" 0 = application ran ok\\n\");\n\tusage.append(\" 1 = application error\\n\");\n\tusage.append(\"\\n\");\n\n\tSystem.out.println(usage);\n\n }", "public void printUsage() {\n printUsage(System.out);\n }", "public java.lang.Object getMethodHelp(String methodName) throws CallError, InterruptedException {\n return (java.lang.Object)service.call(\"getMethodHelp\", methodName).get();\n }", "public String toDetailedString() {\n \t\tStringJoiner joiner = new StringJoiner(\"\\r\\n\");\n \t\tfor (MethodInfo method : methods) {\n \t\t\tjoiner.add(method.toString());\n \t\t}\n \t\treturn joiner.toString();\n \t}", "public String toString() {\n\t\treturn super.toString()+\" for \"+purpose+\" using \";}", "@Override\n\t\tpublic long usage() {\n\t\t\t\n\t\t\treturn super.usage();\n\t\t}", "public static String usageAsString( int usage ){\n\n\n String desc = \"\";\n if ( (usage & KeyUsage.digitalSignature) > 0) desc += \"digitalSignature \";\n if ( (usage & KeyUsage.nonRepudiation) > 0) desc += \"nonRepudiation \";\n if ( (usage & KeyUsage.keyEncipherment) > 0) desc += \"keyEncipherment \";\n if ( (usage & KeyUsage.dataEncipherment) > 0) desc += \"dataEncipherment \";\n if ( (usage & KeyUsage.keyAgreement) > 0) desc += \"keyAgreement \";\n if ( (usage & KeyUsage.keyCertSign) > 0) desc += \"keyCertSign \";\n if ( (usage & KeyUsage.cRLSign) > 0) desc += \"cRLSign \";\n if ( (usage & KeyUsage.encipherOnly) > 0) desc += \"encipherOnly \";\n if ( (usage & KeyUsage.decipherOnly) > 0) desc += \"decipherOnly \";\n\n return (desc);\n }", "public String methodBase() {\n\t\tString tmp = name;\n\t\ttmp = tmp.replaceFirst(\"^get\", \"\");\n\t\ttmp = tmp.replaceFirst(\"^is\", \"\");\n\t\treturn tmp.substring(0,1).toLowerCase()+tmp.substring(1);\n\t}", "private static String getCreateUsage()\n {\n final StringBuilder createUsage = new StringBuilder(200);\n \n createUsage.append(\" create\\n\"\n + \"\\t Syntax:\\n\"\n + \"\\t\\tcreate <Template.Type ClassName> [-d] [-b phys.link.type] \"\n + \"[-k package.name] [directory]\\n\"\n + \"\\n\\t Template Type\\n\"\n + \"\\t\\t-a : Asset template\\n\"\n + \"\\t\\t-p : PhysicalLink template\\n\"\n + \"\\t\\t-l : LinkLayer template\\n\" \n + \"\\t\\t-t : TransportLayer template\\n\\n\"\n + \"\\t Cmd-Options\\n\"\n + \"\\t\\t-d : Use default properties (package, vendor, API, etc.)\\n\"\n + \"\\t\\t-b : If creating a physical link plug-in,\"\n + \" specify the type of physicallink being created. \"\n + \"Available values are: \" + formatPlTypesValueString()\n + \"\\n\\t\\t-k : Set the package name (also used for bundle symbolic name and JAR filename)\\n\"\n + \"\\n\\t directory : Directory to generate plug-in files in. \"\n + \"If none is specified the current working \"\n + \"directory will be used.\\n\\n\");\n \n return createUsage.toString();\n }", "java.lang.String getHowToUse();", "java.lang.String getHowToUse();", "public Future<Object> getMethodHelp(String methodName) throws DynamicCallException, ExecutionException {\n return call(\"getMethodHelp\", methodName);\n }", "public String getStatUse() {\n return statUse.formatRatio(statUse.getRatio());\n }", "public String getHelp() {\r\n String res = \"You can use the following commands:\" + System.getProperty(\"line.separator\");\r\n res += \"Type \\\"north\\\" to go towards the north\" + System.getProperty(\"line.separator\");\r\n res += \"Type \\\"south\\\" to go towards the south\" + System.getProperty(\"line.separator\");\r\n res += \"Type \\\"east\\\" to go towards the south\" + System.getProperty(\"line.separator\");\r\n res += \"Type \\\"west\\\" to go towards the south\" + System.getProperty(\"line.separator\");\r\n res += \"Type \\\"attack\\\" to attack a monster\" + System.getProperty(\"line.separator\");\r\n res += \"Type \\\"look\\\" to look around in the room\" + System.getProperty(\"line.separator\");\r\n res += \"Type \\\"search\\\" to search the room for treasure\" + System.getProperty(\"line.separator\");\r\n res += \"Type \\\"use\\\" to use somthing in your inventory\" + System.getProperty(\"line.separator\");\r\n res += \"Type \\\"gear\\\" to see what gear you got equipped\" + System.getProperty(\"line.separator\");\r\n res += \"Type \\\"inventory\\\" to see what gear you have in your inventory\" + System.getProperty(\"line.separator\");\r\n res += \"Type \\\"savegame\\\" to save your progress\" + System.getProperty(\"line.separator\");\r\n res += \"Type \\\"stop\\\" to quit the game.\" + System.lineSeparator();\r\n return res;\r\n }", "public String getHelp();", "public String getUsageString(int a_usage)\n\t{\n\t\tswitch(a_usage)\n\t\t{\n\t\t\tcase KeyUsage.digitalSignature:\n\t\t\t\treturn TXT_DIGITAL_SIGNATURE;\n\t\t\tcase KeyUsage.nonRepudiation:\n\t\t\t\treturn TXT_NON_REPUDIATION;\n\t\t\tcase KeyUsage.keyEncipherment:\n\t\t\t\treturn TXT_KEY_ENCIPHERMENT;\n\t\t\tcase KeyUsage.dataEncipherment:\n\t\t\t\treturn TXT_DATA_ENCIPHERMENT;\n\t\t\tcase KeyUsage.keyAgreement:\n\t\t\t\treturn TXT_KEY_AGREEMENT;\n\t\t\tcase KeyUsage.keyCertSign:\n\t\t\t\treturn TXT_KEY_CERT_SIGN;\n\t\t\tcase KeyUsage.cRLSign:\n\t\t\t\treturn TXT_CRL_SIGN;\n\t\t\tcase KeyUsage.encipherOnly:\n\t\t\t\treturn TXT_ENCIPHER_ONLY;\n\t\t\tcase KeyUsage.decipherOnly:\n\t\t\t\treturn TXT_DECIPHER_ONLY;\n\t\t\tdefault:\n\t\t\t\treturn null;\n\t\t}\n\t}", "private static String getMethodDescShort(String desc) {\n if (desc == null || desc.length() == 0) {\n return desc;\n }\n int bracketIndex = desc.indexOf(\"(\");\n if (bracketIndex < 0) {\n return desc;\n }\n int startIndex = desc.lastIndexOf(' ', bracketIndex - 2);\n if (startIndex < 0) {\n return desc;\n }\n return desc.substring(startIndex + 1);\n }", "@AutoEscape\n\tpublic String getUsageType();", "public String formatUses() {\n return statUse.formatDenominator();\n }", "@Override\r\n public String getUsage() {\r\n return String.format(\"%s <%s> %s%s <%s>\", super.getCommand(), super.getArgumentName(), FLAG_PREFIX, flagOption,\r\n flagName);\r\n }", "public String getUsage(String name) throws CallError, InterruptedException {\n return (String)service.call(\"getUsage\", name).get();\n }", "private static String printMethod(Method method) {\n StringBuilder builder = new StringBuilder();\n\n builder.append(method.getName());\n builder.append(\"( \");\n for (Class<?> param : method.getParameterTypes()) {\n builder.append(param.getSimpleName() + \" \");\n }\n builder.append(\")\");\n return builder.toString();\n }", "String getSourceUsageURL();", "public DGUsage getUsage() {\n return usage_;\n }", "static String invokingMethod(ContributionDef def)\n {\n return MESSAGES.format(\"invoking-method\", def);\n }", "String getHelpString();", "@Override\n public String toString() {\n return (\"Command \" + this.getCommandName().toUpperCase() + \":\\n\" + this\n .commandDocumentation());\n }", "public Future<String> getUsage(String name) throws DynamicCallException, ExecutionException {\n return call(\"getUsage\", name);\n }", "void info(String s) {\n System.out.println(s + \": E16_OverloadJavaDoc is \"\n + height + \" feet tall\");\n }", "@Override\n public int getMethod() {\n writeline(\"/home/ubuntu/results/coverage/ZipArchiveEntry/ZipArchiveEntry_5_10.coverage\", \"b89def63-26ff-4cb0-98cc-9b6cee3e0e29\");\n return method;\n }", "public String getMethodName() {\n return LOG_TAG + \":\" + this.getClass().getSimpleName() + \".\" + new Throwable().getStackTrace()[1].getMethodName();\n }", "public String getMethod ()\n {\n return method;\n }", "public String getUsageType() {\n return this.usageType;\n }", "@Override\n public String toString() {\n StringBuilder builder = new StringBuilder();\n builder.append(accessType.toString());\n if(staticMethod)\n builder.append(\" static \");\n else\n builder.append(\" \");\n builder.append(returnTypeName);\n builder.append(\" \");\n builder.append(name);\n builder.append(\"(\");\n if(arguments != null) {\n Iterator<String> it = arguments.iterator();\n if(it.hasNext()) {\n builder.append(it.next());\n }\n while(it.hasNext()) {\n builder.append(\", \");\n builder.append(it.next());\n }\n }\n builder.append(\")\");\n return builder.toString().trim();\n }", "public void method(String name) {\n System.out.printf(\"Called method with parameters %s \\n\", name);\n }", "public static void showUsage() {\n System.out.printf(\"java app.App (-a | -r | -c | +WORD | ?WORD)\");\n }", "public static String asString(Method method)\n {\n StringBuilder buffer = new StringBuilder();\n \n buffer.append(method.getDeclaringClass().getName());\n buffer.append('.');\n buffer.append(method.getName());\n buffer.append('(');\n \n for (int i = 0; i < method.getParameterTypes().length; i++)\n {\n if (i > 0)\n buffer.append(\", \");\n \n String name = method.getParameterTypes()[i].getSimpleName();\n \n buffer.append(name);\n }\n \n return buffer.append(')').toString();\n }", "private static String callMethodAndLine() {\n\t\tStackTraceElement thisMethodStack = (new Exception()).getStackTrace()[4];\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb\n.append(AT)\n\t\t\t\t.append(thisMethodStack.getClassName() + \".\")\n\t\t\t\t.append(thisMethodStack.getMethodName())\n\t\t\t\t.append(\"(\" + thisMethodStack.getFileName())\n\t\t\t\t.append(\":\" + thisMethodStack.getLineNumber() + \") \");\n\t\treturn sb.toString();\n\t}", "@Override\n\t\tpublic String buildBasicMethod() {\n\t\t\treturn buildMethod();\n\t\t}", "private static void printUsage()\n {\n HelpFormatter hf = new HelpFormatter();\n String header = String.format(\n \"%nAvailable commands: ring, cluster, info, cleanup, compact, cfstats, snapshot [name], clearsnapshot, bootstrap\");\n String usage = String.format(\"java %s -host <arg> <command>%n\", NodeProbe.class.getName());\n hf.printHelp(usage, \"\", options, header);\n }", "public Object getMethodHelp(String methodName) throws DynamicCallException, ExecutionException {\n return (Object)call(\"getMethodHelp\", methodName).get();\n }", "public java.lang.String getUsageMd () {\n\t\treturn usageMd;\n\t}", "public abstract String commandDocumentation();", "public static void usage () {\n System.out.println(\"Usage:\");\n System.out.println(\" i[nformation]\");\n System.out.println(\" r[egister] <course>\");\n System.out.println(\" u[nregister] <course>\");\n System.out.println(\" q[uit]\");\n }", "@objid (\"f29e2e4a-e5e9-43fa-b193-525c198df148\")\n EList<Message> getUsage();", "public static String getFullMethodPath () \t{\n\t\t\n\t\treturn Thread.currentThread().getStackTrace()[2].toString();\n\t}", "public static String getDesc(Method m)\n\t{\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(m.getName());\n\t\tsb.append('(');\n\t\t\n\t\tClass<?>[] types = m.getParameterTypes();\n\t\tfor (Class<?> type : types) \n\t\t{\n\t\t\tsb.append(getDesc(type));\n\t\t}\n\t\tsb.append(')');\n\t\tsb.append(getDesc(m.getReturnType()));\n\t\t\n\t\treturn sb.toString();\n\t}", "public String getMethodName() {\r\n return _methodName;\r\n }", "@Override\n public String showHelp()\n {\n return new String(ChatColour.RED + \"Usage: \" + ChatColour.AQUA + this.getName());\n }", "static String toString(int kind, Class<?> defc, String name, MethodType type) {\n\t\treturn referenceKindToString(kind) + \" \" + defc.getName() + \".\" + name + \":\" + type; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$\n\t}", "@Override\n public String toString() {\n return String.format(\"REIL function %s\", getName());\n }", "public java.lang.String getHowToUse() {\n java.lang.Object ref = howToUse_;\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 howToUse_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getHowToUse() {\n java.lang.Object ref = howToUse_;\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 howToUse_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String getMethodName() {\n return methodName;\n }", "public String getMethodName() {\n return methodName;\n }", "public abstract String getHelpInfo();", "@Override\n public String toString() {\n return getClass().getSimpleName() + \": call $\" + name.signatureName + (comment == null ? \"\" : \" ;; \\\"\" + comment + \"\\\"\");\n }", "public String toString()\n {\n // import Component.Application.Console.Coherence;\n \n return \"RefAction{Method=\" + getMethod().getName() + \", Target=\" + getTarget() +\n \", Args=\" + Coherence.toString(getArguments()) + '}';\n }", "String description();", "String description();", "String description();", "String description();", "String description();", "String description();", "String description();", "String description();", "String description();", "String description();", "String description();" ]
[ "0.71555215", "0.71132785", "0.6458504", "0.6438013", "0.63580984", "0.63150096", "0.62658715", "0.62518984", "0.6214874", "0.6175339", "0.6160559", "0.6110688", "0.6078053", "0.6075324", "0.60255647", "0.6011289", "0.59446317", "0.59353507", "0.5892991", "0.584646", "0.58391243", "0.57917166", "0.57917166", "0.57894903", "0.57594407", "0.57594407", "0.5756593", "0.5756593", "0.5756593", "0.5756593", "0.5747816", "0.57146573", "0.5703072", "0.567414", "0.56726736", "0.5669003", "0.56582254", "0.56185925", "0.55784875", "0.55701464", "0.55697185", "0.55697185", "0.5562453", "0.5547374", "0.5545737", "0.55247843", "0.55152225", "0.5505405", "0.54974306", "0.5487139", "0.5485767", "0.5483944", "0.54590636", "0.54533917", "0.5437823", "0.5430362", "0.5424636", "0.54135656", "0.54128975", "0.541213", "0.5401507", "0.5394443", "0.5392864", "0.53882015", "0.538794", "0.53849375", "0.5379584", "0.53684074", "0.53664875", "0.5363223", "0.5335932", "0.5331696", "0.5323666", "0.53235835", "0.530798", "0.53071177", "0.5305328", "0.52898073", "0.52847135", "0.5275983", "0.5268276", "0.52649325", "0.52562666", "0.52562666", "0.52515864", "0.52515864", "0.52371013", "0.5228972", "0.52228576", "0.5219889", "0.5219889", "0.5219889", "0.5219889", "0.5219889", "0.5219889", "0.5219889", "0.5219889", "0.5219889", "0.5219889", "0.5219889" ]
0.58888495
19
Performs the texttospeech operations : it takes a std::string as input and outputs a sound in both speakers. String encoding must be UTF8.
public void say(String stringToSay) throws DynamicCallException, ExecutionException{ call("say", stringToSay).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void ConvertTextToSpeech(String voice1) {\n text=voice1;\n //text = et.getText().toString();\n if (text == null || \"\".equals(text)) {\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n } else\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", "void playSpeech(String rawText);", "public interface Text2Speech {\n\t\n\t/**\n\t * Supported formats.\n\t */\n\tenum OutputFormat {\n\t\t/**\n\t\t * MP3 format.\n\t\t */\n\t\tMP3,\n\t\t/**\n\t\t * Ogg-vorbis format.\n\t\t */\n\t\tOGG\n\t}\n\t\n\t/**\n\t * Produce MP3 with specified phrase.\n\t * \n\t * @param phrase Some sentence.\n\t * @return MP3 stream (may be network bound, close afterwards)\n\t */\n\tInputStream synthesize(String phrase, OutputFormat fmt) throws IOException;\n}", "private void convertTextToSpeech(String text) {\n if (null == text || \"\".equals(text)) {\n text = \"Please give some input.\";\n }\n m_tts.speak(text, TextToSpeech.QUEUE_ADD, null);\n }", "private void tts(String str){\n\t\ttxtSpeechInput.setText(str);\n\t\tt1.speak(str , TextToSpeech.QUEUE_FLUSH, null);\n\t\twhile(t1.isSpeaking()){\n\t\t\t;\n\t\t}\n\t}", "private boolean convert(String text,String directory,String fileName) {\r\n\t\t\r\n\t\tif(!text.isEmpty()) {\t\t\t\r\n\t\t\tFile file = new File(directory,fileName);\r\n\t\t\t\r\n\t\t\t// create mp3 file with this weather announcement\r\n\t\t\tlog.fine(\"text to speech conversion: text=\"+text+\" filename=\"+file);\r\n\t\t\t\r\n\t\t\t// translate into mp3 stream\r\n\t\t\ttry{\r\n\t text=java.net.URLEncoder.encode(text, \"UTF-8\");\r\n\t //URL url = new URL(\"http://translate.google.com/translate_tts?tl=de&ie=UTF-8&q=\"+text+\"&total=1&idx=0&client=alarmpi\");\r\n\t \r\n\t Map<String, String> requestParams = new HashMap<>();\r\n\t requestParams.put(\"key\", \"f5d762f987f34397b350af6563ffb818\");\r\n\t requestParams.put(\"hl\", \"de-de\");\r\n\t requestParams.put(\"c\", \"MP3\");\r\n\t requestParams.put(\"src\", text);\r\n\t \r\n\t\t\t\tString encodedURL = requestParams.keySet().stream()\r\n\t \t .map(key -> key + \"=\" + requestParams.get(key))\r\n\t \t .collect(Collectors.joining(\"&\", \"http://api.voicerss.org?\", \"\"));\r\n\t \r\n\t URL url = new URL(encodedURL);\r\n\t log.fine(\"URL=\"+encodedURL);\r\n\t \r\n\t HttpURLConnection urlConn = (HttpURLConnection) url.openConnection();\r\n\t urlConn.addRequestProperty(\"User-Agent\", \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36\");\r\n\t InputStream audioSrc = urlConn.getInputStream();\r\n\t DataInputStream read = new DataInputStream(audioSrc);\r\n\t OutputStream outstream = new FileOutputStream(file);\r\n\t byte[] buffer = new byte[1024];\r\n\t int len;\r\n\t int totalLength = 0;\r\n\t while ((len = read.read(buffer)) > 0) {\r\n\t \toutstream.write(buffer, 0, len);\r\n\t \ttotalLength += len;\r\n\t }\r\n\t outstream.close();\r\n\t log.fine(\"text2speech byteount=\"+totalLength);\r\n\t \r\n\t if(totalLength<1024) {\r\n\t \t// this indicates a problem...\r\n\t \tlog.severe(\"text2speech conversion returns less than 1k data\");\r\n\t }\r\n\t \r\n\t \t\t// update mpd database\r\n\t SoundControl.getSoundControl().update();\r\n\t \r\n\t return true;\r\n\t\t\t} catch(IOException e){\r\n\t\t\t\tlog.severe(\"Exception in text to speech conversion: \"+e.getMessage());\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\telse {\r\n\t\t\tlog.warning(\"Text to speech conversion called with empty text\");\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "private void ConvertTextToSpeech() {\n if (properties.get(selectedStateOrCountry) != null) {\n tts.speak(String.format(\"This is %s %s\", selectedStateOrCountry, properties.get(selectedStateOrCountry)),\n TextToSpeech.QUEUE_FLUSH, null);\n\n } else if (countryCapitalMap.get(selectedStateOrCountry) != null) {\n tts.speak(countryCapitalMap.get(selectedStateOrCountry), TextToSpeech.QUEUE_FLUSH, null);\n } else {\n tts.speak(selectedStateOrCountry, TextToSpeech.QUEUE_FLUSH, null);\n }\n }", "private void speak(String s, String text) {\n if (Utility.getInstance().isOnline(mContext)) {\n try {\n float pitch = (float) 0.62;\n float speed = (float) 0.86;\n textToSpeech.setSpeechRate(speed);\n textToSpeech.setPitch(pitch);\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n Bundle bundle = new Bundle();\n bundle.putInt(TextToSpeech.Engine.KEY_PARAM_STREAM, AudioManager.STREAM_MUSIC);\n textToSpeech.speak(s, TextToSpeech.QUEUE_FLUSH, bundle, null);\n textToSpeech.speak(text, TextToSpeech.QUEUE_ADD, bundle, null);\n } else {\n HashMap<String, String> param = new HashMap<>();\n param.put(TextToSpeech.Engine.KEY_PARAM_STREAM, String.valueOf(AudioManager.STREAM_MUSIC));\n textToSpeech.speak(s, TextToSpeech.QUEUE_FLUSH, param);\n textToSpeech.speak(text, TextToSpeech.QUEUE_ADD, param);\n }\n } catch (Exception ae) {\n ae.printStackTrace();\n }\n } else {\n Toast.makeText(mContext, getString(R.string.please_check_internet), Toast.LENGTH_SHORT).show();\n }\n }", "public void speak(String text);", "public void speak(String outputSpeak) \n {\n speaker.speaker(outputSpeak);\n }", "@SuppressWarnings(\"unchecked\")\n public void speak(String text) throws JavaLayerException {\n\t\ttry {\n \n //Create a JLayer instance\n AdvancedPlayer player = new AdvancedPlayer(synthesizer.getMP3Data(text));\n player.play();\n \n } catch (IOException e) {\n \n }\n\t\t\n\t}", "private void speakOut(String text) {\n\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", "@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)\n private void speakWords(String speech) {\n myTTS.speak (speech, TextToSpeech.QUEUE_FLUSH, null,\"1\");\n\n }", "@Override\n protected synchronized void onSynthesizeText(SynthesisRequest request,\n SynthesisCallback callback) {\n int load = onLoadLanguage(request.getLanguage(), request.getCountry(),\n request.getVariant());\n\n // We might get requests for a language we don't support - in which case\n // we error out early before wasting too much time.\n if (load == TextToSpeech.LANG_NOT_SUPPORTED) {\n callback.error();\n return;\n }\n\n // At this point, we have loaded the language we need for synthesis and\n // it is guaranteed that we support it so we proceed with synthesis.\n\n // We denote that we are ready to start sending audio across to the\n // framework. We use a fixed sampling rate (16khz), and send data across\n // in 16bit PCM mono.\n callback.start(SAMPLING_RATE_HZ,\n AudioFormat.ENCODING_PCM_16BIT, 1 /* Number of channels. */);\n\n // We then scan through each character of the request string and\n // generate audio for it.\n final String text = request.getText().toLowerCase();\n for (int i = 0; i < text.length(); ++i) {\n char value = normalize(text.charAt(i));\n // It is crucial to call either of callback.error() or callback.done() to ensure\n // that audio / other resources are released as soon as possible.\n if (!generateOneSecondOfAudio(value, callback)) {\n callback.error();\n return;\n }\n }\n\n // Alright, we're done with our synthesis - yay!\n callback.done();\n }", "private void speakout(String cname) \n{\n\t{t1.speak(cname,TextToSpeech.QUEUE_FLUSH,null);\n\tt1.setLanguage(Locale.ENGLISH);\n\t}\n}", "public void speakText(String text) {\n mTTS.setPitch(1);\n mTTS.setSpeechRate(1);\n mTTS.speak(String.format(\"Okay! Searching for %s\", text),\n TextToSpeech.QUEUE_FLUSH, null);\n }", "public static void speak(Context context, final String text) {\n Log.d(TAG, \"Speak : \" + text);\n if (mTTSEngine == null) {\n mTTSEngine = new TextToSpeech(context, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int i) {\n if (i == TextToSpeech.SUCCESS) {\n mTTSEngine.setLanguage(Locale.US);\n mTTSEngine.setPitch(1f);\n mTTSEngine.setSpeechRate(1f);\n\n mTTSEngine.speak(text, TextToSpeech.QUEUE_ADD, null, UTTERANCE_ID);\n } else {\n mTTSEngine = null;\n }\n }\n });\n } else {\n mTTSEngine.speak(text, TextToSpeech.QUEUE_ADD, null, UTTERANCE_ID);\n }\n }", "private static String transcribe(String filePath) throws Exception {\n try (SpeechClient speech = SpeechClient.create()) {\n Path path = Paths.get(filePath);\n byte[] data = Files.readAllBytes(path);\n ByteString audioBytes = ByteString.copyFrom(data);\n\n // Configure request with local raw PCM audio\n RecognitionConfig config =\n RecognitionConfig.newBuilder()\n .setEncoding(SPEECH_ENCODING)\n .setLanguageCode(SPEECH_LANGUAGE_CODE)\n .setSampleRateHertz(SPEECH_SAMPLE_RATE)\n .build();\n RecognitionAudio audio = RecognitionAudio.newBuilder().setContent(audioBytes).build();\n\n // Use blocking call to get audio transcript\n RecognizeResponse response = speech.recognize(config, audio);\n List<SpeechRecognitionResult> results = response.getResultsList();\n\n for (SpeechRecognitionResult result : results) {\n // There can be several alternative transcripts for a given chunk of speech. Just use the\n // first (most likely) one here.\n SpeechRecognitionAlternative alternative = result.getAlternativesList().get(0);\n return alternative.getTranscript();\n }\n }\n return \"\";\n }", "public void transcribe (String utterance, float confidence) \n{\n //println(utterance);\n if (!utterance.equals(\"\"))\n {\n result = utterance;\n ListenForKeywords(result);\n println(result);\n inputResult = result;\n result = \"\";\n \n //CheckCommandValidity(result);\n \n }\n}", "public synchronized AudioInputStream stringToSound(String sentence) throws CaptchaException {\n //use the custom (see inner class) InputStreamAudioPlayer, which provide interface to\n // Audio Stream\n InputStreamAudioPlayer audioPlayer = new InputStreamAudioPlayer();\n\n this.voice.setAudioPlayer(audioPlayer);\n\n // Synthesize speech.\n this.voice.speak(sentence);\n\n AudioInputStream ais = audioPlayer.getAudioInputStream();\n return ais;\n }", "private void speakOut() {\n\n tts.speak(\"Hello I am jessie\", TextToSpeech.QUEUE_FLUSH, null);\n tts.setLanguage(Locale.ENGLISH);\n //tts.setPitch(9);\n tts.setSpeechRate(1);\n }", "@Override\n public void onClick(View v) {\n StringRequest stringRequest = searchNameStringRequest(output.getText().toString(),\"en\",\"ar\");\n\n\n\n // executing the request (adding to queue)\n queue.add(stringRequest);\n\n String toSpeak = output.getText().toString();\n\n t1.speak(toSpeak, TextToSpeech.QUEUE_FLUSH, null);\n }", "private void speakExtractedText(TextToSpeech tts, String fileTextContent){\n Bundle dataMap = new Bundle();\n dataMap.putFloat(TextToSpeech.Engine.KEY_PARAM_PAN, 0f);\n dataMap.putFloat(TextToSpeech.Engine.KEY_PARAM_VOLUME, 1f);\n dataMap.putInt(TextToSpeech.Engine.KEY_PARAM_STREAM, AudioManager.STREAM_VOICE_CALL);\n\n\n tts.speak(fileTextContent, TextToSpeech.QUEUE_FLUSH, dataMap, FRAGMENT_GENERAL_UTTERANCE_ID);\n }", "private boolean synthesizeToFile(String text, ArrayList<String> params,\n String filename, boolean calledFromApi) {\n // Only stop everything if this is a call made by an outside app trying\n // to\n // use the API. Do NOT stop if this is a call from within the service as\n // clearing the speech queue here would be a mistake.\n if (calledFromApi) {\n stop();\n }\n Log.i(\"TTS\", \"Synthesizing to \" + filename);\n boolean synthAvailable = false;\n try {\n synthAvailable = synthesizerLock.tryLock();\n if (!synthAvailable) {\n return false;\n }\n // Don't allow a filename that is too long\n if (filename.length() > MAX_FILENAME_LENGTH) {\n return false;\n }\n nativeSynth.synthesizeToFile(text, filename);\n } finally {\n // This check is needed because finally will always run; even if the\n // method returns somewhere in the try block.\n if (synthAvailable) {\n synthesizerLock.unlock();\n }\n }\n Log.i(\"TTS\", \"Completed synthesis for \" + filename);\n return true;\n }", "public boolean speak(String text) {\n\treturn speak(new FreeTTSSpeakableImpl(text));\n }", "private void speak() {\n if(textToSpeech != null && textToSpeech.isSpeaking()) {\n textToSpeech.stop();\n }else{\n textToSpeech = new TextToSpeech(activity, this);\n }\n }", "@Override\n public void onInit(int status) {\n\t \n\tif (status == TextToSpeech.SUCCESS) {\n\t\t \n int result = mTts.setLanguage(Locale.US);\n if (result != TextToSpeech.LANG_MISSING_DATA && result != TextToSpeech.LANG_NOT_SUPPORTED) {\n \tspokenText += spokenText+\"\"+spokenText+\"\";\n // mTts.speak(\"Dear sir your class is finished!! Dear sir your class is finished!! Dear sir your class is finished!!\", TextToSpeech.QUEUE_FLUSH, null);\n mTts.speak(spokenText, TextToSpeech.QUEUE_FLUSH, null);\n } \n } \n\t \n}", "private void speakout(String cname) \n\t\t\t{\n\t\t\t\t{t1.speak(cname,TextToSpeech.QUEUE_FLUSH,null);\n\t\t\t\tt1.setLanguage(Locale.ENGLISH);\n\t\t\t\t}\n\t\t\t}", "public String speak(){\n speechOutput.clear();\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Just speak normally into your phone\");\n intent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, 10);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.ENGLISH);\n try {\n startActivityForResult(intent, VOICE_RECOGNITION);\n } catch (ActivityNotFoundException e) {\n e.printStackTrace();\n }\n\n\n return speechResult;\n }", "@Override\n public void onClick(View v) {\n text_to_speech = set_voice(text_to_speech);\n int len = ar.length;\n for (int i = 0; i < len; i++){\n speak(text_to_speech,ar[i]);\n }\n }", "public interface ITextToSpeech {\n\n /* loaded from: classes.dex */\n public interface TextToSpeechCallback {\n void onFailure();\n\n void onSuccess();\n }\n\n boolean isInitialized();\n\n int isLanguageAvailable(Locale locale);\n\n void onDestroy();\n\n void onResume();\n\n void onStop();\n\n void setPitch(float f);\n\n void setSpeechRate(float f);\n\n void speak(String str, Locale locale);\n}", "public interface TTSController {\n\t\n\t/**\n\t * Plays the given string of text as speech.\n\t */\n\tvoid playSpeech(String rawText);\n\t\n}", "private void speak() {\n String s = textArea.getText();\n String s5=\"images\\\\\";\n String s4=\".jpeg\";\n String obj=s5+s+s4;\n ImageIcon ic1=new ImageIcon(obj);\n Image image1=ic1.getImage().getScaledInstance(image.getWidth(),image.getHeight(),Image.SCALE_AREA_AVERAGING);\n ImageIcon icon1=new ImageIcon(image1);\n image.setIcon(icon1);\n int i = textArea.getCaretPosition();\n int k = s.length();\n for (int j = i; j <= k - 1; j++) {\n char c = s.charAt(j);\n String s3 = Character.toString(c);\n s2 = s2 + s3;\n }\n VoiceManager voiceManager = VoiceManager.getInstance();\n helloVoice = voiceManager.getVoice(\"kevin16\");\n helloVoice.allocate();\n helloVoice.speak(s2);\n helloVoice.deallocate();\n playB.setText(\"PLAY\");\n }", "public abstract WordAudioDocument convertToAudioDocument(TextDocument doc) throws IOException;", "public static void oralOutput(String text)\n\t{\n\t\tSystem.setProperty(\"mbrola.base\",\"E:\\\\Automation\\\\mbrola\");\n\t\tVoiceManager vm=VoiceManager.getInstance();\n\t\tVoice v=vm.getVoice(\"mbrola_us1\"); //or kevin16\n\t\tv.allocate();\n\t\tv.speak(text);\n\t\tv.deallocate();\n\t}", "private void setTextTospeech() {\n textToSpeech = new TextToSpeech(mContext, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n Set<Locale> languages = textToSpeech.getAvailableLanguages();\n if (language.toLowerCase().contains(langaugeCodeEnglish)) {\n int result = textToSpeech.setLanguage(new Locale(\"en\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n //Toast.makeText(mContext, result + \" is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n }\n } else {\n int result = textToSpeech.setLanguage(new Locale(\"hi\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n result = textToSpeech.setLanguage(Locale.forLanguageTag(\"hin\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n\n // Toast.makeText(mContext, result + \"Language is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \"Language is not supported\");\n }\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n if (result == TextToSpeech.LANG_NOT_SUPPORTED) {\n showTtsLanuageNSDialog();\n }\n }\n }\n }\n });\n }", "@FXML\r\n void btnspeechClick(MouseEvent event) {\n \t\r\n \t setService();\r\n setHeader();\r\n \r\n System.out.println(service);\r\n \r\n InputStream stream = service.synthesize(\r\n taContent.getText(), // 변경할 문자열\r\n \tVoice.EN_LISA, // voice 선택\r\n \tAudioFormat.WAV // 출력할 오디오 포멧 형식 \r\n ).execute();\r\n // 음성데이터를 저장하기\r\n try {\r\n InputStream in = WaveUtils.reWriteWaveHeader(stream);\r\n //WaveUtils.\r\n \r\n OutputStream os = new FileOutputStream(\"d:/d_other/AIData/test12.wav\");\r\n \r\n byte[] tmp = new byte[1024];\r\n int len = 0;\r\n \r\n while((len = in.read(tmp)) != -1) {\r\n os.write(tmp, 0, len);\r\n }\r\n os.flush();\r\n \r\n os.close();\r\n in.close();\r\n stream.close();\r\n \r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n }\r\n \r\n music();\r\n\r\n }", "public interface TextSpeakLogicInterface {\n\n public void speakOut(String text);\n public void stopSpeak();\n\n}", "private void speak() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM) ;\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Speak the Item\");\n\n startActivityForResult(intent, SPEECH_REQUEST_CODE);\n\n }", "private void addSpeech(String text, String filename) {\n mUtterances.put(text, new SoundResource(filename));\n }", "public interface TTSService {\r\n void TTS(String word);\r\n}", "private void sayHello() {\n\n\t\tmTts.speak(translatedText, TextToSpeech.QUEUE_FLUSH, // Drop allpending\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// entries in\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// the playback\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// queue.\n\t\t\t\tnull);\n\t}", "private void speak(String text, int queueMode, ArrayList<String> params) {\n if (queueMode == 0) {\n stop();\n }\n mSpeechQueue.add(new SpeechItem(text, params, SpeechItem.TEXT));\n if (!mIsSpeaking) {\n processSpeechQueue();\n }\n }", "String sound();", "public void addSpeechFile(String text, String filename) {\n mSelf.addSpeech(text, filename);\n }", "public abstract void addWordAudio(WordAudio audio) throws IOException;", "void playTone(){\n t = new Thread() {\n public void run(){\n isRunning = true;\n setPriority(Thread.MAX_PRIORITY);\n\n\n\n audioTrack.play();\n\n for (int i = 0; i < message.length(); i++) {\n\n ASCIIBreaker breaker = new ASCIIBreaker((int)message.charAt(i));\n\n int frequencies[] = breaker.ASCIIToFrequency();\n\n //Generate waves for all different frequencies\n for(int fre : frequencies) {\n audioTrack.write(generateSineInTimeDomain(fre),0,sample_size);\n }\n\n audioTrack.write(generateSineInTimeDomain(7000),0,sample_size);\n }\n\n audioTrack.stop();\n audioTrack.release();\n }\n };\n t.start();\n }", "public void onTick(long millisUntilFinished) {\n\n t1.speak(String.valueOf(millisUntilFinished/1000),TextToSpeech.QUEUE_ADD, null);\n while(t1.isSpeaking());\n }", "private void askSpeechInput() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT,\n \"Hi speak something\");\n speakOut(\"Open Mic\");\n try {\n startActivityForResult(intent, REQ_CODE_SPEECH_INPUT);\n } catch (ActivityNotFoundException a) {\n\n }\n }", "InputStream synthesize(String phrase, OutputFormat fmt) throws IOException;", "public void speakOut(final String text){\n\t\tif (listener != null){\n\t\t\thandler.post(new Runnable() {\n\t\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\tlistener.speakOut(text.trim());\t\t\t\t\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}", "public abstract void startVoiceRecognition(String language);", "static void speak(String words) {\n\t\ttry {\n\t\t\tRuntime.getRuntime().exec(\"say \" + words).waitFor();\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public void speak(String speech)\n\t{\n\t\tif (ttsReady)\n\t\t{\n\t\t\ttts.speak(speech, TextToSpeech.QUEUE_FLUSH, null);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tUtils.makeLog(\"Tried to speak before TTS was ready\");\n\t\t}\n\t}", "void TranslateToTurkish() {\n // Check wheter the device language is English\n if(Locale.getDefault().getDisplayLanguage() == \"en\"){ // Don't do anything if it is English\n }\n else { // Translate to device language (For now just Turkish)\n final Handler textViewHandler = new Handler();\n new AsyncTask<Void, Void, Void>() {\n @Override\n protected Void doInBackground(Void... params) {\n TranslateOptions options = TranslateOptions.newBuilder()\n .setApiKey(googleApiKey)\n .build();\n Translate translate = options.getService();\n final Translation translation =\n translate.translate(textToSpeechInputText,\n Translate.TranslateOption.targetLanguage(\"tr\"));\n textViewHandler.post(new Runnable() {\n @Override\n public void run() {\n Log.d(\"Translated text:\", translation.getTranslatedText().toString());\n textToSpeechInputText = translation.getTranslatedText().toString();\n Log.d(\"Output\", textToSpeechInputText);\n //Speak of the result\n Speak(textToSpeechInputText);\n state = 2; // Turn state to speaking the result\n }\n });\n return null;\n }\n }.execute();\n }\n }", "public void run() {\n\t\t\t Publisher<std_msgs.String> publisher = ROSControl.getPublisher(rosTopic);\n\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\tint maxSentenceLength = 90; // in terms of the number of characters\n\t\t\t\t\tint timer = 0;\n\t\t\t\t\tint maxWaitingTime = 100; // 100 x sleep(100) = 10 seconds\n\t\t\t\t\tArrayList<String> sentences = splitUtterance(output, maxSentenceLength);\n\t\t\t\t\t\n\t\t\t\t\t// ==================================== Just in case if the robot is currently speaking, wait for it to finish, halt when timeout ==================================== //\n\t\t\t\t\tif (ChatBot.isSpeaking) {\n\t\t\t\t\t\tlog.debug(\"+++++ Waiting for the current speech to finish +++++\");\n\t\t\t\t\t\tlog.debug(\"\\\"\" + output + \"\\\" is in the queue...\");\n\t\t\t\t\t\t\n\t\t\t\t\t\twhile (ChatBot.isSpeaking && timer < maxWaitingTime) {\n\t\t\t\t\t\t\ttimer++;\n\t\t\t\t\t\t\tThread.sleep(100);\n\t\t\t\t\t\t\tif (timer >= maxWaitingTime) log.warning(\"+++++ TIMEOUT! +++++\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t// ==================================== Send out the utterance sentence by sentence ==================================== //\n\t\t\t\t\tStopTheThread:\n\t\t\t\t\tfor (int i = 0; i < sentences.size(); i++) {\n\t\t\t\t\t\t// Send the next sentence when the the first sentence is finished\n\t\t\t\t\t\tif (i != 0) {\n\t\t\t\t\t\t\twhile (!ChatBot.sendNextSentence) {\n\t\t\t\t\t\t\t\t// Wait until it is allowed to send the next sentence\n\t\t\t\t\t\t\t\tThread.sleep(100);\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t// If a \"shut up\" signal is received, stop the thread from sending the rest of the sentences\n\t\t\t\t\t\t\t\tif (ChatBot.shutUp) {\n\t\t\t\t\t\t\t\t\tChatBot.shutUp = false;\n\t\t\t\t\t\t\t\t\tlog.warning(\"<< The speech is interrupted >>\");\n\t\t\t\t\t\t\t\t\tbreak StopTheThread;\n\t\t\t\t\t\t\t\t}\n\t\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\tString sentence = sentences.get(i);\n\t\t\t\t\t\tstd_msgs.String pubStr = publisher.newMessage();\n\t\t\t\t\t\tpubStr.setData(sentence);\n\t\t\t\t\t\tThread.sleep(130);\n\t\t\t\t\t\t\n\t\t\t\t\t\tChatBot.isSpeaking = true;\n\t\t\t\t\t\tlog.debug(\"Publishing: \" + sentence);\n\t\t\t\t\t\tpublisher.publish(pubStr);\n\t\t\t\t\t\tChatBot.sendNextSentence = false;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t// ==================================== Wait for the last sentence to finish, halt when timeout ==================================== //\n\t\t\t\t\tChatBot.speakingTheLastSentence = true;\n\t\t\t\t\tlog.debug(\"+++++ Waiting for the last sentence to finish +++++\");\n\t\t\t\t\ttimer = 0;\n\t\t\t\t\twhile (!ChatBot.sendNextSentence && timer < maxWaitingTime) {\n\t\t\t\t\t\ttimer++;\n\t\t\t\t\t\tThread.sleep(100);\n\t\t\t\t\t\tif (timer >= maxWaitingTime) log.warning(\"+++++ TIMEOUT! +++++\");\n\t\t\t\t\t}\n\t\t\t\t\tlog.debug(\"+++++ Last sentence finished +++++\");\n\t\t\t\t\tChatBot.isSpeaking = false;\n\t\t\t }\n\t\t\t \n\t\t\t catch(InterruptedException e) {\n\t\t\t \te.printStackTrace();\n\t\t\t }\n\t\t\t}", "@Override\n public int playTTSText(String speech, int bPreempt) {\n Log.e(\"test_TTS\", \"playTTSText\" + \"_\" + speech + \"_\" + bPreempt);\n\n return 1;\n }", "@Override\n public int playTTSText(String speech, int bPreempt) {\n Log.e(\"test_TTS\", \"playTTSText\" + \"_\" + speech + \"_\" + bPreempt);\n\n return 1;\n }", "public void setAudioEncoding(String s) {\n audioEncoding = s;\n }", "public interface TextToSpeechCallback {\n void onFailure();\n\n void onSuccess();\n }", "private void speakOut() {\n\n tts.speak(dialogue, TextToSpeech.QUEUE_FLUSH, null);\n }", "public void speak(){\n System.out.println(\"Smile and wave boys. Smile and wave.\");\n }", "public String getSpeechResult(String hypothesis){\n\n\n String[] arrayOfStrings = hypothesis.split(\"text\\\" :\");\n String textPredicted = arrayOfStrings[1];\n\n arrayOfStrings = textPredicted.split(\"\\\"\");\n textPredicted = arrayOfStrings[1];\n\n return textPredicted;\n }", "private void generateTts() {\n File mediaStorageDir = new File(\n Environment.getExternalStorageDirectory(),\n resources.getTtsStorageFolder());\n \n if (!mediaStorageDir.exists())\n {\n if (!mediaStorageDir.mkdirs())\n {\n Log.w(TAG, \"Failed to create mediadir\");\n }\n else\n {\n Log.d(TAG, \"Created mediadir\" + mediaStorageDir.getAbsolutePath());\n }\n }\n\n File mediaFile = new File(mediaStorageDir.getPath() + File.separator + resources.getTtsFileName());\n Log.d(TAG, \"TTS path : \" + mediaFile.getAbsolutePath());\n\n HashMap<String, String> hashTts = new HashMap<>();\n hashTts.put(TextToSpeech.Engine.KEY_PARAM_UTTERANCE_ID, \"ttsToFile\");\n t1.setSpeechRate(Float.parseFloat(resources.getTtsSpeechRate()));\n t1.synthesizeToFile(message, hashTts, mediaFile.getAbsolutePath());\n\n }", "private void initializeTextToSpeech() {\n myTTS = new TextToSpeech(this, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int i) {\n if(myTTS.getEngines().size() ==0){\n Toast.makeText(MainActivity.this, \"There is no Text to Speech engine on your device\", Toast.LENGTH_LONG).show();\n finish();\n }\n else {\n myTTS.setLanguage(Locale.US);\n speak(\"Hello! Welcome to the workout app\");\n\n }\n }\n });\n }", "public void speak(String text, int queueMode, String[] params) {\n ArrayList<String> speakingParams = new ArrayList<String>();\n if (params != null) {\n speakingParams = new ArrayList<String>(Arrays.asList(params));\n }\n mSelf.speak(text, queueMode, speakingParams);\n }", "void translate(Sentence sentence);", "public void makeDecision(String speech , List<WordResult> speechWords) {\r\n\t\tVoiceManager vm =VoiceManager.getInstance();\r\n\t\tVoice voice;\r\n\t\tvoice=vm.getVoice(\"mbrola_us3\");\r\n\t\tvoice.allocate();\r\n\t\tSystem.out.println(speech);\r\n\t\t//System.out.println(speech+\"fdsf\");\r\n\t\t if(speech.equalsIgnoreCase(\"shutdown computer\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\" Shuting down the computer\");\r\n\t\t \tRuntime rm=Runtime.getRuntime();\r\n\t\t\t\ttry{\r\n\t\t\t\t\tProcess proc=rm.exec(\"shutdown -s -t 0\");\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e)\r\n\t\t\t\t{}\r\n\t\t\t\t\r\n\r\n\t\t \t}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"restart computer\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"restarting the computer\");\r\n\t\t \tRuntime rm=Runtime.getRuntime();\r\n\t\t\t\ttry{\r\n\t\t\t\t\tProcess proc=rm.exec(\"shutdown -r -t 0\");\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e)\r\n\t\t\t\t{}\r\n\t\t\t\t\r\n\t\t \t}\r\n\t\t \tcatch(Exception e)\r\n\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\t else if(speech.equalsIgnoreCase(\"who is smart\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"Abhay bhadouriya is smartest person alive in this world\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who is ugly\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"your sister and friends are the most ugliest persons in the world \");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"what is time\"))\r\n\t\t {\r\n\t\t \tDate dm=new Date();\r\n\t\t \tint h=dm.getHours();\r\n\t\t \tint m=dm.getMinutes();\r\n\t\t \tif(h>12)\r\n\t\t \t{\r\n\t\t \t\th=h-12;\r\n\t\t \t}\r\n\t\t \t\r\n\t\t \ttry {voice.speak(\"TIME is\"+h+\"Hour\"+m+\"Minutes\" );}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"say hello \"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"Hello this is your computer\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"please sleep\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"no i don't wont to sleep\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open facebook\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"facebook\");\r\n\t\t \t FUNC.facebook();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open google\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"google\");\r\n\t\t \t FUNC.google();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open youtube\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"youtube\");\r\n\t\t \t FUNC.youtube();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open gmail\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"gmail\");\r\n\t\t \t FUNC.gmail();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"play music\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"music\");\r\n\t\t \t FUNC.pmusic();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"volume up\"))\r\n\t\t {\r\n\t\t \tvoice.speak(\"volume increasing by 10\");\r\n\t\t \t\tvolume.up();\r\n\t\t \t\t\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"volume down\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t\t voice.speak(\"volume decreasing by 10\");\r\n\t \t\tvolume.down();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"show desktop\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"Showing desktop\");\r\n\t\t\t FUNC.desktop();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"how are you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"i'm fine and you \");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"what day is today\"))\r\n\t\t {\r\n\t\t\t Date dd=new Date();\r\n\t\t\t int i=dd.getDay();\r\n\t\t\t\tif(i==0)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is sunday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==1)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is monday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==2)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is tuesday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==3)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is wednesday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==4)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is thursday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==5)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is friday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==6)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is saturday\");\r\n\t\t\t\t}\r\n\t\t\t \r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to right\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.right();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to left\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.left();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to up\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t emotion.up();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to down\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.down();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"select this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.select();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"view its property\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.property();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"view item menu\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.viewmenu();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on mouse by keyboard\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.turnon();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close this window tab\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.close();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"switch window tab\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.switcht();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"ok dude take some rest\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t voice.speak(\"have a nice day\");\r\n\t\t\t voice.speak(\"i'm very lucky to have a master like you sir \");\r\n\t\t\t voice.speak(\"good night my suprier great master\");\r\n\t\t\t System.exit(0);\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn off wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on bluetooth\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t try{\r\n\t \t\t Process p ;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c fsquirt\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the notepad\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start notepad\");\r\n\t \t\t // System.out.println(\"inside\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t } else if(speech.equalsIgnoreCase(\"close the notepad\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im notepad.exe /f\");\r\n\t \t\t // System.out.println(\"inside\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the command\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t\t\tProcess p;\r\n\t \t\t\t\tp = Runtime.getRuntime().exec(\"cmd /c start cmd\");\t\t\t\t\r\n\t \t\t\t\t}catch(Exception er)\r\n\t \t\t\t\t{}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the command\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im cmd.exe /f\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the browser\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start chrome.exe\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the browser\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im chrome.exe /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the control panel\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c control\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the control panel\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c control taskkill /im control /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the paint\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start mspaint\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the paint\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im mspaint.exe /f\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the task manager\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start taskmgr.exe\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the task manager\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t \tp = Runtime.getRuntime().exec(\"cmd /c start taskkill /im taskmgr.exe /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open power option\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c powercfg.cpl\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open windows security center\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c wscui.cpl\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"copy this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok item is copied\");\r\n\t\t\t basiccontrolls.copy();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"paste here selected item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"item is pasted\");\r\n\t\t\t basiccontrolls.paste();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"cut this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok item is cut\");\r\n\t\t\t basiccontrolls.cut();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"go back\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok going to previous page\");\r\n\t\t\t basiccontrolls.back();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"show me my beautiful face\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"you look like a donkey\");\r\n\t\t\t basiccontrolls.camera();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who the hell are you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"hello\");\r\n\t\t\t voice.speak(\"i am computer \");\r\n\t\t\t voice.speak(\"here i'm assist by you \");\r\n\t\t\t voice.speak(\"i will do anything what ever you told me todo and \"+\" \"+\" what instruction are feeded in my dictionary\");\r\n\t\t\t voice.speak(\"Thank you for asking \");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who loves you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"no one loves me \");\r\n\t\t\t voice.speak(\"except my charger \");\r\n\t\t\t voice.speak(\"but more impoertantly i looks far handsome than you \");\r\n\t\t\t voice.speak(\"you peace of shit \");\r\n\t\t\t voice.speak(\"your face is look like a monkey\");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"do you like engineering\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"no\");\r\n\t\t\t voice.speak(\"I hate engineering\");\r\n\t\t\t voice.speak(\"you ruined my life \");\r\n\t\t }\r\n\t\t/* else if(speech.equalsIgnoreCase(\"turn off wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }*/\r\n\r\n\t}", "public abstract String play(SoundLibrary library, String... sound);", "@Override\n\t\t\tpublic void onClick(View v) \n\t\t\t{\n\t\t\t\tISpeechServiceProxy iss = new SpeechServiceProxy() ;\n\t\t\t\tiss.textToSpeech(ServiceAction.TTS_ACTION, ReadTextActivity.this, inputText.getText().toString()) ;\n\t\t\t}", "public void Save2Wave(String i_filename) {\n\t \tStringBuffer output = new StringBuffer();\n\t\t\ttry {\n\t\t\t\tBufferedReader in = new BufferedReader(new FileReader(i_filename));\n\t\t\t\tString st;\n\t\t\t\twhile ((st=in.readLine()) != null) {\n\t\t\t\toutput.append(st);\n\t\t\t\toutput.append(\" \");\n\t\t\t\t}\n\t\t\t\tin.close();\n\t\t\t}\n\t\t\tcatch (Exception fx) {\n\t\t\t\tSystem.out.println(\"IO error in Synthesis: \" + fx.toString());\n\t\t\t}\n\t\t\tm_ttsLocal.SaveToFile(output.toString());\n\t\t}", "public void ChangeSoundOutput(String output) {\n shellExec(\"osascript \" + Parse(dataPath(\"ChangeAudioOutput.scpt\")) + \" \\\"\" + output + \"\\\"\");\n println(\"Audio output set to \" + output);\n}", "public void recordVoice() {\n\t\t\n\t\t//String command = \"ffmpeg -f alsa -i hw:0 -t 2 -acodec pcm_s16le -ar 16000 -ac 1 foo.wav\"\n\t\tString command = \"arecord -d 2 -r 22050 -c 1 -i -t wav -f s16_LE foo.wav\";\n\t\t\n\t\tProcessBuilder pb = new ProcessBuilder(\"bash\" , \"-c\" , command );\n\t\ttry {\n\t\t\t\n\t\t\tProcess recordProcess = pb.start();\n\t\t\t\n\t\t\trecordProcess.waitFor();\n\t\t\t\n\t\t\trecordProcess.destroy();\n\t\n\t\t\t\n\t\t}catch (IOException ioe) {\n\t\t\tioe.printStackTrace();\n\t\t\t\n\t\t}catch (InterruptedException ie) {\n\t\t\tie.printStackTrace();\n\t\t}\n\t\t\n\t}", "private void addSpeech(String text, String packageName, int resId) {\n mUtterances.put(text, new SoundResource(packageName, resId));\n }", "public interface TextToSpeechListener {\n\n\tvoid onTTSInit(int ttsResult) ;\n}", "@Override\n protected void onActivityResult(int requestCode, int resultCode,\n Intent data) {\n if (requestCode == REQ_CODE_SPEECH_INPUT && resultCode == RESULT_OK) {\n List<String> results = data.getStringArrayListExtra(\n RecognizerIntent.EXTRA_RESULTS);\n String spokenText = results.get(0);\n // Do something with spokenText\n convert.setText(spokenText);\n\n }\n super.onActivityResult(requestCode, resultCode, data);\n }", "@Override\r\n public void onInit(int status) {\n if(status!=TextToSpeech.ERROR) {\r\n ttobj.setLanguage(Locale.UK);\r\n //ttobj.setPitch(2);\r\n }\r\n }", "public void sayText(String normal, String altered){\n\t\tvoiceGen.sayText(normal, altered);\n\t}", "@Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n int result = tts.setLanguage(Locale.US);\n if (result == TextToSpeech.LANG_MISSING_DATA ||\n result == TextToSpeech.LANG_NOT_SUPPORTED) {\n Log.e(\"error\", \"This Language is not supported\");\n } else {\n ConvertTextToSpeech(\"\");\n\n }\n } else\n Log.e(\"error\", \"Initilization Failed!\");\n\n\n }", "protected SpeechletResponse getAskSpeechletResponse (String speechText) {\n SimpleCard card = new SimpleCard();\r\n card.setTitle(\"Carkak Temperature\");\r\n card.setContent(speechText);\r\n\r\n // Create the plain text output.\r\n PlainTextOutputSpeech speech = new PlainTextOutputSpeech();\r\n speech.setText(speechText);\r\n\r\n Reprompt reprompt = new Reprompt();\r\n reprompt.setOutputSpeech(speech);\r\n\r\n return newAskResponse(card, speech, reprompt);\r\n }", "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main);\n txtSpeechInput = (TextView) findViewById(R.id.txtSpeechInput);\n textToSpeech = new TextToSpeech(getApplicationContext(), new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status != TextToSpeech.ERROR) {\n textToSpeech.setLanguage(Locale.ENGLISH);\n }\n }\n });\n\n btnSpeak = (ImageButton) findViewById(R.id.btnSpeak);\n btnSpeak.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n\n promptSpeechInput();\n }\n });\n\n }", "@Override\r\n public String speak() {\r\n String word = \"\";\r\n Time.getInstance().time += 1;\r\n if (Time.getInstance().time == 1) {\r\n word = \"One day Neznaika decided to become an artist.\";\r\n }\r\n if (Time.getInstance().time == 101) {\r\n word = \"This story happened once day with Neznaika.\";\r\n }\r\n if (Time.getInstance().time == 201) {\r\n word = \"One day Neznaika wanted to become a musician.\";\r\n }\r\n if (Time.getInstance().time == 401) {\r\n word = \"One day Neznaika wanted to become a poet.\";\r\n }\r\n System.out.println(word);\r\n return word;\r\n }", "private void listenToSpeech(int returnCode) {\n\t\tIntent listenIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\t\t//indicate package\n\t\tlistenIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, getClass().getPackage().getName());\n\t\t//message to display while listening\n\t\tlistenIntent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"\");\n\t\t//set speech model\n\t\tlistenIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n\t\t//specify number of results to retrieve\n\t\tlistenIntent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, 10);\n\t\t//start listening\n\t\tstartActivityForResult(listenIntent, returnCode);\n\n\t}", "public static String say(String speaker, String text)\n\t{\t\t\n\t\treturn String.format(\"%s says \\\"%s\\\"\", speaker, text);\n\t}", "public void addSpeech(String text, String packageName, int resId) {\n mSelf.addSpeech(text, packageName, resId);\n }", "public void convertVoiceToMaori() {\n\t\tString command = \"HVite -H HTK/MaoriNumbers/HMMs/hmm15/macros -H HTK/MaoriNumbers/HMMs/hmm15/hmmdefs -C HTK/MaoriNumbers/user/configLR -w HTK/MaoriNumbers/user/wordNetworkNum -o SWT -l '*' -i recout.mlf -p 0.0 -s 5.0 HTK/MaoriNumbers/user/dictionaryD HTK/MaoriNumbers/user/tiedList foo.wav\";\n\t\t\n\t\tProcessBuilder pb = new ProcessBuilder(\"bash\" , \"-c\" , command );\n\t\ttry {\n\t\t\t\n\t\t\tProcess convertProcess = pb.start();\n\t\t\t\n\t\t\tconvertProcess.waitFor();\n\t\t\t\n\t\t\tconvertProcess.destroy();\n\t\t\t\n\t\n\t\t\t\n\t\t}catch (IOException ioe) {\n\t\t\tioe.printStackTrace();\n\t\t\t\n\t\t}catch (InterruptedException ie) {\n\t\t\tie.printStackTrace();\n\t\t}\n\t\n\t\n\t\n\t}", "public void speakClicked(View v)\n {\n EditText editText = (EditText) findViewById(R.id.inputText);\n\n mTts.speak(editText.getText().toString(),\n TextToSpeech.QUEUE_FLUSH, // Drop all pending entries in the playback queue.\n null,\n null);\n }", "@Override\n\tpublic Map<String, Object> apiProcess(ParamContextHolder paramContextHolder, CApiBase arg1) throws ApiProcessException {\n\t\tMap<String, Object> map = new HashMap<>();\n\t\tString id = paramContextHolder.getReq().getParameter(\"id\");\n\t\tif(!cosProcess.checkFileExist(folder+id+\"_zh.mp3\")){\n\t\t\tNNovelContent content = iNNovelContentService.selectById(id);\n\t\t\tif(content == null){\n\t\t\t\tthrow new ApiProcessException(\"C0001\",\"语音合成异常\");\n\t\t\t}\n\t\t\tString str = cosProcess.getContent(content.getBookId()+\"/\"+content.getId());\n\t\t\tstr = str.replaceAll(\"</br>\", \"\");\n\t\t\tList<String> list = new ArrayList<>();\n\t\t\tstr = str.trim();\n\t\t\twhile(str.length()>0){\n\t\t\t\tif(str.length() > 2000){\n\t\t\t\t\tint index = str.indexOf(\"。\", 2000);\n\t\t\t\t\tif(index == -1){\n\t\t\t\t\t\tindex = str.indexOf(\".\", 2000);\n\t\t\t\t\t}\n\t\t\t\t\tif(index == -1){\n\t\t\t\t\t\tindex = str.indexOf(\",\", 2000);\n\t\t\t\t\t}\n\t\t\t\t\tif(index == -1){\n\t\t\t\t\t\tindex = str.indexOf(\",\", 2000);\n\t\t\t\t\t}\n\t\t\t\t\tlist.add(str.substring(0, index));\n\t\t\t\t\tstr = str.substring(index);\n\t\t\t\t}else{\n\t\t\t\t\tlist.add(str);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tbyte[] data = {};\n\t\t\tfor(String s : list){\n\t\t\t\tTtsResponse res = client.synthesis(s,\"zh\",1,null);\n\t\t\t\tSystem.out.println(res.getResult());\n\t\t\t\tif(!(res.getResult()==null)) throw new ApiProcessException(\"C0001\",\"语音合成异常\");\n\t\t\t\tdata = ArrayUtils.addAll(data,res.getData());\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tcosProcess.createMP3(folder+content.getId()+\"_zh.mp3\", new ByteArrayInputStream(data));\n\t\t\t} catch (Exception e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\tthrow new ApiProcessException(\"C0001\",\"语音合成异常\");\n\t\t\t}\n\t\t}\n\t\tmap.put(\"url\",path+folder+id+\"_zh.mp3\");\n\t\treturn map;\n\t}", "public void onInit(int arg0) {\n\t\t if (arg0 == TextToSpeech.SUCCESS) {\r\n\t\t\t \r\n\t int result = texttospeech.setLanguage(Locale.US);\r\n\t \r\n\t if (result == TextToSpeech.LANG_MISSING_DATA\r\n\t || result == TextToSpeech.LANG_NOT_SUPPORTED) {\r\n\t Log.e(\"TTS\", \"This Language is not supported\");\r\n\t } \r\n\t else \r\n\t {\r\n\t speakOut(src, dest);\r\n\t }\r\n\t \r\n\t } \r\n\t else \r\n\t {\r\n\t Log.e(\"text to speech\", \"failed\");\r\n\t }\r\n\t\t\r\n\t}", "@Override\n public void onResult(Hypothesis hypothesis) {\n ((TextView) findViewById(R.id.result_text)).setText(\"\");\n mMicView.setBackgroundResource(R.drawable.background_big_mic);\n if (hypothesis != null) {\n String text = hypothesis.getHypstr();\n makeText(getApplicationContext(), text, Toast.LENGTH_SHORT).show();\n //mTextToSpeech.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n\n }\n }", "public static void main(String[] args) {\nspeak(\"spell mandlebrot\");\n\t\t// 2. Catch the user's answer in a String\nString word = JOptionPane.showInputDialog(\"What is the anwser?\");\n\t\t// 3. If the user spelled the word correctly, speak \"correct\"\nif(word.equals(\"mandlebrot\")) {\nspeak(\"correct!\");\n}\n\n\t\t// 4. Otherwise say \"wrong\"\nelse {\n\tspeak(\"wrong!\");\n}\n\n//1. Use the speak method to say the word. \"e.g. spell mandlebrot\"\nspeak(\"spell superman \");\n\t\t// 2. Catch the user's answer in a String\nString word2 = JOptionPane.showInputDialog(\"What is the anwser?\");\n\t\t// 3. If the user spelled the word correctly, speak \"correct\"\nif(word2.equals(\"superman\")) {\nspeak(\"correct!\");\nspeak(\"wrong!\");\n// 1. Use the speak method to say the word. \"e.g. spell mandlebrot\"\nspeak(\"spell nonsense\");\n\t\t// 2. Catch the user's answer in a String\nString word3 = JOptionPane.showInputDialog(\"What is the anwser?\");\n\t\t// 3. If the user spelled the word correctly, speak \"correct\"\nif(word3.equals(\"nonsense\")) {\nspeak(\"correct!\");\n// 1. Use the speak method to say the word. \"e.g. spell mandlebrot\"\nspeak(\"spell ninja\");\n\t\t// 2. Catch the user's answer in a String\nString word4 = JOptionPane.showInputDialog(\"What is the anwser?\");\n\t\t// 3. If the user spelled the word correctly, speak \"correct\"\nif(word4.equals(\"ninja\")) {\nspeak(\"correct!\");\n}\n}\n}\t}", "@Override\n\tprotected Void doInBackground() throws Exception {\n\t\tString cmdSchemeFile = \"echo -e \\\"(voice_\"+this.voice+\")\\n\"+\n\t\t\t\t\"(set! duffint_params '((start \"+pitchStart+\") (end \"+pitchEnd+\")))\\n\"\n\t\t\t\t+ \"(Parameter.set 'Int_Method 'DuffInt)\\n(Parameter.set 'Int_Target_Method Int_Targets_Default)\\n\"\n\t\t\t\t+ \"(Parameter.set 'Duration_Stretch \"+rate+\")\\\">.tmp1.scm \";\n\t\t\n\t\tProcessBuilder builder = new ProcessBuilder(\"/bin/bash\", \"-c\", cmdSchemeFile);\n\t\tProcess process = builder.start();\n\t\t//add .tmp1.scm to remove list\n\t\tfilesToRemove.add(\".tmp1.scm\");\n\t\tprocess.waitFor();\n\t\tprocess.destroy();\n\t\t\n\t\t//Create textfile with the message\n\t\tString cmdTxtFile= \"echo \\\"\"+message+\"\\\" > .tmp.txt\";\n\t\tProcessBuilder buildTxt= new ProcessBuilder(\"/bin/bash\",\"-c\", cmdTxtFile);\n\t\tProcess processTxt= buildTxt.start();\n\t\tfilesToRemove.add(\".tmp.txt\");\n\t\tprocessTxt.waitFor();\n\t\tprocessTxt.destroy();\n\t\t\n\t\t//Convert the text to a wav file with properties in the scheme file\n\t\tString cmdWavFile= \"text2wave -o .tmp.wav .tmp.txt -eval .tmp1.scm\";\n\t\tProcessBuilder buildWav= new ProcessBuilder(\"/bin/bash\",\"-c\",cmdWavFile);\n\t\tProcess processWav= buildWav.start();\n\t\tfilesToRemove.add(\".tmp.wav\");\n\t\tprocessWav.waitFor();\n\t\tprocessWav.destroy();\n\t\t\n\t\t//Convert the wave file into mp3 file\n\t\tString cmdMp3File = \"ffmpeg -i .tmp.wav -f mp3 \" + fileName;\n\t\tProcessBuilder buildMp3 = new ProcessBuilder(\"/bin/bash\", \"-c\", cmdMp3File);\n\t\tProcess processMp3 = buildMp3.start();\n\t\tInputStream out= processMp3.getErrorStream();\n\t\tBufferedReader stdout= new BufferedReader(new InputStreamReader(out));\n\t\twhile(stdout.readLine() !=null){\n\t\t\tn+=10;\n\t\t\tpublish();\n\t\t}\n\t\t\n\t\tprocessMp3.waitFor();\n\t\tprocessMp3.destroy();\n\n\t\t// command used in bash terminal\n\t\t// deletes the temporary file\n\t\tFilesRemover fr= new FilesRemover(filesToRemove);\n\t\tfr.execute();\n\t\n\t\treturn null;\n\t}", "public abstract void newSpeechFeedback(long ms, int n);", "void onTranslation(Sentence sentence);", "private AudioFormat getAudioFormat(String s)\n\t{\n float sampleRate = 16000.0F;\n int sampleSizeBits = 16;\n int channels = 1;\n boolean signed = true;\n boolean bigEndian = false;\n\n \n \n //examples:\n //swimwater1.wav: PCM_SIGNED 22050.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian\n //test.wav: PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian\n \n //store different aspects in differents strings\n String lastValue=\"\";\n String sampleRateString=\"\";\n String sampleSizeBitsString=\"\";\n String channelsString=\"\";\n String signedString=\"\";\n String bigEndianString=\"\";\n \n for (char ch : s.toCharArray())\n {\n //System.out.print(ch);\n \n if(ch!=',')//komma= nächste wert\n {\n \tif(ch!=' ')\n \t\tlastValue+=ch;\n }\n else\n {\n \tif(sampleRateString.isEmpty()) sampleRateString=lastValue;\n \telse if(sampleSizeBitsString.isEmpty()) sampleSizeBitsString=lastValue;\n \telse if(channelsString.isEmpty()) channelsString=lastValue;\n \telse if(signedString.isEmpty()) signedString=lastValue;\n \t\n \tlastValue=\"\";\n }\n }\n if(bigEndianString.isEmpty()) bigEndianString=lastValue;\n\n //interpret those strings\n\n //sampleRate\n String temp=\"\";\n for (char ch : sampleRateString.toCharArray())\n {\n if((ch>='0' && ch<='9'))\n {\n \ttemp+=ch;\n }\n else if(ch=='.')\n \tbreak;\n }\n sampleRate=(float)Integer.parseInt(temp);\n\n //sampleSizeBits\n temp=\"\";\n for (char ch : sampleSizeBitsString.toCharArray())\n {\n if(ch>='0' && ch<='9')\n {\n \ttemp+=ch;\n }\n }\n sampleSizeBits=Integer.parseInt(temp);\n\n //channels\n if(channelsString.contains(\"mono\"))\n \tchannels=1;\n else if(channelsString.contains(\"stereo\"))\n \tchannels=2;\n \n //signed\n signed=true;\n \n //bigEndian\n if(bigEndianString.contains(\"little-endian\"))\n \tbigEndian=false;\n else bigEndian=true;\n \n \n /*System.out.println();\n System.out.println(sampleRate);\n System.out.println(sampleSizeBits);\n System.out.println(channels);\n System.out.println(signed);\n System.out.println(bigEndian);*/\n \n return new AudioFormat(sampleRate, sampleSizeBits, channels, signed, bigEndian);\n }", "public void deliverRawText(String text) {\n \n }", "String translate(String text, String fromLanguage, String toLanguage) throws TranslationException;", "public static BasicTranscription readWhisperJSON(File jsonFile, boolean wantsWords) throws IOException, JexmaraldaException{\n ObjectMapper objectMapper = new ObjectMapper();\n JsonNode jsonRoot = objectMapper.readValue(jsonFile, JsonNode.class); \n \n BasicTranscription result = new BasicTranscription();\n Speaker speaker = new Speaker();\n speaker.setID(\"SPK0\");\n speaker.setAbbreviation(\"X\");\n result.getHead().getSpeakertable().addSpeaker(speaker);\n Tier textTier = new Tier(\"TIE0\", \"SPK0\", \"v\", \"t\", \"X [text]\");\n Tier temperatureTier = new Tier(\"TIE1\", \"SPK0\", \"temp\", \"a\", \"X [temperature]\");\n Tier avgLogProbTier = new Tier(\"TIE2\", \"SPK0\", \"avg\", \"a\", \"X [avg_logprob]\");\n Tier compressionRatioTier = new Tier(\"TIE3\", \"SPK0\", \"cr\", \"a\", \"X [compression_ratio]\");\n Tier noSpeechProbTier = new Tier(\"TIE4\", \"SPK0\", \"nsp\", \"a\", \"X [no_speech_prob]\");\n result.getBody().addTier(textTier);\n result.getBody().addTier(temperatureTier);\n result.getBody().addTier(avgLogProbTier);\n result.getBody().addTier(compressionRatioTier);\n result.getBody().addTier(noSpeechProbTier);\n \n \n /*\n {\n \"text\": \n \" Abscheu und Zorn über folternde GIs im Irak, die US-Armee soll schon länger Bescheid gewusst\",\n \"segments\": [\n {\n \"id\": 0,\n \"seek\": 0,\n \"start\": 0.0,\n \"end\": 13.44,\n \"text\": \" Abscheu und Zorn über folternde GIs im Irak, die US-Armee soll schon länger Bescheid gewusst\",\n \"tokens\": [\n 5813,\n 1876,\n ...\n 327,\n 6906,\n 26340\n ],\n \"temperature\": 0.0,\n \"avg_logprob\": -0.20706645302150561,\n \"compression_ratio\": 1.2619047619047619,\n \"no_speech_prob\": 0.2456832379102707\n }\n ]\n } \n \n */\n \n boolean hasWordLevel = (jsonRoot.findValue(\"words\")!=null);\n Tier wordTier = new Tier(\"TIE5\", \"SPK0\", \"w\", \"t\", \"X [words]\");\n if (hasWordLevel && wantsWords){\n textTier.setType(\"a\");\n result.getBody().insertTierAt(wordTier, 0);\n \n }\n \n JsonNode segmentsNode = jsonRoot.findValue(\"segments\");\n Iterator<JsonNode> iterator = segmentsNode.elements();\n Timeline timeline = result.getBody().getCommonTimeline();\n while (iterator.hasNext()){\n JsonNode segmentNode = iterator.next();\n if (segmentNode.get(\"start\")==null){\n throw new IOException(\"Error in format.\");\n }\n // round to miliseconds to avoid overlaps which aren't overlaps\n double startTimeInSeconds = Rounder.round(segmentNode.get(\"start\").asDouble(),3);\n double endTimeInSeconds = Rounder.round(segmentNode.get(\"end\").asDouble(),3);\n String text = segmentNode.get(\"text\").asText();\n String temperature = segmentNode.get(\"temperature\").asText();\n String avg_logprob = segmentNode.get(\"avg_logprob\").asText();\n String compression_ratio = segmentNode.get(\"compression_ratio\").asText();\n String no_speech_prob = segmentNode.get(\"no_speech_prob\").asText();\n \n String startID = \"TLI_\" + Double.toString(startTimeInSeconds).replace('.', '_');\n if (!(timeline.containsTimelineItemWithID(startID))){\n TimelineItem tli = new TimelineItem();\n tli.setID(startID);\n tli.setTime(startTimeInSeconds);\n timeline.insertAccordingToTime(tli);\n }\n \n String endID = \"TLI_\" + Double.toString(endTimeInSeconds).replace('.', '_');\n if (!(timeline.containsTimelineItemWithID(endID))){\n TimelineItem tli = new TimelineItem();\n tli.setID(endID);\n tli.setTime(endTimeInSeconds);\n timeline.insertAccordingToTime(tli);\n }\n \n textTier.addEvent(new Event(startID, endID, text));\n temperatureTier.addEvent(new Event(startID, endID, temperature));\n avgLogProbTier.addEvent(new Event(startID, endID, avg_logprob));\n compressionRatioTier.addEvent(new Event(startID, endID, compression_ratio));\n noSpeechProbTier.addEvent(new Event(startID, endID, no_speech_prob));\n \n if (hasWordLevel){\n JsonNode wordsNode = segmentNode.findValue(\"words\");\n Iterator<JsonNode> wordIterator = wordsNode.elements();\n while (wordIterator.hasNext()){\n JsonNode wordNode = wordIterator.next();\n if (wordNode.get(\"start\")==null){\n throw new IOException(\"Error in format.\");\n }\n\n // round to miliseconds to avoid overlaps which aren't overlaps\n double wStartTimeInSeconds = Rounder.round(wordNode.get(\"start\").asDouble(),3);\n double wEndTimeInSeconds = Rounder.round(wordNode.get(\"end\").asDouble(),3);\n String wText = wordNode.get(\"word\").asText();\n\n String wStartID = \"TLI_\" + Double.toString(wStartTimeInSeconds).replace('.', '_');\n if (!(timeline.containsTimelineItemWithID(wStartID))){\n TimelineItem tli = new TimelineItem();\n tli.setID(wStartID);\n tli.setTime(wStartTimeInSeconds);\n timeline.insertAccordingToTime(tli);\n }\n\n String wEndID = \"TLI_\" + Double.toString(wEndTimeInSeconds).replace('.', '_');\n if (!(timeline.containsTimelineItemWithID(wEndID))){\n TimelineItem tli = new TimelineItem();\n tli.setID(wEndID);\n tli.setTime(wEndTimeInSeconds);\n timeline.insertAccordingToTime(tli);\n }\n \n wordTier.addEvent(new Event(wStartID, wEndID, wText));\n\n \n }\n }\n \n }\n \n \n \n \n return result;\n \n \n }", "@Override\n public void speak() {\n System.out.println(\"I'm an Aardvark, I make grunting sounds most of the time.\");\n }", "public String buildUrl(String text_of_audio) {\n String wit = \"https://api.wit.ai/message\";\n String google = \"https://www.google.com/\";\n Uri sendRequest_wit = Uri.parse(wit).buildUpon()\n .appendQueryParameter(\"q\", text_of_audio).build();\n\n\n try {\n url = new URL(sendRequest_wit.toString());\n } catch (MalformedURLException e) {\n e.printStackTrace();\n }\n\n Log.d(\"url\",url.toString());\n\n try {\n audioStr = new WitQueryTask().execute(url).get();\n } catch (ExecutionException e) {\n e.printStackTrace();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n\n return audioStr;\n\n }", "@POST\n\t@Path(\"sendfasta\")\n\t@Consumes(MediaType.APPLICATION_JSON)\n\tpublic Response sendSpectrum(String jsonString) {\n\t\t\n\t\tKafkaSender.sendToKafka(jsonString);\n\t\t\n\t\treturn Response.ok().build();\n\t}" ]
[ "0.7133384", "0.70081335", "0.6940137", "0.68561333", "0.66679907", "0.6647213", "0.65998316", "0.6458675", "0.6426908", "0.6370797", "0.63332516", "0.62385565", "0.6190026", "0.60953397", "0.6073654", "0.60710937", "0.5969809", "0.59571356", "0.5931564", "0.5931196", "0.58731455", "0.5843055", "0.5829043", "0.5748814", "0.57423604", "0.5697132", "0.56829613", "0.56737", "0.56622285", "0.56503904", "0.56170684", "0.5570927", "0.55669296", "0.5561807", "0.54921055", "0.5485595", "0.5482808", "0.5459536", "0.5452013", "0.5434992", "0.54231477", "0.5384246", "0.5343335", "0.5272787", "0.5251003", "0.5247707", "0.5232225", "0.5223988", "0.52211845", "0.5189848", "0.51883847", "0.518378", "0.51810473", "0.5179961", "0.5148112", "0.51369625", "0.5134741", "0.5134741", "0.5133168", "0.5129932", "0.51293916", "0.51273394", "0.5120936", "0.5117088", "0.5115555", "0.5053749", "0.5050375", "0.5039076", "0.5034417", "0.50319296", "0.5022642", "0.5015224", "0.5007745", "0.49802655", "0.49795502", "0.49761093", "0.4973601", "0.49707744", "0.49686527", "0.4965468", "0.49638364", "0.49527267", "0.4952447", "0.49511436", "0.4928809", "0.4911981", "0.4908929", "0.49086645", "0.490374", "0.4896042", "0.48921922", "0.48883983", "0.48764133", "0.48727262", "0.48727015", "0.48689476", "0.48687544", "0.48590347", "0.48391294", "0.4826307", "0.48225453" ]
0.0
-1
Performs the texttospeech operations in a specific language: it takes a std::string as input and outputs a sound in both speakers. String encoding must be UTF8. Once the text is said, the language is set back to its initial value.
public void say(String stringToSay, String language) throws DynamicCallException, ExecutionException{ call("say", stringToSay, language).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void ConvertTextToSpeech() {\n if (properties.get(selectedStateOrCountry) != null) {\n tts.speak(String.format(\"This is %s %s\", selectedStateOrCountry, properties.get(selectedStateOrCountry)),\n TextToSpeech.QUEUE_FLUSH, null);\n\n } else if (countryCapitalMap.get(selectedStateOrCountry) != null) {\n tts.speak(countryCapitalMap.get(selectedStateOrCountry), TextToSpeech.QUEUE_FLUSH, null);\n } else {\n tts.speak(selectedStateOrCountry, TextToSpeech.QUEUE_FLUSH, null);\n }\n }", "@Override\n protected synchronized void onSynthesizeText(SynthesisRequest request,\n SynthesisCallback callback) {\n int load = onLoadLanguage(request.getLanguage(), request.getCountry(),\n request.getVariant());\n\n // We might get requests for a language we don't support - in which case\n // we error out early before wasting too much time.\n if (load == TextToSpeech.LANG_NOT_SUPPORTED) {\n callback.error();\n return;\n }\n\n // At this point, we have loaded the language we need for synthesis and\n // it is guaranteed that we support it so we proceed with synthesis.\n\n // We denote that we are ready to start sending audio across to the\n // framework. We use a fixed sampling rate (16khz), and send data across\n // in 16bit PCM mono.\n callback.start(SAMPLING_RATE_HZ,\n AudioFormat.ENCODING_PCM_16BIT, 1 /* Number of channels. */);\n\n // We then scan through each character of the request string and\n // generate audio for it.\n final String text = request.getText().toLowerCase();\n for (int i = 0; i < text.length(); ++i) {\n char value = normalize(text.charAt(i));\n // It is crucial to call either of callback.error() or callback.done() to ensure\n // that audio / other resources are released as soon as possible.\n if (!generateOneSecondOfAudio(value, callback)) {\n callback.error();\n return;\n }\n }\n\n // Alright, we're done with our synthesis - yay!\n callback.done();\n }", "private void ConvertTextToSpeech(String voice1) {\n text=voice1;\n //text = et.getText().toString();\n if (text == null || \"\".equals(text)) {\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n } else\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", "private void convertTextToSpeech(String text) {\n if (null == text || \"\".equals(text)) {\n text = \"Please give some input.\";\n }\n m_tts.speak(text, TextToSpeech.QUEUE_ADD, null);\n }", "void playSpeech(String rawText);", "String translate(String text, String fromLanguage, String toLanguage) throws TranslationException;", "@SuppressWarnings(\"unchecked\")\n public void speak(String text) throws JavaLayerException {\n\t\ttry {\n \n //Create a JLayer instance\n AdvancedPlayer player = new AdvancedPlayer(synthesizer.getMP3Data(text));\n player.play();\n \n } catch (IOException e) {\n \n }\n\t\t\n\t}", "public void speak(String text);", "public interface Text2Speech {\n\t\n\t/**\n\t * Supported formats.\n\t */\n\tenum OutputFormat {\n\t\t/**\n\t\t * MP3 format.\n\t\t */\n\t\tMP3,\n\t\t/**\n\t\t * Ogg-vorbis format.\n\t\t */\n\t\tOGG\n\t}\n\t\n\t/**\n\t * Produce MP3 with specified phrase.\n\t * \n\t * @param phrase Some sentence.\n\t * @return MP3 stream (may be network bound, close afterwards)\n\t */\n\tInputStream synthesize(String phrase, OutputFormat fmt) throws IOException;\n}", "private boolean convert(String text,String directory,String fileName) {\r\n\t\t\r\n\t\tif(!text.isEmpty()) {\t\t\t\r\n\t\t\tFile file = new File(directory,fileName);\r\n\t\t\t\r\n\t\t\t// create mp3 file with this weather announcement\r\n\t\t\tlog.fine(\"text to speech conversion: text=\"+text+\" filename=\"+file);\r\n\t\t\t\r\n\t\t\t// translate into mp3 stream\r\n\t\t\ttry{\r\n\t text=java.net.URLEncoder.encode(text, \"UTF-8\");\r\n\t //URL url = new URL(\"http://translate.google.com/translate_tts?tl=de&ie=UTF-8&q=\"+text+\"&total=1&idx=0&client=alarmpi\");\r\n\t \r\n\t Map<String, String> requestParams = new HashMap<>();\r\n\t requestParams.put(\"key\", \"f5d762f987f34397b350af6563ffb818\");\r\n\t requestParams.put(\"hl\", \"de-de\");\r\n\t requestParams.put(\"c\", \"MP3\");\r\n\t requestParams.put(\"src\", text);\r\n\t \r\n\t\t\t\tString encodedURL = requestParams.keySet().stream()\r\n\t \t .map(key -> key + \"=\" + requestParams.get(key))\r\n\t \t .collect(Collectors.joining(\"&\", \"http://api.voicerss.org?\", \"\"));\r\n\t \r\n\t URL url = new URL(encodedURL);\r\n\t log.fine(\"URL=\"+encodedURL);\r\n\t \r\n\t HttpURLConnection urlConn = (HttpURLConnection) url.openConnection();\r\n\t urlConn.addRequestProperty(\"User-Agent\", \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36\");\r\n\t InputStream audioSrc = urlConn.getInputStream();\r\n\t DataInputStream read = new DataInputStream(audioSrc);\r\n\t OutputStream outstream = new FileOutputStream(file);\r\n\t byte[] buffer = new byte[1024];\r\n\t int len;\r\n\t int totalLength = 0;\r\n\t while ((len = read.read(buffer)) > 0) {\r\n\t \toutstream.write(buffer, 0, len);\r\n\t \ttotalLength += len;\r\n\t }\r\n\t outstream.close();\r\n\t log.fine(\"text2speech byteount=\"+totalLength);\r\n\t \r\n\t if(totalLength<1024) {\r\n\t \t// this indicates a problem...\r\n\t \tlog.severe(\"text2speech conversion returns less than 1k data\");\r\n\t }\r\n\t \r\n\t \t\t// update mpd database\r\n\t SoundControl.getSoundControl().update();\r\n\t \r\n\t return true;\r\n\t\t\t} catch(IOException e){\r\n\t\t\t\tlog.severe(\"Exception in text to speech conversion: \"+e.getMessage());\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\telse {\r\n\t\t\tlog.warning(\"Text to speech conversion called with empty text\");\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "private void setTextTospeech() {\n textToSpeech = new TextToSpeech(mContext, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n Set<Locale> languages = textToSpeech.getAvailableLanguages();\n if (language.toLowerCase().contains(langaugeCodeEnglish)) {\n int result = textToSpeech.setLanguage(new Locale(\"en\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n //Toast.makeText(mContext, result + \" is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n }\n } else {\n int result = textToSpeech.setLanguage(new Locale(\"hi\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n result = textToSpeech.setLanguage(Locale.forLanguageTag(\"hin\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n\n // Toast.makeText(mContext, result + \"Language is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \"Language is not supported\");\n }\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n if (result == TextToSpeech.LANG_NOT_SUPPORTED) {\n showTtsLanuageNSDialog();\n }\n }\n }\n }\n });\n }", "void TranslateToTurkish() {\n // Check wheter the device language is English\n if(Locale.getDefault().getDisplayLanguage() == \"en\"){ // Don't do anything if it is English\n }\n else { // Translate to device language (For now just Turkish)\n final Handler textViewHandler = new Handler();\n new AsyncTask<Void, Void, Void>() {\n @Override\n protected Void doInBackground(Void... params) {\n TranslateOptions options = TranslateOptions.newBuilder()\n .setApiKey(googleApiKey)\n .build();\n Translate translate = options.getService();\n final Translation translation =\n translate.translate(textToSpeechInputText,\n Translate.TranslateOption.targetLanguage(\"tr\"));\n textViewHandler.post(new Runnable() {\n @Override\n public void run() {\n Log.d(\"Translated text:\", translation.getTranslatedText().toString());\n textToSpeechInputText = translation.getTranslatedText().toString();\n Log.d(\"Output\", textToSpeechInputText);\n //Speak of the result\n Speak(textToSpeechInputText);\n state = 2; // Turn state to speaking the result\n }\n });\n return null;\n }\n }.execute();\n }\n }", "public abstract void startVoiceRecognition(String language);", "@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)\n private void speakWords(String speech) {\n myTTS.speak (speech, TextToSpeech.QUEUE_FLUSH, null,\"1\");\n\n }", "@Override\n public void onInit(int status) {\n\t \n\tif (status == TextToSpeech.SUCCESS) {\n\t\t \n int result = mTts.setLanguage(Locale.US);\n if (result != TextToSpeech.LANG_MISSING_DATA && result != TextToSpeech.LANG_NOT_SUPPORTED) {\n \tspokenText += spokenText+\"\"+spokenText+\"\";\n // mTts.speak(\"Dear sir your class is finished!! Dear sir your class is finished!! Dear sir your class is finished!!\", TextToSpeech.QUEUE_FLUSH, null);\n mTts.speak(spokenText, TextToSpeech.QUEUE_FLUSH, null);\n } \n } \n\t \n}", "private String setSpeechFXLanguage(String language){\n String lang;\n if (!mSpeechFXon) {\n lang = language;\n } else if (mTts == null) {\n\t\t\tLog.i(TAG, \"TTS IS NULL!\");\n\t\t\tlang = language;\n\t\t} else {\n\t\t\tlang = Languages.setSpeechLanguage(language, mDefaultSpeechLang, mTts.ttsengine());\n\t\t\tif (mTts != null && lang != null && !lang.equals(\"\")) {\n\t\t\t\tLog.i(TAG, \"TTS set speech engine language: \" + lang);\n\t\t\t\tmTts.ttsengine().setLanguage(Languages.stringToLocale(lang));\n\t\t\t} else {\n\t\t\t\t// Unchanged, so return the pilot language\n\t\t\t\tlang = language;\n\t\t\t}\n\t\t\tLog.i(TAG, \"TTS LANG: \" + lang);\n\t\t}\n\n\t\treturn lang;\n\t}", "private void speak(String s, String text) {\n if (Utility.getInstance().isOnline(mContext)) {\n try {\n float pitch = (float) 0.62;\n float speed = (float) 0.86;\n textToSpeech.setSpeechRate(speed);\n textToSpeech.setPitch(pitch);\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n Bundle bundle = new Bundle();\n bundle.putInt(TextToSpeech.Engine.KEY_PARAM_STREAM, AudioManager.STREAM_MUSIC);\n textToSpeech.speak(s, TextToSpeech.QUEUE_FLUSH, bundle, null);\n textToSpeech.speak(text, TextToSpeech.QUEUE_ADD, bundle, null);\n } else {\n HashMap<String, String> param = new HashMap<>();\n param.put(TextToSpeech.Engine.KEY_PARAM_STREAM, String.valueOf(AudioManager.STREAM_MUSIC));\n textToSpeech.speak(s, TextToSpeech.QUEUE_FLUSH, param);\n textToSpeech.speak(text, TextToSpeech.QUEUE_ADD, param);\n }\n } catch (Exception ae) {\n ae.printStackTrace();\n }\n } else {\n Toast.makeText(mContext, getString(R.string.please_check_internet), Toast.LENGTH_SHORT).show();\n }\n }", "public static void speak(Context context, final String text) {\n Log.d(TAG, \"Speak : \" + text);\n if (mTTSEngine == null) {\n mTTSEngine = new TextToSpeech(context, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int i) {\n if (i == TextToSpeech.SUCCESS) {\n mTTSEngine.setLanguage(Locale.US);\n mTTSEngine.setPitch(1f);\n mTTSEngine.setSpeechRate(1f);\n\n mTTSEngine.speak(text, TextToSpeech.QUEUE_ADD, null, UTTERANCE_ID);\n } else {\n mTTSEngine = null;\n }\n }\n });\n } else {\n mTTSEngine.speak(text, TextToSpeech.QUEUE_ADD, null, UTTERANCE_ID);\n }\n }", "public void speakText(String text) {\n mTTS.setPitch(1);\n mTTS.setSpeechRate(1);\n mTTS.speak(String.format(\"Okay! Searching for %s\", text),\n TextToSpeech.QUEUE_FLUSH, null);\n }", "@Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n int result = tts.setLanguage(Locale.US);\n if (result == TextToSpeech.LANG_MISSING_DATA ||\n result == TextToSpeech.LANG_NOT_SUPPORTED) {\n Log.e(\"error\", \"This Language is not supported\");\n } else {\n ConvertTextToSpeech(\"\");\n\n }\n } else\n Log.e(\"error\", \"Initilization Failed!\");\n\n\n }", "private void tts(String str){\n\t\ttxtSpeechInput.setText(str);\n\t\tt1.speak(str , TextToSpeech.QUEUE_FLUSH, null);\n\t\twhile(t1.isSpeaking()){\n\t\t\t;\n\t\t}\n\t}", "public static String translate(String langFrom, String langTo, String text) throws IOException {\n requestStatus=false;\n translateStatus.setValue(true);\n String urlStr = \"https://script.google.com/macros/s/AKfycbw2qKkvobro8WLNZUKi2kGwGwEO4W8cBavcKqcuCIGhGBBtVts/exec\" +\n \"?q=\" + URLEncoder.encode(text, \"UTF-8\")\n + \"&target=\" + langTo +\n \"&source=\" + langFrom;\n URL url = new URL(urlStr);\n StringBuilder response = new StringBuilder();\n HttpURLConnection con = (HttpURLConnection) url.openConnection();\n con.setRequestProperty(\"User-Agent\", \"Mozilla/5.0\");\n\n count++;\n //System.out.println(count);\n if (con.getResponseCode() == 200) {\n requestStatus=true;\n translateStatus.setValue(false);\n //System.out.println(count + \" OK\");\n }\n BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()));\n String inputLine;\n while ((inputLine = in.readLine()) != null) {\n response.append(inputLine);\n }\n in.close();\n return response.toString();\n }", "public Future<Void> say(String stringToSay, String language) throws DynamicCallException, ExecutionException{\n return call(\"say\", stringToSay, language);\n }", "public void speak(String outputSpeak) \n {\n speaker.speaker(outputSpeak);\n }", "void onTranslation(Sentence sentence);", "private void speakOut(String text) {\n\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", "@Override\n public void onInit(int i) {\n if(i!=TextToSpeech.ERROR){\n // To Choose language of speech\n textToSpeech.setLanguage(getResources().getConfiguration().locale);\n }\n }", "void translate(Sentence sentence);", "@Override\r\n public void onInit(int status) {\n if(status!=TextToSpeech.ERROR) {\r\n ttobj.setLanguage(Locale.UK);\r\n //ttobj.setPitch(2);\r\n }\r\n }", "private void speakout(String cname) \n{\n\t{t1.speak(cname,TextToSpeech.QUEUE_FLUSH,null);\n\tt1.setLanguage(Locale.ENGLISH);\n\t}\n}", "public void onInit(int code) {\n\t\t if (code==TextToSpeech.SUCCESS) {\n\t\t \t com.example.main_project.MainActivity.tts.setLanguage(Locale.getDefault());\n\n\n\t\t \t } else {\n\t\t \t com.example.main_project.MainActivity.tts = null;\n\t\t \t Toast.makeText(this, \"Failed to initialize TTS engine.\",\n\t\t \t Toast.LENGTH_SHORT).show();\n\t\t \t }\t\t\n\t\t}", "private void changeLanguage(String newLanguage){\n\tif (newLanguage.contentEquals(\"FR\")){\n\t\t((GameActivity) activity).setStringPreferences(\"language\", \"1\");\n\t} else if (newLanguage.contentEquals(\"UK\")){\n\t\t((GameActivity) activity).setStringPreferences(\"language\", \"2\");\n\t}\n\t\n\t/*\n\tprefLanguage = ((GameActivity) activity).getPreference(\"language\", \"1\");\n\tif (prefLanguage.contentEquals(\"1\")){\n\t\tresourcesManager.tts.setLanguage(Locale.FRENCH);\n\t} else if (prefLanguage.contentEquals(\"2\")){\n\t\tresourcesManager.tts.setLanguage(Locale.ENGLISH);\t\n\t}\n\t*/\n\t\n\t\n\t\n\t/*\n\tif (newLanguage.contentEquals(\"FR\")){\n\t\tresourcesManager.tts.setLanguage(Locale.FRENCH);\n\t\tlocalLanguage=0;\n\t} else if (newLanguage.contentEquals(\"UK\")){\n\t\tresourcesManager.tts.setLanguage(Locale.ENGLISH);\t\n\t\tlocalLanguage=1;\n\t}\n\t*/\n\t\n}", "public static void oralOutput(String text)\n\t{\n\t\tSystem.setProperty(\"mbrola.base\",\"E:\\\\Automation\\\\mbrola\");\n\t\tVoiceManager vm=VoiceManager.getInstance();\n\t\tVoice v=vm.getVoice(\"mbrola_us1\"); //or kevin16\n\t\tv.allocate();\n\t\tv.speak(text);\n\t\tv.deallocate();\n\t}", "private void translate()\r\n\t{\r\n\t\tLocale locale = Locale.getDefault();\r\n\t\t\r\n\t\tString language = locale.getLanguage();\r\n\t\t\r\n\t\ttranslate(language);\r\n\t}", "public void transcribe (String utterance, float confidence) \n{\n //println(utterance);\n if (!utterance.equals(\"\"))\n {\n result = utterance;\n ListenForKeywords(result);\n println(result);\n inputResult = result;\n result = \"\";\n \n //CheckCommandValidity(result);\n \n }\n}", "public void onInit(int arg0) {\n\t\t if (arg0 == TextToSpeech.SUCCESS) {\r\n\t\t\t \r\n\t int result = texttospeech.setLanguage(Locale.US);\r\n\t \r\n\t if (result == TextToSpeech.LANG_MISSING_DATA\r\n\t || result == TextToSpeech.LANG_NOT_SUPPORTED) {\r\n\t Log.e(\"TTS\", \"This Language is not supported\");\r\n\t } \r\n\t else \r\n\t {\r\n\t speakOut(src, dest);\r\n\t }\r\n\t \r\n\t } \r\n\t else \r\n\t {\r\n\t Log.e(\"text to speech\", \"failed\");\r\n\t }\r\n\t\t\r\n\t}", "private void speak() {\n if(textToSpeech != null && textToSpeech.isSpeaking()) {\n textToSpeech.stop();\n }else{\n textToSpeech = new TextToSpeech(activity, this);\n }\n }", "public void makeDecision(String speech , List<WordResult> speechWords) {\r\n\t\tVoiceManager vm =VoiceManager.getInstance();\r\n\t\tVoice voice;\r\n\t\tvoice=vm.getVoice(\"mbrola_us3\");\r\n\t\tvoice.allocate();\r\n\t\tSystem.out.println(speech);\r\n\t\t//System.out.println(speech+\"fdsf\");\r\n\t\t if(speech.equalsIgnoreCase(\"shutdown computer\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\" Shuting down the computer\");\r\n\t\t \tRuntime rm=Runtime.getRuntime();\r\n\t\t\t\ttry{\r\n\t\t\t\t\tProcess proc=rm.exec(\"shutdown -s -t 0\");\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e)\r\n\t\t\t\t{}\r\n\t\t\t\t\r\n\r\n\t\t \t}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"restart computer\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"restarting the computer\");\r\n\t\t \tRuntime rm=Runtime.getRuntime();\r\n\t\t\t\ttry{\r\n\t\t\t\t\tProcess proc=rm.exec(\"shutdown -r -t 0\");\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e)\r\n\t\t\t\t{}\r\n\t\t\t\t\r\n\t\t \t}\r\n\t\t \tcatch(Exception e)\r\n\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\t else if(speech.equalsIgnoreCase(\"who is smart\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"Abhay bhadouriya is smartest person alive in this world\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who is ugly\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"your sister and friends are the most ugliest persons in the world \");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"what is time\"))\r\n\t\t {\r\n\t\t \tDate dm=new Date();\r\n\t\t \tint h=dm.getHours();\r\n\t\t \tint m=dm.getMinutes();\r\n\t\t \tif(h>12)\r\n\t\t \t{\r\n\t\t \t\th=h-12;\r\n\t\t \t}\r\n\t\t \t\r\n\t\t \ttry {voice.speak(\"TIME is\"+h+\"Hour\"+m+\"Minutes\" );}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"say hello \"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"Hello this is your computer\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"please sleep\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"no i don't wont to sleep\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open facebook\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"facebook\");\r\n\t\t \t FUNC.facebook();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open google\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"google\");\r\n\t\t \t FUNC.google();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open youtube\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"youtube\");\r\n\t\t \t FUNC.youtube();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open gmail\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"gmail\");\r\n\t\t \t FUNC.gmail();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"play music\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"music\");\r\n\t\t \t FUNC.pmusic();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"volume up\"))\r\n\t\t {\r\n\t\t \tvoice.speak(\"volume increasing by 10\");\r\n\t\t \t\tvolume.up();\r\n\t\t \t\t\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"volume down\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t\t voice.speak(\"volume decreasing by 10\");\r\n\t \t\tvolume.down();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"show desktop\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"Showing desktop\");\r\n\t\t\t FUNC.desktop();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"how are you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"i'm fine and you \");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"what day is today\"))\r\n\t\t {\r\n\t\t\t Date dd=new Date();\r\n\t\t\t int i=dd.getDay();\r\n\t\t\t\tif(i==0)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is sunday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==1)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is monday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==2)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is tuesday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==3)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is wednesday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==4)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is thursday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==5)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is friday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==6)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is saturday\");\r\n\t\t\t\t}\r\n\t\t\t \r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to right\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.right();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to left\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.left();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to up\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t emotion.up();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to down\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.down();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"select this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.select();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"view its property\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.property();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"view item menu\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.viewmenu();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on mouse by keyboard\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.turnon();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close this window tab\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.close();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"switch window tab\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.switcht();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"ok dude take some rest\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t voice.speak(\"have a nice day\");\r\n\t\t\t voice.speak(\"i'm very lucky to have a master like you sir \");\r\n\t\t\t voice.speak(\"good night my suprier great master\");\r\n\t\t\t System.exit(0);\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn off wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on bluetooth\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t try{\r\n\t \t\t Process p ;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c fsquirt\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the notepad\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start notepad\");\r\n\t \t\t // System.out.println(\"inside\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t } else if(speech.equalsIgnoreCase(\"close the notepad\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im notepad.exe /f\");\r\n\t \t\t // System.out.println(\"inside\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the command\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t\t\tProcess p;\r\n\t \t\t\t\tp = Runtime.getRuntime().exec(\"cmd /c start cmd\");\t\t\t\t\r\n\t \t\t\t\t}catch(Exception er)\r\n\t \t\t\t\t{}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the command\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im cmd.exe /f\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the browser\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start chrome.exe\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the browser\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im chrome.exe /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the control panel\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c control\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the control panel\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c control taskkill /im control /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the paint\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start mspaint\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the paint\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im mspaint.exe /f\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the task manager\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start taskmgr.exe\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the task manager\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t \tp = Runtime.getRuntime().exec(\"cmd /c start taskkill /im taskmgr.exe /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open power option\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c powercfg.cpl\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open windows security center\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c wscui.cpl\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"copy this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok item is copied\");\r\n\t\t\t basiccontrolls.copy();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"paste here selected item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"item is pasted\");\r\n\t\t\t basiccontrolls.paste();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"cut this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok item is cut\");\r\n\t\t\t basiccontrolls.cut();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"go back\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok going to previous page\");\r\n\t\t\t basiccontrolls.back();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"show me my beautiful face\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"you look like a donkey\");\r\n\t\t\t basiccontrolls.camera();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who the hell are you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"hello\");\r\n\t\t\t voice.speak(\"i am computer \");\r\n\t\t\t voice.speak(\"here i'm assist by you \");\r\n\t\t\t voice.speak(\"i will do anything what ever you told me todo and \"+\" \"+\" what instruction are feeded in my dictionary\");\r\n\t\t\t voice.speak(\"Thank you for asking \");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who loves you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"no one loves me \");\r\n\t\t\t voice.speak(\"except my charger \");\r\n\t\t\t voice.speak(\"but more impoertantly i looks far handsome than you \");\r\n\t\t\t voice.speak(\"you peace of shit \");\r\n\t\t\t voice.speak(\"your face is look like a monkey\");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"do you like engineering\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"no\");\r\n\t\t\t voice.speak(\"I hate engineering\");\r\n\t\t\t voice.speak(\"you ruined my life \");\r\n\t\t }\r\n\t\t/* else if(speech.equalsIgnoreCase(\"turn off wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }*/\r\n\r\n\t}", "private void speak() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM) ;\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Speak the Item\");\n\n startActivityForResult(intent, SPEECH_REQUEST_CODE);\n\n }", "private void speakOut() {\n\n tts.speak(\"Hello I am jessie\", TextToSpeech.QUEUE_FLUSH, null);\n tts.setLanguage(Locale.ENGLISH);\n //tts.setPitch(9);\n tts.setSpeechRate(1);\n }", "public interface Translator {\n Observable<String> translate(String input, Language toLanguage);\n}", "public interface ITextToSpeech {\n\n /* loaded from: classes.dex */\n public interface TextToSpeechCallback {\n void onFailure();\n\n void onSuccess();\n }\n\n boolean isInitialized();\n\n int isLanguageAvailable(Locale locale);\n\n void onDestroy();\n\n void onResume();\n\n void onStop();\n\n void setPitch(float f);\n\n void setSpeechRate(float f);\n\n void speak(String str, Locale locale);\n}", "@Override\n public void onClick(View v) {\n StringRequest stringRequest = searchNameStringRequest(output.getText().toString(),\"en\",\"ar\");\n\n\n\n // executing the request (adding to queue)\n queue.add(stringRequest);\n\n String toSpeak = output.getText().toString();\n\n t1.speak(toSpeak, TextToSpeech.QUEUE_FLUSH, null);\n }", "public boolean speak(String text) {\n\treturn speak(new FreeTTSSpeakableImpl(text));\n }", "private void speak(String text, int queueMode, ArrayList<String> params) {\n if (queueMode == 0) {\n stop();\n }\n mSpeechQueue.add(new SpeechItem(text, params, SpeechItem.TEXT));\n if (!mIsSpeaking) {\n processSpeechQueue();\n }\n }", "public abstract WordEntry autoTranslate(String text, String to);", "public String speak(){\n speechOutput.clear();\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Just speak normally into your phone\");\n intent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, 10);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.ENGLISH);\n try {\n startActivityForResult(intent, VOICE_RECOGNITION);\n } catch (ActivityNotFoundException e) {\n e.printStackTrace();\n }\n\n\n return speechResult;\n }", "ILoLoString translate();", "public void language(String system) {\n String language=\"c语言\";\n this.output.output(system, language);\n //System.out.println(\"C语言编程!\\n\");\n }", "String translateEnglishToDothraki(String englishText) throws Exception\n\t{\n\t\tString urlHalf1 = \"https://api.funtranslations.com/translate/dothraki.json?text=\";\n\t\tString url = urlHalf1 + englishText;\n\n\t\tJsonParser parser = new JsonParser();\n\n\t\tString jsonData = getJsonData(url);\n\n\t\tJsonElement jsonTree = parser.parse(jsonData);\n\n\t\tString translation = \"\";\n\n\t\tif (jsonTree.isJsonObject())\n\t\t{\n\t\t\tJsonObject treeObject = jsonTree.getAsJsonObject();\n\n\t\t\tJsonElement contents = treeObject.get(\"contents\");\n\n\t\t\tif (contents.isJsonObject())\n\t\t\t{\n\t\t\t\tJsonObject contentsObject = contents.getAsJsonObject();\n\n\t\t\t\tJsonElement translateElement = contentsObject.get(\"translated\");\n\n\t\t\t\ttranslation = translateElement.getAsString();\n\t\t\t}\n\t\t}\n\n\t\treturn translation;\n\t}", "@Override\n public void onClick(View v) {\n text_to_speech = set_voice(text_to_speech);\n int len = ar.length;\n for (int i = 0; i < len; i++){\n speak(text_to_speech,ar[i]);\n }\n }", "private void sayHello() {\n\n\t\tmTts.speak(translatedText, TextToSpeech.QUEUE_FLUSH, // Drop allpending\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// entries in\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// the playback\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// queue.\n\t\t\t\tnull);\n\t}", "public void showTextView(String message, int type) {\n\n switch (type) {\n case USER:\n layout = getUserLayout();\n TextView tv = layout.findViewById(R.id.chatMsg);\n\n tv.setText(message);\n\n layout.setFocusableInTouchMode(true);\n chatLayout.addView(layout); // move focus to text view to automatically make it scroll up if softfocus\n layout.requestFocus();\n break;\n case BOT:\n\n\n if (defaultLanguage.equals(\"au\")) {\n\n //languageIdentifier.identifyLanguage(msg).addOnSuccessListener(new OnSuccessListener<String>() {\n\n layout = getBotLayout();\n\n languageIdentifier.identifyLanguage(message).addOnSuccessListener(new OnSuccessListener<String>() {\n @Override\n public void onSuccess(String languageCode) {\n\n\n if (languageCode != \"und\" && languageCode.equals(\"zh\")) {\n\n\n chineseEnglishTranslator.downloadModelIfNeeded(chineseToEnglishConditions).addOnSuccessListener(new OnSuccessListener<Void>() {\n @Override\n public void onSuccess(Void aVoid) {\n\n chineseEnglishTranslator.translate(message).addOnSuccessListener(new OnSuccessListener<String>() {\n @Override\n public void onSuccess(String s) {\n\n TextView tv1 = layout.findViewById(R.id.chatMsg);\n tv1.setText(s);\n layout.setFocusableInTouchMode(true);\n chatLayout.addView(layout); // move focus to text view to automatically make it scroll up if softfocus\n layout.requestFocus();\n\n mtts = new TextToSpeech(getActivity(), new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n int result = 0;\n result = mtts.setLanguage(Locale.ENGLISH);\n\n float pitch = 1.0f;\n if (pitch < 0.1) pitch = 0.1f;\n float speed = 1.0f;\n mtts.setPitch(pitch);\n mtts.setSpeechRate(speed);\n\n mtts.speak(s, TextToSpeech.QUEUE_FLUSH, null);\n //mtts.speak(\"\",TextToSpeech.QUEUE_FLUSH,null,\"\");\n\n\n }\n }\n });\n\n }\n });\n\n }\n });\n\n\n } else {\n\n TextView tv1 = layout.findViewById(R.id.chatMsg);\n tv1.setText(message);\n layout.setFocusableInTouchMode(true);\n chatLayout.addView(layout); // move focus to text view to automatically make it scroll up if softfocus\n layout.requestFocus();\n\n mtts = new TextToSpeech(getActivity(), new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n int result = 0;\n result = mtts.setLanguage(Locale.ENGLISH);\n\n float pitch = 1.0f;\n if (pitch < 0.1) pitch = 0.1f;\n float speed = 1.0f;\n mtts.setPitch(pitch);\n mtts.setSpeechRate(speed);\n\n mtts.speak(message, TextToSpeech.QUEUE_FLUSH, null);\n //mtts.speak(\"\",TextToSpeech.QUEUE_FLUSH,null,\"\");\n\n\n }\n }\n });\n\n }\n }\n });\n }\n else {\n mtts = new TextToSpeech(getActivity(), new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n int result = mtts.setLanguage(Locale.CHINA);\n\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n Log.e(\"TTs\", \"Language Not supported\");\n } else {\n float pitch = 1.0f;\n if (pitch < 0.1) pitch = 0.1f;\n float speed = 1.0f;\n mtts.setPitch(pitch);\n mtts.setSpeechRate(speed);\n\n if (defaultLanguage.equals(\"cn\")) {\n\n englishChineseTranslator.translate(message).addOnSuccessListener(new OnSuccessListener<String>() {\n @Override\n public void onSuccess(String s) {\n\n String botResponseArray [] = s.split(\"\\\\|\\\\|\");\n for(int i=0; i<botResponseArray.length;i++){\n\n layout = getBotLayout();\n TextView tv1 = layout.findViewById(R.id.chatMsg);\n tv1.setText(botResponseArray[i]);\n mtts.speak(botResponseArray[i], TextToSpeech.QUEUE_FLUSH, null);\n\n layout.setFocusableInTouchMode(true);\n chatLayout.addView(layout); // move focus to text view to automatically make it scroll up if softfocus\n layout.requestFocus();\n }\n }\n });\n\n }\n\n }\n } else {\n Log.e(\"TTs\", \"Language Not supported\");\n }\n }\n });\n }\n\n\n break;\n default:\n layout = getBotLayout();\n break;\n }\n queryEditText.requestFocus(); // change focus back to edit text to continue typing\n }", "Builder addInLanguage(Text value);", "public interface Translator {\n\t/**\n\t * Make text translation.\n\t * @param text source text for translation.\n\t * @param from source language code.\n\t * @param to target language code.\n\t * @return list of translated words from text.\n\t */\n\tList<String> translate(String text, String from, String to);\n}", "@Override\n public void onInit(int code) {\n if (code==TextToSpeech.SUCCESS) {\n m_tts.setLanguage(Locale.US);\n } else {\n m_tts = null;\n msg(\"Failed to initialize TTS engine\");\n }\n }", "public void setLanguage(String s) {\n\t\tlanguage = s;\n\t}", "private static String transcribe(String filePath) throws Exception {\n try (SpeechClient speech = SpeechClient.create()) {\n Path path = Paths.get(filePath);\n byte[] data = Files.readAllBytes(path);\n ByteString audioBytes = ByteString.copyFrom(data);\n\n // Configure request with local raw PCM audio\n RecognitionConfig config =\n RecognitionConfig.newBuilder()\n .setEncoding(SPEECH_ENCODING)\n .setLanguageCode(SPEECH_LANGUAGE_CODE)\n .setSampleRateHertz(SPEECH_SAMPLE_RATE)\n .build();\n RecognitionAudio audio = RecognitionAudio.newBuilder().setContent(audioBytes).build();\n\n // Use blocking call to get audio transcript\n RecognizeResponse response = speech.recognize(config, audio);\n List<SpeechRecognitionResult> results = response.getResultsList();\n\n for (SpeechRecognitionResult result : results) {\n // There can be several alternative transcripts for a given chunk of speech. Just use the\n // first (most likely) one here.\n SpeechRecognitionAlternative alternative = result.getAlternativesList().get(0);\n return alternative.getTranscript();\n }\n }\n return \"\";\n }", "@DISPID(-2147413012)\n @PropPut\n void language(\n java.lang.String rhs);", "public interface TextSpeakLogicInterface {\n\n public void speakOut(String text);\n public void stopSpeak();\n\n}", "private void startTranslation(\n String sourceLanguageName, \n boolean isSourceExternal, \n String targetLanguageName,\n boolean isTargetExternal,\n boolean isTargetNew) \n {\n FrostResourceBundle sourceBundle;\n TranslateableFrostResourceBundle targetBundle;\n \n FrostResourceBundle rootBundle = new FrostResourceBundle(); // english fallback for source language\n \n if( isSourceExternal ) {\n // load external properties file\n sourceBundle = new FrostResourceBundle(sourceLanguageName, rootBundle, true);\n } else {\n // build in source\n sourceBundle = new FrostResourceBundle(sourceLanguageName, rootBundle, false);\n }\n \n if( isTargetExternal ) {\n // load external properties file\n targetBundle = new TranslateableFrostResourceBundle(targetLanguageName, null, true);\n } else if( isTargetNew ) {\n // start a new translation, nothing to load\n targetBundle = new TranslateableFrostResourceBundle();\n } else {\n // target is build-in, enhance existing translation\n targetBundle = new TranslateableFrostResourceBundle(targetLanguageName, null, false);\n }\n \n // TODO: run dialog with source and targetbundle, if user pressed OK save the targetbundle:\n \n targetBundle.saveBundleToFile(targetLanguageName);\n \n }", "public interface TTSController {\n\t\n\t/**\n\t * Plays the given string of text as speech.\n\t */\n\tvoid playSpeech(String rawText);\n\t\n}", "private void initializeTextToSpeech() {\n myTTS = new TextToSpeech(this, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int i) {\n if(myTTS.getEngines().size() ==0){\n Toast.makeText(MainActivity.this, \"There is no Text to Speech engine on your device\", Toast.LENGTH_LONG).show();\n finish();\n }\n else {\n myTTS.setLanguage(Locale.US);\n speak(\"Hello! Welcome to the workout app\");\n\n }\n }\n });\n }", "public void setAudioEncoding(String s) {\n audioEncoding = s;\n }", "@Override\n public void onInit(int status) {\n\n if (status == TextToSpeech.SUCCESS) {\n\n int result = tts.setLanguage(Locale.US);\n\n //tts.setPitch(0.8f); // set pitch level\n tts.setSpeechRate(1); // set speech speed rate\n\n if (result == TextToSpeech.LANG_MISSING_DATA\n || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n Log.e(\"TTS\", \"Language is not supported\");\n } else {\n Log.e(\"TTS\", \"Language is supported\");\n }\n\n } else {\n Log.e(\"TTS\", \"Initilization Failed\");\n }\n\n }", "public void setGrammarText(String aGrammarText);", "public void setLanguageEnglishButtonText(String text) {\n/*Generated! Do not modify!*/ replyDTO.getVariablesToSet().add(\"overviewSmall_languageEnglishButton_propertyText\");\n/*Generated! Do not modify!*/ if (text == null) {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().remove(\"overviewSmall_languageEnglishButton_propertyText\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().put(\"overviewSmall_languageEnglishButton_propertyText\", text);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(\"setLanguageEnglishButtonText(\" + escapeString(text) + \");\");\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "public void translate() {\n\t\twhile (!inputBuffer.endOfBuffer()) {\n\t\t\tMsgChar get = inputBuffer.getChar();\n\t\t\tif (get == null) continue;\n\t\t\tif (inputBuffer.isEndOfSentence()) {\n\t\t\t\toutputBuffer.markEndOfSentence();\n\t\t\t} else if (inputBuffer.isEndOfWord()) {\n\t\t\t\toutputBuffer.markEndOfWord();\n\t\t\t} else {\n\t\t\t\toutputBuffer.putChar(get.convert());\n\t\t\t}\n\t\t}\n\t\tinputBuffer.getReader().close();\n\t\toutputBuffer.close();\n\t}", "public abstract WordAudioDocument convertToAudioDocument(TextDocument doc) throws IOException;", "public synchronized Result process(String text, String lang) {\n // Check that service has been initialized.\n if (!this.initialized) {\n logInitializationError();\n return null;\n }\n this.cas.reset();\n this.cas.setDocumentText(text);\n if (lang != null) {\n this.cas.setDocumentLanguage(lang);\n }\n try {\n this.ae.process(this.cas);\n } catch (AnalysisEngineProcessException e) {\n getLogger().log(Level.SEVERE, \"\", e);\n return null;\n }\n return this.resultExtractor.getResult(this.cas, this.serviceSpec);\n }", "@Test\n public void shouldTranslateWithRegionalVariant() {\n List<String> sentence = Arrays.asList(\"it\", \"is\", \"cold\");\n String result = \"\";\n for (String token : sentence) {\n result += manager.message(Locale.CANADA_FRENCH, token, token) + \" \";\n }\n assertEquals(\"Il fait frette \", result);\n }", "public synchronized AudioInputStream stringToSound(String sentence) throws CaptchaException {\n //use the custom (see inner class) InputStreamAudioPlayer, which provide interface to\n // Audio Stream\n InputStreamAudioPlayer audioPlayer = new InputStreamAudioPlayer();\n\n this.voice.setAudioPlayer(audioPlayer);\n\n // Synthesize speech.\n this.voice.speak(sentence);\n\n AudioInputStream ais = audioPlayer.getAudioInputStream();\n return ais;\n }", "private void speakout(String cname) \n\t\t\t{\n\t\t\t\t{t1.speak(cname,TextToSpeech.QUEUE_FLUSH,null);\n\t\t\t\tt1.setLanguage(Locale.ENGLISH);\n\t\t\t\t}\n\t\t\t}", "private void speakExtractedText(TextToSpeech tts, String fileTextContent){\n Bundle dataMap = new Bundle();\n dataMap.putFloat(TextToSpeech.Engine.KEY_PARAM_PAN, 0f);\n dataMap.putFloat(TextToSpeech.Engine.KEY_PARAM_VOLUME, 1f);\n dataMap.putInt(TextToSpeech.Engine.KEY_PARAM_STREAM, AudioManager.STREAM_VOICE_CALL);\n\n\n tts.speak(fileTextContent, TextToSpeech.QUEUE_FLUSH, dataMap, FRAGMENT_GENERAL_UTTERANCE_ID);\n }", "@Test(expected = NotEnglishWordException.class)\r\n\tpublic void testEnglishAdd() throws LanguageSyntaxException {\r\n\t\ttrans.addWord(\"дом\", \"домик\");\r\n\t}", "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main);\n txtSpeechInput = (TextView) findViewById(R.id.txtSpeechInput);\n textToSpeech = new TextToSpeech(getApplicationContext(), new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status != TextToSpeech.ERROR) {\n textToSpeech.setLanguage(Locale.ENGLISH);\n }\n }\n });\n\n btnSpeak = (ImageButton) findViewById(R.id.btnSpeak);\n btnSpeak.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n\n promptSpeechInput();\n }\n });\n\n }", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent(\n\t\t\t\t\t\tRecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\n\t\t\t\tintent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, \"en-US\");\n\n\t\t\t\ttry {\n\t\t\t\t\tstartActivityForResult(intent, RESULT_SPEECH);\n\t\t\t\t\tet1.setText(\"\");\n\t\t\t\t} catch (ActivityNotFoundException a) {\n\t\t\t\t\tToast t = Toast.makeText(getApplicationContext(),\n\t\t\t\t\t\t\t\"Opps! Your device doesn't support Speech to Text\",\n\t\t\t\t\t\t\tToast.LENGTH_SHORT);\n\t\t\t\t\tt.show();\n\t\t\t\t}\n\t\t\t\t\n\n\t\t\t}", "public abstract void addWordAudio(WordAudio audio) throws IOException;", "@Override\r\n protected void onCreate(Bundle savedInstanceState) {\r\n super.onCreate(savedInstanceState);\r\n setContentView(R.layout.activity_translate);\r\n\r\n translatedPhrase = findViewById(R.id.translatedPhrase);//textview to display the translated phrase or word\r\n list3 = findViewById(R.id.list3);\r\n list3.setChoiceMode(ListView.CHOICE_MODE_SINGLE);//setting the choice mode of the list to single choice\r\n\r\n subscribedLanguage = findViewById(R.id.subscribedLanguage);\r\n languageArrayList = phrasesDatabase.languages();//storing the data from the database into the array\r\n //array to store the string values of the main array\r\n ArrayList<String> spinnerArray = new ArrayList<>();\r\n //loop to retrieve the values from the main array into the string array for displaying\r\n for(int i =0; i < languageArrayList.size(); i++) {\r\n spinnerArray.add(languageArrayList.get(i).getLanguage());\r\n }\r\n\r\n ArrayAdapter<String> spinnerAdapter = new ArrayAdapter<>(this, android.R.layout.simple_spinner_item, spinnerArray);\r\n spinnerAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\r\n subscribedLanguage.setAdapter(spinnerAdapter);\r\n\r\n translate = findViewById(R.id.translate);\r\n pronounce = findViewById(R.id.pronounce);\r\n\r\n translationService = initLanguageTranslatorService();\r\n textService = initTextToSpeechService();\r\n\r\n //calling methods\r\n translatePhrase();\r\n textToSpeech();\r\n }", "public void speak(String speech)\n\t{\n\t\tif (ttsReady)\n\t\t{\n\t\t\ttts.speak(speech, TextToSpeech.QUEUE_FLUSH, null);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tUtils.makeLog(\"Tried to speak before TTS was ready\");\n\t\t}\n\t}", "public void sendCommands (String input, String language) {\n myController.parseCommand(input, language);\n }", "public void setLanguage(String language);", "public abstract WordEntry manualTranslate(String text, String from, String to);", "public void sayText(String normal, String altered){\n\t\tvoiceGen.sayText(normal, altered);\n\t}", "public static void main(String[] args) {\r\n // Init variables\r\n String phrase;\r\n String translated_phrase = \"\";\r\n String response;\r\n\r\n boolean keep_translating = true; // Flow control for program loop\r\n\t // Take in the phrase and split it into an array of strings\r\n while(keep_translating){\r\n\t\t\tSystem.out.println(\"Type a phrase to be translated to pig latin\");\r\n\t\t\tphrase = TextIO.getln();\r\n\t\t\tString[] split_phrase = phrase.split(\" \");\r\n\r\n\t // Loop over the array(phrase) translating the words one at a time\r\n\t for(String word : split_phrase) {\r\n\t\t translated_phrase = translated_phrase.concat(translate_word_to_pig_latin(word) + \" \");\r\n }\r\n\r\n // Print output to the user\r\n System.out.println(translated_phrase);\r\n\r\n // Check to see if user wants to translate a new phrase\r\n System.out.println(\"Would you like to translate another phrase? (Yy/Nn)\");\r\n response = TextIO.getlnString();\r\n if(response.equals(\"N\")|response.equals(\"n\")){\r\n keep_translating = false;\r\n } else{\r\n translated_phrase = \"\";\r\n }\r\n\r\n }\r\n }", "public void speak(String text, int queueMode, String[] params) {\n ArrayList<String> speakingParams = new ArrayList<String>();\n if (params != null) {\n speakingParams = new ArrayList<String>(Arrays.asList(params));\n }\n mSelf.speak(text, queueMode, speakingParams);\n }", "static void speak(String words) {\n\t\ttry {\n\t\t\tRuntime.getRuntime().exec(\"say \" + words).waitFor();\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public MultilingualString(String s, String languageCode) {\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 updateLanguage() {\n this.title.setText(LanguageStringMap.get().getMap().get(TITLE_KEY));\n this.skinSwitcher.updateLanguage();\n this.langSwitcher.updateLanguage();\n this.pawnSwitcher.updateLanguage();\n this.musicManager.updateLanguage();\n this.back.setText(LanguageStringMap.get().getMap().get(BACK_KEY));\n }", "@Override\r\n public String speak() {\r\n String word = \"\";\r\n Time.getInstance().time += 1;\r\n if (Time.getInstance().time == 1) {\r\n word = \"One day Neznaika decided to become an artist.\";\r\n }\r\n if (Time.getInstance().time == 101) {\r\n word = \"This story happened once day with Neznaika.\";\r\n }\r\n if (Time.getInstance().time == 201) {\r\n word = \"One day Neznaika wanted to become a musician.\";\r\n }\r\n if (Time.getInstance().time == 401) {\r\n word = \"One day Neznaika wanted to become a poet.\";\r\n }\r\n System.out.println(word);\r\n return word;\r\n }", "public void setOntologies20070510nid3Language(java.lang.String value) {\r\n\t\tBase.set(this.model, this.getResource(), ONTOLOGIES20070510NID3LANGUAGE, value);\r\n\t}", "public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n System.out.println(\"Enter your language:\");\n String language = scanner.nextLine();\n\n switch (language){\n case \"Sinhala\":\n System.out.println(\"Language is changed to Sinhala..\");\n break;\n case \"English\":\n System.out.println(\"Language is changed to English..\");\n break;\n case \"Tamil\":\n System.out.println(\"Language is changed to Tamil..\");\n break;\n default:\n System.out.println(\"Something went wrong!! Try again..\");\n break;\n }\n\n }", "Builder addInLanguage(String value);", "private boolean synthesizeToFile(String text, ArrayList<String> params,\n String filename, boolean calledFromApi) {\n // Only stop everything if this is a call made by an outside app trying\n // to\n // use the API. Do NOT stop if this is a call from within the service as\n // clearing the speech queue here would be a mistake.\n if (calledFromApi) {\n stop();\n }\n Log.i(\"TTS\", \"Synthesizing to \" + filename);\n boolean synthAvailable = false;\n try {\n synthAvailable = synthesizerLock.tryLock();\n if (!synthAvailable) {\n return false;\n }\n // Don't allow a filename that is too long\n if (filename.length() > MAX_FILENAME_LENGTH) {\n return false;\n }\n nativeSynth.synthesizeToFile(text, filename);\n } finally {\n // This check is needed because finally will always run; even if the\n // method returns somewhere in the try block.\n if (synthAvailable) {\n synthesizerLock.unlock();\n }\n }\n Log.i(\"TTS\", \"Completed synthesis for \" + filename);\n return true;\n }", "public static void flashTranslate(String st) {\n\n //length of one Morse Code unit. Details about the International Morse Code are in the manual.\n int unit = 500;\n String output = translate(st) + \" \";\n\n // Open the camera resource upon the call of this method.\n try {\n releaseCameraAndPreview();\n cam = Camera.open(Camera.CameraInfo.CAMERA_FACING_BACK);\n }\n catch (Exception e) {\n e.printStackTrace();\n }\n\n // taking input from the string to translate them into flashlight\n for (char ch : output.toCharArray()) {\n if (ch == '.') {\n try {\n turnFlashlightOn();\n Thread.sleep(unit); // keeps flashlight on for 1 unit\n } catch (InterruptedException exception) {\n Thread.currentThread().interrupt();\n }\n }\n else if (ch == '-') {\n try {\n turnFlashlightOn();\n Thread.sleep((3 * unit)); // keeps flashlight on for 3 units\n } catch (InterruptedException exception) {\n Thread.currentThread().interrupt();\n }\n }\n else {\n try {\n turnFlashlightOff();\n Thread.sleep((unit)); // keeps flashlight off for one unit for every space in the input String\n } catch (InterruptedException exception) {\n Thread.currentThread().interrupt();\n }\n }\n //\n }\n\n // Close and Release camera resource\n releaseCameraAndPreview();\n\n }", "@Override\n\tpublic Map<String, Object> apiProcess(ParamContextHolder paramContextHolder, CApiBase arg1) throws ApiProcessException {\n\t\tMap<String, Object> map = new HashMap<>();\n\t\tString id = paramContextHolder.getReq().getParameter(\"id\");\n\t\tif(!cosProcess.checkFileExist(folder+id+\"_zh.mp3\")){\n\t\t\tNNovelContent content = iNNovelContentService.selectById(id);\n\t\t\tif(content == null){\n\t\t\t\tthrow new ApiProcessException(\"C0001\",\"语音合成异常\");\n\t\t\t}\n\t\t\tString str = cosProcess.getContent(content.getBookId()+\"/\"+content.getId());\n\t\t\tstr = str.replaceAll(\"</br>\", \"\");\n\t\t\tList<String> list = new ArrayList<>();\n\t\t\tstr = str.trim();\n\t\t\twhile(str.length()>0){\n\t\t\t\tif(str.length() > 2000){\n\t\t\t\t\tint index = str.indexOf(\"。\", 2000);\n\t\t\t\t\tif(index == -1){\n\t\t\t\t\t\tindex = str.indexOf(\".\", 2000);\n\t\t\t\t\t}\n\t\t\t\t\tif(index == -1){\n\t\t\t\t\t\tindex = str.indexOf(\",\", 2000);\n\t\t\t\t\t}\n\t\t\t\t\tif(index == -1){\n\t\t\t\t\t\tindex = str.indexOf(\",\", 2000);\n\t\t\t\t\t}\n\t\t\t\t\tlist.add(str.substring(0, index));\n\t\t\t\t\tstr = str.substring(index);\n\t\t\t\t}else{\n\t\t\t\t\tlist.add(str);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tbyte[] data = {};\n\t\t\tfor(String s : list){\n\t\t\t\tTtsResponse res = client.synthesis(s,\"zh\",1,null);\n\t\t\t\tSystem.out.println(res.getResult());\n\t\t\t\tif(!(res.getResult()==null)) throw new ApiProcessException(\"C0001\",\"语音合成异常\");\n\t\t\t\tdata = ArrayUtils.addAll(data,res.getData());\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tcosProcess.createMP3(folder+content.getId()+\"_zh.mp3\", new ByteArrayInputStream(data));\n\t\t\t} catch (Exception e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\tthrow new ApiProcessException(\"C0001\",\"语音合成异常\");\n\t\t\t}\n\t\t}\n\t\tmap.put(\"url\",path+folder+id+\"_zh.mp3\");\n\t\treturn map;\n\t}", "private void speak() {\n String s = textArea.getText();\n String s5=\"images\\\\\";\n String s4=\".jpeg\";\n String obj=s5+s+s4;\n ImageIcon ic1=new ImageIcon(obj);\n Image image1=ic1.getImage().getScaledInstance(image.getWidth(),image.getHeight(),Image.SCALE_AREA_AVERAGING);\n ImageIcon icon1=new ImageIcon(image1);\n image.setIcon(icon1);\n int i = textArea.getCaretPosition();\n int k = s.length();\n for (int j = i; j <= k - 1; j++) {\n char c = s.charAt(j);\n String s3 = Character.toString(c);\n s2 = s2 + s3;\n }\n VoiceManager voiceManager = VoiceManager.getInstance();\n helloVoice = voiceManager.getVoice(\"kevin16\");\n helloVoice.allocate();\n helloVoice.speak(s2);\n helloVoice.deallocate();\n playB.setText(\"PLAY\");\n }", "public void englishlanguage() {\nSystem.out.println(\"englishlanguage\");\n\t}", "@Override\n public void setText(String englishText) {\n\n }" ]
[ "0.6921953", "0.68172973", "0.67011064", "0.66643095", "0.66362315", "0.63729286", "0.63577497", "0.6287926", "0.6269134", "0.6263338", "0.62586576", "0.62520325", "0.6208219", "0.6187394", "0.6150188", "0.609797", "0.6055687", "0.59223753", "0.59209913", "0.5881932", "0.5844857", "0.57932156", "0.5764868", "0.57490355", "0.57196546", "0.57170135", "0.5704055", "0.5696531", "0.5645099", "0.56436783", "0.5642563", "0.5638402", "0.5572124", "0.5570364", "0.55000603", "0.54935485", "0.54882723", "0.54882175", "0.5482691", "0.5481147", "0.5480072", "0.54751605", "0.54409474", "0.5429082", "0.5405004", "0.54026496", "0.538889", "0.5367045", "0.5364169", "0.5362324", "0.53447074", "0.53041214", "0.5301889", "0.53014535", "0.5297149", "0.52902156", "0.5287208", "0.5277482", "0.52748823", "0.52698165", "0.5268226", "0.5266041", "0.52534384", "0.5225088", "0.521894", "0.5212569", "0.5187223", "0.5178535", "0.5161324", "0.51512265", "0.5148798", "0.5146521", "0.5144739", "0.51440835", "0.51354164", "0.5129673", "0.51260805", "0.51195896", "0.5110827", "0.5103362", "0.51024157", "0.5092652", "0.5073677", "0.50653803", "0.50628257", "0.50614756", "0.5058106", "0.5044972", "0.5009478", "0.5006043", "0.5005025", "0.50046307", "0.5002217", "0.50010604", "0.49991882", "0.49984765", "0.49959272", "0.4992136", "0.49909812", "0.4989213" ]
0.5869316
20
Performs the texttospeech operations: it takes a std::string as input and outputs the corresponding audio signal in the specified file.
public void sayToFile(String pStringToSay, String pFileName) throws DynamicCallException, ExecutionException{ call("sayToFile", pStringToSay, pFileName).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static String transcribe(String filePath) throws Exception {\n try (SpeechClient speech = SpeechClient.create()) {\n Path path = Paths.get(filePath);\n byte[] data = Files.readAllBytes(path);\n ByteString audioBytes = ByteString.copyFrom(data);\n\n // Configure request with local raw PCM audio\n RecognitionConfig config =\n RecognitionConfig.newBuilder()\n .setEncoding(SPEECH_ENCODING)\n .setLanguageCode(SPEECH_LANGUAGE_CODE)\n .setSampleRateHertz(SPEECH_SAMPLE_RATE)\n .build();\n RecognitionAudio audio = RecognitionAudio.newBuilder().setContent(audioBytes).build();\n\n // Use blocking call to get audio transcript\n RecognizeResponse response = speech.recognize(config, audio);\n List<SpeechRecognitionResult> results = response.getResultsList();\n\n for (SpeechRecognitionResult result : results) {\n // There can be several alternative transcripts for a given chunk of speech. Just use the\n // first (most likely) one here.\n SpeechRecognitionAlternative alternative = result.getAlternativesList().get(0);\n return alternative.getTranscript();\n }\n }\n return \"\";\n }", "private void speakExtractedText(TextToSpeech tts, String fileTextContent){\n Bundle dataMap = new Bundle();\n dataMap.putFloat(TextToSpeech.Engine.KEY_PARAM_PAN, 0f);\n dataMap.putFloat(TextToSpeech.Engine.KEY_PARAM_VOLUME, 1f);\n dataMap.putInt(TextToSpeech.Engine.KEY_PARAM_STREAM, AudioManager.STREAM_VOICE_CALL);\n\n\n tts.speak(fileTextContent, TextToSpeech.QUEUE_FLUSH, dataMap, FRAGMENT_GENERAL_UTTERANCE_ID);\n }", "public interface Text2Speech {\n\t\n\t/**\n\t * Supported formats.\n\t */\n\tenum OutputFormat {\n\t\t/**\n\t\t * MP3 format.\n\t\t */\n\t\tMP3,\n\t\t/**\n\t\t * Ogg-vorbis format.\n\t\t */\n\t\tOGG\n\t}\n\t\n\t/**\n\t * Produce MP3 with specified phrase.\n\t * \n\t * @param phrase Some sentence.\n\t * @return MP3 stream (may be network bound, close afterwards)\n\t */\n\tInputStream synthesize(String phrase, OutputFormat fmt) throws IOException;\n}", "private boolean synthesizeToFile(String text, ArrayList<String> params,\n String filename, boolean calledFromApi) {\n // Only stop everything if this is a call made by an outside app trying\n // to\n // use the API. Do NOT stop if this is a call from within the service as\n // clearing the speech queue here would be a mistake.\n if (calledFromApi) {\n stop();\n }\n Log.i(\"TTS\", \"Synthesizing to \" + filename);\n boolean synthAvailable = false;\n try {\n synthAvailable = synthesizerLock.tryLock();\n if (!synthAvailable) {\n return false;\n }\n // Don't allow a filename that is too long\n if (filename.length() > MAX_FILENAME_LENGTH) {\n return false;\n }\n nativeSynth.synthesizeToFile(text, filename);\n } finally {\n // This check is needed because finally will always run; even if the\n // method returns somewhere in the try block.\n if (synthAvailable) {\n synthesizerLock.unlock();\n }\n }\n Log.i(\"TTS\", \"Completed synthesis for \" + filename);\n return true;\n }", "void playSpeech(String rawText);", "private boolean convert(String text,String directory,String fileName) {\r\n\t\t\r\n\t\tif(!text.isEmpty()) {\t\t\t\r\n\t\t\tFile file = new File(directory,fileName);\r\n\t\t\t\r\n\t\t\t// create mp3 file with this weather announcement\r\n\t\t\tlog.fine(\"text to speech conversion: text=\"+text+\" filename=\"+file);\r\n\t\t\t\r\n\t\t\t// translate into mp3 stream\r\n\t\t\ttry{\r\n\t text=java.net.URLEncoder.encode(text, \"UTF-8\");\r\n\t //URL url = new URL(\"http://translate.google.com/translate_tts?tl=de&ie=UTF-8&q=\"+text+\"&total=1&idx=0&client=alarmpi\");\r\n\t \r\n\t Map<String, String> requestParams = new HashMap<>();\r\n\t requestParams.put(\"key\", \"f5d762f987f34397b350af6563ffb818\");\r\n\t requestParams.put(\"hl\", \"de-de\");\r\n\t requestParams.put(\"c\", \"MP3\");\r\n\t requestParams.put(\"src\", text);\r\n\t \r\n\t\t\t\tString encodedURL = requestParams.keySet().stream()\r\n\t \t .map(key -> key + \"=\" + requestParams.get(key))\r\n\t \t .collect(Collectors.joining(\"&\", \"http://api.voicerss.org?\", \"\"));\r\n\t \r\n\t URL url = new URL(encodedURL);\r\n\t log.fine(\"URL=\"+encodedURL);\r\n\t \r\n\t HttpURLConnection urlConn = (HttpURLConnection) url.openConnection();\r\n\t urlConn.addRequestProperty(\"User-Agent\", \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36\");\r\n\t InputStream audioSrc = urlConn.getInputStream();\r\n\t DataInputStream read = new DataInputStream(audioSrc);\r\n\t OutputStream outstream = new FileOutputStream(file);\r\n\t byte[] buffer = new byte[1024];\r\n\t int len;\r\n\t int totalLength = 0;\r\n\t while ((len = read.read(buffer)) > 0) {\r\n\t \toutstream.write(buffer, 0, len);\r\n\t \ttotalLength += len;\r\n\t }\r\n\t outstream.close();\r\n\t log.fine(\"text2speech byteount=\"+totalLength);\r\n\t \r\n\t if(totalLength<1024) {\r\n\t \t// this indicates a problem...\r\n\t \tlog.severe(\"text2speech conversion returns less than 1k data\");\r\n\t }\r\n\t \r\n\t \t\t// update mpd database\r\n\t SoundControl.getSoundControl().update();\r\n\t \r\n\t return true;\r\n\t\t\t} catch(IOException e){\r\n\t\t\t\tlog.severe(\"Exception in text to speech conversion: \"+e.getMessage());\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\telse {\r\n\t\t\tlog.warning(\"Text to speech conversion called with empty text\");\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "public void addSpeechFile(String text, String filename) {\n mSelf.addSpeech(text, filename);\n }", "private void ConvertTextToSpeech(String voice1) {\n text=voice1;\n //text = et.getText().toString();\n if (text == null || \"\".equals(text)) {\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n } else\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", "private void convertTextToSpeech(String text) {\n if (null == text || \"\".equals(text)) {\n text = \"Please give some input.\";\n }\n m_tts.speak(text, TextToSpeech.QUEUE_ADD, null);\n }", "String transcribeFile(String filePath);", "private void ConvertTextToSpeech() {\n if (properties.get(selectedStateOrCountry) != null) {\n tts.speak(String.format(\"This is %s %s\", selectedStateOrCountry, properties.get(selectedStateOrCountry)),\n TextToSpeech.QUEUE_FLUSH, null);\n\n } else if (countryCapitalMap.get(selectedStateOrCountry) != null) {\n tts.speak(countryCapitalMap.get(selectedStateOrCountry), TextToSpeech.QUEUE_FLUSH, null);\n } else {\n tts.speak(selectedStateOrCountry, TextToSpeech.QUEUE_FLUSH, null);\n }\n }", "public void speak(String text);", "private void addSpeech(String text, String filename) {\n mUtterances.put(text, new SoundResource(filename));\n }", "@Override\n protected synchronized void onSynthesizeText(SynthesisRequest request,\n SynthesisCallback callback) {\n int load = onLoadLanguage(request.getLanguage(), request.getCountry(),\n request.getVariant());\n\n // We might get requests for a language we don't support - in which case\n // we error out early before wasting too much time.\n if (load == TextToSpeech.LANG_NOT_SUPPORTED) {\n callback.error();\n return;\n }\n\n // At this point, we have loaded the language we need for synthesis and\n // it is guaranteed that we support it so we proceed with synthesis.\n\n // We denote that we are ready to start sending audio across to the\n // framework. We use a fixed sampling rate (16khz), and send data across\n // in 16bit PCM mono.\n callback.start(SAMPLING_RATE_HZ,\n AudioFormat.ENCODING_PCM_16BIT, 1 /* Number of channels. */);\n\n // We then scan through each character of the request string and\n // generate audio for it.\n final String text = request.getText().toLowerCase();\n for (int i = 0; i < text.length(); ++i) {\n char value = normalize(text.charAt(i));\n // It is crucial to call either of callback.error() or callback.done() to ensure\n // that audio / other resources are released as soon as possible.\n if (!generateOneSecondOfAudio(value, callback)) {\n callback.error();\n return;\n }\n }\n\n // Alright, we're done with our synthesis - yay!\n callback.done();\n }", "private void tts(String str){\n\t\ttxtSpeechInput.setText(str);\n\t\tt1.speak(str , TextToSpeech.QUEUE_FLUSH, null);\n\t\twhile(t1.isSpeaking()){\n\t\t\t;\n\t\t}\n\t}", "public boolean synthesizeToFile(String text, String[] params,\n String filename) {\n ArrayList<String> speakingParams = new ArrayList<String>();\n if (params != null) {\n speakingParams = new ArrayList<String>(Arrays.asList(params));\n }\n return mSelf.synthesizeToFile(text, speakingParams, filename, true);\n }", "public void speak(String outputSpeak) \n {\n speaker.speaker(outputSpeak);\n }", "private void speakOut(String text) {\n\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", "@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)\n private void speakWords(String speech) {\n myTTS.speak (speech, TextToSpeech.QUEUE_FLUSH, null,\"1\");\n\n }", "private void generateTts() {\n File mediaStorageDir = new File(\n Environment.getExternalStorageDirectory(),\n resources.getTtsStorageFolder());\n \n if (!mediaStorageDir.exists())\n {\n if (!mediaStorageDir.mkdirs())\n {\n Log.w(TAG, \"Failed to create mediadir\");\n }\n else\n {\n Log.d(TAG, \"Created mediadir\" + mediaStorageDir.getAbsolutePath());\n }\n }\n\n File mediaFile = new File(mediaStorageDir.getPath() + File.separator + resources.getTtsFileName());\n Log.d(TAG, \"TTS path : \" + mediaFile.getAbsolutePath());\n\n HashMap<String, String> hashTts = new HashMap<>();\n hashTts.put(TextToSpeech.Engine.KEY_PARAM_UTTERANCE_ID, \"ttsToFile\");\n t1.setSpeechRate(Float.parseFloat(resources.getTtsSpeechRate()));\n t1.synthesizeToFile(message, hashTts, mediaFile.getAbsolutePath());\n\n }", "@FXML\r\n void btnspeechClick(MouseEvent event) {\n \t\r\n \t setService();\r\n setHeader();\r\n \r\n System.out.println(service);\r\n \r\n InputStream stream = service.synthesize(\r\n taContent.getText(), // 변경할 문자열\r\n \tVoice.EN_LISA, // voice 선택\r\n \tAudioFormat.WAV // 출력할 오디오 포멧 형식 \r\n ).execute();\r\n // 음성데이터를 저장하기\r\n try {\r\n InputStream in = WaveUtils.reWriteWaveHeader(stream);\r\n //WaveUtils.\r\n \r\n OutputStream os = new FileOutputStream(\"d:/d_other/AIData/test12.wav\");\r\n \r\n byte[] tmp = new byte[1024];\r\n int len = 0;\r\n \r\n while((len = in.read(tmp)) != -1) {\r\n os.write(tmp, 0, len);\r\n }\r\n os.flush();\r\n \r\n os.close();\r\n in.close();\r\n stream.close();\r\n \r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n }\r\n \r\n music();\r\n\r\n }", "@SuppressWarnings(\"unchecked\")\n public void speak(String text) throws JavaLayerException {\n\t\ttry {\n \n //Create a JLayer instance\n AdvancedPlayer player = new AdvancedPlayer(synthesizer.getMP3Data(text));\n player.play();\n \n } catch (IOException e) {\n \n }\n\t\t\n\t}", "public void transcribe (String utterance, float confidence) \n{\n //println(utterance);\n if (!utterance.equals(\"\"))\n {\n result = utterance;\n ListenForKeywords(result);\n println(result);\n inputResult = result;\n result = \"\";\n \n //CheckCommandValidity(result);\n \n }\n}", "public abstract WordAudioDocument convertToAudioDocument(TextDocument doc) throws IOException;", "@Override\n public void onClick(View v) {\n text_to_speech = set_voice(text_to_speech);\n int len = ar.length;\n for (int i = 0; i < len; i++){\n speak(text_to_speech,ar[i]);\n }\n }", "public void Save2Wave(String i_filename) {\n\t \tStringBuffer output = new StringBuffer();\n\t\t\ttry {\n\t\t\t\tBufferedReader in = new BufferedReader(new FileReader(i_filename));\n\t\t\t\tString st;\n\t\t\t\twhile ((st=in.readLine()) != null) {\n\t\t\t\toutput.append(st);\n\t\t\t\toutput.append(\" \");\n\t\t\t\t}\n\t\t\t\tin.close();\n\t\t\t}\n\t\t\tcatch (Exception fx) {\n\t\t\t\tSystem.out.println(\"IO error in Synthesis: \" + fx.toString());\n\t\t\t}\n\t\t\tm_ttsLocal.SaveToFile(output.toString());\n\t\t}", "private boolean synthesizeIpaToFile(String ipaText, ArrayList<String> params,\n String filename, boolean calledFromApi) {\n // Only stop everything if this is a call made by an outside app trying\n // to\n // use the API. Do NOT stop if this is a call from within the service as\n // clearing the speech queue here would be a mistake.\n if (calledFromApi) {\n stop();\n }\n Log.i(\"TTS\", \"Synthesizing IPA to \" + filename);\n boolean synthAvailable = false;\n try {\n synthAvailable = synthesizerLock.tryLock();\n if (!synthAvailable) {\n return false;\n }\n // Don't allow a filename that is too long\n if (filename.length() > MAX_FILENAME_LENGTH) {\n return false;\n }\n // TODO: Add nativeSynth.synthesizeIpaToFile(text, filename);\n } finally {\n // This check is needed because finally will always run; even if the\n // method returns somewhere in the try block.\n if (synthAvailable) {\n synthesizerLock.unlock();\n }\n }\n Log.i(\"TTS\", \"Completed synthesis for \" + filename);\n return true;\n }", "public void speakText(String text) {\n mTTS.setPitch(1);\n mTTS.setSpeechRate(1);\n mTTS.speak(String.format(\"Okay! Searching for %s\", text),\n TextToSpeech.QUEUE_FLUSH, null);\n }", "public void recordVoice() {\n\t\t\n\t\t//String command = \"ffmpeg -f alsa -i hw:0 -t 2 -acodec pcm_s16le -ar 16000 -ac 1 foo.wav\"\n\t\tString command = \"arecord -d 2 -r 22050 -c 1 -i -t wav -f s16_LE foo.wav\";\n\t\t\n\t\tProcessBuilder pb = new ProcessBuilder(\"bash\" , \"-c\" , command );\n\t\ttry {\n\t\t\t\n\t\t\tProcess recordProcess = pb.start();\n\t\t\t\n\t\t\trecordProcess.waitFor();\n\t\t\t\n\t\t\trecordProcess.destroy();\n\t\n\t\t\t\n\t\t}catch (IOException ioe) {\n\t\t\tioe.printStackTrace();\n\t\t\t\n\t\t}catch (InterruptedException ie) {\n\t\t\tie.printStackTrace();\n\t\t}\n\t\t\n\t}", "private void speak(String s, String text) {\n if (Utility.getInstance().isOnline(mContext)) {\n try {\n float pitch = (float) 0.62;\n float speed = (float) 0.86;\n textToSpeech.setSpeechRate(speed);\n textToSpeech.setPitch(pitch);\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n Bundle bundle = new Bundle();\n bundle.putInt(TextToSpeech.Engine.KEY_PARAM_STREAM, AudioManager.STREAM_MUSIC);\n textToSpeech.speak(s, TextToSpeech.QUEUE_FLUSH, bundle, null);\n textToSpeech.speak(text, TextToSpeech.QUEUE_ADD, bundle, null);\n } else {\n HashMap<String, String> param = new HashMap<>();\n param.put(TextToSpeech.Engine.KEY_PARAM_STREAM, String.valueOf(AudioManager.STREAM_MUSIC));\n textToSpeech.speak(s, TextToSpeech.QUEUE_FLUSH, param);\n textToSpeech.speak(text, TextToSpeech.QUEUE_ADD, param);\n }\n } catch (Exception ae) {\n ae.printStackTrace();\n }\n } else {\n Toast.makeText(mContext, getString(R.string.please_check_internet), Toast.LENGTH_SHORT).show();\n }\n }", "@Override\n public void onClick(View v) {\n StringRequest stringRequest = searchNameStringRequest(output.getText().toString(),\"en\",\"ar\");\n\n\n\n // executing the request (adding to queue)\n queue.add(stringRequest);\n\n String toSpeak = output.getText().toString();\n\n t1.speak(toSpeak, TextToSpeech.QUEUE_FLUSH, null);\n }", "private void speakout(String cname) \n{\n\t{t1.speak(cname,TextToSpeech.QUEUE_FLUSH,null);\n\tt1.setLanguage(Locale.ENGLISH);\n\t}\n}", "public interface TTSController {\n\t\n\t/**\n\t * Plays the given string of text as speech.\n\t */\n\tvoid playSpeech(String rawText);\n\t\n}", "@Override\n\tprotected Void doInBackground() throws Exception {\n\t\tString cmdSchemeFile = \"echo -e \\\"(voice_\"+this.voice+\")\\n\"+\n\t\t\t\t\"(set! duffint_params '((start \"+pitchStart+\") (end \"+pitchEnd+\")))\\n\"\n\t\t\t\t+ \"(Parameter.set 'Int_Method 'DuffInt)\\n(Parameter.set 'Int_Target_Method Int_Targets_Default)\\n\"\n\t\t\t\t+ \"(Parameter.set 'Duration_Stretch \"+rate+\")\\\">.tmp1.scm \";\n\t\t\n\t\tProcessBuilder builder = new ProcessBuilder(\"/bin/bash\", \"-c\", cmdSchemeFile);\n\t\tProcess process = builder.start();\n\t\t//add .tmp1.scm to remove list\n\t\tfilesToRemove.add(\".tmp1.scm\");\n\t\tprocess.waitFor();\n\t\tprocess.destroy();\n\t\t\n\t\t//Create textfile with the message\n\t\tString cmdTxtFile= \"echo \\\"\"+message+\"\\\" > .tmp.txt\";\n\t\tProcessBuilder buildTxt= new ProcessBuilder(\"/bin/bash\",\"-c\", cmdTxtFile);\n\t\tProcess processTxt= buildTxt.start();\n\t\tfilesToRemove.add(\".tmp.txt\");\n\t\tprocessTxt.waitFor();\n\t\tprocessTxt.destroy();\n\t\t\n\t\t//Convert the text to a wav file with properties in the scheme file\n\t\tString cmdWavFile= \"text2wave -o .tmp.wav .tmp.txt -eval .tmp1.scm\";\n\t\tProcessBuilder buildWav= new ProcessBuilder(\"/bin/bash\",\"-c\",cmdWavFile);\n\t\tProcess processWav= buildWav.start();\n\t\tfilesToRemove.add(\".tmp.wav\");\n\t\tprocessWav.waitFor();\n\t\tprocessWav.destroy();\n\t\t\n\t\t//Convert the wave file into mp3 file\n\t\tString cmdMp3File = \"ffmpeg -i .tmp.wav -f mp3 \" + fileName;\n\t\tProcessBuilder buildMp3 = new ProcessBuilder(\"/bin/bash\", \"-c\", cmdMp3File);\n\t\tProcess processMp3 = buildMp3.start();\n\t\tInputStream out= processMp3.getErrorStream();\n\t\tBufferedReader stdout= new BufferedReader(new InputStreamReader(out));\n\t\twhile(stdout.readLine() !=null){\n\t\t\tn+=10;\n\t\t\tpublish();\n\t\t}\n\t\t\n\t\tprocessMp3.waitFor();\n\t\tprocessMp3.destroy();\n\n\t\t// command used in bash terminal\n\t\t// deletes the temporary file\n\t\tFilesRemover fr= new FilesRemover(filesToRemove);\n\t\tfr.execute();\n\t\n\t\treturn null;\n\t}", "public abstract void addWordAudio(WordAudio audio) throws IOException;", "public void Utter(String i_filename, CountDownLatch finished) {\n \tStringBuffer output = new StringBuffer();\n\t\ttry {\n\t\t\tBufferedReader in = new BufferedReader(new FileReader(i_filename));\n\t\t\tString st;\n\t\t\twhile ((st=in.readLine()) != null) {\n\t\t\toutput.append(st);\n\t\t\toutput.append(\" \");\n\t\t\t}\n\t\t\tin.close();\n\t\t}\n\t\tcatch (Exception fx) {\n\t\t\tSystem.out.println(\"IO error in Synthesis: \" + fx.toString());\n\t\t}\n\t\tm_ttsLocal.speak(output.toString(), finished);\n\t}", "public static void speak(Context context, final String text) {\n Log.d(TAG, \"Speak : \" + text);\n if (mTTSEngine == null) {\n mTTSEngine = new TextToSpeech(context, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int i) {\n if (i == TextToSpeech.SUCCESS) {\n mTTSEngine.setLanguage(Locale.US);\n mTTSEngine.setPitch(1f);\n mTTSEngine.setSpeechRate(1f);\n\n mTTSEngine.speak(text, TextToSpeech.QUEUE_ADD, null, UTTERANCE_ID);\n } else {\n mTTSEngine = null;\n }\n }\n });\n } else {\n mTTSEngine.speak(text, TextToSpeech.QUEUE_ADD, null, UTTERANCE_ID);\n }\n }", "@Override\n\t\t\tpublic void onClick(View v) \n\t\t\t{\n\t\t\t\tISpeechServiceProxy iss = new SpeechServiceProxy() ;\n\t\t\t\tiss.textToSpeech(ServiceAction.TTS_ACTION, ReadTextActivity.this, inputText.getText().toString()) ;\n\t\t\t}", "private void speak() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM) ;\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Speak the Item\");\n\n startActivityForResult(intent, SPEECH_REQUEST_CODE);\n\n }", "public String speak(){\n speechOutput.clear();\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Just speak normally into your phone\");\n intent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, 10);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.ENGLISH);\n try {\n startActivityForResult(intent, VOICE_RECOGNITION);\n } catch (ActivityNotFoundException e) {\n e.printStackTrace();\n }\n\n\n return speechResult;\n }", "public void speakClicked(View v)\n {\n EditText editText = (EditText) findViewById(R.id.inputText);\n\n mTts.speak(editText.getText().toString(),\n TextToSpeech.QUEUE_FLUSH, // Drop all pending entries in the playback queue.\n null,\n null);\n }", "private void speakout(String cname) \n\t\t\t{\n\t\t\t\t{t1.speak(cname,TextToSpeech.QUEUE_FLUSH,null);\n\t\t\t\tt1.setLanguage(Locale.ENGLISH);\n\t\t\t\t}\n\t\t\t}", "private void speakOut() {\n\n tts.speak(\"Hello I am jessie\", TextToSpeech.QUEUE_FLUSH, null);\n tts.setLanguage(Locale.ENGLISH);\n //tts.setPitch(9);\n tts.setSpeechRate(1);\n }", "void playTone(){\n t = new Thread() {\n public void run(){\n isRunning = true;\n setPriority(Thread.MAX_PRIORITY);\n\n\n\n audioTrack.play();\n\n for (int i = 0; i < message.length(); i++) {\n\n ASCIIBreaker breaker = new ASCIIBreaker((int)message.charAt(i));\n\n int frequencies[] = breaker.ASCIIToFrequency();\n\n //Generate waves for all different frequencies\n for(int fre : frequencies) {\n audioTrack.write(generateSineInTimeDomain(fre),0,sample_size);\n }\n\n audioTrack.write(generateSineInTimeDomain(7000),0,sample_size);\n }\n\n audioTrack.stop();\n audioTrack.release();\n }\n };\n t.start();\n }", "public void convertVoiceToMaori() {\n\t\tString command = \"HVite -H HTK/MaoriNumbers/HMMs/hmm15/macros -H HTK/MaoriNumbers/HMMs/hmm15/hmmdefs -C HTK/MaoriNumbers/user/configLR -w HTK/MaoriNumbers/user/wordNetworkNum -o SWT -l '*' -i recout.mlf -p 0.0 -s 5.0 HTK/MaoriNumbers/user/dictionaryD HTK/MaoriNumbers/user/tiedList foo.wav\";\n\t\t\n\t\tProcessBuilder pb = new ProcessBuilder(\"bash\" , \"-c\" , command );\n\t\ttry {\n\t\t\t\n\t\t\tProcess convertProcess = pb.start();\n\t\t\t\n\t\t\tconvertProcess.waitFor();\n\t\t\t\n\t\t\tconvertProcess.destroy();\n\t\t\t\n\t\n\t\t\t\n\t\t}catch (IOException ioe) {\n\t\t\tioe.printStackTrace();\n\t\t\t\n\t\t}catch (InterruptedException ie) {\n\t\t\tie.printStackTrace();\n\t\t}\n\t\n\t\n\t\n\t}", "public interface ITextToSpeech {\n\n /* loaded from: classes.dex */\n public interface TextToSpeechCallback {\n void onFailure();\n\n void onSuccess();\n }\n\n boolean isInitialized();\n\n int isLanguageAvailable(Locale locale);\n\n void onDestroy();\n\n void onResume();\n\n void onStop();\n\n void setPitch(float f);\n\n void setSpeechRate(float f);\n\n void speak(String str, Locale locale);\n}", "private void speak() {\n String s = textArea.getText();\n String s5=\"images\\\\\";\n String s4=\".jpeg\";\n String obj=s5+s+s4;\n ImageIcon ic1=new ImageIcon(obj);\n Image image1=ic1.getImage().getScaledInstance(image.getWidth(),image.getHeight(),Image.SCALE_AREA_AVERAGING);\n ImageIcon icon1=new ImageIcon(image1);\n image.setIcon(icon1);\n int i = textArea.getCaretPosition();\n int k = s.length();\n for (int j = i; j <= k - 1; j++) {\n char c = s.charAt(j);\n String s3 = Character.toString(c);\n s2 = s2 + s3;\n }\n VoiceManager voiceManager = VoiceManager.getInstance();\n helloVoice = voiceManager.getVoice(\"kevin16\");\n helloVoice.allocate();\n helloVoice.speak(s2);\n helloVoice.deallocate();\n playB.setText(\"PLAY\");\n }", "public interface TTSService {\r\n void TTS(String word);\r\n}", "InputStream synthesize(String phrase, OutputFormat fmt) throws IOException;", "public static void oralOutput(String text)\n\t{\n\t\tSystem.setProperty(\"mbrola.base\",\"E:\\\\Automation\\\\mbrola\");\n\t\tVoiceManager vm=VoiceManager.getInstance();\n\t\tVoice v=vm.getVoice(\"mbrola_us1\"); //or kevin16\n\t\tv.allocate();\n\t\tv.speak(text);\n\t\tv.deallocate();\n\t}", "public static BasicTranscription readWhisperJSON(File jsonFile, boolean wantsWords) throws IOException, JexmaraldaException{\n ObjectMapper objectMapper = new ObjectMapper();\n JsonNode jsonRoot = objectMapper.readValue(jsonFile, JsonNode.class); \n \n BasicTranscription result = new BasicTranscription();\n Speaker speaker = new Speaker();\n speaker.setID(\"SPK0\");\n speaker.setAbbreviation(\"X\");\n result.getHead().getSpeakertable().addSpeaker(speaker);\n Tier textTier = new Tier(\"TIE0\", \"SPK0\", \"v\", \"t\", \"X [text]\");\n Tier temperatureTier = new Tier(\"TIE1\", \"SPK0\", \"temp\", \"a\", \"X [temperature]\");\n Tier avgLogProbTier = new Tier(\"TIE2\", \"SPK0\", \"avg\", \"a\", \"X [avg_logprob]\");\n Tier compressionRatioTier = new Tier(\"TIE3\", \"SPK0\", \"cr\", \"a\", \"X [compression_ratio]\");\n Tier noSpeechProbTier = new Tier(\"TIE4\", \"SPK0\", \"nsp\", \"a\", \"X [no_speech_prob]\");\n result.getBody().addTier(textTier);\n result.getBody().addTier(temperatureTier);\n result.getBody().addTier(avgLogProbTier);\n result.getBody().addTier(compressionRatioTier);\n result.getBody().addTier(noSpeechProbTier);\n \n \n /*\n {\n \"text\": \n \" Abscheu und Zorn über folternde GIs im Irak, die US-Armee soll schon länger Bescheid gewusst\",\n \"segments\": [\n {\n \"id\": 0,\n \"seek\": 0,\n \"start\": 0.0,\n \"end\": 13.44,\n \"text\": \" Abscheu und Zorn über folternde GIs im Irak, die US-Armee soll schon länger Bescheid gewusst\",\n \"tokens\": [\n 5813,\n 1876,\n ...\n 327,\n 6906,\n 26340\n ],\n \"temperature\": 0.0,\n \"avg_logprob\": -0.20706645302150561,\n \"compression_ratio\": 1.2619047619047619,\n \"no_speech_prob\": 0.2456832379102707\n }\n ]\n } \n \n */\n \n boolean hasWordLevel = (jsonRoot.findValue(\"words\")!=null);\n Tier wordTier = new Tier(\"TIE5\", \"SPK0\", \"w\", \"t\", \"X [words]\");\n if (hasWordLevel && wantsWords){\n textTier.setType(\"a\");\n result.getBody().insertTierAt(wordTier, 0);\n \n }\n \n JsonNode segmentsNode = jsonRoot.findValue(\"segments\");\n Iterator<JsonNode> iterator = segmentsNode.elements();\n Timeline timeline = result.getBody().getCommonTimeline();\n while (iterator.hasNext()){\n JsonNode segmentNode = iterator.next();\n if (segmentNode.get(\"start\")==null){\n throw new IOException(\"Error in format.\");\n }\n // round to miliseconds to avoid overlaps which aren't overlaps\n double startTimeInSeconds = Rounder.round(segmentNode.get(\"start\").asDouble(),3);\n double endTimeInSeconds = Rounder.round(segmentNode.get(\"end\").asDouble(),3);\n String text = segmentNode.get(\"text\").asText();\n String temperature = segmentNode.get(\"temperature\").asText();\n String avg_logprob = segmentNode.get(\"avg_logprob\").asText();\n String compression_ratio = segmentNode.get(\"compression_ratio\").asText();\n String no_speech_prob = segmentNode.get(\"no_speech_prob\").asText();\n \n String startID = \"TLI_\" + Double.toString(startTimeInSeconds).replace('.', '_');\n if (!(timeline.containsTimelineItemWithID(startID))){\n TimelineItem tli = new TimelineItem();\n tli.setID(startID);\n tli.setTime(startTimeInSeconds);\n timeline.insertAccordingToTime(tli);\n }\n \n String endID = \"TLI_\" + Double.toString(endTimeInSeconds).replace('.', '_');\n if (!(timeline.containsTimelineItemWithID(endID))){\n TimelineItem tli = new TimelineItem();\n tli.setID(endID);\n tli.setTime(endTimeInSeconds);\n timeline.insertAccordingToTime(tli);\n }\n \n textTier.addEvent(new Event(startID, endID, text));\n temperatureTier.addEvent(new Event(startID, endID, temperature));\n avgLogProbTier.addEvent(new Event(startID, endID, avg_logprob));\n compressionRatioTier.addEvent(new Event(startID, endID, compression_ratio));\n noSpeechProbTier.addEvent(new Event(startID, endID, no_speech_prob));\n \n if (hasWordLevel){\n JsonNode wordsNode = segmentNode.findValue(\"words\");\n Iterator<JsonNode> wordIterator = wordsNode.elements();\n while (wordIterator.hasNext()){\n JsonNode wordNode = wordIterator.next();\n if (wordNode.get(\"start\")==null){\n throw new IOException(\"Error in format.\");\n }\n\n // round to miliseconds to avoid overlaps which aren't overlaps\n double wStartTimeInSeconds = Rounder.round(wordNode.get(\"start\").asDouble(),3);\n double wEndTimeInSeconds = Rounder.round(wordNode.get(\"end\").asDouble(),3);\n String wText = wordNode.get(\"word\").asText();\n\n String wStartID = \"TLI_\" + Double.toString(wStartTimeInSeconds).replace('.', '_');\n if (!(timeline.containsTimelineItemWithID(wStartID))){\n TimelineItem tli = new TimelineItem();\n tli.setID(wStartID);\n tli.setTime(wStartTimeInSeconds);\n timeline.insertAccordingToTime(tli);\n }\n\n String wEndID = \"TLI_\" + Double.toString(wEndTimeInSeconds).replace('.', '_');\n if (!(timeline.containsTimelineItemWithID(wEndID))){\n TimelineItem tli = new TimelineItem();\n tli.setID(wEndID);\n tli.setTime(wEndTimeInSeconds);\n timeline.insertAccordingToTime(tli);\n }\n \n wordTier.addEvent(new Event(wStartID, wEndID, wText));\n\n \n }\n }\n \n }\n \n \n \n \n return result;\n \n \n }", "private void speak() {\n if(textToSpeech != null && textToSpeech.isSpeaking()) {\n textToSpeech.stop();\n }else{\n textToSpeech = new TextToSpeech(activity, this);\n }\n }", "public void playLocal(String audiofile);", "public synchronized AudioInputStream stringToSound(String sentence) throws CaptchaException {\n //use the custom (see inner class) InputStreamAudioPlayer, which provide interface to\n // Audio Stream\n InputStreamAudioPlayer audioPlayer = new InputStreamAudioPlayer();\n\n this.voice.setAudioPlayer(audioPlayer);\n\n // Synthesize speech.\n this.voice.speak(sentence);\n\n AudioInputStream ais = audioPlayer.getAudioInputStream();\n return ais;\n }", "public void speakOut(final String text){\n\t\tif (listener != null){\n\t\t\thandler.post(new Runnable() {\n\t\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\tlistener.speakOut(text.trim());\t\t\t\t\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}", "private void askSpeechInput() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT,\n \"Hi speak something\");\n speakOut(\"Open Mic\");\n try {\n startActivityForResult(intent, REQ_CODE_SPEECH_INPUT);\n } catch (ActivityNotFoundException a) {\n\n }\n }", "public interface TextSpeakLogicInterface {\n\n public void speakOut(String text);\n public void stopSpeak();\n\n}", "protected void handleRecordedSample() {\n List<Sample> trainingSet;\n try {\n trainingSet = TrainingSet.get();\n Normalizer normalizer = new CenterNormalizer();\n Classifier classifier = new TimeWarperClassifier();\n classifier.train(trainingSet);\n final String outputText = classifier.test(normalizer.normalize(recordedSample));\n lblOutput.setText(outputText);\n new Thread(new Runnable() {\n @Override\n public void run() {\n try {\n Utils.textToSpeech(outputText);\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }\n }).start();\n lblOutput.setText(outputText);\n }\n catch (Exception e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }", "public static void writeFile(String text) throws IOException {\n\t\tWriter out = null;\n\t\ttry {\n\t\t\tout = new BufferedWriter(\n\t\t\t\t\tnew OutputStreamWriter(new FileOutputStream(\"toTranslate.txt\"), StandardCharsets.UTF_8));\n\t\t} catch (FileNotFoundException e1) {\n\t\t\tLOGGER.log(Level.WARNING, \"FileNotFoundException\", e1);\n\t\t\t;\n\t\t}\n\t\ttry {\n\t\t\tif (out != null)\n\t\t\t\tout.write(text);\n\t\t\telse\n\t\t\t\tSystem.out.println();\n\t\t} catch (IOException e) {\n\t\t\tLOGGER.log(Level.WARNING, \"IOException\", e);\n\t\t\t;\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (out != null)\n\t\t\t\t\tout.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\tLOGGER.log(Level.WARNING, \"IOException\", e);\n\t\t\t\tThread.currentThread().interrupt();\n\t\t\t}\n\t\t}\n\t}", "public Future<Void> sayToFile(String pStringToSay, String pFileName) throws DynamicCallException, ExecutionException{\n return call(\"sayToFile\", pStringToSay, pFileName);\n }", "public Sound createSound(String file);", "private void sayHello() {\n\n\t\tmTts.speak(translatedText, TextToSpeech.QUEUE_FLUSH, // Drop allpending\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// entries in\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// the playback\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// queue.\n\t\t\t\tnull);\n\t}", "private void speak(String text, int queueMode, ArrayList<String> params) {\n if (queueMode == 0) {\n stop();\n }\n mSpeechQueue.add(new SpeechItem(text, params, SpeechItem.TEXT));\n if (!mIsSpeaking) {\n processSpeechQueue();\n }\n }", "public void makeDecision(String speech) throws IOException {\n if(speech.equals(\"hello\")){\n if(isInit==1){\n lblSpeech.setText(speech);\n checkInput=1;\n lblIntro.setVisible(true);\n textToSpeech.speak(\"hello my friend, \", 1.5f, false, true);\n lblIntro.setText(\"Say How are you !!\");\n lblSkip.setVisible(true);\n lblIntro.setFont(new java.awt.Font(\"Script MT Bold\", 0, 30));\n isInit=2;\n }\n }\n if(speech.equals(\"skip\")){\n if(isInit>=2 && isInit<=7){\n lblSpeech.setText(speech);\n checkInput=1;\n \n textToSpeech.speak(\"welcome\", 1.5f, false, true);\n lblIntro.setVisible(true);\n lblIntro.setText(\"Welcome\");\n lblSkip.setVisible(false);\n lblPath.setVisible(false);\n txtPath.setVisible(false);\n txtName.setVisible(false);\n isInit=0;\n }\n }\n if(speech.equals(\"how are you\")){\n if(isInit==2){\n lblSpeech.setText(speech);\n checkInput=1;\n textToSpeech.speak(\"I am fine, help me so that I can know you more. Say okay to move forward\", 1.5f, false, true);\n lblIntro.setText(\"Say Okay\");\n isInit=3;\n return;\n }\n }\n if(speech.equals(\"okay\")){\n if(isInit==3){\n lblSpeech.setText(speech);\n checkInput=1;\n lblIntro.setVisible(false);\n lblPath.setVisible(true);\n txtPath.setVisible(true);\n textToSpeech.speak(\"Paste the path to your music directory. Say done when completed.\", 1.5f, false, true);\n \n// txtPath.getText(); \n \n isInit=4;\n return;\n }\n }\n \n if(speech.equals(\"done\")){\n if(isInit==4){\n lblSpeech.setText(speech);\n checkInput=1;\n lf=new ListAllFiles();\n System.out.println(\"Path\"+txtPath.getText());\n int check=lf.listFiles(txtPath.getText());\n if(check==0){\n isInit=4;\n textToSpeech.speak(\"Invalid path or directory. Check it and say done\", 1.5f, false, true);\n return;\n }\n else\n {lblPath.setText(\"path to your video and movies folder\");\n textToSpeech.speak(\"Paste the path to your video and movies directory. Say done when completed.\", 1.5f, false, true);\n \n txtPath.getText();\n isInit=5;\n }\n \n return;\n }\n }\n if(speech.equals(\"done\")){\n if(isInit==5){\n lblSpeech.setText(speech);\n checkInput=1;\n lf=new ListAllFiles();\n System.out.println(\"Path\"+txtPath.getText());\n int check=lf.listFiles(txtPath.getText());\n if(check==0){\n isInit=5;\n textToSpeech.speak(\"Invalid path or directory. Check it and say done\", 1.5f, false, true);\n return;\n }\n else{\n txtName.setVisible(true);\n lblPath.setText(\"Add apps which you frequently open...\");\n txtPath.setText(\"path of the .exe file\");\n textToSpeech.speak(\"Now enter the name, and path of the applications, and games which you want me to open for you. Say add another, to add another application, or, say done to finish adding\", 1.5f, false, true);\n \n txtPath.getText();\n txtName.getText();\n isInit=6;\n }\n return;\n }\n }\n if(speech.equals(\"add another\")){\n if(isInit==6){\n lblSpeech.setText(speech);\n checkInput=1;\n f=new FileUpdate();\n f.update(\"open \"+txtName.getText());\n try{\n conn=DBConnection.getConnection();\n PreparedStatement ps=conn.prepareStatement(\"insert into speech values (?,?)\");\n ps.setString(2, \"open \"+txtName.getText());\n ps.setString(1, txtPath.getText());\n int ans=ps.executeUpdate();\n if(ans==1)\n {\n JOptionPane.showMessageDialog(null,\"Inserted Successfully to database\",\"Success\",JOptionPane.INFORMATION_MESSAGE);\n }\n }\n catch(SQLException ex){\n ex.printStackTrace();\n }\n \n txtPath.setText(\"path of the .exe file\");\n txtName.setText(\"Name you will use to open the application\");\n textToSpeech.speak(\"Say add another, to add another application, or, say done to finish adding\", 1.5f, false, true);\n \n txtPath.getText();\n isInit=6;\n return;\n }\n }\n \n if(speech.equals(\"done\")){\n if(isInit==6){\n lblSpeech.setText(speech);\n checkInput=1;\n f=new FileUpdate();\n f.update(\"open \"+txtName.getText());\n try{\n conn=DBConnection.getConnection();\n PreparedStatement ps=conn.prepareStatement(\"insert into speech values (?,?)\");\n ps.setString(2, \"open \"+txtName.getText());\n ps.setString(1, txtPath.getText());\n int ans=ps.executeUpdate();\n if(ans==1)\n {\n JOptionPane.showMessageDialog(null,\"Inserted Successfully to database\",\"Success\",JOptionPane.INFORMATION_MESSAGE);\n }\n }\n catch(SQLException ex){\n ex.printStackTrace();\n }\n txtName.setVisible(false);\n lblPath.setText(\"City Name..\");\n txtPath.setText(\"name of the city\");\n textToSpeech.speak(\"Name of the city where you live. Say done when finished\", 1.5f, false, true);\n \n txtPath.getText();\n isInit=7;\n return;\n }\n }\n \n if(speech.equals(\"done\")){\n if(isInit==7){\n lblSpeech.setText(speech);\n checkInput=1;\n try{\n conn=DBConnection.getConnection();\n PreparedStatement ps=conn.prepareStatement(\"insert into speech values (?,?)\");\n ps.setString(2, \"city\");\n ps.setString(1, txtPath.getText());\n int ans=ps.executeUpdate();\n if(ans==1)\n {\n JOptionPane.showMessageDialog(null,\"Inserted Successfully to database\",\"Success\",JOptionPane.INFORMATION_MESSAGE);\n }\n }\n catch(SQLException ex){\n ex.printStackTrace();\n }\n lblPath.setVisible(false);\n txtPath.setVisible(false);\n lblIntro.setText(\"Welcome\");\n lblIntro.setVisible(true);\n textToSpeech.speak(\"You can now start using the app. You can now search the internet, find meanings, play songs and videos, set remiders, know the time, open apps, perform mathematical calculations and a lot more.\", 1.5f, false, true);\n JOptionPane.showMessageDialog(null,\"Search internet -> Say 'search' and write\\n Find meaning-> say 'find meaning' \\n Play song-> Say 'play <song_name>'\",\"Success\",JOptionPane.INFORMATION_MESSAGE);\n \n isInit=0;\n return;\n \n }\n }\n \n //here we are connecting to the database for general questions and their answers\n try{\n conn=DBConnection.getConnection();\n Statement st=conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);\n speech=speech.replaceAll(\" \", \"_\").toLowerCase();\n System.out.println(speech);\n ResultSet rs=st.executeQuery(\"select reply from speech where question like '%\"+speech+\"%'\");\n String check=\"pp\";\n if(speech.length()>=4)\n check=speech.substring(0, 4);\n if(check.equalsIgnoreCase(\"open\"))\n {\n lblSpeech.setText(speech);\n checkInput=1;\n txtSearch.setText(\" \");\n btnViewMore.setVisible(false);\n rs.next();\n \n textToSpeech.speak(\"Opening\", 1.5f, false, true);\n runtime = Runtime.getRuntime(); //getting Runtime object\n\t\t try\n\t\t {\n\t\t runtime.exec(rs.getString(\"reply\")); //opens new notepad instance\n \n\t\t //OR runtime.exec(\"notepad\");\n\t\t }\n\t\t catch (IOException e)\n\t\t {\n\t\t e.printStackTrace();\n\t\t }\n return;\n }\n \n \n else if(check.equalsIgnoreCase(\"play\")){\n// rs.next();\n lblSpeech.setText(speech);\n checkInput=1;\n txtSearch.setText(\" \");\n btnViewMore.setVisible(false);\n textToSpeech.speak(\"Playing \", 1.5f, false, true);\n runtime = Runtime.getRuntime(); //getting Runtime object\n System.out.println(\"pp1\"+rs.next());\n System.out.println(\"Link: \"+rs.getString(\"reply\"));\n System.out.println(\"pp2\");\n String[] s = new String[] {\"C:\\\\Program Files\\\\Windows Media Player\\\\wmplayer\", rs.getString(\"reply\")};\n\n try\n {\n runtime.exec(s); \n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return;\n }\n else{\n int size=0;\n if(rs!=null){\n rs.last();\n size=rs.getRow();\n }\n if(size>1)\n textToSpeech.speak(\"I have got \"+size+\" answers for your question.\", 1.5f, false, true);\n rs.beforeFirst();\n while(rs.next()){\n lblSpeech.setText(speech);\n checkInput=1;\n textToSpeech.speak(rs.getString(\"reply\"), 1.5f, false, true);\n }\n }\n }\n catch(SQLException ex){\n System.out.println(\"SQLException\"+ex);\n ex.printStackTrace();\n }\n \n //db check complete, if not found , will come here\n speech=speech.replaceAll(\"_\", \" \").toLowerCase();\n\t\tif (\"see you\".equalsIgnoreCase(speech)){\n lblSpeech.setText(speech);\n checkInput=1;\n txtSearch.setText(\" \");\n btnViewMore.setVisible(false);\n textToSpeech.speak(\"You too , my friend\", 1.5f, false, true);\n\t\t\treturn;\n\t\t}/*\n else if (\"thirty seconds\".equalsIgnoreCase(speech)){\n textToSpeech.speak(\"Timer scheduled for 30 seconds\", 1.5f, false, true);\n\t\t\tCrunchifyTimerTaskExample time=new CrunchifyTimerTaskExample();\n \t\t//System.out.format(\"Task scheduled.. Now wait for 5 sec to see next message..%n\");\n textToSpeech.speak(\"Timer for 30 seconds has ended\", 1.5f, false, true);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t*/\n \n\t\telse if (\"what day is today\".equalsIgnoreCase(speech)){\n lblSpeech.setText(speech);\n checkInput=1;\n txtSearch.setText(\" \");\n btnViewMore.setVisible(false);\n textToSpeech.speak(df.format(dateobj), 1.5f, false, true);\n return;\n\t\t}\n else if (\"what is the time\".equalsIgnoreCase(speech)){\n lblSpeech.setText(speech);\n checkInput=1;\n txtSearch.setText(\" \");\n btnViewMore.setVisible(false);\n textToSpeech.speak(java.time.LocalTime.now().toString().substring(0, 8), 1.5f, false, true);\n return;\n\t\t}\n else if (\"exit\".equalsIgnoreCase(speech)){\n lblSpeech.setText(speech);\n checkInput=1;\n txtSearch.setText(\" \");\n btnViewMore.setVisible(false);\n textToSpeech.speak(\"Take care\", 1.5f, false, true);\n DBConnection.closeConnection();\n System.exit(0);\n return;\n\t\t}\n else if (\"what is the temperature\".equalsIgnoreCase(speech)){\n lblSpeech.setText(speech);\n checkInput=1;\n txtSearch.setText(\" \");\n btnViewMore.setVisible(false);\n textToSpeech.speak(\"Rainy season, 25 degree celcius\" , 1.5f, false, true);\n return;\n\t\t}\n else if (\"send mail\".equalsIgnoreCase(speech)){\n lblSpeech.setText(speech);\n checkInput=1;\n txtPath.setVisible(true);\n txtName.setVisible(true);\n txtPath.setText(\"Recipient:\");\n txtName.setText(\"Subject:\");\n txtSearch.setText(\"Body: \");\n \n btnViewMore.setText(\"Send\");\n btnViewMore.setVisible(true);\n txtSearch.setEditable(true);\n txtSearch.setBackground(Color.white);\n textToSpeech.speak(\"type the mail address, subject and body of the email\" , 1.5f, false, true);\n return;\n\t\t}\n else if (\"open chrome\".equalsIgnoreCase(speech) || \"open browser\".equalsIgnoreCase(speech) ){\n lblSpeech.setText(speech);\n checkInput=1;\n txtSearch.setText(\" \");\n btnViewMore.setVisible(false);\n textToSpeech.speak(\"Opening Google Chrome\", 1.5f, false, true);\n runtime = Runtime.getRuntime(); //getting Runtime object\n String[] s = new String[] {\"C:\\\\Program Files (x86)\\\\Google\\\\Chrome\\\\Application\\\\chrome.exe\", \"https://google.com/\"};\n try\n {\n runtime.exec(s); \n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return;\n\t\t}\n else if (\"open you tube\".equalsIgnoreCase(speech) ){\n lblSpeech.setText(speech);\n checkInput=1;\n txtSearch.setText(\" \");\n btnViewMore.setVisible(false);\n textToSpeech.speak(\"Opening Google Chrome\", 1.5f, false, true);\n runtime = Runtime.getRuntime(); //getting Runtime object\n String[] s = new String[] {\"C:\\\\Program Files (x86)\\\\Google\\\\Chrome\\\\Application\\\\chrome.exe\", \"https://youtube.com/\"};\n try\n {\n runtime.exec(s); \n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return;\n\t\t}\n else if (\"browse\".equalsIgnoreCase(speech) || \"search inter net\".equalsIgnoreCase(speech)){\n lblSpeech.setText(speech);\n checkInput=1;\n lblPath.setVisible(true);\n txtPath.setVisible(true);\n txtPath.setText(\" \");\n btnSearch.setVisible(true);\n txtName.setVisible(false);\n txtSearch.setText(\" \");\n btnViewMore.setText(\"view more...\");\n btnViewMore.setVisible(false);\n lblPath.setText(\"Type what you want to search !\");\n textToSpeech.speak(\"Type in the box what you want to search and click the search button\", 1.5f, false, true);\n \n return;\n \n\t\t}\n else if (\"find meaning\".equalsIgnoreCase(speech)){\n lblSpeech.setText(speech);\n checkInput=1;\n lblPath.setVisible(true);\n txtPath.setVisible(true);\n txtPath.setText(\" \");\n btnSearch.setVisible(true);\n txtName.setVisible(false);\n txtSearch.setText(\" \");\n btnViewMore.setText(\"view more...\");\n btnViewMore.setVisible(false);\n lblPath.setText(\"Enter the word \");\n textToSpeech.speak(\"Type the word in the box whose meaning you want to find and click the search button\", 1.5f, false, true);\n \n return;\n \n\t\t}\n else if (\"search live cricket score\".equalsIgnoreCase(speech)){\n lblSpeech.setText(speech);\n checkInput=1;\n txtSearch.setText(\" \");\n btnViewMore.setVisible(false);\n textToSpeech.speak(\"Opening Google Chrome\", 1.5f, false, true);\n runtime = Runtime.getRuntime(); //getting Runtime object\n String[] s = new String[] {\"C:\\\\Program Files (x86)\\\\Google\\\\Chrome\\\\Application\\\\chrome.exe\", \"https://google.com/search?h1=en&q=live+cricket+score&btnG=Google+Search\"};\n\n try\n {\n runtime.exec(s); \n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return;\n\t\t}\n else if (\"play shot me down\".equalsIgnoreCase(speech)){\n lblSpeech.setText(speech);\n checkInput=1;\n txtSearch.setText(\" \");\n btnViewMore.setVisible(false);\n textToSpeech.speak(\"Playing song\", 1.5f, false, true);\n runtime = Runtime.getRuntime(); //getting Runtime object\n \n String[] s = new String[] {\"C:\\\\Program Files\\\\Windows Media Player\\\\wmplayer\", \"D:\\\\music\\\\new songs\\\\shotmedown.mp3\"};\n\n try\n {\n runtime.exec(s); \n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return;\n\t\t}\n\n //THE CALCULATOR\n if(speech.contains(\"calculate\")){\n lblSpeech.setText(speech);\n checkInput=1;\n txtSearch.setText(\" \");\n btnViewMore.setVisible(false);\n //split the sentence\n String[] array = speech.split(\" \");\n \n\n // return if user said only one number\n if (array.length != 4)\n return;\n\n // Find the two numbers\n int number1 = stringToNumber.convert(array[1]);\n int number2 = stringToNumber.convert(array[3]);\n\n // Calculation result in int representation\n int calculationResult = 0;\n String symbol = \"?\";\n\n // Find the mathematical symbol\n if (\"plus\".equals(array[2])) {\n calculationResult = number1 + number2;\n symbol = \"+\";\n } else if (\"minus\".equals(array[2])) {\n calculationResult = number1 - number2;\n symbol = \"-\";\n } else if (\"multiply\".equals(array[2])) {\n calculationResult = number1 * number2;\n symbol = \"*\";\n } else if (\"division\".equals(array[2])) {\n calculationResult = number1 / number2;\n symbol = \"/\";\n }\n\n String res = numberToString.convert(Math.abs(calculationResult));\n\n // With words\n System.out.println(\"Said:[ \" + speech + \" ]\\n\\t\\t which after calculation is:[ \"\n + (calculationResult >= 0 ? \"\" : \"minus \") + res + \" ] \\n\");\n\n // With numbers and math\n System.out.println(\"Said:[ \" + number1 + \" \" + symbol + \" \" + number2 + \"]\\n\\t\\t which after calculation is:[ \"\n + calculationResult + \" ]\");\n\n // Speak Mary Speak\n textToSpeech.speak((calculationResult >= 0 ? \"\" : \"minus \") + res, 1.5f, false, true);\n }\n \n if(checkInput==0){\n \n lblSpeech.setText(\"Please Repeat !!\");\n }\n\t}", "public boolean speak(String text) {\n\treturn speak(new FreeTTSSpeakableImpl(text));\n }", "public abstract void startVoiceRecognition(String language);", "public void readText(String filename) throws IOException{\n\t\t\n\t\tif(sentences == null){\n\t\t\tsentences = new ArrayList<Sentence>();\n\t\t}\n\t\t\n\t\t//read from file\n\t\tFileInputStream inputStream = new FileInputStream(filename);\n\t\tDataInputStream stream = new DataInputStream(inputStream);\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(stream));\n\t\tString line;\n\t\twhile((line = reader.readLine()) != null){\n\t\t\tsentences.add(new Sentence(line));\n\t\t}\n\t\treader.close();\n\t\tstream.close();\n\t\tinputStream.close();\n\t\t\n\t\t\n\t}", "@Override\n public void onClick(View v) {\n HashMap<String, String> hash = new HashMap<String, String>();\n hash.put(\n TextToSpeech.Engine.KEY_PARAM_STREAM,\n String.valueOf(AudioManager.STREAM_NOTIFICATION));\n textToSpeach.speak(questionText.getText().toString(), TextToSpeech.QUEUE_ADD, hash);\n }", "public boolean synthesizeIpaToFile(String ipaText, String[] params,\n String filename) {\n ArrayList<String> speakingParams = new ArrayList<String>();\n if (params != null) {\n speakingParams = new ArrayList<String>(Arrays.asList(params));\n }\n return mSelf.synthesizeIpaToFile(ipaText, speakingParams, filename, true);\n }", "private static void playAudio(String musicFile) {\n }", "@Override\n public void onResult(Hypothesis hypothesis) {\n ((TextView) findViewById(R.id.result_text)).setText(\"\");\n mMicView.setBackgroundResource(R.drawable.background_big_mic);\n if (hypothesis != null) {\n String text = hypothesis.getHypstr();\n makeText(getApplicationContext(), text, Toast.LENGTH_SHORT).show();\n //mTextToSpeech.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n\n }\n }", "public void makeDecision(String speech , List<WordResult> speechWords) {\r\n\t\tVoiceManager vm =VoiceManager.getInstance();\r\n\t\tVoice voice;\r\n\t\tvoice=vm.getVoice(\"mbrola_us3\");\r\n\t\tvoice.allocate();\r\n\t\tSystem.out.println(speech);\r\n\t\t//System.out.println(speech+\"fdsf\");\r\n\t\t if(speech.equalsIgnoreCase(\"shutdown computer\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\" Shuting down the computer\");\r\n\t\t \tRuntime rm=Runtime.getRuntime();\r\n\t\t\t\ttry{\r\n\t\t\t\t\tProcess proc=rm.exec(\"shutdown -s -t 0\");\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e)\r\n\t\t\t\t{}\r\n\t\t\t\t\r\n\r\n\t\t \t}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"restart computer\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"restarting the computer\");\r\n\t\t \tRuntime rm=Runtime.getRuntime();\r\n\t\t\t\ttry{\r\n\t\t\t\t\tProcess proc=rm.exec(\"shutdown -r -t 0\");\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e)\r\n\t\t\t\t{}\r\n\t\t\t\t\r\n\t\t \t}\r\n\t\t \tcatch(Exception e)\r\n\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\t else if(speech.equalsIgnoreCase(\"who is smart\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"Abhay bhadouriya is smartest person alive in this world\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who is ugly\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"your sister and friends are the most ugliest persons in the world \");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"what is time\"))\r\n\t\t {\r\n\t\t \tDate dm=new Date();\r\n\t\t \tint h=dm.getHours();\r\n\t\t \tint m=dm.getMinutes();\r\n\t\t \tif(h>12)\r\n\t\t \t{\r\n\t\t \t\th=h-12;\r\n\t\t \t}\r\n\t\t \t\r\n\t\t \ttry {voice.speak(\"TIME is\"+h+\"Hour\"+m+\"Minutes\" );}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"say hello \"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"Hello this is your computer\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"please sleep\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"no i don't wont to sleep\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open facebook\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"facebook\");\r\n\t\t \t FUNC.facebook();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open google\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"google\");\r\n\t\t \t FUNC.google();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open youtube\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"youtube\");\r\n\t\t \t FUNC.youtube();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open gmail\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"gmail\");\r\n\t\t \t FUNC.gmail();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"play music\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"music\");\r\n\t\t \t FUNC.pmusic();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"volume up\"))\r\n\t\t {\r\n\t\t \tvoice.speak(\"volume increasing by 10\");\r\n\t\t \t\tvolume.up();\r\n\t\t \t\t\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"volume down\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t\t voice.speak(\"volume decreasing by 10\");\r\n\t \t\tvolume.down();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"show desktop\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"Showing desktop\");\r\n\t\t\t FUNC.desktop();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"how are you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"i'm fine and you \");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"what day is today\"))\r\n\t\t {\r\n\t\t\t Date dd=new Date();\r\n\t\t\t int i=dd.getDay();\r\n\t\t\t\tif(i==0)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is sunday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==1)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is monday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==2)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is tuesday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==3)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is wednesday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==4)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is thursday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==5)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is friday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==6)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is saturday\");\r\n\t\t\t\t}\r\n\t\t\t \r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to right\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.right();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to left\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.left();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to up\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t emotion.up();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to down\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.down();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"select this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.select();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"view its property\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.property();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"view item menu\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.viewmenu();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on mouse by keyboard\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.turnon();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close this window tab\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.close();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"switch window tab\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.switcht();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"ok dude take some rest\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t voice.speak(\"have a nice day\");\r\n\t\t\t voice.speak(\"i'm very lucky to have a master like you sir \");\r\n\t\t\t voice.speak(\"good night my suprier great master\");\r\n\t\t\t System.exit(0);\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn off wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on bluetooth\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t try{\r\n\t \t\t Process p ;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c fsquirt\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the notepad\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start notepad\");\r\n\t \t\t // System.out.println(\"inside\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t } else if(speech.equalsIgnoreCase(\"close the notepad\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im notepad.exe /f\");\r\n\t \t\t // System.out.println(\"inside\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the command\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t\t\tProcess p;\r\n\t \t\t\t\tp = Runtime.getRuntime().exec(\"cmd /c start cmd\");\t\t\t\t\r\n\t \t\t\t\t}catch(Exception er)\r\n\t \t\t\t\t{}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the command\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im cmd.exe /f\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the browser\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start chrome.exe\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the browser\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im chrome.exe /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the control panel\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c control\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the control panel\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c control taskkill /im control /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the paint\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start mspaint\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the paint\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im mspaint.exe /f\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the task manager\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start taskmgr.exe\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the task manager\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t \tp = Runtime.getRuntime().exec(\"cmd /c start taskkill /im taskmgr.exe /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open power option\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c powercfg.cpl\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open windows security center\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c wscui.cpl\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"copy this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok item is copied\");\r\n\t\t\t basiccontrolls.copy();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"paste here selected item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"item is pasted\");\r\n\t\t\t basiccontrolls.paste();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"cut this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok item is cut\");\r\n\t\t\t basiccontrolls.cut();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"go back\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok going to previous page\");\r\n\t\t\t basiccontrolls.back();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"show me my beautiful face\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"you look like a donkey\");\r\n\t\t\t basiccontrolls.camera();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who the hell are you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"hello\");\r\n\t\t\t voice.speak(\"i am computer \");\r\n\t\t\t voice.speak(\"here i'm assist by you \");\r\n\t\t\t voice.speak(\"i will do anything what ever you told me todo and \"+\" \"+\" what instruction are feeded in my dictionary\");\r\n\t\t\t voice.speak(\"Thank you for asking \");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who loves you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"no one loves me \");\r\n\t\t\t voice.speak(\"except my charger \");\r\n\t\t\t voice.speak(\"but more impoertantly i looks far handsome than you \");\r\n\t\t\t voice.speak(\"you peace of shit \");\r\n\t\t\t voice.speak(\"your face is look like a monkey\");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"do you like engineering\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"no\");\r\n\t\t\t voice.speak(\"I hate engineering\");\r\n\t\t\t voice.speak(\"you ruined my life \");\r\n\t\t }\r\n\t\t/* else if(speech.equalsIgnoreCase(\"turn off wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }*/\r\n\r\n\t}", "@Override\n public void onInit(int status) {\n\t \n\tif (status == TextToSpeech.SUCCESS) {\n\t\t \n int result = mTts.setLanguage(Locale.US);\n if (result != TextToSpeech.LANG_MISSING_DATA && result != TextToSpeech.LANG_NOT_SUPPORTED) {\n \tspokenText += spokenText+\"\"+spokenText+\"\";\n // mTts.speak(\"Dear sir your class is finished!! Dear sir your class is finished!! Dear sir your class is finished!!\", TextToSpeech.QUEUE_FLUSH, null);\n mTts.speak(spokenText, TextToSpeech.QUEUE_FLUSH, null);\n } \n } \n\t \n}", "public void ChangeSoundOutput(String output) {\n shellExec(\"osascript \" + Parse(dataPath(\"ChangeAudioOutput.scpt\")) + \" \\\"\" + output + \"\\\"\");\n println(\"Audio output set to \" + output);\n}", "private void listenToSpeech(int returnCode) {\n\t\tIntent listenIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\t\t//indicate package\n\t\tlistenIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, getClass().getPackage().getName());\n\t\t//message to display while listening\n\t\tlistenIntent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"\");\n\t\t//set speech model\n\t\tlistenIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n\t\t//specify number of results to retrieve\n\t\tlistenIntent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, 10);\n\t\t//start listening\n\t\tstartActivityForResult(listenIntent, returnCode);\n\n\t}", "public interface TextToSpeechListener {\n\n\tvoid onTTSInit(int ttsResult) ;\n}", "public interface TextToSpeechCallback {\n void onFailure();\n\n void onSuccess();\n }", "public void showSpeechInput(View v) {\n\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Say something\");\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n\n try {\n startActivityForResult(intent, REQ_CODE_SPEECH_INPUT);\n } catch (ActivityNotFoundException a) {\n Toast.makeText(this, \"Speech To Text not supported\", Toast.LENGTH_LONG).show();\n }\n }", "@Override\n protected void onActivityResult(int requestCode, int resultCode,\n Intent data) {\n if (requestCode == REQ_CODE_SPEECH_INPUT && resultCode == RESULT_OK) {\n List<String> results = data.getStringArrayListExtra(\n RecognizerIntent.EXTRA_RESULTS);\n String spokenText = results.get(0);\n // Do something with spokenText\n convert.setText(spokenText);\n\n }\n super.onActivityResult(requestCode, resultCode, data);\n }", "protected abstract UtteranceProcessor getAudioOutput() throws IOException ;", "public static void main(String[] args) throws IOException {\n\t\t\n\t\tQueue<String> nextSlang = initializeQueue();\t//Queue of slang phrases\n\t\t\n\t\tBufferedReader in = getFileContents(args[0]);\n\t\t\n\t\tboolean isEvenPunctuation = true;\t\t\t\t//Must start as true because the value is flipped upon first inspection\n\t\t\n\t\tString input;\n\t\twhile((input = in.readLine()) != null){\n\t\t\tfor(Character c : input.toCharArray()){\n\t\t\t\tswitch(c){\t\t\t\t\t\t\t\t//Easily expendable to new trigger characters\n\t\t\t\t\tcase '.':\n\t\t\t\t\tcase '!':\n\t\t\t\t\tcase '?':\n\t\t\t\t\t\tisEvenPunctuation = !isEvenPunctuation;\n\n\t\t\t\t\t\tif(isEvenPunctuation){\n\t\t\t\t\t\t\tSystem.out.print(nextSlang.peek());\n\t\t\t\t\t\t\tnextSlang.add(nextSlang.poll());\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t} \t\t\t\t\t\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t\t\tbreak;\t\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\t\n\t\t\t\t\n\t\t}\n\t}", "public static void processStrings(String filename) {\n\t\t// FILL IN CODE \n\t\t// Read each string from the file, construct a suffix tree\n\t\t// Create a file that has the same name as the string + \"Results.txt\"\n\t\t// (like \"bananaResults.txt\")\n\t\t// First, write the suffix tree\n\t\t// Then empty line\n\n\t\t// Then read valid suffixes, call containsSuffix for each of them, and\n\t\t// write the results to the file\n\n\t\t// Read invalid suffixes, call containsSuffix for each of them, and\n\t\t// write the results to the file (should all be -1)\n\n\t\t// Read valid substrings, call getSubstringIndices and write results to\n\t\t// the file\n\n\t\t// Read invalid substrings, call getSubstringIndices and write results\n\t\t// to the file (should all be [])\n\n\t\t// read one empty line\n\n\t\t// repeat for the next string in the file\n\t\t\n\t\t\n\t\t//in the driver i just call the corrspoinding methods for each line to get the desired output. \n\t\t// the the output is written to a file. \n//\t\ttry {\n//\t\t\tFileWriter fw = null;\n//\t\t\tBufferedWriter bw = null;\n//\t\t\treader = new BufferedReader(new FileReader(filename));// Buffered Reader declared.\n//\t\t\tString line;// defining the string line\n//\t\t\tint count = 0;\n//\t\t\tString treeName =\"\";\n//\t\t\tString outPut = \"\";\n//\t\t\twhile((line = reader.readLine()) != null){\n//\t\t\t\t\n//\t\t\t\tif(count == 0) {\n//\t\t\t\t\toutPut =\"\";\n//\t\t\t\t\t\n//\t\t\t\t\ttreeName = line;\n//\t\t\t\t\ttree = new SuffixTree(line);\n////\t\t\t\t\tSystem.out.println(line);\n//\t\t\t\t\toutPut += tree.toString() +\"\\n\";\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\n//\t\t\t\tif (count == 1) {\n//\t\t\t\t\tString suffixText = \"\";\n//\t\t\t\t\tString[] lineSplit = line.split(\", \");\n////\t\t\t\t\toutPut+=\"\\n\";\n//\t\t\t\t\tfor(String suffix : lineSplit) {\n//\t\t\t\t\t\tsuffixText += tree.containsSuffix(suffix) + \" \";\n////\t\t\t\t\t\tSystem.out.println(suffixText);\n////\t\t\t\t\t\tSystem.out.print(tree.containsSuffix(suffix) + \" \");\n//\t\t\t\t\t}\n//\t\t\t\t\toutPut+=suffixText + \"\\n\";\n////\t\t\t\t\tSystem.out.println();\n//\t\t\t\t\t\n//\t\t\t\t}\n//\t\t\t\tif (count == 2) {\n//\t\t\t\t\tString suffixText = \"\";\n//\t\t\t\t\tString[] lineSplit = line.split(\", \");\n//\t\t\t\t\tfor(String suffix : lineSplit) {\n//\t\t\t\t\t\tsuffixText += tree.containsSuffix(suffix) + \" \";\n////\t\t\t\t\t\tSystem.out.print(tree.containsSuffix(suffix) + \" \");\n//\t\t\t\t\t}\n//\t\t\t\t\toutPut+=suffixText+ \"\\n\";\n////\t\t\t\t\tSystem.out.println();\n//\t\t\t\t\t\n//\t\t\t\t}\n//\t\t\t\tif (count == 3) {\n//\t\t\t\t\tString subStringText = \"\";\n//\t\t\t\t\tString[] lineSplit = line.split(\", \");\n//\t\t\t\t\tfor(String subString : lineSplit) {\n//\t\t\t\t\t\tsubStringText += tree.getSubstringIndices(subString);\n////\t\t\t\t\t\tSystem.out.print(tree.getSubstringIndices(subString) );\n//\t\t\t\t\t}\n//\t\t\t\t\toutPut+= subStringText+ \"\\n\";\n////\t\t\t\t\tSystem.out.println();\n//\t\t\t\t}\n//\t\t\t\tif (count == 4) {\n//\t\t\t\t\tString subStringText = \"\";\n//\t\t\t\t\tString[] lineSplit = line.split(\", \");\n//\t\t\t\t\tfor(String subString : lineSplit) {\n//\t\t\t\t\t\tsubStringText += tree.getSubstringIndices(subString);\n////\t\t\t\t\t\tSystem.out.print(tree.getSubstringIndices(subString) );\n//\t\t\t\t\t}\n//\t\t\t\t\toutPut+= subStringText+ \"\\n\";\n////\t\t\t\t\tSystem.out.println();\n//\t\t\t\t}\n//\t\t\t\t\n//\t\t\t\tif(line.equals(\"\")) {\n////\t\t\t\t\toutPut+=\"\\n\";\n////\t\t\t\t\tSystem.out.println();\n//\t\t\t\t\tcount =-1;\n//\t\t\t\t}\n////\t\t\t\tSystem.out.println(outPut);\n//\t\t\t\tcount ++;\n//\t\t\t\tfw = new FileWriter(treeName + \"Results.txt\");\n//\t\t\t\tbw = new BufferedWriter(fw);\n//\t\t\t\tbw.write(outPut);\n//\t\t\t\tbw.close();\n//\t\t\t\tfw.close();\n//\t\t\t}\n//\t\t\t\n//\t\t\t//Below are the catch statements\n//\t\t} catch (FileNotFoundException e) {\n//\t\t\tSystem.out.println(\"Error file not found\");\n//\t\t} catch (IOException e){\n//\t\t\tSystem.out.println(\"Error\");\n//\t\t}finally {\n//\t\t\tSystem.out.println();\n//\t\t}\n\t\t\n\t\t\n\t\tSystem.out.println();\n\t\ttree = new SuffixTree(\"ahuihou\");\n//\t\t\n\t\tSystem.out.println(\"IN driver\");\n//\t\t\n\t\tSystem.out.println(tree);\n\t\tSystem.out.println(tree.containsSubstring(\"hui\"));\n\t\tSystem.out.println(tree.containsSuffix(\"hou$\"));\n\t\tSystem.out.println(tree.getSubstringIndices(\"h\"));\n//\t\tSystem.out.println(tree.numOccurrences(\"\"));\n//\t\tSystem.out.println(tree);\n//\t\t\n\t\t\n\n\t}", "public EncodedDocumentToSpeech(Object[] data) {\n\t\tthis.method = (String) data[0];\n\t\tthis.data2[0] = (String) data[1];\n\t\tthis.data2[1] = (String) data[2];\n\t\tthis.data2[2] = (String) data[3];\n\t\tthis.data2[3] = (String) data[4];\n\t\tthis.data2[4] = (String) data[5];\n\t\tthis.data2[5] = (String) data[6];\n\t}", "public static String textToString( String fileName )\n { \n String temp = \"\";\n try {\n Scanner input = new Scanner(new File(fileName));\n \n //add 'words' in the file to the string, separated by a single space\n while(input.hasNext()){\n temp = temp + input.next() + \" \";\n }\n input.close();\n \n }\n catch(Exception e){\n System.out.println(\"Unable to locate \" + fileName);\n }\n //make sure to remove any additional space that may have been added at the end of the string.\n return temp.trim();\n }", "@Override\n\t\t\tpublic void onClick(View v){\n\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\t\n\t\t\t\t\tm.setDataSource(outputFile);\n\t\t\t\t\tm.prepare();\n\t\t\t\t\tm.start();\n\t\t\t\t\tToast.makeText(getApplicationContext(), \"Playing Audio\",\n\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\n\t\t\t\t\t// Making the notification pop up\n\t\t\t\t\tmBuilder.setSmallIcon(R.drawable.ic_launcher)\n\t\t\t\t\t\t\t.setContentTitle(\"Audio\")\n\t\t\t\t\t\t\t.setContentText(\"Audio is playing\");\n\t\t\t\t\tNotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);\n\t\t\t\t\tnotificationManager.notify(1, mBuilder.build());\n\t\t\t\t\t\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent(\n\t\t\t\t\t\tRecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\n\t\t\t\tintent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, \"en-US\");\n\n\t\t\t\ttry {\n\t\t\t\t\tstartActivityForResult(intent, RESULT_SPEECH);\n\t\t\t\t\tet1.setText(\"\");\n\t\t\t\t} catch (ActivityNotFoundException a) {\n\t\t\t\t\tToast t = Toast.makeText(getApplicationContext(),\n\t\t\t\t\t\t\t\"Opps! Your device doesn't support Speech to Text\",\n\t\t\t\t\t\t\tToast.LENGTH_SHORT);\n\t\t\t\t\tt.show();\n\t\t\t\t}\n\t\t\t\t\n\n\t\t\t}", "public void run() {\n \n if (Parameter != null && Parameter instanceof ConvertTextUnitsParameter) {\n CastParameter = (ConvertTextUnitsParameter)Parameter;\n }\n else {\n CastParameter = null;\n }\n\n String shortErrorMessage = \"Error: Text Units Cannot be Converted!\";\n this.acceptTask(TaskProgress.INDETERMINATE, \"Initial Preparations\");\n this.validateParameter(Parameter, shortErrorMessage);\n this.openDiasdemCollection(CastParameter.getCollectionFileName());\n this.checkPrerequisitesAndSetDefaultTextUnitsLayer(shortErrorMessage);\n \n if (CastParameter.getConversionType() == ConvertTextUnitsParameter\n .APPLY_REGULAR_EXPRESSION_TO_TEXT_UNITS) {\n RegexPattern = Pattern.compile(CastParameter.getRegularExpression());\n }\n \n if (CastParameter.getConversionType() == ConvertTextUnitsParameter\n .IDENTIFY_SPECIFIED_MULTI_TOKEN_TERMS) {\n // read multi token word: each line contains one multi token word;\n // comment lines start with '#'\n TextFile multiTokenFile = new TextFile(\n new File(CastParameter.getMultiTokenFileName()));\n multiTokenFile.open();\n String line = multiTokenFile.getFirstLineButIgnoreCommentsAndEmptyLines();\n ArrayList list = new ArrayList();\n while (line != null) {\n list.add(line.trim());\n line = multiTokenFile.getNextLineButIgnoreCommentsAndEmptyLines();\n }\n // sort multi token terms by decreasing length\n Collections.sort(list, new SortStringsByDecreasingLength());\n // for (int i = 0; i < list.size(); i++) {\n // System.out.println((String)list.get(i));\n // }\n // System.out.println(list.size());\n String[] multiToken = new String[list.size()];\n for (int i = 0; i < list.size(); i++)\n multiToken[i] = (String)list.get(i);\n multiTokenFile.close();\n MyMultiTokenWordIdentifier = new HeuristicMultiTokenWordIdentifier(\n multiToken);\n }\n else {\n MyMultiTokenWordIdentifier = null;\n }\n \n if (CastParameter.getConversionType() == ConvertTextUnitsParameter\n .FIND_AND_REPLACE_SPECIFIED_TOKENS) {\n // read token replacement file: each line contains the tokens to search \n // for and the replacement tokens separated by a tab stop;\n // comment lines start with '#'\n TextFile tokenReplacementFile = new TextFile(\n new File(CastParameter.getTokenReplacementFileName()));\n tokenReplacementFile.open();\n String line = tokenReplacementFile.getFirstLineButIgnoreCommentsAndEmptyLines();\n HashMap tokensSearchList = new HashMap();\n String[] tokensContents = null;\n while (line != null) {\n tokensContents = line.split(\"\\t\");\n if (tokensContents.length == 2\n && tokensContents[1].trim().length() > 0) {\n try {\n tokensSearchList.put(tokensContents[0].trim(), \n tokensContents[1].trim());\n }\n catch (PatternSyntaxException e) {\n System.out.println(\"[TokenizeTextUnitsTask] Regex syntax error in \"\n + \" file \" + CastParameter.getTokenReplacementFileName() + \": \"\n + \" Line \\\"\" + line + \"\\\"; error message: \" + e.getMessage());\n }\n }\n else {\n System.out.println(\"[TokenizeTextUnitsTask] Error in file \"\n + CastParameter.getTokenReplacementFileName() + \": Line \\\"\"\n + line + \"\\\" does not conform to syntax!\");\n }\n line = tokenReplacementFile.getNextLineButIgnoreCommentsAndEmptyLines();\n }\n // sort multi token terms by decreasing length\n ArrayList list = new ArrayList(tokensSearchList.keySet());\n Collections.sort(list, new SortStringsByDecreasingLength());\n // create arrays for token replacement \n String[] tokensSearch = new String[list.size()];\n String[] tokensReplace = new String[list.size()];\n Iterator iterator = list.iterator();\n int i = 0;\n while (iterator.hasNext()) {\n TmpString = (String)iterator.next();\n tokensSearch[i] = TmpString;\n tokensReplace[i++] = (String)tokensSearchList.get(TmpString);\n }\n tokenReplacementFile.close();\n MyTokenReplacer = new HeuristicTokenReplacer(tokensSearch, tokensReplace);\n }\n else {\n MyTokenReplacer = null;\n }\n \n int counterProgress = 0;\n long maxProgress = DiasdemCollection.getNumberOfDocuments();\n \n DiasdemDocument = DiasdemCollection.getFirstDocument(); \n while (DiasdemDocument != null) {\n \n if (counterProgress == 1 || (counterProgress % 50) == 0) {\n Progress.update( (int)(counterProgress * 100 / maxProgress),\n \"Processing Document \" + counterProgress);\n DiasdemServer.setTaskProgress(Progress, TaskThread);\n }\n\n DiasdemDocument.setActiveTextUnitsLayer(DiasdemProject\n .getActiveTextUnitsLayerIndex());\n DiasdemDocument.backupProcessedTextUnits(DiasdemProject\n .getProcessedTextUnitsRollbackOption());\n \n for (int i = 0; i < DiasdemDocument.getNumberOfProcessedTextUnits(); \n i++) {\n DiasdemTextUnit = DiasdemDocument.getProcessedTextUnit(i);\n switch (CastParameter.getConversionType()) {\n case ConvertTextUnitsParameter.CONVERT_TEXT_UNITS_TO_LOWER_CASE: {\n TextUnitContentsAsString = DiasdemTextUnit.getContentsAsString()\n .toLowerCase();\n break;\n }\n case ConvertTextUnitsParameter.CONVERT_TEXT_UNITS_TO_UPPER_CASE: {\n TextUnitContentsAsString = DiasdemTextUnit.getContentsAsString()\n .toUpperCase();\n break;\n } \n case ConvertTextUnitsParameter.APPLY_REGULAR_EXPRESSION_TO_TEXT_UNITS: {\n RegexMatcher = RegexPattern.matcher(DiasdemTextUnit\n .getContentsAsString());\n TmpStringBuffer = new StringBuffer(DiasdemTextUnit\n .getContentsAsString().length() + 10000);\n while (RegexMatcher.find()) {\n RegexMatcher.appendReplacement(TmpStringBuffer,\n CastParameter.getReplacementString());\n }\n TextUnitContentsAsString = RegexMatcher.appendTail(TmpStringBuffer)\n .toString();\n break;\n }\n case ConvertTextUnitsParameter.IDENTIFY_SPECIFIED_MULTI_TOKEN_TERMS: {\n TextUnitContentsAsString = MyMultiTokenWordIdentifier\n .identifyMultiTokenWords(DiasdemTextUnit.getContentsAsString());\n break;\n } \n case ConvertTextUnitsParameter.FIND_AND_REPLACE_SPECIFIED_TOKENS: {\n TextUnitContentsAsString = MyTokenReplacer\n .replaceTokens(DiasdemTextUnit.getContentsAsString());\n break;\n } \n case ConvertTextUnitsParameter.REMOVE_PART_OF_SPEECH_TAGS_FROM_TOKENS: {\n TextUnitContentsAsString = this.removeTagsFromTokens(\n DiasdemTextUnit.getContentsAsString(), \"/p:\");\n break;\n } \n case ConvertTextUnitsParameter.REMOVE_WORD_SENSE_TAGS_FROM_TOKENS: {\n TextUnitContentsAsString = this.removeTagsFromTokens(\n DiasdemTextUnit.getContentsAsString(), \"/s:\");\n break;\n } \n default: {\n TextUnitContentsAsString = DiasdemTextUnit.getContentsAsString();\n }\n }\n DiasdemTextUnit.setContentsFromString(TextUnitContentsAsString);\n DiasdemDocument.replaceProcessedTextUnit(i, DiasdemTextUnit);\n }\n\n DiasdemCollection.replaceDocument(DiasdemDocument\n .getDiasdemDocumentID(), DiasdemDocument);\n \n DiasdemDocument = DiasdemCollection.getNextDocument();\n counterProgress++;\n \n } // read all documents\n \n super.closeDiasdemCollection();\n \n CastResult = new ConvertTextUnitsResult(TaskResult.FINAL_RESULT,\n \"All processed text units have been converted in the DIAsDEM document\\n\" +\n \" collection \" +\n Tools.shortenFileName(CastParameter.getCollectionFileName(), 55) + \"!\", \n \"Processed text units have been converted.\");\n this.setTaskResult(100, \"All Documents Processed ...\", CastResult,\n TaskResult.FINAL_RESULT, Task.TASK_FINISHED);\n \n }", "public TextFile(String filepath) {\n try {\n toFile = new File(filepath);\n if(toFile == null) {\n System.err.println(filepath + \" could not be created\");\n return;\n }\n writer = new BufferedWriter(new FileWriter(toFile));\n } catch (IOException ex) {\n ex.printStackTrace();\n }\n \n }", "@Override\r\n\tpublic void handleFile(String inFilename, String outFilename) \r\n\t{\n\r\n\r\n\t\tString s = slurpFile(inFilename);\r\n\t\tDocument teiDocument = parsePlainText(s);\r\n\t\ttry \r\n\t\t{\r\n\t\t\tPrintStream pout = new PrintStream(new FileOutputStream(outFilename));\r\n\t\t\tpout.print(XML.documentToString(teiDocument));\r\n\t\t\tpout.close();\r\n\t\t} catch (FileNotFoundException e) \r\n\t\t{\r\n\t\t\te.printStackTrace\r\n\t\t\t();\r\n\r\n\t\t}\t\r\n\t}", "public static void main(String args[])\n {\n try\n {\n AudioFile file1 = new AudioFile(\"test.txt\");\n AudioFile file2 = new AudioFile(\"bleh.mp3\");\n AudioFile file3 = new AudioFile(\"fef.txt\");\n List<AudioFile> files = new ArrayList<AudioFile>();\n files.add(file1);\n files.add(file2);\n files.add(file3);\n Audio audio = new Audio(files);\n audio.setAId(StringUtils.randomString(5));\n \n XmlPullParserFactory factory = XmlPullParserFactory.newInstance();\n factory.setNamespaceAware(true);\n XmlPullParser xpp = factory.newPullParser();\n System.out.printf(\"Input: %s\\n\", audio.getChildElementXML());\n xpp.setInput(new StringReader(audio.getChildElementXML()));\n Audio outFile = (Audio) new AudioProvider().parseIQ(xpp);\n System.out.printf(\"Output: %s\\n\", outFile.getChildElementXML());\n }\n catch (Exception ex)\n {\n Logger.getLogger(AudioProvider.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "public void saveFile(){\n\t\t// the files name\n\t\tString fileName = nameOfFile.getText();\n\t\tString folderName = saveTo.getText();\n\t\tString pattern = \"^[a-zA-Z0-9_]*$\";\n\t\tString seperator = System.getProperty(\"file.separator\");\n\t\t\t\t\t\n\t\t//checks if file name is valid\n\t\tif (!fileName.matches(pattern)){\n\t\t\tif (mf != null){\n\t\t\t\tmf.dispose();\n\t\t\t}\n\t\t\tmf = new MessageFrame(getX()+368,getY()-150,\"Error\", \"ERROR 7:\", \"Invalid Name!\");\n\t\t\tmf.setVisible(true);\n\t\t\treturn;\n\t\t}else if (fileName.equals(\"\")){\n\t\t\tif (mf != null){\n\t\t\t\tmf.dispose();\n\t\t\t}\n\t\t\tmf = new MessageFrame(getX()+368,getY()-150,\"Error\", \"ERROR 1:\", \"Please enter name for new file!\");\n\t\t\tmf.setVisible(true);\n\t\t\treturn;\n\t\t}\n\t\t// makes sure the file is a .mp3 file\n\t\tfileName = fileName + \".mp3\";\n\t\t\t\t\t\n\t\tif(!folderName.equals(\"\")){\n\t\t\tfileName = folderName + seperator + fileName;\n\t\t}\n\t\t// used to check if the file exists\n\t\t\t\t\t\n\t\tFile tmpFile = new File(fileName);\n\t\tFile tmpDir = new File(folderName);\n\t\t\t\t\t\n\t\t// checks if file already exists or file is a directory\n\t\tif (tmpFile.exists() && !tmpFile.isDirectory()){\n\t\t\tif(mf != null){\n\t\t\t\tmf.dispose();\n\t\t\t}\n\t\t\tMessageFrame mf = new MessageFrame(getX()+368,getY()-150,\"Error\", \"ERROR 3:\", \"File Already Exists!\");\n\t\t\tmf.setVisible(true);\n\t\t\treturn;\n\t\t}else if (!tmpDir.exists()){\n\t\t\tif(mf != null){\n\t\t\t\tmf.dispose();\n\t\t\t}\n\t\t\tMessageFrame mf = new MessageFrame(getX()+368,getY()-150,\"Error\", \"ERROR 4\", \"Folder does not Exists!\");\n\t\t\tmf.setVisible(true);\n\t\t\treturn;\n\t\t}\n\t\t\t\t\t\n\t\t// Creates the wave file the user requests\n\t\tSaveSpeech ss = new SaveSpeech(message, fileName,statuslbl,progressBar, voice, rate, pitchStart, pitchEnd);\n\t\tss.execute();\n\t\tthisFrame.dispose();\n\t}", "public void writeResultSentencesToFile(String outputFilePath) {\n writeDataToFile(reversedWrdsSentence.toCharArray(), outputFilePath);\n }", "public void addSpeech(String text, String packageName, int resId) {\n mSelf.addSpeech(text, packageName, resId);\n }", "public void speak(){\n System.out.println(\"Smile and wave boys. Smile and wave.\");\n }", "void writeText(FsPath path, String text);", "public static void main(String[] args) {\n\t\tString PATH = \"./text.txt\";\n\t\t\n\t\tString writeString = \"Hello. I'm hungry.\";\n\t\t\n\t\tOutputStream out = null;\n\t\tbyte [] buffer = null;\n\t\t\n\t\ttry {\n\t\t\tbuffer = writeString.getBytes(\"UTF-8\");\n\t\t\t\n\t\t\tout = new FileOutputStream(PATH);\n\t\t\tout.write(buffer);\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tout.close(); // ΗΚΌφ\n\t\t\t} catch (IOException 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}", "String sound();", "static void speak(String words) {\n\t\ttry {\n\t\t\tRuntime.getRuntime().exec(\"say \" + words).waitFor();\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public void writeToTextFile(String filename){\n try{\n FileWriter myWriter = new FileWriter(filename); \n myWriter.write(toString());\n myWriter.close();\n } \n catch(IOException e) { \n System.out.println(\"An error occurred.\"); \n e.printStackTrace();\n } \n }", "public void speak(String text, int queueMode, String[] params) {\n ArrayList<String> speakingParams = new ArrayList<String>();\n if (params != null) {\n speakingParams = new ArrayList<String>(Arrays.asList(params));\n }\n mSelf.speak(text, queueMode, speakingParams);\n }" ]
[ "0.6997774", "0.6861216", "0.684034", "0.6834811", "0.67239356", "0.6715544", "0.66358566", "0.6562122", "0.64498", "0.63627297", "0.6160899", "0.6157641", "0.6142908", "0.6043319", "0.60196465", "0.5966681", "0.59054494", "0.5885393", "0.58781445", "0.5877661", "0.58763516", "0.58583874", "0.58528155", "0.582876", "0.5815746", "0.5808666", "0.5789489", "0.5782273", "0.57666475", "0.57547855", "0.57437134", "0.57434386", "0.56539816", "0.5637995", "0.5583448", "0.55621123", "0.5560497", "0.555396", "0.5553143", "0.5536916", "0.5478584", "0.54716474", "0.5461067", "0.5452923", "0.5441528", "0.54264355", "0.5423843", "0.5420057", "0.54155964", "0.5330815", "0.53243464", "0.53206396", "0.52907515", "0.5260867", "0.5256863", "0.5235032", "0.5234431", "0.52329224", "0.5223796", "0.5217721", "0.5216331", "0.5215539", "0.51853985", "0.5181185", "0.5155989", "0.5151485", "0.5143308", "0.512534", "0.51081824", "0.51065356", "0.5099355", "0.5097626", "0.5078681", "0.50743717", "0.50588053", "0.50444496", "0.50420535", "0.50403625", "0.50335705", "0.5019281", "0.50188845", "0.5010889", "0.5010508", "0.49912894", "0.49702373", "0.49653", "0.49649715", "0.4957576", "0.49520084", "0.4948582", "0.49461228", "0.49427718", "0.49423927", "0.49321994", "0.49277776", "0.49266076", "0.49260116", "0.49254927", "0.49060586", "0.49050775" ]
0.5364993
49
This method stops the current and all the pending tasks immediately.
public void stopAll() throws DynamicCallException, ExecutionException{ call("stopAll").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void stop()\n {\n if (task == -1) {\n return;\n }\n\n library.getPlugin().getServer().getScheduler().cancelTask(task);\n task = -1;\n }", "private void stop()\n {\n if(running)\n {\n scheduledExecutorService.shutdownNow();\n running = false;\n }\n }", "public void stop() {\n if (this.runningTaskId != -1) {\n plugin.getServer().getScheduler().cancelTask(this.runningTaskId);\n }\n reset(true);\n running = false;\n }", "@Override\n\tpublic void stop() {\n\t\tstopTask();\n\t\tmPlaybillPath = null;\n\t\tmResPlaybill = null;\n\t}", "public void stop(){\r\n\t\tmyTask.cancel();\r\n\t\ttimer.cancel();\r\n\t}", "public void stopTask() {\r\n\t\tquit = true;\r\n\t}", "public final void stopAll() {\n for (BotTaskInterface bt : TASKS) {\n LOG.info(\"Stoping BotTask {}\", bt.getName());\n bt.stop();\n }\n EXECUTOR_SERVICE.shutdown();\n }", "public void forceStop() {\n\t\tfor (int i = 0; i < worker_num; i++) {\n\t\t\tif (workThreads[i] == null)\n\t\t\t\tcontinue;\n\t\t\tworkThreads[i].interrupt();\n\t\t\tworkThreads[i] = null;\n\t\t}\n\t\tthreadPool = null;\n\t\ttaskQueue.clear();\n\t}", "private void cancelAllTasks() {\n if(artistTask != null) {\n artistTask.cancel(true);\n artistTask = null;\n }\n }", "public void stop() {\n awaitStop();\n }", "private void cancelTasks() {\n\t\ttimer.cancel();\n\t\ttimer.purge();\n\t}", "public synchronized void close() {\r\n\r\n\t\tif (done) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tdone = true;\r\n\r\n\t\tabortScheduledTasks();\r\n\t}", "public void stop() {\n \tif (elevatorControllerList != null) {\n \t\tfor(ElevatorController elevator : elevatorControllerList) {\n \t\t\televator.stop();\n \t\t}\n \t}\n \tif(mSchedulerFuture != null) {\n \t\tmSchedulerFuture.cancel(false);\n \t}\n \tif(mHandlerFuture != null) {\n \t\tmHandlerFuture.cancel(false);\n \t}\n \tscheduledExecutorService.shutdown();\n }", "public void stop() {\n if (!sequencer.tryAcquire())\n throw new IllegalStateException(\"Can't acquire lock\");\n int errcount = 0;\n final StringBuilder b = new StringBuilder();\n\n try {\n switchState(STOPPED,\"stop\");\n\n errcount += cancelSessionTasks(b);\n errcount += stopDirectoryScanners(b);\n } finally {\n sequencer.release();\n }\n\n sendQueuedNotifications();\n if (errcount > 0) {\n b.insert(0,\"stop partially failed with \"+errcount+\" error(s):\");\n throw new RuntimeException(b.toString());\n }\n }", "private AsyncFuture<Void> stop() {\n return curator.stop();\n }", "public synchronized void stop() {\n this.running = false;\n }", "public void stop() {\r\n running = false;\r\n }", "public void stopWork() {\n stopWork = true;\n }", "public static void cancelAll() {\n\n ImageDownloadTask[] taskArray = new ImageDownloadTask[sInstance.downloadWorkQueue.size()];\n\n // Populates the array with the task objects in the queue\n sInstance.downloadWorkQueue.toArray(taskArray);\n\n /*\n * Locks on the singleton to ensure that other processes aren't mutating Threads, then\n * iterates over the array of tasks and interrupts the task's current Thread.\n */\n synchronized (sInstance) {\n for (ImageDownloadTask imageDownloadTask : taskArray) {\n Thread thread = imageDownloadTask.getCurrentThread();\n if (null != thread) {\n thread.interrupt();\n }\n }\n }\n }", "public final void stop() {\n running = false;\n \n \n\n }", "public void stop() {\n executor.shutdown();\n }", "public void stop() {\n running = false;\n }", "public void stop() {\n _running = false;\n }", "public void stop()\n {\n running = false;\n }", "public void stopTask() {\n if(canRunTaskThread != null)\n canRunTaskThread.set(false);\n }", "void stopAll();", "public synchronized void abort() {\r\n\t\tif (done) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tdone = true;\r\n\r\n\t\tabortScheduledTasks();\r\n\t}", "public void stop()\n\t{\n\t\trunning = false;\n\t}", "public void stop(){\n running = false;\n }", "public void stop() {}", "public synchronized void stop() {\n if (isPausing) {\n start();\n }\n if (isRunning) {\n isRunning = false;\n for (int i = 0; i < numComputeTasks; i++) {\n inputQueue.addLast(new ComputeStopSign());\n }\n ComputeUtil.acquire(taskSync,\n numComputeTasks);\n for (int i = 0; i < threads.length; i++) {\n boolean isFailed = false;\n do {\n isFailed = false;\n try {\n threads[i].join();\n } catch (Exception e) {\n isFailed = true;\n }\n } while (isFailed);\n }\n threads = null;\n }\n }", "public void stopTask()\n {\n viewer.stopViewer(); \n }", "public void stop() {\n executor.shutdownNow();\n rescanThread.interrupt();\n }", "public void halt() {\n\t\t// Task can not currently be halted.\n\t}", "public synchronized void stop()\r\n/* 78: */ {\r\n/* 79:203 */ if (!this.monitorActive) {\r\n/* 80:204 */ return;\r\n/* 81: */ }\r\n/* 82:206 */ this.monitorActive = false;\r\n/* 83:207 */ resetAccounting(milliSecondFromNano());\r\n/* 84:208 */ if (this.trafficShapingHandler != null) {\r\n/* 85:209 */ this.trafficShapingHandler.doAccounting(this);\r\n/* 86: */ }\r\n/* 87:211 */ if (this.scheduledFuture != null) {\r\n/* 88:212 */ this.scheduledFuture.cancel(true);\r\n/* 89: */ }\r\n/* 90: */ }", "public void finish() {\n\t\ttask.run();\n\t\ttask.cancel();\n\t}", "public void stop() {\n \t\t\tif (isJobRunning) cancel();\n \t\t}", "public void stopSpinning()\n {\n scheduler.shutdown();\n startupLock.lock();\n spinning = false;\n }", "public synchronized void stop(){\n\t\tif (tickHandle != null){\n\t\t\ttickHandle.cancel(false);\n\t\t\ttickHandle = null;\n\t\t}\n\t}", "public static void onPauseCleanUp() {\n for(PrioritizedReactiveTask task: activeTasks) {\n task.stopTask();\n }\n }", "public synchronized void stop() {\n stopping = true;\n }", "final protected void interrupt()\n {\n if (startTask != null)\n startTask.interruptAll();\n }", "public void stop();", "public void stop();", "public void stop();", "public void stop();", "public void stop();", "public void stop();", "public void stop();", "public void stop();", "public void stop();", "public void stop();", "public void stop();", "public void stop();", "public void stop();", "public void stop();", "public void stop();", "public void stop() {\n stopped.set(true);\n if (this.currentThread != null) {\n this.currentThread.interrupt();\n this.currentThread = null;\n }\n }", "public void stopAll() throws CallError, InterruptedException{\n if (isAsynchronous)\n service.call(\"stopAll\");\n else\n service.call(\"stopAll\").get();\n }", "@Override public void stop() {\n\t\t_active = false;\n\t}", "public void stop(){\n return;\n }", "protected void abortScheduledTasks() {\r\n\r\n\t\tfor (ParallelTask<?> task : scheduledSubtasks) {\r\n\t\t\ttask.cancel();\r\n\t\t}\r\n\r\n\t\tscheduledSubtasks.clear();\r\n\t}", "void endTask();", "public void stop() {\r\n _keepGoing = false;\r\n }", "public void stopSoft() {\n stopped.set(true);\n }", "public void stop(){\n executor.shutdown();\n active = false;\n \n tSec.setEditable(true);\n tMin.setEditable(true);\n tHours.setEditable(true);\n }", "public void stop() {\n enable = false;\n }", "public void stop() {\n\t\tthis.close(this.btcomm);\n\t}", "public void stop()\n {\n storage.stop();\n command.stop();\n }", "public void stop() {\n executorService.shutdown();\n try {\n if (!executorService.awaitTermination(500, TimeUnit.MILLISECONDS)) {\n executorService.shutdownNow();\n }\n } catch (InterruptedException e) {\n executorService.shutdownNow();\n }\n }", "@Stop(priority = 99)\n void stop() {\n for (List<ListenerInvocation> list : listenersMap.values()) {\n if (list != null) list.clear();\n }\n\n if (syncProcessor != null) syncProcessor.shutdownNow();\n }", "@Override\n public void stop() {\n Thread t = new Thread(server::stopOrderProcess);\n t.setName(\"Server close task\");\n t.start();\n serverFrame.enableControls(false, false);\n enableControls(false, false);\n }", "public void stop() {\n\t\trunning = false;\n\t\tfor (ArionumHasher hasher : hashers) {\n\t\t\thasher.setForceStop(true);\n\t\t}\n\n\t\tthreadCollection.clear();\n\t\thashers.clear();\n\t}", "public final void stopRunning() {\n\t\t_running = false;\n\t}", "public void stop() {\n }", "public void stop() {\n }", "void notifyStop();", "@Override\n public void stopTask(TrcRobot.RunMode runMode)\n {\n stop();\n }", "public void stop()\n {\n if ( this.threadRunning.get() )\n {\n this.threadRunning.set(false);\n }\n }", "public void Stop(){\r\n\t\trunning = false;\r\n\t\thelp.print(\"Closing server, waiting for workers to complete\");\r\n\t}", "public void stop() {\n\t}", "public synchronized void stopScheduler() {\r\n\t\tstatus = false;\r\n\t\tstart = null;\r\n\t\tif (t != null) {\r\n\t\t\tt.cancel();\r\n\t\t\tt.purge();\r\n\t\t\tt = null;\r\n\t\t}\r\n\t\tstartDate = null;\r\n\t\tsuper.interrupt();\r\n\t}", "public void stopping();", "public void stop(){\n log.info(\"PageDownloaderPool stopped.\");\n downloaders.forEach(PageDownloader::doStop);\n }", "public void stopPollingThread() {\n pool.shutdown();\n }", "public void Stop() {\r\n\t\t\r\n\t\tthread = null;\r\n\t}", "public void shutdown() {\n\t\tfinal List<Runnable> tasks = updater.shutdownNow();\n\t\tif (null == tasks) return;\n\t\tfor (final Runnable t : tasks)\n\t\t\tt.run();\n\t}", "protected void stopTimeTask() {\n\t\tif (chatAsyncTask!=null) {\n\t\t\tchatAsyncTask.cancel(true);\n\t\t}\n\t\t\n\t\tif (liveAsyncTask!=null) {\n\t\t\tliveAsyncTask.cancel(true);\n\t\t}\n\t\t\n\t\tif (timerTask!=null) {\n\t\t\ttimerTask.cancel();\n\t\t\ttimerTask = null;\n\t\t}\n\t\t\n\t\tif (timer!=null) {\n\t\t\ttimer.cancel();\n\t\t\ttimer = null;\n\t\t}\n\t\t\n\t\t\n\t}", "public void stopRunning() {\n try {\n _running = false;\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "public void stop()\r\n\t{\r\n\t\tdoStop = true;\r\n\t}", "@Override\n public void stop() {}", "public void stop() {\n intake(0.0);\n }", "public void stopAll() {\n List<String> startedEvents = new ArrayList<>(started.keySet());\n for (String event : startedEvents) {\n stop(event);\n }\n started.clear();\n }", "public void notifyStop() {\n\t\tisRunning = false;\n\t}", "public void stop() {\n\t\texec.stop();\n\t}", "public void stop() {\n thread = null;\n }", "void stopReportingTask();", "public void stop()\n\t{\n\t\tindex = 0;\n\t\tlastUpdate = -1;\n\t\tpause();\n\t}", "public void stopping() {\n super.stopping();\n }", "public void forceShutdown()\n {\n taskExecutor.shutdownNow();\n differencingDone.signalAll();\n completed.signalAll();\n }", "public abstract void stopThreadsAtSafePoint();" ]
[ "0.75818574", "0.74289495", "0.72926134", "0.7241139", "0.72354466", "0.7073657", "0.7011232", "0.69066733", "0.6886921", "0.68617", "0.6829561", "0.67851484", "0.6774248", "0.6773359", "0.6754245", "0.67387027", "0.673153", "0.6720909", "0.6716232", "0.6705626", "0.67019624", "0.66946745", "0.6691458", "0.6673892", "0.66578805", "0.66563517", "0.6645377", "0.66425216", "0.6628148", "0.6621995", "0.6617905", "0.66041934", "0.65678495", "0.6558667", "0.65539277", "0.65309286", "0.6506401", "0.650391", "0.64810926", "0.6480274", "0.6464107", "0.64615244", "0.6447059", "0.6447059", "0.6447059", "0.6447059", "0.6447059", "0.6447059", "0.6447059", "0.6447059", "0.6447059", "0.6447059", "0.6447059", "0.6447059", "0.6447059", "0.6447059", "0.6447059", "0.644703", "0.64432067", "0.64404005", "0.6427327", "0.6420058", "0.6419637", "0.6418052", "0.641288", "0.6393555", "0.63896376", "0.63678586", "0.6367145", "0.6364872", "0.6355598", "0.6353496", "0.6351979", "0.6351735", "0.6351697", "0.6351697", "0.63485974", "0.63455594", "0.6334639", "0.63321924", "0.6326217", "0.6323768", "0.6318722", "0.63185835", "0.6316436", "0.6307954", "0.63075185", "0.6301513", "0.6301072", "0.62929595", "0.62851906", "0.62841725", "0.62712646", "0.62701476", "0.6256688", "0.6256528", "0.62556267", "0.6252234", "0.624569", "0.6237545", "0.6233375" ]
0.0
-1
Changes the language used by the TexttoSpeech engine. It automatically changes the voice used since each of them is related to a unique language. If you want that change to take effect automatically after reboot of your robot, refer to the robot web page (setting page).
public void setLanguage(String pLanguage) throws DynamicCallException, ExecutionException{ call("setLanguage", pLanguage).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void changeLanguage(String newLanguage){\n\tif (newLanguage.contentEquals(\"FR\")){\n\t\t((GameActivity) activity).setStringPreferences(\"language\", \"1\");\n\t} else if (newLanguage.contentEquals(\"UK\")){\n\t\t((GameActivity) activity).setStringPreferences(\"language\", \"2\");\n\t}\n\t\n\t/*\n\tprefLanguage = ((GameActivity) activity).getPreference(\"language\", \"1\");\n\tif (prefLanguage.contentEquals(\"1\")){\n\t\tresourcesManager.tts.setLanguage(Locale.FRENCH);\n\t} else if (prefLanguage.contentEquals(\"2\")){\n\t\tresourcesManager.tts.setLanguage(Locale.ENGLISH);\t\n\t}\n\t*/\n\t\n\t\n\t\n\t/*\n\tif (newLanguage.contentEquals(\"FR\")){\n\t\tresourcesManager.tts.setLanguage(Locale.FRENCH);\n\t\tlocalLanguage=0;\n\t} else if (newLanguage.contentEquals(\"UK\")){\n\t\tresourcesManager.tts.setLanguage(Locale.ENGLISH);\t\n\t\tlocalLanguage=1;\n\t}\n\t*/\n\t\n}", "public void changeLanguage(View v) {\n Resources res = getResources();\n DisplayMetrics dm = res.getDisplayMetrics();\n Configuration config = res.getConfiguration();\n\n String targetLanguage;\n\n // Log.d(\"en-US\", targetLanguage);\n\n if ( config.locale.toString().equals(\"pt\") ) {\n targetLanguage = \"en-US\";\n } else {\n targetLanguage = \"pt\";\n }\n\n Locale newLang = new Locale(targetLanguage);\n\n config.locale = newLang;\n res.updateConfiguration(config, dm);\n\n // Reload current page with new language\n Intent refresh = new Intent(this, Settings.class);\n startActivity(refresh);\n }", "void changeLanguage() {\n\n this.currentLocaleIndex++;\n if(this.currentLocaleIndex > this.locales.size() - 1) this.currentLocaleIndex = 0;\n this.updateBundle();\n }", "public void updateLanguage() {\n this.title.setText(LanguageStringMap.get().getMap().get(TITLE_KEY));\n this.skinSwitcher.updateLanguage();\n this.langSwitcher.updateLanguage();\n this.pawnSwitcher.updateLanguage();\n this.musicManager.updateLanguage();\n this.back.setText(LanguageStringMap.get().getMap().get(BACK_KEY));\n }", "public void switchLanguage(){\n Locale myLocale = new Locale(\"de\");\r\n // get current Locale\r\n String currentLocale = scanActivity.getResources().getConfiguration().locale\r\n .toString();\r\n // set Locale to english if current Locale is german\r\n if (currentLocale.equals(\"de\")) {\r\n myLocale = new Locale(\"en\");\r\n }\r\n // sets the Locale in the configuration and updates the\r\n // configuration\r\n DisplayMetrics metrics = scanActivity.getResources().getDisplayMetrics();\r\n Configuration config = scanActivity.getResources().getConfiguration();\r\n config.locale = myLocale;\r\n scanActivity.getResources().updateConfiguration(config, metrics);\r\n // recreates the app in order to show the selected language\r\n scanActivity.recreate();\r\n }", "private void switchLanguage( ){\n \tString xpathEnglishVersion = \"//*[@id=\\\"menu-item-4424-en\\\"]/a\";\n \tif( driver.findElement( By.xpath( xpathEnglishVersion ) ).getText( ).equals( \"English\" ) ) {\n \t\tSystem.out.println( \"Change language to English\" );\n \t\tdriver.findElement( By.xpath( xpathEnglishVersion ) ).click( );\n \t\tIndexSobrePage.sleepThread( );\n \t}\n }", "private void setTextTospeech() {\n textToSpeech = new TextToSpeech(mContext, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n Set<Locale> languages = textToSpeech.getAvailableLanguages();\n if (language.toLowerCase().contains(langaugeCodeEnglish)) {\n int result = textToSpeech.setLanguage(new Locale(\"en\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n //Toast.makeText(mContext, result + \" is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n }\n } else {\n int result = textToSpeech.setLanguage(new Locale(\"hi\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n result = textToSpeech.setLanguage(Locale.forLanguageTag(\"hin\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n\n // Toast.makeText(mContext, result + \"Language is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \"Language is not supported\");\n }\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n if (result == TextToSpeech.LANG_NOT_SUPPORTED) {\n showTtsLanuageNSDialog();\n }\n }\n }\n }\n });\n }", "private String setSpeechFXLanguage(String language){\n String lang;\n if (!mSpeechFXon) {\n lang = language;\n } else if (mTts == null) {\n\t\t\tLog.i(TAG, \"TTS IS NULL!\");\n\t\t\tlang = language;\n\t\t} else {\n\t\t\tlang = Languages.setSpeechLanguage(language, mDefaultSpeechLang, mTts.ttsengine());\n\t\t\tif (mTts != null && lang != null && !lang.equals(\"\")) {\n\t\t\t\tLog.i(TAG, \"TTS set speech engine language: \" + lang);\n\t\t\t\tmTts.ttsengine().setLanguage(Languages.stringToLocale(lang));\n\t\t\t} else {\n\t\t\t\t// Unchanged, so return the pilot language\n\t\t\t\tlang = language;\n\t\t\t}\n\t\t\tLog.i(TAG, \"TTS LANG: \" + lang);\n\t\t}\n\n\t\treturn lang;\n\t}", "@SuppressWarnings(\"deprecation\")\r\n public void setLanguage(String langTo) {\n Locale locale = new Locale(langTo);\r\n Locale.setDefault(locale);\r\n\r\n Configuration config = new Configuration();\r\n\r\n config.setLocale(locale);//config.locale = locale;\r\n\r\n if (Build.VERSION.SDK_INT == Build.VERSION_CODES.N) {\r\n createConfigurationContext(config);\r\n } else {\r\n getResources().updateConfiguration(config, getResources().getDisplayMetrics());\r\n }\r\n\r\n //createConfigurationContext(config);\r\n getResources().updateConfiguration(config, getApplicationContext().getResources().getDisplayMetrics());//cannot resolve yet\r\n //write into settings\r\n SharedPreferences.Editor editor = mSettings.edit();\r\n editor.putString(APP_PREFERENCES_LANGUAGE, langTo);\r\n editor.apply();\r\n //get appTitle\r\n if(getSupportActionBar()!=null){\r\n getSupportActionBar().setTitle(R.string.app_name);\r\n }\r\n\r\n }", "public void updateLanguage() {\n buttonPlay.setText(GameConfiguration.getText(\"playButton\"));\n buttonSettings.setText(GameConfiguration.getText(\"settingsButton\"));\n buttonHighScores.setText(GameConfiguration.getText(\"highScores\"));\n }", "public void updateLanguage() {\n try {\n getUserTicket().setLanguage(EJBLookup.getLanguageEngine().load(updateLanguageId));\n } catch (FxApplicationException e) {\n new FxFacesMsgErr(e).addToContext();\n }\n }", "void setLanguage(Language language);", "@SuppressLint(\"SetTextI18n\")\n @Override\n public void setLanguage() {\n if (Value.language_flag == 0) {\n title.setText(title_text);\n back.setText(\"back\");\n copyright.setText(Value.copyright_text + Value.ver);\n nowTime.setText(Value.updatestring + Value.updateTime);\n } else if (Value.language_flag == 1) {\n title.setText(title_text);\n back.setText(\"返回\");\n copyright.setText(Value.copyright_text + Value.ver);\n nowTime.setText(Value.updatestring + Value.updateTime);\n } else if (Value.language_flag == 2) {\n title.setText(title_text);\n back.setText(\"返回\");\n copyright.setText(Value.copyright_text + Value.ver);\n nowTime.setText(Value.updatestring + Value.updateTime);\n }\n }", "@Override\n public void updateLanguage() {\n if (isEnglish) {\n languageButton.setText(R.string.alien_painter_language_chinese);\n exitButton.setText(R.string.alien_painter_exit);\n retryButton.setText(R.string.alien_painter_retry);\n scoreboardButton.setText(R.string.alien_painter_scoreboard_button);\n painterTextViewInstructions.setText(R.string.alien_painter_instructions);\n replayButton.setText(R.string.alien_painter_replay);\n } else {\n languageButton.setText(R.string.alien_painter_language_english);\n exitButton.setText(R.string.alien_painter_exit_chinese);\n retryButton.setText(R.string.alien_painter_retry_chinese);\n scoreboardButton.setText(R.string.alien_painter_scoreboard_button_chinese);\n painterTextViewInstructions.setText(R.string.alien_painter_instructions_chinese);\n replayButton.setText(R.string.alien_painter_replay_chinese);\n }\n }", "public void setLanguage(String newLanguage) {\r\n language = newLanguage;\r\n }", "@Override\n public void setLanguage(String lang) {\n }", "public void changeApplicationLanguage(ActionEvent event) {\n\t\tString appConfigPath = \"src/main/resources/properties/AudioEditor.properties\";\n\t\tProperties properties = new Properties();\n\t\ttry {\n\t\t\tproperties.load(new FileInputStream(new File(appConfigPath).getAbsoluteFile()));\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tif (event.getSource() == languageEnglish) {\n\t\t\tcurLocale = new Locale(\"en\", \"US\");\n\t\t\tproperties.setProperty(\"language\", \"en\");\n\t\t\tproperties.setProperty(\"country\", \"US\");\n\t\t} else if (event.getSource() == languageFinnish) {\n\t\t\tcurLocale = new Locale(\"fi\", \"FI\");\n\t\t\tproperties.setProperty(\"country\", \"FI\");\n\t\t\tproperties.setProperty(\"language\", \"fi\");\n\t\t}\n\n\t\ttry (FileOutputStream fos = new FileOutputStream(appConfigPath);) {\n\t\t\tproperties.store(fos, null);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tbundle = ResourceBundle.getBundle(\"properties/ApplicationResources\", curLocale);\n\n\t\tsetApplicationLanguage();\n\t}", "public void setApplicationLanguage() {\n\t\tinitializeMixerLocalization();\n\t\tinitializeRecorderLocalization();\n\t\tinitializeMenuBarLocalization();\n\t\tsetLocalizedLanguageMenuItems();\n\t\tboardController.setLocalization(bundle);\n\t\tboardController.refreshSoundboard();\n\t}", "@Override\n\tpublic void setTargetLanguage(java.lang.String targetLanguage) {\n\t\t_scienceApp.setTargetLanguage(targetLanguage);\n\t}", "public void setLanguage (String language) {\n\t\tthis.language=language;\n\t\tthis.update();\n\t}", "void TranslateToTurkish() {\n // Check wheter the device language is English\n if(Locale.getDefault().getDisplayLanguage() == \"en\"){ // Don't do anything if it is English\n }\n else { // Translate to device language (For now just Turkish)\n final Handler textViewHandler = new Handler();\n new AsyncTask<Void, Void, Void>() {\n @Override\n protected Void doInBackground(Void... params) {\n TranslateOptions options = TranslateOptions.newBuilder()\n .setApiKey(googleApiKey)\n .build();\n Translate translate = options.getService();\n final Translation translation =\n translate.translate(textToSpeechInputText,\n Translate.TranslateOption.targetLanguage(\"tr\"));\n textViewHandler.post(new Runnable() {\n @Override\n public void run() {\n Log.d(\"Translated text:\", translation.getTranslatedText().toString());\n textToSpeechInputText = translation.getTranslatedText().toString();\n Log.d(\"Output\", textToSpeechInputText);\n //Speak of the result\n Speak(textToSpeechInputText);\n state = 2; // Turn state to speaking the result\n }\n });\n return null;\n }\n }.execute();\n }\n }", "private void changeLanguage(String selectedLang) {\n if (AppUtils.getInstance().isInternetAvailable(this)) {\n hitChangeLanguageApi(selectedLang);\n\n }\n }", "private void translate()\r\n\t{\r\n\t\tLocale locale = Locale.getDefault();\r\n\t\t\r\n\t\tString language = locale.getLanguage();\r\n\t\t\r\n\t\ttranslate(language);\r\n\t}", "public void setLanguage(String language);", "public static void removelanguage(Context ctx) {\n\n\t\tgetSharedPreferences(ctx).edit().putString(language, null)\n\t\t\t\t.commit();\n\n\t}", "public void onInit(int code) {\n\t\t if (code==TextToSpeech.SUCCESS) {\n\t\t \t com.example.main_project.MainActivity.tts.setLanguage(Locale.getDefault());\n\n\n\t\t \t } else {\n\t\t \t com.example.main_project.MainActivity.tts = null;\n\t\t \t Toast.makeText(this, \"Failed to initialize TTS engine.\",\n\t\t \t Toast.LENGTH_SHORT).show();\n\t\t \t }\t\t\n\t\t}", "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 }", "@Override\n public void onInit(int i) {\n if(i!=TextToSpeech.ERROR){\n // To Choose language of speech\n textToSpeech.setLanguage(getResources().getConfiguration().locale);\n }\n }", "public void setLanguageEnglishButtonText(String text) {\n/*Generated! Do not modify!*/ replyDTO.getVariablesToSet().add(\"overviewSmall_languageEnglishButton_propertyText\");\n/*Generated! Do not modify!*/ if (text == null) {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().remove(\"overviewSmall_languageEnglishButton_propertyText\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().put(\"overviewSmall_languageEnglishButton_propertyText\", text);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(\"setLanguageEnglishButtonText(\" + escapeString(text) + \");\");\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "private void setLanguageForApp(){\n String lang = sharedPreferences.getString(EXTRA_PREF_LANG,\"en\");\n\n Locale locale = new Locale(lang);\n Resources resources = getResources();\n Configuration configuration = resources.getConfiguration();\n DisplayMetrics displayMetrics = resources.getDisplayMetrics();\n configuration.setLocale(locale);\n\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N){\n getApplicationContext().createConfigurationContext(configuration);\n } else {\n resources.updateConfiguration(configuration,displayMetrics);\n }\n getApplicationContext().getResources().updateConfiguration(configuration, getApplicationContext().getResources().getDisplayMetrics());\n }", "protected static void setLanguage(Language lang) {\r\n\t\tInterface.lang = lang;\r\n\t}", "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}", "void updateLang() {\n if (lang == null)\n lang = game.q;\n }", "public static void setLanguage(Context context, String language) {\r\n\t\tputString(context, \"app-language\", language, false);\r\n\t\tputString(context, \"old-app-language\", language, true);\r\n\t\tforceLocale(context);\r\n\t}", "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}", "@Override\r\n\t\tpublic void setLang(String lang)\r\n\t\t\t{\n\t\t\t\t\r\n\t\t\t}", "public void setLanguage(String s) {\n\t\tlanguage = s;\n\t}", "public static void setApplicationLanguage(Context context, String code) {\n\t\tResources res = context.getResources();\n\t\tConfiguration androidConfiguration = res.getConfiguration();\n\t\t\n\t\tandroidConfiguration.locale = new Locale(code);\n\t\tres.updateConfiguration(androidConfiguration, res.getDisplayMetrics());\n\t}", "private void setLocale(String lang) {\n Locale myLocale = new Locale(lang);\n Resources res = getResources();\n DisplayMetrics dm = res.getDisplayMetrics();\n Configuration conf = res.getConfiguration();\n conf.setLocale(myLocale);\n res.updateConfiguration(conf, dm);\n Intent refresh = new Intent(this, MainActivity.class);\n startActivity(refresh);\n finish();\n }", "public void setLanguage(Language lang) {\n\t\tGuiElements guiElems = GuiElements.getInstance();\n\t\tframe.setTitle(guiElems.getFrameTitle(lang));\n\t\tconvBtn.setText(guiElems.getConvertBtnText(lang));\n\t\tswitchBtn.setText(guiElems.getSwitchScalesText(lang));\n\t}", "public void setLanguage(Language l)\n\t{\n\t\tm_language = l;\n\t}", "private void ChangeLanguage(String languageCode) {\n Context context = LocaleHelper.setLocale(getContext(), languageCode);\n Resources resources = context.getResources();\n\n btn_Fipdetailscontinue.setText(resources.getString(R.string.Continue));\n btn_Home.setText(resources.getString(R.string.Home));\n btn_Info.setText(resources.getString(R.string.Info));\n btn_Back.setText(resources.getString(R.string.Back));\n tv_driverdetailslicenseNo.setText(resources.getString(R.string.LicenseNumber));\n tv_driverdetailsexpiryDate.setText(resources.getString(R.string.ExpiryDate));\n tv_driverdetailsPlateSource.setText(resources.getString(R.string.PlateSource));\n tv_driverdetailsticketNo.setText(resources.getString(R.string.TicketNumber));\n tv_driverdetailsbirthYear.setText(resources.getString(R.string.BirthYear));\n tv_driverDetails.setText(resources.getString(R.string.Details));\n tv_txtdriverDetails.setText(resources.getString(R.string.Details));\n tv_Seconds.setText(resources.getString(R.string.seconds));\n //Setting Title\n if (Title.contains(\"Lost\") || Title.contains(\"Damage\"))\n tvrtaServiceTitle.setText(resources.getString(R.string.DrivingLicenseLossDamage));\n else\n tvrtaServiceTitle.setText(resources.getString(R.string.DrivingLicenseRenewal));\n }", "public static void setlanguage(Context ctx, String latitude) {\n\t\tEditor editor = getSharedPreferences(ctx).edit();\n\t\teditor.putString(language, latitude);\n\t\teditor.commit();\n\t}", "public void setLanguage(String localeString) {\n\t\tdatabaseOperation.execute(\"UPDATE \" + DatabaseContents.LANGUAGE + \" SET language = '\" + localeString + \"'\");\n\t}", "private void ConvertTextToSpeech() {\n if (properties.get(selectedStateOrCountry) != null) {\n tts.speak(String.format(\"This is %s %s\", selectedStateOrCountry, properties.get(selectedStateOrCountry)),\n TextToSpeech.QUEUE_FLUSH, null);\n\n } else if (countryCapitalMap.get(selectedStateOrCountry) != null) {\n tts.speak(countryCapitalMap.get(selectedStateOrCountry), TextToSpeech.QUEUE_FLUSH, null);\n } else {\n tts.speak(selectedStateOrCountry, TextToSpeech.QUEUE_FLUSH, null);\n }\n }", "public Future<Void> setLanguageDefaultVoice(String Language, String Voice) throws DynamicCallException, ExecutionException{\n return call(\"setLanguageDefaultVoice\", Language, Voice);\n }", "public void updateLanguage(String lang) {\n\t\tmyLanguages.clear();\n\t\tString location = String.format(\"%s%s\", LANGUAGE_BASE, lang);\n\t\tResourceBundle rb = ResourceBundle.getBundle(location);\n\t\tfor (String key : rb.keySet()) {\n\t\t\tString[] input = rb.getString(key).split(\"\\\\|\");\n\t\t\tfor (String s : input) {\n\t\t\t\tmyLanguages.put(s.replace(\"\\\\\", \"\"), key);\n\t\t\t}\n\t\t}\n\t}", "public void setLanguage(final String lang)\r\n {\r\n // We grant to JavaScript the same privileges as the core applet\r\n\r\n AccessController.doPrivileged(new PrivilegedAction<Object>()\r\n {\r\n public Object run()\r\n {\r\n LabelManager.setLang(lang);\r\n return null;\r\n }\r\n });\r\n }", "public void setOntologies20070510nid3Language(java.lang.String value) {\r\n\t\tBase.set(this.model, this.getResource(), ONTOLOGIES20070510NID3LANGUAGE, value);\r\n\t}", "public void setLanguageDefaultVoice(String Language, String Voice) throws DynamicCallException, ExecutionException{\n call(\"setLanguageDefaultVoice\", Language, Voice).get();\n }", "@Override\n public void onInit(int code) {\n if (code==TextToSpeech.SUCCESS) {\n m_tts.setLanguage(Locale.US);\n } else {\n m_tts = null;\n msg(\"Failed to initialize TTS engine\");\n }\n }", "public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n System.out.println(\"Enter your language:\");\n String language = scanner.nextLine();\n\n switch (language){\n case \"Sinhala\":\n System.out.println(\"Language is changed to Sinhala..\");\n break;\n case \"English\":\n System.out.println(\"Language is changed to English..\");\n break;\n case \"Tamil\":\n System.out.println(\"Language is changed to Tamil..\");\n break;\n default:\n System.out.println(\"Something went wrong!! Try again..\");\n break;\n }\n\n }", "public void setLanguage(String languageName) {\n\t\tsetProperty(LANGUAGE_PROPERTY, languageName);\n\t\tthis.myLanguage = languageName;\n\t}", "public Future<Void> setLanguage(String pLanguage) throws DynamicCallException, ExecutionException{\n return call(\"setLanguage\", pLanguage);\n }", "public void setLanguage (String language) {\n switch (language.toLowerCase()) {\n default -> this.language = Language.ENGLISH;\n case \"french\" -> this.language = Language.FRENCH;\n case \"german\" -> this.language = Language.GERMAN;\n case \"spanish\" -> this.language = Language.SPANISH;\n case \"italian\" -> this.language = Language.ITALIAN;\n }\n }", "public void englishlanguage() {\nSystem.out.println(\"englishlanguage\");\n\t}", "public abstract void startVoiceRecognition(String language);", "public void setLanguages(String languages) {\n this.languages = languages;\n }", "private void setLanguage(String language_) {\n\n //by default assign language to language_. This may change below.\n language = language_;\n\n //---------- set the default file extensions ----------\n switch (language_) {\n case IAGConstant.LANGUAGE_CPP:\n //extensions = IAGConstant.CPP_EXTENSIONS;\n break;\n case IAGConstant.LANGUAGE_PYTHON3:\n //extensions = IAGConstant.PYTHON_EXTENSIONS;\n break;\n case IAGConstant.LANGUAGE_AUTO:\n //extensions = IAGConstant.PYTHON_AND_CPP_EXTENSIONS;\n break;\n default:\n //extensions = IAGConstant.PYTHON_AND_CPP_EXTENSIONS;;\n language = LANGUAGE_AUTO; //invalid language specified: use AUTO by default\n }\n\n }", "@Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n int result = tts.setLanguage(Locale.US);\n if (result == TextToSpeech.LANG_MISSING_DATA ||\n result == TextToSpeech.LANG_NOT_SUPPORTED) {\n Log.e(\"error\", \"This Language is not supported\");\n } else {\n ConvertTextToSpeech(\"\");\n\n }\n } else\n Log.e(\"error\", \"Initilization Failed!\");\n\n\n }", "private void setLanguage(String currentLang) {\n AppSharedPreference.getInstance().putString(this, AppSharedPreference.PREF_KEY.CURRENT_LANGUAGE, currentLang);\n AppSharedPreference.getInstance().putString(this, AppSharedPreference.PREF_KEY.CURRENT_LANGUAGE_CODE, String.valueOf(languageCode));\n tvEnglish.setCompoundDrawablesWithIntrinsicBounds(0, 0, 0, 0);\n tvChineseTrad.setCompoundDrawablesWithIntrinsicBounds(0, 0, 0, 0);\n tvChineseSimple.setCompoundDrawablesWithIntrinsicBounds(0, 0, 0, 0);\n tvMalyalm.setCompoundDrawablesWithIntrinsicBounds(0, 0, 0, 0);\n tvHindi.setCompoundDrawablesWithIntrinsicBounds(0, 0, 0, 0);\n tvUrdu.setCompoundDrawablesWithIntrinsicBounds(0, 0, 0, 0);\n switch (currentLang) {\n case Constants.AppConstant.CHINES_TRAD:\n tvChineseTrad.setCompoundDrawablesWithIntrinsicBounds(0, 0, R.drawable.ic_check_green, 0);\n break;\n case Constants.AppConstant.CHINES_SIMPLE:\n tvChineseSimple.setCompoundDrawablesWithIntrinsicBounds(0, 0, R.drawable.ic_check_green, 0);\n break;\n case Constants.AppConstant.MALAYALAM:\n tvMalyalm.setCompoundDrawablesWithIntrinsicBounds(0, 0, R.drawable.ic_check_green, 0);\n break;\n case Constants.AppConstant.HINDI:\n tvHindi.setCompoundDrawablesWithIntrinsicBounds(0, 0, R.drawable.ic_check_green, 0);\n break;\n case Constants.AppConstant.ARABIC:\n tvUrdu.setCompoundDrawablesWithIntrinsicBounds(0, 0, R.drawable.ic_check_green, 0);\n break;\n default:\n tvEnglish.setCompoundDrawablesWithIntrinsicBounds(0, 0, R.drawable.ic_check_green, 0);\n }\n }", "private void initLanguage() {\n try {\n Resources resources = getApplicationContext().getResources();\n DisplayMetrics displayMetrics = resources.getDisplayMetrics();\n Configuration configuration = resources.getConfiguration();\n Locale locale = new Locale(\"es\", \"ES\");\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {\n configuration.setLocale(locale);\n } else {\n //noinspection deprecation\n configuration.locale = locale;\n }\n resources.updateConfiguration(configuration, displayMetrics);\n } catch (Throwable throwable) {\n Log.d(TAG, \"Couldn't apply ES language.\", throwable);\n }\n }", "public void setLang(LANG language) {\n\t\tthis.language = language;\n\t}", "@Override\n public void onInit(int status) {\n\t \n\tif (status == TextToSpeech.SUCCESS) {\n\t\t \n int result = mTts.setLanguage(Locale.US);\n if (result != TextToSpeech.LANG_MISSING_DATA && result != TextToSpeech.LANG_NOT_SUPPORTED) {\n \tspokenText += spokenText+\"\"+spokenText+\"\";\n // mTts.speak(\"Dear sir your class is finished!! Dear sir your class is finished!! Dear sir your class is finished!!\", TextToSpeech.QUEUE_FLUSH, null);\n mTts.speak(spokenText, TextToSpeech.QUEUE_FLUSH, null);\n } \n } \n\t \n}", "private static int switchLanguage(int chineseVersion, int englishVersion)\n {\n if (sIsChinese)\n {\n return chineseVersion;\n }\n else\n {\n return englishVersion;\n }\n }", "private void changeVoice(String voice) throws IOException{\r\n\t\tFile failed = new File(\".festivalrc\");\r\n\t\t//If file does not exist, create new file\r\n\t\tif(!failed.exists()) {\r\n\t\t\tfailed.createNewFile();\r\n\t\t} \r\n\r\n\t\t//Appending the word to the file\r\n\t\tWriter output;\r\n\t\toutput = new BufferedWriter(new FileWriter(failed,false)); \r\n\t\toutput.append(\"(set! voice_default '\"+voice +\")\");\r\n\t\toutput.close();\r\n\t}", "@Override\r\n public void onInit(int status) {\n if(status!=TextToSpeech.ERROR) {\r\n ttobj.setLanguage(Locale.UK);\r\n //ttobj.setPitch(2);\r\n }\r\n }", "public void setLocale (\r\n String strLocale) throws java.io.IOException, com.linar.jintegra.AutomationException;", "public void setLanguage(String language) {\r\n this.language = language;\r\n }", "public void setLang(String value) {\n setAttributeInternal(LANG, value);\n }", "@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)\n private void speakWords(String speech) {\n myTTS.speak (speech, TextToSpeech.QUEUE_FLUSH, null,\"1\");\n\n }", "public void setLanguage(String languageKey) {\n String[] languages = {ResourceBundle.getBundle(LANGUAGE).getString(languageKey), SYNTAX};\n translations = getPatterns(languages);\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 putPrimaryLanguage(String value){\n editor.putString(PRIMARY_LANGUAGE, value);\n editor.apply();\n }", "public void setLanguage(String language) {\n _language = language;\n }", "Builder addInLanguage(Text value);", "public void setLang(AVT v)\n {\n m_lang_avt = v;\n }", "private void hitChangeLanguageApi(final String selectedLang) {\n progressBar.setVisibility(View.VISIBLE);\n ApiInterface apiInterface = RestApi.createServiceAccessToken(this, ApiInterface.class);//empty field is for the access token\n final HashMap<String, String> params = AppUtils.getInstance().getUserMap(this);\n params.put(Constants.NetworkConstant.PARAM_USER_ID, AppSharedPreference.getInstance().getString(this, AppSharedPreference.PREF_KEY.USER_ID));\n params.put(Constants.NetworkConstant.PARAM_USER_LANGUAGE, String.valueOf(languageCode));\n Call<ResponseBody> call = apiInterface.hitEditProfileDataApi(AppUtils.getInstance().encryptData(params));\n ApiCall.getInstance().hitService(this, call, new NetworkListener() {\n\n @Override\n public void onSuccess(int responseCode, String response, int requestCode) {\n progressBar.setVisibility(View.GONE);\n AppUtils.getInstance().printLogMessage(Constants.NetworkConstant.ALERT, response);\n switch (responseCode) {\n case Constants.NetworkConstant.SUCCESS_CODE:\n setLanguage(selectedLang);\n// Locale locale = new Locale(language);\n Locale.setDefault(locale);\n Configuration config = new Configuration();\n config.locale = locale;\n getBaseContext().getResources().updateConfiguration(config, getBaseContext().getResources().getDisplayMetrics());\n AppUtils.getInstance().openNewActivity(ChangeLanguageActivity.this, new Intent(ChangeLanguageActivity.this, HomeActivity.class));\n break;\n }\n }\n\n\n @Override\n public void onError(String response, int requestCode) {\n AppUtils.getInstance().printLogMessage(Constants.NetworkConstant.ALERT, response);\n progressBar.setVisibility(View.GONE);\n }\n\n\n @Override\n public void onFailure() {\n progressBar.setVisibility(View.GONE);\n }\n }, 1);\n }", "@Override\n\tpublic void notifyLanguageChanged(GameLanguageInfo oldValue) {\n\t\tGameLanguageInterface languageModel = nativeModel.getLanguage();\n\t\tIterator<Entry<LanguageNode, ReadOnlyStringWrapper>> iterator = currentLanguageNodes.entrySet().iterator();\n\t\twhile(iterator.hasNext()) {\n\t\t\tEntry<LanguageNode, ReadOnlyStringWrapper> entry = iterator.next();\n\t\t\tentry.getValue().set(languageModel.get(entry.getKey()));\n\t\t}\n\t}", "public void setLanguage(java.lang.String language) {\n this.language = language;\n }", "public void setLanguage(java.lang.String language) {\n this.language = language;\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 }", "@Override\n public void setText(String englishText) {\n\n }", "private void ConvertTextToSpeech(String voice1) {\n text=voice1;\n //text = et.getText().toString();\n if (text == null || \"\".equals(text)) {\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n } else\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", "public void setLanguage(String lang, String country, String variant) {\n mSelf.setLanguage(lang, country, variant);\n }", "public void SetUsersLearningLanguage(String lang) {\n if (AppSettings.Instance().IsValidBCP47Code(lang))\n userLearningLang = lang;\n else\n throw new IllegalArgumentException(\"Tried to set Users Learning Language to: \" + lang + \" which is incorrect or unsupported\");\n }", "public void language(String system) {\n String language=\"c语言\";\n this.output.output(system, language);\n //System.out.println(\"C语言编程!\\n\");\n }", "public void setTranslate (String File,String Close, String German, String English, String Settings, String Language)\n\t{\n\t\t fileMenu.setText(File);\n\t\t settingsMenu.setText(Settings);\n\t\t menuItem.setText(Close);\n\t\t menuItemEnglish.setText(English);\n\t\t menuItemGerman.setText(German);\n\t\t settingsSubMenu.setText(Language);\n\t\t \n\t}", "public void showLanguage(String which){\n switch (which) {\n case \"en\":\n locale = new Locale(\"en\");\n config.locale = locale;\n //MainActivity.language = 0;\n languageToLoadWizard=\"en\";\n break;\n case \"sw\":\n locale = new Locale(\"sw\");\n config.locale = locale;\n //MainActivity.language = 1;\n languageToLoadWizard=\"sw\";\n break;\n case \"es\":\n locale = new Locale(\"es\");\n config.locale = locale;\n languageToLoadWizard=\"es\";\n break;\n }\n getResources().updateConfiguration(config, null);\n Intent refresh = new Intent(Language.this, Wizard.class);\n startActivity(refresh);\n finish();\n }", "private void speak() {\n if(textToSpeech != null && textToSpeech.isSpeaking()) {\n textToSpeech.stop();\n }else{\n textToSpeech = new TextToSpeech(activity, this);\n }\n }", "public void setLanguage(String lang) {\n\t\tthis.language = lang;\n\t}", "public void languageChanged(LanguageChangedEvent evt) {\n this.applyI18n();\n }", "public static void changeAppLocale(Context ctx, String lang) {\n Locale locale = new Locale(lang);\n Locale.setDefault(locale);\n Configuration config = new Configuration();\n config.locale = locale;\n ctx.getResources().updateConfiguration(config, ctx.getResources().getDisplayMetrics());\n }", "public void setLanguage(String language) {\n this.language = language;\n }", "public void setLanguage(String language) {\n this.language = language;\n }", "public static void speak(Context context, final String text) {\n Log.d(TAG, \"Speak : \" + text);\n if (mTTSEngine == null) {\n mTTSEngine = new TextToSpeech(context, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int i) {\n if (i == TextToSpeech.SUCCESS) {\n mTTSEngine.setLanguage(Locale.US);\n mTTSEngine.setPitch(1f);\n mTTSEngine.setSpeechRate(1f);\n\n mTTSEngine.speak(text, TextToSpeech.QUEUE_ADD, null, UTTERANCE_ID);\n } else {\n mTTSEngine = null;\n }\n }\n });\n } else {\n mTTSEngine.speak(text, TextToSpeech.QUEUE_ADD, null, UTTERANCE_ID);\n }\n }", "public void setLanguage(String language) {\n this.standardPairs.put(Parameters.LANGUAGE, language);\n }", "public void onResume() {\n super.onResume();\n UpdateLang();\n }", "public void setLanguageGermanButtonText(String text) {\n/*Generated! Do not modify!*/ replyDTO.getVariablesToSet().add(\"overviewSmall_languageGermanButton_propertyText\");\n/*Generated! Do not modify!*/ if (text == null) {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().remove(\"overviewSmall_languageGermanButton_propertyText\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().put(\"overviewSmall_languageGermanButton_propertyText\", text);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(\"setLanguageGermanButtonText(\" + escapeString(text) + \");\");\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "public Builder setLanguage(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n language_ = value;\n onChanged();\n return this;\n }" ]
[ "0.76935446", "0.68138486", "0.6772208", "0.6762275", "0.6741529", "0.67091984", "0.66708803", "0.65843076", "0.65578693", "0.6545762", "0.6543704", "0.6534131", "0.652427", "0.64918834", "0.6459044", "0.64531463", "0.6444223", "0.64397603", "0.63385475", "0.6328847", "0.6317425", "0.6315702", "0.6314578", "0.6306043", "0.63046664", "0.6300223", "0.6262897", "0.6259774", "0.62458664", "0.62217855", "0.6198427", "0.61711824", "0.6167568", "0.61594355", "0.6138758", "0.61162", "0.61094016", "0.60824364", "0.6019922", "0.6011547", "0.5984455", "0.5975228", "0.59480906", "0.5947503", "0.5916808", "0.58907926", "0.5890186", "0.5864836", "0.5857033", "0.58332145", "0.58270466", "0.5820206", "0.58179367", "0.5813798", "0.5802575", "0.58019793", "0.5793864", "0.5782572", "0.57770544", "0.57645506", "0.575606", "0.5748437", "0.5743679", "0.5733186", "0.5721058", "0.5717075", "0.569919", "0.5686602", "0.567504", "0.5673743", "0.56736964", "0.567368", "0.5666146", "0.56595665", "0.5649906", "0.5639428", "0.5638142", "0.5633393", "0.5610884", "0.55971766", "0.55971766", "0.5576387", "0.5557367", "0.55516195", "0.5544829", "0.55385894", "0.55282605", "0.55174124", "0.55141014", "0.5513354", "0.5508119", "0.54919964", "0.54901695", "0.54790956", "0.54790956", "0.5471261", "0.5467137", "0.5465347", "0.5463815", "0.54587066" ]
0.6014436
39
Returns the language currently used by the texttospeech engine.
public String getLanguage() throws DynamicCallException, ExecutionException { return (String)call("getLanguage").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static SupportedLanguage getLang() {\n\t\tif (SINGLETON == null) {\n\t\t\tSINGLETON = new I18nHelper();\n\t\t}\n\t\treturn SINGLETON.getAndroidLang();\n\t}", "public static String getLanguage() {\n return language;\n }", "java.lang.String getLanguage();", "java.lang.String getLanguage();", "public String getCurrentLanguage() {\n return getStringData(Key.APP_CURRENT_LANGUAGE + \"\", \"zh\");\n }", "public java.lang.String getLanguage() {\n return language;\n }", "public java.lang.String getLanguage() {\n return language;\n }", "String getLanguage();", "String getLanguage();", "String getLanguage();", "public String getLanguage();", "public String getLanguage() {\n Object ref = language_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n language_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }", "public java.lang.String getLanguage() {\n java.lang.Object ref = language_;\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 if (bs.isValidUtf8()) {\n language_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public static String getCurrentLanguage() {\n\t\tif ( currentLanguage == null || currentLanguage.isEmpty() ) {\r\n\t\t\tcurrentLanguage = Locale.getDefault().getLanguage();\r\n\t\t}\r\n\t\treturn currentLanguage;\r\n\t}", "public String getLanguage()\n\t{\n\t\treturn language;\n\t}", "public String getLanguage() {\n return languageProperty.get();\n }", "@objid (\"8b3ba8b8-4d09-4d8e-9064-983191cc6b26\")\n @Override\n public String getLanguage() {\n String language = Platform.getNL();\n if (language.contains(\"_\")) {\n return Platform.getNL().substring(0, language.lastIndexOf(\"_\"));\n }\n return Platform.getNL();\n }", "public String getLanguage() {\n\t\treturn language;\n\t}", "public String getLanguage() {\n\t\treturn language;\n\t}", "public String getLanguage() {\n\t\treturn this.language;\n\t}", "public String getTargetLanguage()\n\t{\n\t\treturn targetLanguage;\n\t}", "public String getLanguage() {\n return language;\n }", "public String getLanguage() {\n return language;\n }", "public String getLanguage() {\r\n return language;\r\n }", "@Override\n public String getLanguage() {\n Object ref = language_;\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 language_ = s;\n return s;\n }\n }", "public String getLanguage() {\n return _language;\n }", "public String getPreferredLanguage()\n {\n if (lsData == null)\n return null;\n else\n return lsData.language;\n }", "public java.lang.String getLanguage()\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(LANGUAGE$14);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "public java.lang.String getLanguage()\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(LANGUAGE$14);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "public Language getLanguage()\n\t{\n\t\treturn m_language;\n\t}", "@java.lang.Override\n public java.lang.String getLanguage() {\n java.lang.Object ref = language_;\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 if (bs.isValidUtf8()) {\n language_ = s;\n }\n return s;\n }\n }", "public String getLanguage() {\n return this.language;\n }", "public Object language() {\n return this.language;\n }", "public LanguageCode getLanguage() {\n return language;\n }", "String getLang();", "public Language getLanguage() {\r\n\t\t\treturn lang;\r\n\t\t}", "@Nullable\n public final String getLanguage() {\n return this.language;\n }", "public String getLanguage()\n {\n return mLanguage;\n }", "public Language getLanguage() {\n return this.language;\n }", "@Override\n\tpublic java.lang.String getTargetLanguage() {\n\t\treturn _scienceApp.getTargetLanguage();\n\t}", "public static String getAppLanguage() {\n return Locale.getDefault().getLanguage().toLowerCase().substring(0, 2);\n }", "public String getLanguage() {\n\t\tif (language == null)\n\t\t throw new IllegalStateException(\"Should be impossible; missing build.language in test.properties!\");\n\t\treturn language.toLowerCase(Locale.US);\n\t}", "public String getLanguage()\r\n\t{\r\n\t\treturn (String) queryParams.get(AUTH_LANGUAGE);\r\n\t}", "@AutoEscape\n\tpublic String getLanguage();", "public static Language getAD_Language() {\n\t\treturn null;\r\n\t}", "public String getLang() {\n return (String)getAttributeInternal(LANG);\n }", "CLanguage getClanguage();", "public Future<String> getLanguage() throws DynamicCallException, ExecutionException {\n return call(\"getLanguage\");\n }", "private String getSystemLanguage() {\n String language;\n if (System.getProperty(COUNTRY) == null) {\n language = System.getProperty(LANGUAGE);\n } else {\n language = System.getProperty(LANGUAGE) + \"-\"\n + System.getProperty(COUNTRY).toLowerCase(Locale.ENGLISH);\n }\n return language;\n }", "public Language getLanguage() {\n return this.language;\n }", "public String getLang() {\n return lang;\n }", "public String getPrimaryLanguage(){\n return sharedPreferences.getString(PRIMARY_LANGUAGE, \"LANG_NOT_FOUND\");\n }", "public String[] getLanguage() {\n return mSelf.getLanguage();\n }", "private static String getCurrentLanguageCode() {\n return Locale.getDefault().getLanguage();\n }", "public AVT getLang()\n {\n return m_lang_avt;\n }", "public static String getSavedLanguage(Context context) {\r\n\t\treturn getPreferences(context).getString(\"app-language\", null);\r\n\t}", "public java.lang.String getLang()\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(LANG$28);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "public String getLanguageType() {\n return languageType;\n }", "@DISPID(-2147413012)\n @PropGet\n java.lang.String language();", "@java.lang.Override\n public com.google.protobuf.ByteString\n getLanguageBytes() {\n java.lang.Object ref = language_;\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 language_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public static String getlanguage(Context ctx) {\n\t\treturn getSharedPreferences(ctx).getString(language, \"\");\n\t}", "@NonNull\n Language getLexerLanguage();", "public String detectLanguage(String text) {\n\t\treturn dictionary.detectLanguage(text);\n\t}", "public String getUserLangage() {\n return sessionData.getUserLanguage();\n }", "public org.apache.xmlbeans.XmlAnySimpleType getLanguage()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlAnySimpleType target = null;\n target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(LANGUAGE$14);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlAnySimpleType)get_default_attribute_value(LANGUAGE$14);\n }\n if (target == null)\n {\n return null;\n }\n return target;\n }\n }", "public java.lang.String getDefaultLanguage() {\n return defaultLanguage;\n }", "private SupportedLanguage getAndroidLang() {\n\t\treturn this.androidLang;\n\t}", "public MicrosoftStemmingTokenizerLanguage getLanguage() {\n return this.language;\n }", "public String returnLanguage() {\n\t\treturn this.registration_language.getAttribute(\"value\");\r\n\t}", "public String getLanguageName() {\r\n return languageName;\r\n }", "public com.google.protobuf.ByteString\n getLanguageBytes() {\n java.lang.Object ref = language_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n language_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@Override\n public com.google.protobuf.ByteString\n getLanguageBytes() {\n Object ref = language_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n language_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "com.google.protobuf.ByteString\n getLanguageBytes();", "public java.lang.String getLanguage() {\n return _courseImage.getLanguage();\n }", "public int getOppositeLanguage() {\n if (this._language == WORD_LANGUAGE_ENGLISH) {\n return WORD_LANGUAGE_POLISH;\n } else {\n return WORD_LANGUAGE_ENGLISH;\n }\n }", "public String getLanguageMenuText() {\r\n\t\treturn \"语言\";\r\n\t}", "public com.google.protobuf.ByteString\n getLanguageBytes() {\n Object ref = language_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n language_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public StrColumn getLanguage() {\n return delegate.getColumn(\"language\", DelegatingStrColumn::new);\n }", "Optional<Locale> getLanguage();", "public String getLocale()\n {\n return (m_taskVector == null || m_taskVector.size() == 0) ?\n DEFAULT_LOCALE :\n taskAt(0).getSourceLanguage();\n }", "public static Locale systemSettingLanguage() {\n\t\t// define return result\n\t\tLocale _ret = Locale.ENGLISH;\n\n\t\t// get default locale\n\t\tLocale _defaultLocale = Locale.getDefault();\n\n\t\t// check language and country\n\t\tif (Locale.CHINESE.toString().equalsIgnoreCase(\n\t\t\t\t_defaultLocale.getLanguage())) {\n\t\t\tif (\"CN\".equalsIgnoreCase(_defaultLocale.getCountry())) {\n\t\t\t\t_ret = Locale.SIMPLIFIED_CHINESE;\n\t\t\t} else {\n\t\t\t\t_ret = Locale.TRADITIONAL_CHINESE;\n\t\t\t}\n\t\t}\n\n\t\treturn _ret;\n\t}", "com.google.protobuf.ByteString\n getLanguageBytes();", "@Override\r\n\t\tpublic String getLang()\r\n\t\t\t{\n\t\t\t\treturn null;\r\n\t\t\t}", "private Language askForLanguage() {\r\n // Build a message\r\n String message = \"Which language ? \\n\";\r\n for (int i = 0; i < listLanguages.size(); i++) {\r\n message += \"\\t\" + i + \"\\\\ \" + listLanguages.get(i).getName() + \"\\n\";\r\n }\r\n // Ask for number and get the correct Language\r\n return listLanguages.get(new Integer(askForLine(message)));\r\n }", "public final String getLangAttribute() {\n return getAttributeValue(\"lang\");\n }", "public String getScriptLanguage() { \n\t\treturn null;\n\t}", "public String getScriptLanguage() {\n return scriptLanguage;\n }", "public String getLanguageId() {\r\n\t\treturn this.languageId;\r\n\t}", "public Locale preferredLanguage() {\n return this.preferredLanguage;\n }", "@javax.annotation.Nullable\n @ApiModelProperty(value = \"Language and (by implication) the locale to use. This implies the accent and pronunciations to be usde for the TTS. The complete list of valid values for the language attribute is shown below.\")\n\n public String getLanguage() {\n return language;\n }", "public String getLanguages() {\n return languages;\n }", "protected final LanguageManager getLanguageManager() {\r\n return this.languageManager;\r\n }", "com.google.protobuf.ByteString\n getLanguageBytes();", "protected String getLang(SharedPreferences prefs, Resources res) {\n Intent intent = getIntent();\n if (intent != null) {\n String lang = intent.getStringExtra(RecognizerIntent.EXTRA_LANGUAGE);\n if (lang != null) {\n return lang;\n }\n }\n return PreferenceUtils.getPrefString(prefs, res, R.string.keyLanguage, R.string.defaultLanguage);\n }", "@Override\r\n\tpublic LanguageApi getLanguageApi() {\r\n\t\treturn this;\r\n\t}", "@Override\n public String getLang() {\n if (request != null) {\n return GuideUtils.getAcceptLang(request);\n } else {\n return FormContainer.super.getLang();\n }\n }", "public String getLangCode() {\n\t\treturn langCode;\n\t}", "public Language[] getLanguageList() {\n return languageList;\n }", "public String getSecondaryLanguage(){\n return sharedPreferences.getString(SECONDARY_LANGUAGE, \"LANG_NOT_FOUND\");\n }", "public long getLanguageDetectionRuntime() {\n return languageDetectionRuntime;\n }" ]
[ "0.77348906", "0.77328646", "0.77286017", "0.77286017", "0.7670725", "0.75131494", "0.75131494", "0.7461687", "0.7461687", "0.7461687", "0.7456258", "0.7420789", "0.7410388", "0.7387452", "0.73805857", "0.73462516", "0.73444396", "0.7317569", "0.7317569", "0.72798485", "0.7266202", "0.72567207", "0.72567207", "0.7254056", "0.7224175", "0.7219144", "0.720964", "0.7205503", "0.7205503", "0.71678746", "0.7164757", "0.7160309", "0.71571743", "0.714546", "0.71446455", "0.71430445", "0.71268886", "0.71073544", "0.71053034", "0.70855975", "0.70792896", "0.7064578", "0.7044597", "0.70151156", "0.70050746", "0.70027727", "0.6977736", "0.6954282", "0.6938346", "0.6912002", "0.6886829", "0.68705", "0.68699515", "0.68689734", "0.684028", "0.6823129", "0.6808968", "0.67928404", "0.6772442", "0.67665815", "0.67421484", "0.67330974", "0.67196107", "0.67072517", "0.6681839", "0.66802025", "0.66778564", "0.6665248", "0.66586024", "0.6644586", "0.6612392", "0.66076845", "0.65964943", "0.6584771", "0.6580421", "0.65679467", "0.6566715", "0.6565432", "0.65641695", "0.6542734", "0.6526383", "0.6514619", "0.65064615", "0.6476354", "0.6472164", "0.64676887", "0.6461432", "0.64568335", "0.64568216", "0.6453445", "0.6444959", "0.6441053", "0.6430259", "0.64259213", "0.6375972", "0.6371425", "0.63695717", "0.6363573", "0.6316976", "0.6298947" ]
0.7183504
29
Outputs the languages installed on the system.
public List<String> getAvailableLanguages() throws DynamicCallException, ExecutionException { return (List<String>)call("getAvailableLanguages").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void listAllAvailableLanguages() throws IOException {\n System.out.println(\n \"Language preprocessing components for the following languages are available:\\n \"\n + String.join(\", \", LanguageComponents.languages()));\n }", "public static void display(){\r\n String baseName = \"res.Messages\";\r\n ResourceBundle messages = ResourceBundle.getBundle(baseName, Locale.getDefault());\r\n System.out.println(messages.getString(\"locales\"));\r\n\r\n Locale available[] = Locale.getAvailableLocales();\r\n for(Locale locale : available) {\r\n System.out.println(locale.getDisplayCountry() + \"\\t\" + locale.getDisplayLanguage(locale));\r\n }\r\n }", "public Future<List<String>> getAvailableLanguages() throws DynamicCallException, ExecutionException {\n return call(\"getAvailableLanguages\");\n }", "public String getLanguages() {\n return languages;\n }", "public static void main(String[] args) {\n\t\t//openFile(DEFAULT_RESOURCE_PACKAGE + LANGUAGE + \".properties\");\n\t\tfor (String s : ResourceFinder.getPossibleLanguages()) {\n\t\t\tSystem.out.println(s);\n\t\t}\n\t}", "public List<String> getSupportedLanguages() throws DynamicCallException, ExecutionException {\n return (List<String>)call(\"getSupportedLanguages\").get();\n }", "public Future<List<String>> getSupportedLanguages() throws DynamicCallException, ExecutionException {\n return call(\"getSupportedLanguages\");\n }", "public static void main(String[] args) {\n Locale[] available = Locale.getAvailableLocales();\n System.out.println(\"Available Locales\");\n for (int i=0;i < available.length;i++) {\n System.out.print(available[i].toString());\n System.out.print(\" \");\n }\n System.exit(1);\n }", "public void englishlanguage() {\nSystem.out.println(\"englishlanguage\");\n\t}", "public String[] getLanguages()\n {\n return languages;\n }", "public String getAfinnEnglishLibrary(){\n String output = \"\";\n for (String key : afinnEnglishLibrary.keySet())\n {\n String value = afinnEnglishLibrary.get(key).toString();\n output += (\"\\n\" +key+\": \"+value);\n }\n output += (\"\\nWords: \"+ afinnEnglishLibrary.size());\n return output; \n }", "public String[] getLanguages() {\n/* 238 */ return getStringArray(\"language\");\n/* */ }", "@Test\n\tpublic void test() {\n\t\tSystem.out.println(\"Displaying Available Languages\");\n\t\tSystem.out.println(\"------------------------------\");\n\t\tLanguageList.displayAvailableLanguage();\n\t}", "public List<String> getLanguages() {\n return languages;\n }", "public static HashMap<String, String> getLangs() {\r\n\t\t// search for it\r\n\t\tHashMap<String, String> names = new HashMap<String, String>();\r\n\t\tnames.put(\"de\", \"Deutsch (integriert) - German (included)\");\r\n\r\n\t\t// load all files from this dir\r\n\t\tfor (File f : new File(YAamsCore.programPath, \"lang\").listFiles()) {\r\n\t\t\tif (f.isDirectory() && new File(f, \"info.xml\").canRead()) {\r\n\t\t\t\tHashMap<String, String> data = (HashMap<String, String>) FileHelper.loadXML(new File(f, \"info.xml\"));\r\n\t\t\t\tnames.put(f.getName(), data.get(\"title\"));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn names;\r\n\t}", "public void language(String system) {\n String language=\"c语言\";\n this.output.output(system, language);\n //System.out.println(\"C语言编程!\\n\");\n }", "public static void main(String[] args) {\n System.out.print(\"Initialize list of languages ... \");\r\n ArrayList<Language> listLanguages = new ArrayList<>();\r\n listLanguages.add(new Language(\"čestiná\", \"cs\"));\r\n listLanguages.add(new Language(\"français\", \"fr\"));\r\n System.out.println(\"OK\");\r\n // Create shell\r\n Shell shell = new Shell(listLanguages);\r\n shell.run();\r\n }", "public String getLanguageMenuText() {\r\n\t\treturn \"语言\";\r\n\t}", "public String getCurrentLanguage() {\n return getStringData(Key.APP_CURRENT_LANGUAGE + \"\", \"zh\");\n }", "String getLanguage();", "String getLanguage();", "String getLanguage();", "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}", "@GetMapping(\"api/languages\")\n\tpublic List<Language> index(){\n\t\treturn languageService.allLanguages();\n\t}", "public List<Language> getLanguages() {\n return metaDao().queryLanguages();\n }", "public String getLanguage();", "private String getSystemLanguage() {\n String language;\n if (System.getProperty(COUNTRY) == null) {\n language = System.getProperty(LANGUAGE);\n } else {\n language = System.getProperty(LANGUAGE) + \"-\"\n + System.getProperty(COUNTRY).toLowerCase(Locale.ENGLISH);\n }\n return language;\n }", "@GetMapping(\"/languages\")\n public List<Language> getLanguages() {\n return languageFacade.getLanguages();\n }", "public String getLanguage() throws DynamicCallException, ExecutionException {\n return (String)call(\"getLanguage\").get();\n }", "java.lang.String getLanguage();", "java.lang.String getLanguage();", "public String getAfinnFrenchLibrary(){\n String output = \"\";\n for (String key : afinnFrenchLibrary.keySet())\n {\n String value = afinnFrenchLibrary.get(key).toString();\n output += (\"\\n\" +key+\": \"+value);\n }\n output += (\"\\nWords: \"+ afinnFrenchLibrary.size());\n return output; \n }", "@RequestMapping(value = \"\",\n method = RequestMethod.GET)\n @ResponseBody\n public ApiResponse<List<SupportedLanguage>> getAllLanguages() {\n LOG.debug(\"REST request to get all languages\");\n\n final ApiResponse <List <SupportedLanguage>> apiResponse = new ApiResponse <List<SupportedLanguage>>();\n\n List<SupportedLanguage> languageList = null;\n\n try {\n languageList = supportedLanguageService.findAllLanguages();\n apiResponse.setData(languageList);\n LOG.debug(\"Size{}\", languageList.size());\n } catch (Exception e) {\n throw new LucasRuntimeException(LucasRuntimeException.INTERNAL_ERROR, e);\n }\n\n return apiResponse;\n\n }", "@ApiModelProperty(required = true, value = \"Language codes for the schemas available.\")\n @JsonProperty(\"Languages\")\n public List<String> getLanguages() {\n return languages;\n }", "String getLang();", "public static void main(String[] args) {\n\t\tLocale loc = Locale.getDefault();\r\n\t \r\n\t\tSystem.out.println (\"O Idioma do seu sistema ť \" + loc.getDisplayLanguage()); // imprime \"PortuguÍs\"\r\n\t \r\n\t\tSystem.out.println (\"O Idioma do seu sistema abreviado \" + loc.getLanguage()); // imprime \"pt\"\r\n\t }", "public Future<String> getLanguage() throws DynamicCallException, ExecutionException {\n return call(\"getLanguage\");\n }", "public List<String> languageSupport() {\r\n\t\tList<String> twitterResponseList = new ArrayList<String>();\r\n\t\ttry {\r\n\t\t\tProperties properties = getProperties();\r\n\t\t\tString apiUrl = properties.getProperty(\"twitter.api.language.support\");\r\n\r\n\t\t\tHttpResponse apiResponse = executeHttpGet(apiUrl);\r\n\r\n\t\t\tif (200 == apiResponse.getStatusLine().getStatusCode()) {\r\n\t\t\t\tJSONArray jsonArray = new JSONArray(EntityUtils.toString(apiResponse.getEntity()));\r\n\t\t\t\tfor (int i = 0; i < jsonArray.length() && i < 10; i++) {\r\n\t\t\t\t\tJSONObject object = (JSONObject) jsonArray.get(i);\r\n\t\t\t\t\tString displayText = (String) object.get(\"name\");\r\n\t\t\t\t\ttwitterResponseList.add(displayText);\r\n\t\t\t\t}\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 twitterResponseList;\r\n\t}", "public Language[] getLanguageList() {\n return languageList;\n }", "public static void main(String[] args) {\n\t\t\n\t\tfor(Langage lang:Langage.values()){\n\t\t\tif(Langage.JAVA.equals(lang))\n\t\t\t\tSystem.out.println(\"J'aime le: \"+lang);\n\t\t\telse\n\t\t\t\tSystem.out.println(lang);\n\t\t\t\t\n\t\t}\n\n\t}", "private Language askForLanguage() {\r\n // Build a message\r\n String message = \"Which language ? \\n\";\r\n for (int i = 0; i < listLanguages.size(); i++) {\r\n message += \"\\t\" + i + \"\\\\ \" + listLanguages.get(i).getName() + \"\\n\";\r\n }\r\n // Ask for number and get the correct Language\r\n return listLanguages.get(new Integer(askForLine(message)));\r\n }", "public void setLanguages(String languages) {\n this.languages = languages;\n }", "public String[] getLanguage() {\n return mSelf.getLanguage();\n }", "@AutoEscape\n\tpublic String getLanguage();", "@Override\n\tpublic String toString() {\n\t\treturn \"ProgrammingLanguage \" + programmingLanguage + super.toString();\n\t}", "public List<Language> getAllLanguages() {\r\n\r\n\t\tStringBuilder sbHql = new StringBuilder();\r\n\t\tsbHql.append(\"from Language\");\r\n\r\n\t\tQuery query = getSession().createQuery(sbHql.toString());\r\n\r\n\t\tList<Language> languages = query.list();\r\n\r\n\t\treturn languages;\r\n\t}", "public void showAllWords() {//out\n System.out.println(\"No\\t|English\\t|Vietnamese\");\n ArrayList<Word> fullDictionary = dictionaryManagement.getDictionary().getWords();\n for (int i = 0; i < fullDictionary.size(); i++) {\n String aWord = String.valueOf(i + 1) + \"\\t|\" + fullDictionary.get(i).getWordTarget()\n + \"\\t|\" + fullDictionary.get(i).getWordExplain();\n System.out.println(aWord);\n }\n }", "public static void menuEN() {\r\n\t\tSystem.out.println(\"\\n****Welcome****\");\r\n\t\tSystem.out.println(\"\\n1- Play\\n2- Choose Language\\n3- How To Play\\n4- Exit\");\r\n\t\tint num = check();\r\n\t\tswitch (num) {\t\t\t\t\t// izbor opcije\r\n\t\t\tcase 1: crapsEN(); break;\r\n\t\t\tcase 2: chooseLangEN(); break;\r\n\t\t\tcase 3: howToEN(); break;\r\n\t\t\tcase 4: System.exit(0);\r\n\t\t}\r\n\t}", "public List<Language> getDownloadableLanguage() {\n\t\tList<Language> languages = languageManager.getAllAvailable();\n\t\tList<Language> result = new ArrayList<Language>();\n\t\tfor(Language language : languages){\n\t\t\tif(language.getBasePackages() != null &&\n\t\t\t\t\tlanguage.getBasePackages().size() != 0){\n\t\t\t\tresult.add(language);\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "@Override\r\n\t\tpublic String toString() {\r\n\t\t\t\r\n\t\t\tStringBuilder sb = new StringBuilder();\r\n\t\t\t\r\n\t\t\tint langCount = 0;\r\n\t\t\tint kmerCount = 0;\r\n\t\t\tSet<Language> keys = getDb().keySet();\r\n\t\t\tfor (Language lang : keys) {\r\n\t\t\t\tlangCount++;\r\n\t\t\t\tsb.append(lang.name() + \"->\\n\");\r\n\t\t\t\t \r\n\t\t\t\t Collection<LanguageEntry> m = new TreeSet<>(getDb().get(lang).values());\r\n\t\t\t\t kmerCount += m.size();\r\n\t\t\t\t for (LanguageEntry le : m) {\r\n\t\t\t\t\t sb.append(\"\\t\" + le + \"\\n\");\r\n\t\t\t\t }\r\n\t\t\t}\r\n\t\t\tsb.append(kmerCount + \" total k-mers in \" + langCount + \" languages\"); \r\n\t\t\treturn sb.toString();\r\n\t\t\t}", "public LanguageList getLanguageList() {\r\n return languageList;\r\n }", "public String getUserLangage() {\n return sessionData.getUserLanguage();\n }", "public static void readFolder() {\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_en_US.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_af_ZA.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_ar_SA.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_ca_ES.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_cs_CZ.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_da_DK.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_de_DE.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_el_GR.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_es_ES.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_fi_FI.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_fr_FR.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_he_IL.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_hu_HU.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_it_IT.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_ja_JP.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_ko_KR.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_nl_NL.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_no_NO.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_pl_PL.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_pt_BR.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_pt_PT.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_ro_RO.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_ru_RU.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_sr_SP.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_sv_SE.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_tr_TR.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_uk_UA.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_vi_VN.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_zh_CN.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_zh_TW.yml\", true);\n\t }", "public String getLocale () throws java.io.IOException, com.linar.jintegra.AutomationException;", "public void setLanguages(List<String> languages) {\n this.languages = languages;\n }", "CLanguage getClanguage();", "public void updateLanguage() {\n this.title.setText(LanguageStringMap.get().getMap().get(TITLE_KEY));\n this.skinSwitcher.updateLanguage();\n this.langSwitcher.updateLanguage();\n this.pawnSwitcher.updateLanguage();\n this.musicManager.updateLanguage();\n this.back.setText(LanguageStringMap.get().getMap().get(BACK_KEY));\n }", "String[] getLanguageList(InputStream inputStream) throws CaptionConverterException;", "public static String getLanguage() {\n return language;\n }", "private void init() {\n\t\t\n\t\tPropertiesManager propertiesManager = PropertiesManager.getInstance();\n\t\tFile localeDirectory = new File(propertiesManager.getProperty(\"locale.directory\", LOCALE_DIRECTORY));\n\n\t\tlocales = new ArrayList<Locale>();\n\n\t\ttry {\n\t\t\t\n\t\t\tClassUtils.addClassPathFile(localeDirectory);\n\t\t\t\n\t\t\t// Находим все доступные локали\n\t\t\tlocales = findAvailableLocales(localeDirectory);\n\n\t\t} catch(Exception ignore) {}\n\n\t\tfallbackLocale = Locale.ENGLISH;\n\t\tcontrol = new Control();\n\n\t\tif(!locales.contains(Locale.ENGLISH)) {\n\t\t\tlocales.add(0, fallbackLocale);\n\t\t}\n\n\t\tdefaultLocale = locales.get(locales.indexOf(Locale.ENGLISH));\n\t\t\n\t\tString language = propertiesManager.getProperty(\"locale.language\", \"\");\n\t\tString country = propertiesManager.getProperty(\"locale.country\", \"\");\n\t\tString variant = propertiesManager.getProperty(\"locale.variant\", \"\");\n\t\t\n\t\tLocale locale = new Locale(language, country, variant);\n\t\t\n\t\tif(locales.contains(locale)) {\n\t\t\tlocale = locales.get(locales.indexOf(locale));\n\t\t} else {\n\t\t\tlocale = defaultLocale;\n\t\t}\n\n\t\tsetLocale(locale);\n\t\t\n\t\tif(FontEditor.DEBUG) {\n\t\t\t\n\t\t\tfor(Locale l : locales) {\n\t\t\t\tSystem.out.println(\"locale found -> \" + l.getDisplayLanguage(Locale.ENGLISH));\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"Total locale(s) found: \" + locales.size());\n\t\t\tSystem.out.println();\n\t\t}\n//System.out.println(\">>> \" + getValue(\"shitd\"));\n\t}", "public static void main(String[] args){\r\n Language myLang = new Language(\"Willish\", 5, \"Mars\", \"verb-noun-verb-adjective\");\r\n Mayan mayan = new Mayan(\"Ki'che'\", 2330000);\r\n SinoTibetan sino1 = new SinoTibetan(\"Chinese Tibetan\", 100000);\r\n SinoTibetan sino2 = new SinoTibetan(\"Tibetan\", 200000);\r\n ArrayList<Language> langList = new ArrayList<Language>();\r\n langList.add(myLang);\r\n langList.add(mayan);\r\n langList.add(sino1);\r\n langList.add(sino2);\r\n \r\n for (Language allLangs : langList){\r\n allLangs.getInfo();\r\n }\r\n }", "List<Language> getAll();", "public java.lang.String getLanguage() {\n return language;\n }", "public java.lang.String getLanguage() {\n return language;\n }", "public ReactorResult<java.lang.String> getAllOntologies20070510nid3Language_as() {\r\n\t\treturn Base.getAll_as(this.model, this.getResource(), ONTOLOGIES20070510NID3LANGUAGE, java.lang.String.class);\r\n\t}", "java.util.List<com.clarifai.grpc.api.ConceptLanguage> \n getConceptLanguagesList();", "com.google.protobuf.ByteString\n getLanguageBytes();", "@DISPID(-2147413012)\n @PropGet\n java.lang.String language();", "public Set<Locale> getAvailableLocales () {;\n\t\treturn Collections.unmodifiableSet(serviceProvider.getDictionariesManager().getLocaleDictionaries().keySet());\n\t}", "@DISPID(-2147413103)\n @PropGet\n java.lang.String lang();", "@Override\n\tpublic String toString() {\n\t\treturn \"Preferences [\" + \"language=\" + language +\"]\" ;\n\t}", "public List getSupportedLocales() {\n\n return (supportedLocales);\n\n }", "public String getLanguage() {\n return language;\n }", "public String getLanguage() {\n return language;\n }", "public String getLanguage() {\r\n return language;\r\n }", "public String getLanguage() {\n return this.language;\n }", "com.google.protobuf.ByteString\n getLanguageBytes();", "public Shell(ArrayList<Language> listLanguages) {\r\n this.listLanguages = listLanguages;\r\n }", "public String getLang() {\n return lang;\n }", "List<String> getSystemPackages();", "public String getLanguage()\n\t{\n\t\treturn language;\n\t}", "public String getLanguage() {\n return _language;\n }", "public static String getSavedLanguage(Context context) {\r\n\t\treturn getPreferences(context).getString(\"app-language\", null);\r\n\t}", "@Override\n public String returnlanguage() {\n name =\"Java\";\n return name;\n }", "private void updateBundle() {\n\n this.bundle = ResourceBundle.getBundle(\"languages\", this.locales.get(this.currentLocaleIndex));\n }", "com.google.protobuf.ByteString\n getLanguageBytes();", "@objid (\"8b3ba8b8-4d09-4d8e-9064-983191cc6b26\")\n @Override\n public String getLanguage() {\n String language = Platform.getNL();\n if (language.contains(\"_\")) {\n return Platform.getNL().substring(0, language.lastIndexOf(\"_\"));\n }\n return Platform.getNL();\n }", "private void ausgebenSystem() {\n\t\ttry {\n\t\t\tSystem.out.println(\"Rechner: \" + InetAddress.getLocalHost().getHostName());\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tSystem.out.println();\n\t\tString txt = System.getProperties().toString();\n\t\twhile (txt.indexOf(\",\") > 0) {\n\t\t\tSystem.out.println(txt.substring(0, txt.indexOf(\",\") + 1));\n\t\t\ttxt = txt.substring(txt.indexOf(\",\") + 2);\n\n\t\t}\n\t\tSystem.out.println(txt);\n\t}", "com.clarifai.grpc.api.ConceptLanguage getConceptLanguages(int index);", "public List<Locale> getTranslationLocales(String edition);", "public void setOutputLanguage(String outputLanguage) {\n this.outputLanguage = outputLanguage;\n }", "public static String[] getAvailableLocaleStrings() {\n\t\tLocale[] availableLocales = getAvailableLocales();\n\t\tString[] result = new String[availableLocales.length];\n\t\tfor (int i = 0; i < availableLocales.length; i++) {\n\t\t\tresult[i] = availableLocales[i].toString();\n\t\t}\n\t\treturn result;\n\t}", "public String getLanguage() {\n\t\treturn this.language;\n\t}", "public static Locale systemSettingLanguage() {\n\t\t// define return result\n\t\tLocale _ret = Locale.ENGLISH;\n\n\t\t// get default locale\n\t\tLocale _defaultLocale = Locale.getDefault();\n\n\t\t// check language and country\n\t\tif (Locale.CHINESE.toString().equalsIgnoreCase(\n\t\t\t\t_defaultLocale.getLanguage())) {\n\t\t\tif (\"CN\".equalsIgnoreCase(_defaultLocale.getCountry())) {\n\t\t\t\t_ret = Locale.SIMPLIFIED_CHINESE;\n\t\t\t} else {\n\t\t\t\t_ret = Locale.TRADITIONAL_CHINESE;\n\t\t\t}\n\t\t}\n\n\t\treturn _ret;\n\t}", "public static ULocale[] getAvailableLocales() {\n/* 212 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public ArrayList<Language> listLanguages(){\n\t\t\t\n\t\t\tconnectToDatabase();\n\t\t\tArrayList<Language> languageArray = new ArrayList<Language>();\n\t\t\ttry {\n\t\t\t\tStatement create = connection.createStatement();\n\t\t\t\tResultSet result = create.executeQuery(\"Select languages.ID as id, languages.Name AS language FROM languages;\");\n\n\t\t\t\twhile(result.next()){\n\t\t\t\t\t\n\t\t\t\t\tLanguage newLanguage = new Language(result.getInt(\"id\"), result.getString(\"language\"));\n\t\t\t\t\tlanguageArray.add(newLanguage);\n\t\t\t\t}\n\t\t\t\treturn languageArray;\n\t\t\t} catch (SQLException e) {\n\t\t\t\tSystem.out.println(\"An error occurred when retrieving languages from the database.\");\n\t\t\t\te.printStackTrace();\n\t\t\t\treturn languageArray;\n\t\t\t}\n\t\t\t\n\t\t}", "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}", "int getConceptLanguagesCount();", "Set<Locale> getManagedLocales();", "public void displayEnglish(){\r\n\t\t\r\n\t\tctx.get\r\n\t\t\r\n\t\twhile (true) {\r\n\r\n\t\t\t\r\n\t\t\tSystem.out.println();\r\n\t\t\tSystem.out.println(\"**********************************\"); \r\n\t\t\tSystem.out.println(title);\t\t\t\t \r\n\t\t\tSystem.out.println(\"***********************************\");\r\n\t\t\tSystem.out.println(service1); \r\n\t\t\tSystem.out.println(service2);\t\t\r\n\t\t\tSystem.out.println(service3); \r\n\r\n\t\t\tSystem.out.print(\"\\n Enter the choice : \"); \r\n\r\n\t\t\t// accepting the choice\r\n\t\t\tString choice = acceptString();\r\n\t\t\tint option = 0;\r\n\t\t\ttry {\r\n\t\t\t\t// parsing the accepted option into integer\r\n\t\t\t\toption = Integer.parseInt(choice);\r\n\t\t\t\t// choosing the right module\r\n\t\t\t\tswitch (option) {\r\n\t\t\t\tcase 1:\r\n\t\t\t\t\tdonateAmount();\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 2:\r\n\t\t\t\t\tviewDonatedDetails();\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 3:\r\n\t\t\t\t\tSystem.out.println(\"Exiting the application!!!\");\r\n\t\t\t\t\tSystem.exit(0);\r\n\t\t\t\tdefault:\r\n\t\t\t\t\tSystem.out.println(\"Please enter a Valid input i.e 1/2/3\");\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t} catch (Exception exception) {\r\n\t\t\t\tSystem.out\r\n\t\t\t\t\t\t.println(\"\\n\\nThis is an error message from Starter Class - \\nDetails of exception : \"\r\n\t\t\t\t\t\t\t\t+ exception);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t}" ]
[ "0.7338095", "0.65004736", "0.6415805", "0.62764126", "0.6151226", "0.60640126", "0.60519016", "0.6041265", "0.603224", "0.5943683", "0.5921234", "0.59016836", "0.5891259", "0.58873606", "0.57510144", "0.5684077", "0.56762916", "0.5673222", "0.56569403", "0.5644943", "0.5644943", "0.5644943", "0.56399167", "0.56086093", "0.5581222", "0.55778986", "0.5522792", "0.55203784", "0.5504754", "0.5504229", "0.5504229", "0.54486424", "0.54379123", "0.5435654", "0.54260075", "0.5420654", "0.5394812", "0.5383088", "0.5361546", "0.53507423", "0.53416425", "0.53412807", "0.5337155", "0.5320071", "0.5269475", "0.5266085", "0.52388346", "0.5235919", "0.5221934", "0.5210114", "0.5181384", "0.51762205", "0.51754785", "0.51743704", "0.5164831", "0.51643044", "0.51414144", "0.5084455", "0.5070964", "0.50518394", "0.50513905", "0.50489503", "0.50427413", "0.50427413", "0.5040839", "0.50282216", "0.50082755", "0.5003233", "0.500042", "0.4996558", "0.49938437", "0.49936745", "0.4982105", "0.4982105", "0.49812233", "0.49809265", "0.49800125", "0.497218", "0.49719578", "0.49717814", "0.4967222", "0.49647194", "0.49580246", "0.4955048", "0.49534842", "0.4948046", "0.49468857", "0.49459967", "0.49435413", "0.49412274", "0.49386498", "0.49363697", "0.49218056", "0.49202096", "0.49164397", "0.4906588", "0.49048412", "0.4900402", "0.48990747", "0.48941278" ]
0.6406717
3
Outputs all the languages supported (may be installed or not).
public List<String> getSupportedLanguages() throws DynamicCallException, ExecutionException { return (List<String>)call("getSupportedLanguages").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void listAllAvailableLanguages() throws IOException {\n System.out.println(\n \"Language preprocessing components for the following languages are available:\\n \"\n + String.join(\", \", LanguageComponents.languages()));\n }", "public Future<List<String>> getAvailableLanguages() throws DynamicCallException, ExecutionException {\n return call(\"getAvailableLanguages\");\n }", "public Future<List<String>> getSupportedLanguages() throws DynamicCallException, ExecutionException {\n return call(\"getSupportedLanguages\");\n }", "public List<String> getAvailableLanguages() throws DynamicCallException, ExecutionException {\n return (List<String>)call(\"getAvailableLanguages\").get();\n }", "public static void main(String[] args) {\n\t\t//openFile(DEFAULT_RESOURCE_PACKAGE + LANGUAGE + \".properties\");\n\t\tfor (String s : ResourceFinder.getPossibleLanguages()) {\n\t\t\tSystem.out.println(s);\n\t\t}\n\t}", "public static void display(){\r\n String baseName = \"res.Messages\";\r\n ResourceBundle messages = ResourceBundle.getBundle(baseName, Locale.getDefault());\r\n System.out.println(messages.getString(\"locales\"));\r\n\r\n Locale available[] = Locale.getAvailableLocales();\r\n for(Locale locale : available) {\r\n System.out.println(locale.getDisplayCountry() + \"\\t\" + locale.getDisplayLanguage(locale));\r\n }\r\n }", "public String getLanguages() {\n return languages;\n }", "@Test\n\tpublic void test() {\n\t\tSystem.out.println(\"Displaying Available Languages\");\n\t\tSystem.out.println(\"------------------------------\");\n\t\tLanguageList.displayAvailableLanguage();\n\t}", "public String[] getLanguages() {\n/* 238 */ return getStringArray(\"language\");\n/* */ }", "public void englishlanguage() {\nSystem.out.println(\"englishlanguage\");\n\t}", "@RequestMapping(value = \"\",\n method = RequestMethod.GET)\n @ResponseBody\n public ApiResponse<List<SupportedLanguage>> getAllLanguages() {\n LOG.debug(\"REST request to get all languages\");\n\n final ApiResponse <List <SupportedLanguage>> apiResponse = new ApiResponse <List<SupportedLanguage>>();\n\n List<SupportedLanguage> languageList = null;\n\n try {\n languageList = supportedLanguageService.findAllLanguages();\n apiResponse.setData(languageList);\n LOG.debug(\"Size{}\", languageList.size());\n } catch (Exception e) {\n throw new LucasRuntimeException(LucasRuntimeException.INTERNAL_ERROR, e);\n }\n\n return apiResponse;\n\n }", "public String[] getLanguages()\n {\n return languages;\n }", "public List<String> languageSupport() {\r\n\t\tList<String> twitterResponseList = new ArrayList<String>();\r\n\t\ttry {\r\n\t\t\tProperties properties = getProperties();\r\n\t\t\tString apiUrl = properties.getProperty(\"twitter.api.language.support\");\r\n\r\n\t\t\tHttpResponse apiResponse = executeHttpGet(apiUrl);\r\n\r\n\t\t\tif (200 == apiResponse.getStatusLine().getStatusCode()) {\r\n\t\t\t\tJSONArray jsonArray = new JSONArray(EntityUtils.toString(apiResponse.getEntity()));\r\n\t\t\t\tfor (int i = 0; i < jsonArray.length() && i < 10; i++) {\r\n\t\t\t\t\tJSONObject object = (JSONObject) jsonArray.get(i);\r\n\t\t\t\t\tString displayText = (String) object.get(\"name\");\r\n\t\t\t\t\ttwitterResponseList.add(displayText);\r\n\t\t\t\t}\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 twitterResponseList;\r\n\t}", "public List<String> getLanguages() {\n return languages;\n }", "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}", "public static void main(String[] args) {\n Locale[] available = Locale.getAvailableLocales();\n System.out.println(\"Available Locales\");\n for (int i=0;i < available.length;i++) {\n System.out.print(available[i].toString());\n System.out.print(\" \");\n }\n System.exit(1);\n }", "@GetMapping(\"api/languages\")\n\tpublic List<Language> index(){\n\t\treturn languageService.allLanguages();\n\t}", "String getLanguage();", "String getLanguage();", "String getLanguage();", "@GetMapping(\"/languages\")\n public List<Language> getLanguages() {\n return languageFacade.getLanguages();\n }", "public String getLanguage();", "public static HashMap<String, String> getLangs() {\r\n\t\t// search for it\r\n\t\tHashMap<String, String> names = new HashMap<String, String>();\r\n\t\tnames.put(\"de\", \"Deutsch (integriert) - German (included)\");\r\n\r\n\t\t// load all files from this dir\r\n\t\tfor (File f : new File(YAamsCore.programPath, \"lang\").listFiles()) {\r\n\t\t\tif (f.isDirectory() && new File(f, \"info.xml\").canRead()) {\r\n\t\t\t\tHashMap<String, String> data = (HashMap<String, String>) FileHelper.loadXML(new File(f, \"info.xml\"));\r\n\t\t\t\tnames.put(f.getName(), data.get(\"title\"));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn names;\r\n\t}", "public List<Language> getLanguages() {\n return metaDao().queryLanguages();\n }", "java.lang.String getLanguage();", "java.lang.String getLanguage();", "public String getAfinnEnglishLibrary(){\n String output = \"\";\n for (String key : afinnEnglishLibrary.keySet())\n {\n String value = afinnEnglishLibrary.get(key).toString();\n output += (\"\\n\" +key+\": \"+value);\n }\n output += (\"\\nWords: \"+ afinnEnglishLibrary.size());\n return output; \n }", "public void setLanguages(String languages) {\n this.languages = languages;\n }", "public List<Language> getAllLanguages() {\r\n\r\n\t\tStringBuilder sbHql = new StringBuilder();\r\n\t\tsbHql.append(\"from Language\");\r\n\r\n\t\tQuery query = getSession().createQuery(sbHql.toString());\r\n\r\n\t\tList<Language> languages = query.list();\r\n\r\n\t\treturn languages;\r\n\t}", "List<Language> getAll();", "public void setLanguages(List<String> languages) {\n this.languages = languages;\n }", "public void showAllWords() {//out\n System.out.println(\"No\\t|English\\t|Vietnamese\");\n ArrayList<Word> fullDictionary = dictionaryManagement.getDictionary().getWords();\n for (int i = 0; i < fullDictionary.size(); i++) {\n String aWord = String.valueOf(i + 1) + \"\\t|\" + fullDictionary.get(i).getWordTarget()\n + \"\\t|\" + fullDictionary.get(i).getWordExplain();\n System.out.println(aWord);\n }\n }", "public static void main(String[] args) {\n\t\t\n\t\tfor(Langage lang:Langage.values()){\n\t\t\tif(Langage.JAVA.equals(lang))\n\t\t\t\tSystem.out.println(\"J'aime le: \"+lang);\n\t\t\telse\n\t\t\t\tSystem.out.println(lang);\n\t\t\t\t\n\t\t}\n\n\t}", "@ApiModelProperty(required = true, value = \"Language codes for the schemas available.\")\n @JsonProperty(\"Languages\")\n public List<String> getLanguages() {\n return languages;\n }", "public String getLanguageMenuText() {\r\n\t\treturn \"语言\";\r\n\t}", "public Language[] getLanguageList() {\n return languageList;\n }", "public static void main(String[] args) {\n System.out.print(\"Initialize list of languages ... \");\r\n ArrayList<Language> listLanguages = new ArrayList<>();\r\n listLanguages.add(new Language(\"čestiná\", \"cs\"));\r\n listLanguages.add(new Language(\"français\", \"fr\"));\r\n System.out.println(\"OK\");\r\n // Create shell\r\n Shell shell = new Shell(listLanguages);\r\n shell.run();\r\n }", "boolean hasLanguage();", "@AutoEscape\n\tpublic String getLanguage();", "java.util.List<com.clarifai.grpc.api.ConceptLanguage> \n getConceptLanguagesList();", "@Override\n\tpublic String toString() {\n\t\treturn \"ProgrammingLanguage \" + programmingLanguage + super.toString();\n\t}", "public List getSupportedLocales() {\n\n return (supportedLocales);\n\n }", "String getLang();", "public static void main(String[] args){\r\n Language myLang = new Language(\"Willish\", 5, \"Mars\", \"verb-noun-verb-adjective\");\r\n Mayan mayan = new Mayan(\"Ki'che'\", 2330000);\r\n SinoTibetan sino1 = new SinoTibetan(\"Chinese Tibetan\", 100000);\r\n SinoTibetan sino2 = new SinoTibetan(\"Tibetan\", 200000);\r\n ArrayList<Language> langList = new ArrayList<Language>();\r\n langList.add(myLang);\r\n langList.add(mayan);\r\n langList.add(sino1);\r\n langList.add(sino2);\r\n \r\n for (Language allLangs : langList){\r\n allLangs.getInfo();\r\n }\r\n }", "String[] getLanguageList(InputStream inputStream) throws CaptionConverterException;", "public static void menuEN() {\r\n\t\tSystem.out.println(\"\\n****Welcome****\");\r\n\t\tSystem.out.println(\"\\n1- Play\\n2- Choose Language\\n3- How To Play\\n4- Exit\");\r\n\t\tint num = check();\r\n\t\tswitch (num) {\t\t\t\t\t// izbor opcije\r\n\t\t\tcase 1: crapsEN(); break;\r\n\t\t\tcase 2: chooseLangEN(); break;\r\n\t\t\tcase 3: howToEN(); break;\r\n\t\t\tcase 4: System.exit(0);\r\n\t\t}\r\n\t}", "public void language(String system) {\n String language=\"c语言\";\n this.output.output(system, language);\n //System.out.println(\"C语言编程!\\n\");\n }", "public String[] getLanguage() {\n return mSelf.getLanguage();\n }", "private Language askForLanguage() {\r\n // Build a message\r\n String message = \"Which language ? \\n\";\r\n for (int i = 0; i < listLanguages.size(); i++) {\r\n message += \"\\t\" + i + \"\\\\ \" + listLanguages.get(i).getName() + \"\\n\";\r\n }\r\n // Ask for number and get the correct Language\r\n return listLanguages.get(new Integer(askForLine(message)));\r\n }", "com.clarifai.grpc.api.ConceptLanguage getConceptLanguages(int index);", "public Future<String> getLanguage() throws DynamicCallException, ExecutionException {\n return call(\"getLanguage\");\n }", "public static void main(String[] args) {\n\t\tLocale loc = Locale.getDefault();\r\n\t \r\n\t\tSystem.out.println (\"O Idioma do seu sistema ť \" + loc.getDisplayLanguage()); // imprime \"PortuguÍs\"\r\n\t \r\n\t\tSystem.out.println (\"O Idioma do seu sistema abreviado \" + loc.getLanguage()); // imprime \"pt\"\r\n\t }", "public List<Language> getDownloadableLanguage() {\n\t\tList<Language> languages = languageManager.getAllAvailable();\n\t\tList<Language> result = new ArrayList<Language>();\n\t\tfor(Language language : languages){\n\t\t\tif(language.getBasePackages() != null &&\n\t\t\t\t\tlanguage.getBasePackages().size() != 0){\n\t\t\t\tresult.add(language);\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "public LanguageList getLanguageList() {\r\n return languageList;\r\n }", "public String getLanguage() throws DynamicCallException, ExecutionException {\n return (String)call(\"getLanguage\").get();\n }", "@DISPID(-2147413012)\n @PropGet\n java.lang.String language();", "public String getCurrentLanguage() {\n return getStringData(Key.APP_CURRENT_LANGUAGE + \"\", \"zh\");\n }", "@Override\r\n\t\tpublic String toString() {\r\n\t\t\t\r\n\t\t\tStringBuilder sb = new StringBuilder();\r\n\t\t\t\r\n\t\t\tint langCount = 0;\r\n\t\t\tint kmerCount = 0;\r\n\t\t\tSet<Language> keys = getDb().keySet();\r\n\t\t\tfor (Language lang : keys) {\r\n\t\t\t\tlangCount++;\r\n\t\t\t\tsb.append(lang.name() + \"->\\n\");\r\n\t\t\t\t \r\n\t\t\t\t Collection<LanguageEntry> m = new TreeSet<>(getDb().get(lang).values());\r\n\t\t\t\t kmerCount += m.size();\r\n\t\t\t\t for (LanguageEntry le : m) {\r\n\t\t\t\t\t sb.append(\"\\t\" + le + \"\\n\");\r\n\t\t\t\t }\r\n\t\t\t}\r\n\t\t\tsb.append(kmerCount + \" total k-mers in \" + langCount + \" languages\"); \r\n\t\t\treturn sb.toString();\r\n\t\t\t}", "public static List<String> getLanguages() {\n\t\treturn Stream.of(values()).map(v -> v.getLanguage()).sorted((lang1, lang2) -> lang1.toLowerCase().compareTo(lang2.toLowerCase()))\n\t\t\t\t.collect(Collectors.toList());\n\t}", "private JSONObject languageMenu(JSONObject base) {\n JSONObject lang = base.getJSONObject(\"language\");\n try {\n } catch (Exception e) {\n e.printStackTrace();\n }\n while (true) {\n String input = \"\";\n try {\n visual.renderSettings(lang, \"Language Settings\");\n visual.renderMessage(\"Write the option to change: \");\n input = visual.getInput();\n } catch (Exception e) {\n e.printStackTrace();\n }\n LanguageHandler langhan = LanguageHandler.getInstance();\n JSONObject opt = null;\n LanguageInfo info = null;\n switch (input) {\n case (\"name\"):\n opt = new JSONObject();\n opt.put(\"value\", lang.getString(\"name\"));\n opt.put(\"options\", new JSONArray(langhan.getLanguages()));\n try {\n visual.renderSettings(opt, \"Language\");\n String in = visual.getInput();\n if (langhan.getLanguages().contains(in)) {\n lang.put(\"name\", in);\n info = langhan.getLanguageInfo(in);\n lang.put(\"size\", info.getDimensions().get(0));\n lang.put(\"dictionary\", info.getDictionaries().get(0));\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n break;\n case (\"size\"):\n opt = new JSONObject();\n info = langhan.getLanguageInfo(lang.getString(\"name\"));\n opt.put(\"value\", lang.getString(\"size\"));\n opt.put(\"options\", new JSONArray(info.getDimensions()));\n try {\n visual.renderSettings(opt, \"Size\");\n String in = visual.getInput();\n if (info.getDimensions().contains(in)) {\n lang.put(\"size\", in);\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n break;\n case (\"dictionary\"):\n opt = new JSONObject();\n info = langhan.getLanguageInfo(lang.getString(\"name\"));\n opt.put(\"value\", lang.getString(\"dictionary\"));\n opt.put(\"options\", new JSONArray(info.getDictionaries()));\n try {\n visual.renderSettings(opt, \"Dictionary\");\n String in = visual.getInput();\n if (info.getDictionaries().contains(in)) {\n lang.put(\"dictionary\", in);\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n break;\n case (\"back\"):\n return lang;\n }\n }\n }", "public ReactorResult<java.lang.String> getAllOntologies20070510nid3Language_as() {\r\n\t\treturn Base.getAll_as(this.model, this.getResource(), ONTOLOGIES20070510NID3LANGUAGE, java.lang.String.class);\r\n\t}", "public String getAfinnFrenchLibrary(){\n String output = \"\";\n for (String key : afinnFrenchLibrary.keySet())\n {\n String value = afinnFrenchLibrary.get(key).toString();\n output += (\"\\n\" +key+\": \"+value);\n }\n output += (\"\\nWords: \"+ afinnFrenchLibrary.size());\n return output; \n }", "private void showLanguageSelectionMenu(Layer layer) {\n if (layer.isMapsForge()) {\n if (layer.getLanguages() != null)\n if (layer.getLanguages().length > 1) {\n final Menu lsm = new Menu(\"MapViewLayerSelectLanguageTitle\");\n for (String lang : layer.getLanguages()) {\n lsm.addMenuItem(\"\", lang, null, (v, x, y, pointer, button) -> {\n lsm.close();\n String selectedLanguage = ((MenuItem) v).getTitle();\n Settings.preferredMapLanguage.setValue(selectedLanguage);\n Settings.getInstance().acceptChanges();\n return true;\n });\n }\n lsm.show();\n // hasLanguage = true;\n }\n }\n }", "public List<Locale> getTranslationLocales(String edition);", "@DISPID(-2147413103)\n @PropGet\n java.lang.String lang();", "com.google.protobuf.ByteString\n getLanguageBytes();", "com.google.protobuf.ByteString\n getLanguageBytes();", "@Override\n public String returnlanguage() {\n name =\"Java\";\n return name;\n }", "public static void main(String[] args){\n\tint numLanguages = in.nextInt();\n\t\n\t//map every language to its vocabulary\n\tfor(int i = 0; i < numLanguages; i++){\n\t String[] words = in.nextLine().split(\" \");\n\t String language = words[0];\n\t for(String s: words){\n\t\tlanguages.put(s.toLowerCase(), language);\n\t }\n\t}\n\n\t//get rid of blank line\n\tin.nextLine();\n\t\n\t//for each sentence, print out the language associated with it\n\twhile(in.hasNextLine()){\n\t String[] sentence = in.nextLine().split(\" \");\n\t for(String s: sentence){\n\t\tString language = null;\n\t\tif((language = languages.get(s.toLowerCase())) != null){\n\t\t System.out.println(language);\n\t\t break;\n\t\t}\n\t\t\n\t }\n\t}\n\n }", "public void displayEnglish(){\r\n\t\t\r\n\t\tctx.get\r\n\t\t\r\n\t\twhile (true) {\r\n\r\n\t\t\t\r\n\t\t\tSystem.out.println();\r\n\t\t\tSystem.out.println(\"**********************************\"); \r\n\t\t\tSystem.out.println(title);\t\t\t\t \r\n\t\t\tSystem.out.println(\"***********************************\");\r\n\t\t\tSystem.out.println(service1); \r\n\t\t\tSystem.out.println(service2);\t\t\r\n\t\t\tSystem.out.println(service3); \r\n\r\n\t\t\tSystem.out.print(\"\\n Enter the choice : \"); \r\n\r\n\t\t\t// accepting the choice\r\n\t\t\tString choice = acceptString();\r\n\t\t\tint option = 0;\r\n\t\t\ttry {\r\n\t\t\t\t// parsing the accepted option into integer\r\n\t\t\t\toption = Integer.parseInt(choice);\r\n\t\t\t\t// choosing the right module\r\n\t\t\t\tswitch (option) {\r\n\t\t\t\tcase 1:\r\n\t\t\t\t\tdonateAmount();\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 2:\r\n\t\t\t\t\tviewDonatedDetails();\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 3:\r\n\t\t\t\t\tSystem.out.println(\"Exiting the application!!!\");\r\n\t\t\t\t\tSystem.exit(0);\r\n\t\t\t\tdefault:\r\n\t\t\t\t\tSystem.out.println(\"Please enter a Valid input i.e 1/2/3\");\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t} catch (Exception exception) {\r\n\t\t\t\tSystem.out\r\n\t\t\t\t\t\t.println(\"\\n\\nThis is an error message from Starter Class - \\nDetails of exception : \"\r\n\t\t\t\t\t\t\t\t+ exception);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t}", "com.google.protobuf.ByteString\n getLanguageBytes();", "public String getLocale () throws java.io.IOException, com.linar.jintegra.AutomationException;", "@Test(priority=6)\n\tpublic void verifyRemaininglanguagedisplaysOnclickingLanguageDropdown() throws Exception {\n\t\tOverviewTradusPROPage overviewObj=new OverviewTradusPROPage(driver);\n\t\texplicitWaitFortheElementTobeVisible(driver,overviewObj.overviewPageVerificationElement);\n\t\tclick(overviewObj.languageAtHeader);\n\t\tString[] expectedLangOptions= {\"Deutsch\",\"English\",\"Español\",\"Français\",\"Italiano\",\"Nederlands\",\"Polski\",\"Português\",\"Română\",\"Русский\"};\n\t\tList<WebElement> availableLangOptions=overviewObj.languageDropdownOptionsList;\n\t\tfor(int i=0;i<expectedLangOptions.length;i++) {\n\t\t\tAssert.assertTrue(expectedLangOptions[i].equals(availableLangOptions.get(i).getText().trim()),\n\t\t\t\t\texpectedLangOptions[i]+\" is not present in lang dropdown\");\n\t\t}\n\t}", "int getConceptLanguagesCount();", "public static void readFolder() {\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_en_US.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_af_ZA.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_ar_SA.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_ca_ES.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_cs_CZ.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_da_DK.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_de_DE.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_el_GR.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_es_ES.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_fi_FI.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_fr_FR.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_he_IL.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_hu_HU.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_it_IT.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_ja_JP.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_ko_KR.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_nl_NL.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_no_NO.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_pl_PL.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_pt_BR.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_pt_PT.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_ro_RO.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_ru_RU.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_sr_SP.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_sv_SE.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_tr_TR.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_uk_UA.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_vi_VN.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_zh_CN.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_zh_TW.yml\", true);\n\t }", "public static ULocale[] getAvailableLocales() {\n/* 212 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public static String[] getAvailableLocaleStrings() {\n\t\tLocale[] availableLocales = getAvailableLocales();\n\t\tString[] result = new String[availableLocales.length];\n\t\tfor (int i = 0; i < availableLocales.length; i++) {\n\t\t\tresult[i] = availableLocales[i].toString();\n\t\t}\n\t\treturn result;\n\t}", "public Set<Locale> getAvailableLocales () {;\n\t\treturn Collections.unmodifiableSet(serviceProvider.getDictionariesManager().getLocaleDictionaries().keySet());\n\t}", "public List<Locale> getSupportedLocales() {\n return this.supportedLocales;\n }", "public String getDisplayLanguage() {\n/* 501 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "List<Locale> getSupportedLocales() {\n return Collections.unmodifiableList(mSupportedLocales);\n }", "public boolean allElementsInEng() {\n if (!allMenuCommandsInLang(\"Eng\")) return false;\n return true;\n }", "public String getLanguage() {\r\n return language;\r\n }", "public String getLanguage() {\n return language;\n }", "public String getLanguage() {\n return language;\n }", "@objid (\"8b3ba8b8-4d09-4d8e-9064-983191cc6b26\")\n @Override\n public String getLanguage() {\n String language = Platform.getNL();\n if (language.contains(\"_\")) {\n return Platform.getNL().substring(0, language.lastIndexOf(\"_\"));\n }\n return Platform.getNL();\n }", "CLanguage getClanguage();", "public ArrayList<Language> listLanguages(){\n\t\t\t\n\t\t\tconnectToDatabase();\n\t\t\tArrayList<Language> languageArray = new ArrayList<Language>();\n\t\t\ttry {\n\t\t\t\tStatement create = connection.createStatement();\n\t\t\t\tResultSet result = create.executeQuery(\"Select languages.ID as id, languages.Name AS language FROM languages;\");\n\n\t\t\t\twhile(result.next()){\n\t\t\t\t\t\n\t\t\t\t\tLanguage newLanguage = new Language(result.getInt(\"id\"), result.getString(\"language\"));\n\t\t\t\t\tlanguageArray.add(newLanguage);\n\t\t\t\t}\n\t\t\t\treturn languageArray;\n\t\t\t} catch (SQLException e) {\n\t\t\t\tSystem.out.println(\"An error occurred when retrieving languages from the database.\");\n\t\t\t\te.printStackTrace();\n\t\t\t\treturn languageArray;\n\t\t\t}\n\t\t\t\n\t\t}", "@PermitAll\n @Override\n public List<Language> getLanguages(String lang) {\n Map params = new HashMap<String, Object>();\n if (lang != null) {\n params.put(CommonSqlProvider.PARAM_LANGUAGE_CODE, lang);\n }\n params.put(CommonSqlProvider.PARAM_ORDER_BY_PART, \"item_order\");\n return getRepository().getEntityList(Language.class, params);\n }", "public java.lang.String getLanguage() {\n return language;\n }", "public java.lang.String getLanguage() {\n return language;\n }", "public String getLanguage() {\n return _language;\n }", "public static String[] getISOLanguages() {\n/* 229 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public String getLanguage() {\n return this.language;\n }", "private String getSystemLanguage() {\n String language;\n if (System.getProperty(COUNTRY) == null) {\n language = System.getProperty(LANGUAGE);\n } else {\n language = System.getProperty(LANGUAGE) + \"-\"\n + System.getProperty(COUNTRY).toLowerCase(Locale.ENGLISH);\n }\n return language;\n }", "public String printPlatform() {\n String str = new String();\n for (int i = 0; i < platform.size() - 1; i++) {\n str += platform.get(i) + \", \";\n }\n str+= platform.get(platform.size() - 1);\n return str;\n }", "public static String getLanguage() {\n return language;\n }", "public static final ULocale[] getAvailableULocales()\n/* */ {\n/* 440 */ return getAvailableULocales(\"com/ibm/icu/impl/data/icudt48b\", ICU_DATA_CLASS_LOADER);\n/* */ }", "private void init() {\n\t\t\n\t\tPropertiesManager propertiesManager = PropertiesManager.getInstance();\n\t\tFile localeDirectory = new File(propertiesManager.getProperty(\"locale.directory\", LOCALE_DIRECTORY));\n\n\t\tlocales = new ArrayList<Locale>();\n\n\t\ttry {\n\t\t\t\n\t\t\tClassUtils.addClassPathFile(localeDirectory);\n\t\t\t\n\t\t\t// Находим все доступные локали\n\t\t\tlocales = findAvailableLocales(localeDirectory);\n\n\t\t} catch(Exception ignore) {}\n\n\t\tfallbackLocale = Locale.ENGLISH;\n\t\tcontrol = new Control();\n\n\t\tif(!locales.contains(Locale.ENGLISH)) {\n\t\t\tlocales.add(0, fallbackLocale);\n\t\t}\n\n\t\tdefaultLocale = locales.get(locales.indexOf(Locale.ENGLISH));\n\t\t\n\t\tString language = propertiesManager.getProperty(\"locale.language\", \"\");\n\t\tString country = propertiesManager.getProperty(\"locale.country\", \"\");\n\t\tString variant = propertiesManager.getProperty(\"locale.variant\", \"\");\n\t\t\n\t\tLocale locale = new Locale(language, country, variant);\n\t\t\n\t\tif(locales.contains(locale)) {\n\t\t\tlocale = locales.get(locales.indexOf(locale));\n\t\t} else {\n\t\t\tlocale = defaultLocale;\n\t\t}\n\n\t\tsetLocale(locale);\n\t\t\n\t\tif(FontEditor.DEBUG) {\n\t\t\t\n\t\t\tfor(Locale l : locales) {\n\t\t\t\tSystem.out.println(\"locale found -> \" + l.getDisplayLanguage(Locale.ENGLISH));\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"Total locale(s) found: \" + locales.size());\n\t\t\tSystem.out.println();\n\t\t}\n//System.out.println(\">>> \" + getValue(\"shitd\"));\n\t}", "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}" ]
[ "0.8245451", "0.688995", "0.6863411", "0.6810753", "0.66088945", "0.6491758", "0.64848334", "0.64671636", "0.6382123", "0.6277347", "0.62463677", "0.6217344", "0.61330396", "0.6102834", "0.608755", "0.60575956", "0.60537523", "0.5948955", "0.5948955", "0.5948955", "0.5928743", "0.58873135", "0.5873395", "0.58572257", "0.5855347", "0.5855347", "0.58307254", "0.5827662", "0.5768919", "0.5765738", "0.57575566", "0.57562166", "0.57421607", "0.56865907", "0.56832993", "0.5682959", "0.5666435", "0.5645481", "0.5639303", "0.5637498", "0.56333643", "0.56071675", "0.56057906", "0.55939126", "0.5585286", "0.55596864", "0.5554681", "0.55470467", "0.5539361", "0.55230206", "0.55082864", "0.5484906", "0.5479743", "0.5447434", "0.54442364", "0.5391665", "0.53904766", "0.53788805", "0.5356419", "0.53490996", "0.5327851", "0.532429", "0.53081495", "0.5298658", "0.5282387", "0.52767044", "0.52673197", "0.5262434", "0.5258392", "0.52520144", "0.5244002", "0.52333915", "0.52331847", "0.5231707", "0.52216053", "0.5214121", "0.520634", "0.5204286", "0.5202992", "0.52003527", "0.5199692", "0.51903766", "0.51779336", "0.5172051", "0.5172051", "0.51714367", "0.51552284", "0.51415646", "0.51360965", "0.5134794", "0.5134794", "0.51342297", "0.51285666", "0.5127406", "0.51260066", "0.51259124", "0.5123078", "0.51170325", "0.5114137", "0.5110339" ]
0.6793977
4
Changes the parameters of the voice. For now, it is only possible to reset the voice speed.
public void resetSpeed() throws DynamicCallException, ExecutionException{ call("resetSpeed").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setSpeed(RobotSpeedValue newSpeed);", "private void configureVoice(Voice voice) {\n voice.setPitch(configurator.getPitch());\n voice.setVolume(configurator.getVolume());\n voice.setRate(configurator.getRate());\n }", "void setPlaybackSpeed(float speed);", "public void setCurrentSpeed (double speed);", "public void changeSpeed(int speed);", "private void setSpeed() {\n double cVel = cAccel*0.1;\n speed += round(mpsToMph(cVel), 2);\n speedOutput.setText(String.valueOf(speed));\n }", "private void setSynthesizerParam(SettingParams params) {\n if (mSynthesizer == null)\n return;\n //清除所有参数\n mSynthesizer.setParameter(SpeechConstant.PARAMS, null);\n //设置合成引擎\n mSynthesizer.setParameter(SpeechConstant.ENGINE_TYPE, SpeechConstant.TYPE_CLOUD);\n //设置音调\n mSynthesizer.setParameter(SpeechConstant.PITCH, \"50\");\n //设置播放器音频流类型\n mSynthesizer.setParameter(SpeechConstant.STREAM_TYPE, \"3\");\n //设置播放合成音频打断音乐播放,默认为true\n mSynthesizer.setParameter(SpeechConstant.KEY_REQUEST_FOCUS, \"true\");\n //设置合成发言人\n mSynthesizer.setParameter(SpeechConstant.VOICE_NAME, params.getVoiceName());\n //设置语速\n mSynthesizer.setParameter(SpeechConstant.SPEED, params.getVoiceSpeed() + \"\");\n //设置音量\n mSynthesizer.setParameter(SpeechConstant.VOLUME, params.getVoiceVolume() + \"\");\n }", "void changeUpdateSpeed();", "public void setSpeed(float val) {speed = val;}", "public abstract void setSpeed(int sp);", "void changeSpeed(int speed) {\n\n this.speed = speed;\n }", "public void setSpeed(int newSpeed)\n {\n speed = newSpeed;\n }", "public void SetSpeedRaw(double speed)\n {\n Motors.Set(speed);\n }", "@Override\n\tpublic void setSpeed(float speed) {\n\t\t\n\t}", "public void setVelocity () {\n\t\t\tfb5.getCommunicationModule().setClientHandler(null);\n\t\t\tif(state == BotMove.SHARP_RIGHT){\n\t\t\t\tfb5.setVelocity((byte)200,(byte)0);\n\t\t\t}\n\t\t\telse if(state == BotMove.LEFT){\n\t\t\t\tfb5.setVelocity((byte)100,(byte)200);\n\t\t\t}\n\t\t\telse if(state == BotMove.SOFT_RIGHT){\n\t\t\t\tfb5.setVelocity((byte)200,(byte)100);\n\t\t\t}\n\t\t\telse if(state == BotMove.FORWARD){\n\t\t\t\twt.turning = false;\n\t\t\t\tLog.d(TAG,\"Setting forward velocity\");\n\t\t\t\tfb5.setVelocity((byte)150,(byte)150);\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(state == BotMove.STOP){\n\t\t\t\twt.turning = false;\n\t\t\t\tfb5.setVelocity((byte)0,(byte)0);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tfb5.moveForward();\n\t\t\tfb5.accModifiedStart();\n\t\t}", "public void setSpeed() {\n //assigns the speed based on the shuffleboard with a default value of zero\n double tempSpeed = setpoint.getDouble(0.0);\n\n //runs the proportional control system based on the aquired speed\n controlRotator.proportionalSpeedSetter(tempSpeed);\n }", "@Override\n\tpublic void setSpeed(double speed) {\n\n\t}", "private void changeSpeed() {\n\t\tint t = ((JSlider)components.get(\"speedSlider\")).getValue();\n\t\tsim.setRunSpeed(t);\n\t}", "@Override\n @Deprecated // Deprecated so developer does not accidentally use\n public void setSpeed(int speed) {\n }", "public void set(double speed) {\n if ((getRawAngle() < Constants.Hood.MIN_RAW_ANGLE && speed > 0)\n || (getRawAngle() > Constants.Hood.MAX_RAW_ANGLE && speed < 0)) {\n stop();\n } else {\n m_servo.setSpeed(speed);\n }\n }", "public void setSpeed(double speed) {\n \tthis.speed = speed;\n }", "public void setSpeed(int wpm);", "public void setFrequency(float speed) { \n \tmouseJointDef.frequencyHz = speed; \n }", "public void setSpeed(int s){\r\n\t\tspeed = s;\r\n\t}", "public void setSpeed(double speed)\r\n {\r\n this.speed = speed;\r\n }", "private void setRecognizerParam(SettingParams params) {\n if (mRecognizer == null)\n return;\n //清空所以参数\n mRecognizer.setParameter(SpeechConstant.PARAMS, null);\n //设置听写引擎\n mRecognizer.setParameter(SpeechConstant.ENGINE_TYPE, SpeechConstant.TYPE_CLOUD);\n //设置返回结果格式\n mRecognizer.setParameter(SpeechConstant.RESULT_TYPE, \"json\");\n //设置标点符号 0:无标点 1:有标点\n mRecognizer.setParameter(SpeechConstant.ASR_PTT, \"0\");\n //设置语言\n mRecognizer.setParameter(SpeechConstant.LANGUAGE, params.getRecognizerLanguage());\n //设置发音\n mRecognizer.setParameter(SpeechConstant.ACCENT, params.getRecognizerAccent());\n //设置语音前端点:静音超时时间,即用户多长时间不说话则当做超时处理\n mRecognizer.setParameter(SpeechConstant.VAD_BOS, params.getRecognizerBOS() + \"\");\n //设置语音后端点:后端点静音检测时间,即用户停止说话多长时间内即认为不再输入, 自动停止录音\n mRecognizer.setParameter(SpeechConstant.VAD_EOS, params.getRecognizerEOS() + \"\");\n\n //open translate in english mode\n if (isEnglishEnvironment) {\n mRecognizer.setParameter(SpeechConstant.ASR_SCH, \"0\");\n mRecognizer.setParameter(SpeechConstant.ADD_CAP, \"translate\");\n mRecognizer.setParameter(SpeechConstant.TRS_SRC, \"its\");\n mRecognizer.setParameter(SpeechConstant.ORI_LANG, \"en\");\n mRecognizer.setParameter(SpeechConstant.TRANS_LANG, \"cn\");\n }\n }", "public void setSpeed(int newSpeed)\n\t{\n\t\tspeed = newSpeed;\n\t}", "public void setSpeed( Vector2 sp ) { speed = sp; }", "public void setSpeed(double multiplier);", "public void setVoice (Voice voice)\r\n {\r\n // Already done?\r\n if (this.voice == null) {\r\n final String contextString = getContextString();\r\n logger.debug(\"{} Ch#{} setVoice {}\",\r\n contextString, id, voice.getId());\r\n\r\n this.voice = voice;\r\n\r\n // Update the voice entity\r\n if (!isWholeDuration()) {\r\n if (slot != null) {\r\n voice.setSlotInfo(\r\n slot,\r\n new VoiceChord(this, Voice.Status.BEGIN));\r\n }\r\n\r\n // Extend this info to other grouped chords if any\r\n BeamGroup group = getBeamGroup();\r\n\r\n if (group != null) {\r\n logger.debug(\r\n \"{} Ch#{} extending voice#{} to group#{}\",\r\n contextString, id, voice.getId(), group.getId());\r\n\r\n group.setVoice(voice);\r\n }\r\n\r\n // Extend to the following tied chords as well\r\n List<Chord> tied = getFollowingTiedChords();\r\n\r\n for (Chord chord : tied) {\r\n logger.debug(\"{} tied to {}\", this, chord);\r\n\r\n // Check the tied chords belong to the same measure\r\n if (this.getMeasure() == chord.getMeasure()) {\r\n logger.debug(\r\n \"{} Ch#{} extending voice#{} to tied chord#{}\",\r\n contextString, id, voice.getId(), chord.getId());\r\n\r\n chord.setVoice(voice);\r\n } else {\r\n // Chords tied across measure boundary\r\n logger.debug(\"{} Cross tie {} -> {}\",\r\n contextString,\r\n toShortString(), chord.toShortString());\r\n }\r\n }\r\n }\r\n } else if (this.voice != voice) {\r\n addError(\r\n \"Chord. Attempt to reassign voice from \" + this.voice.\r\n getId()\r\n + \" to \" + voice.getId() + \" in \" + this);\r\n } else {\r\n if (!isWholeDuration()) {\r\n if (slot != null) {\r\n voice.setSlotInfo(\r\n slot,\r\n new VoiceChord(this, Voice.Status.BEGIN));\r\n }\r\n }\r\n }\r\n }", "public static void setMotorSpeed(double speed){\n setLeftMotorSpeed(speed);\n setRightMotorSpeed(speed);\n }", "public void setFrontSpeed(double speed) { \r\n fmMotor.set(speed);\r\n }", "public void setWavelength(float wavelength) {\n/* 61 */ this.wavelength = wavelength;\n/* */ }", "public void setSpeed(int newSpeed){\n\t\tmyVaisseau=Isep.getListeVaisseau();\n\t\tspeed=newSpeed;\t\t\n\t}", "public void setArmSpeed(double speed) {\n if (frontSwitch.get()) {\n encoder.reset();\n }\n if (armIsOnLimitSwitchOrHardstop(speed)) {\n OI.secondaryController.setRumble(GenericHID.RumbleType.kLeftRumble, 0.2);\n speed = 0;\n } else {\n OI.secondaryController.setRumble(GenericHID.RumbleType.kLeftRumble, 0);\n }\n double feedforward = 0.06 * Math.cos(getArmRadians());\n speed = speed + feedforward;\n //speed = predictiveCurrentLimiting.getVoltage(speed * 12, getRPM()) / 12;\n armMotorOne.set(speed);\n\n armSpeed.setDouble(speed);\n }", "void setPWMRate(double rate);", "@Override\n\tpublic void set(double speed) {\n\t\tsuper.changeControlMode(TalonControlMode.PercentVbus);\n\t\tsuper.set(speed);\n\t\tsuper.enableControl();\n\t}", "public void setSpeed(float speed) {\n this.speed = speed;\n }", "public void setSpeed(float speed) {\n this.speed = speed;\n }", "public void setSpeed(float speed) {\n this.speed = (int) speed * 13;\n }", "private void updateMotors() {\n\t\t//Pass filtered values to ChopperStatus.\n\t\tmStatus.setMotorFields(mMotorSpeed);\n\t\tString logline = Long.toString(System.currentTimeMillis()) + \" \" + mMotorSpeed[0] + \" \" + mMotorSpeed[1] + \" \" + mMotorSpeed[2] + \" \" + mMotorSpeed[3] + \"\\n\";\n\t\ttry {\n\t\t\tif (logfile != null) {\n\t\t\t\tlogfile.write(logline);\n\t\t\t\tlogfile.flush();\n\t\t\t}\n\t\t}\n\t\tcatch (IOException e) {\n\t\t\t//Log.e(TAG, \"Cannot write to logfile\");\n\t\t}\n\t\t//Pass motor values to motor controller!\n\t\tMessage msg = Message.obtain();\n\t\tmsg.what = SEND_MOTOR_SPEEDS;\n\t\tmsg.obj = mMotorSpeed;\n\t\tmBt.sendMessageToHandler(msg);\n\t\t//Log.i(TAG, \"Guidance sending message.\");\n\t\t\n\t}", "public void setEditSpeedPressed() {\n String value = JOptionPane.showInputDialog(this, this.applicationDelayText, this.setApplicationDelayText, 3);\n if (value != null) {\n int newSpeed = Integer.parseInt(value.toString());\n this.setSpeed(newSpeed);\n }\n }", "public void setAudioPort(int port);", "public void setVibrationOn() {\n\n }", "public void setSpeed(double speed) {\n this.speed = speed;\n }", "public void setSpeed(double speed) {\n this.speed = speed;\n }", "@Override\n public void setSpeed(double speed, int rpm, int measurementsType) {\n speedText.setText(String.format(\"%.1f\", speed));\n if (measurementsType == ThunderBoardPreferences.UNIT_METRIC) {\n speedUnitsText.setText(getString(R.string.motion_meters_per_second));\n } else {\n speedUnitsText.setText(getString(R.string.motion_feet_per_second));\n }\n rpmText.setText(String.valueOf(rpm));\n }", "static void resetVelocity(){currentVelocity = INITIAL_SPEED;}", "public void setPitch(int pitch);", "public void setAmplitude(float amplitude) {\n/* 79 */ this.amplitude = amplitude;\n/* */ }", "public void setSyntheticSpeechAttributes(String message,JLabel statuslbl,JProgressBar progressBar, String voice, double rate, int pitchStart, int pitchEnd){\n\t\tthis.message = message;\n\t\tthis.progressBar=progressBar;\n\t\tthis.statuslbl=statuslbl;\n\t\tthis.voice=voice;\n\t\tthis.rate=rate;\n\t\tthis.pitchStart=pitchStart;\n\t\tthis.pitchEnd=pitchEnd;\n\t}", "public void setSpeed(int speed) {\n this.speed = speed;\n }", "public void set(float signal);", "public void set(double speed) {\n\t\tcurrentSpeed = speed;\n\t\tmotor.set(speed);\n\t}", "void OnSpeedChanges(float speed);", "public void setVoice(String pVoiceID) throws DynamicCallException, ExecutionException{\n call(\"setVoice\", pVoiceID).get();\n }", "public void setWalkSpeed(int n)\n{\n walkSpeed = n;\n}", "public void updateParameters(){\n\t\tp = RunEnvironment.getInstance().getParameters();\n\t\tmaxFlowerNectar = (double)p.getValue(\"maxFlowerNectar\");\n\t\tlowMetabolicRate = (double)p.getValue(\"lowMetabolicRate\");\n\t\thighMetabolicRate = (double)p.getValue(\"highMetabolicRate\");\n\t\tcolonySize = (int)p.getValue(\"colonySize\");\n\t}", "public void setSpeed(float speed_)\n\t{\n\t\tthis.speed=speed_;\n\t}", "protected void execute() {\n //pitch.setSpeed(translator.getValue());\n }", "public void setSpeechRate(int speechRate) {\n mSelf.setSpeechRate(speechRate);\n }", "public void accelerationSet(double speed){\n\t\tdouble currentDelta = Math.abs(currentSpeed - speed);\r\n\t\tif(currentDelta > maxDelta){\r\n\t\t\tif(speed > currentSpeed){\r\n\t\t\t\tspeed = currentSpeed + maxDelta;\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tspeed = currentSpeed - maxDelta;\r\n\t\t\t}\r\n\t\t}\r\n\t//\tSystem.out.println(\"Speed:\" + speed);\r\n\t\tcurrentSpeed = speed;\r\n\t\tsuper.set(speed * motorDirection);\r\n\t}", "@Override\r\n protected void execute() {\n driveSubsystem.setSpeed(speed, speed);\r\n }", "public static void setSpeed(int speed) {\n leftMotor.setSpeed(speed);\n rightMotor.setSpeed(speed);\n }", "public void setSpeed() {\r\n\t\tint delay = 0;\r\n\t\tint value = h.getS(\"speed\").getValue();\r\n\t\t\r\n\t\tif(value == 0) {\r\n\t\t\ttimer.stop();\r\n\t\t} else if(value >= 1 && value < 50) {\r\n\t\t\tif(!timer.isRunning()) {\r\n\t\t\t\ttimer.start();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t//exponential function. value (1) == delay (5000). value (50) == delay (25)\r\n\t\t\tdelay = (int)(a1 * (Math.pow(25/5000.0000, value / 49.0000)));\r\n\t\t} else if(value >= 50 && value <= 100) {\r\n\t\t\tif(!timer.isRunning()) {\r\n\t\t\t\ttimer.start();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t//exponential function. value (50) == delay(25). value (100) == delay (1)\r\n\t\t\tdelay = (int)(a2 * (Math.pow(1/25.0000, value/50.0000)));\r\n\t\t}\r\n\t\ttimer.setDelay(delay);\r\n\t}", "public void startEngine(){\n currentSpeed = 0.1;\n }", "void setFastSpeed () {\n if (stepDelay == fastSpeed)\n return;\n stepDelay = fastSpeed;\n step();\n resetLoop();\n }", "public void setSpeed(int value) {\n this.speed = value;\n }", "public void setContactVoice(String contactVoice) {\n this.contactVoice = contactVoice;\n }", "public void PIDSpeed(double rpm) {\n\t\tsuper.enableControl();\n\t\tPIDTargetSpeed = rpm;\n\t\t// double speed = rpm * (4096.0 / 6000.0);\n\n\t\t// SmartDashboard.sendData(this.getChannel() + \"RPM\", rpm);\n\t\t// SmartDashboard.sendData(this.getChannel() + \"Speed\", speed);\n\t\tsuper.changeControlMode(TalonControlMode.Speed);\n\t\tsuper.set(rpm);\n\t\t// SmartDashboard.sendData(\"Talon \" + this.getChannel() + \" Speed\",\n\t\t// getSpeed());\n\t}", "public void setSpeed(double left, double right){\n leftMasterVictor.setSpeed(left);\n rightMasterVictor.setSpeed(-right);\n }", "public void setWaveSpeed(int waveSpeed) {\n if (mWaveSpeed <= 0) {\n return;\n }\n this.mWaveSpeed = waveSpeed;\n }", "public void setSpeed(final double speed) {\n m_X.set(ControlMode.PercentOutput, speed); \n }", "public static void changeSpeed(int speed) {\n AtlantisConfig.GAME_SPEED = speed;\n getBwapi().setGameSpeed(AtlantisConfig.GAME_SPEED);\n }", "public interface Voice {\n\n\t/**\n\t * Plays the specified text as synthesized audio.\n\t * @param text The text to speak.\n\t */\n\tpublic void speak(String text);\n\n\t/**\n\t * Sets the pitch of the voice.\n\t * @param pitch The new voice pitch.\n\t * @throws IllegalArgumentException If the specified voice\n\t * pitch is less than <tt>0</tt>.\n\t */\n\tpublic void setPitch(int pitch);\n\n\t/**\n\t * Sets the volume of the voice.\n\t * @param volume The new volume.\n\t * @throws IllegalArgumentException If the specified voice\n\t * volume is less than <tt>0</tt> or greater than <tt>100</tt>.\n\t */\n\tpublic void setVolume(int volume);\n\n\t/**\n\t * Sets the talk speed of the voice.\n\t * @param wpm The new talk speed in words per minute.\n\t * @throws IllegalArgumentException If the specified voice\n\t * speed is less than <tt>0</tt> or greater than <tt>999</tt>.\n\t */\n\tpublic void setSpeed(int wpm);\n\n}", "void setNormalSpeed () {\n if (stepDelay == normalSpeed)\n return;\n stepDelay = normalSpeed;\n resetLoop();\n }", "@Override\n public void start() {\n\n runtime.reset();\n currentSpeedRight = 0.0;\n currentSpeedLeft = 0.0;\n // currentSpeedArm = 0.0;\n currentLiftSpeed = 0.0;\n robot.rearTouch.setMode(DigitalChannel.Mode.INPUT);\n }", "public void setSpeed(final int speed) {\n mSpeed = speed;\n }", "@Override\n\tprotected void sampleRateChanged()\n\t{\n\t\ttimeStepSize = 1/sampleRate();\n\t}", "@Override\n\tprotected void sampleRateChanged()\n\t{\n\t\ttimeStepSize = 1/sampleRate();\n\t}", "public <T extends Number> void setSpeedPerFrame(T speed){\r\n\t\tif(speed.doubleValue() <= 0){\r\n\t\t\tthis.speed = 1;\r\n\t\t\tSystem.err.println(\"Negative Speed, resulting to a speed of 1!\");\r\n\t\t}else{\r\n\t\t\tthis.speed = speed.doubleValue();\r\n\t\t}\r\n\t}", "public void setVelocity(double velocity) {\n m_motor.set(ControlMode.Velocity, toEncoderPulsesPer100ms(velocity));\n }", "public void setDriveSpeeds(double strafe, double forward, double rotate, double angle)\n {\n \tRobotMap.robotDrive.mecanumDrive_Cartesian(strafe, forward, rotate, angle);\n \tRobotMap.robotDrive.setInvertedMotor(RobotDrive.MotorType.kFrontLeft, true);\n \tRobotMap.robotDrive.setInvertedMotor(RobotDrive.MotorType.kRearLeft, true);\n\t\n }", "public void setSpeed(int speed) {\n\t\tthis.speed = speed;\n\t}", "public void setSpeed(int speed) {\n\t\tthis.speed = speed;\n\t}", "public void setSpeed(int speed) {\n\t\tthis.speed = speed;\n\t}", "public void setVibrationOff() {\n\n }", "private void setAudioProfilModem() {\n int ringerMode = mAudioManager.getRingerModeInternal();\n ContentResolver mResolver = mContext.getContentResolver();\n Vibrator vibrator = (Vibrator) mContext\n .getSystemService(Context.VIBRATOR_SERVICE);\n boolean hasVibrator = vibrator == null ? false : vibrator.hasVibrator();\n if (AudioManager.RINGER_MODE_SILENT == ringerMode) {\n if (hasVibrator) {\n Settings.System.putInt(mResolver,\n Settings.System.SOUND_EFFECTS_ENABLED, 0);\n /* SPRD: fixbug454214 The status bar scene mode button is not synchronized with the button set up the scene mode. @{ */\n //mAudioManager.setRingerMode(AudioManager.RINGER_MODE_VIBRATE);\n mAudioManager.setRingerModeInternal(AudioManager.RINGER_MODE_VIBRATE);\n /* @} */\n mAudioManager.setVibrateSetting(\n AudioManager.VIBRATE_TYPE_RINGER,\n AudioManager.VIBRATE_SETTING_ON);\n mAudioManager.setVibrateSetting(\n AudioManager.VIBRATE_TYPE_NOTIFICATION,\n AudioManager.VIBRATE_SETTING_ON);\n } else {\n Settings.System.putInt(mResolver,\n Settings.System.SOUND_EFFECTS_ENABLED, 1);\n /* SPRD: fixbug454214 The status bar scene mode button is not synchronized with the button set up the scene mode. @{ */\n //mAudioManager.setRingerMode(AudioManager.RINGER_MODE_NORMAL);\n mAudioManager.setRingerModeInternal(AudioManager.RINGER_MODE_NORMAL);\n /* @} */\n }\n } else if (AudioManager.RINGER_MODE_VIBRATE == ringerMode) {\n Settings.System.putInt(mResolver,\n Settings.System.SOUND_EFFECTS_ENABLED, 1);\n /* SPRD: fixbug454214 The status bar scene mode button is not synchronized with the button set up the scene mode. @{ */\n //mAudioManager.setRingerMode(AudioManager.RINGER_MODE_NORMAL);\n mAudioManager.setRingerModeInternal(AudioManager.RINGER_MODE_OUTDOOR);\n /* @} */\n }else if (AudioManager.RINGER_MODE_OUTDOOR == ringerMode) {//add by wanglei for outdoor mode\n Settings.System.putInt(mResolver,Settings.System.SOUND_EFFECTS_ENABLED, 1);\n mAudioManager.setRingerModeInternal(AudioManager.RINGER_MODE_NORMAL);\n }else {\n Settings.System.putInt(mResolver,\n Settings.System.SOUND_EFFECTS_ENABLED, 0);\n /* SPRD: fixbug454214 The status bar scene mode button is not synchronized with the button set up the scene mode. @{ */\n //mAudioManager.setRingerMode(AudioManager.RINGER_MODE_SILENT);\n mAudioManager.setRingerModeInternal(AudioManager.RINGER_MODE_SILENT);\n /* @} */\n if (hasVibrator) {\n mAudioManager.setVibrateSetting(\n AudioManager.VIBRATE_TYPE_RINGER,\n AudioManager.VIBRATE_SETTING_OFF);\n mAudioManager.setVibrateSetting(\n AudioManager.VIBRATE_TYPE_NOTIFICATION,\n AudioManager.VIBRATE_SETTING_OFF);\n }\n }\n }", "public void setSpeed(double speed) {\r\n\t\tthis.speed = speed;\r\n\t\tthis.period = (int) (1000 / speed);\r\n\t}", "public void setSpeed(int speed) {\n thread.setSpeed(speed);\n }", "public synchronized void set (double speed){\n m_liftSpeed = speed;\n if (m_liftSpeed < 0 && isLowerLimit() == false) {\n m_liftMotor.set(m_liftSpeed);\n } else if (m_liftSpeed > 0 && isUpperLimit() == false){\n m_liftMotor.set(m_liftSpeed);\n } else {\n m_liftSpeed = 0;\n m_liftMotor.set(0); \n }\n }", "public void drive(double direction, double speed) {\n if (mode != SwerveMode.Disabled) {\n for (SwerveModule mod: modules) {\n mod.setSetpoint(direction);\n }\n \t\tmodules.get(0).setSpeed(speed * -1);\n \t\tmodules.get(1).setSpeed(speed);\n \t\tmodules.get(2).setSpeed(speed * -1);\n \t\tmodules.get(3).setSpeed(speed);\n\n\n }\n\n}", "public void start() {\n rfMotor.setPower(1);\n rrMotor.setPower(1);\n lfMotor.setPower(1);\n lrMotor.setPower(1);\n }", "public SendVoice() {\n super();\n }", "private void changeVoice(String voice) throws IOException{\r\n\t\tFile failed = new File(\".festivalrc\");\r\n\t\t//If file does not exist, create new file\r\n\t\tif(!failed.exists()) {\r\n\t\t\tfailed.createNewFile();\r\n\t\t} \r\n\r\n\t\t//Appending the word to the file\r\n\t\tWriter output;\r\n\t\toutput = new BufferedWriter(new FileWriter(failed,false)); \r\n\t\toutput.append(\"(set! voice_default '\"+voice +\")\");\r\n\t\toutput.close();\r\n\t}", "public void setSpeed(int speed) {\n this.movementSpeed = speed;\n }", "void updateAudioRoute() {\n if (mode != -1) {\n updateAudioRoute(mode, false);\n }\n }", "public void setParameters( float maxAmp, float attTime, float decTime, float susLvl, float relTime, float befAmp, float aftAmp)\n\t{\n\t\tmaxAmplitude = maxAmp;\n\t\tattackTime = attTime;\n\t\tdecayTime = decTime;\n\t\tsustainLevel = susLvl;\n\t\treleaseTime = relTime;\n\t\tbeforeAmplitude = befAmp;\n\t\tafterAmplitude = aftAmp;\n\t}", "public void driveRaw (double speed) {\n leftBackMotor.set(speed);\n leftMiddleMotor.set(speed);\n leftFrontMotor.set(speed);\n rightBackMotor.set(speed);\n rightMiddleMotor.set(speed);\n rightFrontMotor.set(speed);\n }", "public Builder setSpeed(int value) {\n bitField0_ |= 0x00000800;\n speed_ = value;\n onChanged();\n return this;\n }", "void setValueMixerSound(int value);" ]
[ "0.67723906", "0.6750525", "0.6646849", "0.6642439", "0.6560118", "0.6415535", "0.63888085", "0.6369595", "0.6357534", "0.63493836", "0.62617284", "0.62402654", "0.618791", "0.615332", "0.6135896", "0.6118323", "0.60915124", "0.6087207", "0.6078179", "0.6033817", "0.603021", "0.59720695", "0.5972011", "0.59633905", "0.59510803", "0.59454477", "0.59343874", "0.5931586", "0.5928794", "0.5907842", "0.58900607", "0.5857925", "0.5845398", "0.5834993", "0.58326894", "0.5825199", "0.5794803", "0.57876503", "0.57876503", "0.5779469", "0.5770519", "0.5756222", "0.5752721", "0.57486", "0.574852", "0.574852", "0.57348335", "0.5729801", "0.5723392", "0.57179093", "0.56811714", "0.56761336", "0.5672833", "0.56697303", "0.5660985", "0.5660927", "0.5658839", "0.56494826", "0.56338567", "0.5620822", "0.56138384", "0.55940664", "0.5591944", "0.5579647", "0.5571388", "0.55691034", "0.55670595", "0.55667317", "0.5547534", "0.55271167", "0.55230534", "0.55216426", "0.5519822", "0.55185825", "0.5516509", "0.55149686", "0.5494734", "0.5493332", "0.54772013", "0.54772013", "0.546843", "0.546138", "0.54607636", "0.545623", "0.545623", "0.545623", "0.54466784", "0.5445479", "0.5445464", "0.54454184", "0.5426551", "0.542462", "0.54245424", "0.54202247", "0.5418757", "0.541453", "0.5414482", "0.54083776", "0.5404275", "0.54012644", "0.53837043" ]
0.0
-1
Changes the parameters of the voice. The available parameters are: pitchShift: applies a pitch shifting to the voice. The value indicates the ratio between the new fundamental frequencies and the old ones (examples: 2.0: an octave above, 1.5: a quint above). Correct range is (1.0 4), or 0 to disable effect. doubleVoice: adds a second voice to the first one. The value indicates the ratio between the second voice fundamental frequency and the first one. Correct range is (1.0 4), or 0 to disable effect doubleVoiceLevel: the corresponding value is the level of the double voice (1.0: equal to the main voice one). Correct range is (0 4). doubleVoiceTimeShift: the corresponding value is the delay between the double voice and the main one. Correct range is (0 0.5) If the effect value is not available, the effect parameter remains unchanged.
public void setParameter(String pEffectName, Float pEffectValue) throws DynamicCallException, ExecutionException{ call("setParameter", pEffectName, pEffectValue).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void configureVoice(Voice voice) {\n voice.setPitch(configurator.getPitch());\n voice.setVolume(configurator.getVolume());\n voice.setRate(configurator.getRate());\n }", "public void setVoiceEffect(int effectIndex) {\n mRtcEngine.setAudioEffectPreset(VOICE_EFFECTS[effectIndex]);\n }", "public void setVoice (Voice voice)\r\n {\r\n // Already done?\r\n if (this.voice == null) {\r\n final String contextString = getContextString();\r\n logger.debug(\"{} Ch#{} setVoice {}\",\r\n contextString, id, voice.getId());\r\n\r\n this.voice = voice;\r\n\r\n // Update the voice entity\r\n if (!isWholeDuration()) {\r\n if (slot != null) {\r\n voice.setSlotInfo(\r\n slot,\r\n new VoiceChord(this, Voice.Status.BEGIN));\r\n }\r\n\r\n // Extend this info to other grouped chords if any\r\n BeamGroup group = getBeamGroup();\r\n\r\n if (group != null) {\r\n logger.debug(\r\n \"{} Ch#{} extending voice#{} to group#{}\",\r\n contextString, id, voice.getId(), group.getId());\r\n\r\n group.setVoice(voice);\r\n }\r\n\r\n // Extend to the following tied chords as well\r\n List<Chord> tied = getFollowingTiedChords();\r\n\r\n for (Chord chord : tied) {\r\n logger.debug(\"{} tied to {}\", this, chord);\r\n\r\n // Check the tied chords belong to the same measure\r\n if (this.getMeasure() == chord.getMeasure()) {\r\n logger.debug(\r\n \"{} Ch#{} extending voice#{} to tied chord#{}\",\r\n contextString, id, voice.getId(), chord.getId());\r\n\r\n chord.setVoice(voice);\r\n } else {\r\n // Chords tied across measure boundary\r\n logger.debug(\"{} Cross tie {} -> {}\",\r\n contextString,\r\n toShortString(), chord.toShortString());\r\n }\r\n }\r\n }\r\n } else if (this.voice != voice) {\r\n addError(\r\n \"Chord. Attempt to reassign voice from \" + this.voice.\r\n getId()\r\n + \" to \" + voice.getId() + \" in \" + this);\r\n } else {\r\n if (!isWholeDuration()) {\r\n if (slot != null) {\r\n voice.setSlotInfo(\r\n slot,\r\n new VoiceChord(this, Voice.Status.BEGIN));\r\n }\r\n }\r\n }\r\n }", "public interface Voice {\n\n\t/**\n\t * Plays the specified text as synthesized audio.\n\t * @param text The text to speak.\n\t */\n\tpublic void speak(String text);\n\n\t/**\n\t * Sets the pitch of the voice.\n\t * @param pitch The new voice pitch.\n\t * @throws IllegalArgumentException If the specified voice\n\t * pitch is less than <tt>0</tt>.\n\t */\n\tpublic void setPitch(int pitch);\n\n\t/**\n\t * Sets the volume of the voice.\n\t * @param volume The new volume.\n\t * @throws IllegalArgumentException If the specified voice\n\t * volume is less than <tt>0</tt> or greater than <tt>100</tt>.\n\t */\n\tpublic void setVolume(int volume);\n\n\t/**\n\t * Sets the talk speed of the voice.\n\t * @param wpm The new talk speed in words per minute.\n\t * @throws IllegalArgumentException If the specified voice\n\t * speed is less than <tt>0</tt> or greater than <tt>999</tt>.\n\t */\n\tpublic void setSpeed(int wpm);\n\n}", "private void changeVoice(String voice) throws IOException{\r\n\t\tFile failed = new File(\".festivalrc\");\r\n\t\t//If file does not exist, create new file\r\n\t\tif(!failed.exists()) {\r\n\t\t\tfailed.createNewFile();\r\n\t\t} \r\n\r\n\t\t//Appending the word to the file\r\n\t\tWriter output;\r\n\t\toutput = new BufferedWriter(new FileWriter(failed,false)); \r\n\t\toutput.append(\"(set! voice_default '\"+voice +\")\");\r\n\t\toutput.close();\r\n\t}", "public void setVoice(String pVoiceID) throws DynamicCallException, ExecutionException{\n call(\"setVoice\", pVoiceID).get();\n }", "public void setRemainingVoice(int value) {\n this.remainingVoice = value;\n }", "void setValueMixerSound(int value);", "public void setContactVoice(String contactVoice) {\n this.contactVoice = contactVoice;\n }", "public void RepeatWithVoiceSwitchTest(){\n testMaterialConstructor();\n ArrayList<String> voiceNames = new ArrayList<String>();\n voiceNames.add(\"Aziz\");\n voiceNames.add(\"Muneeza\");\n \n ArrayList<BarLineObject> objs = new ArrayList<BarLineObject>();\n objs.add(toAziz);\n objs.add(C);\n objs.add(E);\n objs.add(toMuneeza);\n objs.add(MC1);\n objs.add(toAziz);\n objs.add(C);\n objs.add(toMuneeza);\n objs.add(plainBar);\n objs.add(MC2);\n objs.add(endBar);\n objs.add(toAziz);\n objs.add(G);\n objs.add(repeatBar);\n \n Parser2 myParser2 = new Parser2(voiceNames,1,1);\n myParser2.parse(objs);\n ArrayList<Voice> voices = myParser2.getVoices();\n Song lalala = new Song(voices);\n SequencePlayer sqPlayer;\n try {\n sqPlayer = new SequencePlayer(140, lalala.getMinTicksPerQuarter());\n myPlayer MrAhmed = new myPlayer(\"C\", sqPlayer);\n lalala.addToPlayer(MrAhmed);\n sqPlayer.play(); \n } catch (MidiUnavailableException e) {\n e.printStackTrace();\n } catch (InvalidMidiDataException e) {\n e.printStackTrace();\n }\n }", "public void voiceEvent(Voice voice)\r\n {\r\n voiceValue = voice.getVoice();\r\n\r\n getReturnPattern().addElement(voice);\r\n }", "public void onVoiceStart(int sampleRates) {\n }", "public SoundEffect adjust(float volume, float pitch) {\n \t\treturn new SoundEffect(this, volume, pitch);\n \t}", "public void setPitch(int pitch);", "public void updatePreferences(float musicVol, boolean musicEnabled, float soundVol, boolean soundEnabled) {\n if (musicEnabled) { this.musicVol = musicVol; }\r\n else { this.musicVol = 0; }\r\n if (soundEnabled) { this.soundFxVol = soundVol; }\r\n else { soundFxVol = 0; }\r\n }", "public void recordVoice() {\n\t\t\n\t\t//String command = \"ffmpeg -f alsa -i hw:0 -t 2 -acodec pcm_s16le -ar 16000 -ac 1 foo.wav\"\n\t\tString command = \"arecord -d 2 -r 22050 -c 1 -i -t wav -f s16_LE foo.wav\";\n\t\t\n\t\tProcessBuilder pb = new ProcessBuilder(\"bash\" , \"-c\" , command );\n\t\ttry {\n\t\t\t\n\t\t\tProcess recordProcess = pb.start();\n\t\t\t\n\t\t\trecordProcess.waitFor();\n\t\t\t\n\t\t\trecordProcess.destroy();\n\t\n\t\t\t\n\t\t}catch (IOException ioe) {\n\t\t\tioe.printStackTrace();\n\t\t\t\n\t\t}catch (InterruptedException ie) {\n\t\t\tie.printStackTrace();\n\t\t}\n\t\t\n\t}", "@Override\n\t\t\tpublic void actionPerformed(final ActionEvent evt) {\n\t\t\t\tdoSendOn(440, 1001);\n\t\t\t\tsecondSynthButtonOn.setEnabled(false);\n\t\t\t\tsecondSynthButtonOff.setEnabled(true);\n\t\t\t\tslider2.setEnabled(true);\n\t\t\t\tslider2.setValue(2050);\n\t\t\t\ttextBox2.setEnabled(true);\n\t\t\t\ttextBox2.setText(\"440.0\");\n\t\t\t}", "@Override\n\t\t\tpublic void actionPerformed(final ActionEvent evt) {\n\t\t\t\tdoSendOn(440, 1002);\n\t\t\t\tthirdSynthButtonOn.setEnabled(false);\n\t\t\t\tthirdSynthButtonOff.setEnabled(true);\n\t\t\t\tslider3.setEnabled(true);\n\t\t\t\tslider3.setValue(2050);\n\t\t\t\ttextBox3.setEnabled(true);\n\t\t\t\ttextBox3.setText(\"440.0\");\n\t\t\t}", "public void setDigitalVoiceValue(String value) {\n setBootenv(ENV_DIGIT_AUDIO, value);\n\n if (PCM.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"0\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_mute\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_on\");\n } else if (RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"1\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_off\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_unmute\");\n } else if (SPDIF_RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"1\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_off\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_unmute\");\n } else if (HDMI_RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"2\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_mute\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_on\");\n }\n }", "private void setupChangeVoice() {\n\t\tFestivalVoice[] voices={FestivalVoice.Kiwi, FestivalVoice.British, FestivalVoice.American};\n\t\tfinal JComboBox voice_chooser = new JComboBox(voices);\n\t\tvoice_chooser.setFont(new Font(\"Arial\", Font.PLAIN, 20));\n\t\tvoice_chooser.setForeground(Color.BLACK);\n\t\tvoice_chooser.setBackground(Color.WHITE);\n\n\t\t//set shown item to be the current voice\n\t\tvoice_chooser.setSelectedItem(parent_frame.getFestival().getFestivalVoice());\n\t\tvoice_chooser.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tinput_from_user.requestFocusInWindow();//gets focus back to the spell here field\n\t\t\t\tif((FestivalVoice)voice_chooser.getSelectedItem()!=null){\n\t\t\t\t\tparent_frame.getFestival().setFestivalVoice((FestivalVoice)voice_chooser.getSelectedItem());\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tvoice_chooser.setBounds(919, 600, 154, 40);\n\t\tadd(voice_chooser);\n\t}", "public void setVibrationOn() {\n\n }", "public void ChangeMusic(int musicnum, boolean looping);", "void setSpeed(RobotSpeedValue newSpeed);", "public void setWavelength(float wavelength) {\n/* 61 */ this.wavelength = wavelength;\n/* */ }", "@Override\n public void valueChanged(double control_val) {\n samplePlayer.setPosition(control_val);\n setAudioTextPosition(control_val);\n // Write your DynamicControl code above this line \n }", "@Override\n\t\t\tpublic void actionPerformed(final ActionEvent evt) {\n\t\t\t\tdoSendOn(440, 1000);\n\t\t\t\tfirstSynthButtonOn.setEnabled(false);\n\t\t\t\tfirstSynthButtonOff.setEnabled(true);\n\t\t\t\ttextBox.setText(\"440.0\");\n\t\t\t\ttextBox.setEnabled(true);\n\t\t\t\tslider.setValue(2050);\n\t\t\t\tslider.setEnabled(true);\n\t\t\t}", "public void setAmplitude(float amplitude) {\n/* 79 */ this.amplitude = amplitude;\n/* */ }", "public static final void control(float args_cmd_forward, float args_cmd_turn,\r\n\t\t\tfloat args_gyro, float args_gyro_offset, float args_theta_m_l,\r\n\t\t\tfloat args_theta_m_r, float args_battery) {\r\n\t\tfloat tmp_theta;\r\n\t\tfloat tmp_theta_lpf;\r\n\t\tfloat tmp_pwm_r_limiter;\r\n\t\tfloat tmp_psidot;\r\n\t\tfloat tmp_pwm_turn;\r\n\t\tfloat tmp_pwm_l_limiter;\r\n\t\tfloat tmp_thetadot_cmd_lpf;\r\n\t\tint tmp_0;\r\n\r\n\t\t/*\r\n\t\t * Sum: '<S8>/Sum' incorporates: Constant: '<S3>/Constant6' Constant:\r\n\t\t * '<S8>/Constant' Constant: '<S8>/Constant1' Gain: '<S3>/Gain1' Gain:\r\n\t\t * '<S8>/Gain2' Inport: '<Root>/cmd_forward' Product: '<S3>/Divide'\r\n\t\t * Product: '<S8>/Product' Sum: '<S8>/Sum1' UnitDelay: '<S8>/Unit Delay'\r\n\t\t */\r\n\t\ttmp_thetadot_cmd_lpf = (((args_cmd_forward / CMD_MAX) * K_THETADOT) * (1.0F - A_R))\r\n\t\t\t\t+ (A_R * ud_thetadot_cmd_lpf);\r\n\r\n\t\t/*\r\n\t\t * Gain: '<S4>/Gain' incorporates: Gain: '<S4>/deg2rad' Gain:\r\n\t\t * '<S4>/deg2rad1' Inport: '<Root>/theta_m_l' Inport: '<Root>/theta_m_r'\r\n\t\t * Sum: '<S4>/Sum1' Sum: '<S4>/Sum4' Sum: '<S4>/Sum6' UnitDelay:\r\n\t\t * '<S10>/Unit Delay'\r\n\t\t */\r\n\t\ttmp_theta = (((DEG2RAD * args_theta_m_l) + ud_psi) + ((DEG2RAD * args_theta_m_r) + ud_psi)) * 0.5F;\r\n\r\n\t\t/*\r\n\t\t * Sum: '<S11>/Sum' incorporates: Constant: '<S11>/Constant' Constant:\r\n\t\t * '<S11>/Constant1' Gain: '<S11>/Gain2' Product: '<S11>/Product' Sum:\r\n\t\t * '<S11>/Sum1' UnitDelay: '<S11>/Unit Delay'\r\n\t\t */\r\n\t\ttmp_theta_lpf = ((1.0F - A_D) * tmp_theta) + (A_D * ud_theta_lpf);\r\n\r\n\t\t/*\r\n\t\t * Gain: '<S4>/deg2rad2' incorporates: Inport: '<Root>/gyro'\r\n\t\t * Sum: '<S4>/Sum2'\r\n\t\t */\r\n\t\ttmp_psidot = (args_gyro - args_gyro_offset) * DEG2RAD;\r\n\r\n\t\t/*\r\n\t\t * Gain: '<S2>/Gain' incorporates: Constant: '<S3>/Constant2' Constant:\r\n\t\t * '<S3>/Constant3' Constant: '<S6>/Constant' Constant: '<S9>/Constant'\r\n\t\t * Gain: '<S1>/FeedbackGain' Gain: '<S1>/IntegralGain' Gain:\r\n\t\t * '<S6>/Gain3' Inport: '<Root>/battery' Product: '<S2>/Product'\r\n\t\t * Product: '<S9>/Product' Sum: '<S1>/Sum2' Sum: '<S1>/sum_err' Sum:\r\n\t\t * '<S6>/Sum2' Sum: '<S9>/Sum' UnitDelay: '<S10>/Unit Delay' UnitDelay:\r\n\t\t * '<S11>/Unit Delay' UnitDelay: '<S5>/Unit Delay' UnitDelay: '<S7>/Unit\r\n\t\t * Delay'\r\n\t\t */\r\n\t\ttmp[0] = ud_theta_ref;\r\n\t\ttmp[1] = 0.0F;\r\n\t\ttmp[2] = tmp_thetadot_cmd_lpf;\r\n\t\ttmp[3] = 0.0F;\r\n\t\ttmp_theta_0[0] = tmp_theta;\r\n\t\ttmp_theta_0[1] = ud_psi;\r\n\t\ttmp_theta_0[2] = (tmp_theta_lpf - ud_theta_lpf) / EXEC_PERIOD;\r\n\t\ttmp_theta_0[3] = tmp_psidot;\r\n\t\ttmp_pwm_r_limiter = 0.0F;\r\n\t\tfor (tmp_0 = 0; tmp_0 < 4; tmp_0++) {\r\n\t\t\ttmp_pwm_r_limiter += (tmp[tmp_0] - tmp_theta_0[tmp_0])\r\n\t\t\t\t\t* K_F[(tmp_0)];\r\n\t\t}\r\n\r\n\t\ttmp_pwm_r_limiter = (((K_I * ud_err_theta) + tmp_pwm_r_limiter) / ((BATTERY_GAIN * args_battery) - BATTERY_OFFSET)) * 100.0F;\r\n\r\n\t\t/*\r\n\t\t * Gain: '<S3>/Gain2' incorporates: Constant: '<S3>/Constant1' Inport:\r\n\t\t * '<Root>/cmd_turn' Product: '<S3>/Divide1'\r\n\t\t */\r\n\t\ttmp_pwm_turn = (args_cmd_turn / CMD_MAX) * K_PHIDOT;\r\n\r\n\t\t/* Sum: '<S2>/Sum' */\r\n\t\ttmp_pwm_l_limiter = tmp_pwm_r_limiter + tmp_pwm_turn;\r\n\r\n\t\t/* Saturate: '<S2>/pwm_l_limiter' */\r\n\t\ttmp_pwm_l_limiter = rt_SATURATE(tmp_pwm_l_limiter, -100.0F, 100.0F);\r\n\r\n\t\t/*\r\n\t\t * Outport: '<Root>/pwm_l' incorporates: DataTypeConversion: '<S1>/Data\r\n\t\t * Type Conversion'\r\n\t\t */\r\n\t\tpwm_l = (int) tmp_pwm_l_limiter;\r\n\r\n\t\t/* Sum: '<S2>/Sum1' */\r\n\t\ttmp_pwm_r_limiter -= tmp_pwm_turn;\r\n\r\n\t\t/* Saturate: '<S2>/pwm_r_limiter' */\r\n\t\ttmp_pwm_r_limiter = rt_SATURATE(tmp_pwm_r_limiter, -100.0F, 100.0F);\r\n\r\n\t\t/*\r\n\t\t * Outport: '<Root>/pwm_r' incorporates: DataTypeConversion: '<S1>/Data\r\n\t\t * Type Conversion6'\r\n\t\t */\r\n\t\tpwm_r = (int) tmp_pwm_r_limiter;\r\n\r\n\t\t/*\r\n\t\t * Sum: '<S7>/Sum' incorporates: Gain: '<S7>/Gain' UnitDelay: '<S7>/Unit\r\n\t\t * Delay'\r\n\t\t */\r\n\t\ttmp_pwm_l_limiter = (EXEC_PERIOD * tmp_thetadot_cmd_lpf) + ud_theta_ref;\r\n\r\n\t\t/*\r\n\t\t * Sum: '<S10>/Sum' incorporates: Gain: '<S10>/Gain' UnitDelay:\r\n\t\t * '<S10>/Unit Delay'\r\n\t\t */\r\n\t\ttmp_pwm_turn = (EXEC_PERIOD * tmp_psidot) + ud_psi;\r\n\r\n\t\t/*\r\n\t\t * Sum: '<S5>/Sum' incorporates: Gain: '<S5>/Gain' Sum: '<S1>/Sum1'\r\n\t\t * UnitDelay: '<S5>/Unit Delay' UnitDelay: '<S7>/Unit Delay'\r\n\t\t */\r\n\t\ttmp_pwm_r_limiter = ((ud_theta_ref - tmp_theta) * EXEC_PERIOD)\r\n\t\t\t\t+ ud_err_theta;\r\n\r\n\t\t/* user code (Update function Body) */\r\n\t\t/* System '<Root>' */\r\n\t\t/* 次回演算用状態量保存処理 */\r\n\r\n\t\t/* Update for UnitDelay: '<S5>/Unit Delay' */\r\n\t\tud_err_theta = tmp_pwm_r_limiter;\r\n\r\n\t\t/* Update for UnitDelay: '<S7>/Unit Delay' */\r\n\t\tud_theta_ref = tmp_pwm_l_limiter;\r\n\r\n\t\t/* Update for UnitDelay: '<S8>/Unit Delay' */\r\n\t\tud_thetadot_cmd_lpf = tmp_thetadot_cmd_lpf;\r\n\r\n\t\t/* Update for UnitDelay: '<S10>/Unit Delay' */\r\n\t\tud_psi = tmp_pwm_turn;\r\n\r\n\t\t/* Update for UnitDelay: '<S11>/Unit Delay' */\r\n\t\tud_theta_lpf = tmp_theta_lpf;\r\n\t}", "private void applyEffect(Event.Effect effect) {\n\t\tint change = (int) effect.getValue();\n\t\t\n\t\tswitch(effect.getType()) {\t\t\n\t\tcase INCREASE_MONEY:\n\t\t\tplayer.setMoney(player.getMoney() + change);\n\t\t\tbreak;\n\t\tcase DECREASE_MONEY:\n\t\t\tplayer.setMoney(player.getMoney() - change);\n\t\t\tbreak;\n\t\tcase INCREASE_AGENTS:\n\t\t\tplayer.setAgentNumber(player.getAgentNumber() + change);\n\t\t\tbreak;\n\t\tcase DECREASE_AGENTS:\n\t\t\tplayer.setAgentNumber(player.getAgentNumber() - change);\n\t\t\tbreak;\n\t\tcase INCREASE_AGENT_SKILL:\n\t\t\tplayer.setAgentSkill(player.getAgentSkill() + change);\n\t\t\tbreak;\n\t\tcase DECREASE_AGENT_SKILL:\n\t\t\tplayer.setAgentSkill(player.getAgentSkill() - change);\t\t\t\n\t\t\tbreak;\n\t\tcase INCREASE_MEDIA_REACH:\n\t\t\tplayer.setMediaReach(player.getMediaReach() + change);\n\t\t\tbreak;\n\t\tcase DECREASE_MEDIA_REACH:\n\t\t\tplayer.setMediaReach(player.getMediaReach() - change);\t\t\t\n\t\t\tbreak;\n\t\tcase INCREASE_MEDIA_INFLUENCE:\n\t\t\tplayer.setMediaPerception(player.getMediaPerception() + change);\n\t\t\tbreak;\n\t\tcase DECREASE_MEDIA_INFLUENCE:\n\t\t\tplayer.setMediaPerception(player.getMediaPerception() - change);\t\t\t\n\t\t\tbreak;\n\t\tdefault:\n\t\t\t// TODO handle error\n\t\t}\n\t\t\n\t}", "public void changeVolume(double volume){\n\t\tsynth.changeVolume(volume);\n\t}", "public final void setIsVoipAudioMode(java.lang.String r1, boolean r2) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: android.telecom.ConnectionServiceAdapterServant.2.setIsVoipAudioMode(java.lang.String, boolean):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.telecom.ConnectionServiceAdapterServant.2.setIsVoipAudioMode(java.lang.String, boolean):void\");\n }", "public static void enableSound() {\n\t\tvelocity = 127;\n\t}", "void onAudioLevel(float level);", "void setPWMRate(double rate);", "public abstract void newSpeechFeedback(long ms, int n);", "public void pitch(float amount)\r\n {\r\n //increment the pitch by the amount param\r\n pitch -= amount;\r\n }", "public static void setSoundEffectsVolume(final double sfxVolume) {\n if (sfxVolume >= 0 && sfxVolume <= 1) {\n SoundEffect.sfxVolume = sfxVolume;\n }\n }", "private void setSynthesizerParam(SettingParams params) {\n if (mSynthesizer == null)\n return;\n //清除所有参数\n mSynthesizer.setParameter(SpeechConstant.PARAMS, null);\n //设置合成引擎\n mSynthesizer.setParameter(SpeechConstant.ENGINE_TYPE, SpeechConstant.TYPE_CLOUD);\n //设置音调\n mSynthesizer.setParameter(SpeechConstant.PITCH, \"50\");\n //设置播放器音频流类型\n mSynthesizer.setParameter(SpeechConstant.STREAM_TYPE, \"3\");\n //设置播放合成音频打断音乐播放,默认为true\n mSynthesizer.setParameter(SpeechConstant.KEY_REQUEST_FOCUS, \"true\");\n //设置合成发言人\n mSynthesizer.setParameter(SpeechConstant.VOICE_NAME, params.getVoiceName());\n //设置语速\n mSynthesizer.setParameter(SpeechConstant.SPEED, params.getVoiceSpeed() + \"\");\n //设置音量\n mSynthesizer.setParameter(SpeechConstant.VOLUME, params.getVoiceVolume() + \"\");\n }", "public void ResultVoiceIn(EventVoice event);", "private void setAudioProfilModem() {\n int ringerMode = mAudioManager.getRingerModeInternal();\n ContentResolver mResolver = mContext.getContentResolver();\n Vibrator vibrator = (Vibrator) mContext\n .getSystemService(Context.VIBRATOR_SERVICE);\n boolean hasVibrator = vibrator == null ? false : vibrator.hasVibrator();\n if (AudioManager.RINGER_MODE_SILENT == ringerMode) {\n if (hasVibrator) {\n Settings.System.putInt(mResolver,\n Settings.System.SOUND_EFFECTS_ENABLED, 0);\n /* SPRD: fixbug454214 The status bar scene mode button is not synchronized with the button set up the scene mode. @{ */\n //mAudioManager.setRingerMode(AudioManager.RINGER_MODE_VIBRATE);\n mAudioManager.setRingerModeInternal(AudioManager.RINGER_MODE_VIBRATE);\n /* @} */\n mAudioManager.setVibrateSetting(\n AudioManager.VIBRATE_TYPE_RINGER,\n AudioManager.VIBRATE_SETTING_ON);\n mAudioManager.setVibrateSetting(\n AudioManager.VIBRATE_TYPE_NOTIFICATION,\n AudioManager.VIBRATE_SETTING_ON);\n } else {\n Settings.System.putInt(mResolver,\n Settings.System.SOUND_EFFECTS_ENABLED, 1);\n /* SPRD: fixbug454214 The status bar scene mode button is not synchronized with the button set up the scene mode. @{ */\n //mAudioManager.setRingerMode(AudioManager.RINGER_MODE_NORMAL);\n mAudioManager.setRingerModeInternal(AudioManager.RINGER_MODE_NORMAL);\n /* @} */\n }\n } else if (AudioManager.RINGER_MODE_VIBRATE == ringerMode) {\n Settings.System.putInt(mResolver,\n Settings.System.SOUND_EFFECTS_ENABLED, 1);\n /* SPRD: fixbug454214 The status bar scene mode button is not synchronized with the button set up the scene mode. @{ */\n //mAudioManager.setRingerMode(AudioManager.RINGER_MODE_NORMAL);\n mAudioManager.setRingerModeInternal(AudioManager.RINGER_MODE_OUTDOOR);\n /* @} */\n }else if (AudioManager.RINGER_MODE_OUTDOOR == ringerMode) {//add by wanglei for outdoor mode\n Settings.System.putInt(mResolver,Settings.System.SOUND_EFFECTS_ENABLED, 1);\n mAudioManager.setRingerModeInternal(AudioManager.RINGER_MODE_NORMAL);\n }else {\n Settings.System.putInt(mResolver,\n Settings.System.SOUND_EFFECTS_ENABLED, 0);\n /* SPRD: fixbug454214 The status bar scene mode button is not synchronized with the button set up the scene mode. @{ */\n //mAudioManager.setRingerMode(AudioManager.RINGER_MODE_SILENT);\n mAudioManager.setRingerModeInternal(AudioManager.RINGER_MODE_SILENT);\n /* @} */\n if (hasVibrator) {\n mAudioManager.setVibrateSetting(\n AudioManager.VIBRATE_TYPE_RINGER,\n AudioManager.VIBRATE_SETTING_OFF);\n mAudioManager.setVibrateSetting(\n AudioManager.VIBRATE_TYPE_NOTIFICATION,\n AudioManager.VIBRATE_SETTING_OFF);\n }\n }\n }", "@Override\n public void playTone(Waveform waveform, double frequency, double duration, double volume)\n {\n final String funcName = \"playTone\";\n\n if (debugEnabled)\n {\n dbgTrace.traceEnter(funcName, TrcDbgTrace.TraceLevel.API,\n \"waveform=%s,freq=%.0f,dur=%.3f,vol=%.1f\",\n waveform.toString(), frequency, duration, volume);\n }\n\n if (volume < 0.0 || volume > 1.0)\n {\n throw new IllegalArgumentException(\"Volume must be in the range 0.0 to 1.0.\");\n }\n\n if (frequency < 0.0)\n {\n throw new IllegalArgumentException(\"Frequency cannot be negative.\");\n }\n\n if (duration < 0.0)\n {\n throw new IllegalArgumentException(\"Duration cannot be negative.\");\n }\n\n byte outputMode = 0;\n switch (waveform)\n {\n case SINE_WAVE:\n outputMode = 1;\n break;\n\n case SQUARE_WAVE:\n outputMode = 2;\n break;\n\n case TRIANGLE_WAVE:\n outputMode = 3;\n break;\n }\n\n analogOut.setAnalogOutputMode(outputMode);\n analogOut.setAnalogOutputFrequency((int)frequency);\n analogOut.setAnalogOutputVoltage((int)(MAX_VOLTAGE*volume));\n expiredTime = TrcUtil.getCurrentTime() + duration;\n playing = true;\n setTaskEnabled(true);\n\n if (debugEnabled)\n {\n dbgTrace.traceInfo(funcName,\n \"mode=%d,freq=%d,dur=%.3f,vol=%.1f\", outputMode, (int)frequency, duration, volume);\n dbgTrace.traceExit(funcName, TrcDbgTrace.TraceLevel.API);\n }\n }", "public void setSyntheticSpeechAttributes(String message,JLabel statuslbl,JProgressBar progressBar, String voice, double rate, int pitchStart, int pitchEnd){\n\t\tthis.message = message;\n\t\tthis.progressBar=progressBar;\n\t\tthis.statuslbl=statuslbl;\n\t\tthis.voice=voice;\n\t\tthis.rate=rate;\n\t\tthis.pitchStart=pitchStart;\n\t\tthis.pitchEnd=pitchEnd;\n\t}", "@Override\n public void runEffect(double[] fft) {\n\n\n for(int i = fft.length - 1; i - pitchMove >= 0; i--)\n {\n fft[i] = fft[i - pitchMove];\n }\n for(int i = 0; i < pitchMove; i++)\n fft[i] = fft[i]*0.5;\n// for(int i = 0, k = 0; i < fft.length; i+=2)\n// {\n// if(i < fft.length/2) {\n// fft2[fft.length / 2 + k - 1] = (fft[fft.length / 2 + i] + fft[fft.length / 2 + i]) / 2;\n// fft2[fft.length / 2 - k - 1] = (fft[fft.length / 2 - i] + fft[fft.length / 2 - i]) / 2;\n// }\n// //fft2[k] = 0;\n// //fft2[fft2.length - k -1] = 0;\n// k++;\n// }\n /*for(int i = 0; i < fft.length; i++)\n {\n fft[i] = Math.abs(fft[i]);\n if(fft[i] < 2){\n fft[i] = 0;\n }\n //Log.d(\"Log\", fft[i] + \" \");\n }*/\n }", "public void pauseMusic() {\n\t\talSourcePause(musicSourceIndex);\n\t\talSourcePause(reverseSourceIndex);\n\t\talSourcePause(flangeSourceIndex);\n\t\talSourcePause(revFlangeSourceIndex);\n\t\talSourcePause(wahSourceIndex);\n\t\talSourcePause(revWahSourceIndex);\n\t\talSourcePause(wahFlangeSourceIndex);\n\t\talSourcePause(revWahFlangeSourceIndex);\n\t\talSourcePause(distortSourceIndex);\n\t\talSourcePause(revDistortSourceIndex);\n\t\talSourcePause(distortFlangeSourceIndex);\n\t\talSourcePause(revDistortFlangeSourceIndex);\n\t\talSourcePause(wahDistortSourceIndex);\n\t\talSourcePause(revWahDistortSourceIndex);\n\t\talSourcePause(wahDistortFlangeSourceIndex);\n\t\talSourcePause(revWahDistortFlangeSourceIndex);\n\t}", "private void setRecognizerParam(SettingParams params) {\n if (mRecognizer == null)\n return;\n //清空所以参数\n mRecognizer.setParameter(SpeechConstant.PARAMS, null);\n //设置听写引擎\n mRecognizer.setParameter(SpeechConstant.ENGINE_TYPE, SpeechConstant.TYPE_CLOUD);\n //设置返回结果格式\n mRecognizer.setParameter(SpeechConstant.RESULT_TYPE, \"json\");\n //设置标点符号 0:无标点 1:有标点\n mRecognizer.setParameter(SpeechConstant.ASR_PTT, \"0\");\n //设置语言\n mRecognizer.setParameter(SpeechConstant.LANGUAGE, params.getRecognizerLanguage());\n //设置发音\n mRecognizer.setParameter(SpeechConstant.ACCENT, params.getRecognizerAccent());\n //设置语音前端点:静音超时时间,即用户多长时间不说话则当做超时处理\n mRecognizer.setParameter(SpeechConstant.VAD_BOS, params.getRecognizerBOS() + \"\");\n //设置语音后端点:后端点静音检测时间,即用户停止说话多长时间内即认为不再输入, 自动停止录音\n mRecognizer.setParameter(SpeechConstant.VAD_EOS, params.getRecognizerEOS() + \"\");\n\n //open translate in english mode\n if (isEnglishEnvironment) {\n mRecognizer.setParameter(SpeechConstant.ASR_SCH, \"0\");\n mRecognizer.setParameter(SpeechConstant.ADD_CAP, \"translate\");\n mRecognizer.setParameter(SpeechConstant.TRS_SRC, \"its\");\n mRecognizer.setParameter(SpeechConstant.ORI_LANG, \"en\");\n mRecognizer.setParameter(SpeechConstant.TRANS_LANG, \"cn\");\n }\n }", "public Future<Void> setVoice(String pVoiceID) throws DynamicCallException, ExecutionException{\n return call(\"setVoice\", pVoiceID);\n }", "public void ResultVoiceDialog(EventVoice event);", "public Voice getVoice ()\r\n {\r\n return voice;\r\n }", "public void setFrequency(float speed) { \n \tmouseJointDef.frequencyHz = speed; \n }", "public void setPitchShift(int pitchShift) {\r\n\r\n\t\t// Values are in half steps (semitones) in the \r\n\t\t// range -12..0..+12 corresponding to -/+ 1 octave for\r\n\t\t// a range of 2 octaves.\r\n\r\n\t\t// Determine which direction the sweep is going\r\n\t\tsweepUp = (pitchShift >= 0);\r\n\r\n\t\tsetIndices();\r\n\r\n\t\tdouble newStep = 1.0;\r\n\r\n\t\t// If pitch shift is 0 short circuit calculations\r\n\t\tif (pitchShift == 0)\r\n\t\t\tstep = 0;\r\n\r\n\t\telse\t{\r\n\t\t\t// Step is rate at which samples read out\r\n\t\t\tfor (int i=0; i < Math.abs(pitchShift); i++) {\r\n\t\t\t\tif (pitchShift > 0)\r\n\t\t\t\t\tnewStep *= twelvethRootOfTwo;\r\n\t\t\t\telse\r\n\t\t\t\t\tnewStep /= twelvethRootOfTwo;\r\n\t\t\t}\r\n\t\t\tstep = Math.abs(newStep - 1.0);\r\n\t\t}\r\n\t\t// Reset the following values whenever pitch shift value changes\r\n\t\tsweep = 0.0;\r\n\t\tcrossFadeCount = 0;\r\n\t\tactiveSampleCount = numberOfDelaySamples - \r\n\t\t\t(int)(numberOfCrossFadeSamples * (newStep - 1.0) - 2); \r\n\t}", "public void adjustVolume(double volume) {\n try {\n controller.setGain(volume);\n this.volume = volume;\n } catch (BasicPlayerException e) {\n e.printStackTrace();\n }\n }", "@FXML\n\tpublic void recorderPauseAudio() {\n\t\tcontroller.recorderTimerCancel();\n\t\trecorderButtonPlay.setDisable(false);\n\t\trecorderButtonPause.setDisable(true);\n\t\trecorderButtonStop.setDisable(false);\n\t\tcontroller.audioRecorderPauseAudio();\n\t}", "public void setUpSound() {\n try {\n generateTone();\n setFrequencyLabel();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }", "@Override\n\tpublic void OnForwardCommand() {\n\t\tsuper.OnForwardCommand();\n\t\tSoundManage.playSound(forwordSound1);\n\t}", "public void setAudioPort(int port);", "public void setWavelength(double newValue) {\n double oldValue = getWavelength();\n if (oldValue != newValue) {\n _centralWavelength = newValue;\n firePropertyChange(WAVELENGTH_PROP.getName(), oldValue, newValue);\n }\n }", "void Init(int sfxVolume, int musicVolume);", "public void changeSamplerateTo(int samplerate) {\n\t\tm_samplerate = samplerate;\n\t\tif( m_privateNotification != null ) {\n\t\t\tString content = \"changeSamplerate:\"+Integer.toString(samplerate)+\";\";\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 public void valueChanged(double control_val) {\n float current_audio_position = (float)samplePlayer.getPosition();\n\n if (current_audio_position < control_val){\n samplePlayer.setPosition(control_val);\n }\n loop_start.setValue((float)control_val);\n // Write your DynamicControl code above this line \n }", "public void setPitchRange(float range) {\n\tthis.range = range;\n }", "@Override\n public void valueChanged(double control_val) {\n playbackRate.setValue((float)control_val);\n // Write your DynamicControl code above this line\n }", "public void setAudioDscp(int dscp);", "public abstract SoundPlayer setVolume(int volume);", "public void movePower(String movement, double power, double duration)\n {\n double startTime = getRuntime();\n switch(movement)\n {\n case \"forward\":\n runtime.reset();\n while (runtime.seconds() < duration)\n {\n robot.FL_drive.setPower(power);\n robot.FR_drive.setPower(power * -1);\n robot.BL_drive.setPower(power);\n robot.BR_drive.setPower(power * -1);\n }\n break;\n\n case \"backward\":\n runtime.reset();\n while (runtime.seconds() < duration)\n {\n robot.FL_drive.setPower(power * -1);\n robot.FR_drive.setPower(power);\n robot.BL_drive.setPower(power * -1);\n robot.BR_drive.setPower(power);\n }\n break;\n\n case \"right\":\n runtime.reset();\n while (runtime.seconds() < duration)\n {\n robot.FL_drive.setPower(power);\n robot.FR_drive.setPower(power);\n robot.BL_drive.setPower(power * -1);\n robot.BR_drive.setPower(power * -1);\n }\n break;\n\n case \"left\":\n runtime.reset();\n while (runtime.seconds() < duration)\n {\n robot.FL_drive.setPower(power * -1);\n robot.FR_drive.setPower(power * -1);\n robot.BL_drive.setPower(power);\n robot.BR_drive.setPower(power);\n }\n break;\n\n case \"leftTurn\":\n runtime.reset();\n while (runtime.seconds() < duration)\n {\n robot.FL_drive.setPower(power);\n robot.FR_drive.setPower(power);\n robot.BL_drive.setPower(power);\n robot.BR_drive.setPower(power);\n }\n break;\n\n case \"rightTurn\":\n runtime.reset();\n while (runtime.seconds() < duration)\n {\n robot.FL_drive.setPower(power * -1);\n robot.FR_drive.setPower(power * -1);\n robot.BL_drive.setPower(power * -1);\n robot.BR_drive.setPower(power * -1);\n }\n break;\n }\n stop();\n }", "public void ResultVoiceCoincidence(EventVoice event);", "public void setSpeechRate(int speechRate) {\n mSelf.setSpeechRate(speechRate);\n }", "public void setCurrentSpeed (double speed);", "public abstract void updateMixer();", "public void wave() {\n leanRight = !leanRight;\n }", "public interface VolumeControl\n{\n /**\n * The name of the configuration property which specifies the volume level\n * of audio input.\n */\n public final static String CAPTURE_VOLUME_LEVEL_PROPERTY_NAME\n = \"net.java.sip.communicator.service.media.CAPTURE_VOLUME_LEVEL\";\n\n /**\n * The name of the configuration property which specifies the volume level\n * of audio output.\n */\n public final static String PLAYBACK_VOLUME_LEVEL_PROPERTY_NAME\n = \"net.java.sip.communicator.service.media.PLAYBACK_VOLUME_LEVEL\";\n\n /**\n * Current volume value.\n * @return the current volume level.\n */\n public float getVolume();\n\n /**\n * Returns the minimum allowed volume value.\n * @return the minimum allowed volume value.\n */\n public float getMinValue();\n\n /**\n * Returns the maximum allowed volume value.\n * @return the maximum allowed volume value.\n */\n public float getMaxValue();\n\n /**\n * Changes volume level.\n * @param value the new level to set.\n * @return the actual level which was set.\n */\n public float setVolume(float value);\n\n /**\n * Mutes current sound playback.\n * @param mute mutes/unmutes playback.\n */\n public void setMute(boolean mute);\n\n /**\n * Get mute state of sound playback.\n * @return mute state of sound playback.\n */\n public boolean getMute();\n\n /**\n * Adds a <tt>VolumeChangeListener</tt> to be informed for any change\n * in the volume levels.\n *\n * @param listener volume change listener.\n */\n public void addVolumeChangeListener(VolumeChangeListener listener);\n\n /**\n * Removes a <tt>VolumeChangeListener</tt>.\n * @param listener the volume change listener to be removed.\n */\n public void removeVolumeChangeListener(VolumeChangeListener listener);\n}", "public void manualControl(double power){\n leftMotor.set(power);\n rightMotor.set(power);\n }", "void setPlaybackSpeed(float speed);", "public void ReproduceAudio() { \r\n\t\ttry {\r\n\t\t\t//en caso de que como nombre pongas \"undertale\" la musica sera diferente.\r\n\t\t\tif (Menu.jugador.equals(\"undertale\") || Menu.jugador.equals(\"Undertale\")) {\r\n\t\t\t\trepro.AbrirFichero(\"C:\\\\Temp\\\\Sonidos\\\\undertale.wav\");\r\n\t\t\t\t//emppieza la musica\r\n\t\t\t\trepro.Play();\r\n\t\t\t//musica por defecto\r\n\t\t\t} else {\r\n\t\t\t\trepro.AbrirFichero(\"C:\\\\Temp\\\\Sonidos\\\\tetris.mp3\");\r\n\t\t\t\trepro.Play();\r\n\t\t\t}\t\r\n\t\t} catch (Exception ex) {\r\n\t\t\tSystem.out.println(\"Error: \" + ex.getMessage());\r\n\t\t}\r\n\t}", "public void addVoice(String theOrderToAdd){\n System.out.println(\"Méthode à implémenter pour ajouter les voices\");\r\n\r\n }", "public void changeSpeed(int speed);", "public interface VoiceManager {\n\n void speak(int requestCode, int speechResourceId, Object... formatArgs);\n\n void speak(int requestCode, int speechResourceId);\n\n void listen(int requestCode);\n\n void shutdown();\n\n void setVoiceManagerListener(VoiceManagerImpl.VoiceManagerListener listener);\n}", "void changeUpdateSpeed();", "public void setSoundPitch(float soundPitch) {\n _soundPitch = soundPitch;\n }", "protected void playStepSound(int par1, int par2, int par3, int par4)\n {\n this.playSound(\"mob.spider.step\", 0.15F, 1.0F);\n }", "public void setDecayRate(double newDecayRate ){\n\n decayRate= newDecayRate;\n}", "public void changeWaveform(Toggle waveform) {\n\t\tsynth.disconnectInstrument();\n\t\t// Retrieve the waveform ID and set the waveform of the instrument\n\t\tint selectedWaveformID = Integer.parseInt(waveform.getUserData().toString());\n\t\tsynth.getSelectedInstrument().setWaveform(selectedWaveformID);\n\n\t\tsynth.connectInstrument();\n\t}", "public void setEffect(int effectIndex, int filterIndex) {\n\t\talSource3i(musicSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(musicSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(reverseSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(reverseSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(flangeSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(flangeSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(revFlangeSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(revFlangeSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(wahSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(wahSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(revWahSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(revWahSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(wahFlangeSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(wahFlangeSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(revWahFlangeSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(revWahFlangeSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(distortSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(distortSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(revDistortSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(revDistortSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(distortFlangeSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(distortFlangeSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(revDistortFlangeSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(revDistortFlangeSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(wahDistortSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(wahDistortSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(revWahDistortSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(revWahDistortSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(wahDistortFlangeSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(wahDistortFlangeSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(revWahDistortFlangeSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(revWahDistortFlangeSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t}", "public void activate(float a, int which, float freq, int wf) {\n if (wf == MultiWave.VARIABLE)\n if (freq > highCutoff) {\n mixingCoefficients[which][MultiWave.SINE] = 1.0;\n mixingCoefficients[which][MultiWave.SAW] = mixingCoefficients[which][MultiWave.SQUARE] = mixingCoefficients[which][MultiWave.TRIANGLE] = 0.0;\n } else if (freq < lowCutoff) {\n mixingCoefficients[which][MultiWave.SAW] = 0.5;\n mixingCoefficients[which][MultiWave.TRIANGLE] = 1.0;\n mixingCoefficients[which][MultiWave.SINE] = mixingCoefficients[which][MultiWave.SQUARE] = 0.0;\n } else {\n mixingCoefficients[which][MultiWave.SINE] = (freq - lowCutoff)/(highCutoff - lowCutoff);\n mixingCoefficients[which][MultiWave.TRIANGLE] = 1.0 - mixingCoefficients[which][MultiWave.SINE];\n if (freq < midCutoff) {\n mixingCoefficients[which][MultiWave.SAW] = 0.5*(midCutoff - freq)/(midCutoff - lowCutoff);\n } else\n mixingCoefficients[which][MultiWave.SAW] = 0.0;\n }\n\n if (!isActive[which]) {\n numActive++;\n isActive[which] = true;\n } // end if\n\n frequencies[which] = freq;\n amplitudes[which] = a;\n whichWaveForm[which] = wf;\n deltaPhases[which] = TWO_PI * freq / frameRate;\n }", "@SuppressWarnings(\"unchecked\")\n\tpublic void setEffectsVolume(float volume){\n\t\tvolume = volume / 100;\n\t\tif (volume < 0){\n\t\t\tvolume = 0;\n\t\t}\t\n\t\tif (volume > 1){\n\t\t\tvolume = 1;\n\t\t}\n\t\t\n\t\tthis.mLeftVolume = this.mRightVolume = volume;\n\t\t\n\t\t// change the volume of playing sounds\n\t\tIterator<?> iter = this.mSoundIdStreamIdMap.entrySet().iterator();\n\t\twhile (iter.hasNext()){\n\t\t\tMap.Entry<Integer, Integer> entry = (Map.Entry<Integer, Integer>)iter.next();\n\t\t\tthis.mSoundPool.setVolume(entry.getValue(), mLeftVolume, mRightVolume);\n\t\t}\n\t}", "void changeMusic(AudioTrack newSong);", "public void setVibrationOff() {\n\n }", "void setSampleGain(float gain) {\n if (debugFlag)\n debugPrint(\"JSChannel: setSampleGain must be overridden\");\n }", "public void updateVolume(){\r\n if(currentLoop0) backgroundMusicLoop0.gainControl.setValue(Window.musicVolume);\r\n else backgroundMusicLoop1.gainControl.setValue(Window.musicVolume);\r\n }", "public void setPitchShift(float shift) {\n\tthis.pitchShift = shift;\n }", "void controlVehicle(KeyEvent e) {\n\t\tswitch (e.getKeyCode()) {\n\t\tcase KeyEvent.VK_LEFT:\n\t\t\tss.move(-1);\n\t\t\tif(!mute)\t\t\t\t\t\t\t\t\t\t\t\t//play audio when not mute\n\t\t\t\tnew AudioLoader(\"audios/ding.wav\");\t\t\t\t\t//play now audio when spaceship as Vehicle\n\t\t\tbreak;\n\t\tcase KeyEvent.VK_RIGHT:\n\t\t\tss.move(1);\n\t\t\tif(!mute)\t\t\t\t\t\t\t\t\t\t\t\t//play audio when not mute\n\t\t\t\tnew AudioLoader(\"audios/ding.wav\");\t\t\t\t\t//play now audio when spaceship as Vehicle\n\t\t\tbreak;\n\t\tcase KeyEvent.VK_UP:\n\t\t\tss.move(-2);\n\t\t\tif(!mute)\t\t\t\t\t\t\t\t\t\t\t\t//play audio when not mute\n\t\t\t\tnew AudioLoader(\"audios/ding.wav\");\t\t\t\t\t//play now audio when spaceship as Vehicle\n\t\t\tbreak;\n\t\tcase KeyEvent.VK_DOWN:\n\t\t\tss.move(2);\n\t\t\tif(!mute)\t\t\t\t\t\t\t\t\t\t\t\t//play audio when not mute\n\t\t\t\tnew AudioLoader(\"audios/ding.wav\");\t\t\t\t\t//play now audio when spaceship as Vehicle\n\t\t\tbreak;\t\t\n\t\tcase KeyEvent.VK_END :\n\t\t\tSystem.exit(0);\t\t\t\t\t\t\t\t\t\t//press key End to exit \n\t\t\tbreak;\n\t\tcase KeyEvent.VK_M:\n\t\t\tmute = !mute;\n\t\t\tbreak;\n\t\t}\n\t}", "@Override\n\t\t\tpublic void actionPerformed(final ActionEvent evt) {\n\t\t\t\tdoSendOff(1002);\n\t\t\t\tthirdSynthButtonOn.setEnabled(true);\n\t\t\t\tthirdSynthButtonOff.setEnabled(false);\n\t\t\t\tslider3.setEnabled(false);\n\t\t\t\tslider3.setValue(0);\n\t\t\t\ttextBox3.setEnabled(false);\n\t\t\t\ttextBox3.setText(\"0\");\n\t\t\t}", "public interface ISoundEffect {\n\n ResourceReference getSoundReference();\n\n boolean canRepeat();\n\n int getRepeatDelay();\n\n float getVolume();\n\n float getPitch();\n\n Vect3d getPosition();\n\n AttenuationType getAttenuationType();\n\n default void play() {\n Game.getClientHandler().getSoundHandler().playSound(this);\n }\n\n enum AttenuationType {\n NONE(0),\n LINEAR(2);\n\n private int type;\n\n AttenuationType(int type) {\n this.type = type;\n }\n\n public int getType() {\n return this.type;\n }\n }\n}", "public static void setForwardAcceleration(int acc) {\n LEFT_MOTOR.setAcceleration(acc);\n RIGHT_MOTOR.setAcceleration(acc);\n }", "public void setAudioDescriptor( AudioDescriptor audioDescriptor );", "@Override\n\tprotected void uGenerate(float[] channels) \n\t{\n\t\tif (!isTurnedOn)\n\t\t{\n\t\t\tfor(int i = 0; i < channelCount(); i++)\n\t\t\t{\n\t\t\t\tchannels[i] = beforeAmplitude*audio.getLastValues()[i];\n\t\t\t}\n\t\t}\n\t\t// after the envelope, just output the afterAmplitude*audio\n\t\telse if (timeFromOff > releaseTime)\n\t\t{\n\t\t\tfor(int i = 0; i < channelCount(); i++)\n\t\t\t{\n\t\t\t\tchannels[i] = afterAmplitude*audio.getLastValues()[i];\n\t\t\t}\t\n\t\t\tif ( unpatchAfterRelease )\n\t\t\t{\n\t\t\t if ( output != null )\n\t\t\t {\n\t\t\t unpatch( output );\n\t\t\t output = null;\n\t\t\t }\n\t\t\t if ( ugenOutput != null )\n\t\t\t {\n\t\t\t unpatch( ugenOutput );\n\t\t\t ugenOutput = null;\n\t\t\t }\n\t\t\t unpatchAfterRelease = false;\n\t\t\t}\n\t\t}\n\t\t// inside the envelope\n\t\telse\n\t\t{\n\t\t\tif ((isTurnedOn) && (!isTurnedOff))\n\t\t\t{\n\t\t\t\t// ATTACK\n\t\t\t\tif (timeFromOn <= attackTime)\n\t\t\t\t{\n\t\t\t\t\t// use time remaining until maxAmplitude to change amplitude\n\t\t\t\t\tfloat timeRemain = (attackTime - timeFromOn);\n\t\t\t\t\tamplitude += (maxAmplitude - amplitude)*timeStepSize/timeRemain;\t\t\t\t\n\t\t\t\t}\n\t\t\t\t// DECAY\n\t\t\t\telse if ((timeFromOn > attackTime) && (timeFromOn <= (attackTime+decayTime)))\n\t\t\t\t{\n\t\t\t\t\t// use time remaining until sustain to change to sustain level\n\t\t\t\t\tfloat timeRemain = (attackTime + decayTime - timeFromOn);\n\t\t\t\t\tamplitude += (sustainLevel*maxAmplitude - amplitude)*timeStepSize/timeRemain;\t\t\t\n\t\t\t\t}\n\t\t\t\t// SUSTAIN\n\t\t\t\telse if (timeFromOn > (attackTime+decayTime))\n\t\t\t\t{\n\t\t\t\t\t// hold the sustain level\n\t\t\t\t\tamplitude = sustainLevel*maxAmplitude;\n\t\t\t\t}\n\t\t\t\ttimeFromOn += timeStepSize;\n\t\t\t}\n\t\t\t// RELEASE\n\t\t\telse //isTurnedOn and isTurnedOFF and timeFromOff < releaseTime\n\t\t\t{\n\t\t\t\t// use remaining time to get to afterAmplitude\n\t\t\t\tfloat timeRemain = (releaseTime - timeFromOff);\n\t\t\t\tamplitude += (afterAmplitude - amplitude)*timeStepSize/timeRemain;\n\t\t\t\ttimeFromOff += timeStepSize;\n\t\t\t}\n\t\t\t// finally multiply the input audio to generate the output\n\t\t\tfor(int i = 0; i < channelCount(); i++)\n\t\t\t{\n\t\t\t\tchannels[i] = amplitude*audio.getLastValues()[i];\n\t\t\t}\t\t\n\t\t}\n\t}", "public void setSpeechDrpr(Float speechDrpr) {\n this.speechDrpr = speechDrpr;\n }", "public void generateTone()\n throws LineUnavailableException {\n if ( clip!=null ) {\n clip.stop();\n clip.close();\n } else {\n clip = AudioSystem.getClip();\n }\n boolean addHarmonic = harmonic.isSelected();\n\n int intSR = ((Integer)sampleRate.getSelectedItem()).intValue();\n int intFPW = framesPerWavelength.getValue();\n\n float sampleRate = (float)intSR;\n\n // oddly, the sound does not loop well for less than\n // around 5 or so, wavelengths\n int wavelengths = 20;\n byte[] buf = new byte[2*intFPW*wavelengths];\n AudioFormat af = new AudioFormat(\n sampleRate,\n 8, // sample size in bits\n 2, // channels\n true, // signed\n false // bigendian\n );\n\n int maxVol = 127;\n for(int i=0; i<intFPW*wavelengths; i++){\n double angle = ((float)(i*2)/((float)intFPW))*(Math.PI);\n buf[i*2]=getByteValue(angle);\n if(addHarmonic) {\n buf[(i*2)+1]=getByteValue(2*angle);\n } else {\n buf[(i*2)+1] = buf[i*2];\n }\n }\n\n try {\n byte[] b = buf;\n AudioInputStream ais = new AudioInputStream(\n new ByteArrayInputStream(b),\n af,\n buf.length/2 );\n\n clip.open( ais );\n } catch(Exception e) {\n e.printStackTrace();\n }\n }", "public void applyAngularImpulse (float impulse, boolean wake) {\n\t\tbody.applyAngularImpulse(impulse);\n\t}", "public void setMotorBehaviors(){\n motors = new ArrayList<>();\n motors.add(rf);\n motors.add(rb);\n motors.add(lf);\n motors.add(lb);\n\n //reset motor encoders\n rf.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n rb.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n lf.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n lb.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n lift.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n relic_extension.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n\n //Set motor behaviors\n rf.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n rf.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n rb.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n rb.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n lf.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n lf.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n lb.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n lb.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n rf.setDirection(DcMotorSimple.Direction.REVERSE);\n rb.setDirection(DcMotorSimple.Direction.REVERSE);\n relic_extension.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n relic_extension.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n relic_extension.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n lift.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n lift.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n lift.setMode(DcMotor.RunMode.RUN_TO_POSITION);\n lift.setDirection(DcMotorSimple.Direction.REVERSE);\n\n //Set servo behaviors\n leftWheel2.setDirection(DcMotorSimple.Direction.REVERSE);\n rightWheel1.setDirection(DcMotorSimple.Direction.REVERSE);\n\n }", "public abstract void voiceMessage(Message m);", "public void smoothMovePower(String movement, double power, double duration)\n {\n double startTime = getRuntime();\n switch(movement)\n {\n case \"forward\":\n runtime.reset();\n while (runtime.seconds() < duration)\n {\n robot.FL_drive.setPower(power);\n robot.FR_drive.setPower(power * -1);\n robot.BL_drive.setPower(power);\n robot.BR_drive.setPower(power * -1);\n }\n break;\n\n case \"backward\":\n runtime.reset();\n while (runtime.seconds() < duration)\n {\n robot.FL_drive.setPower(power * -1);\n robot.FR_drive.setPower(power);\n robot.BL_drive.setPower(power * -1);\n robot.BR_drive.setPower(power);\n }\n break;\n\n case \"right\":\n runtime.reset();\n while (runtime.seconds() < duration)\n {\n robot.FL_drive.setPower(power);\n robot.FR_drive.setPower(power);\n robot.BL_drive.setPower(power * -1);\n robot.BR_drive.setPower(power * -1);\n }\n break;\n\n case \"left\":\n runtime.reset();\n while (runtime.seconds() < duration)\n {\n robot.FL_drive.setPower(power * -1);\n robot.FR_drive.setPower(power * -1);\n robot.BL_drive.setPower(power);\n robot.BR_drive.setPower(power);\n }\n break;\n\n case \"leftTurn\":\n runtime.reset();\n while (runtime.seconds() < duration)\n {\n robot.FL_drive.setPower(power);\n robot.FR_drive.setPower(power);\n robot.BL_drive.setPower(power);\n robot.BR_drive.setPower(power);\n }\n break;\n\n case \"rightTurn\":\n runtime.reset();\n while (runtime.seconds() < duration)\n {\n robot.FL_drive.setPower(power * -1);\n robot.FR_drive.setPower(power * -1);\n robot.BL_drive.setPower(power * -1);\n robot.BR_drive.setPower(power * -1);\n }\n break;\n }\n }" ]
[ "0.6175119", "0.58480746", "0.5735963", "0.56986463", "0.56718105", "0.5340433", "0.5315627", "0.52851975", "0.52571577", "0.52494955", "0.5167493", "0.51343924", "0.5117341", "0.50725377", "0.5058832", "0.5040705", "0.5036658", "0.5018526", "0.4986352", "0.49591252", "0.49450243", "0.49221566", "0.49142367", "0.49019966", "0.4889665", "0.48802716", "0.48759845", "0.48675436", "0.4865561", "0.48646328", "0.4843398", "0.48340765", "0.48255476", "0.4824321", "0.48220614", "0.48053828", "0.48019662", "0.4775772", "0.476531", "0.4761812", "0.47488803", "0.4748306", "0.47111076", "0.4705155", "0.47033888", "0.46993187", "0.46951336", "0.46915463", "0.46772024", "0.46734992", "0.46608314", "0.46579063", "0.4650428", "0.46470293", "0.46438622", "0.46423358", "0.46391076", "0.46293002", "0.46250516", "0.46197602", "0.46196753", "0.46168512", "0.46151695", "0.46072894", "0.4606915", "0.4605164", "0.46028185", "0.45806098", "0.45804515", "0.45794246", "0.45743403", "0.4571858", "0.45687306", "0.45651996", "0.4554403", "0.45532084", "0.4551751", "0.4550322", "0.45445773", "0.4533711", "0.452733", "0.45262793", "0.45206153", "0.45203406", "0.45201954", "0.45178348", "0.4512412", "0.4505739", "0.45048562", "0.45025814", "0.45024887", "0.45008355", "0.45002988", "0.4487082", "0.44847283", "0.44828206", "0.44772908", "0.44723302", "0.4470247", "0.44686428", "0.44623867" ]
0.0
-1
Returns the value of one of the voice parameters. The available parameters are: "pitchShift", "doubleVoice","doubleVoiceLevel" and "doubleVoiceTimeShift"
public Float getParameter(String pParameterName) throws DynamicCallException, ExecutionException { return (Float)call("getParameter", pParameterName).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getVoice() throws DynamicCallException, ExecutionException {\n return (String)call(\"getVoice\").get();\n }", "public Voice getVoice ()\r\n {\r\n return voice;\r\n }", "public Future<String> getVoice() throws DynamicCallException, ExecutionException {\n return call(\"getVoice\");\n }", "public interface Voice {\n\n\t/**\n\t * Plays the specified text as synthesized audio.\n\t * @param text The text to speak.\n\t */\n\tpublic void speak(String text);\n\n\t/**\n\t * Sets the pitch of the voice.\n\t * @param pitch The new voice pitch.\n\t * @throws IllegalArgumentException If the specified voice\n\t * pitch is less than <tt>0</tt>.\n\t */\n\tpublic void setPitch(int pitch);\n\n\t/**\n\t * Sets the volume of the voice.\n\t * @param volume The new volume.\n\t * @throws IllegalArgumentException If the specified voice\n\t * volume is less than <tt>0</tt> or greater than <tt>100</tt>.\n\t */\n\tpublic void setVolume(int volume);\n\n\t/**\n\t * Sets the talk speed of the voice.\n\t * @param wpm The new talk speed in words per minute.\n\t * @throws IllegalArgumentException If the specified voice\n\t * speed is less than <tt>0</tt> or greater than <tt>999</tt>.\n\t */\n\tpublic void setSpeed(int wpm);\n\n}", "public void ResultVoiceIn(EventVoice event);", "speech.multilang.Params.OutputControllerParams getOutputParams();", "double getPitch();", "speech.multilang.Params.ScoringControllerParams.Type getType();", "speech.multilang.Params.OutputControllerParams.Type getType();", "public void ResultVoiceDialog(EventVoice event);", "public void voiceEvent(Voice voice)\r\n {\r\n voiceValue = voice.getVoice();\r\n\r\n getReturnPattern().addElement(voice);\r\n }", "float getPitch();", "float getPitch();", "speech.multilang.Params.ScoringControllerParams getScoringParams();", "public void setContactVoice(String contactVoice) {\n this.contactVoice = contactVoice;\n }", "public abstract void startVoiceRecognition(String language);", "public void ResultVoiceCoincidence(EventVoice event);", "speech.multilang.Params.ForwardingControllerParams.Type getType();", "speech.multilang.Params.DecisionPointParams.Type getType();", "void onAudioLevel(float level);", "int getInputVoltageRaw();", "public String speak(){\n speechOutput.clear();\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Just speak normally into your phone\");\n intent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, 10);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.ENGLISH);\n try {\n startActivityForResult(intent, VOICE_RECOGNITION);\n } catch (ActivityNotFoundException e) {\n e.printStackTrace();\n }\n\n\n return speechResult;\n }", "public String getSpeech() {\n\t\treturn speech;\n\t}", "public int getRemainingVoice() {\n return remainingVoice;\n }", "@DISPID(3) //= 0x3. The runtime will prefer the VTID if present\r\n @VTID(9)\r\n speech.types.SpeechAudioState state();", "public void setVoice(String pVoiceID) throws DynamicCallException, ExecutionException{\n call(\"setVoice\", pVoiceID).get();\n }", "speech.multilang.Params.DecisionPointParams getDecisionPointParams();", "private void setRecognizerParam(SettingParams params) {\n if (mRecognizer == null)\n return;\n //清空所以参数\n mRecognizer.setParameter(SpeechConstant.PARAMS, null);\n //设置听写引擎\n mRecognizer.setParameter(SpeechConstant.ENGINE_TYPE, SpeechConstant.TYPE_CLOUD);\n //设置返回结果格式\n mRecognizer.setParameter(SpeechConstant.RESULT_TYPE, \"json\");\n //设置标点符号 0:无标点 1:有标点\n mRecognizer.setParameter(SpeechConstant.ASR_PTT, \"0\");\n //设置语言\n mRecognizer.setParameter(SpeechConstant.LANGUAGE, params.getRecognizerLanguage());\n //设置发音\n mRecognizer.setParameter(SpeechConstant.ACCENT, params.getRecognizerAccent());\n //设置语音前端点:静音超时时间,即用户多长时间不说话则当做超时处理\n mRecognizer.setParameter(SpeechConstant.VAD_BOS, params.getRecognizerBOS() + \"\");\n //设置语音后端点:后端点静音检测时间,即用户停止说话多长时间内即认为不再输入, 自动停止录音\n mRecognizer.setParameter(SpeechConstant.VAD_EOS, params.getRecognizerEOS() + \"\");\n\n //open translate in english mode\n if (isEnglishEnvironment) {\n mRecognizer.setParameter(SpeechConstant.ASR_SCH, \"0\");\n mRecognizer.setParameter(SpeechConstant.ADD_CAP, \"translate\");\n mRecognizer.setParameter(SpeechConstant.TRS_SRC, \"its\");\n mRecognizer.setParameter(SpeechConstant.ORI_LANG, \"en\");\n mRecognizer.setParameter(SpeechConstant.TRANS_LANG, \"cn\");\n }\n }", "public void setDigitalVoiceValue(String value) {\n setBootenv(ENV_DIGIT_AUDIO, value);\n\n if (PCM.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"0\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_mute\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_on\");\n } else if (RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"1\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_off\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_unmute\");\n } else if (SPDIF_RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"1\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_off\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_unmute\");\n } else if (HDMI_RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"2\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_mute\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_on\");\n }\n }", "speech.multilang.Params.ForwardingControllerParams getForwardingParams();", "int getInputVoltage();", "public interface VoiceManager {\n\n void speak(int requestCode, int speechResourceId, Object... formatArgs);\n\n void speak(int requestCode, int speechResourceId);\n\n void listen(int requestCode);\n\n void shutdown();\n\n void setVoiceManagerListener(VoiceManagerImpl.VoiceManagerListener listener);\n}", "public float getWavelength() {\n/* 52 */ return this.wavelength;\n/* */ }", "public synchronized float getVoltage(){\n\t\t getData(REG_MMXCOMMAND, buf, 1);\n\t\t // 37 is the constant given by Mindsensors support 5/2011 to return millivolts. KPT\n return (37f*(buf[0]&0xff))*.001f;\n\t}", "public Rational getAudioSampleRate();", "public int getAudioDscp();", "public void onVoiceStart(int sampleRates) {\n }", "public String getPitch()\n\t{\n\t\treturn pitch.getText();\n\t}", "private void checkVoiceCommandPermission()\n {\n // Android 6 er uporer version gula te voice neoar capability ache, and they require permissions.\n // that's why we check first the SDK version is above 6 or not\n if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.M)\n {\n // jodi persmission pai voice er then\n if(!(ContextCompat.checkSelfPermission(SmartPlayerActivity.this, Manifest.permission.RECORD_AUDIO) == PackageManager.PERMISSION_GRANTED))\n {\n // we can start the activity\n Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS, Uri.parse(\"package:\" + getPackageName()));\n startActivity(intent);\n finish();\n }\n }\n }", "public int getAudioPort();", "boolean getRecordAudioPref();", "public void recordVoice() {\n\t\t\n\t\t//String command = \"ffmpeg -f alsa -i hw:0 -t 2 -acodec pcm_s16le -ar 16000 -ac 1 foo.wav\"\n\t\tString command = \"arecord -d 2 -r 22050 -c 1 -i -t wav -f s16_LE foo.wav\";\n\t\t\n\t\tProcessBuilder pb = new ProcessBuilder(\"bash\" , \"-c\" , command );\n\t\ttry {\n\t\t\t\n\t\t\tProcess recordProcess = pb.start();\n\t\t\t\n\t\t\trecordProcess.waitFor();\n\t\t\t\n\t\t\trecordProcess.destroy();\n\t\n\t\t\t\n\t\t}catch (IOException ioe) {\n\t\t\tioe.printStackTrace();\n\t\t\t\n\t\t}catch (InterruptedException ie) {\n\t\t\tie.printStackTrace();\n\t\t}\n\t\t\n\t}", "java.lang.String getParameterValue();", "public String getPitchAsString(){ return Integer.toString(this.pitch);}", "public int getAudioJittcomp();", "public Integer getSpeechmode() {\n return speechmode;\n }", "public Float getSpeechDrpr() {\n return speechDrpr;\n }", "@UML(identifier=\"voice\", obligation=OPTIONAL, specification=ISO_19115)\n Collection<String> getVoices();", "public String speak() {\n return \"WOOF\";\n }", "private void configureVoice(Voice voice) {\n voice.setPitch(configurator.getPitch());\n voice.setVolume(configurator.getVolume());\n voice.setRate(configurator.getRate());\n }", "private void speak() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM) ;\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Speak the Item\");\n\n startActivityForResult(intent, SPEECH_REQUEST_CODE);\n\n }", "private void setSynthesizerParam(SettingParams params) {\n if (mSynthesizer == null)\n return;\n //清除所有参数\n mSynthesizer.setParameter(SpeechConstant.PARAMS, null);\n //设置合成引擎\n mSynthesizer.setParameter(SpeechConstant.ENGINE_TYPE, SpeechConstant.TYPE_CLOUD);\n //设置音调\n mSynthesizer.setParameter(SpeechConstant.PITCH, \"50\");\n //设置播放器音频流类型\n mSynthesizer.setParameter(SpeechConstant.STREAM_TYPE, \"3\");\n //设置播放合成音频打断音乐播放,默认为true\n mSynthesizer.setParameter(SpeechConstant.KEY_REQUEST_FOCUS, \"true\");\n //设置合成发言人\n mSynthesizer.setParameter(SpeechConstant.VOICE_NAME, params.getVoiceName());\n //设置语速\n mSynthesizer.setParameter(SpeechConstant.SPEED, params.getVoiceSpeed() + \"\");\n //设置音量\n mSynthesizer.setParameter(SpeechConstant.VOLUME, params.getVoiceVolume() + \"\");\n }", "public String interact() {\n return sound;\n }", "public void setWavelength(float wavelength) {\n/* 61 */ this.wavelength = wavelength;\n/* */ }", "public String getContourRepresentaionOfVoice(final Voice voice);", "public void ResultVoiceOut(EventVoice event);", "public abstract void voiceMessage(Message m);", "public void speak(int word) {\n\t\n\tconditionLock.acquire();\n\t \n\t\twhile(speakerReady == true){\n\t\t\tcondLock.sleep();\n\t\t}\n\t\t//~ else{\n\t\t\tspeakerReady = true;\n\t\t\tdata = word;\n\t\t\n\t\t\tif(listenerReady){\n\t\t\t\n\t\t\t\tdata = word;\n\t\t\t\t\n\t\t\t\t//~ speakerReady = false;\n\t\t\t\t\n\t\t\t\tcondLock.wakeAll();\n\t\t\t}\n\t\t\telse{\n\t\t\t\tcondLock.sleep();\n\t\t\t\t\n\t\t\t\tdata = word;\n\t\t\t\t//~ speakerReady = false;\n\t\t\t}\n\t\t//~ }\n\t\t\n\t \n\tconditionLock.release();\n\t \n\t\n }", "public int getVoltage ()\n {\n return _voltage;\n }", "public Float getSpeechShoSrOut() {\n return speechShoSrOut;\n }", "public interface IEventVoiceHandler {\n /**\n * Retorna el resultado del evento VOICE_RESULT_DIALOG\n * @param event objeto de tipo EventVoice\n */\n public void ResultVoiceDialog(EventVoice event);\n /**\n * Retorna el resultado del evento VOICE_RESULT_OUT\n * @param event objeto de tipo EventVoice\n */\n public void ResultVoiceOut(EventVoice event);\n /**\n * Retorna el resultado del evento VOICE_RESULT_IN\n * @param event objeto de tipo EventVoice\n */\n public void ResultVoiceIn(EventVoice event);\n /**\n * Retorna el resultado del evento VOICE_RESULT_COINCIDENCE\n * @param event objeto de tipo EventVoice\n */\n public void ResultVoiceCoincidence(EventVoice event);\n}", "speech.multilang.Params.MultiRecognizerGrammarMatchList.MultiRecognizerGrammarMatch getGrammarMatch(int index);", "public void makeDecision(String speech , List<WordResult> speechWords) {\r\n\t\tVoiceManager vm =VoiceManager.getInstance();\r\n\t\tVoice voice;\r\n\t\tvoice=vm.getVoice(\"mbrola_us3\");\r\n\t\tvoice.allocate();\r\n\t\tSystem.out.println(speech);\r\n\t\t//System.out.println(speech+\"fdsf\");\r\n\t\t if(speech.equalsIgnoreCase(\"shutdown computer\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\" Shuting down the computer\");\r\n\t\t \tRuntime rm=Runtime.getRuntime();\r\n\t\t\t\ttry{\r\n\t\t\t\t\tProcess proc=rm.exec(\"shutdown -s -t 0\");\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e)\r\n\t\t\t\t{}\r\n\t\t\t\t\r\n\r\n\t\t \t}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"restart computer\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"restarting the computer\");\r\n\t\t \tRuntime rm=Runtime.getRuntime();\r\n\t\t\t\ttry{\r\n\t\t\t\t\tProcess proc=rm.exec(\"shutdown -r -t 0\");\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e)\r\n\t\t\t\t{}\r\n\t\t\t\t\r\n\t\t \t}\r\n\t\t \tcatch(Exception e)\r\n\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\t else if(speech.equalsIgnoreCase(\"who is smart\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"Abhay bhadouriya is smartest person alive in this world\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who is ugly\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"your sister and friends are the most ugliest persons in the world \");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"what is time\"))\r\n\t\t {\r\n\t\t \tDate dm=new Date();\r\n\t\t \tint h=dm.getHours();\r\n\t\t \tint m=dm.getMinutes();\r\n\t\t \tif(h>12)\r\n\t\t \t{\r\n\t\t \t\th=h-12;\r\n\t\t \t}\r\n\t\t \t\r\n\t\t \ttry {voice.speak(\"TIME is\"+h+\"Hour\"+m+\"Minutes\" );}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"say hello \"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"Hello this is your computer\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"please sleep\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"no i don't wont to sleep\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open facebook\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"facebook\");\r\n\t\t \t FUNC.facebook();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open google\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"google\");\r\n\t\t \t FUNC.google();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open youtube\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"youtube\");\r\n\t\t \t FUNC.youtube();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open gmail\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"gmail\");\r\n\t\t \t FUNC.gmail();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"play music\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"music\");\r\n\t\t \t FUNC.pmusic();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"volume up\"))\r\n\t\t {\r\n\t\t \tvoice.speak(\"volume increasing by 10\");\r\n\t\t \t\tvolume.up();\r\n\t\t \t\t\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"volume down\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t\t voice.speak(\"volume decreasing by 10\");\r\n\t \t\tvolume.down();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"show desktop\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"Showing desktop\");\r\n\t\t\t FUNC.desktop();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"how are you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"i'm fine and you \");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"what day is today\"))\r\n\t\t {\r\n\t\t\t Date dd=new Date();\r\n\t\t\t int i=dd.getDay();\r\n\t\t\t\tif(i==0)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is sunday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==1)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is monday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==2)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is tuesday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==3)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is wednesday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==4)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is thursday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==5)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is friday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==6)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is saturday\");\r\n\t\t\t\t}\r\n\t\t\t \r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to right\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.right();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to left\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.left();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to up\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t emotion.up();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to down\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.down();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"select this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.select();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"view its property\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.property();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"view item menu\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.viewmenu();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on mouse by keyboard\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.turnon();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close this window tab\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.close();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"switch window tab\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.switcht();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"ok dude take some rest\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t voice.speak(\"have a nice day\");\r\n\t\t\t voice.speak(\"i'm very lucky to have a master like you sir \");\r\n\t\t\t voice.speak(\"good night my suprier great master\");\r\n\t\t\t System.exit(0);\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn off wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on bluetooth\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t try{\r\n\t \t\t Process p ;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c fsquirt\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the notepad\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start notepad\");\r\n\t \t\t // System.out.println(\"inside\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t } else if(speech.equalsIgnoreCase(\"close the notepad\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im notepad.exe /f\");\r\n\t \t\t // System.out.println(\"inside\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the command\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t\t\tProcess p;\r\n\t \t\t\t\tp = Runtime.getRuntime().exec(\"cmd /c start cmd\");\t\t\t\t\r\n\t \t\t\t\t}catch(Exception er)\r\n\t \t\t\t\t{}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the command\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im cmd.exe /f\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the browser\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start chrome.exe\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the browser\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im chrome.exe /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the control panel\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c control\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the control panel\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c control taskkill /im control /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the paint\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start mspaint\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the paint\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im mspaint.exe /f\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the task manager\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start taskmgr.exe\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the task manager\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t \tp = Runtime.getRuntime().exec(\"cmd /c start taskkill /im taskmgr.exe /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open power option\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c powercfg.cpl\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open windows security center\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c wscui.cpl\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"copy this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok item is copied\");\r\n\t\t\t basiccontrolls.copy();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"paste here selected item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"item is pasted\");\r\n\t\t\t basiccontrolls.paste();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"cut this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok item is cut\");\r\n\t\t\t basiccontrolls.cut();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"go back\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok going to previous page\");\r\n\t\t\t basiccontrolls.back();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"show me my beautiful face\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"you look like a donkey\");\r\n\t\t\t basiccontrolls.camera();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who the hell are you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"hello\");\r\n\t\t\t voice.speak(\"i am computer \");\r\n\t\t\t voice.speak(\"here i'm assist by you \");\r\n\t\t\t voice.speak(\"i will do anything what ever you told me todo and \"+\" \"+\" what instruction are feeded in my dictionary\");\r\n\t\t\t voice.speak(\"Thank you for asking \");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who loves you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"no one loves me \");\r\n\t\t\t voice.speak(\"except my charger \");\r\n\t\t\t voice.speak(\"but more impoertantly i looks far handsome than you \");\r\n\t\t\t voice.speak(\"you peace of shit \");\r\n\t\t\t voice.speak(\"your face is look like a monkey\");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"do you like engineering\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"no\");\r\n\t\t\t voice.speak(\"I hate engineering\");\r\n\t\t\t voice.speak(\"you ruined my life \");\r\n\t\t }\r\n\t\t/* else if(speech.equalsIgnoreCase(\"turn off wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }*/\r\n\r\n\t}", "@java.lang.Override\n public int getSpeechEventTypeValue() {\n return speechEventType_;\n }", "int getOutputVoltageRaw();", "@Override\n public String speak()\n {\n return \"Neigh\";\n }", "public java.lang.Short getSipParamType() {\r\n return sipParamType;\r\n }", "public int /* sound_sample */output() {\n\t\treturn Vo;\n\t}", "public String getWavelength() {\n InstPhoenix inst = (InstPhoenix) _oe.getInstrument();\n return inst.getGratingWavelengthAsString();\n }", "public Voice(String name){\r\n this.name = name;\r\n }", "public float getPlaybackGainDb();", "@Override\n\tpublic String addVoice(String voiceFileName) throws Exception {\n\t\treturn null;\n\t}", "double getPlaybackSpeed();", "void speechToTextFuncVoiceForPurchase(Context context, EditText editText, int dataType, ImageView micImage, int valueforValidate) {\n if (Utility.getInstance().isOnline(mContext)) {\n int value = checkPermission(mContext, Manifest.permission.RECORD_AUDIO, RECORD_AUDIO_PERMISSION_REQUEST_CODE);\n if (value == 1) {\n mSpeechRecognizer = SpeechRecognizer.createSpeechRecognizer(mContext);\n mSpeechRecognizerIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n mSpeechRecognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n String languageCode = Utility.getInstance().getLanguage(mContext);\n // Locale current = getResources().getConfiguration().locale;\n if (languageCode.matches(langaugeCodeEnglish)) {\n mSpeechRecognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, \"en_US\");\n } else if (languageCode.matches(languageCodeMarathi)) {\n mSpeechRecognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, \"mr_IN\");\n } else {\n mSpeechRecognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, \"en_US\");\n setError(\"BaseFragmnet : speechToTextFunc Has problem\");\n }\n mSpeechRecognizer.setRecognitionListener(new RecognitionListener() {\n @Override\n public void onReadyForSpeech(Bundle params) {\n if (isVisible()) {\n micImage.setColorFilter(getResources().getColor(android.R.color.holo_green_light), PorterDuff.Mode.SRC_IN);\n if (editText != null) {\n editText.getBackground().setColorFilter(getResources().getColor(android.R.color.holo_green_light),\n PorterDuff.Mode.SRC_ATOP);\n }\n }\n }\n\n @Override\n public void onBeginningOfSpeech() {\n\n }\n\n @Override\n public void onRmsChanged(float rmsdB) {\n\n }\n\n @Override\n public void onBufferReceived(byte[] buffer) {\n\n }\n\n @Override\n public void onEndOfSpeech() {\n if (isVisible()) {\n micImage.setColorFilter(getResources().getColor(android.R.color.black), PorterDuff.Mode.SRC_IN);\n if (editText != null) {\n editText.getBackground().setColorFilter(getResources().getColor(android.R.color.black),\n PorterDuff.Mode.SRC_ATOP);\n }\n }\n }\n\n @Override\n public void onError(int error) {\n\n }\n\n @Override\n public void onResults(Bundle results) {\n if (isVisible()) {\n ArrayList<String> matches = results.getStringArrayList(SpeechRecognizer.RESULTS_RECOGNITION);\n if (matches.get(0).toString().toLowerCase().contains(getString(R.string.save).toString().toLowerCase())) {\n boolean valueStatus = validatePuchase();\n if (valueStatus) {\n createPurchaseRequest(flowpurchaseReceivedOrPaid);\n }\n } else if (matches.get(0).toString().toLowerCase().contains(getString(R.string.cancel_two).toString().toLowerCase())) {\n dialog.dismiss();\n dialog.dismiss();\n dialog.dismiss();\n if (textToSpeech != null) {\n textToSpeech.stop();\n }\n Toast.makeText(mContext, getString(R.string.transaction_cancelled), Toast.LENGTH_SHORT).show();\n speak(getString(R.string.transaction_cancelled), \"\");\n }\n if (editText != null) {\n if (dataType == 1) {\n editText.setText(matches.get(0));\n } else {\n for (int i = 0; i < matches.size(); i++) {\n if (matches.get(i).matches(\"^[0-9]*$\")) {\n editText.setText(matches.get(i));\n }\n }\n }\n\n\n //Ankur\n boolean valueValidate = validatePuchase();\n if (valueValidate) {\n speak(getString(R.string.please_say_save_or_cancel), \"\");\n new Handler().postDelayed(() -> {\n speechToTextFuncVoiceForPurchase(mContext, null, 3, imageviewMicSaveCancel, 2);\n }, 3000);\n }\n\n }\n }\n }\n\n @Override\n public void onPartialResults(Bundle partialResults) {\n\n }\n\n @Override\n public void onEvent(int eventType, Bundle params) {\n\n }\n });\n\n if (dialog.isShowing()) {\n mSpeechRecognizer.startListening(mSpeechRecognizerIntent);\n }\n } else if (value == 2) {\n displayNeverAskAgainDialog(mContext, getString(R.string.We_need_permission_Audio));\n }\n } else {\n Toast.makeText(context, getString(R.string.please_check_internet), Toast.LENGTH_SHORT).show();\n }\n }", "int getOutputVoltage();", "int getTelecommutePreferenceValue();", "private void ConvertTextToSpeech(String voice1) {\n text=voice1;\n //text = et.getText().toString();\n if (text == null || \"\".equals(text)) {\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n } else\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", "public Integer getSpeechThreshold() {\n return this.speechThreshold;\n }", "protected abstract void getPotentiometerValue(int value, int channelNo);", "@Override\n public void valueChanged(String control_val) {\n if (samplePlayer.isPaused()) {\n // our string will be hh:mm:ss.m\n try {\n String[] units = control_val.split(\":\"); //will break the string up into an array\n int hours = Integer.parseInt(units[0]); //first element\n int minutes = Integer.parseInt(units[1]); //second element\n float seconds = Float.parseFloat(units[2]); // thirsd element\n float audio_seconds = 360 * hours + 60 * minutes + seconds; //add up our values\n\n float audio_position = audio_seconds * 1000;\n setAudioSliderPosition(audio_position);\n } catch (Exception ex) {\n }\n }\n // Write your DynamicControl code above this line \n }", "public void speakModeHint()\n {\n // speak hint text\n if (getHintsEnabled()) {\n if (mCurrentMode) {\n AudioService.getInstance().speak(getResources().getString(R.string.read_mode_hint_general));\n }\n else {\n AudioService.getInstance().speak(getResources().getString(R.string.search_mode_hint_general));\n }\n }\n }", "@Override\n public String speak()\n {\n return \"peep\";\n }", "@Override\n public void onGetVoicePackage(byte[] pack, String getArgs) {\n }", "Parameter getParameter();", "public String getSpeechResult(String hypothesis){\n\n\n String[] arrayOfStrings = hypothesis.split(\"text\\\" :\");\n String textPredicted = arrayOfStrings[1];\n\n arrayOfStrings = textPredicted.split(\"\\\"\");\n textPredicted = arrayOfStrings[1];\n\n return textPredicted;\n }", "void playSpeech(String rawText);", "public String getParameter(String name) throws IllegalArgumentException {\n\t if ( LogWriter.needsLogging(LogWriter.TRACE_DEBUG))\n LogWriter.logMessage(LogWriter.TRACE_DEBUG, \"getParameter() \" \n\t\t+ name);\n Via via=(Via)sipHeader;\n \n if (name == null) throw new\n IllegalArgumentException(\"JAIN-EXCEPTION: null argument\");\n return via.getParameter(name);\n }", "String sound();", "public float getMicGainDb();", "String getOscTarget();", "double getPWMRate();", "public String getParameterValue(String key) {\n\t\treturn libraryParameter.get(key);\n\t}", "private AudioFormat getAudioFormat(String s)\n\t{\n float sampleRate = 16000.0F;\n int sampleSizeBits = 16;\n int channels = 1;\n boolean signed = true;\n boolean bigEndian = false;\n\n \n \n //examples:\n //swimwater1.wav: PCM_SIGNED 22050.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian\n //test.wav: PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian\n \n //store different aspects in differents strings\n String lastValue=\"\";\n String sampleRateString=\"\";\n String sampleSizeBitsString=\"\";\n String channelsString=\"\";\n String signedString=\"\";\n String bigEndianString=\"\";\n \n for (char ch : s.toCharArray())\n {\n //System.out.print(ch);\n \n if(ch!=',')//komma= nächste wert\n {\n \tif(ch!=' ')\n \t\tlastValue+=ch;\n }\n else\n {\n \tif(sampleRateString.isEmpty()) sampleRateString=lastValue;\n \telse if(sampleSizeBitsString.isEmpty()) sampleSizeBitsString=lastValue;\n \telse if(channelsString.isEmpty()) channelsString=lastValue;\n \telse if(signedString.isEmpty()) signedString=lastValue;\n \t\n \tlastValue=\"\";\n }\n }\n if(bigEndianString.isEmpty()) bigEndianString=lastValue;\n\n //interpret those strings\n\n //sampleRate\n String temp=\"\";\n for (char ch : sampleRateString.toCharArray())\n {\n if((ch>='0' && ch<='9'))\n {\n \ttemp+=ch;\n }\n else if(ch=='.')\n \tbreak;\n }\n sampleRate=(float)Integer.parseInt(temp);\n\n //sampleSizeBits\n temp=\"\";\n for (char ch : sampleSizeBitsString.toCharArray())\n {\n if(ch>='0' && ch<='9')\n {\n \ttemp+=ch;\n }\n }\n sampleSizeBits=Integer.parseInt(temp);\n\n //channels\n if(channelsString.contains(\"mono\"))\n \tchannels=1;\n else if(channelsString.contains(\"stereo\"))\n \tchannels=2;\n \n //signed\n signed=true;\n \n //bigEndian\n if(bigEndianString.contains(\"little-endian\"))\n \tbigEndian=false;\n else bigEndian=true;\n \n \n /*System.out.println();\n System.out.println(sampleRate);\n System.out.println(sampleSizeBits);\n System.out.println(channels);\n System.out.println(signed);\n System.out.println(bigEndian);*/\n \n return new AudioFormat(sampleRate, sampleSizeBits, channels, signed, bigEndian);\n }", "public Future<Void> setVoice(String pVoiceID) throws DynamicCallException, ExecutionException{\n return call(\"setVoice\", pVoiceID);\n }", "public void setVibrationOn() {\n\n }", "public interface VolumeControl\n{\n /**\n * The name of the configuration property which specifies the volume level\n * of audio input.\n */\n public final static String CAPTURE_VOLUME_LEVEL_PROPERTY_NAME\n = \"net.java.sip.communicator.service.media.CAPTURE_VOLUME_LEVEL\";\n\n /**\n * The name of the configuration property which specifies the volume level\n * of audio output.\n */\n public final static String PLAYBACK_VOLUME_LEVEL_PROPERTY_NAME\n = \"net.java.sip.communicator.service.media.PLAYBACK_VOLUME_LEVEL\";\n\n /**\n * Current volume value.\n * @return the current volume level.\n */\n public float getVolume();\n\n /**\n * Returns the minimum allowed volume value.\n * @return the minimum allowed volume value.\n */\n public float getMinValue();\n\n /**\n * Returns the maximum allowed volume value.\n * @return the maximum allowed volume value.\n */\n public float getMaxValue();\n\n /**\n * Changes volume level.\n * @param value the new level to set.\n * @return the actual level which was set.\n */\n public float setVolume(float value);\n\n /**\n * Mutes current sound playback.\n * @param mute mutes/unmutes playback.\n */\n public void setMute(boolean mute);\n\n /**\n * Get mute state of sound playback.\n * @return mute state of sound playback.\n */\n public boolean getMute();\n\n /**\n * Adds a <tt>VolumeChangeListener</tt> to be informed for any change\n * in the volume levels.\n *\n * @param listener volume change listener.\n */\n public void addVolumeChangeListener(VolumeChangeListener listener);\n\n /**\n * Removes a <tt>VolumeChangeListener</tt>.\n * @param listener the volume change listener to be removed.\n */\n public void removeVolumeChangeListener(VolumeChangeListener listener);\n}", "public Chord getPreviousChordInVoice ()\r\n {\r\n return voice.getPreviousChord(this);\r\n }", "public void speak(String text);", "String getExampleParameters();", "public abstract void grantVoice(String nickname);", "@java.lang.Override\n public int getSpeechEventTypeValue() {\n return speechEventType_;\n }" ]
[ "0.6458517", "0.6096142", "0.58445233", "0.57206106", "0.56691474", "0.5480875", "0.54434013", "0.5412369", "0.54046464", "0.5387539", "0.53852636", "0.53390574", "0.53390574", "0.5284837", "0.5249989", "0.5208773", "0.5204029", "0.51872665", "0.5185264", "0.5167931", "0.51586336", "0.5124162", "0.5115785", "0.5102934", "0.50939935", "0.5082425", "0.5079146", "0.50787187", "0.5045449", "0.5030234", "0.50106734", "0.5006325", "0.4994664", "0.49883503", "0.49863502", "0.49618015", "0.49577853", "0.4957503", "0.4952822", "0.49470758", "0.4939231", "0.49262872", "0.49095517", "0.4898012", "0.4885916", "0.48741862", "0.48737058", "0.48617125", "0.48599443", "0.485282", "0.48523247", "0.4846951", "0.48272976", "0.48104754", "0.48085657", "0.47920847", "0.47903615", "0.47587058", "0.47385153", "0.47361553", "0.47358966", "0.47350287", "0.4728191", "0.4699362", "0.46971902", "0.46845302", "0.46842492", "0.46764225", "0.4676318", "0.4669838", "0.4661949", "0.46576142", "0.4656399", "0.465455", "0.4651102", "0.4649501", "0.46471354", "0.4646457", "0.46415222", "0.4641141", "0.46379068", "0.46321812", "0.46227068", "0.4614644", "0.46145144", "0.4614051", "0.4599256", "0.45910394", "0.45878717", "0.45868927", "0.45788065", "0.45674425", "0.45628315", "0.45584327", "0.45518607", "0.4551189", "0.45508236", "0.45486963", "0.45445275", "0.454416", "0.45432356" ]
0.0
-1
Changes the voice used by the texttospeech engine. The voice identifier must belong to the installed voices, that can be listed using the 'getAvailableVoices' method. If the voice is not available, it remains unchanged. No exception is thrown in this case. For the time being, only two voices are available by default : Kenny22Enhanced (English voice) and Julie22Enhanced (French voice)
public void setVoice(String pVoiceID) throws DynamicCallException, ExecutionException{ call("setVoice", pVoiceID).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void changeVoice(String voice) throws IOException{\r\n\t\tFile failed = new File(\".festivalrc\");\r\n\t\t//If file does not exist, create new file\r\n\t\tif(!failed.exists()) {\r\n\t\t\tfailed.createNewFile();\r\n\t\t} \r\n\r\n\t\t//Appending the word to the file\r\n\t\tWriter output;\r\n\t\toutput = new BufferedWriter(new FileWriter(failed,false)); \r\n\t\toutput.append(\"(set! voice_default '\"+voice +\")\");\r\n\t\toutput.close();\r\n\t}", "public void setVoice (Voice voice)\r\n {\r\n // Already done?\r\n if (this.voice == null) {\r\n final String contextString = getContextString();\r\n logger.debug(\"{} Ch#{} setVoice {}\",\r\n contextString, id, voice.getId());\r\n\r\n this.voice = voice;\r\n\r\n // Update the voice entity\r\n if (!isWholeDuration()) {\r\n if (slot != null) {\r\n voice.setSlotInfo(\r\n slot,\r\n new VoiceChord(this, Voice.Status.BEGIN));\r\n }\r\n\r\n // Extend this info to other grouped chords if any\r\n BeamGroup group = getBeamGroup();\r\n\r\n if (group != null) {\r\n logger.debug(\r\n \"{} Ch#{} extending voice#{} to group#{}\",\r\n contextString, id, voice.getId(), group.getId());\r\n\r\n group.setVoice(voice);\r\n }\r\n\r\n // Extend to the following tied chords as well\r\n List<Chord> tied = getFollowingTiedChords();\r\n\r\n for (Chord chord : tied) {\r\n logger.debug(\"{} tied to {}\", this, chord);\r\n\r\n // Check the tied chords belong to the same measure\r\n if (this.getMeasure() == chord.getMeasure()) {\r\n logger.debug(\r\n \"{} Ch#{} extending voice#{} to tied chord#{}\",\r\n contextString, id, voice.getId(), chord.getId());\r\n\r\n chord.setVoice(voice);\r\n } else {\r\n // Chords tied across measure boundary\r\n logger.debug(\"{} Cross tie {} -> {}\",\r\n contextString,\r\n toShortString(), chord.toShortString());\r\n }\r\n }\r\n }\r\n } else if (this.voice != voice) {\r\n addError(\r\n \"Chord. Attempt to reassign voice from \" + this.voice.\r\n getId()\r\n + \" to \" + voice.getId() + \" in \" + this);\r\n } else {\r\n if (!isWholeDuration()) {\r\n if (slot != null) {\r\n voice.setSlotInfo(\r\n slot,\r\n new VoiceChord(this, Voice.Status.BEGIN));\r\n }\r\n }\r\n }\r\n }", "public interface Voice {\n\n\t/**\n\t * Plays the specified text as synthesized audio.\n\t * @param text The text to speak.\n\t */\n\tpublic void speak(String text);\n\n\t/**\n\t * Sets the pitch of the voice.\n\t * @param pitch The new voice pitch.\n\t * @throws IllegalArgumentException If the specified voice\n\t * pitch is less than <tt>0</tt>.\n\t */\n\tpublic void setPitch(int pitch);\n\n\t/**\n\t * Sets the volume of the voice.\n\t * @param volume The new volume.\n\t * @throws IllegalArgumentException If the specified voice\n\t * volume is less than <tt>0</tt> or greater than <tt>100</tt>.\n\t */\n\tpublic void setVolume(int volume);\n\n\t/**\n\t * Sets the talk speed of the voice.\n\t * @param wpm The new talk speed in words per minute.\n\t * @throws IllegalArgumentException If the specified voice\n\t * speed is less than <tt>0</tt> or greater than <tt>999</tt>.\n\t */\n\tpublic void setSpeed(int wpm);\n\n}", "public void setContactVoice(String contactVoice) {\n this.contactVoice = contactVoice;\n }", "public Future<Void> setVoice(String pVoiceID) throws DynamicCallException, ExecutionException{\n return call(\"setVoice\", pVoiceID);\n }", "public interface VoiceManager {\n\n void speak(int requestCode, int speechResourceId, Object... formatArgs);\n\n void speak(int requestCode, int speechResourceId);\n\n void listen(int requestCode);\n\n void shutdown();\n\n void setVoiceManagerListener(VoiceManagerImpl.VoiceManagerListener listener);\n}", "private void setupChangeVoice() {\n\t\tFestivalVoice[] voices={FestivalVoice.Kiwi, FestivalVoice.British, FestivalVoice.American};\n\t\tfinal JComboBox voice_chooser = new JComboBox(voices);\n\t\tvoice_chooser.setFont(new Font(\"Arial\", Font.PLAIN, 20));\n\t\tvoice_chooser.setForeground(Color.BLACK);\n\t\tvoice_chooser.setBackground(Color.WHITE);\n\n\t\t//set shown item to be the current voice\n\t\tvoice_chooser.setSelectedItem(parent_frame.getFestival().getFestivalVoice());\n\t\tvoice_chooser.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tinput_from_user.requestFocusInWindow();//gets focus back to the spell here field\n\t\t\t\tif((FestivalVoice)voice_chooser.getSelectedItem()!=null){\n\t\t\t\t\tparent_frame.getFestival().setFestivalVoice((FestivalVoice)voice_chooser.getSelectedItem());\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tvoice_chooser.setBounds(919, 600, 154, 40);\n\t\tadd(voice_chooser);\n\t}", "private void ConvertTextToSpeech(String voice1) {\n text=voice1;\n //text = et.getText().toString();\n if (text == null || \"\".equals(text)) {\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n } else\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", "private void configureVoice(Voice voice) {\n voice.setPitch(configurator.getPitch());\n voice.setVolume(configurator.getVolume());\n voice.setRate(configurator.getRate());\n }", "public void startVoiceRecognition() {\n startVoiceRecognition(null);\n }", "public abstract void startVoiceRecognition(String language);", "public void setRemainingVoice(int value) {\n this.remainingVoice = value;\n }", "public Voice getVoice ()\r\n {\r\n return voice;\r\n }", "private void speak() {\n if(textToSpeech != null && textToSpeech.isSpeaking()) {\n textToSpeech.stop();\n }else{\n textToSpeech = new TextToSpeech(activity, this);\n }\n }", "public String getVoice() throws DynamicCallException, ExecutionException {\n return (String)call(\"getVoice\").get();\n }", "public abstract void grantVoice(String nickname);", "private void setTextTospeech() {\n textToSpeech = new TextToSpeech(mContext, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n Set<Locale> languages = textToSpeech.getAvailableLanguages();\n if (language.toLowerCase().contains(langaugeCodeEnglish)) {\n int result = textToSpeech.setLanguage(new Locale(\"en\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n //Toast.makeText(mContext, result + \" is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n }\n } else {\n int result = textToSpeech.setLanguage(new Locale(\"hi\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n result = textToSpeech.setLanguage(Locale.forLanguageTag(\"hin\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n\n // Toast.makeText(mContext, result + \"Language is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \"Language is not supported\");\n }\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n if (result == TextToSpeech.LANG_NOT_SUPPORTED) {\n showTtsLanuageNSDialog();\n }\n }\n }\n }\n });\n }", "public Future<String> getVoice() throws DynamicCallException, ExecutionException {\n return call(\"getVoice\");\n }", "private void speak() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM) ;\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Speak the Item\");\n\n startActivityForResult(intent, SPEECH_REQUEST_CODE);\n\n }", "public void setDigitalVoiceValue(String value) {\n setBootenv(ENV_DIGIT_AUDIO, value);\n\n if (PCM.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"0\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_mute\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_on\");\n } else if (RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"1\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_off\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_unmute\");\n } else if (SPDIF_RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"1\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_off\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_unmute\");\n } else if (HDMI_RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"2\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_mute\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_on\");\n }\n }", "@Override\n\tpublic String addVoice(String voiceFileName) throws Exception {\n\t\treturn null;\n\t}", "private void startVoiceRecognitionActivity() {\n\t\t// Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\t\t// intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n\t\t// RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n\t\t// intent.putExtra(RecognizerIntent.EXTRA_PROMPT,\n\t\t// \"Diga o valor do produto\");\n\t\t// intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_PREFERENCE, \"pt-BR\");\n\t\t// // intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_PREFERENCE,\n\t\t// \"en-US\");\n\t\t// intent.putExtra(RecognizerIntent.EXTRA_ONLY_RETURN_LANGUAGE_PREFERENCE,\n\t\t// true);\n\t\t// startActivityForResult(intent, VOICE_RECOGNITION_REQUEST_CODE);\n\t\tUtils.startVoiceRecognitionActivity(this, Utils.nomeProdutoMessage);\n\t}", "public ApplicationCreator setVoiceUrl(final String voiceUrl) {\n return setVoiceUrl(Promoter.uriFromString(voiceUrl));\n }", "private void ConvertTextToSpeech() {\n if (properties.get(selectedStateOrCountry) != null) {\n tts.speak(String.format(\"This is %s %s\", selectedStateOrCountry, properties.get(selectedStateOrCountry)),\n TextToSpeech.QUEUE_FLUSH, null);\n\n } else if (countryCapitalMap.get(selectedStateOrCountry) != null) {\n tts.speak(countryCapitalMap.get(selectedStateOrCountry), TextToSpeech.QUEUE_FLUSH, null);\n } else {\n tts.speak(selectedStateOrCountry, TextToSpeech.QUEUE_FLUSH, null);\n }\n }", "public static void speak(Context context, final String text) {\n Log.d(TAG, \"Speak : \" + text);\n if (mTTSEngine == null) {\n mTTSEngine = new TextToSpeech(context, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int i) {\n if (i == TextToSpeech.SUCCESS) {\n mTTSEngine.setLanguage(Locale.US);\n mTTSEngine.setPitch(1f);\n mTTSEngine.setSpeechRate(1f);\n\n mTTSEngine.speak(text, TextToSpeech.QUEUE_ADD, null, UTTERANCE_ID);\n } else {\n mTTSEngine = null;\n }\n }\n });\n } else {\n mTTSEngine.speak(text, TextToSpeech.QUEUE_ADD, null, UTTERANCE_ID);\n }\n }", "public void addSentVoice(Voice voice) {\n this.getState().sentVoice(voice);\n }", "public void onSpeak(View v)\n\t{\n\t\tstartVoiceRecognitionActivity();\n\t}", "public void ResultVoiceIn(EventVoice event);", "public Voice(String name){\r\n this.name = name;\r\n }", "private void startVoiceRecognitionActivity() {\n\t\tIntent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\t\tintent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n\t\tintent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"What food are you stocking right now?\");\n\t\tstartActivityForResult(intent, SPEECH_REQCODE);\n\t}", "public void setApplicationContext(Context cx)\n {\n context = new WeakReference<>(cx);\n\n if(context.get() != null && voices == null)\n {\n // Create an array with uri:s\n voices = new Uri[VoiceID.VID_MAX_NUM_ENUMS.ordinal()];\n\n // And create these only once\n voices[VoiceID.VID_WELCOME_TO_THE_NEWSPAPER.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p001);\n voices[VoiceID.VID_ONE_MOMENT_NEWSPAPER_LOADING.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p002);\n voices[VoiceID.VID_CONTINUING.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p004);\n voices[VoiceID.VID_PAUSING.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p005);\n voices[VoiceID.VID_NEXT_ARTICLE.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p006);\n voices[VoiceID.VID_PREVIOUS_ARTICLE.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p007);\n voices[VoiceID.VID_NEXT_NEWSPAPER.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p008);\n voices[VoiceID.VID_PREVIOUS_NEWSPAPER.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p009);\n voices[VoiceID.VID_YOU_HAVE_REACHED_THE_END_OF_THE_NEWSPAPER.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p013);\n }\n }", "public void onClick(View v) {\n speechRecognizer.startListening(speechRecognizerIntent);\n Toast.makeText( getActivity(),\"Voice\", Toast.LENGTH_SHORT).show();\n }", "@Override\n public void onClick(View v) {\n text_to_speech = set_voice(text_to_speech);\n int len = ar.length;\n for (int i = 0; i < len; i++){\n speak(text_to_speech,ar[i]);\n }\n }", "private void convertTextToSpeech(String text) {\n if (null == text || \"\".equals(text)) {\n text = \"Please give some input.\";\n }\n m_tts.speak(text, TextToSpeech.QUEUE_ADD, null);\n }", "public void ResultVoiceDialog(EventVoice event);", "public interface ITextToSpeech {\n\n /* loaded from: classes.dex */\n public interface TextToSpeechCallback {\n void onFailure();\n\n void onSuccess();\n }\n\n boolean isInitialized();\n\n int isLanguageAvailable(Locale locale);\n\n void onDestroy();\n\n void onResume();\n\n void onStop();\n\n void setPitch(float f);\n\n void setSpeechRate(float f);\n\n void speak(String str, Locale locale);\n}", "public String speak(){\n speechOutput.clear();\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Just speak normally into your phone\");\n intent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, 10);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.ENGLISH);\n try {\n startActivityForResult(intent, VOICE_RECOGNITION);\n } catch (ActivityNotFoundException e) {\n e.printStackTrace();\n }\n\n\n return speechResult;\n }", "public Future<Void> setLanguageDefaultVoice(String Language, String Voice) throws DynamicCallException, ExecutionException{\n return call(\"setLanguageDefaultVoice\", Language, Voice);\n }", "public void speakButtonClicked(View v)\n {\n startVoiceRecognitionActivity();\n }", "public void addSentVoice(Voice voice) {\n\t\taddCommunicationSent(voice);\n\t}", "public ApplicationCreator setVoiceUrl(final URI voiceUrl) {\n this.voiceUrl = voiceUrl;\n return this;\n }", "private void init() {\n if (!isInitiated) {\n //Voices use by freeTTS, we define where they are, currently in the java en_us.jar\n //add the package\n addToSystemesPropetites(this.configurator.getLocation());\n\n // The VoiceManager manages all the voices for FreeTTS.\n voiceManager = VoiceManager.getInstance();\n\n this.defaultVoice = voiceManager.getVoice(this.configurator.getName());\n\n configureVoice(this.defaultVoice);\n\n // Allocates the resources for the voice.\n this.defaultVoice.allocate();\n isInitiated = true;\n }\n }", "public void setVoiceEffect(int effectIndex) {\n mRtcEngine.setAudioEffectPreset(VOICE_EFFECTS[effectIndex]);\n }", "private void updateVoiceNumberField() {\n if (mSubMenuVoicemailSettings == null) {\n return;\n }\n \n mOldVmNumber = mPhone.getVoiceMailNumber();\n if (mOldVmNumber == null) {\n mOldVmNumber = \"\";\n }\n mSubMenuVoicemailSettings.setPhoneNumber(mOldVmNumber);\n final String summary = (mOldVmNumber.length() > 0) ? mOldVmNumber :\n getString(R.string.voicemail_number_not_set);\n mSubMenuVoicemailSettings.setSummary(summary);\n }", "@UML(identifier=\"voice\", obligation=OPTIONAL, specification=ISO_19115)\n Collection<String> getVoices();", "void playSpeech(String rawText);", "public void speak(String text);", "private void listenVoiceCall() {\n final String username = MyAccount.getInstance().getName();\n final String topic = String.format(\"voice/%s\", username);\n new Subscriber(topic, username)\n .setNewMessageListener(new SubscribedTopicListener() {\n @Override\n public void onReceive(DataTransfer message) {\n String action = message.data.toString();\n switch (action) {\n case Constants.VOICE_REQUEST:\n onReceiveVoiceRequest(message);\n break;\n\n case Constants.VOICE_ACCEPT:\n hideCallingPane();\n onReceiveVoiceAccept(message);\n break;\n\n case Constants.VOICE_REJECT:\n hideCallingPane();\n onReceiveVoiceReject(message);\n break;\n\n case Constants.VOICE_QUIT:\n onReceiveVoiceQuit(message);\n\n }\n }\n })\n .listen();\n }", "public void makeDecision(String speech , List<WordResult> speechWords) {\r\n\t\tVoiceManager vm =VoiceManager.getInstance();\r\n\t\tVoice voice;\r\n\t\tvoice=vm.getVoice(\"mbrola_us3\");\r\n\t\tvoice.allocate();\r\n\t\tSystem.out.println(speech);\r\n\t\t//System.out.println(speech+\"fdsf\");\r\n\t\t if(speech.equalsIgnoreCase(\"shutdown computer\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\" Shuting down the computer\");\r\n\t\t \tRuntime rm=Runtime.getRuntime();\r\n\t\t\t\ttry{\r\n\t\t\t\t\tProcess proc=rm.exec(\"shutdown -s -t 0\");\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e)\r\n\t\t\t\t{}\r\n\t\t\t\t\r\n\r\n\t\t \t}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"restart computer\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"restarting the computer\");\r\n\t\t \tRuntime rm=Runtime.getRuntime();\r\n\t\t\t\ttry{\r\n\t\t\t\t\tProcess proc=rm.exec(\"shutdown -r -t 0\");\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e)\r\n\t\t\t\t{}\r\n\t\t\t\t\r\n\t\t \t}\r\n\t\t \tcatch(Exception e)\r\n\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\t else if(speech.equalsIgnoreCase(\"who is smart\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"Abhay bhadouriya is smartest person alive in this world\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who is ugly\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"your sister and friends are the most ugliest persons in the world \");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"what is time\"))\r\n\t\t {\r\n\t\t \tDate dm=new Date();\r\n\t\t \tint h=dm.getHours();\r\n\t\t \tint m=dm.getMinutes();\r\n\t\t \tif(h>12)\r\n\t\t \t{\r\n\t\t \t\th=h-12;\r\n\t\t \t}\r\n\t\t \t\r\n\t\t \ttry {voice.speak(\"TIME is\"+h+\"Hour\"+m+\"Minutes\" );}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"say hello \"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"Hello this is your computer\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"please sleep\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"no i don't wont to sleep\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open facebook\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"facebook\");\r\n\t\t \t FUNC.facebook();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open google\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"google\");\r\n\t\t \t FUNC.google();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open youtube\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"youtube\");\r\n\t\t \t FUNC.youtube();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open gmail\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"gmail\");\r\n\t\t \t FUNC.gmail();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"play music\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"music\");\r\n\t\t \t FUNC.pmusic();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"volume up\"))\r\n\t\t {\r\n\t\t \tvoice.speak(\"volume increasing by 10\");\r\n\t\t \t\tvolume.up();\r\n\t\t \t\t\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"volume down\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t\t voice.speak(\"volume decreasing by 10\");\r\n\t \t\tvolume.down();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"show desktop\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"Showing desktop\");\r\n\t\t\t FUNC.desktop();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"how are you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"i'm fine and you \");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"what day is today\"))\r\n\t\t {\r\n\t\t\t Date dd=new Date();\r\n\t\t\t int i=dd.getDay();\r\n\t\t\t\tif(i==0)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is sunday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==1)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is monday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==2)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is tuesday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==3)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is wednesday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==4)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is thursday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==5)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is friday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==6)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is saturday\");\r\n\t\t\t\t}\r\n\t\t\t \r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to right\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.right();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to left\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.left();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to up\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t emotion.up();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to down\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.down();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"select this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.select();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"view its property\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.property();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"view item menu\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.viewmenu();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on mouse by keyboard\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.turnon();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close this window tab\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.close();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"switch window tab\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.switcht();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"ok dude take some rest\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t voice.speak(\"have a nice day\");\r\n\t\t\t voice.speak(\"i'm very lucky to have a master like you sir \");\r\n\t\t\t voice.speak(\"good night my suprier great master\");\r\n\t\t\t System.exit(0);\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn off wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on bluetooth\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t try{\r\n\t \t\t Process p ;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c fsquirt\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the notepad\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start notepad\");\r\n\t \t\t // System.out.println(\"inside\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t } else if(speech.equalsIgnoreCase(\"close the notepad\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im notepad.exe /f\");\r\n\t \t\t // System.out.println(\"inside\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the command\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t\t\tProcess p;\r\n\t \t\t\t\tp = Runtime.getRuntime().exec(\"cmd /c start cmd\");\t\t\t\t\r\n\t \t\t\t\t}catch(Exception er)\r\n\t \t\t\t\t{}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the command\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im cmd.exe /f\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the browser\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start chrome.exe\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the browser\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im chrome.exe /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the control panel\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c control\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the control panel\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c control taskkill /im control /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the paint\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start mspaint\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the paint\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im mspaint.exe /f\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the task manager\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start taskmgr.exe\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the task manager\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t \tp = Runtime.getRuntime().exec(\"cmd /c start taskkill /im taskmgr.exe /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open power option\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c powercfg.cpl\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open windows security center\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c wscui.cpl\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"copy this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok item is copied\");\r\n\t\t\t basiccontrolls.copy();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"paste here selected item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"item is pasted\");\r\n\t\t\t basiccontrolls.paste();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"cut this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok item is cut\");\r\n\t\t\t basiccontrolls.cut();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"go back\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok going to previous page\");\r\n\t\t\t basiccontrolls.back();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"show me my beautiful face\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"you look like a donkey\");\r\n\t\t\t basiccontrolls.camera();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who the hell are you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"hello\");\r\n\t\t\t voice.speak(\"i am computer \");\r\n\t\t\t voice.speak(\"here i'm assist by you \");\r\n\t\t\t voice.speak(\"i will do anything what ever you told me todo and \"+\" \"+\" what instruction are feeded in my dictionary\");\r\n\t\t\t voice.speak(\"Thank you for asking \");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who loves you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"no one loves me \");\r\n\t\t\t voice.speak(\"except my charger \");\r\n\t\t\t voice.speak(\"but more impoertantly i looks far handsome than you \");\r\n\t\t\t voice.speak(\"you peace of shit \");\r\n\t\t\t voice.speak(\"your face is look like a monkey\");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"do you like engineering\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"no\");\r\n\t\t\t voice.speak(\"I hate engineering\");\r\n\t\t\t voice.speak(\"you ruined my life \");\r\n\t\t }\r\n\t\t/* else if(speech.equalsIgnoreCase(\"turn off wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }*/\r\n\r\n\t}", "public void setReportVoice(boolean reportVoice) {\n\t\tthis.reportVoice = reportVoice;\n\t}", "public void setLanguageDefaultVoice(String Language, String Voice) throws DynamicCallException, ExecutionException{\n call(\"setLanguageDefaultVoice\", Language, Voice).get();\n }", "protected void setupAudio(Engine engine, SceneManager sceneManager, Invocable invocableEngine) {\n\t\tsetupAudio = new File(\"setupAudio.js\");\n\t\tjsEngine.put(\"currentSong\", currentSong);\n\t\tjsEngine.put(\"music\", music);\n\t\tjsEngine.put(\"sfx\", sfx);\n\t\tthis.runScript(jsEngine, setupAudio);\n\t\ttry {\n\t\t\tinvocableEngine.invokeFunction(\"setupAudio\", this);\n\n\t\t} catch (ScriptException e1) {\n\t\t\tSystem.out.println(\"ScriptException in \" + setupAudio + e1);\n\t\t} catch (NoSuchMethodException e2) {\n\t\t\tSystem.out.println(\"No such method in \" + setupAudio + e2);\n\t\t} catch (NullPointerException e3) {\n\t\t\tSystem.out.println(\"Null pointer exception reading \" + setupAudio + e3);\n\t\t}\n\t\tmusic = (Sound[]) jsEngine.get(\"music\");\n\t\tsfx = (Sound[]) jsEngine.get(\"sfx\");\n\t}", "@ReactMethod\n public void setAudioDevice(final String device) {\n runInAudioThread(new Runnable() {\n @Override\n public void run() {\n if (!availableDevices.contains(device)) {\n JitsiMeetLogger.w(TAG + \" Audio device not available: \" + device);\n userSelectedDevice = null;\n return;\n }\n\n if (mode != -1) {\n JitsiMeetLogger.i(TAG + \" User selected device set to: \" + device);\n userSelectedDevice = device;\n updateAudioRoute(mode, false);\n }\n }\n });\n }", "public interface VoiceActivityDetectorListener {\n void onVoiceActivityDetected();\n void onNoVoiceActivityDetected();\n}", "public void addVoice(String theOrderToAdd){\n System.out.println(\"Méthode à implémenter pour ajouter les voices\");\r\n\r\n }", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent(\n\t\t\t\t\t\tRecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\n\t\t\t\tintent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, \"en-US\");\n\n\t\t\t\ttry {\n\t\t\t\t\tstartActivityForResult(intent, RESULT_SPEECH);\n\t\t\t\t\tet1.setText(\"\");\n\t\t\t\t} catch (ActivityNotFoundException a) {\n\t\t\t\t\tToast t = Toast.makeText(getApplicationContext(),\n\t\t\t\t\t\t\t\"Opps! Your device doesn't support Speech to Text\",\n\t\t\t\t\t\t\tToast.LENGTH_SHORT);\n\t\t\t\t\tt.show();\n\t\t\t\t}\n\t\t\t\t\n\n\t\t\t}", "void onVoiceImeEnabledStatusChange();", "public abstract void revokeVoice(String nickname);", "public interface IEventVoiceHandler {\n /**\n * Retorna el resultado del evento VOICE_RESULT_DIALOG\n * @param event objeto de tipo EventVoice\n */\n public void ResultVoiceDialog(EventVoice event);\n /**\n * Retorna el resultado del evento VOICE_RESULT_OUT\n * @param event objeto de tipo EventVoice\n */\n public void ResultVoiceOut(EventVoice event);\n /**\n * Retorna el resultado del evento VOICE_RESULT_IN\n * @param event objeto de tipo EventVoice\n */\n public void ResultVoiceIn(EventVoice event);\n /**\n * Retorna el resultado del evento VOICE_RESULT_COINCIDENCE\n * @param event objeto de tipo EventVoice\n */\n public void ResultVoiceCoincidence(EventVoice event);\n}", "public static void voice(NetSocket socket) {\n String data = \"CS01*868807049006736*0008*VOICE,20190814114414I4021,3,3\";\n String deviceId = \"868807049006736\";\n send(socket, data, deviceId);\n }", "private void speak() {\n String s = textArea.getText();\n String s5=\"images\\\\\";\n String s4=\".jpeg\";\n String obj=s5+s+s4;\n ImageIcon ic1=new ImageIcon(obj);\n Image image1=ic1.getImage().getScaledInstance(image.getWidth(),image.getHeight(),Image.SCALE_AREA_AVERAGING);\n ImageIcon icon1=new ImageIcon(image1);\n image.setIcon(icon1);\n int i = textArea.getCaretPosition();\n int k = s.length();\n for (int j = i; j <= k - 1; j++) {\n char c = s.charAt(j);\n String s3 = Character.toString(c);\n s2 = s2 + s3;\n }\n VoiceManager voiceManager = VoiceManager.getInstance();\n helloVoice = voiceManager.getVoice(\"kevin16\");\n helloVoice.allocate();\n helloVoice.speak(s2);\n helloVoice.deallocate();\n playB.setText(\"PLAY\");\n }", "@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)\n private void speakWords(String speech) {\n myTTS.speak (speech, TextToSpeech.QUEUE_FLUSH, null,\"1\");\n\n }", "public void addReceivedVoice(Voice voice) {\n this.getState().receivedVoice(voice);\n }", "private void speak(String s, String text) {\n if (Utility.getInstance().isOnline(mContext)) {\n try {\n float pitch = (float) 0.62;\n float speed = (float) 0.86;\n textToSpeech.setSpeechRate(speed);\n textToSpeech.setPitch(pitch);\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n Bundle bundle = new Bundle();\n bundle.putInt(TextToSpeech.Engine.KEY_PARAM_STREAM, AudioManager.STREAM_MUSIC);\n textToSpeech.speak(s, TextToSpeech.QUEUE_FLUSH, bundle, null);\n textToSpeech.speak(text, TextToSpeech.QUEUE_ADD, bundle, null);\n } else {\n HashMap<String, String> param = new HashMap<>();\n param.put(TextToSpeech.Engine.KEY_PARAM_STREAM, String.valueOf(AudioManager.STREAM_MUSIC));\n textToSpeech.speak(s, TextToSpeech.QUEUE_FLUSH, param);\n textToSpeech.speak(text, TextToSpeech.QUEUE_ADD, param);\n }\n } catch (Exception ae) {\n ae.printStackTrace();\n }\n } else {\n Toast.makeText(mContext, getString(R.string.please_check_internet), Toast.LENGTH_SHORT).show();\n }\n }", "public ApplicationCreator setVoiceMethod(final HttpMethod voiceMethod) {\n this.voiceMethod = voiceMethod;\n return this;\n }", "public void voiceEvent(Voice voice)\r\n {\r\n voiceValue = voice.getVoice();\r\n\r\n getReturnPattern().addElement(voice);\r\n }", "public void onVoiceEnd() {\n }", "private void startVoiceRecognitionActivity()\n\t{\n\t\tSystem.out.println(\"Starting activity lel\");\n\t\tIntent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\t\tintent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n\t\t\t\tRecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n\t\tintent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Voice recognition Demo...\");\n\t\tstartActivityForResult(intent, VOICE_REQUEST_CODE);\n\t}", "private void startVoiceRecognitionActivity()\n {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Voice recognition Demo...\");\n startActivityForResult(intent, REQUEST_CODE);\n }", "public void speakText(String text) {\n mTTS.setPitch(1);\n mTTS.setSpeechRate(1);\n mTTS.speak(String.format(\"Okay! Searching for %s\", text),\n TextToSpeech.QUEUE_FLUSH, null);\n }", "private void checkVoiceCommandPermission()\n {\n // Android 6 er uporer version gula te voice neoar capability ache, and they require permissions.\n // that's why we check first the SDK version is above 6 or not\n if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.M)\n {\n // jodi persmission pai voice er then\n if(!(ContextCompat.checkSelfPermission(SmartPlayerActivity.this, Manifest.permission.RECORD_AUDIO) == PackageManager.PERMISSION_GRANTED))\n {\n // we can start the activity\n Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS, Uri.parse(\"package:\" + getPackageName()));\n startActivity(intent);\n finish();\n }\n }\n }", "public void ResultVoiceCoincidence(EventVoice event);", "@Override\n\tpublic void canSpeak() {\n\t\t\n\t}", "public void speakClicked(View v)\n {\n EditText editText = (EditText) findViewById(R.id.inputText);\n\n mTts.speak(editText.getText().toString(),\n TextToSpeech.QUEUE_FLUSH, // Drop all pending entries in the playback queue.\n null,\n null);\n }", "public void speak(String outputSpeak) \n {\n speaker.speaker(outputSpeak);\n }", "void changeMusic(AudioTrack newSong);", "public void addReceivedVoice(Voice voice) {\n\t\taddCommunicationReceived(voice);\n\t}", "public SendVoice() {\n super();\n }", "void speechToTextFuncVoiceForPurchase(Context context, EditText editText, int dataType, ImageView micImage, int valueforValidate) {\n if (Utility.getInstance().isOnline(mContext)) {\n int value = checkPermission(mContext, Manifest.permission.RECORD_AUDIO, RECORD_AUDIO_PERMISSION_REQUEST_CODE);\n if (value == 1) {\n mSpeechRecognizer = SpeechRecognizer.createSpeechRecognizer(mContext);\n mSpeechRecognizerIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n mSpeechRecognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n String languageCode = Utility.getInstance().getLanguage(mContext);\n // Locale current = getResources().getConfiguration().locale;\n if (languageCode.matches(langaugeCodeEnglish)) {\n mSpeechRecognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, \"en_US\");\n } else if (languageCode.matches(languageCodeMarathi)) {\n mSpeechRecognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, \"mr_IN\");\n } else {\n mSpeechRecognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, \"en_US\");\n setError(\"BaseFragmnet : speechToTextFunc Has problem\");\n }\n mSpeechRecognizer.setRecognitionListener(new RecognitionListener() {\n @Override\n public void onReadyForSpeech(Bundle params) {\n if (isVisible()) {\n micImage.setColorFilter(getResources().getColor(android.R.color.holo_green_light), PorterDuff.Mode.SRC_IN);\n if (editText != null) {\n editText.getBackground().setColorFilter(getResources().getColor(android.R.color.holo_green_light),\n PorterDuff.Mode.SRC_ATOP);\n }\n }\n }\n\n @Override\n public void onBeginningOfSpeech() {\n\n }\n\n @Override\n public void onRmsChanged(float rmsdB) {\n\n }\n\n @Override\n public void onBufferReceived(byte[] buffer) {\n\n }\n\n @Override\n public void onEndOfSpeech() {\n if (isVisible()) {\n micImage.setColorFilter(getResources().getColor(android.R.color.black), PorterDuff.Mode.SRC_IN);\n if (editText != null) {\n editText.getBackground().setColorFilter(getResources().getColor(android.R.color.black),\n PorterDuff.Mode.SRC_ATOP);\n }\n }\n }\n\n @Override\n public void onError(int error) {\n\n }\n\n @Override\n public void onResults(Bundle results) {\n if (isVisible()) {\n ArrayList<String> matches = results.getStringArrayList(SpeechRecognizer.RESULTS_RECOGNITION);\n if (matches.get(0).toString().toLowerCase().contains(getString(R.string.save).toString().toLowerCase())) {\n boolean valueStatus = validatePuchase();\n if (valueStatus) {\n createPurchaseRequest(flowpurchaseReceivedOrPaid);\n }\n } else if (matches.get(0).toString().toLowerCase().contains(getString(R.string.cancel_two).toString().toLowerCase())) {\n dialog.dismiss();\n dialog.dismiss();\n dialog.dismiss();\n if (textToSpeech != null) {\n textToSpeech.stop();\n }\n Toast.makeText(mContext, getString(R.string.transaction_cancelled), Toast.LENGTH_SHORT).show();\n speak(getString(R.string.transaction_cancelled), \"\");\n }\n if (editText != null) {\n if (dataType == 1) {\n editText.setText(matches.get(0));\n } else {\n for (int i = 0; i < matches.size(); i++) {\n if (matches.get(i).matches(\"^[0-9]*$\")) {\n editText.setText(matches.get(i));\n }\n }\n }\n\n\n //Ankur\n boolean valueValidate = validatePuchase();\n if (valueValidate) {\n speak(getString(R.string.please_say_save_or_cancel), \"\");\n new Handler().postDelayed(() -> {\n speechToTextFuncVoiceForPurchase(mContext, null, 3, imageviewMicSaveCancel, 2);\n }, 3000);\n }\n\n }\n }\n }\n\n @Override\n public void onPartialResults(Bundle partialResults) {\n\n }\n\n @Override\n public void onEvent(int eventType, Bundle params) {\n\n }\n });\n\n if (dialog.isShowing()) {\n mSpeechRecognizer.startListening(mSpeechRecognizerIntent);\n }\n } else if (value == 2) {\n displayNeverAskAgainDialog(mContext, getString(R.string.We_need_permission_Audio));\n }\n } else {\n Toast.makeText(context, getString(R.string.please_check_internet), Toast.LENGTH_SHORT).show();\n }\n }", "public void onVoiceStart(int sampleRates) {\n }", "private void addVoiceApp() {\n\t\tApplicationInfo application = new ApplicationInfo();\r\n\t\tapplication.title = \"Camera\";\r\n application.icon = context.getResources().getDrawable(R.drawable.ic_camera_50);\r\n Intent intent=new Intent(context,CameraActivity.class);\r\n application.voiceTag=true;\r\n application.setIntent(intent);\r\n mApplications.add(application);\r\n application.setIndex(mApplications.size()-1); \r\n \r\n\t\tapplication = new ApplicationInfo();\r\n\t\tapplication.title = \"Google\";\r\n\t\tintent=new Intent(\"com.google.glass.action.START_VOICE_SEARCH_ACTIVITY\");\r\n\t\tapplication.setIntent(intent);\r\n\t\tapplication.voiceTag=true;\r\n\t\tapplication.icon = context.getResources().getDrawable(R.drawable.ic_search_50);\r\n mApplications.add(application);\r\n application.setIndex(mApplications.size()-1); \r\n\t}", "private void when_clickButtonVoice() {\n onView(withId(R.id.buttonVoice))\n .perform(click());\n }", "public void setSpeechmode(Integer speechmode) {\n this.speechmode = speechmode;\n }", "public void startVoiceRecognition(String language) {\n if (mTrigger != null) {\n mTrigger.startVoiceRecognition(language);\n }\n }", "public void speak(String speech)\n\t{\n\t\tif (ttsReady)\n\t\t{\n\t\t\ttts.speak(speech, TextToSpeech.QUEUE_FLUSH, null);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tUtils.makeLog(\"Tried to speak before TTS was ready\");\n\t\t}\n\t}", "public void speak(int word) {\n\t\t\n\t\tboolean flag=Machine.interrupt().disable();\n\t\tspeakerNum++;\n\t\tif(hasSpoken||speakerNum!=1)\n\t\t{\n\t\t\twaitToSpeak.waitForAccess(KThread.currentThread());\n\t\t\tKThread.sleep();\n\t\t}\n\t\thasSpoken=true;\n\t\tthis.word=word;\n\t\tKThread thread=null;\n\t\tif((thread=waitToListen.nextThread())!=null)\n\t\t\tthread.ready();\n\t\tspeakerNum--;\n\t//\tSystem.out.println(\"speak:\"+word+\" \"+KThread.currentThread().toString());\n\t\tMachine.interrupt().setStatus(flag);\n\n\t\treturn ;\n\t}", "public interface Text2Speech {\n\t\n\t/**\n\t * Supported formats.\n\t */\n\tenum OutputFormat {\n\t\t/**\n\t\t * MP3 format.\n\t\t */\n\t\tMP3,\n\t\t/**\n\t\t * Ogg-vorbis format.\n\t\t */\n\t\tOGG\n\t}\n\t\n\t/**\n\t * Produce MP3 with specified phrase.\n\t * \n\t * @param phrase Some sentence.\n\t * @return MP3 stream (may be network bound, close afterwards)\n\t */\n\tInputStream synthesize(String phrase, OutputFormat fmt) throws IOException;\n}", "public void setSpeakEnable(boolean enable) {\n this.speakEnable = enable;\n if (speakEnable && mSynthesizer == null) {\n mSynthesizer = SpeechSynthesizer.createSynthesizer(context, this);\n setSynthesizerParam(params);\n }\n }", "private void initializeTextToSpeech() {\n myTTS = new TextToSpeech(this, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int i) {\n if(myTTS.getEngines().size() ==0){\n Toast.makeText(MainActivity.this, \"There is no Text to Speech engine on your device\", Toast.LENGTH_LONG).show();\n finish();\n }\n else {\n myTTS.setLanguage(Locale.US);\n speak(\"Hello! Welcome to the workout app\");\n\n }\n }\n });\n }", "public void showSpeechInput(View v) {\n\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Say something\");\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n\n try {\n startActivityForResult(intent, REQ_CODE_SPEECH_INPUT);\n } catch (ActivityNotFoundException a) {\n Toast.makeText(this, \"Speech To Text not supported\", Toast.LENGTH_LONG).show();\n }\n }", "private void changeLanguage(String newLanguage){\n\tif (newLanguage.contentEquals(\"FR\")){\n\t\t((GameActivity) activity).setStringPreferences(\"language\", \"1\");\n\t} else if (newLanguage.contentEquals(\"UK\")){\n\t\t((GameActivity) activity).setStringPreferences(\"language\", \"2\");\n\t}\n\t\n\t/*\n\tprefLanguage = ((GameActivity) activity).getPreference(\"language\", \"1\");\n\tif (prefLanguage.contentEquals(\"1\")){\n\t\tresourcesManager.tts.setLanguage(Locale.FRENCH);\n\t} else if (prefLanguage.contentEquals(\"2\")){\n\t\tresourcesManager.tts.setLanguage(Locale.ENGLISH);\t\n\t}\n\t*/\n\t\n\t\n\t\n\t/*\n\tif (newLanguage.contentEquals(\"FR\")){\n\t\tresourcesManager.tts.setLanguage(Locale.FRENCH);\n\t\tlocalLanguage=0;\n\t} else if (newLanguage.contentEquals(\"UK\")){\n\t\tresourcesManager.tts.setLanguage(Locale.ENGLISH);\t\n\t\tlocalLanguage=1;\n\t}\n\t*/\n\t\n}", "@Override\n public void onInit(int status) {\n\t \n\tif (status == TextToSpeech.SUCCESS) {\n\t\t \n int result = mTts.setLanguage(Locale.US);\n if (result != TextToSpeech.LANG_MISSING_DATA && result != TextToSpeech.LANG_NOT_SUPPORTED) {\n \tspokenText += spokenText+\"\"+spokenText+\"\";\n // mTts.speak(\"Dear sir your class is finished!! Dear sir your class is finished!! Dear sir your class is finished!!\", TextToSpeech.QUEUE_FLUSH, null);\n mTts.speak(spokenText, TextToSpeech.QUEUE_FLUSH, null);\n } \n } \n\t \n}", "private void sayHello() {\n\n\t\tmTts.speak(translatedText, TextToSpeech.QUEUE_FLUSH, // Drop allpending\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// entries in\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// the playback\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// queue.\n\t\t\t\tnull);\n\t}", "public void RepeatWithVoiceSwitchTest(){\n testMaterialConstructor();\n ArrayList<String> voiceNames = new ArrayList<String>();\n voiceNames.add(\"Aziz\");\n voiceNames.add(\"Muneeza\");\n \n ArrayList<BarLineObject> objs = new ArrayList<BarLineObject>();\n objs.add(toAziz);\n objs.add(C);\n objs.add(E);\n objs.add(toMuneeza);\n objs.add(MC1);\n objs.add(toAziz);\n objs.add(C);\n objs.add(toMuneeza);\n objs.add(plainBar);\n objs.add(MC2);\n objs.add(endBar);\n objs.add(toAziz);\n objs.add(G);\n objs.add(repeatBar);\n \n Parser2 myParser2 = new Parser2(voiceNames,1,1);\n myParser2.parse(objs);\n ArrayList<Voice> voices = myParser2.getVoices();\n Song lalala = new Song(voices);\n SequencePlayer sqPlayer;\n try {\n sqPlayer = new SequencePlayer(140, lalala.getMinTicksPerQuarter());\n myPlayer MrAhmed = new myPlayer(\"C\", sqPlayer);\n lalala.addToPlayer(MrAhmed);\n sqPlayer.play(); \n } catch (MidiUnavailableException e) {\n e.printStackTrace();\n } catch (InvalidMidiDataException e) {\n e.printStackTrace();\n }\n }", "public void stopSpeak() {\n if (mSynthesizer != null && mSynthesizer.isSpeaking()) {\n mSynthesizer.stopSpeaking();\n }\n }", "public void sayText(String normal, String altered){\n\t\tvoiceGen.sayText(normal, altered);\n\t}", "private void addSpeech(String text, String packageName, int resId) {\n mUtterances.put(text, new SoundResource(packageName, resId));\n }", "private String setSpeechFXLanguage(String language){\n String lang;\n if (!mSpeechFXon) {\n lang = language;\n } else if (mTts == null) {\n\t\t\tLog.i(TAG, \"TTS IS NULL!\");\n\t\t\tlang = language;\n\t\t} else {\n\t\t\tlang = Languages.setSpeechLanguage(language, mDefaultSpeechLang, mTts.ttsengine());\n\t\t\tif (mTts != null && lang != null && !lang.equals(\"\")) {\n\t\t\t\tLog.i(TAG, \"TTS set speech engine language: \" + lang);\n\t\t\t\tmTts.ttsengine().setLanguage(Languages.stringToLocale(lang));\n\t\t\t} else {\n\t\t\t\t// Unchanged, so return the pilot language\n\t\t\t\tlang = language;\n\t\t\t}\n\t\t\tLog.i(TAG, \"TTS LANG: \" + lang);\n\t\t}\n\n\t\treturn lang;\n\t}", "public void onVoiceSearchClick(View v) {\n \ttry{\n \t\tAppMeasurementWrapper.getInstance().initialize(\n\t\t\t\t\tgetApplication());\n\t\t\tAppMeasurementWrapper\n\t\t\t\t\t.getInstance()\n\t\t\t\t\t.storeTransitionSrcPoint(\n\t\t\t\t\t\t\tAppEffectClickPointEnum.HOME_VOICESEARCH);\n \t\t\t\tPackageManager pm = getPackageManager();\n\t\t\t\t\t\n\t\t\t\t\tList<ResolveInfo> activities = pm.queryIntentActivities(\n\t\t\t new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH), 0);\n\t\t\t\t\t//check if the device supports voice search\n\t\t\t\t\tif (activities.size() != 0) {\n\t\t\t\t\t\t\n\t\t\t\t\t\tIntent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\t\t\t\t intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n\t\t\t\t RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n\t\t\t\t intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE,\n\t\t\t\t Locale.getDefault());\n\t\t\t\t intent.putExtra(RecognizerIntent.EXTRA_PROMPT, getResources().getString(R.string.voice_search_prompt));\n\t\t\t\t \n\t\t\t\t startActivityForResult(intent,VOICE_RECOGNITION_REQUEST_CODE);\n\t\t\n\t\t\t\t\t}else {\n\t\t\t\t\t\tToast.makeText(RakutenHomeController.this, R.string.no_voice_search, 1).show();\n\t\t\t\t\t}\n\n \t} catch (Exception e) {\n\t\t\tLogUtils.getInstance().d(LOG_TAG, \"[onVoiceSearchClick] error: \", e);\n\t\t}\n }", "public int getRemainingVoice() {\n return remainingVoice;\n }" ]
[ "0.66838866", "0.6579944", "0.63958335", "0.62801665", "0.6240995", "0.620556", "0.6187558", "0.6165799", "0.5974386", "0.57690734", "0.57591254", "0.575519", "0.57091093", "0.5671035", "0.56434476", "0.56392395", "0.5626069", "0.55632156", "0.55099446", "0.5469094", "0.5442353", "0.54007936", "0.53800344", "0.5379435", "0.5365971", "0.5355325", "0.5341897", "0.5340101", "0.530796", "0.5298378", "0.52941287", "0.5293088", "0.529248", "0.5291304", "0.52639705", "0.525381", "0.5220961", "0.5213288", "0.52094764", "0.5200545", "0.51948494", "0.51593477", "0.5144655", "0.51442415", "0.51388836", "0.5130884", "0.5119312", "0.5104032", "0.5103033", "0.50998193", "0.5085107", "0.50772333", "0.5061247", "0.5056433", "0.5054464", "0.50490785", "0.5034331", "0.50338745", "0.5030938", "0.5025245", "0.50135607", "0.50085634", "0.5000042", "0.4996691", "0.4981405", "0.49755833", "0.4973339", "0.4961462", "0.49432608", "0.49384835", "0.49315217", "0.49181026", "0.49011892", "0.48938283", "0.48928076", "0.48845184", "0.48840028", "0.4880501", "0.487944", "0.48785436", "0.4877101", "0.48573446", "0.4850546", "0.48476657", "0.48426056", "0.48344263", "0.4832683", "0.48284522", "0.48280665", "0.4825091", "0.4812948", "0.47898543", "0.4788557", "0.47801504", "0.47757724", "0.4774267", "0.47732294", "0.47645265", "0.4762278", "0.47553313" ]
0.6633363
1
Returns the voice currently used by the texttospeech engine.
public String getVoice() throws DynamicCallException, ExecutionException { return (String)call("getVoice").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getSpeech() {\n\t\treturn speech;\n\t}", "public Future<String> getVoice() throws DynamicCallException, ExecutionException {\n return call(\"getVoice\");\n }", "public Voice getVoice ()\r\n {\r\n return voice;\r\n }", "public Integer getSpeechmode() {\n return speechmode;\n }", "static SpeechKit getSpeechKit()\n {\n return _speechKit;\n }", "com.google.cloud.speech.v2.Recognizer getRecognizer();", "@DISPID(3) //= 0x3. The runtime will prefer the VTID if present\r\n @VTID(9)\r\n speech.types.SpeechAudioState state();", "public int getRemainingVoice() {\n return remainingVoice;\n }", "public Integer getSpeechThreshold() {\n return this.speechThreshold;\n }", "public float getSpeechRate() {\n SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(this);\n return Float.valueOf(preferences.getString(\"speech_rate\", \"\"));\n }", "public String speak(){\n speechOutput.clear();\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Just speak normally into your phone\");\n intent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, 10);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.ENGLISH);\n try {\n startActivityForResult(intent, VOICE_RECOGNITION);\n } catch (ActivityNotFoundException e) {\n e.printStackTrace();\n }\n\n\n return speechResult;\n }", "private static Synthesizer getSynthesizer(){\n\t\ttry{\n\t\t\treturn MidiSystem.getSynthesizer();\n\t\t}catch(Exception e){}\n\t\treturn null;\n\t}", "public int getAudioMode() {\n AudioManager audio = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE);\n return audio.getMode(); //MODE_NORMAL, MODE_RINGTONE, MODE_IN_CALL, MODE_IN_COMMUNICATION\n }", "public String speak() {\n return \"WOOF\";\n }", "public Float getSpeechShoSrOut() {\n return speechShoSrOut;\n }", "public boolean isVoiceDetectionActivated() {\n return voiceDetectionActivated;\n }", "public String getHomeworkVoicePath() {\n return homeworkVoicePath;\n }", "public Float getSpeechTraff() {\n return speechTraff;\n }", "@Override\n\tpublic String getSpeechResult() {\n\t\treturn null;\n\t}", "public Chord getPreviousChordInVoice ()\r\n {\r\n return voice.getPreviousChord(this);\r\n }", "public interface Voice {\n\n\t/**\n\t * Plays the specified text as synthesized audio.\n\t * @param text The text to speak.\n\t */\n\tpublic void speak(String text);\n\n\t/**\n\t * Sets the pitch of the voice.\n\t * @param pitch The new voice pitch.\n\t * @throws IllegalArgumentException If the specified voice\n\t * pitch is less than <tt>0</tt>.\n\t */\n\tpublic void setPitch(int pitch);\n\n\t/**\n\t * Sets the volume of the voice.\n\t * @param volume The new volume.\n\t * @throws IllegalArgumentException If the specified voice\n\t * volume is less than <tt>0</tt> or greater than <tt>100</tt>.\n\t */\n\tpublic void setVolume(int volume);\n\n\t/**\n\t * Sets the talk speed of the voice.\n\t * @param wpm The new talk speed in words per minute.\n\t * @throws IllegalArgumentException If the specified voice\n\t * speed is less than <tt>0</tt> or greater than <tt>999</tt>.\n\t */\n\tpublic void setSpeed(int wpm);\n\n}", "private void speak() {\n if(textToSpeech != null && textToSpeech.isSpeaking()) {\n textToSpeech.stop();\n }else{\n textToSpeech = new TextToSpeech(activity, this);\n }\n }", "public String getGrammarText();", "public Speakers getSpeaker(){\n int speaker_id = getIntent().getExtras().getInt(AppController.SPEAKER_ID);\n DatabaseHandler dh = new DatabaseHandler(this);\n return dh.getSpeaker(speaker_id);\n }", "public interface VoiceManager {\n\n void speak(int requestCode, int speechResourceId, Object... formatArgs);\n\n void speak(int requestCode, int speechResourceId);\n\n void listen(int requestCode);\n\n void shutdown();\n\n void setVoiceManagerListener(VoiceManagerImpl.VoiceManagerListener listener);\n}", "private SpeechRecognitionMode getMode() {\n\n return SpeechRecognitionMode.LongDictation;\n }", "public Integer getHomeworkVoiceId() {\n return homeworkVoiceId;\n }", "public abstract void startVoiceRecognition(String language);", "public interface ITextToSpeech {\n\n /* loaded from: classes.dex */\n public interface TextToSpeechCallback {\n void onFailure();\n\n void onSuccess();\n }\n\n boolean isInitialized();\n\n int isLanguageAvailable(Locale locale);\n\n void onDestroy();\n\n void onResume();\n\n void onStop();\n\n void setPitch(float f);\n\n void setSpeechRate(float f);\n\n void speak(String str, Locale locale);\n}", "public String getSoundFont() {\n\t\treturn soundFont;\n\t}", "public AudioManager getAudioManager() {\r\n return audioManager;\r\n }", "private void ConvertTextToSpeech(String voice1) {\n text=voice1;\n //text = et.getText().toString();\n if (text == null || \"\".equals(text)) {\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n } else\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", "String getOscTarget();", "speech.multilang.Params.ScoringControllerParams.Type getType();", "public String interact() {\n return sound;\n }", "public void startVoiceRecognition() {\n startVoiceRecognition(null);\n }", "public int getAudioPort();", "public DTDGrammar getActiveGrammar() {\r\n return this.fActiveGrammar;\r\n }", "public AudioFormat getClientAudioFormat() {\n\t\t\n\t\treturn clientAudioFormat;\n\t\n\t}", "public String getVoiceConnectorId() {\n return this.voiceConnectorId;\n }", "public void setContactVoice(String contactVoice) {\n this.contactVoice = contactVoice;\n }", "public boolean getVoiceSearchEnabled() {\n/* 170 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public String getPlaybackDevice();", "public static String getWord() {\r\n\t\treturn Text;\r\n\t}", "@Override // kotlin.jvm.functions.Function0\n public IAudioDeviceManager invoke() {\n return Voximplant.getAudioDeviceManager();\n }", "public String getAudioCode() {\n return audioCode;\n }", "public static ISpeler getSpeler() {\n\t\treturn speler;\n\t}", "speech.multilang.Params.OutputControllerParams.Type getType();", "public boolean getAudioEnabled() {\n SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);\n return prefs.getBoolean(\"audio_output_switch\", true);\n }", "public String getAssistant() {\r\n\t\treturn assistant;\r\n\t}", "public String getEngine() {\n return this.engine;\n }", "@Override\n public double getEngineSound() {\n return decoratedEngine.getEngineSound() * .6;\n }", "public ArrayList<Voice> getSentVoiceCalls() {\n ArrayList<Voice> sentVoiceCalls = new ArrayList<Voice>();\n for (Communication communication : getCommunicationSent())\n if (communication instanceof Voice) {\n sentVoiceCalls.add((Voice) communication);\n }\n return sentVoiceCalls;\n }", "public final String getSound( ) {\n\t\treturn sound;\n\t}", "@java.lang.Override\n public int getSpeechEventTypeValue() {\n return speechEventType_;\n }", "@Override\n\tpublic String speak() {\n\t\treturn null;\n\t}", "public ArrayList<Voice> getSentVoiceCalls() {\n\t\tArrayList<Voice> sentVoiceCalls = new ArrayList<Voice>();\n\t\tfor (Communication communication : getCommunicationSent())\n\t\t\tif (communication instanceof Voice) {\n\t\t\t\tsentVoiceCalls.add((Voice) communication);\n\t\t\t}\n\t\treturn sentVoiceCalls;\n\t}", "private void speak() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM) ;\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Speak the Item\");\n\n startActivityForResult(intent, SPEECH_REQUEST_CODE);\n\n }", "public ArrayList<Voice> getAllVoiceCalls() {\n\t\tArrayList<Voice> allVoiceCalls = new ArrayList<Voice>();\n\t\tallVoiceCalls.addAll(getSentVoiceCalls());\n\t\tallVoiceCalls.addAll(getReceivedVoiceCalls());\n\n\t\treturn allVoiceCalls;\n\t}", "public boolean checkVoiceRecognition() {\n\t\tPackageManager pm = context.getPackageManager();\n\t\tList<ResolveInfo> activities = pm.queryIntentActivities(new Intent(\n\t\t\t\tRecognizerIntent.ACTION_RECOGNIZE_SPEECH), 0);\n\t\tif (activities.size() == 0) {\n\t\t\tToast.makeText(context, \"Voice recognizer not present\",\n\t\t\t\t\tToast.LENGTH_SHORT).show();\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "private void initializeTextToSpeech() {\n myTTS = new TextToSpeech(this, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int i) {\n if(myTTS.getEngines().size() ==0){\n Toast.makeText(MainActivity.this, \"There is no Text to Speech engine on your device\", Toast.LENGTH_LONG).show();\n finish();\n }\n else {\n myTTS.setLanguage(Locale.US);\n speak(\"Hello! Welcome to the workout app\");\n\n }\n }\n });\n }", "public static JSchText get() {\n\t\treturn NLS.getBundleFor(JSchText.class);\n\t}", "private void loadSpeechActivity() {\n PackageManager pm = getPackageManager();\n List<ResolveInfo> activities = pm.queryIntentActivities(\n new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH), 0);\n if (activities.size() == 0)\n {\n voiceSupport=0;\n }\n\t\t\n\t}", "private void setTextTospeech() {\n textToSpeech = new TextToSpeech(mContext, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n Set<Locale> languages = textToSpeech.getAvailableLanguages();\n if (language.toLowerCase().contains(langaugeCodeEnglish)) {\n int result = textToSpeech.setLanguage(new Locale(\"en\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n //Toast.makeText(mContext, result + \" is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n }\n } else {\n int result = textToSpeech.setLanguage(new Locale(\"hi\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n result = textToSpeech.setLanguage(Locale.forLanguageTag(\"hin\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n\n // Toast.makeText(mContext, result + \"Language is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \"Language is not supported\");\n }\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n if (result == TextToSpeech.LANG_NOT_SUPPORTED) {\n showTtsLanuageNSDialog();\n }\n }\n }\n }\n });\n }", "public void stopSpeak() {\n if (mSynthesizer != null && mSynthesizer.isSpeaking()) {\n mSynthesizer.stopSpeaking();\n }\n }", "@Override\r\n\tpublic SoundsApi getSoundsApi() {\r\n\t\treturn this;\r\n\t}", "public int getmAudioResourceId() {\n\n return mAudioResourceId;\n }", "public ArrayList<Voice> getAllVoiceCalls() {\n ArrayList<Voice> allVoiceCalls = new ArrayList<Voice>();\n allVoiceCalls.addAll(getSentVoiceCalls());\n allVoiceCalls.addAll(getReceivedVoiceCalls());\n\n return allVoiceCalls;\n }", "com.google.cloud.speech.v2.RecognizerOrBuilder getRecognizerOrBuilder();", "@java.lang.Override\n public int getSpeechEventTypeValue() {\n return speechEventType_;\n }", "@ApiModelProperty(required = true, value = \"The model used for the voice synthesis. The model could be a basic tts model or a customized tts model\")\n public ModelIdentity getModel() {\n return model;\n }", "public String getCurrentWaveID() {\n\t\treturn null;\r\n\t}", "public int getAudioSessionId() {\n\t\treturn mPlayer.getAudioSessionId();\n\t}", "public static AudioPlayer getDEFAULTSHOOTSOUND() {\r\n\t\treturn DEFAULTSHOOTSOUND;\r\n\t}", "protected final String getSynthName() {\n return device.getSynthName();\n }", "public String getSpelling() {\n\t\t\treturn this.spelling;\n\t\t}", "@Override\n\tpublic String addVoice(String voiceFileName) throws Exception {\n\t\treturn null;\n\t}", "public TextTrack getTrack();", "public boolean getAcceptsAudio() {\n\n return m_acceptsAudio;\n }", "public String getSpelling() {\n\t\treturn this.spelling;\n\t}", "public static void speak(Context context, final String text) {\n Log.d(TAG, \"Speak : \" + text);\n if (mTTSEngine == null) {\n mTTSEngine = new TextToSpeech(context, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int i) {\n if (i == TextToSpeech.SUCCESS) {\n mTTSEngine.setLanguage(Locale.US);\n mTTSEngine.setPitch(1f);\n mTTSEngine.setSpeechRate(1f);\n\n mTTSEngine.speak(text, TextToSpeech.QUEUE_ADD, null, UTTERANCE_ID);\n } else {\n mTTSEngine = null;\n }\n }\n });\n } else {\n mTTSEngine.speak(text, TextToSpeech.QUEUE_ADD, null, UTTERANCE_ID);\n }\n }", "public Voice() {\n /* Make the utteranceProcessors a synchronized list to avoid\n * some threading issues.\n */\n utteranceProcessors = Collections.synchronizedList(new ArrayList());\n\tfeatures = new FeatureSetImpl();\n\tfeatureProcessors = new HashMap();\n\n\ttry {\n\t nominalRate = Float.parseFloat(\n\t\t Utilities.getProperty(PROP_PREFIX + \"speakingRate\",\"150\"));\n\t pitch = Float.parseFloat(\n\t\t Utilities.getProperty(PROP_PREFIX + \"pitch\",\"100\"));\n\t range = Float.parseFloat(\n\t\t Utilities.getProperty(PROP_PREFIX + \"range\",\"10\"));\n\t volume = Float.parseFloat(\n\t\t Utilities.getProperty(PROP_PREFIX + \"volume\",\"1.0\"));\n\t} catch (SecurityException se) {\n\t // can't get properties, just use defaults\n\t}\n outputQueue = null;\n audioPlayer = null;\n defaultAudioPlayer = null;\n }", "public DataSource getAudioSource();", "void playSpeech(String rawText);", "public int getVoiceLanguageModeId() {\n/* 195 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public edu.jhu.hlt.concrete.AudioSpan getAudioSpan() {\n return this.audioSpan;\n }", "public String getMixer() {\n return _avTable.get(ATTR_MIXER);\n }", "public interface Text2Speech {\n\t\n\t/**\n\t * Supported formats.\n\t */\n\tenum OutputFormat {\n\t\t/**\n\t\t * MP3 format.\n\t\t */\n\t\tMP3,\n\t\t/**\n\t\t * Ogg-vorbis format.\n\t\t */\n\t\tOGG\n\t}\n\t\n\t/**\n\t * Produce MP3 with specified phrase.\n\t * \n\t * @param phrase Some sentence.\n\t * @return MP3 stream (may be network bound, close afterwards)\n\t */\n\tInputStream synthesize(String phrase, OutputFormat fmt) throws IOException;\n}", "public void ResultVoiceIn(EventVoice event);", "public java.lang.CharSequence getGLINTERFACE() {\n return GL_INTERFACE;\n }", "public Mixer.Info getMixer() {\n return mixer;\n }", "public GameEngine getEngine() {\n\t\treturn engine;\n\t}", "private AudioFormat getAudioFormat() {\n float sampleRate = 16000.0F;\n int sampleSizeInBits = 16;\n int channels = 1;\n boolean signed = true;\n boolean bigEndian = false;\n return new AudioFormat(sampleRate, sampleSizeInBits, channels, signed, bigEndian);\n }", "speech.multilang.Params.MultiRecognizerGrammarMatchList getGrammarList();", "public String getModuleInfo() {\r\n return \"PlayAudio\";\r\n }", "public Sword getCurrentSword() {\n return currentSword;\n\t}", "public SendVoice() {\n super();\n }", "public String getGrammar(){\r\n return grammar;\r\n }", "public java.lang.CharSequence getGLINTERFACE() {\n return GL_INTERFACE;\n }", "@Override\n public String speak()\n {\n return \"Neigh\";\n }" ]
[ "0.6951108", "0.6833691", "0.6774122", "0.6595037", "0.62533146", "0.6006491", "0.5966291", "0.5958066", "0.5948878", "0.5841451", "0.57600456", "0.56307817", "0.5626761", "0.56236297", "0.5607283", "0.5594044", "0.5589578", "0.5566571", "0.55424505", "0.55400425", "0.5526842", "0.55215675", "0.5471904", "0.5424853", "0.5420672", "0.54137117", "0.5393759", "0.5365983", "0.5360509", "0.5351597", "0.5347791", "0.53462845", "0.5331018", "0.53200233", "0.52935284", "0.52916366", "0.52694076", "0.5264859", "0.5261361", "0.5254889", "0.5241186", "0.5240653", "0.52202725", "0.52121866", "0.521149", "0.5203862", "0.52036196", "0.51984537", "0.51880604", "0.5187771", "0.5169292", "0.5166826", "0.5161041", "0.5156895", "0.5147646", "0.5131816", "0.51234925", "0.51150256", "0.510507", "0.51032555", "0.5095837", "0.50881666", "0.5087073", "0.50655955", "0.5054359", "0.50520843", "0.50496733", "0.5041265", "0.50356203", "0.50352246", "0.5025817", "0.5011523", "0.50115114", "0.5009065", "0.5005855", "0.5005116", "0.5000511", "0.49988824", "0.49879485", "0.49832892", "0.49764445", "0.49734363", "0.49729446", "0.49670693", "0.49491894", "0.4946808", "0.49437264", "0.49414626", "0.49412134", "0.49342388", "0.4933071", "0.49237034", "0.49200273", "0.4919225", "0.49189946", "0.491628", "0.49126023", "0.49076715", "0.4907033", "0.490385" ]
0.7253505
0
Outputs the available voices. The returned list contains the voice IDs.
public List<String> getAvailableVoices() throws DynamicCallException, ExecutionException { return (List<String>)call("getAvailableVoices").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@UML(identifier=\"voice\", obligation=OPTIONAL, specification=ISO_19115)\n Collection<String> getVoices();", "public Future<List<String>> getAvailableVoices() throws DynamicCallException, ExecutionException {\n return call(\"getAvailableVoices\");\n }", "public ArrayList<Voice> getAllVoiceCalls() {\n ArrayList<Voice> allVoiceCalls = new ArrayList<Voice>();\n allVoiceCalls.addAll(getSentVoiceCalls());\n allVoiceCalls.addAll(getReceivedVoiceCalls());\n\n return allVoiceCalls;\n }", "public ArrayList<Voice> getAllVoiceCalls() {\n\t\tArrayList<Voice> allVoiceCalls = new ArrayList<Voice>();\n\t\tallVoiceCalls.addAll(getSentVoiceCalls());\n\t\tallVoiceCalls.addAll(getReceivedVoiceCalls());\n\n\t\treturn allVoiceCalls;\n\t}", "Collection<String> getVoicedCommandList();", "public String[] getSoundDevicesList();", "@Override\r\n\tpublic List<EchoSound> getEchoSoundAll() {\n\t\treturn echoSoundMapper.getEchoSoundAll();\r\n\t}", "public Future<String> getVoice() throws DynamicCallException, ExecutionException {\n return call(\"getVoice\");\n }", "public ArrayList<Voice> getSentVoiceCalls() {\n ArrayList<Voice> sentVoiceCalls = new ArrayList<Voice>();\n for (Communication communication : getCommunicationSent())\n if (communication instanceof Voice) {\n sentVoiceCalls.add((Voice) communication);\n }\n return sentVoiceCalls;\n }", "public List<String> getVoters(Long pollId) {\n List<String> result = new ArrayList<>();\n pollRepository.findById(pollId).ifPresent(poll -> {\n poll.getAnswers().forEach(answer -> result.addAll(answer.getSelectedByUsers()));\n });\n return result;\n }", "public char[] voltages_GET()\n {return voltages_GET(new char[10], 0);}", "public String getVoice() throws DynamicCallException, ExecutionException {\n return (String)call(\"getVoice\").get();\n }", "public ArrayList<Voice> getReceivedVoiceCalls() {\n ArrayList<Voice> receivedVoiceCalls = new ArrayList<Voice>();\n for (Communication communication : getCommunicationReceived())\n if (communication instanceof Voice) {\n receivedVoiceCalls.add((Voice) communication);\n }\n return receivedVoiceCalls;\n }", "public ArrayList<Voice> getSentVoiceCalls() {\n\t\tArrayList<Voice> sentVoiceCalls = new ArrayList<Voice>();\n\t\tfor (Communication communication : getCommunicationSent())\n\t\t\tif (communication instanceof Voice) {\n\t\t\t\tsentVoiceCalls.add((Voice) communication);\n\t\t\t}\n\t\treturn sentVoiceCalls;\n\t}", "private void getVoices() throws Exception{\r\n\r\n\t\tFestival f = new Festival(\"\",\"1\");\r\n\t\t_voices = f.listOfVoices();\r\n\r\n\t}", "public List<String> getNames(VariantContext variantContext);", "public ArrayList<Voice> getReceivedVoiceCalls() {\n\t\tArrayList<Voice> receivedVoiceCalls = new ArrayList<Voice>();\n\t\tfor (Communication communication : getCommunicationReceived())\n\t\t\tif (communication instanceof Voice) {\n\t\t\t\treceivedVoiceCalls.add((Voice) communication);\n\t\t\t}\n\t\treturn receivedVoiceCalls;\n\t}", "public List getResults() {\r\n List<Candidate> list = new ArrayList<>();\r\n list = getCurrentVoting().getCandidates();\r\n list.sort(Comparator.comparingInt(Candidate::getVoices));\r\n return list;\r\n }", "public List<Aviao> getListAvioes() {\n return avioes;\n }", "public List<String> getServices() throws IOException;", "public String[] getVideoDevicesList();", "public List<String> audiences() {\n return this.innerProperties() == null ? null : this.innerProperties().audiences();\n }", "private String[] displayOptions() throws IOException {\n StringBuilder deckCollection = new StringBuilder(TerminalLauncher.DELIMITER_MAIN + \"deck selection:\\n\");\n String[] decknames = AnkiConnector.getDeckNames();\n String deckname_format = \" * %d: %s\\n\";\n for (int i = 0; i < decknames.length; i++) {\n deckCollection.append(String.format(deckname_format, i + 1, decknames[i]));\n }\n deckCollection.append(String.format(deckname_format, decknames.length + 1, \"create new deck\"));\n deckCollection.append(TerminalLauncher.DELIMITER_SEC + \"input: \");\n System.out.print(deckCollection);\n\n return decknames;\n }", "@Override\n\tpublic List<Vendor> listVendors() {\n\t\treturn new ArrayList<>(vendors.values());\n\t}", "public void showVehicles() {\n\t\tfor (Vehicle vehicle : vehicles) {\n\t\t\tSystem.out.println(vehicle);\n\t\t}\n\t}", "public Voice getVoice ()\r\n {\r\n return voice;\r\n }", "public Vector<String> getConferenceRooms() {\n return conferenceRooms;\n }", "public void listAllSongs()\n {\n for(int i = 0; i < songs.size(); i++) {\n System.out.print((i+1) + \"- \");\n listSong(i);\n }\n }", "public static Set<String> getGamesList() {\n\t\treturn arcade.findPlayableIds();\n\t}", "public int getNumSpeakers() { return numSpeakers; }", "public static Collection<String> getSubscriberIdentifiers(final Context context, final CRMSpid spid)\r\n throws HomeException\r\n {\r\n return getSubscriberIdentifiers(context, spid.getId());\r\n }", "public List<CharSequence> getSpeakableText() {\n return Collections.emptyList();\n }", "public static void subscriptions() {\n\t\ttry {\n\t\t\tList<Subscription> subscriptions = PlatformClient\n\t\t\t\t\t.subscriptions(getUser());\n\t\t\trender(subscriptions);\n\t\t} catch (ApplicationException e) {\n\t\t\te.printStackTrace();\n\t\t\tflash.error(\"Can not get subscriptions : %s\", e.getMessage());\n\t\t\trender();\n\t\t}\n\t}", "public String[] listItems() {\n \n\t\tif (itemCount==0) {\n\t\t\tSystem.out.println(\"\\tNo items available.\\n\");\n\t\t}\n\t\telse {\n\t\t\tfor(int index = 1; index<=itemCount; index++) {\n VendItem s = stock[index-1];\n itemList[index-1]=(s.getName());\n\t\t\t}\n System.out.println();\n \n }\n return itemList;\n\n }", "@ManagedAttribute(description = \"Retrieves the list of Registered Services in a slightly friendlier output.\")\n public final List<String> getRegisteredServicesAsStrings() {\n final List<String> services = new ArrayList<>();\n\n for (final RegisteredService r : this.servicesManager.getAllServices()) {\n services.add(new StringBuilder().append(\"id: \").append(r.getId())\n .append(\" name: \").append(r.getName())\n .append(\" serviceId: \").append(r.getServiceId())\n .toString());\n }\n\n return services;\n }", "@Override\n\tpublic ArrayList<String> getChoices() {\n\t\t// TODO Auto-generated method stub\n\t\treturn this.choices;\n\t}", "Collection<Subscription> getSubscriptions();", "@Override\r\n\tpublic List<Vendor> listVendors() {\n\t\treturn dao.listVendors();\r\n\t}", "public QueryResult<Variant> getAllVariants(QueryOptions options);", "public List<Speaker> selectAll() {\n\t\treturn dao.selectAll();\r\n\t}", "public List<String> getSpectrumIdList()\r\n\t{\r\n\t\t/*\r\n\t\t * Return list of spectrum id values.\r\n\t\t */\r\n\t\treturn fetchSpectrumIds();\r\n\t}", "public static String[] getAvailableIDs();", "public String printAllInventory(){\r\n\r\n String returnString = \"Items:\";\r\n for(Item item : playerItem){\r\n returnString += \" \" + item.getName(); \r\n }\r\n return returnString;\r\n }", "public ArrayList<String> getListSongs() {\n\t\tArrayList<String> ret = new ArrayList<String>();\n\t\tList<Song> songs = controller.getSongs();\n\t\tfor (Iterator<Song> it = songs.iterator(); it.hasNext(); ) {\n\t\t\tSong song = it.next();\n\t\t\tret.add(song.getTitle() + \" - \" + song.getArtist());\n\t\t}\n\t\treturn ret;\n\t}", "public List<String> subscriptions() {\n return this.subscriptions;\n }", "public static void showAllVilla(){\n ArrayList<Villa> villaList = getListFromCSV(FuncGeneric.EntityType.VILLA);\n displayList(villaList);\n showServices();\n }", "private String[] getGamesList() {\n\n\t\tGames games = new Games();\n\n\t\tint maxRecords = games.count();\n\t\tArrayList<Game> records = games.findAll(maxRecords, 0);\n\t\tIterator<Game> it = records.iterator();\n\n\t\tString[] output = new String[maxRecords];\n\t\tint i = 0;\n\n\t\twhile (it.hasNext()) {\n\n\t\t\tGame game = it.next();\n\t\t\toutput[i] = \"[\" + game.getId() + \"] \" + game.getName();\n\t\t\ti++;\n\n\t\t}\n\n\t\treturn output;\n\n\t}", "@Test\n public void listAllAvailableLanguages() throws IOException {\n System.out.println(\n \"Language preprocessing components for the following languages are available:\\n \"\n + String.join(\", \", LanguageComponents.languages()));\n }", "@Override\r\n\tpublic List<Speaker> findAllSpeaker() {\n\t\treturn sm.selectByExample(null);\r\n\t}", "public List<Invoice> listInvoices() throws IOException,\n\t\t\tClassNotFoundException {\n\t\treturn list(Invoice.class);\n\t}", "@Override\n public void onClick(View v) {\n text_to_speech = set_voice(text_to_speech);\n int len = ar.length;\n for (int i = 0; i < len; i++){\n speak(text_to_speech,ar[i]);\n }\n }", "public Collection<String> listDevices();", "public String getChoices() {\r\n\t\tString choice = \"\";\r\n\t\tfor(int i = 0; i < 4; i++) {\r\n\t\t\tchoice += i + 1 + \") \" + choices[i].getChoice() + \"\\n\";\r\n\t\t}\r\n\t\treturn choice;\r\n\t}", "private void listenVoiceCall() {\n final String username = MyAccount.getInstance().getName();\n final String topic = String.format(\"voice/%s\", username);\n new Subscriber(topic, username)\n .setNewMessageListener(new SubscribedTopicListener() {\n @Override\n public void onReceive(DataTransfer message) {\n String action = message.data.toString();\n switch (action) {\n case Constants.VOICE_REQUEST:\n onReceiveVoiceRequest(message);\n break;\n\n case Constants.VOICE_ACCEPT:\n hideCallingPane();\n onReceiveVoiceAccept(message);\n break;\n\n case Constants.VOICE_REJECT:\n hideCallingPane();\n onReceiveVoiceReject(message);\n break;\n\n case Constants.VOICE_QUIT:\n onReceiveVoiceQuit(message);\n\n }\n }\n })\n .listen();\n }", "public interface VoiceManager {\n\n void speak(int requestCode, int speechResourceId, Object... formatArgs);\n\n void speak(int requestCode, int speechResourceId);\n\n void listen(int requestCode);\n\n void shutdown();\n\n void setVoiceManagerListener(VoiceManagerImpl.VoiceManagerListener listener);\n}", "public String[] getSubscribedLines() {// otan patas unsubscribe sto menu , print lista me ta lines pou eisai subscribed\n int length = subscribedLists.size();\n\n if (length == 0) {\n return null;\n } else {\n String[] array = new String[length];\n\n int i = 0;\n\n for (Map.Entry<Integer, String> pair : databaseLineIDToTitle.entrySet()) {\n if (subscribedLists.contains(pair.getKey())) {\n array[i++] = String.format(\"%03d - %s \\n \", pair.getKey(), pair.getValue());\n }\n }\n\n return array;\n }\n }", "public String[] getChoices()\n\t{\n\t\treturn choices;\n\t}", "public ArrayList<Choice> getChoices() {\n return mChoices;\n }", "public Object[] getList() {\n\t\treturn new Object[]{pitch, duration, velocity};\n\t}", "public static ArrayList getAllCustomVendorIds()\n throws EnvoyServletException\n {\n try\n {\n return ServerProxy.getVendorManagement().getCustomVendorIds();\n }\n catch (Exception e)\n {\n throw new EnvoyServletException(e);\n }\n }", "public java.util.List<com.google.cloud.speech.v2.StreamingRecognitionResult.Builder>\n getResultsBuilderList() {\n return getResultsFieldBuilder().getBuilderList();\n }", "public List<Spectator> findAllSpectators(){\n\t\treturn spectatorRepository.findAll();\n\t}", "public void listSubscribers()\n\t{\n\t\tString str = \"Name\\tSurname\\tMail\\tPassword\\tId\\n\";\n\n\t\tList<Customer> customers = this.company.getSubs();\n\n\t\tfor(int i=0; i<customers.length(); i++)\n\t\t{\n\t\t\tstr += customers.get(i).getName() + \"\\t\" + customers.get(i).getSurname() + \"\\t\" + customers.get(i).getMail() + \"\\t\" + customers.get(i).getPassword() + \"\\t\" + customers.get(i).getId() + \"\\n\";\n\n\t\t}\n\t\t\n\t\tSystem.out.println(str);\n\n\n\t}", "public static void listVehicles() {\n\t\tSystem.out.println(\"-----------------\");\n\t\tSystem.out.println(\"Listing Vehicles\");\n\t\tSystem.out.println(\"-----------------\");\n\t\t\n\t\tfor (int i = 0; i < owners.size(); i++) {\n\t\t\tfor (Vehicle v : owners.get(i).getVehicles()) {\n\t\t\t\t\n\t\t\t\tSystem.out.println((owners.get(i).getName() + \"'s \" + v.toString()));\n\t\t\t\t\n\t\t\t}\n\n\t\t}\n\t\t\n\t}", "public List<String> listRoomsNames() {\n return chatRooms.stream().map(ChatRoom::getChatName).collect(Collectors.toList());\n }", "public String[] showStock() {\n \tString[] stock = new String[5];\n \tstock[0] = Integer.toString(this.getId());\n \tstock[1] = this.getName();\n \tstock[2] = Integer.toString(this.getAvailableNumber());\n \tstock[3] = Double.toString(this.getBuyPrice().getAmount());\n \tstock[4] = Double.toString(this.getSellPrice().getAmount());\n \treturn stock;\n }", "public List<String> allClients() throws IOException {\n String httpResponse = httpGet(baseUrl.resolve(\"/automation/v2/clients\"));\n return mapper.readValue(httpResponse, new TypeReference<List<String>>() {\n });\n }", "public String toString() {\r\n\r\n\tString out = \"\";\r\n\r\n\tfor (int i = 0; i < this.getNumberChoices(); i++) {\r\n\t MenuChoice thisChoice = this.getChoices().get(i);\r\n\t out += thisChoice.getIndex() + \") \" + thisChoice.getValue() + \"\\n\";\r\n\t}\r\n\r\n\treturn out;\r\n }", "private void listCurrencies() {\r\n\t\t// Test whether we already have currencies\r\n\t\tif (currencies == null) {\r\n\t\t\t// No, so complain and return\r\n\t\t\tSystem.out.println(\"There are currently no currencies in the system.\");\r\n\t\t\tSystem.out.println(\"Please add at least one currency.\");\r\n\t\t\tSystem.out.println();\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t// Reset the index into the currencies list\r\n\t\tcurrencies.reset();\r\n\t\tCurrency currency;\r\n\t\t// Output all currencies\r\n\t\twhile ((currency = currencies.next()) != null) {\r\n\t\t\tSystem.out.println(currency.getCode());\t\t\t\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}", "public void getAllAvengers(HttpServletResponse resp) throws IOException {\n\t\tList<Avenger> list = avService.avengersAssemble();\n\n\t\t// Convert Java object into a JSON string that can be written to the body of an\n\t\t// HTTP response\n\t\tString json = om.writeValueAsString(list);\n\t\tSystem.out.println(json);\n\t\tPrintWriter pw = resp.getWriter();\n\t\tpw.print(json);\n\t\tresp.setStatus(200);\n\t}", "public List<VariantDto> getAllVariants() {\n return variantRepository.findAll()\n .stream()\n .map(q -> mapper.toDto(q))\n .collect(Collectors.toList());\n }", "public List<String> getOptionsNames();", "@java.lang.Override\n public java.util.List<com.google.cloud.speech.v2.StreamingRecognitionResult> getResultsList() {\n return results_;\n }", "java.util.List<org.auvua.utils.protobuffer.AUVprotocol.AUVCommand.Output> \n getOutputsList();", "public List<String> emitGenotype() {\n\t\tList<String> genotype = new ArrayList<String>();\n\t\tfor (int i = 0; i < 2; i++) {\n\t\t\tdouble random = Math.random();\n\t\t\tif (random < 0.0005) {\n\t\t\t\tgenotype.add(\"1\");\n\t\t\t} else {\n\t\t\t\tgenotype.add(\"0\");\n\t\t\t}\n\t\t}\n\t\treturn(genotype);\n\t}", "public String getSubs(List<Channel> subs)\n {\n subs.clear();\n return accessData.getSubSequential(subs);\n }", "public void list(){\n //loop through all inventory items\n for(int i=0; i<this.items.size(); i++){\n //print listing of each item\n System.out.printf(this.items.get(i).getListing()+\"\\n\");\n }\n }", "public List<ChoiceItemDTO> getChoices() {\r\n\t\treturn choices;\r\n\t}", "public void recordVoice() {\n\t\t\n\t\t//String command = \"ffmpeg -f alsa -i hw:0 -t 2 -acodec pcm_s16le -ar 16000 -ac 1 foo.wav\"\n\t\tString command = \"arecord -d 2 -r 22050 -c 1 -i -t wav -f s16_LE foo.wav\";\n\t\t\n\t\tProcessBuilder pb = new ProcessBuilder(\"bash\" , \"-c\" , command );\n\t\ttry {\n\t\t\t\n\t\t\tProcess recordProcess = pb.start();\n\t\t\t\n\t\t\trecordProcess.waitFor();\n\t\t\t\n\t\t\trecordProcess.destroy();\n\t\n\t\t\t\n\t\t}catch (IOException ioe) {\n\t\t\tioe.printStackTrace();\n\t\t\t\n\t\t}catch (InterruptedException ie) {\n\t\t\tie.printStackTrace();\n\t\t}\n\t\t\n\t}", "public Voice(List<Bar> voices){\n List<Bar> temp= new ArrayList<>();\n temp.addAll(voices);\n this.voices=temp;\n }", "public void showPhoneBook(){\n System.out.println(phoneBooks);\n}", "public static Collection<String> getSubscriberIdentifiers(final Context context, final int spid)\r\n throws HomeException\r\n {\r\n final Collection<String> subscriberIdentifiers = new ArrayList<String>();\r\n\r\n final XDB xdb = (XDB) context.get(XDB.class);\r\n\r\n final XStatement sql = new XStatement()\r\n {\r\n\r\n private static final long serialVersionUID = 1L;\r\n\r\n\r\n public String createStatement(final Context ctx)\r\n {\r\n return \" select ID from Subscriber where SPID = ? \";\r\n }\r\n\r\n\r\n public void set(final Context ctx, final XPreparedStatement ps) throws SQLException\r\n {\r\n ps.setInt(spid);\r\n }\r\n };\r\n\r\n xdb.forEach(context, new Visitor()\r\n {\r\n\r\n private static final long serialVersionUID = 1L;\r\n\r\n\r\n public void visit(final Context ctx, final Object obj) throws AgentException, AbortVisitException\r\n {\r\n try\r\n {\r\n subscriberIdentifiers.add(((XResultSet) obj).getString(1));\r\n }\r\n catch (final SQLException e)\r\n {\r\n throw new AgentException(e);\r\n }\r\n }\r\n }, sql);\r\n\r\n return subscriberIdentifiers;\r\n }", "public ArrayList<SongInfo> getSongInfoList()\n {\n return songInfos;\n }", "public String ls()\n\t{\n\t\tString toReturn = \"\";\n\t\tIterable<Position<FileElement>> kids = fileSystem.children(currentFileElement);\n\t\tif (kids == null) return \"Nothing to list\";\n\t\t{\n\t\t\tfor (Position<FileElement> fe : kids)\n\t\t\t{\n\t\t\t\ttoReturn += fe.toString() + \", \";\n\t\t\t}\n\t\t}\n\t\treturn toReturn;\n\t}", "public static ArrayList<String> getPlayerInformation() {\n clearScreen();\n ArrayList<String> Names = new ArrayList<String>();\n for (int i = 1; i < 3; i++) {\n System.out.println(\"Player \" + i + \"'s Name:\");\n Names.add(Input.nextLine());\n clearScreen();\n }\n return Names;\n }", "public static List<Genre> get() throws IOException {\n return get(null);\n }", "public List<Subscription> subscriptions() {\n return this.subscriptions;\n }", "@Override\n\tpublic List<Veiculo> listar() {\n\t\treturn null;\n\t}", "java.util.List<com.message.EquipmentProto.PlayerEquipmentMsg> \n getListPlayerEquipmentsList();", "@IcalProperty(pindex = PropertyInfoIndex.VVOTER,\n vpollProperty = true\n )\n @NoProxy\n public Set<String> getVoters() {\n final List<BwXproperty> props = getXproperties(BwXproperty.pollVoter);\n\n if (Util.isEmpty(props)) {\n return null;\n }\n\n final Set<String> vals = new TreeSet<>();\n\n for (final BwXproperty p: props) {\n vals.add(p.getValue());\n }\n\n return vals;\n }", "private void deliverOptions()\n {\n int counter = 0;\n for(Option choice : options){\n counter++;\n System.out.println(\"#\" + counter + \" \" + choice.getText());\n }\n }", "public List<V1Volume> getVolumes() {\n return volumes;\n }", "public static void listMainMenuOptions(){\n\t\tSystem.out.println(\"\\nWelcome to Vet Clinic Program. Please choose an option from the list below.\\n\");\n\t\tSystem.out.println(\"1: List all staff.\");\n\t\tSystem.out.println(\"2: List staff by category.\");\n\t\tSystem.out.println(\"3: List admin Staff performing a task.\");\n\t\tSystem.out.println(\"4: Search for a specific member of staff by name.\");\n\t\tSystem.out.println(\"5: List all animals.\");\n\t\tSystem.out.println(\"6: List animals by type.\");\n\t\tSystem.out.println(\"7: Search for a specific animal by name.\");\n\t\tSystem.out.println(\"8: See the Queue to the Veterinary\");\n\t\tSystem.out.println(\"9: Exit\");\n\t}", "public abstract List<String> getInventory();", "java.util.List<com.google.speech.logs.MicrophoneChannelStatistics> \n getChannelStatisticsList();", "public List<String> getAvailableLanguages() throws DynamicCallException, ExecutionException {\n return (List<String>)call(\"getAvailableLanguages\").get();\n }", "public ArrayList<PurchaseVO> showPurchase() {\n\t\treturn purchase.show();\r\n\t}", "public ArrayList getSubscriptions(){\n\t return subscriptions;\n\t}", "public Set<Speaker<? extends E>> getSpeakers();", "public ArrayList<String> getChoix() {\n return choix;\n }" ]
[ "0.7232068", "0.69906855", "0.6038723", "0.6000228", "0.54263043", "0.5388384", "0.53098524", "0.5296317", "0.5274049", "0.5260235", "0.5231657", "0.52248424", "0.5200227", "0.51969445", "0.5189087", "0.51225877", "0.5115731", "0.5067658", "0.50507116", "0.50002915", "0.49720362", "0.49645266", "0.49111176", "0.49067762", "0.48957387", "0.4843907", "0.4837162", "0.4826418", "0.48212653", "0.48205948", "0.4819196", "0.48180455", "0.48067567", "0.4805748", "0.47953942", "0.47883978", "0.47856194", "0.47834194", "0.4775956", "0.47680157", "0.4767794", "0.47633255", "0.4759218", "0.4743655", "0.47137806", "0.470913", "0.4694146", "0.46863726", "0.4686193", "0.46793726", "0.46656922", "0.46643028", "0.4657114", "0.46447474", "0.46414977", "0.46272665", "0.4623367", "0.46153367", "0.45979315", "0.45875835", "0.45858848", "0.45796403", "0.45783898", "0.457391", "0.45702255", "0.456951", "0.45668134", "0.45650828", "0.4564806", "0.45634013", "0.45496672", "0.45493257", "0.4538008", "0.45346442", "0.4530712", "0.45256773", "0.4525417", "0.45230982", "0.4518942", "0.45156848", "0.45075348", "0.45067918", "0.4501567", "0.44984886", "0.44977894", "0.44865453", "0.44795224", "0.4473963", "0.4473875", "0.4468274", "0.44680536", "0.4464737", "0.4460254", "0.4456405", "0.44520515", "0.44501862", "0.44495478", "0.4447042", "0.44439957", "0.44357157" ]
0.72448987
0
Sets the volume of texttospeech output.
public Future<Void> setVolume(Float volume) throws DynamicCallException, ExecutionException{ return call("setVolume", volume); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setVolume(int volume);", "void setVolume(float volume);", "public void setVolume(int volume) {\n mBundle.putInt(KEY_VOLUME, volume);\n }", "public void setVolume(float volume) {\n }", "public void setVolume(int v) {\n volume = v;\n }", "@Override\r\n\tpublic void setVolume(float volume) {\n\t\t\r\n\t}", "public void setVolume(float volume) {\r\n\t\tthis.volume = volume;\r\n\t}", "public void setVolume(int volume) {\n\t\tthis.volume = volume;\n\t}", "public void changeVolume(double volume){\n\t\tsynth.changeVolume(volume);\n\t}", "public void setVolume(double value) {\n this.volume = value;\n }", "public void setVolume(double volume)\n {\n mediaPlayer.setVolume(volume);\n }", "public void setVolume(final int volume) {\r\n\t\tthis.volume = volume;\r\n\t}", "void volume(double volume) {\n execute(\"player.volume = \" + volume);\n }", "@Override\n \tpublic void onSetVolume(double arg0) {\n \t}", "public void setVolume(int level);", "@Override\n\t\tpublic void setVolume(int volume) {\n\t\t\tif(volume>RemoteControl.MAX_VOLUME) {\n\t\t\t\tthis.volume = RemoteControl.MAX_VOLUME;\n\t\t\t}else if(volume<RemoteControl.MIN_VOLUME) {\n\t\t\t\tthis.volume = RemoteControl.MIN_VOLUME;\n\t\t\t}else {\n\t\t\t\tthis.volume = volume;\n\t\t\t}\n\t\t\tSystem.out.println(\"현재 오디오 볼륨은 \"+this.volume);\n\t\t}", "public void setVolume(Float volume) throws DynamicCallException, ExecutionException {\n call(\"setVolume\", volume).get();\n }", "public abstract SoundPlayer setVolume(int volume);", "public void setVolume(float volume) {\n\t alSourcef(musicSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(reverseSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(flangeSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(revFlangeSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(wahSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(revWahSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(wahFlangeSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(revWahFlangeSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(distortSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(revDistortSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(distortFlangeSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(revDistortFlangeSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(wahDistortSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(revWahDistortSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(wahDistortFlangeSourceIndex, AL_GAIN, volume / 100.0f);\n\t alSourcef(revWahDistortFlangeSourceIndex, AL_GAIN, volume / 100.0f);\n\t}", "public void setVolume(float volume) {\n mediaPlayer.setVolume(volume, volume);\n }", "@Override\r\n\t\tpublic void dmr_setVolume(int volume) throws RemoteException {\n\t\t\tint flag = 4097;\r\n\t\t\tmAmanager.setStreamVolume(AudioManager.STREAM_MUSIC, volume,\r\n\t\t\t\t\tflag);\r\n\t\t\tUtils.printLog(TAG, \"soundManager.setVolume\" + volume);\r\n\t\t}", "public void setVolume(int v) {\n\t\tif (On) {\n\t\t\tif (v < 0 || v > 5) {\n\t\t\t\tSystem.out.println(\"New volume not within range!\");\n\t\t\t} else {\n\t\t\t\tVolume = v;\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.out.println(\"Radio off ==> No adjustment possible\");\n\n\t\t}\n\t}", "public void updateVolume() {\n\t\tMixer.Info[] mixerInfos = AudioSystem.getMixerInfo();\n\n\t\tfor (Mixer.Info mixerInfo : mixerInfos) {\n\t\t\tMixer mixer = AudioSystem.getMixer(mixerInfo);\n\t\t\tLine.Info[] lineInfos = mixer.getTargetLineInfo();\n\n\t\t\tfor (Line.Info lineInfo : lineInfos) {\n\t\t\t\ttry {\n\t\t\t\t\tLine line = mixer.getLine(lineInfo);\n\t\t\t\t\tline.open();\n\t\t\t\t\tif (line.isControlSupported(FloatControl.Type.VOLUME)) {\n\t\t\t\t\t\tFloatControl volumeControl = (FloatControl) line.getControl(FloatControl.Type.VOLUME);\n\t\t\t\t\t\tvolumeControl.setValue((float) volume);\n\t\t\t\t\t}\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "@Override\r\n\tpublic void changeVolume(int volume) {\n\t\tSystem.out.println(\"볼륨을 조절하다\");\r\n\t}", "public Builder setVolume(int value) {\n bitField0_ |= 0x00000008;\n volume_ = value;\n onChanged();\n return this;\n }", "public void setVolume(double volume)\n {\n if (this.mediaPlayer == null)\n {\n return;\n }\n\n this.mediaPlayer.setVolume(volume);\n }", "public void setSoundVolume(float soundVolume) {\n _soundVolume = soundVolume;\n }", "public void setVolume(float value){\n\t\tgainControl.setValue(value);\n\t}", "public void setVolumeProgress(Double volumeProgress) {\n this.volumeProgress = volumeProgress;\n }", "public void setVolume(byte newVolume){\r\n\t\tvolume = newVolume > 10 ? 10 : newVolume;\r\n\t}", "public void mute() {\n this.tv.setVolume(0);\r\n }", "@SuppressWarnings(\"unchecked\")\n\tpublic void setEffectsVolume(float volume){\n\t\tvolume = volume / 100;\n\t\tif (volume < 0){\n\t\t\tvolume = 0;\n\t\t}\t\n\t\tif (volume > 1){\n\t\t\tvolume = 1;\n\t\t}\n\t\t\n\t\tthis.mLeftVolume = this.mRightVolume = volume;\n\t\t\n\t\t// change the volume of playing sounds\n\t\tIterator<?> iter = this.mSoundIdStreamIdMap.entrySet().iterator();\n\t\twhile (iter.hasNext()){\n\t\t\tMap.Entry<Integer, Integer> entry = (Map.Entry<Integer, Integer>)iter.next();\n\t\t\tthis.mSoundPool.setVolume(entry.getValue(), mLeftVolume, mRightVolume);\n\t\t}\n\t}", "public void setVolume(float newVolume) {\n\t\tthis.volume = newVolume;\n\t}", "public void adjustVolume(double volume) {\n try {\n controller.setGain(volume);\n this.volume = volume;\n } catch (BasicPlayerException e) {\n e.printStackTrace();\n }\n }", "public void resetVolume() {\n\t\tthis.volume = defaultVolume;\n\t}", "public void mute() {\n\t\tif (isMute) {\n\t\t\tplaybin.setVolume(0);\n\t\t\tisMute = false;\n\t\t} else {\n\t\t\tplaybin.setVolume(volume);\n\t\t\tisMute = true;\n\t\t}\n\t}", "@Test\n public void setVolume() {\n final int volume = 16;\n\n getApplicationHandler().setVolume(volume, true);\n\n assertTrue(getApplicationHandler().getVolume() == volume);\n expandPanel();\n onView(withId(R.id.vli_seek_bar)).check(matches(withProgress(volume)));\n onView(withId(R.id.vli_volume_text)).check(matches(withText(String.valueOf(volume))));\n }", "public void increseVolume() {\n\t\tvolume++;\n\t\tSystem.out.println(\"MobilePhone当前音量为:\"+volume);\n\t}", "void changeVolume(int newVolume) {\n if (newVolume < 0) {\n throw new IllegalArgumentException(\"Invalid volume\");\n }\n this.volume = newVolume;\n }", "@Override\n public void onSetVolume(int result) {\n Log.d(\"DLNA\", \"onSetVolume result:\" + result);\n }", "public void increaseVolume()\r\n {\r\n volume++;\r\n }", "public static void setSoundEffectVolume(int volume)\n\t{\n\t\tPreconditions.checkArgument(volume >= 0, \"Sound effect volume was less than zero: %s\", volume);\n\t\tPreconditions.checkArgument(volume <= 100, \"Sound effect volume was greater than 100: %s\", volume);\n\t\t\n\t\tsoundEffectVolume = volume;\n\t}", "@Override\n\t\t\tpublic void onProgressChanged(SeekBar arg0, int arg1, boolean arg2) {\n\t\t\t\tmediaPlayer.setVolume(arg1, arg1);\n\t\t\t}", "public static void setMusicVolume(int volume)\n\t{\n\t\tPreconditions.checkArgument(volume >= 0, \"Music volume was less than zero: %s\", volume);\n\t\tPreconditions.checkArgument(volume <= 100, \"Music volume was greater than 100: %s\", volume);\n\t\t\n\t\tmusicVolume = volume;\n\t}", "protected void updateVolumeTextView(String text) {\n mVolTextView.setText(text);\n }", "private static void m18335b(AudioTrack audioTrack, float volume) {\n audioTrack.setStereoVolume(volume, volume);\n }", "public void increaseVolume() {\r\n\t\tvolume++;\r\n\t}", "@Override\n\tpublic void volume() {\n\t\tsolido.volume = (solido.areaBase * altura) / 3;\n\t}", "void setFluidContents(int volume);", "private void mute(String[] command) {\n\t\ttry {\n\t\t\tnew ProcessBuilder(Constants.CH_PATH_NIRCMD, \"mutesysvolume\", \"1\")\n\t\t\t\t\t.start();\n\t\t\tSystem.out.println(\"Muting sound.\");\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "@JsAccessible\n public void onVolumeChanged(double volume, boolean muted) {\n volumeChangedListeners.forEach(listener -> listener.accept(muted));\n }", "public void updateVolume(){\r\n if(currentLoop0) backgroundMusicLoop0.gainControl.setValue(Window.musicVolume);\r\n else backgroundMusicLoop1.gainControl.setValue(Window.musicVolume);\r\n }", "public double getVolume() { return volume; }", "public boolean setPropertyVolume(long aValue);", "public void setVolumeSize(Integer volumeSize) {\n this.volumeSize = volumeSize;\n }", "public Conserve(double pVolume) {\n\t\tthis.volume = pVolume;\n\t}", "public double getVolume() {\n return volume;\n }", "@Override\r\n\tpublic void volume() {\n\t\tSystem.out.println(\"Turn up\");\r\n\t\t\r\n\t}", "public void setVolume(int level) {\n if(level >= 0 && level <= 100) {\n int checkSum = 0x07^0x01^0x00^0x44^level^level; \n String hexLevel = Integer.toHexString(level);\n if(hexLevel.length() == 1)\n hexLevel = \"0\" + hexLevel;\n String hexCheckSum = Integer.toHexString(checkSum);\n if(hexCheckSum.length() == 1)\n hexCheckSum = \"0\" + hexCheckSum;\n sendHexCommand(\"07 01 00 44 \" + hexLevel + \" \" + hexLevel + \" \"+\n hexCheckSum, 20);\n lastVolumeChange = System.currentTimeMillis();\n }\n }", "public static void halfVolume() {\n volume = 50;\n System.out.println(\"Volume: \" + volume);\n//end of modifiable zone(JavaCode)........E/30cff6a1-f5dd-43b9-94cb-285201f52ee7\n }", "public void adjustVolume(MediaDevice device, int volume) {\n ThreadUtils.postOnBackgroundThread(() -> {\n device.requestSetVolume(volume);\n });\n }", "public void setStorageVolumeInfo(VPlexStorageVolumeInfo volumeInfo) {\n storageVolumeInfo = volumeInfo;\n }", "public void activateVolume(boolean on){\n\n\t\tif(prevPitch != cow.getPitch()) {\n\t\t\tcow.setIsPlaying(on);\n\n\t\t\t//if(sequencer.isRunning()) {\n\t\t\t\tcow.stopNote(synthesizer);\n\t\t\t//-}\n\n\t\t\tif (cow.getIsPlaying()) {\n\t\t\t\tsynthesizer = cow.playNote();\n\t\t\t}\n\n\t\t\tprevPitch = cow.getPitch();\n\t\t}\n\t\t\n\t}", "public int getVolume() {\n return volume;\n }", "public void setVolumeType(String volumeType) {\n this.volumeType = volumeType;\n }", "public void setVolumeType(String volumeType) {\n this.volumeType = volumeType;\n }", "int getVolume();", "int getVolume();", "int getVolume() {\n return this.volume;\n }", "@Test\n public void changeVolume() throws TimeoutException {\n final int volume = 16;\n expandPanel();\n\n onView(withId(R.id.vli_seek_bar)).perform(ViewActions.slideSeekBar(volume));\n\n onView(withId(R.id.vli_seek_bar)).check(matches(withProgress(volume)));\n onView(withId(R.id.vli_volume_text)).check(matches(withText(String.valueOf(volume))));\n\n getConnectionHandlerManager().waitForMethodHandled(Application.SetVolume.METHOD_NAME, 10000);\n assertTrue(\"applicationHandler volume: \"+ getApplicationHandler().getVolume()\n + \" != \" + volume, getApplicationHandler().getVolume() == volume);\n }", "public int getVolume() {\r\n\t\treturn volume;\r\n\t}", "public int getVolume() {\n return volume_;\n }", "public void decreaseVolume() {\n\t\tvolume--;\n\t\tSystem.out.println(\"MobilePhone当前音量为:\"+volume);\n\t}", "public void setVolumeMax(int volumeMax) {\n mBundle.putInt(KEY_VOLUME_MAX, volumeMax);\n }", "@Override\n public void onProgressChanged(SeekBar seekBar, int progress,boolean fromUser) {\n TextView txtV_volume = inf.findViewById(R.id.textView9);\n txtV_volume.setText(\"\"+progress+\" ml\");\n }", "public static void setMasterVolume(float masterVolume){\r\n\t\tif(masterVolume <= 1.0f && masterVolume >= 0.0f){\r\n\t\t\tSound.masterVolume = masterVolume;\r\n\t\t}else if(masterVolume < 0.0f){\r\n\t\t\tSound.masterVolume = 0.0f;\r\n\t\t}else{\r\n\t\t\tSound.masterVolume = 1.0f;\r\n\t\t}\r\n\t\tSound.masterVolumeStorage = Sound.masterVolume;\r\n\t}", "@Override\n\tpublic void calcularVolume() {\n\t\t\n\t}", "public float getVolume()\n {\n return volume;\n }", "void setRemainingVolume(int newRemainingVolume) throws Exception;", "public long getPropertyVolume();", "public byte getVolume(){\r\n\t\treturn volume;\r\n\t}", "@Override\r\n\tpublic void volumeUp() {\n\t\tSystem.out.println(\"ig tv volume on\");\r\n\r\n\t}", "public int getVolume() {\n return volume_;\n }", "public int getVolume();", "@Override\n public void setAudioVolumeInsideVolumeSeekBar(int i) {\n float currentVolume = 1.0f;\n if (i < PlayerConstants.MaxProgress) {\n currentVolume = (float)(1.0f - (Math.log(PlayerConstants.MaxProgress - i) / Math.log(PlayerConstants.MaxProgress)));\n }\n setAudioVolume(currentVolume);\n //\n }", "public void setAudioVolumeUp(int streamType) {\n mAudioManager.adjustStreamVolume(streamType, AudioManager.ADJUST_RAISE,\n AudioManager.FLAG_SHOW_UI);\n }", "@Override\n\tpublic void volumeUp() {\n\t\tSystem.out.println(\"samsongTV volumeUp\");\n\n\t}", "public float getSoundVolume() {\n return _soundVolume;\n }", "public double getVolume()\n {\n return volume / 512;\n }", "public String volume() {\n return mVolume;\n }", "@Override\n\t\t\tpublic void onProgressChanged(SeekBar seekBar, int progress,\n\t\t\t\t\tboolean fromUser) {\n\t\t\t\tfloat set = (float) progress/100;\n\t\t\t\tLog.v(\"set\", set+\"\");\n\t\t\t\tmMediaPlayer[0].setVolume(set,set);\n\t\t\t}", "public double getVolume()\n {\n return this.volume;\n }", "public void enablePropertyVolume()\n {\n iPropertyVolume = new PropertyUint(new ParameterUint(\"Volume\"));\n addProperty(iPropertyVolume);\n }", "public static void maxVolume() {\n volume = 100;\n System.out.println(\"Volume: \" + volume);\n//end of modifiable zone(JavaCode)........E/883cef54-8649-49b6-b371-11234437d0eb\n }", "public void setVolumeFactor(float volumeFactor) {\r\n\t\tthis.volumeFactor = volumeFactor;\r\n\t}", "protected void enableActionSetVolume()\n {\n Action action = new Action(\"SetVolume\");\n action.addInputParameter(new ParameterRelated(\"Value\", iPropertyVolume));\n iDelegateSetVolume = new DoSetVolume();\n enableAction(action, iDelegateSetVolume);\n }", "ModuleComponent volume();", "public float getVolume() {\n return 1.0f;\n }", "public void setVolumeLitres(final double volumeLitres) {\n if (volumeLitres >= 0.0) {\n this.volumeLitres = volumeLitres;\n }\n }", "public static void setDefaultVolume(float newDefault) {\n\t\tdefaultVolume = newDefault;\n\t}" ]
[ "0.72373176", "0.7200419", "0.705331", "0.6962521", "0.69432354", "0.69421655", "0.69083726", "0.6881047", "0.68789434", "0.68511873", "0.6830264", "0.6810533", "0.6746328", "0.66954213", "0.6614386", "0.66137224", "0.65348554", "0.6534063", "0.6509293", "0.6486907", "0.6468847", "0.643979", "0.6410872", "0.6374047", "0.6349126", "0.6331983", "0.6286683", "0.6280719", "0.62144375", "0.61539626", "0.6144723", "0.61211896", "0.60941505", "0.6089343", "0.6072865", "0.6064291", "0.60551226", "0.5978395", "0.59737617", "0.5945699", "0.59252566", "0.5911234", "0.58893794", "0.587414", "0.5866989", "0.5850334", "0.5847541", "0.5835932", "0.5826895", "0.5798975", "0.5782696", "0.57790697", "0.57619035", "0.57579327", "0.5731255", "0.5675486", "0.5644439", "0.56074446", "0.5599974", "0.5599729", "0.5596747", "0.5591396", "0.55696905", "0.55674946", "0.5556651", "0.5556651", "0.55474365", "0.55474365", "0.55443716", "0.55425584", "0.554084", "0.55354035", "0.55319464", "0.5531806", "0.5524215", "0.55222476", "0.5508386", "0.5507788", "0.55066454", "0.55021125", "0.5497485", "0.5491809", "0.54896986", "0.54788274", "0.54661727", "0.54576695", "0.54517305", "0.5442239", "0.5435323", "0.5427754", "0.54229414", "0.54222053", "0.5417235", "0.5413078", "0.5408783", "0.5400406", "0.5398114", "0.538924", "0.5388145", "0.53819597" ]
0.5986499
37
Get the locale associate to the current language.
public Future<String> locale() throws DynamicCallException, ExecutionException { return call("locale"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Locale getLocale() {\n return localeInfo.get();\n }", "public String getLocale ( ) {\n\t\treturn extract ( handle -> getLocale ( ) );\n\t}", "java.lang.String getLocale();", "public Locale getLocale() {\n return getULocale().toLocale();\n }", "public java.util.Locale getLocale() {\n MenuContainer parent = MenuComponent.this.getParent();\n if (parent instanceof Component)\n return ((Component)parent).getLocale();\n else\n return java.util.Locale.getDefault();\n }", "public ULocale getLocale() {\r\n return this.locale;\r\n }", "public String getLocale() {\n return (String)getAttributeInternal(LOCALE);\n }", "public String getLocale() {\n return (String)getAttributeInternal(LOCALE);\n }", "public String getLocale() {\n return this.locale;\n }", "public Locale getLocale() {\n if (this.locale == null) {\n return Locale.getDefault();\n }\n return this.locale;\n }", "String getCurrentLocaleString();", "public String getLocale()\n {\n return (m_taskVector == null || m_taskVector.size() == 0) ?\n DEFAULT_LOCALE :\n taskAt(0).getSourceLanguage();\n }", "public Locale getLocale() {\r\n if (this.locale == null) {\r\n return Locale.getDefault();\r\n } else {\r\n return locale;\r\n }\r\n }", "public Locale getLocale() {\r\n if (this.locale == null) {\r\n return Locale.getDefault();\r\n } else {\r\n return locale;\r\n }\r\n }", "public Locale getLocale() {\r\n if (this.locale == null) {\r\n return Locale.getDefault();\r\n } else {\r\n return locale;\r\n }\r\n }", "public String locale() {\n return this.locale;\n }", "public Locale getLocale() {\n\t\t\n\t\treturn locale;\n\t}", "Optional<Locale> getLanguage();", "public Locale getCurrentLocale() {\r\n\t\t// NOTE: should be written in some properties file\r\n\t\tLocale defaultLocale = getLocale();\r\n\t\tLocale locale = getUsersLocale();\r\n\t\t\r\n\t\tif (locale == null) {\r\n\t\t\treturn defaultLocale;\r\n\t\t}\r\n\t\treturn locale;\r\n\t}", "private Locale getLocale() {\n Locale selectedLocale = (Locale) Sessions.getCurrent().getAttribute(Attributes.PREFERRED_LOCALE);\n if (selectedLocale != null) {\n return selectedLocale;\n }\n Locale defaultLocale = ((HttpServletRequest) Executions.getCurrent().getNativeRequest()).getLocale();\n Sessions.getCurrent().setAttribute(org.zkoss.web.Attributes.PREFERRED_LOCALE, defaultLocale);\n return defaultLocale;\n }", "public Locale getLocaleL() {\n\t\treturn panelVirtualKeyboard.getLocaleL();\n\t}", "public java.lang.String getLanguageLocaleKey() {\n return languageLocaleKey;\n }", "public String getCurrentLanguage() {\n return getStringData(Key.APP_CURRENT_LANGUAGE + \"\", \"zh\");\n }", "private Locale getLocale(PageContext pageContext) {\n HttpSession session = pageContext.getSession();\n Locale ret = null;\n // See if a Locale has been set up for Struts\n if (session != null) {\n ret = (Locale) session.getAttribute(Globals.LOCALE_KEY);\n }\n\n // If we've found nothing so far, use client browser's Locale\n if (ret == null) {\n ret = pageContext.getRequest().getLocale();\n }\n return ret;\n }", "public static Locale get() {\n return STACK.peek();\n }", "ULocale getLocale() {\n\t\treturn locale;\n\t}", "public String getUserLocale() {\n return sessionData.getUserLocale();\n }", "public Locale getLocale() {\r\n return Locale.getDefault();\r\n }", "public static String getCurrentLanguage() {\n\t\tif ( currentLanguage == null || currentLanguage.isEmpty() ) {\r\n\t\t\tcurrentLanguage = Locale.getDefault().getLanguage();\r\n\t\t}\r\n\t\treturn currentLanguage;\r\n\t}", "public Locale getLocale () {\n\t\treturn locale;\n\t}", "public Locale getLocale() {\n return locale;\n }", "public Locale getLocale() {\n return locale;\n }", "public Locale getLocale() {\n return locale;\n }", "private Locale getLocale() {\n\t\treturn ((Component) getParent()).getLocale();\n\t}", "public Locale getLocale() {\r\n return locale;\r\n }", "public static Locale getCurrentLocale(HttpServletRequest request) {\r\n\t\treturn getCurrentLocale(request.getSession(false));\r\n\t}", "public Locale getLocale()\n/* */ {\n/* 487 */ return getULocale().toLocale();\n/* */ }", "public Locale getLocale () {\n return _locale;\n }", "public static Locale getCurrentLocale(HttpSession session) {\r\n\t\tif (session == null)\r\n\t\t\tthrow new IllegalArgumentException(\r\n\t\t\t\t\t\"Cannot get an attribute of a null session\");\r\n\t\treturn (Locale) session.getAttribute(CURRENT_LOCALE_NAME);\r\n\t}", "String getLocalizedString(Locale locale);", "java.lang.String getLanguage();", "java.lang.String getLanguage();", "public Locale getLocale()\n {\n return locale;\n }", "public static String getLanguage() {\n return language;\n }", "private Locale getPreferredLocale() {\n return mActivity.getResources().getConfiguration().getLocales().get(0);\n }", "public static SupportedLanguage getLang() {\n\t\tif (SINGLETON == null) {\n\t\t\tSINGLETON = new I18nHelper();\n\t\t}\n\t\treturn SINGLETON.getAndroidLang();\n\t}", "public final static Locale getLocale(HttpServletRequest request) {\r\n\t Locale locale = getLocaleInSession(request.getSession(false));\r\n\t if(locale == null) {\r\n\t return resolveLocale(request);\r\n\t }\r\n\t return locale;\r\n\t}", "public java.lang.String getLanguage()\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(LANGUAGE$14);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "public java.lang.String getLanguage()\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(LANGUAGE$14);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "public Locale getLocale() {\n\t\treturn null;\n\t}", "public static String getKeyboardLocale()\n {\n final InputMethodManager imm = (InputMethodManager) MwmApplication.get().getSystemService(Context.INPUT_METHOD_SERVICE);\n if (imm != null)\n {\n final InputMethodSubtype ims = imm.getCurrentInputMethodSubtype();\n if (ims != null)\n return ims.getLocale();\n }\n\n return getDefaultLocale();\n }", "public String locale() throws DynamicCallException, ExecutionException {\n return (String)call(\"locale\").get();\n }", "protected Locale getCurrentLocale()\n\t{\n\t\tLocale locale = getArchLocale();\n\t\tif (locale == null) {\n\t\t\t//Fallback to Spring locale\n\t\t\tlocale = LocaleContextHolder.getLocale();\n\t\t}\n\t\treturn locale;\n\t}", "private static Locale getUserPreferredLocale() {\n\t\tfinal ResourceLoader rl = new ResourceLoader();\n\t\treturn rl.getLocale();\n\t}", "String getLanguage();", "String getLanguage();", "String getLanguage();", "public Locale getLocale() {\n return locale;\n }", "public Locale getLocale() { return this.locale; }", "private Locale getBotLocale( HttpServletRequest request )\r\n {\r\n String strLanguage = request.getParameter( PARAMETER_LANGUAGE );\r\n\r\n if ( strLanguage != null )\r\n {\r\n return new Locale( strLanguage );\r\n }\r\n\r\n return LocaleService.getDefault( );\r\n }", "public Locale getLocale() {\n return this.response.getLocale();\n }", "public String getLanguage();", "public Locale getLocale(final String key) {\n return get(Locale.class, key);\n }", "protected Locale getLocale() {\n\t\treturn null;\n\t}", "public static String getLocale(Player player)\n {\n Object ep = null;\n try\n {\n ep = getMethod(\"getHandle\", player.getClass()).invoke(player, (Object[]) null);\n }\n catch (IllegalAccessException | IllegalArgumentException| InvocationTargetException e)\n {\n e.printStackTrace();\n }\n Field f = null;\n try\n {\n f = ep.getClass().getDeclaredField(\"locale\");\n }\n catch (NoSuchFieldException | SecurityException e)\n {\n e.printStackTrace();\n }\n f.setAccessible(true);\n String language = null;\n try\n {\n language = (String) f.get(ep);\n }\n catch (IllegalArgumentException | IllegalAccessException e)\n {\n e.printStackTrace();\n }\n return language;\n }", "private java.util.Locale getLocale(String languageCode) {\r\n\t\tif (languageCode != null) {\r\n\t\t\treturn new java.util.Locale(languageCode);\r\n\t\t}\r\n\t\treturn java.util.Locale.getDefault();\r\n\t}", "public Locale getLocale() {\n/* 380 */ Locale locale = super.getLocale();\n/* 381 */ if (locale == null) {\n/* 382 */ return Locale.getDefault();\n/* */ }\n/* 384 */ return locale;\n/* */ }", "public String getLanguage() {\n return languageProperty.get();\n }", "private String getSystemLanguage() {\n String language;\n if (System.getProperty(COUNTRY) == null) {\n language = System.getProperty(LANGUAGE);\n } else {\n language = System.getProperty(LANGUAGE) + \"-\"\n + System.getProperty(COUNTRY).toLowerCase(Locale.ENGLISH);\n }\n return language;\n }", "public String getPrimaryLanguage(){\n return sharedPreferences.getString(PRIMARY_LANGUAGE, \"LANG_NOT_FOUND\");\n }", "protected Locale getArchLocale()\n\t{\n\t\tLocale locale = null;\n\t\ttry {\n\t\t\tfinal ContextoSesion sessionContext = ContextoLocator.getInstance().getContextoSesion();\n\t\t\tObject value, o = sessionContext.getCtxValue(ConstantesSesion.ARCH_LOCALE);\n\t\t\tif (o instanceof IDato) {\n\t\t\t\tvalue = ((IDato) o).getValor();\n\t\t\t} else {\n\t\t\t\tvalue = o;\n\t\t\t}\n\t\t\tif (value instanceof Locale) {\n\t\t\t\tlocale = (Locale) value;\n\t\t\t} else if (value instanceof String) {\n\t\t\t\tlocale = StringUtils.parseLocaleString((String)value);\n\t\t\t}\n\t\t} catch (PersistenciaException e) {\t}\n\t\treturn locale;\n\t}", "public String getLanguage()\r\n\t{\r\n\t\treturn (String) queryParams.get(AUTH_LANGUAGE);\r\n\t}", "public static Locale systemSettingLanguage() {\n\t\t// define return result\n\t\tLocale _ret = Locale.ENGLISH;\n\n\t\t// get default locale\n\t\tLocale _defaultLocale = Locale.getDefault();\n\n\t\t// check language and country\n\t\tif (Locale.CHINESE.toString().equalsIgnoreCase(\n\t\t\t\t_defaultLocale.getLanguage())) {\n\t\t\tif (\"CN\".equalsIgnoreCase(_defaultLocale.getCountry())) {\n\t\t\t\t_ret = Locale.SIMPLIFIED_CHINESE;\n\t\t\t} else {\n\t\t\t\t_ret = Locale.TRADITIONAL_CHINESE;\n\t\t\t}\n\t\t}\n\n\t\treturn _ret;\n\t}", "public String getLanguageValue(Locale locale) {\n\n\t\tString language = locale.getDisplayLanguage(this.locale);\n\t\t\n\t\tif(language.length() > 0) {\n\t\t\tlanguage = language.substring(0, 1).toUpperCase(this.locale) + language.substring(1);\n\t\t}\n\t\t\n\t\tString country = locale.getDisplayCountry(); \n\t\t\n\t\tif(country.length() > 0) {\n\t\t\tlanguage = language + \" - \" + locale.getDisplayCountry(this.locale); \n\t\t}\n\t\t\n\t\tString variant = locale.getDisplayVariant(); \n\n\t\tif(variant.length() > 0) {\n\t\t\tlanguage = language + \" - \" + locale.getDisplayVariant(this.locale); \n\t\t}\n\t\t\n\t\tif(locale == fallbackLocale) {\n\t\t\tlanguage = language + \" (fallback)\";\n\t\t}\n\t\t\n\t\treturn language;\n\t}", "public static String getAppLanguage() {\n return Locale.getDefault().getLanguage().toLowerCase().substring(0, 2);\n }", "@ZAttr(id=345)\n public String getLocaleAsString() {\n return getAttr(Provisioning.A_zimbraLocale, null);\n }", "Locale getDefaultLocale();", "Locale getDefaultLocale();", "String getLang();", "public static String getDefaultLocale()\n {\n return Locale.getDefault().toString();\n }", "protected String getCurrentLocaleName() {\n return LocaleInfo.getCurrentLocale().getLocaleName();\n }", "public Locale getUserPreferedLanguage(HttpServletRequest request) {\n String lang = (String) request.getAttribute(EXPLICIT_LOCALE_KEY);\n if (lang != null && ! \"\".equals(lang)) {\n return request.getLocale();\n } else {\n return new Locale(lang);\n }\n }", "public Locale getLocale() {\n return m_sql_bundle.getLocale();\n }", "@objid (\"8b3ba8b8-4d09-4d8e-9064-983191cc6b26\")\n @Override\n public String getLanguage() {\n String language = Platform.getNL();\n if (language.contains(\"_\")) {\n return Platform.getNL().substring(0, language.lastIndexOf(\"_\"));\n }\n return Platform.getNL();\n }", "public static String getlanguage(Context ctx) {\n\t\treturn getSharedPreferences(ctx).getString(language, \"\");\n\t}", "public String getLang() {\n return (String)getAttributeInternal(LANG);\n }", "public String getLanguage()\n {\n return mLanguage;\n }", "Locale getLocale(TransformerImpl transformer, int contextNode)\n throws TransformerException\n {\n\n Locale locale = null;\n\n if (null != m_lang_avt)\n {\n XPathContext xctxt = transformer.getXPathContext();\n String langValue = m_lang_avt.evaluate(xctxt, contextNode, this);\n\n if (null != langValue)\n {\n\n // Not really sure what to do about the country code, so I use the\n // default from the system.\n // TODO: fix xml:lang handling.\n locale = new Locale(langValue.toUpperCase(), \"\");\n\n //Locale.getDefault().getDisplayCountry());\n if (null == locale)\n {\n transformer.getMsgMgr().warn(this, null, xctxt.getDTM(contextNode).getNode(contextNode),\n XSLTErrorResources.WG_LOCALE_NOT_FOUND,\n new Object[]{ langValue }); //\"Warning: Could not find locale for xml:lang=\"+langValue);\n\n locale = Locale.getDefault();\n }\n }\n }\n else\n {\n locale = Locale.getDefault();\n }\n\n return locale;\n }", "@Nullable\n public final String getLanguage() {\n return this.language;\n }", "public Locale getLocale() {\n\t\treturn Locale.US;\r\n\t}", "public String getPreferredLanguage()\n {\n if (lsData == null)\n return null;\n else\n return lsData.language;\n }", "ResourceBundle getResourceBundle(Locale locale);", "public String getShopperLocale() {\n return shopperLocale;\n }", "public java.lang.String getLanguage() {\n return language;\n }", "public java.lang.String getLanguage() {\n return language;\n }", "public java.lang.String getLang()\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(LANG$28);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "private static String getCurrentLanguageCode() {\n return Locale.getDefault().getLanguage();\n }", "String getLocalization();", "public Locale getBaseLocale() {\n if (_extensions == LocaleExtensions.EMPTY_EXTENSIONS) {\n return this;\n }\n return getInstance(_baseLocale.getLanguage(), _baseLocale.getScript(),\n _baseLocale.getRegion(), _baseLocale.getVariant(), LocaleExtensions.EMPTY_EXTENSIONS);\n }", "public Locale getMBLocale()\r\n {\r\n \tLocale l = mb.getLocale();\r\n \treturn l;\r\n }" ]
[ "0.8199114", "0.78531945", "0.7701288", "0.7550378", "0.75391054", "0.75104076", "0.7492995", "0.7492995", "0.7404786", "0.73859173", "0.7366974", "0.73460907", "0.73443335", "0.73443335", "0.73443335", "0.73225504", "0.731144", "0.7301984", "0.73013395", "0.7295432", "0.72917557", "0.7271792", "0.72613555", "0.7247947", "0.7242956", "0.72355074", "0.72077733", "0.7200182", "0.7189268", "0.71876866", "0.71765697", "0.71765697", "0.71765697", "0.71712637", "0.7139907", "0.71335244", "0.7116867", "0.7108492", "0.7095242", "0.7093522", "0.7050963", "0.7050963", "0.7045681", "0.70138526", "0.6991532", "0.6990156", "0.6987788", "0.6967872", "0.6967872", "0.69607013", "0.6946541", "0.6927183", "0.691437", "0.6909369", "0.69012433", "0.69012433", "0.69012433", "0.68540275", "0.684568", "0.6838725", "0.6833605", "0.6823349", "0.6815835", "0.680109", "0.6778393", "0.6723562", "0.6722095", "0.6707888", "0.67061716", "0.66997", "0.66952264", "0.6683624", "0.6671787", "0.6660614", "0.6659447", "0.665852", "0.66466904", "0.66466904", "0.6644789", "0.6639279", "0.66349965", "0.66253304", "0.66153806", "0.65954214", "0.6566808", "0.65588343", "0.6545867", "0.65289235", "0.65273714", "0.652089", "0.65101874", "0.6503955", "0.64912605", "0.64644337", "0.64644337", "0.6445221", "0.6440976", "0.6439127", "0.6434123", "0.6422734" ]
0.66084254
83
Reset ALTextToSpeech to his default state.
public Future<Void> reset() throws DynamicCallException, ExecutionException{ return call("reset"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void reset() {\n \t\tif (currentSuggestion != null) {\n \t\t\tsetPromptingOff(currentSuggestion.getReplacementString());\n \t\t} else {\n \t\t\tif (focused) {\n \t\t\t\tsetPromptingOff(\"\");\n \t\t\t} else {\n \t\t\t\tsetPromptingOn();\n \t\t\t}\n \t\t}\n \t\thideSuggestions();\n \t\tLogger.getLogger(VSuggestFieldWidget.class.getName()).info(\"Reset\");\n \t}", "@Override\r\n public void onInit(int status) {\n if(status!=TextToSpeech.ERROR) {\r\n ttobj.setLanguage(Locale.UK);\r\n //ttobj.setPitch(2);\r\n }\r\n }", "public void reset() {\n mMediaPlayer.reset();\n setPlayerState(State.IDLE);\n }", "public void resetState() {\n \ts = State.STRAIGHT;\n }", "public void reset() {\n tid.setEnabled(true);\n tid.setText(\"\");\n tname.setText(\"\");\n }", "private void resetGame() {\r\n SCORE = 0;\r\n defaultState();\r\n System.arraycopy(WordCollection.WORD, 0, tempWord, 0, WordCollection.WORD.length);\r\n }", "private void defaultState() {\r\n stringBuffer = \"\";\r\n bufferLength = 0;\r\n currentWord = \"\";\r\n }", "private void setTextTospeech() {\n textToSpeech = new TextToSpeech(mContext, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n Set<Locale> languages = textToSpeech.getAvailableLanguages();\n if (language.toLowerCase().contains(langaugeCodeEnglish)) {\n int result = textToSpeech.setLanguage(new Locale(\"en\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n //Toast.makeText(mContext, result + \" is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n }\n } else {\n int result = textToSpeech.setLanguage(new Locale(\"hi\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n result = textToSpeech.setLanguage(Locale.forLanguageTag(\"hin\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n\n // Toast.makeText(mContext, result + \"Language is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \"Language is not supported\");\n }\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n if (result == TextToSpeech.LANG_NOT_SUPPORTED) {\n showTtsLanuageNSDialog();\n }\n }\n }\n }\n });\n }", "private void reset () {\n this.logic = null;\n this.lastPulse = 0;\n this.pulseDelta = 0;\n }", "public void stopTTS(){\n if(textToSpeech.isSpeaking()){textToSpeech.speak(\"\", TextToSpeech.QUEUE_FLUSH, null);}\n handler.removeCallbacks(speakingRunnable);\n }", "public void resetDFA() {\n currentState = State.START;\n }", "public void reset()\n {\n m_fCorrectEvent = false;\n }", "protected void resetTextBuffer() {\n this.textBuffer = new StringBuffer();\n }", "public void reset() {\r\n\t\tplayAgain = false;\r\n\t\tmainMenu = false;\r\n\t\tachievement = 0;\r\n\t}", "public void reset() {\n _styles.clear();\n _styles.add(TextStyle.DEFAULT);\n }", "@Override\n public void onInit(int status) {\n\t \n\tif (status == TextToSpeech.SUCCESS) {\n\t\t \n int result = mTts.setLanguage(Locale.US);\n if (result != TextToSpeech.LANG_MISSING_DATA && result != TextToSpeech.LANG_NOT_SUPPORTED) {\n \tspokenText += spokenText+\"\"+spokenText+\"\";\n // mTts.speak(\"Dear sir your class is finished!! Dear sir your class is finished!! Dear sir your class is finished!!\", TextToSpeech.QUEUE_FLUSH, null);\n mTts.speak(spokenText, TextToSpeech.QUEUE_FLUSH, null);\n } \n } \n\t \n}", "@Override\n\tpublic void reset() {\n\t\tsuper.reset();\n\t\tmSpeed = 0.0;\n\t\tmGoalAngle = 0.0;\n\t\tmCurrentAngle = mNavigation.getHeadingInDegrees();\n\t}", "private void speak() {\n if(textToSpeech != null && textToSpeech.isSpeaking()) {\n textToSpeech.stop();\n }else{\n textToSpeech = new TextToSpeech(activity, this);\n }\n }", "public void iResetDefault() {\n\t\tmTvChannelSelector.stop();\n\t\tmConfig.resetFactory();\n\t\tmTvChannelManager.clear();\n\t}", "private void ConvertTextToSpeech() {\n if (properties.get(selectedStateOrCountry) != null) {\n tts.speak(String.format(\"This is %s %s\", selectedStateOrCountry, properties.get(selectedStateOrCountry)),\n TextToSpeech.QUEUE_FLUSH, null);\n\n } else if (countryCapitalMap.get(selectedStateOrCountry) != null) {\n tts.speak(countryCapitalMap.get(selectedStateOrCountry), TextToSpeech.QUEUE_FLUSH, null);\n } else {\n tts.speak(selectedStateOrCountry, TextToSpeech.QUEUE_FLUSH, null);\n }\n }", "public void reset()\n {\n m_source_.setToStart();\n updateInternalState();\n }", "void StoryReset() {\n\n //Delete Any Previous Recordings\n\n //Remove Previous Audio Commentary Callbacks\n cancelIdleStoryCountdown();\n }", "public void reset() {\n\t\treset(ModSettings.currentContext);\n\t}", "void reset() {\n\t\tsongs.get(curSong).rewind();\n\t\tsongs.get(curSong).pause();\n\t}", "@Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n int result = tts.setLanguage(Locale.US);\n if (result == TextToSpeech.LANG_MISSING_DATA ||\n result == TextToSpeech.LANG_NOT_SUPPORTED) {\n Log.e(\"error\", \"This Language is not supported\");\n } else {\n ConvertTextToSpeech(\"\");\n\n }\n } else\n Log.e(\"error\", \"Initilization Failed!\");\n\n\n }", "void resetAudioRoute() {\n if (mode != -1) {\n updateAudioRoute(mode, true);\n }\n }", "private void resetStory() {\n storyManager.resetAllStories();\n user.setCurrentStoryNode(0);\n }", "public void reset() { \r\n stop(); \r\n if (midi) \r\n sequencer.setTickPosition(0); \r\n else \r\n clip.setMicrosecondPosition(0); \r\n audioPosition = 0; \r\n progress.setValue(0); \r\n }", "private void ConvertTextToSpeech(String voice1) {\n text=voice1;\n //text = et.getText().toString();\n if (text == null || \"\".equals(text)) {\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n } else\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", "public void reset() {\n actionFlag = true;\n messageFlag = false;\n self.getInputBuffer().clear();\n self.getOutputBuffer().clear();\n self.setCurrentProduct(null);\n self.resetCounters();\n self.getServiceManager().init(getRandom(), template);\n syncUpdate();\n }", "public void reset() {\n onoff.reset();\n itiefe.reset();\n itiefe.setEnabled(false);\n }", "public void reset() {\n context.reset();\n state = State.NAME;\n }", "public static void resetMetaState(Spannable text) {\n text.removeSpan(CAP);\n text.removeSpan(ALT);\n text.removeSpan(SYM);\n }", "@Override\n public void onInit(int code) {\n if (code==TextToSpeech.SUCCESS) {\n m_tts.setLanguage(Locale.US);\n } else {\n m_tts = null;\n msg(\"Failed to initialize TTS engine\");\n }\n }", "public static void Reset(){\n\t\ttstr = 0;\n\t\ttluc = 0;\n\t\ttmag = 0; \n\t\ttacc = 0;\n\t\ttdef = 0; \n\t\ttspe = 0;\n\t\ttHP = 10;\n\t\ttMP = 0;\n\t\tstatPoints = 13;\n\t}", "@Override\r\n\tpublic void resetState() {\r\n\t\t// what to do for a tape device??\r\n\t}", "public void onInit(int code) {\n\t\t if (code==TextToSpeech.SUCCESS) {\n\t\t \t com.example.main_project.MainActivity.tts.setLanguage(Locale.getDefault());\n\n\n\t\t \t } else {\n\t\t \t com.example.main_project.MainActivity.tts = null;\n\t\t \t Toast.makeText(this, \"Failed to initialize TTS engine.\",\n\t\t \t Toast.LENGTH_SHORT).show();\n\t\t \t }\t\t\n\t\t}", "public void stopSpeak() {\n if (mSynthesizer != null && mSynthesizer.isSpeaking()) {\n mSynthesizer.stopSpeaking();\n }\n }", "public void reset() {\n\t\tmCycleFlip = false;\n\t\tmRepeated = 0;\n\t\tmMore = true;\n //mOneMoreTime = true;\n \n\t\t// 추가\n\t\tmStarted = mEnded = false;\n\t\tmCanceled = false;\n }", "public void reset() {\n playing = true;\n won = false;\n startGame();\n\n // Make sure that this component has the keyboard focus\n requestFocusInWindow();\n }", "public void reset(){\n try {\n getDocument().remove(0,getDocument().getLength()); \n if(defaultText != null){\n getDocument().insertString(0,defaultText,null); \n }\n }catch (BadLocationException ble){\n System.err.println(\"Reset ist fehlgeschlagen!\");\n }\n }", "public static void reset() {\n\t\tselectedAtts.clear();\n\t}", "public void reset() {\n\t\tbg = TetrisDefaults.BGColor;\n\t\ttext = TetrisDefaults.TEXTColor;\n\t\tz = TetrisDefaults.ZColor;\n\t\ts = TetrisDefaults.SColor;\n\t\tleft = TetrisDefaults.LEFTColor;\n\t\tright = TetrisDefaults.RIGHTColor;\n\t\tline = TetrisDefaults.LINEColor;\n\t\ttri = TetrisDefaults.TRIANGLEColor;\n\t\tsquare = TetrisDefaults.SQUAREColor;\n\t\tflash = TetrisDefaults.FLASHColor;\n\t}", "public synchronized void resetSubtitleTextPairs() {\r\n subtitleTextPairs = null;\r\n }", "public void reset() {\n\t\tappTda_ = new ApplicationTda();\n\t\t\n\t\t// get the associated settings\n\t\tprocessData_ = appTda_.getSettings();\n\t}", "default void free() {\n setState(Audio.AudioState.STOPPED);\n }", "public void resetText(View view) {\n display();\n }", "public void resetConversationFlow(){\n conversationDao.init();\n }", "public void textMergeReset() {\n\n }", "public void SetBackToBeginning() {\n // starting word\n this.mStartWord = 0;\n // the words count that is displaying\n this.mDisplayWord = 0;\n this.mDisplayCount = 0;\n // reset index.\n this.mTextIndex = 0;\n // to enable to read and draw.\n this.mReadingF = true;\n this.mDisplayF = true;\n this.mWaitingF = false;\n // font size back default\n this.mFontSize = this.mFontDefaultSize;\n // font color back to default\n this.mFontColor = this.mFontDefaultColor;\n }", "public void reset() {\n started = false;\n flushing = false;\n moreText = true;\n headerCount = 0;\n actualLen = 0;\n }", "private void resetText() {\n\t\tpass.setText(\"\");\n\t}", "public void reset() {\n this.state = null;\n }", "private void initializeTextToSpeech() {\n myTTS = new TextToSpeech(this, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int i) {\n if(myTTS.getEngines().size() ==0){\n Toast.makeText(MainActivity.this, \"There is no Text to Speech engine on your device\", Toast.LENGTH_LONG).show();\n finish();\n }\n else {\n myTTS.setLanguage(Locale.US);\n speak(\"Hello! Welcome to the workout app\");\n\n }\n }\n });\n }", "public void reset() {\n\t\tinit(0, 0, 1, false);\n\t}", "public void reset(){\n this.context.msr.setReadyForInput(false);\n emptyAllInputBuffers();\n emptyAllOutputBuffers();\n emptyEngineersConsoleBuffer();\n }", "public void reset()\n\t{\n\t\tm_running = false;\n\t\tm_elapsedMs = 0;\n\t\tm_lastMs = 0;\n\t}", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent(\n\t\t\t\t\t\tRecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\n\t\t\t\tintent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, \"en-US\");\n\n\t\t\t\ttry {\n\t\t\t\t\tstartActivityForResult(intent, RESULT_SPEECH);\n\t\t\t\t\tet1.setText(\"\");\n\t\t\t\t} catch (ActivityNotFoundException a) {\n\t\t\t\t\tToast t = Toast.makeText(getApplicationContext(),\n\t\t\t\t\t\t\t\"Opps! Your device doesn't support Speech to Text\",\n\t\t\t\t\t\t\tToast.LENGTH_SHORT);\n\t\t\t\t\tt.show();\n\t\t\t\t}\n\t\t\t\t\n\n\t\t\t}", "public void reset()\n\t{\n\t\tthis.sourceUnit.setSelectedIndex(0);\n\t\tthis.destUnit.setSelectedIndex(0);\n\t\tthis.input.setText(\"\");\n\t\tthis.outputLabel.setText(\"\");\n\t}", "public synchronized void resetCurrentIndex()\n {\n // Reset the current index to start from 1 (speechgen0001.mp3)\n currentIndex = 1;\n }", "private void resetSense() {\r\n\t\tArrays.fill(this.senseBytes, (byte)0x00);\r\n\t\tthis.updateUnitStatus();\r\n\t}", "public void resetSounds() {\n\t\tCollection<SoundInfo> sounds = soundList.values();\n for(SoundInfo sound: sounds){\n \t\tsound.reset();\n }\n\t}", "public void resetState();", "@Override\n public void onInit(int i) {\n if(i!=TextToSpeech.ERROR){\n // To Choose language of speech\n textToSpeech.setLanguage(getResources().getConfiguration().locale);\n }\n }", "public void reset () {}", "private void reset() {\n\t\tlevel.getLogic().resetBoard();\n\t\tlevelView.refresh();\n\t\tlevelView.clearSelectedWords();\n\t}", "public void reset();", "public void reset();", "public void reset();", "public void reset();", "public void reset();", "public void reset();", "public void reset();", "public void reset();", "public void reset();", "public void reset();", "public void reset();", "public void reset();", "public void reset();", "public void reset();", "public void reset();", "private void softReset() {\n // variables\n lapMap.clear();\n // ui\n sessionTView.setText(\"\");\n positionTView.setText(\"-\");\n currentLapTView.setText(\"--:--:---\");\n lastLapTView.setText(\"--:--:---\");\n bestLapTView.setText(\"--:--:---\");\n currentLapNumberTView.setText(\"-\");\n gapTView.setText(\" -.---\");\n fastestDriver = Float.MAX_VALUE;\n fastestDriverName = null;\n fastestDriverTView.setText(\"--:--:---\");\n fastestDriverNameTView.setText(\"Fastest lap\");\n Log.d(TAG, \"SOFT Reset: between game states\");\n }", "public void reset() {\n\t\tTextView SetQuestionText = (TextView) findViewById(R.id.textView5);\n\t\tSetQuestionText.setText(\"\" + Question);\n\t\tEditText editText22 = (EditText) findViewById(R.id.editText1);\n\t\teditText22.setText(\" ?\");\n\t\tExpresstion_generator_based_on_difficulty();\n\t\tEndTimer();\n\t\tStartTimer();\n\t}", "public void reset(){\r\n\t\tdialogToDisplay=0;\r\n\t\tqueuedDialog=0;\r\n\t\toptionSelection=null;\r\n\t\tdone=false;\r\n\t}", "public void reset(){\n active = false;\n done = false;\n state = State.invisible;\n curX = 0;\n }", "public void reset() {\n // stop motors\n Motor.A.stop();\t\n Motor.A.setPower(0);\t\n Motor.B.stop();\n Motor.B.setPower(0);\t\n Motor.C.stop();\n Motor.C.setPower(0);\t\n // passivate sensors\n Sensor.S1.passivate();\n Sensor.S2.passivate();\n Sensor.S3.passivate();\n for(int i=0;i<fSensorState.length;i++)\n fSensorState[i] = false;\n }", "public void reset(){\n\t\tBashCmdUtil.bashCmdNoOutput(\"rm -r data/games_module\");\n\t\tBashCmdUtil.bashCmdNoOutput(\"sed -i \\\"1s/.*/ \"+\"0\"+\" /\\\" data/winnings\");\n\t\tBashCmdUtil.bashCmdNoOutput(\"sed -i \\\"1s/.*/ \"+\"175\"+\" /\\\" data/tts_speed\");\n\t\tBashCmdUtil.bashCmdNoOutput(\"rm data/answered_questions\");\n\t\tBashCmdUtil.bashCmdNoOutput(\"rm data/five_random_categories\");\n\t\tBashCmdUtil.bashCmdNoOutput(\"rm data/current_player\");\n\t\t_currentPlayer = null;\n\t\t_internationalUnlocked = false;\n\t\t_gamesData.clear();\n\t\t_fiveRandomCategories.clear();\n\t\tfor (int i= 0; i<5;i++) {\n\t\t\t_answeredQuestions[i]=0;\n\t\t}\n\t\tBashCmdUtil.bashCmdNoOutput(\"touch data/answered_questions\");\n\t\tinitialiseCategories();\n\t\ttry {\n\t\t\treadCategories();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tsetFiveRandomCategories();\n\t}", "public void resetBusquedaSimpleAvanzada()\r\n {\r\n this.busquedaSimpleAvanzada = null;\r\n }", "public void resetBusquedaSimpleAvanzada()\r\n {\r\n this.busquedaSimpleAvanzada = null;\r\n }", "public void resetNlpnStatistics() {\n this.numberOfWords = 0;\n this.numberOfSentences = 0;\n this.naturalLanguageProcessingRuntime = 0;\n this.languageDetectionRuntime = 0;\n }", "private void resetValues() {\n this.teaIDText.setText(\"\");\n this.teaNameText.setText(\"\");\n this.teaCollegeText.setText(\"\");\n this.teaDepartmentText.setText(\"\");\n this.teaTypeText.setText(\"\");\n this.teaPhoneText.setText(\"\");\n this.teaRemarkText.setText(\"\");\n }", "public void resetText (String textString) {\n\t\tbody=textString;\n\t\tTextLine line = new TextLine();\n\t\tContext context = new Context();\n\t\tText textobj = new Text();\n\t\tline = genText(textString,textobj,line,context);\n\t\ttextobj.copyLine(line);\n\t\ttextobj.finalize();\n\t\tMemoryTextWrapper textWrapper = new MemoryTextWrapper(textobj);\n\t\tthis.text = textWrapper;\n\t}", "public void reset() {\n\t\tmCustomRingtone = null;\n\t\tmSendToVM = null;\n\t\tmSelected = false;\n\t\tmHasText = null;\n\t\tmHasPhone = null;\n\t\tmHasEmail = null;\n\t\t// mPhoto = null; // don't re-get this, too expensive\n\t\tmContactInfo = null;\n\t}", "public void resetScsynth() {\n\t\tsendMessage(\"/g_freeAll\", new Object[] { 0 });\n\t\tsendMessage(\"/clearSched\");\n\t\tsendMessage(\"/g_new\", new Object[] { 1 });\n\t}", "@SuppressWarnings(\"NullAway\")\n\t\tpublic void reset() {\n\t\t\ttrackDoc = null;\n\t\t\tglobalDoc = null;\n\t\t\tpredicted.reset();\n\t\t\tobserved.reset();\n\t\t\tdoc_to_imagePixel.reset();\n\t\t}", "public void reset()\n\t{\n\t\tthis.resetSelected();\n\t\tthis.clearMsgArea();\n\t}", "public void reset()\n\t{\n\t\tdelayCount = 0f;\n\t\trepeatCount = 0;\n\t\tenabled = true;\n\t}", "public void reset() {\n this.displayHasContent = false;\n this.obscured = false;\n this.syswin = false;\n this.preferredRefreshRate = 0.0f;\n this.preferredModeId = 0;\n }", "public void resetLanguage() {\n BlockConnectorShape.resetConnectorShapeMappings();\n getWorkspace().getEnv().resetAllGenuses();\n BlockLinkChecker.reset();\n }", "public void resetButtonAndText() {\n currentText = colorTxtArr[(int) (Math.random() * 5)];\n buttonColor = colorArr[(int) (Math.random() * 5)];\n colorText.setForeground(buttonColor);\n colorText.setText(currentText);\n }", "public void sendAllSoundsOff()\n {\n super.sendAllSoundsOff();\n }" ]
[ "0.6227629", "0.6084782", "0.6034078", "0.60003453", "0.5972185", "0.5948185", "0.590352", "0.58898973", "0.5877981", "0.5869826", "0.5864241", "0.58546025", "0.58473414", "0.58125883", "0.58040386", "0.5799197", "0.5797071", "0.57908994", "0.5766306", "0.57597864", "0.57542795", "0.5738542", "0.5728974", "0.57074004", "0.5706204", "0.5702537", "0.5697945", "0.5684465", "0.56677026", "0.56642693", "0.5661743", "0.56543595", "0.56485784", "0.56370795", "0.5634665", "0.5631352", "0.5631219", "0.56262803", "0.5617274", "0.5605469", "0.55955756", "0.5592638", "0.55921537", "0.55880123", "0.5578762", "0.5572474", "0.55701226", "0.5567598", "0.55669045", "0.5558795", "0.55585885", "0.55557245", "0.55556136", "0.5551868", "0.5550894", "0.5550863", "0.5550054", "0.55489826", "0.554779", "0.5543741", "0.5543458", "0.5519991", "0.5518854", "0.55178934", "0.5517474", "0.55098516", "0.5505568", "0.5505568", "0.5505568", "0.5505568", "0.5505568", "0.5505568", "0.5505568", "0.5505568", "0.5505568", "0.5505568", "0.5505568", "0.5505568", "0.5505568", "0.5505568", "0.5505568", "0.55040896", "0.5498972", "0.5467462", "0.54656696", "0.54635787", "0.5459987", "0.545901", "0.545901", "0.54586756", "0.5458089", "0.5457713", "0.54569894", "0.54565495", "0.54547274", "0.5451665", "0.5444651", "0.5435771", "0.54326916", "0.5424716", "0.5424699" ]
0.0
-1
Loads a set of voice parameters defined in a xml file contained in the preferences folder.The name of the xml file must begin with ALTextToSpeech_Voice_
public Future<Void> loadVoicePreference(String pPreferenceName) throws DynamicCallException, ExecutionException{ return call("loadVoicePreference", pPreferenceName); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void loadVoicePreference(String pPreferenceName) throws DynamicCallException, ExecutionException{\n call(\"loadVoicePreference\", pPreferenceName).get();\n }", "private void loadPreferences() {\n\t\tXSharedPreferences prefApps = new XSharedPreferences(PACKAGE_NAME);\n\t\tprefApps.makeWorldReadable();\n\n\t\tthis.debugMode = prefApps.getBoolean(\"waze_audio_emphasis_debug\", false);\n }", "public void loadPreferecences()\n {\n // Load preferences for chapter\n chapterPref = Activator.getDefault().getPluginPreferences().getBoolean(PREFERENCE_FOR_CHAPTER);\n if (controller != null)\n { \n\t\t\tcontroller.setHierarchical(chapterPref);\n\t\t}\n // Load preferences for value to recognize req\n String pref = Activator.getDefault().getPluginPreferences().getString(PREFERENCE_FOR_VALUE_TO_RECOGNIZE_REQ);\n if (pref != null && pref.length() > 0)\n {\n Serializer<RecognizedElement> serializer = new Serializer<RecognizedElement>();\n RecognizedElement element = serializer.unSerialize(pref);\n if (element != null)\n {\n valueToRecognizeReq = element;\n }\n }\n\n // Load preferences for attributes list\n pref = Activator.getDefault().getPluginPreferences().getString(PREFERENCE_FOR_LIST_RECOGNIZED_ELEMENT);\n if (pref != null && pref.length() > 0)\n {\n Serializer<Collection<RecognizedElement>> serializer = new Serializer<Collection<RecognizedElement>>();\n Collection<RecognizedElement> paramDecoded = serializer.unSerialize(pref);\n if (paramDecoded != null && paramDecoded.size() > 0)\n {\n for (Iterator<RecognizedElement> iterator = paramDecoded.iterator(); iterator.hasNext();)\n {\n tree.add((RecognizedElement) iterator.next());\n }\n }\n }\n \n // Load preferences for the description\n descriptionChecked = Activator.getDefault().getPluginPreferences().getBoolean(PREFERENCE_FOR_DESCRIPTION);\n }", "public void load () {\n hasSoundOn = preference.getBoolean(\"sound effect\", true);\n hasMusicOn = preference.getBoolean(\"background music\", true);\n soundVolume = MathUtils.clamp(preference.getFloat(\"sound volume\", 0.5f), 0.0f, 1.0f);\n musicVolume = MathUtils.clamp(preference.getFloat(\"music volume\", 0.5f), 0.0f, 1.0f);\n }", "private void configureVoice(Voice voice) {\n voice.setPitch(configurator.getPitch());\n voice.setVolume(configurator.getVolume());\n voice.setRate(configurator.getRate());\n }", "private void loadSpeechActivity() {\n PackageManager pm = getPackageManager();\n List<ResolveInfo> activities = pm.queryIntentActivities(\n new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH), 0);\n if (activities.size() == 0)\n {\n voiceSupport=0;\n }\n\t\t\n\t}", "private void init() {\n if (!isInitiated) {\n //Voices use by freeTTS, we define where they are, currently in the java en_us.jar\n //add the package\n addToSystemesPropetites(this.configurator.getLocation());\n\n // The VoiceManager manages all the voices for FreeTTS.\n voiceManager = VoiceManager.getInstance();\n\n this.defaultVoice = voiceManager.getVoice(this.configurator.getName());\n\n configureVoice(this.defaultVoice);\n\n // Allocates the resources for the voice.\n this.defaultVoice.allocate();\n isInitiated = true;\n }\n }", "private void loadPreferences() {\n SharedPreferences sp = getActivity().getSharedPreferences(SETTINGS, Context.MODE_PRIVATE );\n boolean lm = sp.getBoolean(getString(R.string.live_match), true);\n boolean ls = sp.getBoolean(getString(R.string.live_score), true);\n\n if(lm) live_match.setChecked(true);\n else live_match.setChecked(false);\n\n if(ls) live_score.setChecked(true);\n else live_score.setChecked(false);\n }", "@Override\n\tpublic void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\t\taddPreferencesFromResource(R.xml.talk_robot_settings);\n\t}", "public abstract void startVoiceRecognition(String language);", "@Override\n protected void onCreate(Bundle icicle) {\n super.onCreate(icicle);\n mPhone = PhoneFactory.getDefaultPhone();\n \n addPreferencesFromResource(R.xml.call_feature_setting);\n \n mAudioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);\n \n // get buttons\n PreferenceScreen prefSet = getPreferenceScreen();\n mSubMenuVoicemailSettings = (EditPhoneNumberPreference)findPreference(BUTTON_VOICEMAIL_KEY);\n if (mSubMenuVoicemailSettings != null) {\n mSubMenuVoicemailSettings.setParentActivity(this, VOICEMAIL_PREF_ID, this);\n mSubMenuVoicemailSettings.setDialogOnClosedListener(this);\n mSubMenuVoicemailSettings.setDialogTitle(R.string.voicemail_settings_number_label);\n }\n \n mButtonDTMF = (ListPreference) findPreference(BUTTON_DTMF_KEY);\n mButtonAutoRetry = (CheckBoxPreference) findPreference(BUTTON_RETRY_KEY);\n mButtonHAC = (CheckBoxPreference) findPreference(BUTTON_HAC_KEY);\n mButtonTTY = (ListPreference) findPreference(BUTTON_TTY_KEY);\n mVoicemailProviders = (ListPreference) findPreference(BUTTON_VOICEMAIL_PROVIDER_KEY);\n if (mVoicemailProviders != null) {\n mVoicemailProviders.setOnPreferenceChangeListener(this);\n mVoicemailSettings = (PreferenceScreen)findPreference(BUTTON_VOICEMAIL_SETTING_KEY);\n \n initVoiceMailProviders();\n }\n if (getResources().getBoolean(R.bool.dtmf_type_enabled)) {\n mButtonDTMF.setOnPreferenceChangeListener(this);\n } else {\n prefSet.removePreference(mButtonDTMF);\n mButtonDTMF = null;\n }\n \n if (getResources().getBoolean(R.bool.auto_retry_enabled)) {\n mButtonAutoRetry.setOnPreferenceChangeListener(this);\n } else {\n prefSet.removePreference(mButtonAutoRetry);\n mButtonAutoRetry = null;\n }\n \n if (getResources().getBoolean(R.bool.hac_enabled)) {\n mButtonHAC.setOnPreferenceChangeListener(this);\n } else {\n prefSet.removePreference(mButtonHAC);\n mButtonHAC = null;\n }\n \n if (getResources().getBoolean(R.bool.tty_enabled)) {\n mButtonTTY.setOnPreferenceChangeListener(this);\n ttyHandler = new TTYHandler();\n } else {\n prefSet.removePreference(mButtonTTY);\n mButtonTTY = null;\n }\n \n if (!getResources().getBoolean(R.bool.world_phone)) {\n prefSet.removePreference(prefSet.findPreference(BUTTON_CDMA_OPTIONS));\n prefSet.removePreference(prefSet.findPreference(BUTTON_GSM_UMTS_OPTIONS));\n \n if (mPhone.getPhoneName().equals(\"CDMA\")) {\n prefSet.removePreference(prefSet.findPreference(BUTTON_FDN_KEY));\n addPreferencesFromResource(R.xml.cdma_call_options);\n } else {\n addPreferencesFromResource(R.xml.gsm_umts_call_options);\n }\n }\n \n // create intent to bring up contact list\n mContactListIntent = new Intent(Intent.ACTION_GET_CONTENT);\n mContactListIntent.setType(android.provider.Contacts.Phones.CONTENT_ITEM_TYPE);\n \n // check the intent that started this activity and pop up the voicemail\n // dialog if we've been asked to.\n // If we have at least one non default VM provider registered then bring up\n // the selection for the VM provider, otherwise bring up a VM number dialog.\n // We only bring up the dialog the first time we are called (not after orientation change)\n if (icicle == null) {\n if (getIntent().getAction().equals(ACTION_ADD_VOICEMAIL) &&\n mVoicemailProviders != null) {\n if (mVMProvidersData.size() > 1) {\n simulatePreferenceClick(mVoicemailProviders);\n } else {\n mSubMenuVoicemailSettings.showPhoneNumberDialog();\n }\n }\n }\n updateVoiceNumberField();\n }", "public void loadFromPreferences(SharedPreferences preferences){\r\n\t\tinitialSetuped = preferences.getBoolean(\"initialSetupped\", false);\r\n\t\tuserName = preferences.getString(\"username\", \"\");\r\n\t\tuserEmail = preferences.getString(\"useremail\", \"\");\r\n\t\trecipientEmail = preferences.getString(\"recipientemail\", \"\");\r\n\t\toption = WeightUnitOption.loadPreference(preferences.getBoolean(\"option\", true));\r\n\t}", "@Override\n\tpublic String addVoice(String voiceFileName) throws Exception {\n\t\treturn null;\n\t}", "private void changeVoice(String voice) throws IOException{\r\n\t\tFile failed = new File(\".festivalrc\");\r\n\t\t//If file does not exist, create new file\r\n\t\tif(!failed.exists()) {\r\n\t\t\tfailed.createNewFile();\r\n\t\t} \r\n\r\n\t\t//Appending the word to the file\r\n\t\tWriter output;\r\n\t\toutput = new BufferedWriter(new FileWriter(failed,false)); \r\n\t\toutput.append(\"(set! voice_default '\"+voice +\")\");\r\n\t\toutput.close();\r\n\t}", "public static void load() {\n tag = getPlugin().getConfig().getString(\"Tag\");\n hologram_prefix = getPlugin().getConfig().getString(\"Prefix\");\n hologram_time_fixed = getPlugin().getConfig().getBoolean(\"Hologram_time_fixed\");\n hologram_time = getPlugin().getConfig().getInt(\"Hologram_time\");\n hologram_height = getPlugin().getConfig().getInt(\"Hologram_height\");\n help_message = getPlugin().getConfig().getStringList(\"Help_message\");\n hologram_text_lines = getPlugin().getConfig().getInt(\"Max_lines\");\n special_chat = getPlugin().getConfig().getBoolean(\"Special_chat\");\n radius = getPlugin().getConfig().getBoolean(\"Radius\");\n radius_distance = getPlugin().getConfig().getInt(\"Radius_distance\");\n chat_type = getPlugin().getConfig().getInt(\"Chat-type\");\n spectator_enabled = getPlugin().getConfig().getBoolean(\"Spectator-enabled\");\n dataType = getPlugin().getConfig().getInt(\"Data\");\n mySQLip = getPlugin().getConfig().getString(\"Server\");\n mySQLDatabase = getPlugin().getConfig().getString(\"Database\");\n mySQLUsername = getPlugin().getConfig().getString(\"Username\");\n mySQLPassword = getPlugin().getConfig().getString(\"Password\");\n\n }", "private void loadSettings() {\n//\t\tSharedPreferences prefs = this.getSharedPreferences(Defs.PREFS_NAME, 0);\n//\t\t\n//\t\tString fileData = prefs.getString(Defs.PREFS_KEY_PREV_RATES_FILE, \"\");\n//\t\tLog.d(TAG, \"Loaded last \" + fileData);\n//\t\tif ( fileData.length() > 0 ) {\n//\t\t\tByteArrayInputStream bias = new ByteArrayInputStream(fileData.getBytes());\n//\t\t\t_oldRates = new ExchangeRate();\n//\t\t\tparseRates(bias, _oldRates);\n//\t\t}\n\t}", "public void initializeQuestion(){\n\t\ttry{Element root = new XmlReader().parse(Gdx.files.internal(xmlFile));\n\t\tElement artist = root.getChildByName(formatName(game.getArtist()));\n\t\tElement quesNum = artist.getChildByName(Integer.toString(game.getQuestion()));\n\t\tElement question = quesNum.getChildByName(\"Question\");\n\t\tques = question.getText();\n\t\t}\n\t\tcatch(IOException e){\n\t\t}\n\t}", "private void startVoiceRecognitionActivity() {\n\t\t// Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\t\t// intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n\t\t// RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n\t\t// intent.putExtra(RecognizerIntent.EXTRA_PROMPT,\n\t\t// \"Diga o valor do produto\");\n\t\t// intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_PREFERENCE, \"pt-BR\");\n\t\t// // intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_PREFERENCE,\n\t\t// \"en-US\");\n\t\t// intent.putExtra(RecognizerIntent.EXTRA_ONLY_RETURN_LANGUAGE_PREFERENCE,\n\t\t// true);\n\t\t// startActivityForResult(intent, VOICE_RECOGNITION_REQUEST_CODE);\n\t\tUtils.startVoiceRecognitionActivity(this, Utils.nomeProdutoMessage);\n\t}", "private void setTextTospeech() {\n textToSpeech = new TextToSpeech(mContext, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n Set<Locale> languages = textToSpeech.getAvailableLanguages();\n if (language.toLowerCase().contains(langaugeCodeEnglish)) {\n int result = textToSpeech.setLanguage(new Locale(\"en\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n //Toast.makeText(mContext, result + \" is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n }\n } else {\n int result = textToSpeech.setLanguage(new Locale(\"hi\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n result = textToSpeech.setLanguage(Locale.forLanguageTag(\"hin\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n\n // Toast.makeText(mContext, result + \"Language is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \"Language is not supported\");\n }\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n if (result == TextToSpeech.LANG_NOT_SUPPORTED) {\n showTtsLanuageNSDialog();\n }\n }\n }\n }\n });\n }", "private void setRecognizerParam(SettingParams params) {\n if (mRecognizer == null)\n return;\n //清空所以参数\n mRecognizer.setParameter(SpeechConstant.PARAMS, null);\n //设置听写引擎\n mRecognizer.setParameter(SpeechConstant.ENGINE_TYPE, SpeechConstant.TYPE_CLOUD);\n //设置返回结果格式\n mRecognizer.setParameter(SpeechConstant.RESULT_TYPE, \"json\");\n //设置标点符号 0:无标点 1:有标点\n mRecognizer.setParameter(SpeechConstant.ASR_PTT, \"0\");\n //设置语言\n mRecognizer.setParameter(SpeechConstant.LANGUAGE, params.getRecognizerLanguage());\n //设置发音\n mRecognizer.setParameter(SpeechConstant.ACCENT, params.getRecognizerAccent());\n //设置语音前端点:静音超时时间,即用户多长时间不说话则当做超时处理\n mRecognizer.setParameter(SpeechConstant.VAD_BOS, params.getRecognizerBOS() + \"\");\n //设置语音后端点:后端点静音检测时间,即用户停止说话多长时间内即认为不再输入, 自动停止录音\n mRecognizer.setParameter(SpeechConstant.VAD_EOS, params.getRecognizerEOS() + \"\");\n\n //open translate in english mode\n if (isEnglishEnvironment) {\n mRecognizer.setParameter(SpeechConstant.ASR_SCH, \"0\");\n mRecognizer.setParameter(SpeechConstant.ADD_CAP, \"translate\");\n mRecognizer.setParameter(SpeechConstant.TRS_SRC, \"its\");\n mRecognizer.setParameter(SpeechConstant.ORI_LANG, \"en\");\n mRecognizer.setParameter(SpeechConstant.TRANS_LANG, \"cn\");\n }\n }", "@Override\n public void onCreatePreferences(Bundle bundle, String s) {\n addPreferencesFromResource(R.xml.pref);\n sharedPreferences = PreferenceManager.getDefaultSharedPreferences(getActivity());\n //onSharedPreferenceChanged(sharedPreferences, getString(R.string.language_key));\n onSharedPreferenceChanged(sharedPreferences, getString(R.string.difficulty_key));\n onSharedPreferenceChanged(sharedPreferences, getString(R.string.word_category_key));\n }", "public void setContactVoice(String contactVoice) {\n this.contactVoice = contactVoice;\n }", "public void onVoiceStart(int sampleRates) {\n }", "@Override\r\n protected void onCreate(Bundle savedInstanceState) {\r\n super.onCreate(savedInstanceState);\r\n setContentView(R.layout.activity_translate);\r\n\r\n translatedPhrase = findViewById(R.id.translatedPhrase);//textview to display the translated phrase or word\r\n list3 = findViewById(R.id.list3);\r\n list3.setChoiceMode(ListView.CHOICE_MODE_SINGLE);//setting the choice mode of the list to single choice\r\n\r\n subscribedLanguage = findViewById(R.id.subscribedLanguage);\r\n languageArrayList = phrasesDatabase.languages();//storing the data from the database into the array\r\n //array to store the string values of the main array\r\n ArrayList<String> spinnerArray = new ArrayList<>();\r\n //loop to retrieve the values from the main array into the string array for displaying\r\n for(int i =0; i < languageArrayList.size(); i++) {\r\n spinnerArray.add(languageArrayList.get(i).getLanguage());\r\n }\r\n\r\n ArrayAdapter<String> spinnerAdapter = new ArrayAdapter<>(this, android.R.layout.simple_spinner_item, spinnerArray);\r\n spinnerAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\r\n subscribedLanguage.setAdapter(spinnerAdapter);\r\n\r\n translate = findViewById(R.id.translate);\r\n pronounce = findViewById(R.id.pronounce);\r\n\r\n translationService = initLanguageTranslatorService();\r\n textService = initTextToSpeechService();\r\n\r\n //calling methods\r\n translatePhrase();\r\n textToSpeech();\r\n }", "private static ArrayList<String> loadParameters() throws IOException {\r\n BufferedReader br = new BufferedReader(new FileReader(new File(\"conf.data\")));\r\n\r\n ArrayList<String> params = new ArrayList<>();\r\n\r\n String param;\r\n while ((param = br.readLine()) != null ){\r\n params.add(param);\r\n }\r\n\r\n return params;\r\n }", "public void startVoiceRecognition() {\n startVoiceRecognition(null);\n }", "public void makeDecision(String speech , List<WordResult> speechWords) {\r\n\t\tVoiceManager vm =VoiceManager.getInstance();\r\n\t\tVoice voice;\r\n\t\tvoice=vm.getVoice(\"mbrola_us3\");\r\n\t\tvoice.allocate();\r\n\t\tSystem.out.println(speech);\r\n\t\t//System.out.println(speech+\"fdsf\");\r\n\t\t if(speech.equalsIgnoreCase(\"shutdown computer\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\" Shuting down the computer\");\r\n\t\t \tRuntime rm=Runtime.getRuntime();\r\n\t\t\t\ttry{\r\n\t\t\t\t\tProcess proc=rm.exec(\"shutdown -s -t 0\");\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e)\r\n\t\t\t\t{}\r\n\t\t\t\t\r\n\r\n\t\t \t}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"restart computer\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"restarting the computer\");\r\n\t\t \tRuntime rm=Runtime.getRuntime();\r\n\t\t\t\ttry{\r\n\t\t\t\t\tProcess proc=rm.exec(\"shutdown -r -t 0\");\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e)\r\n\t\t\t\t{}\r\n\t\t\t\t\r\n\t\t \t}\r\n\t\t \tcatch(Exception e)\r\n\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\t else if(speech.equalsIgnoreCase(\"who is smart\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"Abhay bhadouriya is smartest person alive in this world\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who is ugly\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"your sister and friends are the most ugliest persons in the world \");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"what is time\"))\r\n\t\t {\r\n\t\t \tDate dm=new Date();\r\n\t\t \tint h=dm.getHours();\r\n\t\t \tint m=dm.getMinutes();\r\n\t\t \tif(h>12)\r\n\t\t \t{\r\n\t\t \t\th=h-12;\r\n\t\t \t}\r\n\t\t \t\r\n\t\t \ttry {voice.speak(\"TIME is\"+h+\"Hour\"+m+\"Minutes\" );}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"say hello \"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"Hello this is your computer\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"please sleep\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"no i don't wont to sleep\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open facebook\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"facebook\");\r\n\t\t \t FUNC.facebook();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open google\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"google\");\r\n\t\t \t FUNC.google();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open youtube\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"youtube\");\r\n\t\t \t FUNC.youtube();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open gmail\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"gmail\");\r\n\t\t \t FUNC.gmail();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"play music\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"music\");\r\n\t\t \t FUNC.pmusic();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"volume up\"))\r\n\t\t {\r\n\t\t \tvoice.speak(\"volume increasing by 10\");\r\n\t\t \t\tvolume.up();\r\n\t\t \t\t\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"volume down\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t\t voice.speak(\"volume decreasing by 10\");\r\n\t \t\tvolume.down();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"show desktop\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"Showing desktop\");\r\n\t\t\t FUNC.desktop();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"how are you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"i'm fine and you \");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"what day is today\"))\r\n\t\t {\r\n\t\t\t Date dd=new Date();\r\n\t\t\t int i=dd.getDay();\r\n\t\t\t\tif(i==0)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is sunday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==1)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is monday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==2)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is tuesday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==3)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is wednesday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==4)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is thursday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==5)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is friday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==6)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is saturday\");\r\n\t\t\t\t}\r\n\t\t\t \r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to right\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.right();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to left\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.left();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to up\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t emotion.up();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to down\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.down();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"select this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.select();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"view its property\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.property();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"view item menu\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.viewmenu();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on mouse by keyboard\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.turnon();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close this window tab\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.close();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"switch window tab\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.switcht();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"ok dude take some rest\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t voice.speak(\"have a nice day\");\r\n\t\t\t voice.speak(\"i'm very lucky to have a master like you sir \");\r\n\t\t\t voice.speak(\"good night my suprier great master\");\r\n\t\t\t System.exit(0);\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn off wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on bluetooth\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t try{\r\n\t \t\t Process p ;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c fsquirt\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the notepad\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start notepad\");\r\n\t \t\t // System.out.println(\"inside\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t } else if(speech.equalsIgnoreCase(\"close the notepad\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im notepad.exe /f\");\r\n\t \t\t // System.out.println(\"inside\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the command\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t\t\tProcess p;\r\n\t \t\t\t\tp = Runtime.getRuntime().exec(\"cmd /c start cmd\");\t\t\t\t\r\n\t \t\t\t\t}catch(Exception er)\r\n\t \t\t\t\t{}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the command\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im cmd.exe /f\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the browser\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start chrome.exe\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the browser\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im chrome.exe /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the control panel\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c control\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the control panel\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c control taskkill /im control /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the paint\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start mspaint\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the paint\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im mspaint.exe /f\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the task manager\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start taskmgr.exe\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the task manager\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t \tp = Runtime.getRuntime().exec(\"cmd /c start taskkill /im taskmgr.exe /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open power option\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c powercfg.cpl\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open windows security center\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c wscui.cpl\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"copy this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok item is copied\");\r\n\t\t\t basiccontrolls.copy();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"paste here selected item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"item is pasted\");\r\n\t\t\t basiccontrolls.paste();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"cut this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok item is cut\");\r\n\t\t\t basiccontrolls.cut();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"go back\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok going to previous page\");\r\n\t\t\t basiccontrolls.back();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"show me my beautiful face\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"you look like a donkey\");\r\n\t\t\t basiccontrolls.camera();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who the hell are you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"hello\");\r\n\t\t\t voice.speak(\"i am computer \");\r\n\t\t\t voice.speak(\"here i'm assist by you \");\r\n\t\t\t voice.speak(\"i will do anything what ever you told me todo and \"+\" \"+\" what instruction are feeded in my dictionary\");\r\n\t\t\t voice.speak(\"Thank you for asking \");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who loves you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"no one loves me \");\r\n\t\t\t voice.speak(\"except my charger \");\r\n\t\t\t voice.speak(\"but more impoertantly i looks far handsome than you \");\r\n\t\t\t voice.speak(\"you peace of shit \");\r\n\t\t\t voice.speak(\"your face is look like a monkey\");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"do you like engineering\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"no\");\r\n\t\t\t voice.speak(\"I hate engineering\");\r\n\t\t\t voice.speak(\"you ruined my life \");\r\n\t\t }\r\n\t\t/* else if(speech.equalsIgnoreCase(\"turn off wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }*/\r\n\r\n\t}", "private void loadSettingsFromSharedPreferencesDeviceAndResourcees() {\n this.mTouchCapture = (TouchCapture)this.mActivity.getCommonSettings().get(CommonSettingKey.TOUCH_CAPTURE);\n this.mPrefs = this.mActivity.getSharedPreferences(\"com.sonyericsson.android.camera.shared_preferences\", 0);\n int n = this.mCameraDevice.getCameraId();\n switch (n) {\n case 0: {\n this.mVideoFocusMode = FocusMode.FACE_DETECTION;\n break;\n }\n case 1: {\n this.mVideoFocusMode = FocusMode.FIXED;\n }\n }\n this.mAutoReviewSetting = this.mActivity.isOneShotPhotoSecure() ? AutoReview.OFF : FastCapturingCameraUtils.loadParameter(this.mPrefs, 1, n, ParameterKey.AUTO_REVIEW, AutoReview.OFF);\n if (this.mVideoAutoReviewSetting == null) {\n this.mVideoAutoReviewSetting = FastCapturingCameraUtils.loadParameter(this.mPrefs, 2, n, ParameterKey.VIDEO_AUTO_REVIEW, VideoAutoReview.OFF);\n }\n if (n == 0) {\n this.mPhotoSelfTimerSetting = SelfTimer.OFF;\n return;\n }\n this.mPhotoSelfTimerSetting = FastCapturingCameraUtils.loadParameter(this.mPrefs, 1, n, ParameterKey.SELF_TIMER, SelfTimer.OFF);\n }", "private void startVoiceRecognitionActivity()\n {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Voice recognition Demo...\");\n startActivityForResult(intent, REQUEST_CODE);\n }", "public Voice getVoice ()\r\n {\r\n return voice;\r\n }", "private void startVoiceRecognitionActivity()\n\t{\n\t\tSystem.out.println(\"Starting activity lel\");\n\t\tIntent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\t\tintent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n\t\t\t\tRecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n\t\tintent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Voice recognition Demo...\");\n\t\tstartActivityForResult(intent, VOICE_REQUEST_CODE);\n\t}", "private void startVoiceRecognitionActivity() {\n\t\tIntent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\t\tintent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n\t\tintent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"What food are you stocking right now?\");\n\t\tstartActivityForResult(intent, SPEECH_REQCODE);\n\t}", "public static void loadAudio()\n\t{\n\t\ttry\n\t\t{\n\t\t\tmusic = Applet.newAudioClip(new URL(\"file:\" + System.getProperty(\"user.dir\") + \"/sound/Pamgaea.wav\"));\n\t\t\tlaser = Applet.newAudioClip(new URL(\"file:\" + System.getProperty(\"user.dir\") + \"/sound/laser.wav\"));\n\t\t\tlaserContinuous = Applet.newAudioClip(new URL(\"file:\" + System.getProperty(\"user.dir\") + \"/sound/laser_continuous.wav\"));\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "@Override\n public void onCreatePreferences(Bundle bundle, String s) {\n addPreferencesFromResource(R.xml.preferences);\n }", "public static void InitLoadAudioCtl() {\n LoadCurAudioVolume();\r\n // Get Current Audio Balance\r\n LoadCurAudioBalance();\r\n\r\n // Get Current Supper Bass Switch\r\n LoadCurAudioSupperBassSwitch();\r\n // Get Current Supper Bass Volume\r\n LoadCurAudioSupperBassVolume();\r\n\r\n SetAudioMainVolume();\r\n\r\n // Get Current SRSSurround\r\n LoadCurAudioSrsSurround();\r\n\r\n // Get Current SRS DialogClarity\r\n LoadCurAudioSrsDialogClarity();\r\n\r\n // Get Current SRS TruBass\r\n LoadCurAudioSrsTruBass();\r\n\r\n // Get Current Audio Sound Mode\r\n LoadCurAudioSoundMode();\r\n LoadCurAudioWallEffect();\r\n // Get Custom Audio Bass and Treble\r\n LoadCustomBassVolume();\r\n LoadCustomTrebleVolume();\r\n if (disableEQ) {\r\n SetSpecialModeBTVolume(GetCurAudioSoundMode());\r\n } else {\r\n // Load Custom EQ Gain Values\r\n LoadCustomEQGain(GetEQMinGainVal(), GetEQMaxGainVal());\r\n SetSpecialModeEQGain(GetCurAudioSoundMode());\r\n SetCurAudioBassVolume(mCurAudioBassVolume);\r\n SetCurAudioTrebleVolume(mCurAudioTrebleVolume);\r\n }\r\n\r\n // Get Current EQ mode\r\n // LoadCurAudioEQMode();\r\n // SetSpecialModeEQGain(GetCurAudioEQMode());\r\n }", "private void readPreferences() {\n configAutonomousCommand();\n }", "private void initSpeechRecognizer(String userwordPath) {\n mRecognizer = SpeechRecognizer.createRecognizer(mCallerActivity, mInitListener);\n //if(mRecognizer == null){\n // Log.e(\"mRecognizer\",\"NULL!!\");\n //}\n// Log.e(TAG, \"initSpeechRecognizer: \"+ this.getPackageName());\n String userwordContent = FucUtil.readFile(mCallerActivity, userwordPath, \"utf-8\");\n int ret = mRecognizer.updateLexicon(\"userword\", userwordContent, mLexiconListener);\n Log.d(LOG_TAG, \"update lexicon fail, error code: \" + ret);\n mSharedPreferences = mCallerActivity.getSharedPreferences(mCallerActivity.getPackageName(),\tMODE_PRIVATE);\n }", "private void readSharedPreferences() {\n SharedPreferences sharedPref = getActivity().getSharedPreferences(SETTINGS_FILE_KEY, MODE_PRIVATE);\n currentDeviceAddress = sharedPref.getString(SETTINGS_CURRENT_DEVICE_ADDRESS, \"\");\n currentDeviceName = sharedPref.getString(SETTINGS_CURRENT_DEVICE_NAME, \"\");\n currentFilenamePrefix = sharedPref.getString(SETTINGS_CURRENT_FILENAME_PREFIX, \"\");\n currentSubjectName = sharedPref.getString(SETTINGS_SUBJECT_NAME, \"\");\n currentShoes = sharedPref.getString(SETTINGS_SHOES, \"\");\n currentTerrain = sharedPref.getString(SETTINGS_TERRAIN, \"\");\n }", "private void readPreferences() {\r\n \t\tSharedPreferences sp = getSharedPreferences(SPN, MODE_PRIVATE);\r\n \t\t// set listener to this\r\n \t\tsp.registerOnSharedPreferenceChangeListener(this);\r\n \t\t// read shared preferences to get data file\r\n \t\tdataFile = sp.getString(res.getString(R.string.pref_data_file_key),\r\n \t\t\t\tnull);\r\n \t\tif (localLOGV) {\r\n \t\t\tLog.i(TAG, \"Data file is \" + dataFile);\r\n \t\t}\r\n \t\tif (dataFile == null)\r\n \t\t\treturn;\r\n \t\t// read if data file is compressed\r\n \t\tgzipFile = sp.getBoolean(res.getString(R.string.pref_data_file_gzip),\r\n \t\t\t\tfalse);\r\n \t}", "public void setVoice(String pVoiceID) throws DynamicCallException, ExecutionException{\n call(\"setVoice\", pVoiceID).get();\n }", "public interface VoiceManager {\n\n void speak(int requestCode, int speechResourceId, Object... formatArgs);\n\n void speak(int requestCode, int speechResourceId);\n\n void listen(int requestCode);\n\n void shutdown();\n\n void setVoiceManagerListener(VoiceManagerImpl.VoiceManagerListener listener);\n}", "private void setupRecognizer(File assetsDir) throws IOException {\n\n recognizer = SpeechRecognizerSetup.defaultSetup()\n .setAcousticModel(new File(assetsDir, \"ru-ru-ptm\"))\n .setDictionary(new File(assetsDir, \"dict_ru.dict\"))\n .setBoolean(\"-remove_noise\", true)\n //.setRawLogDir(assetsDir) // To disable logging of raw audio comment out this call (takes a lot of space on the device)\n .setKeywordThreshold(1e-7f)\n .getRecognizer();\n recognizer.addListener(this);\n\n /* In your application you might not need to add all those searches.\n They are added here for demonstration. You can leave just one.\n */\n\n\n // Create keyword-activation search.\n recognizer.addKeyphraseSearch(KEYPHRASE, KEYPHRASE);\n\n // Create grammar-based search for selection between demos\n File menuGrammar = new File(assetsDir, \"menu.gram\");\n recognizer.addGrammarSearch(MENU_SEARCH, menuGrammar);\n\n // Create grammar-based search for digit recognition\n File digitsGrammar = new File(assetsDir, \"digits.gram\");\n recognizer.addGrammarSearch(DIGITS_SEARCH, digitsGrammar);\n\n // Phonetic search\n File phoneticModel = new File(assetsDir, \"jsgf_ru.gram\");\n recognizer.addAllphoneSearch(ANIMAL_SEARCH, phoneticModel);\n }", "private void ConvertTextToSpeech(String voice1) {\n text=voice1;\n //text = et.getText().toString();\n if (text == null || \"\".equals(text)) {\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n } else\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", "public void loadConfig(XMLElement xml) {\r\n\r\n }", "private void loadSettingFont() {\n\t\tSharedPreferences mysettings = getSharedPreferences(\n\t\t\t\tPREFERENCES_FILE_NAME, 0);\n\t\tindexFont = mysettings.getInt(\"indexFont\", 1);\n\t\tLog.d(\"indexFont\", indexFont + \"\");\n\t\tswitch (indexFont) {\n\t\tcase 0:\n\t\t\tmTypeface = Typeface.DEFAULT;\n\t\t\tbreak;\n\t\tcase 1:\n\t\t\tmTypeface = Typeface.createFromAsset(getApplicationContext()\n\t\t\t\t\t.getAssets(), \"SEGOEUI.TTF\");\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tmTypeface = Typeface.createFromAsset(getApplicationContext()\n\t\t\t\t\t.getAssets(), \"tinhyeu.ttf\");\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tmTypeface = Typeface.createFromAsset(getApplicationContext()\n\t\t\t\t\t.getAssets(), \"thuphap.ttf\");\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tmTypeface = Typeface.createFromAsset(getApplicationContext()\n\t\t\t\t\t.getAssets(), \"SEGOEUI.TTF\");\n\t\t\tbreak;\n\t\t}\n\t}", "@Override\n public void onInit(int status) {\n\t \n\tif (status == TextToSpeech.SUCCESS) {\n\t\t \n int result = mTts.setLanguage(Locale.US);\n if (result != TextToSpeech.LANG_MISSING_DATA && result != TextToSpeech.LANG_NOT_SUPPORTED) {\n \tspokenText += spokenText+\"\"+spokenText+\"\";\n // mTts.speak(\"Dear sir your class is finished!! Dear sir your class is finished!! Dear sir your class is finished!!\", TextToSpeech.QUEUE_FLUSH, null);\n mTts.speak(spokenText, TextToSpeech.QUEUE_FLUSH, null);\n } \n } \n\t \n}", "private void setSynthesizerParam(SettingParams params) {\n if (mSynthesizer == null)\n return;\n //清除所有参数\n mSynthesizer.setParameter(SpeechConstant.PARAMS, null);\n //设置合成引擎\n mSynthesizer.setParameter(SpeechConstant.ENGINE_TYPE, SpeechConstant.TYPE_CLOUD);\n //设置音调\n mSynthesizer.setParameter(SpeechConstant.PITCH, \"50\");\n //设置播放器音频流类型\n mSynthesizer.setParameter(SpeechConstant.STREAM_TYPE, \"3\");\n //设置播放合成音频打断音乐播放,默认为true\n mSynthesizer.setParameter(SpeechConstant.KEY_REQUEST_FOCUS, \"true\");\n //设置合成发言人\n mSynthesizer.setParameter(SpeechConstant.VOICE_NAME, params.getVoiceName());\n //设置语速\n mSynthesizer.setParameter(SpeechConstant.SPEED, params.getVoiceSpeed() + \"\");\n //设置音量\n mSynthesizer.setParameter(SpeechConstant.VOLUME, params.getVoiceVolume() + \"\");\n }", "private LODEParameters(){\n prefsFile=new File(LODEConstants.PARAMS_FILE);\n }", "public void setApplicationContext(Context cx)\n {\n context = new WeakReference<>(cx);\n\n if(context.get() != null && voices == null)\n {\n // Create an array with uri:s\n voices = new Uri[VoiceID.VID_MAX_NUM_ENUMS.ordinal()];\n\n // And create these only once\n voices[VoiceID.VID_WELCOME_TO_THE_NEWSPAPER.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p001);\n voices[VoiceID.VID_ONE_MOMENT_NEWSPAPER_LOADING.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p002);\n voices[VoiceID.VID_CONTINUING.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p004);\n voices[VoiceID.VID_PAUSING.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p005);\n voices[VoiceID.VID_NEXT_ARTICLE.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p006);\n voices[VoiceID.VID_PREVIOUS_ARTICLE.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p007);\n voices[VoiceID.VID_NEXT_NEWSPAPER.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p008);\n voices[VoiceID.VID_PREVIOUS_NEWSPAPER.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p009);\n voices[VoiceID.VID_YOU_HAVE_REACHED_THE_END_OF_THE_NEWSPAPER.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p013);\n }\n }", "private void loadPreferences() {\n SharedPreferences sp = getSharedPreferences(MY_PREFS, MODE_PRIVATE);\n\n int entreeIndex = sp.getInt(\"entreeIndex\", 0);\n int drinkIndex = sp.getInt(\"drinkIndex\", 0);\n int dessertIndex = sp.getInt(\"dessertIndex\", 0);\n\n // Setting inputs from SharedPreferences\n spEntree.setSelection(entreeIndex);\n spDrink.setSelection(drinkIndex);\n spDessert.setSelection(dessertIndex);\n\n edtTxtEntreePrice.setText(alEntreePrices.get(entreeIndex));\n edtTxtDrinkPrice.setText(alDrinkPrices.get(drinkIndex));\n edtTxtDessertPrice.setText(alDessertPrices.get(dessertIndex));\n }", "private void speak() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM) ;\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Speak the Item\");\n\n startActivityForResult(intent, SPEECH_REQUEST_CODE);\n\n }", "public void onClick(View v) {\n speechRecognizer.startListening(speechRecognizerIntent);\n Toast.makeText( getActivity(),\"Voice\", Toast.LENGTH_SHORT).show();\n }", "private void readPreferences()\n {\n\n \tCheckBox myNotifyRing\t= (CheckBox) findViewById(R.id.CheckBoxNotifyRing);\n \tCheckBox myNotifyCharge\t= (CheckBox) findViewById(R.id.CheckBoxNotifyCharge);\n \tCheckBox myNotifySMS\t= (CheckBox) findViewById(R.id.CheckBoxNotifySMS);\n \tCheckBox myNotifyMail\t= (CheckBox) findViewById(R.id.CheckBoxNotifyMail);\n \tCheckBox myNotifyIM\t\t= (CheckBox) findViewById(R.id.CheckBoxNotifyIM);\n\n \tCheckBox myVibrateRing\t= (CheckBox) findViewById(R.id.CheckBoxVibrateRing);\n \tCheckBox myVibrateSMS\t= (CheckBox) findViewById(R.id.CheckBoxVibrateSMS);\n \tCheckBox myVibrateMail\t= (CheckBox) findViewById(R.id.CheckBoxVibrateMail);\n \tCheckBox myVibrateIM\t= (CheckBox) findViewById(R.id.CheckBoxVibrateIM);\n\n \tCheckBox mySoundRing\t= (CheckBox) findViewById(R.id.CheckBoxSoundRing);\n \tCheckBox mySoundSMS\t\t= (CheckBox) findViewById(R.id.CheckBoxSoundSMS);\n \tCheckBox mySoundMail\t= (CheckBox) findViewById(R.id.CheckBoxSoundMail);\n \tCheckBox mySoundIM\t\t= (CheckBox) findViewById(R.id.CheckBoxSoundIM);\n \t\n \tCheckBox myVibrateOff\t= (CheckBox) findViewById(R.id.CheckBoxVibrationOff);\n \tCheckBox mySoundOff\t= (CheckBox) findViewById(R.id.CheckBoxSoundOff);\n \t\n \tSpinner mySpinnerRing \t= (Spinner) findViewById(R.id.SpinnerRing);\n \tSpinner mySpinnerCharge = (Spinner) findViewById(R.id.SpinnerCharge);\n \tSpinner mySpinnerSMS \t= (Spinner) findViewById(R.id.SpinnerSMS);\n \tSpinner mySpinnerMail \t= (Spinner) findViewById(R.id.SpinnerMail);\n \tSpinner mySpinnerIM \t= (Spinner) findViewById(R.id.SpinnerIM);\n \tSpinner mySpinnerSleep \t= (Spinner) findViewById(R.id.SpinnerSleep);\n \t\n \tSpinner mySpinnerVFrom \t= (Spinner) findViewById(R.id.SpinnerVibrationOffFrom);\n \tSpinner mySpinnerVTo \t= (Spinner) findViewById(R.id.SpinnerVibrationOffTo);\n \tSpinner mySpinnerSFrom \t= (Spinner) findViewById(R.id.SpinnerSoundOffFrom);\n \tSpinner mySpinnerSTo \t= (Spinner) findViewById(R.id.SpinnerSoundOffTo);\n\n \t\n myNotifyRing.setChecked(m_myPrefs.getNotifyRing());\n myNotifyCharge.setChecked(m_myPrefs.getNotifyCharge());\n myNotifySMS.setChecked(m_myPrefs.getNotifySMS());\n myNotifyMail.setChecked(m_myPrefs.getNotifyMail());\n myNotifyIM.setChecked(m_myPrefs.getNotifyIM());\n \n myVibrateRing.setChecked(m_myPrefs.getVibrateRing());\n myVibrateSMS.setChecked(m_myPrefs.getVibrateSMS());\n myVibrateMail.setChecked(m_myPrefs.getVibrateMail());\n myVibrateIM.setChecked(m_myPrefs.getVibrateIM());\n\n mySoundRing.setChecked(m_myPrefs.getPlaySoundRing());\n mySoundSMS.setChecked(m_myPrefs.getPlaySoundSMS());\n mySoundMail.setChecked(m_myPrefs.getPlaySoundMail());\n mySoundIM.setChecked(m_myPrefs.getPlaySoundIM());\n\n mySpinnerRing.setSelection(m_myPrefs.getEffectRing());\n mySpinnerCharge.setSelection(m_myPrefs.getEffectCharge());\n mySpinnerSMS.setSelection(m_myPrefs.getEffectSMS());\n mySpinnerMail.setSelection(m_myPrefs.getEffectMail());\n mySpinnerIM.setSelection(m_myPrefs.getEffectIM());\n mySpinnerSleep.setSelection(m_myPrefs.getEffectSleep());\n \n // sounds\n m_strUriRing \t= m_myPrefs.getSoundRing();\t \n m_strUriSMS \t= m_myPrefs.getSoundSMS();\n m_strUriIM \t\t= m_myPrefs.getSoundIM();\n m_strUriMail\t= m_myPrefs.getSoundMail();\n \n // silence options\n myVibrateOff.setChecked(m_myPrefs.getVibrateOff());\n mySoundOff.setChecked(m_myPrefs.getSoundOff());\n \n mySpinnerVFrom.setSelection(m_myPrefs.getVibrateOffTimespan().getFromHours());\n mySpinnerVTo.setSelection(m_myPrefs.getVibrateOffTimespan().getToHours());\n mySpinnerSFrom.setSelection(m_myPrefs.getSoundOffTimespan().getFromHours());\n mySpinnerSTo.setSelection(m_myPrefs.getSoundOffTimespan().getToHours());\n\n }", "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n addPreferencesFromResource(R.xml.preferences);\n\n SharedPreferences SP = PreferenceManager.getDefaultSharedPreferences(getBaseContext());\n\n //String ip = SP.getString(\"ip\", \"NULL\");\n // Config.ip = SP.getString(\"ip\", \"NULL\");\n // Log.e(\"IP\",Config.ip );\n String language = SP.getString(\"language\",\"NULL\");\n // Toast.makeText(getApplicationContext(),Config.ip,Toast.LENGTH_SHORT).show();\n //Toast.makeText(getApplicationContext(),language,Toast.LENGTH_SHORT).show();\n }", "private void initData() {\n Resources resources = context.getResources();\n settingTitles = resources.getStringArray(R.array.setting_array);\n selectAccent = resources.getStringArray(R.array.accent_array);\n selectAccentDisplay = resources.getStringArray(R.array.accent_display_array);\n selectSpeaker = resources.getStringArray(R.array.speaker_array);\n selectSpeakerDisplay = resources.getStringArray(R.array.speaker_display_array);\n\n positive = resources.getString(R.string.positive);\n negative = resources.getString(R.string.negative);\n answerUnKnown = resources.getString(R.string.unknown);\n answerCalling = resources.getString(R.string.calling);\n answerOpen = resources.getString(R.string.opening);\n answerFound = resources.getString(R.string.founded);\n answerNotFound = resources.getString(R.string.not_found);\n\n String systemLanguage = Util.getSystemLanguage(context).toLowerCase();\n if (systemLanguage.equalsIgnoreCase(\"zh_cn\")) {\n isEnglishEnvironment = false;\n }\n }", "public void ResultVoiceDialog(EventVoice event);", "public void speakButtonClicked(View v)\n {\n startVoiceRecognitionActivity();\n }", "@Override\r\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\r\n getPreferenceManager().setSharedPreferencesName(PreferManager.PPEFER_FILE);\r\n addPreferencesFromResource(R.xml.preference);\r\n }", "private void loadSettings(){\n SharedPreferences sharedPreferences = getActivity().getSharedPreferences(SHARED_PREF, Context.MODE_PRIVATE);\n notificationSwtich = sharedPreferences.getBoolean(SWITCH, false);\n reminderOnOff.setChecked(notificationSwtich);\n }", "public Future<String> getVoice() throws DynamicCallException, ExecutionException {\n return call(\"getVoice\");\n }", "public RasaDialoguePolicy(SpeechConfig speechConfig) {\n this.gson = new Gson();\n }", "void loadPreferences() throws OntimizeJEERuntimeException;", "@Override\r\n public void loadPianoAudioStart() {\n }", "public Voice() {\n /* Make the utteranceProcessors a synchronized list to avoid\n * some threading issues.\n */\n utteranceProcessors = Collections.synchronizedList(new ArrayList());\n\tfeatures = new FeatureSetImpl();\n\tfeatureProcessors = new HashMap();\n\n\ttry {\n\t nominalRate = Float.parseFloat(\n\t\t Utilities.getProperty(PROP_PREFIX + \"speakingRate\",\"150\"));\n\t pitch = Float.parseFloat(\n\t\t Utilities.getProperty(PROP_PREFIX + \"pitch\",\"100\"));\n\t range = Float.parseFloat(\n\t\t Utilities.getProperty(PROP_PREFIX + \"range\",\"10\"));\n\t volume = Float.parseFloat(\n\t\t Utilities.getProperty(PROP_PREFIX + \"volume\",\"1.0\"));\n\t} catch (SecurityException se) {\n\t // can't get properties, just use defaults\n\t}\n outputQueue = null;\n audioPlayer = null;\n defaultAudioPlayer = null;\n }", "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main);\n txtSpeechInput = (TextView) findViewById(R.id.txtSpeechInput);\n textToSpeech = new TextToSpeech(getApplicationContext(), new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status != TextToSpeech.ERROR) {\n textToSpeech.setLanguage(Locale.ENGLISH);\n }\n }\n });\n\n btnSpeak = (ImageButton) findViewById(R.id.btnSpeak);\n btnSpeak.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n\n promptSpeechInput();\n }\n });\n\n }", "private void addSpeech(String text, String filename) {\n mUtterances.put(text, new SoundResource(filename));\n }", "private void initVariables() {\n ivBack.setVisibility(View.VISIBLE);\n tvTitle.setVisibility(View.VISIBLE);\n tvTitle.setText(getString(R.string.change_language));\n\n gifProgress.setImageResource(R.drawable.shopholic_loader);\n progressBar.setVisibility(View.GONE);\n String currentLang = AppSharedPreference.getInstance().getString(this, AppSharedPreference.PREF_KEY.CURRENT_LANGUAGE);\n setLanguage(currentLang);\n }", "public String getVoice() throws DynamicCallException, ExecutionException {\n return (String)call(\"getVoice\").get();\n }", "private String setSpeechFXLanguage(String language){\n String lang;\n if (!mSpeechFXon) {\n lang = language;\n } else if (mTts == null) {\n\t\t\tLog.i(TAG, \"TTS IS NULL!\");\n\t\t\tlang = language;\n\t\t} else {\n\t\t\tlang = Languages.setSpeechLanguage(language, mDefaultSpeechLang, mTts.ttsengine());\n\t\t\tif (mTts != null && lang != null && !lang.equals(\"\")) {\n\t\t\t\tLog.i(TAG, \"TTS set speech engine language: \" + lang);\n\t\t\t\tmTts.ttsengine().setLanguage(Languages.stringToLocale(lang));\n\t\t\t} else {\n\t\t\t\t// Unchanged, so return the pilot language\n\t\t\t\tlang = language;\n\t\t\t}\n\t\t\tLog.i(TAG, \"TTS LANG: \" + lang);\n\t\t}\n\n\t\treturn lang;\n\t}", "void load() {\n String uri =\"/storage/sdcard0/Download/bbb_sunflower_1080p_30fps_normal.mp4\";\n //String uri = \"rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov\";\n put(OPT_URI, sPref.getString(\"OPT_URI\", uri));\n put(OPT_RTSP_PROTOCOL,sPref.getString(\"OPT_RTSP_PROTOCOL\", \"tcp\"));\n put(OPT_PACKET_BUFFER_SIZE,sPref.getInt(\"OPT_PACKET_BUFFER_SIZE\", 10));\n put(OPT_IS_FLUSH,sPref.getBoolean(\"OPT_IS_FLUSH\", true));\n put(OPT_IS_MAX_FPS,sPref.getBoolean(\"OPT_IS_MAX_FPS\", true));\n put(OPT_IS_SKIP_PACKET, sPref.getBoolean(\"OPT_IS_SKIP_PACKET\", true));\n put(OPT_IS_LOOP_PLAYING, sPref.getBoolean(\"OPT_IS_LOOP_PLAYING\", true));\n put(OPT_IS_WINDOW_NATIVE, sPref.getBoolean(\"OPT_IS_WINDOW_NATIVE\", false));\n put(OPT_IS_WINDOW_GLES, sPref.getBoolean(\"OPT_IS_WINDOW_GLES\", true));\n put(OPT_IS_VIDEO_QUEUE, sPref.getBoolean(\"OPT_IS_VIDEO_QUEUE\", false));\n }", "void playSpeech(String rawText);", "private void getSettings(){\n SharedPreferences sp = getSharedPreferences(\"PACERUNNER_SETTINGS\", Activity.MODE_PRIVATE);\n AMOUNT_OF_SECONDS_WHEN_TRIGGERING_NOTIFICATION = sp.getInt(\"NOTIFICATION_SENSITIVITY\", -15);\n REQUIRED_METERS_BEFORE_SHOWING_AVGPACE = sp.getInt(\"NOTIFICATION_METERS_BEFORE_START\", 500);\n }", "@Override\r\n \tpublic void onCreate() {\r\n \t\tsuper.onCreate();\r\n \t\t// keep a copy of resources for later use in application\r\n \t\tres = getResources();\r\n \t\t// read preferences\r\n \t\treadPreferences();\r\n \t}", "private void LoadSavedPreferences() {\n\t\tString value;\n\t\tSharedPreferences sharedPreferences = PreferenceManager\n\t\t\t\t.getDefaultSharedPreferences(this);\n\t\t// tab 3 ************************************************\n\t\tvalue = sharedPreferences.getString(\"tempSzad\", \"22\");\n\t\tettempSzad_.setText(value);\n\t\tvalue = sharedPreferences.getString(\"tempPmaxdop\", \"70\");\n\t\tettempPmaxdop_.setText(value);\n\t\tvalue = sharedPreferences.getString(\"tempZmaxdop\", \"22\");\n\t\tettempZmaxdop_.setText(value);\n\t\tvalue = sharedPreferences.getString(\"tempPumpaON\", \"50\");\n\t\tettempPumpaON_.setText(value);\n\n\t\t// tab 1 ************************************************\n\t\tvalue = sharedPreferences.getString(\"tv1\", \"20.20\");\n\t\ttvS1.setText(value);\n\t\tvalue = sharedPreferences.getString(\"tv2\", \"44.22\");\n\t\ttvS2.setText(value);\n\t\tvalue = sharedPreferences.getString(\"tv3\", \"19.22\");\n\t\ttvS3.setText(value);\n\t}", "public static void loadConfig(){\n String filename = ConfigManager.getConfig().getString(LANG_FILE_KEY);\n String langFileName = Language.LANG_FOLDER_NAME + '/' + filename;\n config.setConfigFile(langFileName);\n\n File file = config.getConfigFile();\n if(file.exists()){\n config.loadConfig();\n }else{\n Logger.warn(\"Lang file \\\"\" + filename + \"\\\" doesn't exist\", false);\n Logger.warn(\"Using English language to avoid errors\", false);\n config.clearConfig();\n try{\n config.getBukkitConfig().load(plugin.getResource(Language.EN.getLangFileName()));\n }catch(Exception ex){\n Logger.err(\"An error occurred while loading English language:\", false);\n Logger.err(ex, false);\n }\n }\n//</editor-fold>\n }", "public AudioSettings() {\n this.emulator = NEmuSUnified.getInstance().getEmulator();\n }", "public void readParameters() {\r\n File directory = new File(OptionItems.XML_DEFINITION_PATH);\r\n if (directory.exists()) {\r\n parameterParserXML.readParameterDefinition(configData.getParameterList());\r\n parameterParserXML.processParameterDependency();\r\n }\r\n\r\n Log.info(\"info.progress_control.load_parameter_description\");\r\n }", "public interface ITextToSpeech {\n\n /* loaded from: classes.dex */\n public interface TextToSpeechCallback {\n void onFailure();\n\n void onSuccess();\n }\n\n boolean isInitialized();\n\n int isLanguageAvailable(Locale locale);\n\n void onDestroy();\n\n void onResume();\n\n void onStop();\n\n void setPitch(float f);\n\n void setSpeechRate(float f);\n\n void speak(String str, Locale locale);\n}", "private static void loadSettings() {\n try {\n File settings = new File(\"settings.txt\");\n //Options\n BufferedReader reader = new BufferedReader(new FileReader(settings));\n defaultSliderPosition = Double.parseDouble(reader.readLine());\n isVerticalSplitterPane = Boolean.parseBoolean(reader.readLine());\n verboseCompiling = Boolean.parseBoolean(reader.readLine());\n warningsEnabled = Boolean.parseBoolean(reader.readLine());\n clearOnMethod = Boolean.parseBoolean(reader.readLine());\n compileOptions = reader.readLine();\n runOptions = reader.readLine();\n //Colors\n for(int i = 0; i < colorScheme.length; i++) \n colorScheme[i] = new Color(Integer.parseInt(reader.readLine()));\n\n for(int i = 0; i < attributeScheme.length; i++) {\n attributeScheme[i] = new SimpleAttributeSet();\n attributeScheme[i].addAttribute(StyleConstants.Foreground, colorScheme[i]);\n }\n\n theme = reader.readLine();\n\n reader.close(); \n } catch (FileNotFoundException f) {\n println(\"Couldn't find the settings. How the hell.\", progErr);\n } catch (IOException i) {\n println(\"General IO exception when loading settings.\", progErr);\n } catch (Exception e) {\n println(\"Catastrophic failure when loading settings.\", progErr);\n println(\"Don't mess with the settings file, man!\", progErr);\n }\n }", "public void onInit(int code) {\n\t\t if (code==TextToSpeech.SUCCESS) {\n\t\t \t com.example.main_project.MainActivity.tts.setLanguage(Locale.getDefault());\n\n\n\t\t \t } else {\n\t\t \t com.example.main_project.MainActivity.tts = null;\n\t\t \t Toast.makeText(this, \"Failed to initialize TTS engine.\",\n\t\t \t Toast.LENGTH_SHORT).show();\n\t\t \t }\t\t\n\t\t}", "private void checkVoiceCommandPermission()\n {\n // Android 6 er uporer version gula te voice neoar capability ache, and they require permissions.\n // that's why we check first the SDK version is above 6 or not\n if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.M)\n {\n // jodi persmission pai voice er then\n if(!(ContextCompat.checkSelfPermission(SmartPlayerActivity.this, Manifest.permission.RECORD_AUDIO) == PackageManager.PERMISSION_GRANTED))\n {\n // we can start the activity\n Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS, Uri.parse(\"package:\" + getPackageName()));\n startActivity(intent);\n finish();\n }\n }\n }", "private void addVoiceApp() {\n\t\tApplicationInfo application = new ApplicationInfo();\r\n\t\tapplication.title = \"Camera\";\r\n application.icon = context.getResources().getDrawable(R.drawable.ic_camera_50);\r\n Intent intent=new Intent(context,CameraActivity.class);\r\n application.voiceTag=true;\r\n application.setIntent(intent);\r\n mApplications.add(application);\r\n application.setIndex(mApplications.size()-1); \r\n \r\n\t\tapplication = new ApplicationInfo();\r\n\t\tapplication.title = \"Google\";\r\n\t\tintent=new Intent(\"com.google.glass.action.START_VOICE_SEARCH_ACTIVITY\");\r\n\t\tapplication.setIntent(intent);\r\n\t\tapplication.voiceTag=true;\r\n\t\tapplication.icon = context.getResources().getDrawable(R.drawable.ic_search_50);\r\n mApplications.add(application);\r\n application.setIndex(mApplications.size()-1); \r\n\t}", "public void speakModeHint()\n {\n // speak hint text\n if (getHintsEnabled()) {\n if (mCurrentMode) {\n AudioService.getInstance().speak(getResources().getString(R.string.read_mode_hint_general));\n }\n else {\n AudioService.getInstance().speak(getResources().getString(R.string.search_mode_hint_general));\n }\n }\n }", "private static boolean loadSharedPreferencesFromFile(File src) {\n\t\tboolean res = false;\n\t\tObjectInputStream input = null;\n\t\ttry {\n\t\t\tinput = new ObjectInputStream(new FileInputStream(src));\n\t\t\tEditor prefEdit = PreferenceManager.getDefaultSharedPreferences(mContext).edit();\n\t\t\tprefEdit.clear();\n\t\t\t// first object is preferences\n\t\t\tMap<String, ?> entries = (Map<String, ?>) input.readObject();\n\t\t\t\t\n\t\t\tfor (Entry<String, ?> entry : entries.entrySet()) {\n\t\t\t\tObject v = entry.getValue();\n\t\t\t\tString key = entry.getKey();\n\t\n\t\t\t\tif (v instanceof Boolean)\n\t\t\t\t\tprefEdit.putBoolean(key, ((Boolean) v).booleanValue());\n\t\t\t\telse if (v instanceof Float)\n\t\t\t\t\tprefEdit.putFloat(key, ((Float) v).floatValue());\n\t\t\t\telse if (v instanceof Integer)\n\t\t\t\t\tprefEdit.putInt(key, ((Integer) v).intValue());\n\t\t\t\telse if (v instanceof Long)\n\t\t\t\t\tprefEdit.putLong(key, ((Long) v).longValue());\n\t\t\t\telse if (v instanceof String)\n\t\t\t\t\tprefEdit.putString(key, ((String) v));\n\t\t\t}\n\t\t\tprefEdit.commit();\n\t\n\t\t\t// second object is admin options\n\t\t\tEditor adminEdit = mContext.getSharedPreferences(AdminPreferencesActivity.ADMIN_PREFERENCES, 0).edit();\n\t\t\tadminEdit.clear();\n\t\t\t// first object is preferences\n\t\t\tMap<String, ?> adminEntries = (Map<String, ?>) input.readObject();\n\t\t\tfor (Entry<String, ?> entry : adminEntries.entrySet()) {\n\t\t\t\tObject v = entry.getValue();\n\t\t\t\tString key = entry.getKey();\n\t\n\t\t\t\tif (v instanceof Boolean)\n\t\t\t\t\tadminEdit.putBoolean(key, ((Boolean) v).booleanValue());\n\t\t\t\telse if (v instanceof Float)\n\t\t\t\t\tadminEdit.putFloat(key, ((Float) v).floatValue());\n\t\t\t\telse if (v instanceof Integer)\n\t\t\t\t\tadminEdit.putInt(key, ((Integer) v).intValue());\n\t\t\t\telse if (v instanceof Long)\n\t\t\t\t\tadminEdit.putLong(key, ((Long) v).longValue());\n\t\t\t\telse if (v instanceof String)\n\t\t\t\t\tadminEdit.putString(key, ((String) v));\n\t\t\t}\n\t\t\tadminEdit.commit();\n\t\n\t\t\tLog.i(t, \"Loaded hashmap settings into preferences\");\n\t\t\tres = true;\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} catch (ClassNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (input != null) {\n\t\t\t\t\tinput.close();\n\t\t\t\t}\n\t\t\t} catch (IOException ex) {\n\t\t\t\tex.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn res;\n\t}", "private void initSpeechManager() {\n mSpeechManager = SpeechManager.getInstance(this);\n }", "private void initializeTextToSpeech() {\n myTTS = new TextToSpeech(this, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int i) {\n if(myTTS.getEngines().size() ==0){\n Toast.makeText(MainActivity.this, \"There is no Text to Speech engine on your device\", Toast.LENGTH_LONG).show();\n finish();\n }\n else {\n myTTS.setLanguage(Locale.US);\n speak(\"Hello! Welcome to the workout app\");\n\n }\n }\n });\n }", "public XmlParserPref(Context cont, String name) {\n\t\tcontext = cont;\n\t\tprefEdit = PreferenceManager.getDefaultSharedPreferences(context).edit();\n\t\tprofileName = name;\n\t}", "void loadConfig() {\r\n\t\tFile file = new File(\"open-ig-mapeditor-config.xml\");\r\n\t\tif (file.canRead()) {\r\n\t\t\ttry {\r\n\t\t\t\tElement root = XML.openXML(file);\r\n\t\t\t\t\r\n\t\t\t\t// reposition the window\r\n\t\t\t\tElement eWindow = XML.childElement(root, \"window\");\r\n\t\t\t\tif (eWindow != null) {\r\n\t\t\t\t\tsetBounds(\r\n\t\t\t\t\t\tInteger.parseInt(eWindow.getAttribute(\"x\")),\r\n\t\t\t\t\t\tInteger.parseInt(eWindow.getAttribute(\"y\")),\r\n\t\t\t\t\t\tInteger.parseInt(eWindow.getAttribute(\"width\")),\r\n\t\t\t\t\t\tInteger.parseInt(eWindow.getAttribute(\"height\"))\r\n\t\t\t\t\t);\r\n\t\t\t\t\tsetExtendedState(Integer.parseInt(eWindow.getAttribute(\"state\")));\r\n\t\t\t\t}\r\n\t\t\t\tElement eLanguage = XML.childElement(root, \"language\");\r\n\t\t\t\tif (eLanguage != null) {\r\n\t\t\t\t\tString langId = eLanguage.getAttribute(\"id\");\r\n\t\t\t\t\tif (\"hu\".equals(langId)) {\r\n\t\t\t\t\t\tui.languageHu.setSelected(true);\r\n\t\t\t\t\t\tui.languageHu.doClick();\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tui.languageEn.setSelected(true);\r\n\t\t\t\t\t\tui.languageEn.doClick();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tElement eSplitters = XML.childElement(root, \"splitters\");\r\n\t\t\t\tif (eSplitters != null) {\r\n\t\t\t\t\tsplit.setDividerLocation(Integer.parseInt(eSplitters.getAttribute(\"main\")));\r\n\t\t\t\t\ttoolSplit.setDividerLocation(Integer.parseInt(eSplitters.getAttribute(\"preview\")));\r\n\t\t\t\t\tfeaturesSplit.setDividerLocation(Integer.parseInt(eSplitters.getAttribute(\"surfaces\")));\r\n\t\t\t\t}\r\n\r\n\t\t\t\tElement eTabs = XML.childElement(root, \"tabs\");\r\n\t\t\t\tif (eTabs != null) {\r\n\t\t\t\t\tpropertyTab.setSelectedIndex(Integer.parseInt(eTabs.getAttribute(\"selected\")));\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tElement eLights = XML.childElement(root, \"lights\");\r\n\t\t\t\tif (eLights != null) {\r\n\t\t\t\t\talphaSlider.setValue(Integer.parseInt(eLights.getAttribute(\"preview\")));\r\n\t\t\t\t\talpha = Float.parseFloat(eLights.getAttribute(\"map\"));\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tElement eMode = XML.childElement(root, \"editmode\");\r\n\t\t\t\tif (eMode != null) {\r\n\t\t\t\t\tif (\"true\".equals(eMode.getAttribute(\"type\"))) {\r\n\t\t\t\t\t\tui.buildButton.doClick();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tElement eView = XML.childElement(root, \"view\");\r\n\t\t\t\tif (eView != null) {\r\n\t\t\t\t\tui.viewShowBuildings.setSelected(false);\r\n\t\t\t\t\tif (\"true\".equals(eView.getAttribute(\"buildings\"))) {\r\n\t\t\t\t\t\tui.viewShowBuildings.doClick();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tui.viewSymbolicBuildings.setSelected(false);\r\n\t\t\t\t\tif (\"true\".equals(eView.getAttribute(\"minimap\"))) {\r\n\t\t\t\t\t\tui.viewSymbolicBuildings.doClick();\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tui.viewTextBackgrounds.setSelected(false);\r\n\t\t\t\t\tif (\"true\".equals(eView.getAttribute(\"textboxes\"))) {\r\n\t\t\t\t\t\tui.viewTextBackgrounds.doClick();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tui.viewTextBackgrounds.setSelected(false);\r\n\t\t\t\t\tif (\"true\".equals(eView.getAttribute(\"textboxes\"))) {\r\n\t\t\t\t\t\tui.viewTextBackgrounds.doClick();\r\n\t\t\t\t\t}\r\n\t\t\t\t\trenderer.scale = Double.parseDouble(eView.getAttribute(\"zoom\"));\r\n\t\t\t\t\t\r\n\t\t\t\t\tui.viewStandardFonts.setSelected(\"true\".equals(eView.getAttribute(\"standard-fonts\")));\r\n\t\t\t\t\tui.viewPlacementHints.setSelected(!\"true\".equals(eView.getAttribute(\"placement-hints\")));\r\n\t\t\t\t\tui.viewPlacementHints.doClick();\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tElement eSurfaces = XML.childElement(root, \"custom-surface-names\");\r\n\t\t\t\tif (eSurfaces != null) {\r\n\t\t\t\t\tfor (Element tile : XML.childrenWithName(eSurfaces, \"tile\")) {\r\n\t\t\t\t\t\tTileEntry te = new TileEntry();\r\n\t\t\t\t\t\tte.id = Integer.parseInt(tile.getAttribute(\"id\"));\r\n\t\t\t\t\t\tte.surface = tile.getAttribute(\"type\");\r\n\t\t\t\t\t\tte.name = tile.getAttribute(\"name\");\r\n\t\t\t\t\t\tcustomSurfaceNames.add(te);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tElement eBuildigns = XML.childElement(root, \"custom-building-names\");\r\n\t\t\t\tif (eBuildigns != null) {\r\n\t\t\t\t\tfor (Element tile : XML.childrenWithName(eBuildigns, \"tile\")) {\r\n\t\t\t\t\t\tTileEntry te = new TileEntry();\r\n\t\t\t\t\t\tte.id = Integer.parseInt(tile.getAttribute(\"id\"));\r\n\t\t\t\t\t\tte.surface = tile.getAttribute(\"type\");\r\n\t\t\t\t\t\tte.name = tile.getAttribute(\"name\");\r\n\t\t\t\t\t\tcustomBuildingNames.add(te);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tElement eFilter = XML.childElement(root, \"filter\");\r\n\t\t\t\tif (eFilter != null) {\r\n\t\t\t\t\tfilterSurface.setText(eFilter.getAttribute(\"surface\"));\r\n\t\t\t\t\tfilterBuilding.setText(eFilter.getAttribute(\"building\"));\r\n\t\t\t\t}\r\n\t\t\t\tElement eAlloc = XML.childElement(root, \"allocation\");\r\n\t\t\t\tif (eAlloc != null) {\r\n\t\t\t\t\tui.allocationPanel.availableWorkers.setText(eAlloc.getAttribute(\"worker\"));\r\n\t\t\t\t\tui.allocationPanel.strategies.setSelectedIndex(Integer.parseInt(eAlloc.getAttribute(\"strategy\")));\r\n\t\t\t\t}\r\n\t\t\t\tElement eRecent = XML.childElement(root, \"recent\");\r\n\t\t\t\tif (eRecent != null) {\r\n\t\t\t\t\tfor (Element r : XML.childrenWithName(eRecent, \"entry\")) {\r\n\t\t\t\t\t\taddRecentEntry(r.getAttribute(\"file\")); \r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} catch (IOException ex) {\r\n\t\t\t\tex.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\t}", "private void initVoiceMailProviders() {\n String providerToIgnore = null;\n if (getIntent().getAction().equals(ACTION_ADD_VOICEMAIL)) {\n providerToIgnore = getIntent().getStringExtra(IGNORE_PROVIDER_EXTRA);\n }\n \n mVMProvidersData.clear();\n \n // Stick the default element which is always there\n final String myCarrier = getString(R.string.voicemail_default);\n mVMProvidersData.put(\"\", new VoiceMailProvider(myCarrier, null));\n \n // Enumerate providers\n PackageManager pm = getPackageManager();\n Intent intent = new Intent();\n intent.setAction(ACTION_CONFIGURE_VOICEMAIL);\n List<ResolveInfo> resolveInfos = pm.queryIntentActivities(intent, 0);\n int len = resolveInfos.size() + 1; // +1 for the default choice we will insert.\n \n // Go through the list of discovered providers populating the data map\n // skip the provider we were instructed to ignore if there was one\n for (int i = 0; i < resolveInfos.size(); i++) {\n final ResolveInfo ri= resolveInfos.get(i);\n final ActivityInfo currentActivityInfo = ri.activityInfo;\n final String key = makeKeyForActivity(currentActivityInfo);\n if (key.equals(providerToIgnore)) {\n len--;\n continue;\n }\n final String nameForDisplay = ri.loadLabel(pm).toString();\n Intent providerIntent = new Intent();\n providerIntent.setAction(ACTION_CONFIGURE_VOICEMAIL);\n providerIntent.setClassName(currentActivityInfo.packageName,\n currentActivityInfo.name);\n mVMProvidersData.put(\n key,\n new VoiceMailProvider(nameForDisplay, providerIntent));\n \n }\n \n // Now we know which providers to display - create entries and values array for\n // the list preference\n String [] entries = new String [len];\n String [] values = new String [len];\n entries[0] = myCarrier;\n values[0] = \"\";\n int entryIdx = 1;\n for (int i = 0; i < resolveInfos.size(); i++) {\n final String key = makeKeyForActivity(resolveInfos.get(i).activityInfo);\n if (!mVMProvidersData.containsKey(key)) {\n continue;\n }\n entries[entryIdx] = mVMProvidersData.get(key).name;\n values[entryIdx] = key;\n entryIdx++;\n }\n \n mVoicemailProviders.setEntries(entries);\n mVoicemailProviders.setEntryValues(values);\n \n updateVMPreferenceWidgets(mVoicemailProviders.getValue());\n \n mPerProviderSavedVMNumbers =\n this.getApplicationContext().getSharedPreferences(\n VM_NUMBERS_SHARED_PREFERENCES_NAME, MODE_PRIVATE);\n }", "public void initializeAnswer(){\n\t\ttry{Element root = new XmlReader().parse(Gdx.files.internal(xmlFile));\n\t\tElement artist = root.getChildByName(formatName(game.getArtist()));\n\t\tElement quesNum = artist.getChildByName(Integer.toString(game.getQuestion()));\n\t\tArray<Element> answerCA = quesNum.getChildrenByName(\"Correct\");\n\t\tSystem.out.println(\"The size of the correct array is \" + answerCA.size);\n\t\tfor (int i = 0; i <answerCA.size; i++){\n\t\t\tcorrectA.add(answerCA.get(i).getText());\n\t\t}\n\t\t}\n\t\tcatch(IOException e){\n\t\t}\n\t}", "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_question);\n// try {\n// Uri path = Uri.parse(\"android.resource://\"+getPackageName()+\"/raw/alarm.mp3\");\n// // The line below will set it as a default ring tone replace\n// // RingtoneManager.TYPE_RINGTONE with RingtoneManager.TYPE_NOTIFICATION\n// // to set it as a notification tone\n// RingtoneManager.setActualDefaultRingtoneUri(\n// getApplicationContext(), RingtoneManager.TYPE_RINGTONE,\n// path);\n// Ringtone r = RingtoneManager.getRingtone(getApplicationContext(), path);\n// r.play();\n// }\n// catch (Exception e) {\n// e.printStackTrace();\n// }\n subject=getIntent().getStringExtra(\"Subject\");\n String question=\"[\\n\" +\n \"{\\n\" +\n \" \\\"Question\\\": \\\"What are the indirect Direct subclasses of Services?\\\",\\n\" +\n \"\\\"Q1\\\": \\\"recognitionService\\\",\\n\" +\n \"\\\"Q2\\\": \\\" remoteViewsService\\\",\\n\" +\n \"\\\"Q3\\\": \\\"spellCheckerService\\\",\\n\" +\n \"\\\"Q4\\\": \\\"inputMethodService\\\",\\n\" +\n \"\\\"A\\\": \\\"inputMethodService\\\"\\n\" +\n \"},\\n\" +\n \"{\\n\" +\n \" \\\"Question\\\": \\\"How many ways to start services?\\\",\\n\" +\n \"\\\"Q1\\\": \\\"started\\\",\\n\" +\n \"\\\"Q2\\\": \\\" bound\\\",\\n\" +\n \"\\\"Q3\\\": \\\"a & b\\\",\\n\" +\n \"\\\"Q4\\\": \\\"messenger\\\",\\n\" +\n \"\\\"A\\\": \\\"a & b\\\"\\n\" +\n \"},\\n\" +\n \"{\\n\" +\n \" \\\"Question\\\": \\\"Which of the important device characteristics that you should consider as you design and develop your application?\\\",\\n\" +\n \"\\\"Q1\\\": \\\"screen size and density\\\",\\n\" +\n \"\\\"Q2\\\": \\\" input configurations\\\",\\n\" +\n \"\\\"Q3\\\": \\\" device features\\\",\\n\" +\n \"\\\"Q4\\\": \\\"all the above\\\",\\n\" +\n \"\\\"A\\\": \\\"all the above\\\"\\n\" +\n \"},\\n\" +\n \"{\\n\" +\n \" \\\"Question\\\": \\\"Parent class of Service?\\\",\\n\" +\n \"\\\"Q1\\\": \\\"Object\\\",\\n\" +\n \"\\\"Q2\\\": \\\" Context\\\",\\n\" +\n \"\\\"Q3\\\": \\\" ContextWrapper\\\",\\n\" +\n \"\\\"Q4\\\": \\\"ContextThemeWrapper\\\",\\n\" +\n \"\\\"A\\\": \\\"ContextWrapper\\\"\\n\" +\n \"},\\n\" +\n \"{\\n\" +\n \" \\\"Question\\\": \\\"What are the indirect Direct subclasses of Activity?\\\",\\n\" +\n \"\\\"Q1\\\": \\\" launcherActivity\\\",\\n\" +\n \"\\\"Q2\\\": \\\" preferenceActivity\\\",\\n\" +\n \"\\\"Q3\\\": \\\" tabActivity\\\",\\n\" +\n \"\\\"Q4\\\": \\\"all the above\\\",\\n\" +\n \"\\\"A\\\": \\\"all the above\\\"\\n\" +\n \"},\\n\" +\n \"{\\n\" +\n \" \\\"Question\\\": \\\"What are the Direct subclasses of Activity?\\\",\\n\" +\n \"\\\"Q1\\\": \\\"ListActivity\\\",\\n\" +\n \"\\\"Q2\\\": \\\" ActivityGroup\\\",\\n\" +\n \"\\\"Q3\\\": \\\" FragmentActivity\\\",\\n\" +\n \"\\\"Q4\\\": \\\"all the above\\\",\\n\" +\n \"\\\"A\\\": \\\"all the above\\\"\\n\" +\n \"},\\n\" +\n \"{\\n\" +\n \" \\\"Question\\\": \\\"Parent class of Activity?\\\",\\n\" +\n \"\\\"Q1\\\": \\\"object\\\",\\n\" +\n \"\\\"Q2\\\": \\\" Context\\\",\\n\" +\n \"\\\"Q3\\\": \\\" activityGroup\\\",\\n\" +\n \"\\\"Q4\\\": \\\"contextThemeWrapper\\\",\\n\" +\n \"\\\"A\\\": \\\"contextThemeWrapper\\\"\\n\" +\n \"},\\n\" +\n \"{\\n\" +\n \" \\\"Question\\\": \\\" Layouts in android?\\\",\\n\" +\n \"\\\"Q1\\\": \\\"Frame Layout\\\",\\n\" +\n \"\\\"Q2\\\": \\\" Linear Layout\\\",\\n\" +\n \"\\\"Q3\\\": \\\" Relative Layout\\\",\\n\" +\n \"\\\"Q4\\\": \\\"all of the above\\\",\\n\" +\n \"\\\"A\\\": \\\"all the above\\\"\\n\" +\n \"}\\n\" +\n \"]\";\n\n al=new ArrayList<>();\n// alA=new ArrayList<>();\n// set=new HashSet<>();\n// set1=new HashSet<>();\n try {\n\n JSONArray question1=new JSONArray(question);\n for(int i=0;i<question1.length();i++) {\n Map<String,String> map=new HashMap<>() ;\n JSONObject object = question1.getJSONObject(i);\n String Questionobject=object.getString(\"Question\");\n String q1=object.getString(\"Q1\");\n String q2=object.getString(\"Q2\");\n String q3=object.getString(\"Q3\");\n String q4=object.getString(\"Q4\");\n String A=object.getString(\"A\");\n map.put(\"Question\",Questionobject);\n map.put(\"q1\",q1);\n map.put(\"q2\",q2);\n map.put(\"q3\",q3);\n map.put(\"q4\",q4);\n map.put(\"A\",A);\n al.add(map);\n\n }\n\n\n } catch (JSONException e) {\n e.printStackTrace();\n }\n// sharedPreferences = getSharedPreferences(MyPREFERENCES, Context.MODE_PRIVATE);\n\n q=findViewById(R.id.question);\n time=findViewById(R.id.time);\n b1=findViewById(R.id.b1);\n b2=findViewById(R.id.b2);\n b3=findViewById(R.id.b3);\n b4=findViewById(R.id.b4);\n p1=findViewById(R.id.p1);\n qno1=findViewById(R.id.qno);\n\n qno1.setText(\"Question \" + (j+1) + \" of 8\");\n\n\n q.setText(al.get(j).get(\"Question\"));\n b1.setText(al.get(j).get(\"q1\"));\n b2.setText(al.get(j).get(\"q2\"));\n b3.setText(al.get(j).get(\"q3\"));\n b4.setText(al.get(j).get(\"q4\"));\n dataBaseClass = new DataBaseClass(Question.this);\n String q1 = q.getText().toString();\n String A =al.get(j).get(\"A\");\n\n dataBaseClass.insertValues1(q1, A);\n if(j<al.size()-1)\n {\n\n new CountDownTimer(9000, 1000) {\n\n public void onTick(long millisUntilFinished) {\n time.setText(\"Seconds remaining:\" + millisUntilFinished / 1000);\n\n b1.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n if(b1.getText().equals(al.get(j).get(\"A\"))) {\n count++;\n }\n dataBaseClass.updateData1(b1.getText().toString(),q.getText().toString());\n\n// alA.add(b1.getText().toString());\n// alA.add( al.get(j).get(\"Question\"));\n// alA.add(al.get(j).get(\"A\"));\n// set.add(b1.getText().toString());\n Intent i = getIntent();\n i.putExtra(\"Subject\",subject);\n b1.setBackgroundColor(Color.GREEN);\n j++;\n startActivity(i);\n\n }\n });\n\n b2.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n if(b2.getText().equals(al.get(j).get(\"A\"))) {\n count++;\n }\n dataBaseClass.updateData1(b2.getText().toString(),q.getText().toString());\n// alA.add(b2.getText().toString());\n// alA.add(al.get(j).get(\"Question\"));\n// alA.add(al.get(j).get(\"A\"));\n Intent i=getIntent();\n j++;\n b2.setBackgroundColor(Color.GREEN);\n startActivity(i);\n }\n });\n\n b3.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n if(b3.getText().equals(al.get(j).get(\"A\"))) {\n count++;\n }\n dataBaseClass.updateData1(b3.getText().toString(),q.getText().toString());\n// alA.add(b3.getText().toString());\n// alA.add(al.get(j).get(\"Question\"));\n// alA.add(al.get(j).get(\"A\"));\n Intent i=getIntent();\n j++;\n b3.setBackgroundColor(Color.GREEN);\n startActivity(i);\n }\n });\n\n b4.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n if(b4.getText().equals(al.get(j).get(\"A\"))) {\n count++;\n }\n dataBaseClass.updateData1(b4.getText().toString(),q.getText().toString());\n// alA.add(b4.getText().toString());\n// alA.add(al.get(j).get(\"Question\"));\n// alA.add(al.get(j).get(\"A\"));\n Intent i=getIntent();\n j++;\n b4.setBackgroundColor(Color.GREEN);\n startActivity(i);\n }\n });\n }\n\n public void onFinish() {\n Intent i = getIntent();\n i.putExtra(\"Subject\",subject);\n j++;\n startActivity(i);\n }\n }.start();\n\n }\n else {\n new CountDownTimer(9000, 1000) {\n\n public void onTick(long millisUntilFinished) {\n time.setText(\"Seconds remaining:\" + millisUntilFinished / 1000);\n\n b1.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n// editor = sharedPreferences.edit();\n//\n// set.addAll(alA);\n// editor.putStringSet(\"selected\",set);\n// editor.apply();\n j=0;\n dataBaseClass.updateData1(b1.getText().toString(),q.getText().toString());\n Intent i=new Intent(Question.this,Congratulation.class);\n// i.putExtra(\"json\",al);\n// i.putExtra(\"slectedAnswer\",alA);\n i.putExtra(\"Subject\",subject);\n i.putExtra(\"score\",String.valueOf(count));\n startActivity(i);\n }\n });\n b2.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n// editor = sharedPreferences.edit();\n// set.addAll(alA);\n// editor.putStringSet(\"selected\",set);\n// editor.apply();\n j=0;\n dataBaseClass.updateData1(b2.getText().toString(),q.getText().toString());\n Intent i=new Intent(Question.this,Congratulation.class);\n// i.putExtra(\"json\",al);\n// i.putExtra(\"slectedAnswer\",alA);\n i.putExtra(\"Subject\",subject);\n i.putExtra(\"score\",String.valueOf(count));\n startActivity(i);\n }\n });\n b3.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n j=0;\n// editor = sharedPreferences.edit();\n// set.addAll(alA);\n// Log.e(\"alA\", alA.toString() );\n// editor.putStringSet(\"selected\",set);\n// editor.apply();\n dataBaseClass.updateData1(b3.getText().toString(),q.getText().toString());\n Intent i=new Intent(Question.this,Congratulation.class);\n// i.putExtra(\"json\",al);\n// i.putExtra(\"slectedAnswer\",alA);\n i.putExtra(\"Subject\",subject);\n i.putExtra(\"score\",String.valueOf(count));\n startActivity(i);\n }\n });\n b4.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n j=0;\n// editor = sharedPreferences.edit();\n// set.addAll(alA);\n// editor.putStringSet(\"selected\",set);\n// editor.commit();\n dataBaseClass.updateData1(b4.getText().toString(),q.getText().toString());\n Intent i=new Intent(Question.this,Congratulation.class);\n// i.putExtra(\"json\",al);\n// i.putExtra(\"slectedAnswer\",alA);\n i.putExtra(\"Subject\",subject);\n i.putExtra(\"score\",String.valueOf(count));\n startActivity(i);\n }\n });\n }\n\n public void onFinish() {\n Intent i =new Intent(Question.this,Congratulation.class);\n i.putExtra(\"Subject\",subject);\n i.putExtra(\"score\",String.valueOf(count));\n j=0;\n startActivity(i);\n }\n }.start();\n }\n\n }", "private void setTermbaseLangs(String p_xmlDefinition) throws Exception\n {\n XmlParser parser = XmlParser.hire();\n Document dom = parser.parseXml(p_xmlDefinition);\n Element root = dom.getRootElement();\n List langGrps = root.selectNodes(\"/definition/languages/language/name\");\n m_termbaseLangs = new ArrayList();\n for (int i = 0; i < langGrps.size(); i++)\n {\n Element e = (Element) langGrps.get(i);\n String lang = e.getText();\n m_termbaseLangs.add(lang);\n }\n XmlParser.fire(parser);\n\n }", "@UML(identifier=\"voice\", obligation=OPTIONAL, specification=ISO_19115)\n Collection<String> getVoices();", "public static void load()\n throws IOException, ClassNotFoundException {\n FileInputStream f_in = new\n FileInputStream (settingsFile);\n ObjectInputStream o_in = new\n ObjectInputStream(f_in);\n SettingsSaver loaded = (SettingsSaver) o_in.readObject();\n advModeUnlocked = loaded.set[0];\n LIM_NOTESPERLINE = loaded.set[1];\n LIM_96_MEASURES = loaded.set[2];\n LIM_VOLUME_LINE = loaded.set[3];\n LIM_LOWA = loaded.set[4];\n LIM_HIGHD = loaded.set[5];\n LOW_A_ON = loaded.set[6];\n NEG_TEMPO_FUN = loaded.set[7];\n LIM_TEMPO_GAPS = loaded.set[8];\n RESIZE_WIN = loaded.set[9];\n ADV_MODE = loaded.set[10];\n o_in.close();\n f_in.close();\n }", "public SettingsController(){\n SharedPreferences prefs = MainActivity.context.getSharedPreferences(MY_PREFERENCES, MODE_PRIVATE);\n backgroundMusicOn = prefs.getBoolean(MUSIC_PREFERENCES, true);\n soundEffectsOn= prefs.getBoolean(SOUND_EFFECTS_PREFERENCES, true);\n deckSkin=prefs.getString(DECK_SKIN_PREFERENCES, \"back1\");\n animationSpeed=prefs.getInt(ANIMATION_SPEED_PREFERENCES,ANIMATION_MEDIUM);\n }", "public void loadConfig(){\r\n File config = new File(\"config.ini\");\r\n if(config.exists()){\r\n try {\r\n Scanner confRead = new Scanner(config);\r\n \r\n while(confRead.hasNextLine()){\r\n String line = confRead.nextLine();\r\n if(line.indexOf('=')>0){\r\n String setting,value;\r\n setting = line.substring(0,line.indexOf('='));\r\n value = line.substring(line.indexOf('=')+1,line.length());\r\n \r\n //Perform the actual parameter check here\r\n if(setting.equals(\"romfile\")){\r\n boolean result;\r\n result = hc11_Helpers.loadBinary(new File(value.substring(value.indexOf(',')+1,value.length())),board,\r\n Integer.parseInt(value.substring(0,value.indexOf(',')),16));\r\n if(result)\r\n System.out.println(\"Loaded a rom file.\");\r\n else\r\n System.out.println(\"Error loading rom file.\");\r\n }\r\n }\r\n }\r\n confRead.close();\r\n } catch (FileNotFoundException ex) {\r\n ex.printStackTrace();\r\n }\r\n }\r\n }", "@Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n int result = tts.setLanguage(Locale.US);\n if (result == TextToSpeech.LANG_MISSING_DATA ||\n result == TextToSpeech.LANG_NOT_SUPPORTED) {\n Log.e(\"error\", \"This Language is not supported\");\n } else {\n ConvertTextToSpeech(\"\");\n\n }\n } else\n Log.e(\"error\", \"Initilization Failed!\");\n\n\n }", "public void SetPrefs(\r\n String refreshTime,\r\n String sampleNumber,\r\n String sensor1ChanID,\r\n String sensor1ReadAPI,\r\n String tabAText,\r\n String sensor1TempField,\r\n String sensor1HumdField,\r\n String sensor2ChanID,\r\n String sensor2ReadAPI,\r\n String tabBText,\r\n String sensor2TempField,\r\n String sensor2HumdField,\r\n String sensor3ChanID,\r\n String sensor3ReadAPI,\r\n String tabCText,\r\n String sensor3PowerField,\r\n String logLevel) throws ThingSpeakException, UnirestException, FileNotFoundException {\r\n\r\n try {\r\n pref.put(\"refreshtime\", refreshTime);\r\n pref.put(\"samplenumber\", sampleNumber);\r\n pref.put(\"sensor1_Chan_ID\", sensor1ChanID);\r\n pref.put(\"sensor1_ReadAPI\", sensor1ReadAPI);\r\n pref.put(\"sensor1_Tab_Text\", tabAText);\r\n pref.put(\"sensor1_Temp_Field\", sensor1TempField);\r\n pref.put(\"sensor1_Humd_Field\", sensor1HumdField);\r\n pref.put(\"sensor2_Chan_ID\", sensor2ChanID);\r\n pref.put(\"sensor2_ReadAPI\", sensor2ReadAPI);\r\n pref.put(\"sensor2_Tab_Text\", tabBText);\r\n pref.put(\"sensor2_Temp_Field\", sensor2TempField);\r\n pref.put(\"sensor2_Humd_Field\", sensor2HumdField);\r\n pref.put(\"defaultLogLevel\", logLevel);\r\n pref.put(\"sensor3_Chan_ID\", sensor3ChanID);\r\n pref.put(\"sensor3_ReadAPI\", sensor3ReadAPI);\r\n pref.put(\"sensor3_Tab_Text\", tabCText);\r\n pref.put(\"sensor3_Power_Field\", sensor3PowerField);\r\n pref.exportSubtree(new BufferedOutputStream(new FileOutputStream(\"preferences.xml\")));\r\n } catch (IOException ex) {\r\n log.log(Priority.ERROR, ex);\r\n } catch (BackingStoreException ex) {\r\n log.log(Priority.ERROR, ex);\r\n }\r\n\r\n }", "private void setupChangeVoice() {\n\t\tFestivalVoice[] voices={FestivalVoice.Kiwi, FestivalVoice.British, FestivalVoice.American};\n\t\tfinal JComboBox voice_chooser = new JComboBox(voices);\n\t\tvoice_chooser.setFont(new Font(\"Arial\", Font.PLAIN, 20));\n\t\tvoice_chooser.setForeground(Color.BLACK);\n\t\tvoice_chooser.setBackground(Color.WHITE);\n\n\t\t//set shown item to be the current voice\n\t\tvoice_chooser.setSelectedItem(parent_frame.getFestival().getFestivalVoice());\n\t\tvoice_chooser.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tinput_from_user.requestFocusInWindow();//gets focus back to the spell here field\n\t\t\t\tif((FestivalVoice)voice_chooser.getSelectedItem()!=null){\n\t\t\t\t\tparent_frame.getFestival().setFestivalVoice((FestivalVoice)voice_chooser.getSelectedItem());\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tvoice_chooser.setBounds(919, 600, 154, 40);\n\t\tadd(voice_chooser);\n\t}", "@Override\n public void onInit(int status) {\n\n if (status == TextToSpeech.SUCCESS) {\n\n int result = tts.setLanguage(Locale.US);\n\n //tts.setPitch(0.8f); // set pitch level\n tts.setSpeechRate(1); // set speech speed rate\n\n if (result == TextToSpeech.LANG_MISSING_DATA\n || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n Log.e(\"TTS\", \"Language is not supported\");\n } else {\n Log.e(\"TTS\", \"Language is supported\");\n }\n\n } else {\n Log.e(\"TTS\", \"Initilization Failed\");\n }\n\n }" ]
[ "0.61436224", "0.5826217", "0.5822375", "0.56177", "0.5567722", "0.5554784", "0.5533914", "0.54798067", "0.54612917", "0.53747135", "0.5367621", "0.53328204", "0.5247214", "0.5237988", "0.52090865", "0.5184153", "0.5163576", "0.5142924", "0.51008284", "0.5095391", "0.508249", "0.50699925", "0.50603366", "0.50322336", "0.50021505", "0.499418", "0.49809334", "0.49770674", "0.49687457", "0.4968356", "0.49678856", "0.49657035", "0.4950687", "0.49394208", "0.49324438", "0.49184686", "0.49151435", "0.49136165", "0.4909738", "0.49072397", "0.4906238", "0.48938572", "0.4887427", "0.48873466", "0.48859876", "0.4881452", "0.4875637", "0.48726422", "0.48610288", "0.48319796", "0.48319116", "0.48297232", "0.48170623", "0.48155317", "0.48143238", "0.4803324", "0.48028904", "0.4793377", "0.47930458", "0.47861263", "0.4779491", "0.47767016", "0.47730938", "0.47680306", "0.4761005", "0.4760452", "0.47555396", "0.47505054", "0.47085872", "0.47079256", "0.47027022", "0.46978632", "0.46899152", "0.46871367", "0.46830273", "0.46802515", "0.4680189", "0.46746168", "0.4673929", "0.46715763", "0.46669665", "0.4666365", "0.4664836", "0.46598944", "0.46593976", "0.4656013", "0.4654228", "0.46482477", "0.4640122", "0.46398273", "0.46181712", "0.4614701", "0.4610673", "0.46065974", "0.4606238", "0.46059182", "0.46015406", "0.45995528", "0.45963964", "0.4593042" ]
0.5796922
3
Add a word to the library
public Future<Boolean> addToDictionary(String type, String word, String priority, String phonetic, String accent) throws DynamicCallException, ExecutionException { return call("addToDictionary", type, word, priority, phonetic, accent); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addWord(Word word);", "public void add(String word) {\n Signature sig = new Signature(word);\n add(sig, word);\n }", "public void addWord(String word) {\n root.addWord(word);\n }", "public void addWord(String word) {\n\t\taddWord(word, root);\n\t}", "private void addCustomWords() {\r\n\r\n }", "public void addWord(String word) {\n root = put(root, word, 0);\n }", "public void add(String word) {\n\t\twordList.add(word);\n\t\t// TODO Add your code here\n\t}", "public void addWord(String word) {\n trie.insert(word);\n }", "public static void addKeyWord(String word)\r\n\t{\r\n\t\tkeywords.add(word);\r\n\t}", "void addWordToDoc(int doc,VocabWord word);", "public boolean addWord(String word) {\n return false;\n }", "public void add(String word, String file, int position) {\n\t \taddHelper(word, file, position);\n\t}", "public void addWord (String word) {\r\n word = word.toUpperCase ();\r\n if (word.length () > 1) {\r\n String s = validateWord (word);\r\n if (!s.equals (\"\")) {\r\n JOptionPane.showMessageDialog (null, \"The word you have entered contained invalid characters\\nInvalid characters are: \" + s, \"Error\",\r\n JOptionPane.ERROR_MESSAGE);\r\n return;\r\n }\r\n checkEasterEgg (word);\r\n words.add (word);\r\n Components.wordList.getContents ().addElement (word);\r\n } else {\r\n JOptionPane.showMessageDialog (null, \"The word you have entered does not meet the minimum requirement length of 2\", \"Error\", JOptionPane.ERROR_MESSAGE);\r\n }\r\n }", "public void addWord(String word) {\n CharNode target = root ;\n for(int i=0; i<word.length(); i++) {\n target = target.insertCharInChildren(word.charAt(i)) ;\n }\n target.end = true ;\n }", "public void add(T word);", "public AddWordAction(JTextComponent jText, String word) {\r\n this(jText, word, Utils.getResource(\"Adicionar ao dicionário\"));\r\n }", "public void addWord(String word) {\n dataStructure.put(word, \"\");\n }", "public void addWord(int id, int start, int length, int[] type);", "public void addPos(String word, IPosition pos);", "public void populateWord(String word) {\n\t\tthis.add(word);\n\t}", "public void addRef(String word) {\n addRef(word.toCharArray()); }", "public void putWord(String word) {\n if(index < words.length) {\n words[index] = word;\n }\n index++;\n }", "public void insert(String word) {\r\n tree.add(word);\r\n }", "public void addWord(String word) {\n if (word == null || word.equals(\"\")) return;\n char[] str = word.toCharArray();\n WordDictionary cur = this;\n for (char c: str) {\n if (cur.letters[c - 'a'] == null) cur.letters[c - 'a'] = new WordDictionary();\n cur = cur.letters[c - 'a'];\n }\n cur.end = true;\n }", "private void addWords(){\n wordList.add(\"EGE\");\n wordList.add(\"ABBAS\");\n wordList.add(\"KAZIM\");\n }", "void setWord(Word word);", "public void addWord(String word) {\n TrieNode curr = root;\n for (char c : word.toCharArray()) {\n curr = curr.chars.computeIfAbsent(c, (k) -> new TrieNode());\n\n }\n curr.isWord = true;\n }", "public void addWord(String word) {\n TrieNode cur = root;\n for(char c : word.toCharArray()) {\n if(cur.next[c-'a'] == null) {\n cur.next[c-'a'] = new TrieNode(c);\n }\n cur = cur.next[c-'a'];\n }\n cur.isWord = true;\n }", "public void add(LLNodeHash word){\n if (!checkWord(word)){\n put(word);\n }\n }", "public void addTWord(String word){\n\t\tsentence.add(new TWord(word));\n\t}", "private void wordAdd(String word){\n if (!fileWords.containsKey(word)){\n fileWords.put(word,1);\n if (probabilities.containsKey(word)) {\n double oldCount = probabilities.get(word);\n probabilities.put(word, oldCount+1);\n } else {\n probabilities.put(word, 1.0);\n }\n }\n }", "public void addWord(String word) {\n TrieNode node = root;\n char[] words = word.toCharArray();\n for (char c: words){\n if (node.children[c-'a'] == null){\n node.children[c-'a']=new TrieNode();\n }\n node = node.children[c-'a'];\n }\n node.item = word;\n }", "public void addWord(String word) {\n // Write your code here\n TrieNode now = root;\n for(int i = 0; i < word.length(); i++) {\n Character c = word.charAt(i);\n if (!now.children.containsKey(c)) {\n now.children.put(c, new TrieNode());\n }\n now = now.children.get(c);\n }\n now.hasWord = true;\n }", "public void addWord(String word) {\r\n Node node = root;\r\n for(char c : word.toCharArray()){\r\n node.nodes[c-'a'] = new Node();\r\n node = node.nodes[c-'a'];\r\n }\r\n node.isLeaf = true;\r\n }", "void addHadithText(Object newHadithText);", "public void addWord(String word) {\n // Write your code here\n TrieNode now = root;\n for(int i = 0; i < word.length(); i++) {\n Character c = word.charAt(i);\n if (now.children[c - 'a'] == null) {\n now.children[c - 'a'] = new TrieNode();\n }\n now = now.children[c - 'a'];\n }\n now.hasWord = true;\n }", "public boolean add(String word) {\r\n\t\treturn dict.add(word);\r\n\t}", "public void addWord(String word) {\n TrieNode cur = root;\n for(int i = 0; i < word.length(); i++) {\n char c = word.charAt(i);\n TrieNode node = cur.children.get(c);\n if(node == null) {\n node = new TrieNode();\n cur.children.put(c, node);\n }\n cur = node;\n }\n cur.isEnd = true;\n }", "public void addRef(char[] word) {\n if (indexedFile == null) {\n throw new IllegalStateException(); }\n index.addRef(indexedFile, word); }", "public AddWordAction(JTextComponent jText, String word, String label) {\r\n super(label);\r\n this.word = word;\r\n this.jText = jText;\r\n }", "public void insert(String word) {\n if (word == null) {\n return;\n }\n if (value == null) {\n value = new ArrayList<>();\n }\n value.add(word);\n }", "public void addWord(String word) {\n maxLength = Math.max(maxLength, word.length());\n\n TrieNode temp = root;\n for (int i = 0; i < word.length(); i++) {\n char c = word.charAt(i);\n if (temp.children[c - 'a'] == null) {\n temp.children[c - 'a'] = new TrieNode(c);\n }\n temp = temp.children[c - 'a'];\n }\n temp.isWord = true;\n }", "public boolean addThemeWord(String word){\r\n\t\treturn themeWords.add(word);\r\n\t}", "public void addWord(String word) {\n TrieNode cur = root;\n for (int i=0; i<word.length(); i++) {\n int pos = word.charAt(i) - 'a';\n if (cur.next[pos] == null) {\n cur.next[pos] = new TrieNode();\n }\n cur = cur.next[pos];\n }\n cur.isWord = true;\n }", "public void addElement(String word, String signature) {\n\t\tif(dictionaryMap.get(signature)!= null)\n\t\t\tdictionaryMap.get(signature).add(word);\n\t\telse {\n\t\t\tSet<String> newSignature = new TreeSet<>();\n\t\t\tnewSignature.add(word);\n\t\t\tdictionaryMap.put(signature, newSignature);\n\t\t}\n\t}", "public void addWord(String word)\n {\n TrieNode1 node = root;\n for (char c:word.toCharArray())\n {\n if (node.childerens[c-'a']==null)\n {\n node.childerens[c-'a'] = new TrieNode1();\n }\n node = node.childerens[c-'a'];\n }\n node.isEnd = true;\n\n }", "public void addWord(String word) {\n //Corner Case\n if(word == null || word.length() == 0){\n return;\n }\n TrieNode node = root;\n int d = 0;\n \n while(d<word.length()){\n char c = word.charAt(d);\n if(node.next[c-'a']==null){\n node.next[c-'a'] = new TrieNode();\n }\n node = node.next[c-'a'];\n d++;\n }\n \n node.isWord = true;\n }", "public void addWord(String word) {\n // Write your code here\n TrieNode cur=root;\n for(int i=0;i<word.length();++i){\n char c=word.charAt(i);\n TrieNode nextNode=cur.children.get(c);\n if(nextNode==null){\n nextNode=new TrieNode();\n cur.children.put(c,nextNode);\n }\n cur=nextNode;\n }\n cur.hasWord=true;\n }", "public void addTWord(String word, String tag){\n\t\tTWord tword = new TWord(word, tag);\n\t\tsentence.add(tword);\n\t}", "public void add(Word w)\n {\n words = words + w.getWords();\n syllables = syllables + w.getSyllables();\n sentences = sentences + w.getSentences();\n }", "public void insert(String word) {\n insert(root, word, new Object(), 0);\n }", "public void addWord(String word) {\n \tTrieNode curr=root;\n for(int i=0;i<word.length();i++){\n \tchar ch=word.charAt(i);\n \tif(curr.children[ch-'a']==null)\n \t\tcurr.children[ch-'a']=new TrieNode();\n \tif(i==word.length()-1)\n \t\tcurr.children[ch-'a'].isCompleteword=true;\n \t\n \tcurr=curr.children[ch-'a'];\n }\n }", "private void addSpell(Bundle bundle) {\n Toast.makeText(getContext(), \"Not yet implemented\", Toast.LENGTH_SHORT).show();\n }", "public void addTWord(TWord tword){\n\t\tsentence.add(tword);\n\t}", "@FXML\n\tpublic void addWord() {\n\n\t\twordList.add(new Word(TextFieldWord.getText(), TextFieldDescribe.getText(), liczbaznakow));\n\n\t\ttry {\n\n\t\t\tout = new PrintWriter(selectedFile);\n\n\t\t\tfor (int i = 0; i < wordList.size(); i++) {\n\n\t\t\t\tout.printf(\"%s;%s;%d;\",\n\n\t\t\t\t\t\twordList.get(i).getWord(), wordList.get(i).getDescribe(), wordList.get(i).getLiczbaznakow());\n\t\t\t}\n\n\t\t} catch (FileNotFoundException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\tif (out != null)\n\t\t\t\tout.close();\n\t\t}\n\t}", "private void addWord(String word, int articleId, int times) {\n // if input is \"\" means here is the end of the woed then we can add the articleId to this node\n if(word.equals(\"\")) {\n addAricles(articleId, times);\n } else {\n Result res = findChild(word);\n // if the node is not exist, then we need to create an new one with next char of the word, and add word to next node \n if(res == null) {\n Node nextNode = new Node(word.substring(0, 1));\n this.addChildren(nextNode);\n nextNode.addWord(word.substring(1), articleId, times);\n } \n //if the node exist, add substring to next node\n else {\n Node nextNode = res.getN();\n String nextString = res.getS();\n nextNode.addWord(nextString, articleId, times);\n }\n }\n }", "public void addWord(String word) {\n TrieNode node = root;\n for (int i = 0; i < word.length(); i++) {\n char c = word.charAt(i);\n if (!node.children.containsKey(c)) {\n node.children.put(c, new TrieNode());\n }\n node = node.children.get(c);\n }\n node.isEnd = true;\n }", "public void addWord(String word) {\n TrieNode curr = root;\n for (int i = 0; i < word.length(); i++) {\n char c = word.charAt(i);\n if (curr.children[c - 'a'] == null )\n curr.children[c - 'a'] = new TrieNode();\n curr = curr.children[c - 'a'];\n }\n curr.end = true;\n }", "public void addWord(String word) {\r\n Trie node = root;\r\n for(char ch: word.toCharArray()){\r\n if(node.child[ch - 'a'] == null)\r\n node.child[ch - 'a'] = new Trie(ch);\r\n node = node.child[ch - 'a'];\r\n }\r\n node.end = true;\r\n }", "public void addWord(String word) {\n if (word !=null && word.length() > 0) {\n TrieNode t = this.root;\n for (int i = 0; i < word.length(); i++) {\n int offset = word.charAt(i) - 'a';\n if (t.children[offset] == null) {\n t.children[offset] = new TrieNode();\n }\n t = t.children[offset];\n if (i == word.length() - 1) {\n t.endWithWord = true;\n }\n }\n }\n }", "public void addWord(String word) {\n if (word != null){\n Map<Character, TrieNode> children=root.children;\n for (int i=0;i<word.length();i++){\n char c=word.charAt(i);\n TrieNode t;\n if (children.containsKey(c)){\n t=children.get(c);\n }else {\n t=new TrieNode(c);\n children.put(c, t);\n }\n children=t.children;\n if (i==word.length()-1){\n t.isLeaf=true;\n }\n }\n }\n }", "public void addWord(String word) {\n char[] wordChars = word.toCharArray();\n TrieNode curr = root;\n for (char c : wordChars) {\n if(curr.map.containsKey(c)) {\n curr = curr.map.get(c);\n } else {\n TrieNode newNode = new TrieNode();\n curr.map.put(c, newNode);\n curr = newNode;\n }\n }\n curr.isLeaf = true;\n }", "@Override\r\n public void actionPerformed(ActionEvent arg0) {\r\n UserDictionaryProvider provider = SpellChecker.getUserDictionaryProvider();\r\n if (provider != null) {\r\n provider.addWord(word);\r\n }\r\n Dictionary dictionary = SpellChecker.getCurrentDictionary();\r\n dictionary.add(word);\r\n dictionary.trimToSize();\r\n AutoSpellChecker.refresh(jText);\r\n }", "private void add(String thestring) {\n\t\t\n\t}", "public void insert(String word) {\n this.root.insert(word);\n }", "public void insert(String word, DictionaryData data) {\r\n\r\n dictionaryMap.put(word.toUpperCase(),data);\r\n }", "public void add(String str);", "public void add(String str);", "public void addWord(String word) {\n char[] chs = word.toCharArray();\n TreeNode cur = root;\n for (int i = 0; i < chs.length; i++) {\n int ind = chs[i] - 'a';\n if (cur.map[ind] == null) {\n cur.map[ind] = new TreeNode();\n }\n cur = cur.map[ind];\n }\n cur.end = true;\n }", "void addWord(Nod n, String word) {\n\t\tint i = 0;\n\t\twhile (i < 26) {\n\n\t\t\tif (n.frunze.get(i).cuvant.equals(\"%\")) {\n\t\t\t\tn.frunze.get(i).cuvant = word;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t}", "public void addWord(String word) {\n all.add(word);\n TrieNode head = root;\n \n for (char i :word.toCharArray()){\n\n int k = i-'a';\n if (head.child[k]==null)\n {\n head.child[k] = new TrieNode();\n }\n head = head.child[k];\n \n }\n head.end = true;\n }", "public void addWord(String word) {\n HashMap<Character, TrieNode> children = root.children;\n TrieNode Tnode;\n char[] charArray = word.toCharArray();\n for (int i = 0; i < word.length(); i++) {\n if (children.containsKey(charArray[i])) {\n Tnode = children.get(charArray[i]);\n }\n else\n {\n Tnode = new TrieNode(charArray[i]);\n children.put(charArray[i], Tnode);\n }\n children = Tnode.children;\n\n if (i == word.length() - 1) {\n Tnode.isLeaf = true;\n }\n }\n }", "public void add(String word) {\n if (hashTable.contains(word)) {\n hashTable.put(word, hashTable.get(word) + 1);\n }\n else {\n hashTable.put(word,1);\n }\n }", "private void add_word(String word, String definition, String subword){\n\t\trepresentative_letter = subword.charAt(0);\n\t\tboolean child_has_been_added = false;\n\t\t\n\t\t//If we already have a child with that representative_letter, we\n\t\t//send the rest of the word to him.\n\t\tfor(LexiNode child: childs){\n\t\t\tif(subword.length() > 1 && subword.toLowerCase().charAt(1) == Character.toLowerCase(child.getRepresentative_letter())){\n\t\t\t\tchild.add_word(word, definition, subword.substring(1));\n\t\t\t\tchild_has_been_added = true;\n\t\t\t}\n\t\t}\n\t\tif(!child_has_been_added){\n\t\t\tif(subword.length() > 1){\n\t\t\t\tLexiNode child = new LexiNode();\n\t\t\t\tchilds.add(child);\n\t\t\t\ttry{\n\t\t\t\t\tchild.add_word(word, definition, subword.substring(1));\n\t\t\t\t}\n\t\t\t\tcatch(StringIndexOutOfBoundsException e){\n\t\t\t\t\tSystem.out.println(\"Error: \" + e);\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if (subword.length() == 1) {\n\t\t\t\tthis.current_word = word;\n\t\t\t\tthis.definition = definition;\n\t\t\t}\n\t\t}\n\t}", "public void add_word(String word, String definition){\n\t\tif(word.length() > 1){\n\t\t\tfor(LexiNode child: childs){\n\t\t\t\tif(word.toLowerCase().charAt(0) == Character.toLowerCase(child.getRepresentative_letter())){\n\t\t\t\t\tchild.add_word(word, definition, word);\n\t\t\t\t\t//if we found a matching child, we don't wanna create another one\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tLexiNode child = new LexiNode();\n\t\t\tchilds.add(child);\n\t\t\tchild.add_word(word, definition, word);\n\t\t}\n\t}", "private void addToRoot(String line) {\r\n String[] components = line.split(\"\\\",\\\"\"); //get all components of line, that are [word, type, meaning]\r\n removeSpaces(components); //remove space and extra symbol from all components\r\n\r\n if (components.length == 3) { //if the components are valid\r\n\r\n boolean[] status = dict.addWord(components[0], components[1], components[2], 'a'); //try adding in add mode\r\n\r\n if (status[1]) { // if word already exists but have other meaning so need to append the meaning\r\n dict.addWord(components[0], components[1], components[2], 'u'); //add in update mdoe\r\n }\r\n }\r\n\r\n //System.out.println(\"Added word : \" + components[0]);\r\n }", "@Override\n\t\tpublic void addText(String txt) {\n\t\t\t\n\t\t}", "public void add (String word) {\n Trie pointeur ;\n\n if(word.length() != 0){\n String lettre = Character.toString(word.charAt(0));\n String ssChaine = word.substring(1);\n pointeur = this.fils.get(lettre);\n if(pointeur == null){\n pointeur = new Trie();\n this.fils.put(lettre,pointeur);\n\n }\n pointeur.add(ssChaine);\n if(ssChaine.length()==0){\n this.fin = true;\n }\n \n }\n \n }", "public void setWord(String newWord)\n\t{\n\t\tword = newWord;\n\t}", "public abstract void addWordAudio(WordAudio audio) throws IOException;", "void addWordsToDoc(int doc,List<VocabWord> words);", "public void edit_word(String word, String definition){\n\t\tLexiNode node = search_specific_word(word, -1);\n\t\tif(node == null)\n\t\t\tadd_word(word, definition);\n\t\telse\n\t\t\tsearch_specific_word(word, -1).setDefinition(definition);\n\t}", "public void insert(String word) { \n char[] w = word.toCharArray(); \n insert(root, w, 0); \n }", "public void SaveWord(String phrase) {\n\tOrdBok.SaveWord(phrase, 30);\r\n }", "public void addWord(Word word, Tag tag) {\n if(tag == null) throw new RuntimeException(\"null tag when adding word into Trellis\");\n\n // probability process\n logPro += tag instanceof UnknownTag? Math.log(cur.getUnknownTagPro()): Math.log(cur.getTagPro(tag.getStr()));\n logPro += word == null? Math.log(tag.getUnknownWordPro()):Math.log(tag.getWordPro(word.getWord()));\n\n // list process\n wordL.add(word);\n tagL.add(tag);\n cur = tag;\n }", "public void add(String word, String url) {\n \n // don't need to add this word if it's a stop word\n for (String stopWord : Settings.getStopWords()) {\n if (word.equalsIgnoreCase(stopWord)) return;\n }\n \n // don't need to add this word if it's already in here\n StringNode check = locate(word);\n if (check != null) {\n check.getPagesContainingWord().add(url);\n return;\n }\n \n // not a stop word, not present--need to add it\n StringNode newNode = new StringNode(word, new URLLinkedList());\n newNode.getPagesContainingWord().add(url);\n if (first == null) { // if first is null, there's nothing in the list\n first = newNode; // set first to this new node\n newNode.getPagesContainingWord().add(url);\n }\n else { // first isn't null, so we want to find the correct place to put this new node\n StringNode current = first;\n // this barebones linked list is very inconvenient, so we have to make a special \n // check for the first item in the list.\n if (word.compareTo(current.getWord()) < 0) { // the word in the new node goes before the word in the first node\n first = newNode; // now the new node is the first one\n newNode.setNext(current); // and its next is the old first one\n }\n else if (!current.hasNext()) { // no next node, so this word goes after current\n current.setNext(newNode);\n }\n else { // new node doesn't go before first, so check the rest of the list\n boolean newNodePlaced = false;\n StringNode previous;\n while (current.hasNext() && !newNodePlaced) { \n previous = current;\n current = current.getNext(); // grab next node\n if (word.compareTo(current.getWord()) < 0) { // new word goes before this one\n// StringNode oldNext = current.getNext();\n// current.setNext(newNode);\n// newNode.setNext(oldNext);\n// newNodePlaced = true;\n previous.setNext(newNode);\n newNode.setNext(current);\n newNodePlaced = true;\n }\n }\n if (!newNodePlaced) { // if we're here and haven't yet placed the node, it goes at the end\n current.setNext(newNode);\n }\n }\n }\n size++;\n }", "public void insert(String word) {\n\t\t\tTrieNode curr = root;\n\t\t\tfor (char c : word.toCharArray()) {\n\t\t\t\tif (!curr.children.containsKey(c))\n\t\t\t\t\tcurr.children.put(c, new TrieNode());\n\t\t\t\tcurr = curr.children.get(c);\n\t\t\t}\n\t\t\tcurr.isWord = true;\n\t\t}", "public void insert(String word) {\n\t\tTrie curr = this;\n\t\tfor(Character ch : word.toCharArray()) {\n\t\t\tTrie n = curr.nodes[ch - 'a'];\n\t\t\t\n\t\t\tif (n == null) {\n\t\t\t\tn = new Trie();\n\t\t\t\tn.isWord = false;\n\t\t\t\tcurr.nodes[ch - 'a'] = n;\n\t\t\t}\n\t\t\t\n\t\t\tcurr = n;\n\t\t}\n\t\tcurr.isWord = true;\n\t}", "public void addWordCount(){\r\n\t\twordCount = wordCount + 1;\r\n\t}", "public void addWord(Word englishWord, Word frenchWord) {\n\t\tdictFr.add(frenchWord);\n\t\tdictEn.add(englishWord);\n\t\twordsAdded(englishWord, frenchWord);\n\t}", "public void insert(String word) {\n TrieNode node = root;\n\n // for each char in the word, add to the TrieNode\n for (char c: word.toCharArray()) {\n // if there are no such child, then we add it\n if (node.children[c - 'a'] == null) {\n node.children[c - 'a'] = new TrieNode(c);\n }\n // move the node to next layer\n node = node.children[c - 'a'];\n\n }\n // mark the isWord\n node.isWord = true;\n }", "public void add(String alphabetizedWord, String word){\n int index = word.length();\n if(index >= tree.size()){\n tree.setSize(index + 1);\n }\n if(tree.get(index) == null){\n tree.set(index, new Trie());\n }\n //add word to appropriate trie\n tree.get(index).addWord(alphabetizedWord, word);\n }", "public void insert(String word) {\n TrieNode n = root;\n for(char c : word.toCharArray()) {\n if(n.children[c]==null) {\n n.children[c] = new TrieNode();\n }\n n = n.children[c];\n }\n n.isWord = true;\n n.word = word;\n }", "public void addToCorpus(String word) {\n corpus.add(word);\n }", "public void insert(String word) {\n Entry tempRoot = root;\n for(int i=0; i<word.length(); i++){\n char ch = word.charAt(i);\n Entry childNode = tempRoot.getChildNode(ch);\n if(childNode == null){\n tempRoot.setChildNode(new Entry(), ch);\n }\n tempRoot = tempRoot.getChildNode(ch);\n }\n\n tempRoot.setIsWord(true);\n }", "public void setWord(String word){\n this.word = word; //Only used in testing.\n }", "private void insertWordEntry(String file, String word, String partition) {\n\t\tArrayList<String> fileList = new ArrayList<String>();\n\t\tfileList.add(file);\n\t\tindexedDir.get(partition).put(word, fileList);\n\t}", "void add(String value);", "private void addWordHelper( String word, int pos, TrieNode curNode )\n\t{\n\t\t//Check to see if the node has been occupied yet\n\t\tif( curNode.getLetters()[ (int)word.charAt(pos) - 97 ] == null )\n\t\t\t//If we are at the last character of the word\n\t\t\tif( pos >= word.length() - 1 )\n\t\t\t\t//Make sure the isWord property is set to true\n\t\t\t\tcurNode.setLetter( word.charAt( pos ), true );\n\t\t\telse\n\t\t\t\tcurNode.setLetter( word.charAt( pos ), false );\n\t\t\n\t\t//If it hasn't reached the last letter yet\n\t\tif( !( pos >= word.length() - 1 ) )\n\t\t\t//Keep on adding the word\n\t\t\taddWordHelper( word, pos + 1, curNode.getLetters()[ (int)word.charAt( pos ) - 97 ] );\n\t}", "public void insert(String word) {\n \tTrieNode cur=root;\n \tfor (int i = 0; i < word.length(); i++) {\n \t\t\tint ch=word.charAt(i)-'a';\n \t\t\tif(cur.next[ch]==null) {\n \t\t\t\tcur.next[ch]=new TrieNode();\n \t\t\t}\n \t\t\tcur=cur.next[ch];\n \t\t}\n \tcur.val=word;\n \tcur.isEnd=true;\n }", "public void insert(String word) {\n TrieTree point = root;\n for(int i = 0; i < word.length(); i++){\n char ch = word.charAt(i);\n if(point.getChild(ch - 'a') == null){\n point.setChild(ch - 'a', ch);\n }\n point = point.getChild(ch - 'a');\n }\n point.setIsWord();\n }" ]
[ "0.83992296", "0.80525506", "0.7991349", "0.7718489", "0.7694721", "0.76325333", "0.75138825", "0.75032425", "0.74919796", "0.72720116", "0.72317094", "0.7203887", "0.7116307", "0.7101458", "0.7073688", "0.707267", "0.70510685", "0.70416933", "0.6982543", "0.6941838", "0.69137645", "0.6903018", "0.68832564", "0.6872842", "0.68541646", "0.6846709", "0.68159133", "0.68150663", "0.6814637", "0.6807127", "0.67857575", "0.6772704", "0.6772122", "0.6743027", "0.67358595", "0.67124265", "0.67093146", "0.6670244", "0.6668884", "0.66635567", "0.66627425", "0.6659769", "0.6658367", "0.6653469", "0.66454506", "0.6621068", "0.6619133", "0.6616052", "0.66053736", "0.6596916", "0.6589495", "0.6582224", "0.65735936", "0.65681976", "0.6557153", "0.6534915", "0.65344673", "0.65166706", "0.6511187", "0.64906526", "0.64719105", "0.6458946", "0.64425284", "0.64361924", "0.64307857", "0.6424551", "0.6421379", "0.6421379", "0.6395812", "0.63862354", "0.635073", "0.6347512", "0.63461787", "0.6338164", "0.63351023", "0.63279235", "0.6326388", "0.6318527", "0.63159037", "0.63138056", "0.6293223", "0.6290378", "0.62879807", "0.62644815", "0.62641597", "0.62631774", "0.62610865", "0.62511", "0.6248502", "0.6234818", "0.62181586", "0.62099123", "0.6198101", "0.6187801", "0.61870795", "0.61865044", "0.6181824", "0.6158173", "0.61383325", "0.61212814", "0.6120272" ]
0.0
-1
Add a word to the library
public Future<Boolean> addToDictionary(String text, String toReplace) throws DynamicCallException, ExecutionException { return call("addToDictionary", text, toReplace); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addWord(Word word);", "public void add(String word) {\n Signature sig = new Signature(word);\n add(sig, word);\n }", "public void addWord(String word) {\n root.addWord(word);\n }", "public void addWord(String word) {\n\t\taddWord(word, root);\n\t}", "private void addCustomWords() {\r\n\r\n }", "public void addWord(String word) {\n root = put(root, word, 0);\n }", "public void add(String word) {\n\t\twordList.add(word);\n\t\t// TODO Add your code here\n\t}", "public void addWord(String word) {\n trie.insert(word);\n }", "public static void addKeyWord(String word)\r\n\t{\r\n\t\tkeywords.add(word);\r\n\t}", "void addWordToDoc(int doc,VocabWord word);", "public boolean addWord(String word) {\n return false;\n }", "public void add(String word, String file, int position) {\n\t \taddHelper(word, file, position);\n\t}", "public void addWord (String word) {\r\n word = word.toUpperCase ();\r\n if (word.length () > 1) {\r\n String s = validateWord (word);\r\n if (!s.equals (\"\")) {\r\n JOptionPane.showMessageDialog (null, \"The word you have entered contained invalid characters\\nInvalid characters are: \" + s, \"Error\",\r\n JOptionPane.ERROR_MESSAGE);\r\n return;\r\n }\r\n checkEasterEgg (word);\r\n words.add (word);\r\n Components.wordList.getContents ().addElement (word);\r\n } else {\r\n JOptionPane.showMessageDialog (null, \"The word you have entered does not meet the minimum requirement length of 2\", \"Error\", JOptionPane.ERROR_MESSAGE);\r\n }\r\n }", "public void addWord(String word) {\n CharNode target = root ;\n for(int i=0; i<word.length(); i++) {\n target = target.insertCharInChildren(word.charAt(i)) ;\n }\n target.end = true ;\n }", "public void add(T word);", "public AddWordAction(JTextComponent jText, String word) {\r\n this(jText, word, Utils.getResource(\"Adicionar ao dicionário\"));\r\n }", "public void addWord(String word) {\n dataStructure.put(word, \"\");\n }", "public void addWord(int id, int start, int length, int[] type);", "public void addPos(String word, IPosition pos);", "public void populateWord(String word) {\n\t\tthis.add(word);\n\t}", "public void addRef(String word) {\n addRef(word.toCharArray()); }", "public void putWord(String word) {\n if(index < words.length) {\n words[index] = word;\n }\n index++;\n }", "public void insert(String word) {\r\n tree.add(word);\r\n }", "public void addWord(String word) {\n if (word == null || word.equals(\"\")) return;\n char[] str = word.toCharArray();\n WordDictionary cur = this;\n for (char c: str) {\n if (cur.letters[c - 'a'] == null) cur.letters[c - 'a'] = new WordDictionary();\n cur = cur.letters[c - 'a'];\n }\n cur.end = true;\n }", "private void addWords(){\n wordList.add(\"EGE\");\n wordList.add(\"ABBAS\");\n wordList.add(\"KAZIM\");\n }", "void setWord(Word word);", "public void addWord(String word) {\n TrieNode curr = root;\n for (char c : word.toCharArray()) {\n curr = curr.chars.computeIfAbsent(c, (k) -> new TrieNode());\n\n }\n curr.isWord = true;\n }", "public void addWord(String word) {\n TrieNode cur = root;\n for(char c : word.toCharArray()) {\n if(cur.next[c-'a'] == null) {\n cur.next[c-'a'] = new TrieNode(c);\n }\n cur = cur.next[c-'a'];\n }\n cur.isWord = true;\n }", "public void add(LLNodeHash word){\n if (!checkWord(word)){\n put(word);\n }\n }", "public void addTWord(String word){\n\t\tsentence.add(new TWord(word));\n\t}", "private void wordAdd(String word){\n if (!fileWords.containsKey(word)){\n fileWords.put(word,1);\n if (probabilities.containsKey(word)) {\n double oldCount = probabilities.get(word);\n probabilities.put(word, oldCount+1);\n } else {\n probabilities.put(word, 1.0);\n }\n }\n }", "public void addWord(String word) {\n TrieNode node = root;\n char[] words = word.toCharArray();\n for (char c: words){\n if (node.children[c-'a'] == null){\n node.children[c-'a']=new TrieNode();\n }\n node = node.children[c-'a'];\n }\n node.item = word;\n }", "public void addWord(String word) {\n // Write your code here\n TrieNode now = root;\n for(int i = 0; i < word.length(); i++) {\n Character c = word.charAt(i);\n if (!now.children.containsKey(c)) {\n now.children.put(c, new TrieNode());\n }\n now = now.children.get(c);\n }\n now.hasWord = true;\n }", "public void addWord(String word) {\r\n Node node = root;\r\n for(char c : word.toCharArray()){\r\n node.nodes[c-'a'] = new Node();\r\n node = node.nodes[c-'a'];\r\n }\r\n node.isLeaf = true;\r\n }", "void addHadithText(Object newHadithText);", "public void addWord(String word) {\n // Write your code here\n TrieNode now = root;\n for(int i = 0; i < word.length(); i++) {\n Character c = word.charAt(i);\n if (now.children[c - 'a'] == null) {\n now.children[c - 'a'] = new TrieNode();\n }\n now = now.children[c - 'a'];\n }\n now.hasWord = true;\n }", "public boolean add(String word) {\r\n\t\treturn dict.add(word);\r\n\t}", "public void addWord(String word) {\n TrieNode cur = root;\n for(int i = 0; i < word.length(); i++) {\n char c = word.charAt(i);\n TrieNode node = cur.children.get(c);\n if(node == null) {\n node = new TrieNode();\n cur.children.put(c, node);\n }\n cur = node;\n }\n cur.isEnd = true;\n }", "public void addRef(char[] word) {\n if (indexedFile == null) {\n throw new IllegalStateException(); }\n index.addRef(indexedFile, word); }", "public AddWordAction(JTextComponent jText, String word, String label) {\r\n super(label);\r\n this.word = word;\r\n this.jText = jText;\r\n }", "public void insert(String word) {\n if (word == null) {\n return;\n }\n if (value == null) {\n value = new ArrayList<>();\n }\n value.add(word);\n }", "public void addWord(String word) {\n maxLength = Math.max(maxLength, word.length());\n\n TrieNode temp = root;\n for (int i = 0; i < word.length(); i++) {\n char c = word.charAt(i);\n if (temp.children[c - 'a'] == null) {\n temp.children[c - 'a'] = new TrieNode(c);\n }\n temp = temp.children[c - 'a'];\n }\n temp.isWord = true;\n }", "public boolean addThemeWord(String word){\r\n\t\treturn themeWords.add(word);\r\n\t}", "public void addWord(String word) {\n TrieNode cur = root;\n for (int i=0; i<word.length(); i++) {\n int pos = word.charAt(i) - 'a';\n if (cur.next[pos] == null) {\n cur.next[pos] = new TrieNode();\n }\n cur = cur.next[pos];\n }\n cur.isWord = true;\n }", "public void addElement(String word, String signature) {\n\t\tif(dictionaryMap.get(signature)!= null)\n\t\t\tdictionaryMap.get(signature).add(word);\n\t\telse {\n\t\t\tSet<String> newSignature = new TreeSet<>();\n\t\t\tnewSignature.add(word);\n\t\t\tdictionaryMap.put(signature, newSignature);\n\t\t}\n\t}", "public void addWord(String word)\n {\n TrieNode1 node = root;\n for (char c:word.toCharArray())\n {\n if (node.childerens[c-'a']==null)\n {\n node.childerens[c-'a'] = new TrieNode1();\n }\n node = node.childerens[c-'a'];\n }\n node.isEnd = true;\n\n }", "public void addWord(String word) {\n //Corner Case\n if(word == null || word.length() == 0){\n return;\n }\n TrieNode node = root;\n int d = 0;\n \n while(d<word.length()){\n char c = word.charAt(d);\n if(node.next[c-'a']==null){\n node.next[c-'a'] = new TrieNode();\n }\n node = node.next[c-'a'];\n d++;\n }\n \n node.isWord = true;\n }", "public void addWord(String word) {\n // Write your code here\n TrieNode cur=root;\n for(int i=0;i<word.length();++i){\n char c=word.charAt(i);\n TrieNode nextNode=cur.children.get(c);\n if(nextNode==null){\n nextNode=new TrieNode();\n cur.children.put(c,nextNode);\n }\n cur=nextNode;\n }\n cur.hasWord=true;\n }", "public void addTWord(String word, String tag){\n\t\tTWord tword = new TWord(word, tag);\n\t\tsentence.add(tword);\n\t}", "public void add(Word w)\n {\n words = words + w.getWords();\n syllables = syllables + w.getSyllables();\n sentences = sentences + w.getSentences();\n }", "public void insert(String word) {\n insert(root, word, new Object(), 0);\n }", "public void addWord(String word) {\n \tTrieNode curr=root;\n for(int i=0;i<word.length();i++){\n \tchar ch=word.charAt(i);\n \tif(curr.children[ch-'a']==null)\n \t\tcurr.children[ch-'a']=new TrieNode();\n \tif(i==word.length()-1)\n \t\tcurr.children[ch-'a'].isCompleteword=true;\n \t\n \tcurr=curr.children[ch-'a'];\n }\n }", "private void addSpell(Bundle bundle) {\n Toast.makeText(getContext(), \"Not yet implemented\", Toast.LENGTH_SHORT).show();\n }", "public void addTWord(TWord tword){\n\t\tsentence.add(tword);\n\t}", "@FXML\n\tpublic void addWord() {\n\n\t\twordList.add(new Word(TextFieldWord.getText(), TextFieldDescribe.getText(), liczbaznakow));\n\n\t\ttry {\n\n\t\t\tout = new PrintWriter(selectedFile);\n\n\t\t\tfor (int i = 0; i < wordList.size(); i++) {\n\n\t\t\t\tout.printf(\"%s;%s;%d;\",\n\n\t\t\t\t\t\twordList.get(i).getWord(), wordList.get(i).getDescribe(), wordList.get(i).getLiczbaznakow());\n\t\t\t}\n\n\t\t} catch (FileNotFoundException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\tif (out != null)\n\t\t\t\tout.close();\n\t\t}\n\t}", "private void addWord(String word, int articleId, int times) {\n // if input is \"\" means here is the end of the woed then we can add the articleId to this node\n if(word.equals(\"\")) {\n addAricles(articleId, times);\n } else {\n Result res = findChild(word);\n // if the node is not exist, then we need to create an new one with next char of the word, and add word to next node \n if(res == null) {\n Node nextNode = new Node(word.substring(0, 1));\n this.addChildren(nextNode);\n nextNode.addWord(word.substring(1), articleId, times);\n } \n //if the node exist, add substring to next node\n else {\n Node nextNode = res.getN();\n String nextString = res.getS();\n nextNode.addWord(nextString, articleId, times);\n }\n }\n }", "public void addWord(String word) {\n TrieNode node = root;\n for (int i = 0; i < word.length(); i++) {\n char c = word.charAt(i);\n if (!node.children.containsKey(c)) {\n node.children.put(c, new TrieNode());\n }\n node = node.children.get(c);\n }\n node.isEnd = true;\n }", "public void addWord(String word) {\n TrieNode curr = root;\n for (int i = 0; i < word.length(); i++) {\n char c = word.charAt(i);\n if (curr.children[c - 'a'] == null )\n curr.children[c - 'a'] = new TrieNode();\n curr = curr.children[c - 'a'];\n }\n curr.end = true;\n }", "public void addWord(String word) {\r\n Trie node = root;\r\n for(char ch: word.toCharArray()){\r\n if(node.child[ch - 'a'] == null)\r\n node.child[ch - 'a'] = new Trie(ch);\r\n node = node.child[ch - 'a'];\r\n }\r\n node.end = true;\r\n }", "public void addWord(String word) {\n if (word !=null && word.length() > 0) {\n TrieNode t = this.root;\n for (int i = 0; i < word.length(); i++) {\n int offset = word.charAt(i) - 'a';\n if (t.children[offset] == null) {\n t.children[offset] = new TrieNode();\n }\n t = t.children[offset];\n if (i == word.length() - 1) {\n t.endWithWord = true;\n }\n }\n }\n }", "public void addWord(String word) {\n if (word != null){\n Map<Character, TrieNode> children=root.children;\n for (int i=0;i<word.length();i++){\n char c=word.charAt(i);\n TrieNode t;\n if (children.containsKey(c)){\n t=children.get(c);\n }else {\n t=new TrieNode(c);\n children.put(c, t);\n }\n children=t.children;\n if (i==word.length()-1){\n t.isLeaf=true;\n }\n }\n }\n }", "public void addWord(String word) {\n char[] wordChars = word.toCharArray();\n TrieNode curr = root;\n for (char c : wordChars) {\n if(curr.map.containsKey(c)) {\n curr = curr.map.get(c);\n } else {\n TrieNode newNode = new TrieNode();\n curr.map.put(c, newNode);\n curr = newNode;\n }\n }\n curr.isLeaf = true;\n }", "@Override\r\n public void actionPerformed(ActionEvent arg0) {\r\n UserDictionaryProvider provider = SpellChecker.getUserDictionaryProvider();\r\n if (provider != null) {\r\n provider.addWord(word);\r\n }\r\n Dictionary dictionary = SpellChecker.getCurrentDictionary();\r\n dictionary.add(word);\r\n dictionary.trimToSize();\r\n AutoSpellChecker.refresh(jText);\r\n }", "private void add(String thestring) {\n\t\t\n\t}", "public void insert(String word) {\n this.root.insert(word);\n }", "public void insert(String word, DictionaryData data) {\r\n\r\n dictionaryMap.put(word.toUpperCase(),data);\r\n }", "public void add(String str);", "public void add(String str);", "public void addWord(String word) {\n char[] chs = word.toCharArray();\n TreeNode cur = root;\n for (int i = 0; i < chs.length; i++) {\n int ind = chs[i] - 'a';\n if (cur.map[ind] == null) {\n cur.map[ind] = new TreeNode();\n }\n cur = cur.map[ind];\n }\n cur.end = true;\n }", "void addWord(Nod n, String word) {\n\t\tint i = 0;\n\t\twhile (i < 26) {\n\n\t\t\tif (n.frunze.get(i).cuvant.equals(\"%\")) {\n\t\t\t\tn.frunze.get(i).cuvant = word;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t}", "public void addWord(String word) {\n all.add(word);\n TrieNode head = root;\n \n for (char i :word.toCharArray()){\n\n int k = i-'a';\n if (head.child[k]==null)\n {\n head.child[k] = new TrieNode();\n }\n head = head.child[k];\n \n }\n head.end = true;\n }", "public void addWord(String word) {\n HashMap<Character, TrieNode> children = root.children;\n TrieNode Tnode;\n char[] charArray = word.toCharArray();\n for (int i = 0; i < word.length(); i++) {\n if (children.containsKey(charArray[i])) {\n Tnode = children.get(charArray[i]);\n }\n else\n {\n Tnode = new TrieNode(charArray[i]);\n children.put(charArray[i], Tnode);\n }\n children = Tnode.children;\n\n if (i == word.length() - 1) {\n Tnode.isLeaf = true;\n }\n }\n }", "public void add(String word) {\n if (hashTable.contains(word)) {\n hashTable.put(word, hashTable.get(word) + 1);\n }\n else {\n hashTable.put(word,1);\n }\n }", "private void add_word(String word, String definition, String subword){\n\t\trepresentative_letter = subword.charAt(0);\n\t\tboolean child_has_been_added = false;\n\t\t\n\t\t//If we already have a child with that representative_letter, we\n\t\t//send the rest of the word to him.\n\t\tfor(LexiNode child: childs){\n\t\t\tif(subword.length() > 1 && subword.toLowerCase().charAt(1) == Character.toLowerCase(child.getRepresentative_letter())){\n\t\t\t\tchild.add_word(word, definition, subword.substring(1));\n\t\t\t\tchild_has_been_added = true;\n\t\t\t}\n\t\t}\n\t\tif(!child_has_been_added){\n\t\t\tif(subword.length() > 1){\n\t\t\t\tLexiNode child = new LexiNode();\n\t\t\t\tchilds.add(child);\n\t\t\t\ttry{\n\t\t\t\t\tchild.add_word(word, definition, subword.substring(1));\n\t\t\t\t}\n\t\t\t\tcatch(StringIndexOutOfBoundsException e){\n\t\t\t\t\tSystem.out.println(\"Error: \" + e);\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if (subword.length() == 1) {\n\t\t\t\tthis.current_word = word;\n\t\t\t\tthis.definition = definition;\n\t\t\t}\n\t\t}\n\t}", "public void add_word(String word, String definition){\n\t\tif(word.length() > 1){\n\t\t\tfor(LexiNode child: childs){\n\t\t\t\tif(word.toLowerCase().charAt(0) == Character.toLowerCase(child.getRepresentative_letter())){\n\t\t\t\t\tchild.add_word(word, definition, word);\n\t\t\t\t\t//if we found a matching child, we don't wanna create another one\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tLexiNode child = new LexiNode();\n\t\t\tchilds.add(child);\n\t\t\tchild.add_word(word, definition, word);\n\t\t}\n\t}", "private void addToRoot(String line) {\r\n String[] components = line.split(\"\\\",\\\"\"); //get all components of line, that are [word, type, meaning]\r\n removeSpaces(components); //remove space and extra symbol from all components\r\n\r\n if (components.length == 3) { //if the components are valid\r\n\r\n boolean[] status = dict.addWord(components[0], components[1], components[2], 'a'); //try adding in add mode\r\n\r\n if (status[1]) { // if word already exists but have other meaning so need to append the meaning\r\n dict.addWord(components[0], components[1], components[2], 'u'); //add in update mdoe\r\n }\r\n }\r\n\r\n //System.out.println(\"Added word : \" + components[0]);\r\n }", "@Override\n\t\tpublic void addText(String txt) {\n\t\t\t\n\t\t}", "public void add (String word) {\n Trie pointeur ;\n\n if(word.length() != 0){\n String lettre = Character.toString(word.charAt(0));\n String ssChaine = word.substring(1);\n pointeur = this.fils.get(lettre);\n if(pointeur == null){\n pointeur = new Trie();\n this.fils.put(lettre,pointeur);\n\n }\n pointeur.add(ssChaine);\n if(ssChaine.length()==0){\n this.fin = true;\n }\n \n }\n \n }", "public void setWord(String newWord)\n\t{\n\t\tword = newWord;\n\t}", "public abstract void addWordAudio(WordAudio audio) throws IOException;", "void addWordsToDoc(int doc,List<VocabWord> words);", "public void edit_word(String word, String definition){\n\t\tLexiNode node = search_specific_word(word, -1);\n\t\tif(node == null)\n\t\t\tadd_word(word, definition);\n\t\telse\n\t\t\tsearch_specific_word(word, -1).setDefinition(definition);\n\t}", "public void insert(String word) { \n char[] w = word.toCharArray(); \n insert(root, w, 0); \n }", "public void SaveWord(String phrase) {\n\tOrdBok.SaveWord(phrase, 30);\r\n }", "public void addWord(Word word, Tag tag) {\n if(tag == null) throw new RuntimeException(\"null tag when adding word into Trellis\");\n\n // probability process\n logPro += tag instanceof UnknownTag? Math.log(cur.getUnknownTagPro()): Math.log(cur.getTagPro(tag.getStr()));\n logPro += word == null? Math.log(tag.getUnknownWordPro()):Math.log(tag.getWordPro(word.getWord()));\n\n // list process\n wordL.add(word);\n tagL.add(tag);\n cur = tag;\n }", "public void add(String word, String url) {\n \n // don't need to add this word if it's a stop word\n for (String stopWord : Settings.getStopWords()) {\n if (word.equalsIgnoreCase(stopWord)) return;\n }\n \n // don't need to add this word if it's already in here\n StringNode check = locate(word);\n if (check != null) {\n check.getPagesContainingWord().add(url);\n return;\n }\n \n // not a stop word, not present--need to add it\n StringNode newNode = new StringNode(word, new URLLinkedList());\n newNode.getPagesContainingWord().add(url);\n if (first == null) { // if first is null, there's nothing in the list\n first = newNode; // set first to this new node\n newNode.getPagesContainingWord().add(url);\n }\n else { // first isn't null, so we want to find the correct place to put this new node\n StringNode current = first;\n // this barebones linked list is very inconvenient, so we have to make a special \n // check for the first item in the list.\n if (word.compareTo(current.getWord()) < 0) { // the word in the new node goes before the word in the first node\n first = newNode; // now the new node is the first one\n newNode.setNext(current); // and its next is the old first one\n }\n else if (!current.hasNext()) { // no next node, so this word goes after current\n current.setNext(newNode);\n }\n else { // new node doesn't go before first, so check the rest of the list\n boolean newNodePlaced = false;\n StringNode previous;\n while (current.hasNext() && !newNodePlaced) { \n previous = current;\n current = current.getNext(); // grab next node\n if (word.compareTo(current.getWord()) < 0) { // new word goes before this one\n// StringNode oldNext = current.getNext();\n// current.setNext(newNode);\n// newNode.setNext(oldNext);\n// newNodePlaced = true;\n previous.setNext(newNode);\n newNode.setNext(current);\n newNodePlaced = true;\n }\n }\n if (!newNodePlaced) { // if we're here and haven't yet placed the node, it goes at the end\n current.setNext(newNode);\n }\n }\n }\n size++;\n }", "public void insert(String word) {\n\t\t\tTrieNode curr = root;\n\t\t\tfor (char c : word.toCharArray()) {\n\t\t\t\tif (!curr.children.containsKey(c))\n\t\t\t\t\tcurr.children.put(c, new TrieNode());\n\t\t\t\tcurr = curr.children.get(c);\n\t\t\t}\n\t\t\tcurr.isWord = true;\n\t\t}", "public void insert(String word) {\n\t\tTrie curr = this;\n\t\tfor(Character ch : word.toCharArray()) {\n\t\t\tTrie n = curr.nodes[ch - 'a'];\n\t\t\t\n\t\t\tif (n == null) {\n\t\t\t\tn = new Trie();\n\t\t\t\tn.isWord = false;\n\t\t\t\tcurr.nodes[ch - 'a'] = n;\n\t\t\t}\n\t\t\t\n\t\t\tcurr = n;\n\t\t}\n\t\tcurr.isWord = true;\n\t}", "public void addWordCount(){\r\n\t\twordCount = wordCount + 1;\r\n\t}", "public void addWord(Word englishWord, Word frenchWord) {\n\t\tdictFr.add(frenchWord);\n\t\tdictEn.add(englishWord);\n\t\twordsAdded(englishWord, frenchWord);\n\t}", "public void insert(String word) {\n TrieNode node = root;\n\n // for each char in the word, add to the TrieNode\n for (char c: word.toCharArray()) {\n // if there are no such child, then we add it\n if (node.children[c - 'a'] == null) {\n node.children[c - 'a'] = new TrieNode(c);\n }\n // move the node to next layer\n node = node.children[c - 'a'];\n\n }\n // mark the isWord\n node.isWord = true;\n }", "public void add(String alphabetizedWord, String word){\n int index = word.length();\n if(index >= tree.size()){\n tree.setSize(index + 1);\n }\n if(tree.get(index) == null){\n tree.set(index, new Trie());\n }\n //add word to appropriate trie\n tree.get(index).addWord(alphabetizedWord, word);\n }", "public void insert(String word) {\n TrieNode n = root;\n for(char c : word.toCharArray()) {\n if(n.children[c]==null) {\n n.children[c] = new TrieNode();\n }\n n = n.children[c];\n }\n n.isWord = true;\n n.word = word;\n }", "public void addToCorpus(String word) {\n corpus.add(word);\n }", "public void insert(String word) {\n Entry tempRoot = root;\n for(int i=0; i<word.length(); i++){\n char ch = word.charAt(i);\n Entry childNode = tempRoot.getChildNode(ch);\n if(childNode == null){\n tempRoot.setChildNode(new Entry(), ch);\n }\n tempRoot = tempRoot.getChildNode(ch);\n }\n\n tempRoot.setIsWord(true);\n }", "public void setWord(String word){\n this.word = word; //Only used in testing.\n }", "private void insertWordEntry(String file, String word, String partition) {\n\t\tArrayList<String> fileList = new ArrayList<String>();\n\t\tfileList.add(file);\n\t\tindexedDir.get(partition).put(word, fileList);\n\t}", "void add(String value);", "private void addWordHelper( String word, int pos, TrieNode curNode )\n\t{\n\t\t//Check to see if the node has been occupied yet\n\t\tif( curNode.getLetters()[ (int)word.charAt(pos) - 97 ] == null )\n\t\t\t//If we are at the last character of the word\n\t\t\tif( pos >= word.length() - 1 )\n\t\t\t\t//Make sure the isWord property is set to true\n\t\t\t\tcurNode.setLetter( word.charAt( pos ), true );\n\t\t\telse\n\t\t\t\tcurNode.setLetter( word.charAt( pos ), false );\n\t\t\n\t\t//If it hasn't reached the last letter yet\n\t\tif( !( pos >= word.length() - 1 ) )\n\t\t\t//Keep on adding the word\n\t\t\taddWordHelper( word, pos + 1, curNode.getLetters()[ (int)word.charAt( pos ) - 97 ] );\n\t}", "public void insert(String word) {\n \tTrieNode cur=root;\n \tfor (int i = 0; i < word.length(); i++) {\n \t\t\tint ch=word.charAt(i)-'a';\n \t\t\tif(cur.next[ch]==null) {\n \t\t\t\tcur.next[ch]=new TrieNode();\n \t\t\t}\n \t\t\tcur=cur.next[ch];\n \t\t}\n \tcur.val=word;\n \tcur.isEnd=true;\n }", "public void insert(String word) {\n TrieTree point = root;\n for(int i = 0; i < word.length(); i++){\n char ch = word.charAt(i);\n if(point.getChild(ch - 'a') == null){\n point.setChild(ch - 'a', ch);\n }\n point = point.getChild(ch - 'a');\n }\n point.setIsWord();\n }" ]
[ "0.83992296", "0.80525506", "0.7991349", "0.7718489", "0.7694721", "0.76325333", "0.75138825", "0.75032425", "0.74919796", "0.72720116", "0.72317094", "0.7203887", "0.7116307", "0.7101458", "0.7073688", "0.707267", "0.70510685", "0.70416933", "0.6982543", "0.6941838", "0.69137645", "0.6903018", "0.68832564", "0.6872842", "0.68541646", "0.6846709", "0.68159133", "0.68150663", "0.6814637", "0.6807127", "0.67857575", "0.6772704", "0.6772122", "0.6743027", "0.67358595", "0.67124265", "0.67093146", "0.6670244", "0.6668884", "0.66635567", "0.66627425", "0.6659769", "0.6658367", "0.6653469", "0.66454506", "0.6621068", "0.6619133", "0.6616052", "0.66053736", "0.6596916", "0.6589495", "0.6582224", "0.65735936", "0.65681976", "0.6557153", "0.6534915", "0.65344673", "0.65166706", "0.6511187", "0.64906526", "0.64719105", "0.6458946", "0.64425284", "0.64361924", "0.64307857", "0.6424551", "0.6421379", "0.6421379", "0.6395812", "0.63862354", "0.635073", "0.6347512", "0.63461787", "0.6338164", "0.63351023", "0.63279235", "0.6326388", "0.6318527", "0.63159037", "0.63138056", "0.6293223", "0.6290378", "0.62879807", "0.62644815", "0.62641597", "0.62631774", "0.62610865", "0.62511", "0.6248502", "0.6234818", "0.62181586", "0.62099123", "0.6198101", "0.6187801", "0.61870795", "0.61865044", "0.6181824", "0.6158173", "0.61383325", "0.61212814", "0.6120272" ]
0.0
-1
Sets a voice as the default voice for the corresponding language
public Future<Void> setLanguageDefaultVoice(String Language, String Voice) throws DynamicCallException, ExecutionException{ return call("setLanguageDefaultVoice", Language, Voice); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setLanguageDefaultVoice(String Language, String Voice) throws DynamicCallException, ExecutionException{\n call(\"setLanguageDefaultVoice\", Language, Voice).get();\n }", "private void changeVoice(String voice) throws IOException{\r\n\t\tFile failed = new File(\".festivalrc\");\r\n\t\t//If file does not exist, create new file\r\n\t\tif(!failed.exists()) {\r\n\t\t\tfailed.createNewFile();\r\n\t\t} \r\n\r\n\t\t//Appending the word to the file\r\n\t\tWriter output;\r\n\t\toutput = new BufferedWriter(new FileWriter(failed,false)); \r\n\t\toutput.append(\"(set! voice_default '\"+voice +\")\");\r\n\t\toutput.close();\r\n\t}", "private void configureVoice(Voice voice) {\n voice.setPitch(configurator.getPitch());\n voice.setVolume(configurator.getVolume());\n voice.setRate(configurator.getRate());\n }", "public void setContactVoice(String contactVoice) {\n this.contactVoice = contactVoice;\n }", "private void setupChangeVoice() {\n\t\tFestivalVoice[] voices={FestivalVoice.Kiwi, FestivalVoice.British, FestivalVoice.American};\n\t\tfinal JComboBox voice_chooser = new JComboBox(voices);\n\t\tvoice_chooser.setFont(new Font(\"Arial\", Font.PLAIN, 20));\n\t\tvoice_chooser.setForeground(Color.BLACK);\n\t\tvoice_chooser.setBackground(Color.WHITE);\n\n\t\t//set shown item to be the current voice\n\t\tvoice_chooser.setSelectedItem(parent_frame.getFestival().getFestivalVoice());\n\t\tvoice_chooser.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tinput_from_user.requestFocusInWindow();//gets focus back to the spell here field\n\t\t\t\tif((FestivalVoice)voice_chooser.getSelectedItem()!=null){\n\t\t\t\t\tparent_frame.getFestival().setFestivalVoice((FestivalVoice)voice_chooser.getSelectedItem());\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tvoice_chooser.setBounds(919, 600, 154, 40);\n\t\tadd(voice_chooser);\n\t}", "public void startVoiceRecognition() {\n startVoiceRecognition(null);\n }", "public abstract void startVoiceRecognition(String language);", "public void setVoice(String pVoiceID) throws DynamicCallException, ExecutionException{\n call(\"setVoice\", pVoiceID).get();\n }", "public void setVoice (Voice voice)\r\n {\r\n // Already done?\r\n if (this.voice == null) {\r\n final String contextString = getContextString();\r\n logger.debug(\"{} Ch#{} setVoice {}\",\r\n contextString, id, voice.getId());\r\n\r\n this.voice = voice;\r\n\r\n // Update the voice entity\r\n if (!isWholeDuration()) {\r\n if (slot != null) {\r\n voice.setSlotInfo(\r\n slot,\r\n new VoiceChord(this, Voice.Status.BEGIN));\r\n }\r\n\r\n // Extend this info to other grouped chords if any\r\n BeamGroup group = getBeamGroup();\r\n\r\n if (group != null) {\r\n logger.debug(\r\n \"{} Ch#{} extending voice#{} to group#{}\",\r\n contextString, id, voice.getId(), group.getId());\r\n\r\n group.setVoice(voice);\r\n }\r\n\r\n // Extend to the following tied chords as well\r\n List<Chord> tied = getFollowingTiedChords();\r\n\r\n for (Chord chord : tied) {\r\n logger.debug(\"{} tied to {}\", this, chord);\r\n\r\n // Check the tied chords belong to the same measure\r\n if (this.getMeasure() == chord.getMeasure()) {\r\n logger.debug(\r\n \"{} Ch#{} extending voice#{} to tied chord#{}\",\r\n contextString, id, voice.getId(), chord.getId());\r\n\r\n chord.setVoice(voice);\r\n } else {\r\n // Chords tied across measure boundary\r\n logger.debug(\"{} Cross tie {} -> {}\",\r\n contextString,\r\n toShortString(), chord.toShortString());\r\n }\r\n }\r\n }\r\n } else if (this.voice != voice) {\r\n addError(\r\n \"Chord. Attempt to reassign voice from \" + this.voice.\r\n getId()\r\n + \" to \" + voice.getId() + \" in \" + this);\r\n } else {\r\n if (!isWholeDuration()) {\r\n if (slot != null) {\r\n voice.setSlotInfo(\r\n slot,\r\n new VoiceChord(this, Voice.Status.BEGIN));\r\n }\r\n }\r\n }\r\n }", "public void startVoiceRecognition(String language) {\n if (mTrigger != null) {\n mTrigger.startVoiceRecognition(language);\n }\n }", "private void init() {\n if (!isInitiated) {\n //Voices use by freeTTS, we define where they are, currently in the java en_us.jar\n //add the package\n addToSystemesPropetites(this.configurator.getLocation());\n\n // The VoiceManager manages all the voices for FreeTTS.\n voiceManager = VoiceManager.getInstance();\n\n this.defaultVoice = voiceManager.getVoice(this.configurator.getName());\n\n configureVoice(this.defaultVoice);\n\n // Allocates the resources for the voice.\n this.defaultVoice.allocate();\n isInitiated = true;\n }\n }", "public ApplicationCreator setVoiceFallbackUrl(final String voiceFallbackUrl) {\n return setVoiceFallbackUrl(Promoter.uriFromString(voiceFallbackUrl));\n }", "public Future<Void> setVoice(String pVoiceID) throws DynamicCallException, ExecutionException{\n return call(\"setVoice\", pVoiceID);\n }", "public SendVoice() {\n super();\n }", "public void setDigitalVoiceValue(String value) {\n setBootenv(ENV_DIGIT_AUDIO, value);\n\n if (PCM.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"0\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_mute\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_on\");\n } else if (RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"1\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_off\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_unmute\");\n } else if (SPDIF_RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"1\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_off\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_unmute\");\n } else if (HDMI_RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"2\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_mute\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_on\");\n }\n }", "private String setSpeechFXLanguage(String language){\n String lang;\n if (!mSpeechFXon) {\n lang = language;\n } else if (mTts == null) {\n\t\t\tLog.i(TAG, \"TTS IS NULL!\");\n\t\t\tlang = language;\n\t\t} else {\n\t\t\tlang = Languages.setSpeechLanguage(language, mDefaultSpeechLang, mTts.ttsengine());\n\t\t\tif (mTts != null && lang != null && !lang.equals(\"\")) {\n\t\t\t\tLog.i(TAG, \"TTS set speech engine language: \" + lang);\n\t\t\t\tmTts.ttsengine().setLanguage(Languages.stringToLocale(lang));\n\t\t\t} else {\n\t\t\t\t// Unchanged, so return the pilot language\n\t\t\t\tlang = language;\n\t\t\t}\n\t\t\tLog.i(TAG, \"TTS LANG: \" + lang);\n\t\t}\n\n\t\treturn lang;\n\t}", "public Voice getVoice ()\r\n {\r\n return voice;\r\n }", "public interface Voice {\n\n\t/**\n\t * Plays the specified text as synthesized audio.\n\t * @param text The text to speak.\n\t */\n\tpublic void speak(String text);\n\n\t/**\n\t * Sets the pitch of the voice.\n\t * @param pitch The new voice pitch.\n\t * @throws IllegalArgumentException If the specified voice\n\t * pitch is less than <tt>0</tt>.\n\t */\n\tpublic void setPitch(int pitch);\n\n\t/**\n\t * Sets the volume of the voice.\n\t * @param volume The new volume.\n\t * @throws IllegalArgumentException If the specified voice\n\t * volume is less than <tt>0</tt> or greater than <tt>100</tt>.\n\t */\n\tpublic void setVolume(int volume);\n\n\t/**\n\t * Sets the talk speed of the voice.\n\t * @param wpm The new talk speed in words per minute.\n\t * @throws IllegalArgumentException If the specified voice\n\t * speed is less than <tt>0</tt> or greater than <tt>999</tt>.\n\t */\n\tpublic void setSpeed(int wpm);\n\n}", "public ApplicationCreator setVoiceFallbackUrl(final URI voiceFallbackUrl) {\n this.voiceFallbackUrl = voiceFallbackUrl;\n return this;\n }", "public boolean convertAudioTypeToDefault();", "public void setRemainingVoice(int value) {\n this.remainingVoice = value;\n }", "private void setDefaultLanguage() {\n this.setLanguage(Locale.getDefault().getDisplayLanguage());\n }", "@Override\n public void onInit(int i) {\n if(i!=TextToSpeech.ERROR){\n // To Choose language of speech\n textToSpeech.setLanguage(getResources().getConfiguration().locale);\n }\n }", "public ApplicationCreator setVoiceUrl(final String voiceUrl) {\n return setVoiceUrl(Promoter.uriFromString(voiceUrl));\n }", "public Voice(String name){\r\n this.name = name;\r\n }", "public ApplicationCreator setVoiceFallbackMethod(final HttpMethod voiceFallbackMethod) {\n this.voiceFallbackMethod = voiceFallbackMethod;\n return this;\n }", "private void ConvertTextToSpeech(String voice1) {\n text=voice1;\n //text = et.getText().toString();\n if (text == null || \"\".equals(text)) {\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n } else\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", "private void changeLanguage(String newLanguage){\n\tif (newLanguage.contentEquals(\"FR\")){\n\t\t((GameActivity) activity).setStringPreferences(\"language\", \"1\");\n\t} else if (newLanguage.contentEquals(\"UK\")){\n\t\t((GameActivity) activity).setStringPreferences(\"language\", \"2\");\n\t}\n\t\n\t/*\n\tprefLanguage = ((GameActivity) activity).getPreference(\"language\", \"1\");\n\tif (prefLanguage.contentEquals(\"1\")){\n\t\tresourcesManager.tts.setLanguage(Locale.FRENCH);\n\t} else if (prefLanguage.contentEquals(\"2\")){\n\t\tresourcesManager.tts.setLanguage(Locale.ENGLISH);\t\n\t}\n\t*/\n\t\n\t\n\t\n\t/*\n\tif (newLanguage.contentEquals(\"FR\")){\n\t\tresourcesManager.tts.setLanguage(Locale.FRENCH);\n\t\tlocalLanguage=0;\n\t} else if (newLanguage.contentEquals(\"UK\")){\n\t\tresourcesManager.tts.setLanguage(Locale.ENGLISH);\t\n\t\tlocalLanguage=1;\n\t}\n\t*/\n\t\n}", "@Override\n\tpublic String addVoice(String voiceFileName) throws Exception {\n\t\treturn null;\n\t}", "public void onSpeak(View v)\n\t{\n\t\tstartVoiceRecognitionActivity();\n\t}", "void setAudioRoute(String device);", "public void setLang(AVT v)\n {\n m_lang_avt = v;\n }", "private void speak() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM) ;\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Speak the Item\");\n\n startActivityForResult(intent, SPEECH_REQUEST_CODE);\n\n }", "@Override\r\n\t\tpublic void setLang(String lang)\r\n\t\t\t{\n\t\t\t\t\r\n\t\t\t}", "@Override\n public void setLanguage(String lang) {\n }", "void setValueMixerSound(int value);", "public void setApplicationLanguage() {\n\t\tinitializeMixerLocalization();\n\t\tinitializeRecorderLocalization();\n\t\tinitializeMenuBarLocalization();\n\t\tsetLocalizedLanguageMenuItems();\n\t\tboardController.setLocalization(bundle);\n\t\tboardController.refreshSoundboard();\n\t}", "public HomeworkVoice() {\n super();\n }", "public interface VoiceManager {\n\n void speak(int requestCode, int speechResourceId, Object... formatArgs);\n\n void speak(int requestCode, int speechResourceId);\n\n void listen(int requestCode);\n\n void shutdown();\n\n void setVoiceManagerListener(VoiceManagerImpl.VoiceManagerListener listener);\n}", "public void setDefaultLanguage(java.lang.String defaultLanguage) {\n this.defaultLanguage = defaultLanguage;\n }", "protected static void setLanguage(Language lang) {\r\n\t\tInterface.lang = lang;\r\n\t}", "private void speak() {\n if(textToSpeech != null && textToSpeech.isSpeaking()) {\n textToSpeech.stop();\n }else{\n textToSpeech = new TextToSpeech(activity, this);\n }\n }", "public void setLanguage(String lang, String country, String variant) {\n mSelf.setLanguage(lang, country, variant);\n }", "protected void setupAudio(Engine engine, SceneManager sceneManager, Invocable invocableEngine) {\n\t\tsetupAudio = new File(\"setupAudio.js\");\n\t\tjsEngine.put(\"currentSong\", currentSong);\n\t\tjsEngine.put(\"music\", music);\n\t\tjsEngine.put(\"sfx\", sfx);\n\t\tthis.runScript(jsEngine, setupAudio);\n\t\ttry {\n\t\t\tinvocableEngine.invokeFunction(\"setupAudio\", this);\n\n\t\t} catch (ScriptException e1) {\n\t\t\tSystem.out.println(\"ScriptException in \" + setupAudio + e1);\n\t\t} catch (NoSuchMethodException e2) {\n\t\t\tSystem.out.println(\"No such method in \" + setupAudio + e2);\n\t\t} catch (NullPointerException e3) {\n\t\t\tSystem.out.println(\"Null pointer exception reading \" + setupAudio + e3);\n\t\t}\n\t\tmusic = (Sound[]) jsEngine.get(\"music\");\n\t\tsfx = (Sound[]) jsEngine.get(\"sfx\");\n\t}", "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 abstract void grantVoice(String nickname);", "void setLanguage(Language language);", "@ReactMethod\n public void setAudioDevice(final String device) {\n runInAudioThread(new Runnable() {\n @Override\n public void run() {\n if (!availableDevices.contains(device)) {\n JitsiMeetLogger.w(TAG + \" Audio device not available: \" + device);\n userSelectedDevice = null;\n return;\n }\n\n if (mode != -1) {\n JitsiMeetLogger.i(TAG + \" User selected device set to: \" + device);\n userSelectedDevice = device;\n updateAudioRoute(mode, false);\n }\n }\n });\n }", "public void AudioMuerte() {\r\n\t\ttry {\r\n\t\t\tdeath.AbrirFichero(\"C:\\\\Temp\\\\Sonidos\\\\golpe.wav\");\r\n\t\t} catch (Exception e) {\r\n\t\t\tSystem.out.println(\"Error: \" + e);\r\n\t\t}\r\n\t}", "public void setUpSound() {\n try {\n generateTone();\n setFrequencyLabel();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }", "public void voiceEvent(Voice voice)\r\n {\r\n voiceValue = voice.getVoice();\r\n\r\n getReturnPattern().addElement(voice);\r\n }", "public ApplicationCreator setVoiceMethod(final HttpMethod voiceMethod) {\n this.voiceMethod = voiceMethod;\n return this;\n }", "public void onInit(int code) {\n\t\t if (code==TextToSpeech.SUCCESS) {\n\t\t \t com.example.main_project.MainActivity.tts.setLanguage(Locale.getDefault());\n\n\n\t\t \t } else {\n\t\t \t com.example.main_project.MainActivity.tts = null;\n\t\t \t Toast.makeText(this, \"Failed to initialize TTS engine.\",\n\t\t \t Toast.LENGTH_SHORT).show();\n\t\t \t }\t\t\n\t\t}", "public ApplicationCreator setVoiceUrl(final URI voiceUrl) {\n this.voiceUrl = voiceUrl;\n return this;\n }", "public void stopSpeak() {\n if (mSynthesizer != null && mSynthesizer.isSpeaking()) {\n mSynthesizer.stopSpeaking();\n }\n }", "void updateLang() {\n if (lang == null)\n lang = game.q;\n }", "public void onVoiceStart(int sampleRates) {\n }", "public void setReportVoice(boolean reportVoice) {\n\t\tthis.reportVoice = reportVoice;\n\t}", "void setBotOptions(DefaultBotOptions botOptions){\n this.botOptions = botOptions;\n }", "@Override\n\tpublic void setTargetLanguage(java.lang.String targetLanguage) {\n\t\t_scienceApp.setTargetLanguage(targetLanguage);\n\t}", "public static void setDefaultLanguage(Context context, String lang) {\n Locale locale = new Locale(lang);\n Locale.setDefault(locale);\n Configuration config = new Configuration();\n config.locale = locale;\n context.getResources().updateConfiguration(config,\n context.getResources().getDisplayMetrics());\n }", "public void speakButtonClicked(View v)\n {\n startVoiceRecognitionActivity();\n }", "public void addSentVoice(Voice voice) {\n this.getState().sentVoice(voice);\n }", "private void setTextTospeech() {\n textToSpeech = new TextToSpeech(mContext, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n Set<Locale> languages = textToSpeech.getAvailableLanguages();\n if (language.toLowerCase().contains(langaugeCodeEnglish)) {\n int result = textToSpeech.setLanguage(new Locale(\"en\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n //Toast.makeText(mContext, result + \" is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n }\n } else {\n int result = textToSpeech.setLanguage(new Locale(\"hi\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n result = textToSpeech.setLanguage(Locale.forLanguageTag(\"hin\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n\n // Toast.makeText(mContext, result + \"Language is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \"Language is not supported\");\n }\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n if (result == TextToSpeech.LANG_NOT_SUPPORTED) {\n showTtsLanuageNSDialog();\n }\n }\n }\n }\n });\n }", "public static void setDefaults() {\r\n\t\tString temp = \"\";\r\n\t\tString[] sa;\r\n\t\tString prefix = \"\";\r\n\t\tString suffix = \"\";\r\n\r\n\t\t//Reset the skins so no more than one is selected when processed.\r\n\t\tclearSkin();\r\n\t\t\t\t\r\n\t\t//Loop through the entire sounds array list to find all the settings.\r\n\t\tfor (int i = 0; i < defaults.size(); i++) {\r\n\t\t\t//When found, set the variable in main to that string..\r\n\t\t\ttemp = (String) defaults.get(i);\r\n\t\t\t\r\n\t\t\tsa = splitString('=', temp);\r\n\t\t\t\r\n\t\t\tprefix = sa[0];\r\n\t\t\tsuffix = sa[1];\r\n\r\n\t\t\t//Find the properties and set them to the desired values.\r\n\t\t\tif (prefix.equalsIgnoreCase(\"sounds\")) {\r\n\t\t\t\tif (suffix.equalsIgnoreCase(\"true\")) Main.sounds = true;\r\n\t\t\t\tif (suffix.equalsIgnoreCase(\"false\")) Main.sounds = false;\r\n\t\t\t} else if (prefix.equalsIgnoreCase(\"skin\")){\r\n\t\t\t\tif (suffix.equalsIgnoreCase(\"iowa\")) Main.skinIsIowa = true;\r\n\t\t\t\tif (suffix.equalsIgnoreCase(\"isu\")) Main.skinIsIowaState = true;\r\n\t\t\t\tif (suffix.equalsIgnoreCase(\"uni\")) Main.skinIsNorthernIowa = true;\r\n\t\t\t} else if (prefix.equalsIgnoreCase(\"winscore\")){\r\n\t\t\t\tMain.winScore = suffix;\r\n\t\t\t} else if (prefix.equalsIgnoreCase(\"losescore\")){\r\n\t\t\t\tMain.loseScore = suffix;\r\n\t\t\t} else if (prefix.equalsIgnoreCase(\"sounddir\")){\r\n\t\t\t\tMain.soundDir = suffix;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "@Override\n\tpublic void speak() {\n\t\tSystem.out.println(\"Hello I override the default method\");\n\t}", "private void initializeMixerLocalization() {\n\t\ttry {\n\t\t\tmixerTab.setText(bundle.getString(\"mixerTab\"));\n\n\t\t\tlabelSelectFile.setText(bundle.getString(\"mixerSelectFileText\"));\n\t\t\tlabelOr.setText(bundle.getString(\"mixerOrText\"));\n\t\t\tlabelRecordFile.setText(bundle.getString(\"mixerRecordFileText\"));\n\n\t\t\tif (mixerSelectedFile != null) {\n\t\t\t\tif (mixerSelectedFile.getName().equals(\"mixer_default.wav\")) {\n\t\t\t\t\tlabelSelectedFile.setText(bundle.getString(\"mixerFileSelectedText\") + \" \"\n\t\t\t\t\t\t\t+ bundle.getString(\"mixerSelectedRecordingText\"));\n\t\t\t\n\t\t\t\t} else {\n\t\t\t\t\tlabelSelectedFile\n\t\t\t\t\t\t\t.setText(bundle.getString(\"mixerFileSelectedText\") + \" \" + mixerSelectedFile.getName());\n\t\t\t\t\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tlabelSelectedFile.setText(bundle.getString(\"mixerFileNotSelectedText\"));\n\t\t\t}\n\n\t\t\tlabelTryMixer.setText(bundle.getString(\"mixerTryMixerText\"));\n\n\t\t\tlabelPitch.setText(bundle.getString(\"mixerPitchText\"));\n\t\t\tlabelEcho.setText(bundle.getString(\"mixerEchoText\"));\n\t\t\tlabelDecay.setText(bundle.getString(\"mixerDecayText\"));\n\t\t\tlabelEchoLength.setText(bundle.getString(\"mixerEchoLengthText\"));\n\t\t\tlabelLowPass.setText(bundle.getString(\"mixerLowPassText\"));\n\t\t\tlabelFlanger.setText(bundle.getString(\"mixerFlangerText\"));\n\t\t\tlabelWetness.setText(bundle.getString(\"mixerWetnessText\"));\n\t\t\tlabelFlangerLength.setText(bundle.getString(\"mixerFlangerLengthText\"));\n\t\t\tlabelLfo.setText(bundle.getString(\"mixerLfoText\"));\n\t\t\tlabelGain.setText(bundle.getString(\"mixerGainText\"));\n\n\t\t\tbuttonMixerFileOpener.setText(bundle.getString(\"mixerFileButton\"));\n\t\t\tif (toggleButtonMixerStartRecording.isSelected()) {\n\t\t\t\ttoggleButtonMixerStartRecording.setText(bundle.getString(\"mixerStopRecordButton\"));\n\t\t\t} else {\n\t\t\t\ttoggleButtonMixerStartRecording.setText(bundle.getString(\"mixerStartRecordButton\"));\n\t\t\t}\n\n\t\t\tif (toggleButtonTestFilter.isSelected()) {\n\t\t\t\ttoggleButtonTestFilter.setText(bundle.getString(\"mixerButtonTryMixerStopText\"));\n\t\t\t} else {\n\t\t\t\ttoggleButtonTestFilter.setText(bundle.getString(\"mixerButtonTryMixerStartText\"));\n\t\t\t}\n\n\t\t\tbuttonMixerResetSliders.setText(bundle.getString(\"mixerResetSlidersButton\"));\n\t\t\tbuttonSaveSettings.setText(bundle.getString(\"mixerSaveSettingsButton\"));\n\t\t\tbuttonLoadSettings.setText(bundle.getString(\"mixerLoadSettingsButton\"));\n\t\t\tbuttonSaveMixedFile.setText(bundle.getString(\"mixerSaveFileButton\"));\n\n\t\t\ttooltipPitch.setText(bundle.getString(\"mixerPitchTooltip\"));\n\t\t\ttooltipGain.setText(bundle.getString(\"mixerGainTooltip\"));\n\t\t\ttooltipEcho.setText(bundle.getString(\"mixerEchoTooltip\"));\n\t\t\ttooltipFlanger.setText(bundle.getString(\"mixerFlangerTooltip\"));\n\t\t\ttooltipLowPass.setText(bundle.getString(\"mixerLowPassTooltip\"));\n\n\t\t\tsymbols = new DecimalFormatSymbols(bundle.getLocale());\n\t\t\tdecimalFormat = new DecimalFormat(\"#0.00\", symbols);\n\n\t\t\ttextFieldPitch\n\t\t\t\t\t.setText(decimalFormat.format(Double.parseDouble(textFieldPitch.getText().replace(',', '.'))));\n\t\t\ttextFieldEchoLength\n\t\t\t\t\t.setText(decimalFormat.format(Double.parseDouble(textFieldEchoLength.getText().replace(',', '.'))));\n\t\t\ttextFieldDecay\n\t\t\t\t\t.setText(decimalFormat.format(Double.parseDouble(textFieldDecay.getText().replace(',', '.'))));\n\t\t\ttextFieldLowPass\n\t\t\t\t\t.setText(decimalFormat.format(Double.parseDouble(textFieldLowPass.getText().replace(',', '.'))));\n\t\t\ttextFieldWetness\n\t\t\t\t\t.setText(decimalFormat.format(Double.parseDouble(textFieldWetness.getText().replace(',', '.'))));\n\t\t\ttextFieldFlangerLength.setText(\n\t\t\t\t\tdecimalFormat.format(Double.parseDouble(textFieldFlangerLength.getText().replace(',', '.'))));\n\t\t\ttextFieldLfo.setText(decimalFormat.format(Double.parseDouble(textFieldLfo.getText().replace(',', '.'))));\n\t\t\ttextFieldGain.setText(decimalFormat.format(Double.parseDouble(textFieldGain.getText().replace(',', '.'))));\n\n\t\t\tif (bundle.getLocale().toString().equals(\"fi_FI\")) {\n\t\t\t\tcheckmarkFinnish.setVisible(true);\n\t\t\t\tcheckmarkEnglish.setVisible(false);\n\t\t\t} else if (bundle.getLocale().toString().equals(\"en_US\")) {\n\t\t\t\tcheckmarkEnglish.setVisible(true);\n\t\t\t\tcheckmarkFinnish.setVisible(false);\n\t\t\t}\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}", "@Override\r\n\tpublic void setDefault(String oletus) {\r\n\t\ttextVastaus.setText(oletus);\r\n\t}", "public void setVoiceEffect(int effectIndex) {\n mRtcEngine.setAudioEffectPreset(VOICE_EFFECTS[effectIndex]);\n }", "public Voice() {\n }", "public static void setDefaultVolume(float newDefault) {\n\t\tdefaultVolume = newDefault;\n\t}", "@Override\r\n\tpublic void setMusic() {\r\n\t\tmanager.getMusicManager().setMusic((Music) Gdx.audio.newMusic(Gdx.files.internal(\"Music/Bandit Camp.mp3\")));\r\n\t}", "private void ConvertTextToSpeech() {\n if (properties.get(selectedStateOrCountry) != null) {\n tts.speak(String.format(\"This is %s %s\", selectedStateOrCountry, properties.get(selectedStateOrCountry)),\n TextToSpeech.QUEUE_FLUSH, null);\n\n } else if (countryCapitalMap.get(selectedStateOrCountry) != null) {\n tts.speak(countryCapitalMap.get(selectedStateOrCountry), TextToSpeech.QUEUE_FLUSH, null);\n } else {\n tts.speak(selectedStateOrCountry, TextToSpeech.QUEUE_FLUSH, null);\n }\n }", "public void setLanguage(String language);", "public void onClick(View v) {\n speechRecognizer.startListening(speechRecognizerIntent);\n Toast.makeText( getActivity(),\"Voice\", Toast.LENGTH_SHORT).show();\n }", "@Override\r\n public void onInit(int status) {\n if(status!=TextToSpeech.ERROR) {\r\n ttobj.setLanguage(Locale.UK);\r\n //ttobj.setPitch(2);\r\n }\r\n }", "public void setAudioPort(int port);", "@Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n int result = tts.setLanguage(Locale.US);\n if (result == TextToSpeech.LANG_MISSING_DATA ||\n result == TextToSpeech.LANG_NOT_SUPPORTED) {\n Log.e(\"error\", \"This Language is not supported\");\n } else {\n ConvertTextToSpeech(\"\");\n\n }\n } else\n Log.e(\"error\", \"Initilization Failed!\");\n\n\n }", "public AudioSettings() {\n this.emulator = NEmuSUnified.getInstance().getEmulator();\n }", "public Word(String defaultTranslation, String miwok, int musicid) {\n mDefaultTranslation = defaultTranslation;\n miwokTranslation = miwok;\n mmusic_id = musicid;\n }", "public static void enableSound() {\n\t\tvelocity = 127;\n\t}", "public void switchLanguage(){\n Locale myLocale = new Locale(\"de\");\r\n // get current Locale\r\n String currentLocale = scanActivity.getResources().getConfiguration().locale\r\n .toString();\r\n // set Locale to english if current Locale is german\r\n if (currentLocale.equals(\"de\")) {\r\n myLocale = new Locale(\"en\");\r\n }\r\n // sets the Locale in the configuration and updates the\r\n // configuration\r\n DisplayMetrics metrics = scanActivity.getResources().getDisplayMetrics();\r\n Configuration config = scanActivity.getResources().getConfiguration();\r\n config.locale = myLocale;\r\n scanActivity.getResources().updateConfiguration(config, metrics);\r\n // recreates the app in order to show the selected language\r\n scanActivity.recreate();\r\n }", "private void setLanguage(String language_) {\n\n //by default assign language to language_. This may change below.\n language = language_;\n\n //---------- set the default file extensions ----------\n switch (language_) {\n case IAGConstant.LANGUAGE_CPP:\n //extensions = IAGConstant.CPP_EXTENSIONS;\n break;\n case IAGConstant.LANGUAGE_PYTHON3:\n //extensions = IAGConstant.PYTHON_EXTENSIONS;\n break;\n case IAGConstant.LANGUAGE_AUTO:\n //extensions = IAGConstant.PYTHON_AND_CPP_EXTENSIONS;\n break;\n default:\n //extensions = IAGConstant.PYTHON_AND_CPP_EXTENSIONS;;\n language = LANGUAGE_AUTO; //invalid language specified: use AUTO by default\n }\n\n }", "@Override\n public void onInit(int status) {\n\t \n\tif (status == TextToSpeech.SUCCESS) {\n\t\t \n int result = mTts.setLanguage(Locale.US);\n if (result != TextToSpeech.LANG_MISSING_DATA && result != TextToSpeech.LANG_NOT_SUPPORTED) {\n \tspokenText += spokenText+\"\"+spokenText+\"\";\n // mTts.speak(\"Dear sir your class is finished!! Dear sir your class is finished!! Dear sir your class is finished!!\", TextToSpeech.QUEUE_FLUSH, null);\n mTts.speak(spokenText, TextToSpeech.QUEUE_FLUSH, null);\n } \n } \n\t \n}", "public void onInit(int arg0) {\n\t\t if (arg0 == TextToSpeech.SUCCESS) {\r\n\t\t\t \r\n\t int result = texttospeech.setLanguage(Locale.US);\r\n\t \r\n\t if (result == TextToSpeech.LANG_MISSING_DATA\r\n\t || result == TextToSpeech.LANG_NOT_SUPPORTED) {\r\n\t Log.e(\"TTS\", \"This Language is not supported\");\r\n\t } \r\n\t else \r\n\t {\r\n\t speakOut(src, dest);\r\n\t }\r\n\t \r\n\t } \r\n\t else \r\n\t {\r\n\t Log.e(\"text to speech\", \"failed\");\r\n\t }\r\n\t\t\r\n\t}", "public static void setSound(boolean tempSound) {\n sound = tempSound;\n }", "public void changeLanguage(View v) {\n Resources res = getResources();\n DisplayMetrics dm = res.getDisplayMetrics();\n Configuration config = res.getConfiguration();\n\n String targetLanguage;\n\n // Log.d(\"en-US\", targetLanguage);\n\n if ( config.locale.toString().equals(\"pt\") ) {\n targetLanguage = \"en-US\";\n } else {\n targetLanguage = \"pt\";\n }\n\n Locale newLang = new Locale(targetLanguage);\n\n config.locale = newLang;\n res.updateConfiguration(config, dm);\n\n // Reload current page with new language\n Intent refresh = new Intent(this, Settings.class);\n startActivity(refresh);\n }", "protected void muteSounds()\n {\n if(confused.isPlaying())\n confused.stop();\n }", "public void addSentVoice(Voice voice) {\n\t\taddCommunicationSent(voice);\n\t}", "public String getVoice() throws DynamicCallException, ExecutionException {\n return (String)call(\"getVoice\").get();\n }", "@Override\n public void speak() {\n System.out.println(\"I'm an Aardvark, I make grunting sounds most of the time.\");\n }", "public void ChangeSoundInput(String input) {\n shellExec(\"osascript \" + Parse(dataPath(\"ChangeAudioInput.scpt\")) + \" \\\"\" + input + \"\\\"\");\n println(\"Audio input set to \" + input);\n //Connect/Reconnect STT Library to default input\n ReconfigureSTT();\n}", "private void startVoiceRecognitionActivity() {\n\t\tIntent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\t\tintent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n\t\tintent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"What food are you stocking right now?\");\n\t\tstartActivityForResult(intent, SPEECH_REQCODE);\n\t}", "@SuppressLint(\"SetTextI18n\")\n @Override\n public void setLanguage() {\n if (Value.language_flag == 0) {\n title.setText(title_text);\n back.setText(\"back\");\n copyright.setText(Value.copyright_text + Value.ver);\n nowTime.setText(Value.updatestring + Value.updateTime);\n } else if (Value.language_flag == 1) {\n title.setText(title_text);\n back.setText(\"返回\");\n copyright.setText(Value.copyright_text + Value.ver);\n nowTime.setText(Value.updatestring + Value.updateTime);\n } else if (Value.language_flag == 2) {\n title.setText(title_text);\n back.setText(\"返回\");\n copyright.setText(Value.copyright_text + Value.ver);\n nowTime.setText(Value.updatestring + Value.updateTime);\n }\n }", "@Override\n\tpublic String speak() {\n\t\treturn null;\n\t}", "@FXML\n\tpublic void recorderPlayAudio() {\n\t\tcontroller.audioRecorderPlayAudio();\n\t\trecorderButtonPlay.setDisable(true);\n\t\trecorderButtonPause.setDisable(false);\n\t\trecorderButtonStop.setDisable(false);\n\t}", "private void initialMusic(){\n\n }", "public void loadVoicePreference(String pPreferenceName) throws DynamicCallException, ExecutionException{\n call(\"loadVoicePreference\", pPreferenceName).get();\n }", "private void startVoiceRecognitionActivity() {\n\t\t// Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\t\t// intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n\t\t// RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n\t\t// intent.putExtra(RecognizerIntent.EXTRA_PROMPT,\n\t\t// \"Diga o valor do produto\");\n\t\t// intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_PREFERENCE, \"pt-BR\");\n\t\t// // intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_PREFERENCE,\n\t\t// \"en-US\");\n\t\t// intent.putExtra(RecognizerIntent.EXTRA_ONLY_RETURN_LANGUAGE_PREFERENCE,\n\t\t// true);\n\t\t// startActivityForResult(intent, VOICE_RECOGNITION_REQUEST_CODE);\n\t\tUtils.startVoiceRecognitionActivity(this, Utils.nomeProdutoMessage);\n\t}", "public void setAudioDescriptor( AudioDescriptor audioDescriptor );" ]
[ "0.79046476", "0.7251996", "0.6555323", "0.63743305", "0.6344207", "0.6290455", "0.6279115", "0.627816", "0.59988576", "0.5972195", "0.58401513", "0.5751463", "0.5724904", "0.57234687", "0.57162154", "0.5710885", "0.5703532", "0.5677754", "0.56773996", "0.5632739", "0.5604371", "0.5597288", "0.5564845", "0.5534144", "0.55161107", "0.54926336", "0.54680026", "0.5462886", "0.5461772", "0.54420537", "0.5441449", "0.54369843", "0.54339254", "0.541741", "0.53952336", "0.53776133", "0.53532404", "0.5347911", "0.5342795", "0.5341553", "0.5340227", "0.5333809", "0.53171164", "0.53126085", "0.53121185", "0.5309537", "0.5307393", "0.5301527", "0.52999985", "0.52998984", "0.5291676", "0.5288457", "0.5286874", "0.52742803", "0.5256103", "0.5242323", "0.52403927", "0.5239747", "0.51967365", "0.5188507", "0.51874053", "0.5185354", "0.51744974", "0.51633847", "0.51501226", "0.51453525", "0.51434195", "0.5140362", "0.5138179", "0.5133661", "0.5128966", "0.5120514", "0.5113057", "0.5108115", "0.5106298", "0.5099885", "0.5085132", "0.5073112", "0.5065359", "0.50625503", "0.5061137", "0.5061079", "0.5046267", "0.50413406", "0.50312847", "0.5015654", "0.5013732", "0.50109375", "0.501008", "0.5004194", "0.5000569", "0.49999693", "0.49977708", "0.4992801", "0.4990924", "0.49905938", "0.49889356", "0.49854174", "0.49843797", "0.4981454" ]
0.7616352
1
Fetches the current volume the text to speech.
public Future<Float> getVolume() throws DynamicCallException, ExecutionException { return call("getVolume"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getVolume();", "int getVolume();", "public int getVolume();", "public int getCurrentVolume() {\n return mCurrentVolume;\n }", "public float getConferenceLocalInputVolume();", "public long getCurrentVolume() {\n return currentVolume;\n }", "public float getSoundVolume() {\n return _soundVolume;\n }", "int getOriginalVolume();", "Double volume() {\n return execute(\"player.volume\");\n }", "public int getVolume() {\n return mBundle.getInt(KEY_VOLUME);\n }", "@Override\r\n\t\tpublic int dmr_getVolume() throws RemoteException {\n\t\t\tint current = soundManager.getVolume();\r\n\t\t\tUtils.printLog(TAG, \"current Volume\" + current);\r\n\t\t\treturn current;\r\n\t\t}", "public String volume() {\n return mVolume;\n }", "public double getVolume()\n {\n return this.volume;\n }", "@Resource(resourceId = 2216, operation = Operation.Read)\n public Long readVolume()\t{\n ActionInvocation actionInvocation =\n new ActionInvocation(renderingControlService.getAction(ACTION_GET_VOLUME));\n actionInvocation.setInput(ARG_INSTANCE_ID, new UnsignedIntegerFourBytes(0));\n actionInvocation.setInput(ARG_CHANNEL, VALUE_CHANNEL_MASTER);\n Map<String, ActionArgumentValue> output = UpnpController.getInstance().executeUpnpAction(actionInvocation);\n return ((UnsignedIntegerTwoBytes)output.get(ARG_CURRENT_VOLUME).getValue()).getValue();\n }", "public double getVolume() {\n return volume;\n }", "public abstract double getVolume();", "public double getVolume() { return volume; }", "public double getcurrentVolume() {\n\t return this.currentVolume;\n\t}", "public int getVolume() {\n return volume;\n }", "public float getVolume()\n {\n return volume;\n }", "int getRemainingVolume();", "public int getVolume() {\n return volume_;\n }", "int getVolume() {\n return this.volume;\n }", "public int VolumeGet();", "public int getVolume() {\n return volume_;\n }", "@Override\n\tprotected float getSoundVolume() {\n\t\t// note: unused, managed in playSound()\n\t\treturn 1;\n\t}", "public int getVolume() {\r\n\t\treturn volume;\r\n\t}", "public void updateVolume() {\n\t\tMixer.Info[] mixerInfos = AudioSystem.getMixerInfo();\n\n\t\tfor (Mixer.Info mixerInfo : mixerInfos) {\n\t\t\tMixer mixer = AudioSystem.getMixer(mixerInfo);\n\t\t\tLine.Info[] lineInfos = mixer.getTargetLineInfo();\n\n\t\t\tfor (Line.Info lineInfo : lineInfos) {\n\t\t\t\ttry {\n\t\t\t\t\tLine line = mixer.getLine(lineInfo);\n\t\t\t\t\tline.open();\n\t\t\t\t\tif (line.isControlSupported(FloatControl.Type.VOLUME)) {\n\t\t\t\t\t\tFloatControl volumeControl = (FloatControl) line.getControl(FloatControl.Type.VOLUME);\n\t\t\t\t\t\tvolumeControl.setValue((float) volume);\n\t\t\t\t\t}\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public Float getVolume() throws DynamicCallException, ExecutionException {\n return (Float)call(\"getVolume\").get();\n }", "public double getVolume()\n {\n return volume / 512;\n }", "public double getTotalVolume() {\n return totalVolume;\n }", "public int getVolume() {\n\t\treturn this.volume;\n\t}", "public long getPropertyVolume();", "public float getVolume() {\n return 1.0f;\n }", "protected float getSoundVolume()\n\t{\n\t\treturn 1F;\n\t}", "@Override\r\n\tpublic float getVolume() {\n\t\treturn 0;\r\n\t}", "protected float getSoundVolume()\n {\n return 0.4F;\n }", "public abstract double calcVolume();", "public abstract double calcVolume();", "public Double getVolumeProgress() {\n return this.volumeProgress;\n }", "public byte getVolume(){\r\n\t\treturn volume;\r\n\t}", "public abstract float volume();", "public abstract double volume();", "public static int getMusicVolume()\n\t{\n\t\treturn musicVolume;\n\t}", "BigDecimal getVolume();", "public void updateVolume(){\r\n if(currentLoop0) backgroundMusicLoop0.gainControl.setValue(Window.musicVolume);\r\n else backgroundMusicLoop1.gainControl.setValue(Window.musicVolume);\r\n }", "private int getPreviousStreamVolume() {\n \tif (this.debugMode){\n \t\treturn QUIET_SOUND_LEVEL;\n \t} else {\n \t\treturn previousStreamVolume;\n \t}\n }", "double volume() {\n\t\treturn 0;\n\t}", "@Override\n\tpublic void calcularVolume() {\n\t\t\n\t}", "public double getVolume() {\n return super.getLado1() * super.getLado2() * this.altura;\n }", "@Override\n\tpublic double volume() {\n\t\treturn 0;\n\t}", "@Override\n\tpublic double volume() {\n\t\treturn 0;\n\t}", "public int getAudioVolume(int streamType) {\n return mAudioManager.getStreamVolume(streamType);\n }", "public double getCyclinderVolume();", "void volume(double volume) {\n execute(\"player.volume = \" + volume);\n }", "@Override\n\tpublic float volume() {\n\t\treturn 0;\n\t}", "private double Volume() {\n\t\tdouble volume = (4f / 3f) * Math.PI * Math.pow(_radius, 3);\n\t\treturn volume;\n\t}", "public int getSliderVolume() {\n return (int)(this.volume * 100);\n }", "public long getPropertyVolumeUnity();", "public long getPropertyVolume()\n {\n return iPropertyVolume.getValue();\n }", "public static int getSoundEffectVolume()\n\t{\n\t\treturn soundEffectVolume;\n\t}", "ModuleComponent volume();", "public interface VolumeControl\n{\n /**\n * The name of the configuration property which specifies the volume level\n * of audio input.\n */\n public final static String CAPTURE_VOLUME_LEVEL_PROPERTY_NAME\n = \"net.java.sip.communicator.service.media.CAPTURE_VOLUME_LEVEL\";\n\n /**\n * The name of the configuration property which specifies the volume level\n * of audio output.\n */\n public final static String PLAYBACK_VOLUME_LEVEL_PROPERTY_NAME\n = \"net.java.sip.communicator.service.media.PLAYBACK_VOLUME_LEVEL\";\n\n /**\n * Current volume value.\n * @return the current volume level.\n */\n public float getVolume();\n\n /**\n * Returns the minimum allowed volume value.\n * @return the minimum allowed volume value.\n */\n public float getMinValue();\n\n /**\n * Returns the maximum allowed volume value.\n * @return the maximum allowed volume value.\n */\n public float getMaxValue();\n\n /**\n * Changes volume level.\n * @param value the new level to set.\n * @return the actual level which was set.\n */\n public float setVolume(float value);\n\n /**\n * Mutes current sound playback.\n * @param mute mutes/unmutes playback.\n */\n public void setMute(boolean mute);\n\n /**\n * Get mute state of sound playback.\n * @return mute state of sound playback.\n */\n public boolean getMute();\n\n /**\n * Adds a <tt>VolumeChangeListener</tt> to be informed for any change\n * in the volume levels.\n *\n * @param listener volume change listener.\n */\n public void addVolumeChangeListener(VolumeChangeListener listener);\n\n /**\n * Removes a <tt>VolumeChangeListener</tt>.\n * @param listener the volume change listener to be removed.\n */\n public void removeVolumeChangeListener(VolumeChangeListener listener);\n}", "public void increseVolume() {\n\t\tvolume++;\n\t\tSystem.out.println(\"MobilePhone当前音量为:\"+volume);\n\t}", "public double getVolume() {\n\t\treturn height * depth * length;\n\n\t}", "public void calcVolume() {\n this.vol = (0.6666666666666667 * Math.PI) * Math.pow(r, 3);\n }", "public float getVolumeMultiplier();", "String getVolume_type();", "public static synchronized int getKeyClickVolume() {\r\n\t\treturn Button.keys.getKeyClickVolume();\r\n\t}", "public double getVolume()\r\n\t{\r\n\t\treturn (super.getArea())*h;\r\n\t}", "public int calculateVolume() {\n return (int) Math.pow(this.sideLength, 3) ;\n }", "private int getVol() {\r\n\r\n\t\treturn dayVolume;\r\n\t}", "public double getVolume() {\n return (getArea() * height);\n }", "double getMaxVolume();", "public double getVolumeLitres() {\n return volumeLitres;\n }", "public String getVolumeType() {\n return this.volumeType;\n }", "public String getVolumeType() {\n return this.volumeType;\n }", "int getCancelledVolume();", "public double getVolume() {\n\t\treturn base.getArea() * height;\n\t}", "public String getVolumeName() {\n return volumeName;\n }", "public int getVolumeHandling() {\n return mBundle.getInt(KEY_VOLUME_HANDLING);\n }", "public float getInitSFXVolume() {\n \t\treturn 1;\n \t}", "public void setVolume(int volume);", "public String interact() {\n return sound;\n }", "public double volume()\r\n {\r\n double volume = Math.pow(radius, 2) * (height / 3) * Math.PI;\r\n return volume;\r\n }", "public void decreaseVolume() {\n\t\tvolume--;\n\t\tSystem.out.println(\"MobilePhone当前音量为:\"+volume);\n\t}", "public void increaseVolume()\r\n {\r\n volume++;\r\n }", "public void play() {\n if (audio != null) {\n audio.play(sfxVolume);\n }\n }", "void setVolume(float volume);", "@Override\n\t\tpublic void onReceive(Context arg0, Intent arg1) {\n\t\t\tString action = arg1.getAction();\n\t\t\tLog.v(TAG, \"action: \" + arg1.getAction());\n\t\t\tif(action.equals(\"android.media.VOLUME_CHANGED_ACTION\")){\n\t\t\t\tsystem_sound = audio.getStreamVolume(AudioManager.STREAM_RING) ;// 当前的媒体音量\n\t\t\t\tFyLog.d(TAG, \"the system_sound is: \" + system_sound);\n\t\t\t\tif(system_sound != sound.getProgress())\n\t\t\t\t\tsound.setProgress(system_sound);\n\t\t\t}\n\t\t}", "public double volume() {\n\t\treturn this.iWidth * this.iLength * this.iDepth\r\n\t}", "boolean hasVolume();", "public void increaseVolume() {\r\n\t\tvolume++;\r\n\t}", "protected void updateVolumeTextView(String text) {\n mVolTextView.setText(text);\n }", "@ReactMethod\n public void getVolumes(Promise promise) {\n int musicVolume = audioManager.getStreamVolume(AudioManager.STREAM_MUSIC);\n int musicMaxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC);\n int alarmVolume = audioManager.getStreamVolume(AudioManager.STREAM_ALARM);\n int alarmMaxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_ALARM);\n int ringVolume = audioManager.getStreamVolume(AudioManager.STREAM_RING);\n int ringMaxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_RING);\n WritableMap map = Arguments.createMap();\n map.putInt(\"musicVolume\",musicVolume);\n map.putInt(\"musicMaxVolume\",musicMaxVolume);\n map.putInt(\"alarmVolume\",alarmVolume);\n map.putInt(\"alarmMaxVolume\",alarmMaxVolume);\n map.putInt(\"ringVolume\",ringVolume);\n map.putInt(\"ringMaxVolume\",ringMaxVolume);\n promise.resolve(map);\n }", "@Override\n\tpublic float volume() {\n\t\tfloat volume = (float) ((4/3) * Math.PI * Math.pow(this.radius, 3));\n\t\treturn volume;\n\t}", "@Override\n public double getVolume() {\n return liquids\n .stream()\n .mapToDouble(Liquid::getVolume)\n .sum();\n }", "public String getVolumeId() {\n return this.volumeId;\n }", "public double calcVolume(){\n double area=calcArea(); // calcArea of superclass used\r\n return area*h;\r\n }", "@Override\n \tpublic void onUpdateVolume(double arg0) {\n \t}" ]
[ "0.7070805", "0.7070805", "0.69306296", "0.6916613", "0.688398", "0.6853225", "0.6823838", "0.67877954", "0.6786532", "0.67211896", "0.67189515", "0.67166865", "0.67148983", "0.6697348", "0.6666358", "0.6660117", "0.6654993", "0.6651095", "0.6630046", "0.6615788", "0.66091526", "0.65872955", "0.6563245", "0.65453565", "0.6495387", "0.6475031", "0.64597213", "0.6459225", "0.6448833", "0.6432342", "0.64011395", "0.6356648", "0.6348213", "0.6325111", "0.6294695", "0.62787294", "0.6273564", "0.62633735", "0.62633735", "0.62412566", "0.6228308", "0.6220174", "0.62035275", "0.617826", "0.61694103", "0.61371577", "0.61246073", "0.6099858", "0.6052516", "0.60440624", "0.60111624", "0.60111624", "0.5989903", "0.59244066", "0.59171426", "0.5889935", "0.5888717", "0.5869706", "0.58546615", "0.58373356", "0.583324", "0.5830621", "0.58271474", "0.5818557", "0.5811215", "0.580612", "0.5789013", "0.5788668", "0.5757886", "0.5755904", "0.5754126", "0.5745944", "0.57443774", "0.57429516", "0.57061964", "0.5702354", "0.5702354", "0.5698776", "0.5668648", "0.5660987", "0.56580174", "0.56458", "0.5628527", "0.56279343", "0.5622997", "0.5621199", "0.56191045", "0.5616691", "0.56081736", "0.56032896", "0.5592999", "0.5580827", "0.5579005", "0.556802", "0.55494046", "0.5544425", "0.5539079", "0.55229247", "0.55166036", "0.55137926" ]
0.6503609
24
Exits and unregisters the module.
public Future<Void> exit() throws DynamicCallException, ExecutionException{ return call("exit"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void shutdown() {\r\n //shut down MbModule\r\n super.shutdown();\r\n }", "public void closeModule() {\n\n }", "@Deactivate\n public void deactivate()\n {\n m_PluginFactoryTracker.close();\n if (m_RegistryComponent != null)\n {\n m_RegistryComponent.dispose();\n }\n }", "private void unregister() {\n Intent regIntent = new Intent(REQUEST_UNREGISTRATION_INTENT);\n regIntent.setPackage(GSF_PACKAGE);\n regIntent.putExtra(\n EXTRA_APPLICATION_PENDING_INTENT, PendingIntent.getBroadcast(context, 0, new Intent(), 0));\n setUnregisteringInProcess(true);\n context.startService(regIntent);\n }", "public static void shutdown() {\n if(registry != null)\n StandardServiceRegistryBuilder.destroy(registry);\n }", "public void close() {\n m_module.close();\n }", "private void onModuleDestroy() {\n //!\n //! Handle the destroy notification.\n //!\n mLifecycle.onPause();\n mLifecycle.onDispose();\n\n //!\n //! Unload resource module.\n //!\n mResources.onModuleDestroy();\n\n mResources.unloadAll();\n\n //!\n //! Unload input module.\n //!\n mInputThread.cancel();\n mInput.onModuleDestroy();\n\n //!\n //! Unload audio module.\n //!\n mAudioThread.cancel();\n mAudio.onModuleDestroy();\n\n //!\n //! Unload render module.\n //!\n //! NOTE: Update the render to destroy all render component(s)\n //!\n mRender.onModuleUpdate();\n mRender.onModuleDestroy();\n\n //!\n //! Unload display module.\n //!\n mDisplay.onModuleDestroy();\n }", "private void onModuleDestroy() {\n //!\n //! Handle the destroy notification.\n //!\n mLifecycle.onPause();\n mLifecycle.onDispose();\n\n //!\n //! Unload resource module.\n //!\n mResources.onModuleDestroy();\n mResources.unloadAll();\n\n //!\n //! Unload input module.\n //!\n mInputThread.cancel();\n mInput.onModuleDestroy();\n\n //!\n //! Unload audio module.\n //!\n mAudioThread.cancel();\n mAudio.onModuleDestroy();\n\n //!\n //! Unload render module.\n //!\n //! NOTE: Update the render to destroy all render component(s)\n //!\n mRender.onModuleDestroy();\n\n //!\n //! Unload display module.\n //!\n mDisplay.onModuleDestroy();\n }", "public abstract void unregister();", "public void shutdown() {\n logger.info(\"Shutting down modules.\");\n for (Module module : modules) {\n module.stop();\n }\n logger.info(\"Shutting down reporters.\");\n for (Reporter reporter : reporters.values()) {\n reporter.stop();\n }\n }", "public void unregister() {\n unregistered = true;\n }", "public void exit () {\r\n System.out.println(\"Desligando aplicação...\");\r\n this.stub.killStub();\r\n }", "public static void shutdown()\n\t{\n\t\tinstance = null;\n\t}", "public void shutdown() {\r\n System.exit(0);\r\n }", "void close() {\n unload0(name, handle);\n }", "@After\n public void cleanup()\n throws Exception\n {\n moduleManager.stop();\n }", "public void stop(){\n\t\t\n\t\tif (extObj != null){\n\t\t\textObj.stopComponent();\n\t\t\textObj = null;\n\t\t}\n\t\t\n\t\textClassLoader = null;\n\t}", "public void shutdown()\r\n {\r\n debug(\"shutdown() the application module\");\r\n\r\n // Shutdown all the Timers\r\n shutdownWatchListTimers();\r\n // Save Our WatchLists\r\n saveAllVectorData();\r\n // Our Container vectors need to be emptied and clear. \r\n modelVector.removeAllElements();\r\n modelVector = null;\r\n\r\n tableVector.removeAllElements();\r\n tableVector = null;\r\n\r\n // Delete any additional Historic Data that is Serialized to disk\r\n expungeAllHistoricFiles();\r\n\r\n // Shutdown the task that monitors the update tasks\r\n if ( this.monitorTask != null )\r\n {\r\n this.monitorTask.cancel();\r\n this.monitorTask = null;\r\n }\r\n // Null out any reference to this data that may be present\r\n stockData = null;\r\n debug(\"shutdown() the application module - complete\");\r\n\r\n }", "public void shutdown();", "public void shutdown();", "public void shutdown();", "public void shutdown();", "@Override\n protected void onUnregister() {\n Core.unregister(this);\n }", "public void destroy() throws RemoteException {\n Thread thread = new Thread() {\n public void run() {\n //System.setProperty(\"terminatingHello\", \"true\");\n //System.err.println(\"Shutting down service\");\n //System.err.println(\"Terminating - checking activation ID\");\n\n try {\n AdmActFilterImpl.super.destroy();\n\n activatableFactory.unregister(activationAdapter.getActivationID());\n\n System.out.println(\"destroyed!\");\n\n/* while (!Activatable.inactive(id)) {\n Thread.yield();\n }\n\n ActivationSystem activationSystem = ActivationGroup.getSystem();\n\n ActivationDesc activationDesc = activationSystem.getActivationDesc(id);\n\n ActivationGroupID gid = activationDesc.getGroupID();\n\n activationSystem.unregisterGroup(gid);\n*/\n }\n catch(Exception e) {\n e.printStackTrace();\n }\n }\n };\n\n thread.setDaemon(false);\n thread.start();\n }", "public static void shutdown ()\n\t{\n\t\tif (m_interpreter != null)\n\t\t{\n\t\t\tm_console.dispose ();\n\t\t\tm_interpreter.cleanup ();\n\t\t}\n\t}", "public static void Finalize() {\n isReady = false;\n\n try {\n for (RemoteField f : exported)\n UnicastRemoteObject.unexportObject(f, true);\n if (registry != null)\n UnicastRemoteObject.unexportObject(registry, true);\n } catch (Exception e) {\n e.printStackTrace();\n System.exit(-1);\n }\n }", "void destroy() {\n INSTANCE = null;\n }", "public static void shutdown() {\n\t}", "void unregisterAll();", "public void unregister()\n\t{\n\t\tcancelPrevRegisterTask();\n\n\t\tpushRegistrar.unregisterPW(mContext);\n\t}", "public void shutDown() {\n StunStack.shutDown();\n stunStack = null;\n stunProvider = null;\n requestSender = null;\n\n this.started = false;\n\n }", "@Override\r\n\tpublic void shutdown() {\n\t\tunRigisterMBean();\r\n\t}", "public void Kill(){\n this.dead.getAndSet(true);\n if(this.registry != null){\n try {\n UnicastRemoteObject.unexportObject(this.registry, true);\n } catch(Exception e){\n System.out.println(\"None reference\");\n }\n }\n }", "protected void uninstallComponents() {\n }", "@AfterClass\n\tpublic static void tearDown() throws RemoteException, NotBoundException {\n\t\tSystem.out.println(\n\t\t\t\t\"----------------------------------------Test Recovery Tearing down----------------------------------------\");\n\t\treg.unbind(BINDING_NAME);\n\t\treg = null;\n\t\tSystem.out.println(\n\t\t\t\t\"----------------------------------------Test Recovery Tear down done----------------------------------------\");\n\t}", "public void exitOverlay() {\n\t\tdeRegister(); \n\t}", "public void shutdown()\n {\n // todo\n }", "public synchronized void shutDown() {\n if (this.wakeLock != null) {\n /* Wakelock are ref counted by default. We disable this feature here to ensure that\n * the power lock is released upon shutdown.\n */ \n wakeLock.setReferenceCounted(false);\n wakeLock.release();\n }\n context.unregisterReceiver(broadcastReceiver);\n releaseGlobalContext();\n }", "public synchronized void shutDown() {\n\t state.shutDown();\n\t}", "@Override\n public boolean onUnbind(Intent intent) {\n mPluginManager = null;\n \n stopSelf();\n \n return false;\n }", "public void unRegister(GameObject gameObject) {\r\n\t\tsuper.unRegister((Object)gameObject);\r\n\t}", "public void shutdown() {\n shutdown(false);\n }", "public synchronized void unRegisterAll()\r\n {\r\n clearNameObjectMaps();\r\n }", "public void shutDown();", "protected void uninstallComponents() {\n\t}", "void stop()\n {\n this.service_skeleton.stop(0);\n this.registration_skeleton.stop(0);\n }", "public void shutdown() {\n\t\tInput.cleanUp();\n\t\tVAO.cleanUp();\n\t\tTexture2D.cleanUp();\n\t\tResourceLoader.cleanUp();\n\t}", "public static native void unexport(int pin) throws RuntimeException;", "@Override\n protected void onUnregistered() throws RemoteException {\n\n }", "public void stopModules()\n\t{\n\t\tList<AModule> reversedModules = new ArrayList<>(orderedModules);\n\t\tCollections.reverse(reversedModules);\n\n\t\tinternalStopModules(reversedModules);\n\n\t\tdeinitModules(reversedModules);\n\n\t\tmodulesState.set(ModulesState.RESOLVED);\n\t}", "public void shutdown(){\n\t\tAndroidSensorDataManagerSingleton.cleanup();\n\t}", "public void destroyOsgi();", "public void shutdown() {\n }", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "public void do_shutdown() throws RemoteException {\r\n\t\ttry{\r\n\t\t\t\r\n \r\n\t System.out.println(\"File Server shutdown requested.\");\r\n\t //Removes the binding for the specified name in this registry. \r\n\t registry.unbind(\"remoteObj\");\r\n\t // Removes the remote object from the RMI runtime\r\n if (UnicastRemoteObject.unexportObject(registry, false)) System.out.println(\"Server has been terminated successfully\");\r\n\t\t\tSystem.exit(1);\r\n\r\n\t }\r\n\t catch(Exception e){\r\n\t\t\te.printStackTrace();\r\n\r\n\t }\r\n\r\n\t}", "public void onDestroy() {\n PackageManagerActivity.super.onDestroy();\n LocalBroadcastManager.getInstance(this).unregisterReceiver(this.h);\n }", "void shutDown();", "private void closeModules()\n {\n for (Module m : m_modules)\n {\n // Remove the module from the resolver state.\n getFramework().getResolver().removeModule(m);\n\n // Set fragments to null, which will remove the module from all\n // of its dependent fragment modules.\n try\n {\n ((ModuleImpl) m).attachFragments(null);\n }\n catch (Exception ex)\n {\n getFramework().getLogger().log(\n m.getBundle(), Logger.LOG_ERROR, \"Error detaching fragments.\", ex);\n }\n // Set wires to null, which will remove the module from all\n // of its dependent modules.\n ((ModuleImpl) m).setWires(null);\n\n // Close the module's content.\n ((ModuleImpl) m).close();\n }\n }", "public void shutdown() {\n if (configurations.isRegisterMXBeans()) {\n JmxConfigurator.get().removeMXBean(this);\n }\n configurations.shutdown();\n }", "public void removeModule(IPModule module);", "@Override\n public void onDestroy() {\n EventBusWraper.getInstance().unregister(mContext);\n super.onDestroy();\n // unRegister();\n }", "public void unload() {\n releasePressureToReturn();\n releasePressureToShooter();\n latch(false);\n// reloaded = false;\n }", "public static void shutdown() {\n resetCache();\n listeningForChanges = false;\n }", "public void shutdown() {\n\t\t\n\t}", "public void stopPlugin() {\n try {\n ServicesRegisterManager.removeService(Parameters.JAR_REPOSITORY_MANAGER);\n }\n catch (ServiceClosedException sce) {}\n }", "public void shutdown() {\n _udpServer.stop();\n _registrationTimer.cancel();\n _registrationTimer.purge();\n }", "void internalShutdown() {\n\t\tsynchronized(this.hookedPlugins) {\n\t\t\tIterator<String> it = this.hookedPlugins.keySet().iterator();\n\t\t\twhile (it.hasNext()) {\n\t\t\t\tString id = it.next(); \n\t\t\t\tPluginLogListener listener = this.hookedPlugins.get(id);\n\t\t\t\tlistener.dispose(); \n\t\t\t}\n\t\t\tthis.hookedPlugins.clear(); \n\t\t}\t\n\t\tthis.hierarchy.shutdown();\n\t}", "private static void exit(){\n\t\t\n\t\tMain.run=false;\n\t\t\n\t}", "public void stop() {\n executor.shutdownNow();\n\n Collection<NodeRegistrationContext> allRegistrations = nodeRegistrations.values();\n for (NodeRegistrationContext registration : allRegistrations) {\n sendUnregistrationEvent(registration.resolvedDeployment);\n }\n }", "public void finish() {\n if (Interpreter.getExtension() != null) {\n Interpreter.getExtension().setHierarchy(null);\n }\n }", "protected void uninstall() {\n\t\t//\n\t}", "public void unregisterModule(Enum event, IModule module) {\n eventQueue.unregisterModule(event, module);\n }", "protected void shutdown()\n throws SwiftletException {\n if (config == null)\n return;\n if (traceSpace.enabled) traceSpace.trace(getName(), \"shutdown ...\");\n rlgroups.clear();\n groups.clear();\n users.clear();\n publicRLGroup = null;\n publicGroup = null;\n authenticationOff = true;\n config = null;\n if (traceSpace.enabled) traceSpace.trace(getName(), \"shutdown: done.\");\n }", "public void unregisterState(IState state) {\n moduleCSM.unregisterState(state);\n threadPool.unregisterState(state);\n }", "boolean unregister(String name);", "public void environmentStop(EnvironmentClassLoader loader)\n {\n forceClose();\n }", "public void shutdown() {\n shutdown = true;\n //\n // Cancel our event listener (this will cause the event wait to complete)\n //\n try {\n List<String> eventList = new ArrayList<>();\n Nxt.eventRegister(eventList, eventToken, false, true);\n } catch (IOException exc) {\n Main.log.error(\"Unable to cancel event listener\", exc);\n Main.logException(\"Unable to cancel event listener\", exc);\n }\n }", "public void destroy(){\n Log.i(Constant.TAG, \"destroy...\") ;\n //if sim1 signal listener not null, unregister it\n if (null != mSim1SignalListener) {\n Log.i(Constant.TAG, \"destroy unregister mSim1SignalListener...\") ;\n mTelephonyManager.listen(mSim1SignalListener, PhoneStateListener.LISTEN_NONE);\n mSim1SignalListener = null ;\n }\n\n //if sim1 signal listener not null, unregister it\n if (null != mSim2SignalListener) {\n Log.i(Constant.TAG, \"destroy unregister mSim2SignalListener...\") ;\n mTelephonyManager.listen(mSim2SignalListener, PhoneStateListener.LISTEN_NONE);\n mSim2SignalListener = null ;\n }\n\n // if sim state receiver not null, unregister it\n if (mSimStateReceiver != null && mContext.get() != null){\n Log.i(Constant.TAG, \"destroy unregister mSimStateReceiver...\") ;\n try {\n mContext.get().unregisterReceiver(mSimStateReceiver);\n }catch (Exception e){}\n mSimStateReceiver = null ;\n }\n\n //clear sim state listeners\n if (mSignalStateListeners != null){\n Log.i(Constant.TAG, \"destroy clear mSignalStateListeners...\") ;\n mSignalStateListeners.clear();\n mSignalStateListeners = null ;\n }\n //set instance to null\n Log.i(Constant.TAG, \"destroy set sInstance to null...\") ;\n sInstance = null ;\n }", "public static void exit() {\n\t\t\n\t\t//\tlog out\n\t\tlogout();\n\t\t\n\t\t//\tclean up\n\t\taccountNames.clear();\n\t\taccountsByName.clear();\n\t\tdataProvider = null;\n\t\trememberedUserNames = null;\n\t}", "public void exit() {\n loader.getApplet().stop();\n loader.getApplet().destroy();\n }", "public void destroy() {\r\n Display.destroy();\r\n System.exit(0);\r\n }", "@Override\n\tprotected void onDestroy() {\n\t\tsuper.onDestroy();\n\t\tSystem.exit(0);\n\t}", "public void shutdown() {\n // For now, do nothing\n }", "boolean unload();", "public static void clearRegistry() {\n \t\tLIBRARIES.clear();\n \t}" ]
[ "0.64976", "0.6176508", "0.6146891", "0.60660416", "0.6062907", "0.60122496", "0.6006442", "0.59895074", "0.5931821", "0.5921244", "0.5917259", "0.5914479", "0.5886955", "0.5823562", "0.5815419", "0.58096945", "0.5775123", "0.5774169", "0.57511175", "0.57511175", "0.57511175", "0.57511175", "0.57463163", "0.573832", "0.5708418", "0.5706583", "0.569419", "0.5680019", "0.566777", "0.5658377", "0.5646562", "0.56406057", "0.563831", "0.56278133", "0.5616577", "0.561427", "0.5611093", "0.5600692", "0.5599796", "0.5598929", "0.5598604", "0.55820936", "0.55807906", "0.55799514", "0.5579868", "0.5568629", "0.55580056", "0.5557555", "0.5554771", "0.55503047", "0.5549098", "0.5529768", "0.5521838", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.5518219", "0.55167633", "0.54996645", "0.54940003", "0.54874396", "0.54873353", "0.5454171", "0.54414874", "0.543749", "0.54345787", "0.5430404", "0.5430031", "0.5425104", "0.54127187", "0.5411216", "0.5405812", "0.5402083", "0.5398933", "0.5394525", "0.538966", "0.53869796", "0.53867644", "0.5385662", "0.5384335", "0.5383396", "0.5382122", "0.537233", "0.5369218", "0.53657824", "0.53657204", "0.5365128", "0.53641474" ]
0.0
-1
Returns the version of the module.
public Future<String> version() throws DynamicCallException, ExecutionException { return call("version"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getModuleVersionNumber();", "public static String getVersion() {\n\t\treturn version;\r\n\t}", "public static String getVersion() {\n\t\treturn version;\n\t}", "public static String getVersion() {\n return version;\n }", "public static String getVersion() {\n return version;\n }", "public static String getVersion() {\r\n\t\treturn VERSION;\r\n\t}", "public static String getVersion() {\n\t\treturn \"1.0.3\";\n\t}", "public static final String getVersion() { return version; }", "public static final String getVersion() { return version; }", "public String getVersion()\n {\n return ver;\n }", "public String getVersion () {\r\n return version;\r\n }", "public String getVersion();", "public String getVersion();", "public String getVersion();", "public String getVersion();", "public String getVersion()\n {\n return version;\n }", "public final String getVersion() {\n return version;\n }", "public String getVersion()\n {\n return version;\n }", "public String getVersion()\n {\n return version;\n }", "public java.lang.String getVersion() {\r\n return version;\r\n }", "public String getVersion() {\n return version;\n }", "public String getVersion() {\n return version;\n }", "public String getVersion() {\n return version;\n }", "public String getVersion() {\n return version;\n }", "public String getVersion() {\n return version;\n }", "public String getVersion() {\n return version;\n }", "public String getVersion() {\n return version;\n }", "public String getVersion() {\n return version;\n }", "public String getVersion() {\n return version;\n }", "public String getVersion() {\n return version;\n }", "public String getVersion() {\n return version;\n }", "public String getVersion() {\r\n return version;\r\n }", "public String getVersion() {\n\t\treturn (VERSION);\n\t}", "String getVersion();", "String getVersion();", "String getVersion();", "String getVersion();", "String getVersion();", "String getVersion();", "String getVersion();", "String getVersion();", "String getVersion();", "String getVersion();", "String getVersion();", "public String getVersion() {\n\t\tString version = \"0.0.0\";\n\n\t\tPackageManager packageManager = getPackageManager();\n\t\ttry {\n\t\t\tPackageInfo packageInfo = packageManager.getPackageInfo(\n\t\t\t\t\tgetPackageName(), 0);\n\t\t\tversion = packageInfo.versionName;\n\t\t} catch (NameNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\treturn version;\n\t}", "public String getVersion() {\n\t\tString version = \"0.0.0\";\n\n\t\tPackageManager packageManager = getPackageManager();\n\t\ttry {\n\t\t\tPackageInfo packageInfo = packageManager.getPackageInfo(\n\t\t\t\t\tgetPackageName(), 0);\n\t\t\tversion = packageInfo.versionName;\n\t\t} catch (NameNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\treturn version;\n\t}", "public String getVersion() {\n return version;\n }", "public String getVersion() {\n return version;\n }", "public String getVersion() {\n return version;\n }", "public Version getVersion();", "public String getVersion() {\n\t\treturn version;\n\t}", "java.lang.String getVersion();", "java.lang.String getVersion();", "java.lang.String getVersion();", "java.lang.String getVersion();", "java.lang.String getVersion();", "java.lang.String getVersion();", "java.lang.String getVersion();", "java.lang.String getVersion();", "public Token getModuleVersion()\n {\n // ie: use Module 'x'\n if (!getToken(OperatorToken.class, 3).isNull())\n {\n return Token.NULL;\n }\n\n return getToken(NumberToken.class, 2);\n }", "Version getVersion();", "Version getVersion();", "Version getVersion();", "Version getVersion();", "public String getVersion() {\r\n\t\treturn version;\r\n\t}", "String version();", "public static String getVersion() {\n\t\treturn \"0.9.4-SNAPSHOT\";\n\t}", "public String getVersion(){\r\n return version;\r\n }", "int getCurrentVersion();", "public String getVersion () {\n return this.version;\n }", "@Nullable\n public ModuleVersionIdentifier getModuleVersion() {\n return moduleVersion;\n }", "public int getVersion() {\n return version;\n }", "public int getVersion() {\n return version;\n }", "public int getVersion() {\n return version;\n }", "public int getVersion() {\n return version;\n }", "public int getVersion() {\n return version;\n }", "public String getVersion() {\n return _version;\n }", "public default String getVersion() {\n return Constants.VERSION_1;\n }", "public String getVersionNum();", "public final int getVersion() {\n return version;\n }", "public String getVersion() {\n\t\treturn _version;\n\t}", "public int getLibVersionNumber();", "public String version() {\n return this.version;\n }", "public String version() {\n return this.version;\n }", "public String version() {\n return this.version;\n }", "public String version() {\n return this.version;\n }", "public java.lang.String getVersion() {\n return version_;\n }", "public String getVersionNumber ();", "public static Version<?> getVersion() {\n return BL_VERSION;\n }", "public int getVersion()\n {\n return info.getVersion().intValueExact();\n }", "public String getProductVersion();", "public long getVersion() {\n return version;\n }", "public long getVersion() {\n return version;\n }", "public String getVersionNumber() {\n return versionNumber;\n }", "public String versionNumber (){\r\n\t\t\treturn _versionNumber;\r\n\t\t}", "public String getVersion()\r\n {\r\n return(\"Ver. 1.0\");\r\n }", "public String getVersion() {\n return this.version;\n }", "long getVersion();", "long getVersion();", "long getVersion();", "long getVersion();" ]
[ "0.82819444", "0.7960772", "0.79518926", "0.7929941", "0.7929941", "0.7891793", "0.7844212", "0.78223896", "0.78223896", "0.77541536", "0.77529544", "0.7728575", "0.7728575", "0.7728575", "0.7728575", "0.77003545", "0.76883316", "0.7668583", "0.7668583", "0.7657754", "0.7654875", "0.7654875", "0.7654875", "0.7654875", "0.7654875", "0.7654875", "0.7654875", "0.7654875", "0.7654875", "0.7654875", "0.7654875", "0.76463324", "0.76330143", "0.7625211", "0.7625211", "0.7625211", "0.7625211", "0.7625211", "0.7625211", "0.7625211", "0.7625211", "0.7625211", "0.7625211", "0.7625211", "0.76164293", "0.76164293", "0.76072365", "0.75868636", "0.75868636", "0.7575616", "0.7575478", "0.75746924", "0.75746924", "0.75746924", "0.75746924", "0.75746924", "0.75746924", "0.75746924", "0.75746924", "0.7574087", "0.756278", "0.756278", "0.756278", "0.756278", "0.75419545", "0.7525514", "0.7510588", "0.74958944", "0.7467282", "0.74650747", "0.7453409", "0.74447286", "0.74447286", "0.74447286", "0.74447286", "0.74447286", "0.74446446", "0.7443799", "0.74390286", "0.74318445", "0.74280286", "0.7424971", "0.7403511", "0.7403511", "0.7403511", "0.7403511", "0.74008477", "0.739843", "0.7337953", "0.73047227", "0.73009896", "0.73001057", "0.73001057", "0.72968066", "0.72697407", "0.7246273", "0.7240767", "0.72343135", "0.72343135", "0.72343135", "0.72343135" ]
0.0
-1
Just a ping. Always returns true
public Future<Boolean> ping() throws DynamicCallException, ExecutionException { return call("ping"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean ping();", "public Boolean ping() throws CallError, InterruptedException {\n return (Boolean)service.call(\"ping\").get();\n }", "public boolean ping() throws RemoteException;", "public static void ping() {}", "public static void ping() {}", "public Boolean ping() throws DynamicCallException, ExecutionException {\n return (Boolean)call(\"ping\").get();\n }", "@Override\n public String ping() {\n return super.ping();\n }", "public boolean isPing()\n {\n return _isPing;\n }", "public boolean Ping() throws RemoteException;", "boolean ping(String asker);", "public boolean isOnline() {\n Runtime runtime = Runtime.getRuntime();\n try {\n Process ipProcess = runtime.exec(\"/system/bin/ping -c 1 8.8.8.8\");\n int exitValue = ipProcess.waitFor();\n return (exitValue == 0);\n } catch (IOException e) {\n e.printStackTrace();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n return false;\n }", "@Override\n\tpublic String ping() {\n\t\treturn null;\n\t}", "private static boolean isServerReachable() {\n\t\treturn new PingRpcExample().pingServer();\n\t}", "public boolean testConnection() {\r\n boolean toReturn = true;\r\n\r\n String[] paramFields = {};\r\n SocketMessage request = new SocketMessage(\"admin\", \"ping\", SocketMessage.PriorityType.EMERGENCY, SocketMessage.TransferType.BI_WAY, \"\", paramFields);\r\n SocketMessage response = handleMessage(request);\r\n if (isSuccessful(response)) {\r\n toReturn = true;\r\n } else {\r\n toReturn = false;\r\n }\r\n\r\n return toReturn;\r\n }", "public void ping() throws RemoteException{\n return;\n }", "public void\n ping() {\n }", "public boolean pingServer() {\n WifiMouseApplication.KnownServer selected = WifiMouseApplication.getSelectedServer();\n if(this.server.name != selected.name || this.server.bluetooth != selected.bluetooth)\n return false;\n\n sendStringOverNetwork(\"PING\", true);\n //Log.d(\"Waiting for ping...\", \"count: \"+(++count) +\", sessionIv: \"+sessionIV);\n String response = readStringFromNetwork(true);\n //Log.d(\"PingResponse\", \" \"+response);\n\n return response.equals(\"PING\");\n }", "@DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2014-03-25 14:24:54.397 -0400\", hash_original_method = \"FC9A66B03EDC591DD9B38410E60AAA0B\", hash_generated_method = \"575EBCA96DF418DE2A7F2DFD0BCD9A9A\")\n \n public static boolean pingCommand(){\n \tdouble taintDouble = 0;\n \n \treturn ((taintDouble) == 1);\n }", "public Boolean isOnlineNet() {\n\n try {\n Process p = java.lang.Runtime.getRuntime().exec(\"ping -c 1 www.google.es\");\n\n int val = p.waitFor();\n boolean reachable = (val == 0);\n return reachable;\n\n } catch (Exception e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n return false;\n }", "public void ping() throws IOException {\r\n\t\t//Pings the server\r\n\t\tthis.send(\"!ping\");\r\n\t\t//Updates the time since the ping\r\n\t\ttimeSincePing = System.currentTimeMillis();\r\n\t\t//System.out.println(\"Ping!\");\r\n\t}", "protected void ping() {\n\t\tpingCount ++;\n\t\tif(pingCount > 5) {\n\t\t\tlog.debug(\"pingCount is exceed, so close this connection.\");\n\t\t\tclose();\n\t\t\treturn;\n\t\t}\n\t\tsendData(\"<ping />\");\n\t}", "@Override\n\tpublic void ping() {\n\t\t//respond to ping with pong\n\t\tlastPing = System.currentTimeMillis();\n\t\tthis.writeNow(\"type:pong;\");\n\t}", "public void ping() {\n JsonNode rootNode = get(\"ping\");\n\n // TODO verify that the response was \"Pong!\"\n JsonNode dataNode = rootNode.get(\"data\");\n String pong = dataNode.asText();\n }", "public static boolean pingIp(String ipAddress) throws IOException, InterruptedException{\n\t String cmd = \"ping \" + ipAddress;\n\t Runtime runTime = Runtime.getRuntime();\n\t Process process = runTime.exec(cmd);\n\t process.waitFor();\n\t return process.exitValue()==0;\n\t }", "public boolean isHostReachable(String sIPAddress) {\n try {\n\n Process p1 = java.lang.Runtime.getRuntime().exec(\"ping \" + sIPAddress);\n int iRetVal = p1.waitFor();\n if (iRetVal == 0) {\n return true;\n } else {\n return false;\n }\n\n //InetAddress inet = InetAddress.getByName(sIPAddress);\n //return (inet.isReachable(5000) ? true : false);\n } catch (Exception e) {\n return false;\n }\n }", "public boolean getPingOnReuse()\n {\n return _isPing;\n }", "public boolean lockForPing() {\r\n\t\treturn beingPinged.compareAndSet(false, true);\r\n\t}", "public boolean mo15755a(long j, TimeUnit timeUnit) {\n if (f1363a) {\n C1202a.m1318b(\"PingTask\", \"ping google return cache\");\n return true;\n }\n C1202a.m1318b(\"PingTask\", \"start ping goole\");\n this.f1364b = new CountDownLatch(1);\n new AsyncTaskC1228a().execute(new Context[0]);\n try {\n if (!this.f1364b.await(j, timeUnit)) {\n C1202a.m1318b(\"PingTask\", \"await time out\");\n return false;\n }\n C1202a.m1318b(\"PingTask\", \"await:isReachable:\" + f1363a);\n return f1363a;\n } catch (InterruptedException unused) {\n C1202a.m1320d(\"PingTask\", \"await:InterruptedException:\");\n return false;\n }\n }", "public boolean hasActiveInternetConnection()\n {\n Runtime runtime = Runtime.getRuntime();\n try {\n Process ipProcess = runtime.exec(\"/system/bin/ping -c 1 8.8.8.8\");\n int exitValue = ipProcess.waitFor();\n return (exitValue == 0);\n } catch (IOException e) {\n e.printStackTrace();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n return false;\n }", "public String getPing() {\r\n return ping;\r\n }", "public void ping() {\n\t\tHeader.Builder hb = Header.newBuilder();\n\t\thb.setNodeId(999);\n\t\thb.setTime(System.currentTimeMillis());\n\t\thb.setDestination(-1);\n\n\t\tCommandMessage.Builder rb = CommandMessage.newBuilder();\n\t\trb.setHeader(hb);\n\t\trb.setPing(true);\n\n\t\ttry {\n\t\t\t// direct no queue\n\t\t\t// CommConnection.getInstance().write(rb.build());\n\n\t\t\t// using queue\n\t\t\tCommConnection.getInstance().enqueue(rb.build());\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public boolean getPingOnIdle()\n {\n return _isPing;\n }", "private static boolean pingURL(String url, int timeout) {\n try {\n HttpURLConnection connection = (HttpURLConnection) new URL(url).openConnection();\n connection.setConnectTimeout(timeout);\n connection.setReadTimeout(timeout);\n connection.setRequestMethod(\"HEAD\");\n int responseCode = connection.getResponseCode();\n return (200 <= responseCode && responseCode <= 399);\n } catch (IOException exception) {\n return false;\n }\n }", "protected boolean isValidPing(final String path) {\n return \"/ping\".equals(path);\n }", "public static boolean ping(String... varargs) {\n\t\t// setting the default value when argument's value is omitted\n\t\tString sessionID = varargs.length > 0 ? varargs[0] : null;\n\t\tsessionID = sessionId(sessionID);\n\t\tString url = apiUrl(sessionID, false) + \"Ping?sessionID=\" + PMA.pmaQ(sessionID);\n\t\ttry {\n\t\t\tURL urlResource = new URL(url);\n\t\t\tHttpURLConnection con;\n\t\t\tif (url.startsWith(\"https\")) {\n\t\t\t\tcon = (HttpsURLConnection) urlResource.openConnection();\n\t\t\t} else {\n\t\t\t\tcon = (HttpURLConnection) urlResource.openConnection();\n\t\t\t}\n\t\t\tcon.setRequestMethod(\"GET\");\n\t\t\tcon.setRequestProperty(\"Accept\", \"application/json\");\n\t\t\tString jsonString = PMA.getJSONAsStringBuffer(con).toString();\n\t\t\treturn jsonString.equals(\"true\") ? true : false;\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\tif (PMA.logger != null) {\n\t\t\t\tStringWriter sw = new StringWriter();\n\t\t\t\te.printStackTrace(new PrintWriter(sw));\n\t\t\t\tPMA.logger.severe(sw.toString());\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}", "@GET\n @Path(\"/ping\")\n\tpublic Response ping() {\n\t\tlog.debug(\"Ping check ok\");\n return Response.status(Response.Status.OK).entity(1).build();\n \n\t}", "public boolean isAlive();", "boolean isAlive();", "boolean isAlive();", "public boolean isNetworkReachable();", "private Callable<Boolean> isReachable() {\n return () -> {\n try {\n if (!isOnline()) {\n return false;\n }\n\n URL url = new URL(\"https://api.vk.com\"); //url for ex.\n HttpURLConnection httpURLConnection = (HttpURLConnection) url.openConnection();\n httpURLConnection.setConnectTimeout(2000);\n httpURLConnection.connect();\n\n return true;\n } catch (Exception e) {\n return false;\n }\n };\n }", "public void ping(boolean lastPing) {\n\n\t\tSystem.out.println(\"Host is sending a ping...\");\n\t\t\n\t\ttry {\n\t\t\tDatagramSocket pingSocket = new DatagramSocket(Constants.Network.HOST_UDP_PORT);\n\n\t\t\tfor(ClientConnection cc : clients.values()) {\n\n\t\t\t\tInetAddress address = cc.addr;\n\t\t\t\tint port = cc.udpPort; \n\n\t\t\t\tSystem.out.println(\"Sending ping to \" + address.toString() + \":\" + port);\n\n\t\t\t\tlong currentTime = System.currentTimeMillis();\n\n\t\t\t\tbyte[] buf = new byte[9];\n\n\t\t\t\t//byte[] buf = Utils.longToBytes(currentTime);\n\n\t\t\t\tboolean successfulReceipt = false;\n\n\t\t\t\twhile(! successfulReceipt ) {\n\n\t\t\t\t\t// If this is the last ping, we set the last byte to be our LAST_PING flag, and \n\t\t\t\t\t// tell the client how much they should buffer before playing.\n\t\t\t\t\tif(lastPing) {\n\t\t\t\t\t\tbuf[8] = Constants.Network.STOP_WAITING_FOR_PINGS;\n\n\t\t\t\t\t\tlong bufferingAmount = calculateInitialBufferTimeForClient(cc, bufferTime);\n\n\t\t\t\t\t\tUtils.inPlaceLongToBytes(bufferingAmount, buf);\n\n\t\t\t\t\t\tSystem.out.println(\"Telling client to set initial buffering time to \" + bufferingAmount);\n\t\t\t\t\t}\n\n\t\t\t\t\ttry {\n\t\t\t\t\t\tDatagramPacket packet = new DatagramPacket(buf, buf.length, address, port);\n\t\t\t\t\t\tpingSocket.send(packet);\n\n\n\t\t\t\t\t\tpingSocket.setSoTimeout((int) (cc.averageLatencyInMillis() + 1000));\n\t\t\t\t\t\tDatagramPacket receipt = new DatagramPacket(buf, buf.length);\n\t\t\t\t\t\tpingSocket.receive(receipt);\n\t\t\t\t\t\tsuccessfulReceipt = true;\n\t\t\t\t\t} catch (SocketTimeoutException e) {\n\t\t\t\t\t\tSystem.out.println(\"Did not receive a response in \" + (cc.averageLatencyInMillis() + 1000) + \" ms, trying again...\");\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t\tlong timeDifference = (System.currentTimeMillis() - currentTime) / 2;\n\n\t\t\t\tSystem.out.println(\"Host reported a time difference of \" + timeDifference + \" milliseconds from \" + cc.addr);\n\n\t\t\t\tcc.addLatencyNumber((System.currentTimeMillis() - currentTime) / 2);\n\t\t\t}\n\n\t\t\tpingSocket.close();\n\n\t\t} catch(SocketException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tif(lastPing)\n\t\t\tSystem.out.println(\"Host done sending pings.\");\n\n\t}", "public void ping(){\r\n\t\t uSensor.ping();\r\n\t }", "public void setPing(boolean ping)\n {\n _isPing = ping;\n }", "private void doPing()\r\n {\r\n requestQueue.add( new ChargerHTTPConn( weakContext,\r\n CHARGE_NODE_JSON_DATA, \r\n PING_URL,\r\n SN_HOST,\r\n null, \r\n cookieData,\r\n false,\r\n token,\r\n secret ) );\r\n }", "protected boolean pingFromMaster(String who) throws Throwable {\n Log.INFO(\"Attempting to ping \" + who + \" from the master node\");\n if (runSystemCommand(\n SSH_ROOT + adminVIP +\" \\\"\"+ PING + \" \" + who + \"\\\"\" ))\n {\n Log.INFO(who + \" is pingable\");\n return true;\n } else {\n Log.ERROR(who + \" is not pingable\");\n return false;\n }\n }", "boolean getAlive();", "private void startPinging() {\n Bukkit.getScheduler().runTaskTimerAsynchronously(plugin, new Runnable() {\n @Override\n public void run() {\n HashSet<Connection> connectionsSet = new HashSet<>(connections); //Create new hashset of connections\n for (Connection connection : connectionsSet) { //Loop thru connections\n boolean stillInConnections = false;\n synchronized (connections) { //Check if connection still in the array\n if (connections.contains(connection)) {\n stillInConnections = true;\n }\n }\n if (stillInConnections) { //If still in array\n try { //Try to ping\n connection.isValid(5);\n } catch (SQLException e) { //If not valid anymore\n synchronized (connections) { //Remove from array\n connections.remove(connection);\n }\n closeConnection(connection); //Close the connection\n }\n }\n }\n }\n }, 17000, 17000);\n }", "private boolean isWifiConnected() throws InterruptedException {\n int counter = 10;\n while (--counter > 0) {\n try {\n String mPingSite = String.format(\"http://%s\", DEFAULT_PING_SITE);\n URL url = new URL(mPingSite);\n HttpURLConnection conn = (HttpURLConnection) url.openConnection();\n conn.setRequestMethod(\"GET\");\n conn.setConnectTimeout(mABvtHelper.LONG_TIMEOUT * 12);\n conn.setReadTimeout(mABvtHelper.LONG_TIMEOUT * 12);\n if (conn.getResponseCode() == HttpURLConnection.HTTP_OK) {\n return true;\n }\n Thread.sleep(mABvtHelper.SHORT_TIMEOUT);\n } catch (IOException ex) {\n // Wifi being flaky in the lab, test retries 10 times to connect to google.com\n // as IOException is throws connection isn't made and response stream is null\n // so for retrying purpose, exception hasn't been rethrown\n Log.i(mABvtHelper.TEST_TAG, ex.getMessage());\n }\n }\n return false;\n }", "boolean isAlive() throws RemoteException;", "public TestPing(boolean request) {\n\t\tthis.request = request;\n\t\tp = new Ping(request);\n\t}", "public long getPing()\n\t{\n\t\t\n\t\treturn clientPing;\n\t\t\n\t}", "public final boolean isAlive() { return true; }", "public static boolean isConnectedToInternet() {\n String pingServerURL = pingBackUrl.substring(0, pingBackUrl.indexOf(\"/\", \"http://url\".length()));\n try {\n URL url = new URL(pingServerURL);\n HttpURLConnection urlConn = (HttpURLConnection) url.openConnection();\n urlConn.connect();\n return (HttpURLConnection.HTTP_NOT_FOUND != urlConn.getResponseCode());\n } catch (MalformedURLException e) {\n LOG.error(\"LeadCapture : Error creating HTTP connection to the server : \" + pingServerURL);\n \n } catch (IOException e) {\n LOG.error(\"LeadCapture : Error creating HTTP connection to the server : \" + pingServerURL);\n }\n return false;\n }", "boolean getIsAlive();", "public String determinePing(String ip) {\r\n if(ip.isEmpty()) {\r\n System.out.println(\"PING NOT AVAILABLE\");\r\n ping = \"Not Available\";\r\n return ping;\r\n }\r\n \r\n String command = \"ping \" + ip;\r\n\r\n try{\r\n Process proc = Runtime.getRuntime().exec(command);\r\n BufferedReader input = new BufferedReader(new InputStreamReader(proc.getInputStream()));\r\n String line;\r\n while((line = input.readLine()) != null) {\r\n if(line.length() > 0 && line.contains(\"time=\")) {\r\n System.out.println(line);\r\n input.close();\r\n String timeString = line.substring(line.indexOf(\"time\"));\r\n String time = timeString.substring(timeString.indexOf(\"=\") + 1, timeString.indexOf(\"ms\") + 2);\r\n ping = time;\r\n return ping;\r\n }\r\n }\r\n }\r\n catch(Exception e){\r\n System.out.println(e);\r\n }\r\n\r\n return \"SERVERS ON FIRE\";\r\n }", "@Test\n\tpublic void checkStatus() {\n\t\tclient.execute(\"1095C-16-111111\");\n\t}", "public boolean isAlive() throws RemoteException;", "boolean stillAlive();", "boolean isAlive() { return alive; }", "protected boolean isAlive()\n {\n return alive;\n }", "protected boolean isAlive()\n {\n return alive;\n }", "public Thread asyncPing() {\n Gson gson = new Gson();\n PingMessage pingMessage = new PingMessage(\"ping\");\n return new Thread(() -> {\n try {\n while (!socket.isClosed() && !Command.checkError()) {\n Command.sendMessage(gson.toJson(new MessageEnvelope(MessageType.PING, gson.toJson(pingMessage, PingMessage.class)), MessageEnvelope.class));\n Thread.sleep(500);\n }\n } catch (InterruptedException e) {\n view.showError(\"Error ping thread interrupted\");\n }\n });\n }", "public static ServerStatus ping(String address) {\n MCPingOptions options = getPingOptions(address);\n Instant timestamp = Instant.now();\n MCPingResponse ping = null;\n\n try {\n ping = MCPing.getPing(options);\n } catch (IOException e) {\n //TODO differentiate between different types of exceptions, i.e. UnknownHostException,\n log.error(\"Error while pinging Minecraft server\", e);\n }\n\n return new ServerStatus(address, ping, ping != null, timestamp);\n }", "private native String simplePing(int sessionId, String name, String pingStr);", "public boolean isAlive() { return alive; }", "protected void pingReceived(){\r\n\t\tpings++;\r\n\t\troundTrip = System.currentTimeMillis() - pingSent;\r\n\t\tlastPing = System.currentTimeMillis();\r\n\t\tlog.trace(\"\\\"\" + getName() + \"\\\" responded to ping after \" + roundTrip + \"ms\");\r\n\t}", "boolean hasSock();", "boolean hasHost();", "boolean hasHost();", "public boolean isAlive() {\n return health > 0;\n }", "boolean getHealthy();", "public void run() {\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tSystem.out.println(\"before job: \" + PingServersEndpoint.status.get( usertoken ) );\r\n\t\tint count = 0;\r\n\t\t\r\n\t\t// grab the ip range\r\n\t\tlong startIp = PingThreadJob.ipToLong( ip_start );\r\n\t\tlong endIp = PingThreadJob.ipToLong( ip_end );\r\n\t\tlong currentIp = startIp;\r\n\t\t\r\n\t\t\r\n\t\twhile( PingServersEndpoint.status.get( usertoken ) && (currentIp <= endIp) ) {\r\n\t\t\tcount++;\r\n\t\t\r\n\t\t\t\r\n\t\t\t// find the range we want to \r\n\t\t\t\r\n\t\t\tSystem.out.println(\"Loop count : \" + count );\r\n\t\t\tSystem.out.println(\"Found check : \" + PingServersEndpoint.status.get( usertoken ));\r\n\t\t\t\r\n\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tString currentIp_string = PingThreadJob.longToIp( currentIp );\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\tPingJob job = new PingJob();\r\n\r\n\t\t\tLong ping = job.ping( currentIp_string, port );\r\n\t\t\t\r\n\t\t\ttry {\r\n\t\t\t\t\r\n\t\t\t\tJSONObject resultPayload = new JSONObject();\r\n\t\t\t\t\r\n\t\t\t\tresultPayload.put(\"pingstatus\", \"good\" );\r\n\t\t\t\tresultPayload.put( \"ip\", currentIp_string );\r\n\t\t\t\tresultPayload.put( \"ip_num\", currentIp );\r\n\t\t\t\tresultPayload.put(\"port\", \"port\" );\r\n\t\t\t\t\r\n\t\t\t\tif( ping != null ) {\r\n\t\t\t\t\tresultPayload.put(\"accepting\", true );\r\n\t\t\t\t\tresultPayload.put( \"ping\", ping );\r\n\t\t\t\t} else {\r\n\t\t\t\t\t\r\n\t\t\t\t\tresultPayload.put(\"accepting\", false );\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tsession.getBasicRemote().sendText( resultPayload.toString() );\r\n\t\t\t} catch (IOException e1) {\r\n\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\te1.printStackTrace();\r\n\t\t\t}\r\n\t\t\t\r\n//\t\t\ttry {\r\n//\t\t\t\tThread.sleep(2000);\r\n//\t\t\t} catch (InterruptedException 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\t\r\n\t\t\tcurrentIp++;\r\n\t\t}\r\n\t\t\r\n\t\tSystem.out.println(\"Final count : \" + count );\r\n\t}", "public int pingHost(String host, int timeout) throws IOException,\n InterruptedException {\n Runtime runtime = Runtime.getRuntime();\n timeout /= 1000;\n String cmd = \"ping -c 5 -W \" + timeout + \" \" + host;\n Process proc = runtime.exec(cmd);\n LibreLogger.d(this,\"Ping Result : \" + cmd);\n BufferedReader reader = new BufferedReader(\n new InputStreamReader(proc.getInputStream()));\n int read;\n char[] buffer = new char[4096];\n StringBuffer output = new StringBuffer();\n while ((read = reader.read(buffer)) > 0) {\n output.append(buffer, 0, read);\n }\n reader.close();\n LibreLogger.d(this,\"Ping result\" + output.toString()+ \"For URL\" + host);\n proc.waitFor();\n int exit = proc.exitValue();\n return exit;\n }", "public boolean isAlive() {\r\n\t\treturn hp > 0;\r\n\t}", "public boolean spam() {\n\t\tsynchronized (this) {\n\t\t\tif (!canUse() || !start())\n\t\t\t\treturn false;\n\t\t\tfinal TimedCondition tc = new TimedCondition(1000) {\n\t\t\t\t@Override\n\t\t\t\tpublic boolean isDone() {\n\t\t\t\t\treturn !canUse() || BarNode.this.isDone();\n\t\t\t\t}\n\t\t\t};\n\t\t\tdo {\n\t\t\t\tsend();\n\t\t\t\tTask.sleep(300, 400);\n\t\t\t} while (tc.isRunning());\n\t\t\treturn tc.isDone();\n\t\t}\n\t}", "public boolean isAlive(){\n \treturn alive;\r\n }", "public void ping(long timeout) {\n //prepearing test message\n \n writeRoutingLabel(sltm, 0,0,link.sls,dpc,opc);\n sltm[0] = (byte) 0xC1; // 1100 0001\n sltm[5] = 0x11;\n sltm[6] = (byte) (SLTM_PATTERN.length << 4);\n System.arraycopy(SLTM_PATTERN, 0, sltm, 7, SLTM_PATTERN.length);\n \n //sending test message\n link.queue(sltm);\n \n //incremeting number of tries.\n tryCount++;\n \n //scheduling timeout\n testFuture = mtpTimer.schedule(this, timeout, TimeUnit.SECONDS);\n if (logger.isDebugEnabled()) {\n \tlogger.debug(String.format(\"(%s) Test request, try number = %d\", link.name, tryCount));\n }\n }", "public boolean isAlive() {\n return this.getHealthPower().hasSomeHealth();\n }", "public boolean isAlive() {\n\t\treturn aliveStatus;\n\t}", "@RequestMapping(value = \"/ping\", produces = \"text/plain\")\n public String ping() {\n return \"OK\";\n }", "private void startPingTimer() {\n\n Timer timer = new Timer();\n TimerTask task = new TimerTask() {\n @Override\n public void run() {\n\n if (pong) {\n send(\"<ping/>\");\n pong = false;\n } else {\n System.out.println(\"[CLIENT] No pong received. Client will now be disconnected.\");\n clientController.onMissingPong();\n closeConnection();\n timer.cancel();\n }\n\n }\n };\n timer.scheduleAtFixedRate(task, 0, 20000);\n\n }", "public boolean isAlive(){\n \t\treturn alive;\n \t}", "@Override\n public boolean isReachable(DeviceId deviceId) {\n return true;\n }", "@Override\n public boolean isReachable(DeviceId deviceId) {\n return true;\n }", "boolean hasKeepAlive();", "public long getPingInterval()\n {\n return _pingInterval;\n }", "boolean isNetworkAvailable();", "public boolean IsReachable(Context context) {\n final ConnectivityManager connMgr = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);\n final NetworkInfo netInfo = connMgr.getActiveNetworkInfo();\n boolean isReachable = false;\n\n if (netInfo != null && netInfo.isConnected()) {\n // Some sort of connection is open, check if server is reachable\n try {\n URL url = new URL(\"http://\"+ipAddress);\n HttpURLConnection urlc = (HttpURLConnection) url.openConnection();\n urlc.setRequestProperty(\"User-Agent\", \"Android Application\");\n urlc.setRequestProperty(\"Connection\", \"close\");\n urlc.setConnectTimeout(10 * 2000);\n urlc.connect();\n isReachable = (urlc.getResponseCode() == 200);\n } catch (IOException e) {\n //Log.e(TAG, e.getMessage());\n }\n }\n\n return isReachable;\n }", "public boolean hasLanded ();", "public boolean isAlive()\n {\n return alive;\n }", "boolean isAvailable( long millis );", "public boolean connectionAlive() throws RemoteException;", "@Override\n public boolean isOnline() {\n if(mSocket != null && mSocket.isConnected())\n return true;\n return false;\n }", "public void testGetUptime() {\n assertTrue(mb.getUptime() > -1);\n }", "@Override\n public boolean isAlive() {\n return health > 0f;\n }", "public ModelApiResponse ping() throws AuthenticationApiException {\n try {\n return authenticationApi.ping();\n } catch (ApiException e) {\n throw new AuthenticationApiException(\"Error during keep alive ping\", e);\n }\n }", "public boolean isAlive()\n\t{\n\t\treturn alive;\n\t}", "public boolean isAlive()\n\t{\n\t\treturn alive;\n\t}", "public boolean isAlive () {\n return (daemon != null) && daemon.isAlive();\n }" ]
[ "0.8845639", "0.8238059", "0.8006794", "0.7943067", "0.7943067", "0.7808465", "0.77712655", "0.76494807", "0.75014174", "0.73969096", "0.73273414", "0.7260651", "0.7229501", "0.72251105", "0.7189689", "0.712402", "0.71221423", "0.70281667", "0.6972512", "0.6860707", "0.6847645", "0.6803127", "0.6791424", "0.6777477", "0.6757234", "0.67073125", "0.66672593", "0.6662449", "0.6660252", "0.6658881", "0.6610037", "0.6596713", "0.65765387", "0.65702766", "0.6535291", "0.6523493", "0.6509475", "0.6500117", "0.6500117", "0.6492535", "0.6486508", "0.64753324", "0.64731133", "0.63703823", "0.62994164", "0.62668836", "0.62499124", "0.6240861", "0.62293726", "0.62173784", "0.62149286", "0.6183571", "0.6179833", "0.6169272", "0.61563355", "0.6122054", "0.6096462", "0.6085551", "0.60470384", "0.60284597", "0.60173553", "0.60173553", "0.5965487", "0.5961183", "0.5955853", "0.5950997", "0.5923019", "0.59213", "0.5906927", "0.5906927", "0.59027064", "0.589687", "0.5882173", "0.5881446", "0.58759576", "0.58462125", "0.584539", "0.5841383", "0.5840688", "0.5814996", "0.5808189", "0.58052355", "0.58042026", "0.5794923", "0.5794923", "0.578477", "0.5779335", "0.5778255", "0.57682973", "0.5766193", "0.57648003", "0.57645524", "0.5754876", "0.5742641", "0.5739679", "0.57389766", "0.5720902", "0.57203746", "0.57203746", "0.571703" ]
0.77283895
7
Retrieves the module's method list.
public Future<List<String>> getMethodList() throws DynamicCallException, ExecutionException { return call("getMethodList"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<String> getMethodList() throws CallError, InterruptedException {\n return (List<String>)service.call(\"getMethodList\").get();\n }", "public List<IMethod> getMethods();", "public List<IMethod> getMethods();", "public List<MethodInfo> getMethods() { \n return lstMethodInfo;\n }", "List<Method> getAllMethods();", "public List<ServiceMethod> getMethodList()\n {\n return Collections.unmodifiableList(methods);\n }", "public List<String> getMethodList() throws DynamicCallException, ExecutionException {\n return (List<String>)call(\"getMethodList\").get();\n }", "public List<Method> getMethod_list() {\n\t\treturn arrayMethods;\n\t}", "@XRMethod(value = \"system.listMethods\", help = \"List all method names available\")\r\n\tList<String> listMethods();", "java.util.List<org.mojolang.mojo.lang.FuncDecl> \n getMethodsList();", "public String[] getMethods() {\n\t\treturn methods;\n\t}", "public ArrayList<Method> getMethods() {\n\t\treturn arrayMethods;\n\t}", "public Enumeration getMethods()\n {\n ensureLoaded();\n return m_tblMethod.elements();\n }", "ISourceMethod[] getMethods();", "public static MethodClass getMethods (){\n\t\treturn methods;\n\t}", "List<MethodNode> getMethods() {\n return this.classNode.methods;\n }", "public abstract String[] getMethodNames();", "public MethodDescriptor[] getMethodDescriptors() {\n return getMdescriptor();\n }", "public List<Method> getMethods(File f, EolModule module) {\n\t\tList<Method> methods = new ArrayList<>();\r\n\t\tEglPreprocessorModule pm = ((EglModule)module).getPreprocessorModule();\r\n\t\tfor (Operation op : pm.getDeclaredOperations()) {\r\n\t\t\t//EolType contextClass = op.getContextType(module.getContext());\r\n\t\t\tTypeExpression contextClass = op.getContextTypeExpression();\r\n\t\t\tMethod m;\r\n\t\t\tif (contextClass!=null)\r\n\t\t\t\tm = new Method(contextClass.getName(), op.getName(), f);\r\n\t\t\telse\r\n\t\t\t\tm = new Method(null, op.getName(), f);\r\n\t\t\tmethods.add(m);\r\n\t\t}\r\n\t\treturn methods;\r\n\t}", "public MethodDeclaration[] getMethods() {\n return m_classBuilder.getMethods();\n }", "java.util.List<? extends org.mojolang.mojo.lang.FuncDeclOrBuilder> \n getMethodsOrBuilderList();", "public List<WjrMethodItem> getMethodItems() {\r\n return new ArrayList<WjrMethodItem>(methodItems.values());\r\n }", "public List getMethodLines() {\n return methodLines;\n }", "@Override\n public MethodDescriptor[] getMethodDescriptors() {\n return getMdescriptor();\n }", "@Override\r\n\tpublic List<Method> getMethods(File f) {\n\t\tEolModule module = new EolModule();\r\n\t\treturn this.getMethods(f, module);\r\n\t}", "public List<ResourceMethod> getResourceMethods() {\n return resourceMethods;\n }", "@Override\n\tpublic String[] getMethods() {\n\t\treturn null;\n\t}", "@Override\r\n\tpublic String[] getMethodNames() {\n\t\treturn this.methodNames;\r\n\t\t//未实现\r\n\t}", "public static List<Map<String, Object>> getMethods(Map<String, Object> model) {\n @SuppressWarnings(\"unchecked\")\n List<Map<String, Object>> methods = (List<Map<String, Object>>) getRoot(model).get(ModelConstant.METHODS);\n return methods;\n }", "public abstract GobalPostLoader.MethodList getPostLoaderMethodList();", "@SuppressWarnings(\"rawtypes\")\n\tpublic ArrayList getMethodStructures(){\n\t\treturn methodStructures;\n\t}", "public TreeMap<String,CheckOutMethod>\n getMethods()\n {\n TreeMap<String,CheckOutMethod> methods = new TreeMap<String,CheckOutMethod>();\n for(String name : pVersionFields.keySet()) {\n JCollectionField field = pMethodFields.get(name);\n methods.put(name, CheckOutMethod.values()[field.getSelectedIndex()]);\n }\n return methods;\n }", "public List<Module> getModules(){\r\n return modules;\r\n }", "public\tList<JsClass.Method>\tgetAddedMethods() {\n\t\t\n\t\treturn\tCollections.unmodifiableList(this.addedMethods);\n\t}", "public List<MethodInfo> getMethod(String methodName) {\n List<MethodInfo> matchedMethodInfo = new ArrayList<MethodInfo>();\n for (MethodInfo method : this.lstMethodInfo) {\n if (methodName.equals(method.getName())) {\n matchedMethodInfo.add(method);\n }\n }\n \n return matchedMethodInfo;\n }", "public Set<AbstractProgramData<?>> getMethods()\n {\n return this.methods;\n }", "public List<MethodDeclaration> getMethodDeclarations() {\n return methodDeclarations;\n }", "public\tList<ChangedJsMethod>\tgetChangedMethods() {\n\t\t\n\t\treturn\tCollections.unmodifiableList(this.changedMethods);\n\t}", "String getMethod();", "String getMethod();", "public String getMethod ()\n {\n return method;\n }", "public abstract Set<MethodUsage> getDeclaredMethods();", "public java.util.List getColumnNamesMethods() {\n\t\treturn Arrays.asList(columnNamesMethodsTable);\n\t}", "public List<PaymentEntity> getPaymentMethods() {\n return entityManager.createNamedQuery(\"getAllPaymentMethods\", PaymentEntity.class).getResultList();\n\n }", "public static List<Method> getMethods( Class<?> klass )\r\n {\r\n return Arrays.asList( org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods( klass ) );\r\n }", "List<ICMakeModule> getModules();", "protected List<Object> getModules() {\n return new ArrayList<>();\n }", "public Enumeration getMethodNames()\n {\n final EnumerationUnion eu = new EnumerationUnion();\n if( methods != null )\n {\n eu.add( methods.keys() );\n }\n if( ancestors != null )\n {\n final int size = ancestors.size();\n for( int i = 0; i < size; i++ )\n {\n final ScriptingClass clazz = (ScriptingClass)\n ancestors.elementAt( i );\n eu.add( clazz.getMethodNames() );\n }\n }\n try\n {\n final ScriptingClass object = getClassLoader().load( \"object\" );\n eu.add( object.getMethodNames() );\n }\n catch( ScriptingClassNotFoundException e )\n {\n }\n return eu;\n }", "@Override\n public ServiceResponse listMethods(final ServiceRequest request) throws SOAPException {\n return this.soapClient.listMethods(request, this.getTargetUrl());\n }", "public String getMethod() {\n return method;\n }", "public String getMethod() {\n return method;\n }", "public String getMethod() {\n return method;\n }", "public Method getMethod();", "@Override\n public String getMethod() {\n return METHOD_NAME;\n }", "public Method getMethod() {\n return mMethod;\n }", "public java.beans.MethodDescriptor[] getMethodDescriptors() {\n\ttry {\n\t\tjava.beans.MethodDescriptor aDescriptorList[] = {\n\t\t\tclearMethodDescriptor()\n\t\t\t,main_javalangString__MethodDescriptor()\n\t\t\t,toggleVisibilityMethodDescriptor()\n\t\t};\n\t\treturn aDescriptorList;\n\t} catch (Throwable exception) {\n\t\thandleException(exception);\n\t};\n\treturn null;\n}", "public Method getMethod() {\n return method;\n }", "public Method getMethod() {\n return method;\n }", "public Method getMethod () {\n\t\treturn method;\n\t}", "public\tList<JsClass.Method>\tgetRemovedMethods() {\n\t\t\n\t\treturn\tCollections.unmodifiableList(this.removedMethods);\n\t}", "synchronized List<Module> getModules()\n {\n return m_modules;\n }", "public static Method[] getPublicMethods(Class<?> paramClass) {\n/* 107 */ if (System.getSecurityManager() == null) {\n/* 108 */ return paramClass.getMethods();\n/* */ }\n/* 110 */ HashMap<Object, Object> hashMap = new HashMap<>();\n/* 111 */ while (paramClass != null) {\n/* 112 */ boolean bool = getInternalPublicMethods(paramClass, (Map)hashMap);\n/* 113 */ if (bool) {\n/* */ break;\n/* */ }\n/* 116 */ getInterfaceMethods(paramClass, (Map)hashMap);\n/* 117 */ paramClass = paramClass.getSuperclass();\n/* */ } \n/* 119 */ return (Method[])hashMap.values().toArray((Object[])new Method[hashMap.size()]);\n/* */ }", "public AuthMethod[] getAuthMethods() {\n\t\treturn authMethods.clone();\n\t}", "public String getMethod() {\n\n return this.method;\n }", "public String getMethod() {\n\t\treturn method;\n\t}", "@Override public Iterable<JflowModel.Method> getStartMethods()\n{\n Vector<JflowModel.Method> v = new Vector<JflowModel.Method>();\n\n for (JflowMethod cm : model_master.getStartMethods()) {\n ModelMethod cs = complete_calls.get(cm);\n if (cs != null) v.add(cs);\n }\n\n return v;\n}", "public HashMap<String, LabTest> getMethods() {\n HashMap<String, LabTest> methods = new HashMap<>();\n if (isApiAvailable(\"getMethods\")) {\n makeConnection(\"getMethods\");\n BufferedReader in = null;\n try {\n in = new BufferedReader(new InputStreamReader(con.getInputStream()));\n } catch (IOException e) {\n e.printStackTrace();\n }\n String inputLine = null;\n StringBuilder content = new StringBuilder();\n while (true) {\n try {\n assert in != null;\n if ((inputLine = in.readLine()) == null) break;\n } catch (IOException e) {\n e.printStackTrace();\n }\n content.append(inputLine);\n }\n try {\n in.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n String jsonstring = content.toString();\n jsonArray = new JSONArray(jsonstring);\n for (int i = 0; i < jsonArray.length(); i++) {\n Gson gson = new GsonBuilder().setPrettyPrinting().create();\n JsonObject jsonObject = gson.fromJson(String.valueOf(jsonArray.get(i)), JsonObject.class);\n LabTest method = makeMethod(jsonObject);\n methods.put(method.getNameOfMethod(), method);\n }\n con.disconnect();\n }\n return methods;\n }", "protected Method getMethod() {\n return method;\n }", "public List<WjrMethodItem> getMethodItems(String className) {\r\n checkNotNull(className, \"The className parameter is null.\");\r\n checkState(\r\n classItems.containsKey(className),\r\n \"The %s is not found.\",\r\n className);\r\n\r\n List<WjrMethodItem> items = new ArrayList<WjrMethodItem>();\r\n\r\n SortedMap<String, WjrMethodItem> tailMap = methodItems.tailMap(className);\r\n for (WjrMethodItem item : tailMap.values()) {\r\n if (item.getClassName().equals(className)) {\r\n items.add(item);\r\n } else {\r\n break;\r\n }\r\n }\r\n return items;\r\n }", "@GetMapping(\"/methods\")\n @Timed\n public List<MethodsDTO> getAllMethods() {\n log.debug(\"REST request to get all Methods\");\n return methodsService.findAll();\n }", "public List<ResourceMethod> getSubResourceMethods() {\n return subResourceMethods;\n }", "public String getMethod() {\n\t\t\treturn method;\n\t\t}", "public Method getMethod() {\n\t\treturn method;\n\t}", "public Set<Method> getMethods() {\r\n \t\t// We will only consider private methods in the declared class\r\n \t\tif (forceAccess)\r\n \t\t\treturn setUnion(source.getDeclaredMethods(), source.getMethods());\r\n \t\telse\r\n \t\t\treturn setUnion(source.getMethods());\r\n \t}", "java.util.List<java.lang.String>\n getCommandList();", "Method getMethod();", "Method getMethod();", "public List<ResolvedMethodDeclaration> getAllMethods() {\n List<ResolvedMethodDeclaration> allMethods = new LinkedList<>(this.getTypeDeclaration().getDeclaredMethods());\n getDirectAncestors().forEach(a -> allMethods.addAll(a.getAllMethods()));\n return allMethods;\n }", "public ArrayList<String> getNullMethods() {\n\t\treturn methods;\n\t}", "public int getMethod(){\n return method;\n }", "org.mojolang.mojo.lang.FuncDecl getMethods(int index);", "public List<BrainTreePaymentInfo> getPaymentMethods(final SessionContext ctx)\n\t{\n\t\tList<BrainTreePaymentInfo> coll = (List<BrainTreePaymentInfo>)getProperty( ctx, PAYMENTMETHODS);\n\t\treturn coll != null ? coll : Collections.EMPTY_LIST;\n\t}", "public String getMethod() {\n\t\treturn getParameter(\"method\");\n\t}", "public java.lang.reflect.Method getMethod()\n {\n return __m_Method;\n }", "public Method method() {\n return method;\n }", "public String[] getMethods(String url) throws RemoteException{\n\t\ttry{\n\t\t//reading wsdl here...\n String wsdlFile = url+\"?wsdl\";\n \n WSDLParser parser = new WSDLParser(wsdlFile);\n\t\treturn parser.getAllMethodNames();\n\t\t}catch(Exception e){\n\t\t\tSystem.err.println(e.getMessage());\t\n\t\t}\n\n\t\treturn null;\n\t}", "public List<BrainTreePaymentInfo> getPaymentMethods()\n\t{\n\t\treturn getPaymentMethods( getSession().getSessionContext() );\n\t}", "public List<String> getModulesList() {\n\t\treturn modulesList;\n\t}", "public List<AModule> getModules()\n\t{\n\t\treturn new ArrayList<>(modules.values());\n\t}", "public List<String> getAllModules() {\n\t\treturn allModules;\n\t}", "@Converted(kind = Converted.Kind.AUTO,\n source = \"${LLVM_SRC}/llvm/include/llvm/IR/Module.h\", line = 497,\n FQN=\"llvm::Module::getFunctionList\", NM=\"_ZN4llvm6Module15getFunctionListEv\",\n cmd=\"jclank.sh -java-options=${SPUTNIK}/modules/org.llvm.ir/llvmToClangType ${LLVM_SRC}/llvm/lib/IR/AsmWriter.cpp -nm=_ZN4llvm6Module15getFunctionListEv\")\n //</editor-fold>\n public SymbolTableList<Function, Module> /*&*/ getFunctionList() {\n return FunctionList;\n }", "public static java.util.List getOperationDescByName(java.lang.String methodName) {\r\n return (java.util.List)_myOperations.get(methodName);\r\n }", "MethodName getMethod();", "public List<Module> getAllModules() {\n List<Module> moduleList = new ArrayList<>();\n\n db = dbHelper.getReadableDatabase();\n\n Cursor cursor = db.query(Constants.MODULE_TABLE_NAME, null, null, null, null, null, null);\n\n while (cursor.moveToNext()) {\n int id = cursor.getInt(cursor.getColumnIndex(Constants.MODULE_ID));\n\n String type = cursor.getString(cursor.getColumnIndex(Constants.MODULE_TYPE));\n String name = cursor.getString(cursor.getColumnIndex(Constants.MODULE_NAME));\n String label = cursor.getString(cursor.getColumnIndex(Constants.MODULE_LABEL));\n String command = cursor.getString(cursor.getColumnIndex(Constants.MODULE_COMMAND));\n\n Module module = new Module(type, name, label, command);\n module.setId(id);\n\n moduleList.add(module);\n }\n\n cursor.close();\n\n return moduleList;\n }", "public String enumerateMethods(){\n Class c = EvaluatingStudent.class; // replace this with your choice, e.g. CreatingStudent.class\n Method[] methods = c.getMethods();\n String result = \"\";\n for(int i = 0; i < methods.length; i++) {\n result += methods[i].toString() + '\\n';\n }\n return result;\n }", "public List<String> list() throws SecurityException {\n if (collectorsToList == null) {\n throw new IllegalArgumentException(\"Could not call Collectors.toList()\");\n }\n final Object /* Stream<String> */ resourcesStream = reflectionUtils\n .invokeMethod(/* throwException = */ true, moduleReader, \"list\");\n if (resourcesStream == null) {\n throw new IllegalArgumentException(\"Could not call moduleReader.list()\");\n }\n final Object resourcesList = reflectionUtils.invokeMethod(/* throwException = */ true, resourcesStream,\n \"collect\", collectorClass, collectorsToList);\n if (resourcesList == null) {\n throw new IllegalArgumentException(\"Could not call moduleReader.list().collect(Collectors.toList())\");\n }\n @SuppressWarnings(\"unchecked\")\n final List<String> resourcesListTyped = (List<String>) resourcesList;\n return resourcesListTyped;\n }", "public Set<String> moduleList() {\n return moduleList;\n }", "List<String> getModuleNames() {\n return moduleNames;\n }", "public List<CoinbasePaymentMethod> getCoinbasePaymentMethods() throws IOException {\n\n String path = \"/v2/payment-methods\";\n String apiKey = exchange.getExchangeSpecification().getApiKey();\n BigDecimal timestamp = coinbase.getTime(Coinbase.CB_VERSION_VALUE).getData().getEpoch();\n String signature = getSignature(timestamp, path);\n showCurl(apiKey, timestamp, signature, path);\n\n return coinbase.getPaymentMethods(Coinbase.CB_VERSION_VALUE, apiKey, signature, timestamp).getData();\n }", "private Map<String, MethodNode> getMethods(ClassNode cls) {\n Map<String, MethodNode> methods = new HashMap<String, MethodNode>();\n\n Map<String, Node> allAttrs = cls.getMembers();\n Iterator allAttrs_it = allAttrs.entrySet().iterator();\n while(allAttrs_it.hasNext()) {\n Map.Entry attr_entry = (Map.Entry)allAttrs_it.next();\n if(attr_entry.getValue() instanceof MethodNode) {\n String methodName = (String)attr_entry.getKey();\n MethodNode method = (MethodNode)attr_entry.getValue();\n methods.put(methodName, method);\n }\n }\n return methods;\n }" ]
[ "0.7829236", "0.77760047", "0.77760047", "0.7696493", "0.7664593", "0.75727516", "0.75726587", "0.7502536", "0.7370253", "0.71531516", "0.71114945", "0.70975673", "0.70716906", "0.698054", "0.6850498", "0.6762948", "0.66372603", "0.66364896", "0.6591739", "0.65519613", "0.6529276", "0.64923984", "0.6449521", "0.6449482", "0.6436705", "0.6400226", "0.6392374", "0.6384716", "0.6337255", "0.630226", "0.62634844", "0.6255106", "0.62509316", "0.6206228", "0.6176908", "0.61688125", "0.6160103", "0.61542004", "0.61337864", "0.61337864", "0.6107625", "0.6101651", "0.60837114", "0.6069302", "0.6027824", "0.60132164", "0.5998", "0.59821415", "0.5952046", "0.5950743", "0.5950743", "0.5950743", "0.5950214", "0.5948648", "0.5947426", "0.5922437", "0.5922427", "0.5922427", "0.5920227", "0.5908155", "0.5900927", "0.5890331", "0.58740205", "0.58409125", "0.5836086", "0.5829528", "0.58163214", "0.58145124", "0.5806181", "0.58049774", "0.5799645", "0.5778742", "0.57768095", "0.57734734", "0.57539994", "0.5751175", "0.5751175", "0.5740632", "0.57358694", "0.5733681", "0.5722672", "0.5711882", "0.5697263", "0.5697051", "0.56881183", "0.5676531", "0.56748897", "0.5668319", "0.56618834", "0.5658737", "0.5644098", "0.5636978", "0.56365466", "0.5618921", "0.5603211", "0.55946845", "0.5580967", "0.5580031", "0.55703866", "0.55608135" ]
0.76303226
5
Retrieves a method's description.
public Future<Object> getMethodHelp(String methodName) throws DynamicCallException, ExecutionException { return call("getMethodHelp", methodName); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getDesc();", "public static String getDescription(Descriptor descriptor, Annotation... annotatedMethod)\n {\n String description = getDescription(annotatedMethod);\n if (description != null) {\n return description;\n }\n\n // If that didn't work, look for one in the descriptor object\n Object descriptionValue = descriptor.getFieldValue(\"description\");\n if (descriptionValue instanceof String) {\n return (String) descriptionValue;\n }\n return null;\n }", "java.lang.String getDesc();", "String getDescribe();", "String getDescribe();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "public String getDescription();", "java.lang.String getDescribe();", "java.lang.String getDescription();", "java.lang.String getDescription();", "java.lang.String getDescription();", "java.lang.String getDescription();", "java.lang.String getDescription();", "java.lang.String getDescription();", "java.lang.String getDescription();", "java.lang.String getDescription();", "java.lang.String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "String getDescription();", "public String getDescription ();", "public String description();", "public abstract String getDescription ( );", "String description();", "String description();", "String description();", "String description();", "String description();", "String description();", "String description();", "String description();", "String description();", "String description();", "String description();", "String description();", "public String getDescription(){\n return getString(KEY_DESCRIPTION);\n }", "public String getDescription(){\r\n \tString retVal = this.description;\r\n return retVal;\r\n }", "String getDescripcion();", "String getDescripcion();", "public static String getDesc(Method m)\n\t{\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(m.getName());\n\t\tsb.append('(');\n\t\t\n\t\tClass<?>[] types = m.getParameterTypes();\n\t\tfor (Class<?> type : types) \n\t\t{\n\t\t\tsb.append(getDesc(type));\n\t\t}\n\t\tsb.append(')');\n\t\tsb.append(getDesc(m.getReturnType()));\n\t\t\n\t\treturn sb.toString();\n\t}", "public String getDescription () {\n return impl.getDescription ();\n }", "public static String getDesc(CtMethod m) throws NotFoundException\n\t{\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(m.getName());\n\t\tsb.append('(');\n\t\t\n\t\tCtClass[] types = m.getParameterTypes();\n\t\tfor (CtClass type : types)\n\t\t{\n\t\t\tsb.append(getDesc(type));\n\t\t}\n\t\tsb.append(')');\n\t\tsb.append(getDesc(m.getReturnType()));\n\t\t\n\t\treturn sb.toString();\n\t}", "public String getDescription() {\n return (desc);\n }", "public abstract String getDescription();" ]
[ "0.7386968", "0.73719776", "0.73255134", "0.7262818", "0.7262818", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7177307", "0.7155666", "0.7155666", "0.7155666", "0.7155666", "0.7155666", "0.7155666", "0.7155666", "0.7155666", "0.7155666", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.715379", "0.71416444", "0.7121477", "0.71068007", "0.70941633", "0.70941633", "0.70941633", "0.70941633", "0.70941633", "0.70941633", "0.70941633", "0.70941633", "0.70941633", "0.70941633", "0.70941633", "0.70941633", "0.7051999", "0.7047873", "0.7031021", "0.7031021", "0.6979284", "0.6970367", "0.69626117", "0.6943305", "0.6896505" ]
0.0
-1
Retrieves the module's description.
public Future<Object> getModuleHelp() throws DynamicCallException, ExecutionException { return call("getModuleHelp"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getModuleDescription();", "public String getDescription() {\n return m_module.getConfiguration().getDescription();\n }", "public ModuleDescriptionEntry getModuleDescriptionEntry();", "public String getDescription(){\n return getString(KEY_DESCRIPTION);\n }", "public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}", "public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}", "public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}", "public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}", "public String getDescription () {\n return description;\n }", "public java.lang.String getDescription () {\n\t\treturn description;\n\t}", "public java.lang.String getDescription () {\n\t\treturn description;\n\t}", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\r\n return description;\r\n }", "public java.lang.String getDescription() {\r\n return description;\r\n }", "public java.lang.String getDescription() {\r\n return description;\r\n }", "public String getDescription()\n\t{\n\t\treturn description;\n\t}", "public String getDescription()\r\n\t{\r\n\t\treturn description;\r\n\t}", "public String getDescription()\r\n {\r\n return description;\r\n }", "public java.lang.String getDescription() {\n return description;\n }", "public String getDescription() {\n return (desc);\n }", "public String getDescription() {\n return desc;\n }", "public final String getDescription() {\n return description;\n }", "public String getDescription() {\n return getString(KEY_DESCRIPTION);\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription() {\n return desc;\n }", "public String getDescription() {\n return description; \n }", "public String getDescription()\n {\n return description;\n }", "public String getDescription()\r\n {\r\n\treturn desc;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "public String getDescription() {\r\n return description;\r\n }", "@NonNull\n public String getDescription() {\n return description;\n }", "@NonNull\n public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }", "public String getDescription() {\n return description;\n }" ]
[ "0.8615408", "0.81573033", "0.8122164", "0.7813136", "0.7709191", "0.7709191", "0.7709191", "0.7709191", "0.7685923", "0.76810414", "0.76810414", "0.7655621", "0.76443434", "0.76443434", "0.76443434", "0.76443434", "0.76443434", "0.76443434", "0.76443434", "0.76443434", "0.76443434", "0.7626382", "0.7626382", "0.7626382", "0.7622286", "0.7622211", "0.7618029", "0.7608894", "0.76074696", "0.76068044", "0.76033473", "0.7595381", "0.7595253", "0.7595253", "0.7595253", "0.7595253", "0.7595253", "0.7595253", "0.7595253", "0.7595253", "0.7595253", "0.7595253", "0.7595253", "0.7595253", "0.7594255", "0.75834686", "0.7583436", "0.75726527", "0.7565059", "0.7565059", "0.7565059", "0.7565059", "0.7565059", "0.7565059", "0.7565059", "0.7565059", "0.7565059", "0.7565059", "0.7562151", "0.7562151", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099", "0.7562099" ]
0.0
-1
Wait for the end of a long running method that was called using 'post'
public Future<Boolean> wait(Integer id, Integer timeoutPeriod) throws DynamicCallException, ExecutionException { return call("wait", id, timeoutPeriod); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Status waitUntilFinished();", "protected abstract void afterWait();", "public abstract void onWait();", "protected abstract long waitOnQueue();", "public void waitToFinish()\n {\n while(!this.finished)\n {\n try\n {\n Thread.sleep(1);\n }\n catch (InterruptedException e)\n {\n e.printStackTrace();\n return;\n }\n }\n }", "protected abstract long waitToTravel();", "public void finish() {\n latch.countDown();\n }", "@Override\n public boolean waitToProceed() {\n return false;\n }", "protected void waitUntilCommandFinished() {\n }", "public synchronized void postRequestAndWait (final Runnable r) {\n postRequest (r, true);\n }", "private void customWait() throws InterruptedException {\n while (!finished) {\n Thread.sleep(1);\n }\n finished = false;\n }", "public Reply done() throws ThingsException, InterruptedException;", "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}", "public void handleFinish()\n {\n }", "public synchronized void postRequestAndWait (Runnable r, int time) {\n postRequest (r, time, new RequestWaiter () {\n public void run (Thread t) {\n requestorThread.interrupt ();\n requestorThread.stop ();\n //S ystem.out.println (\"Kill \" + requestorThread.getName ()); // NOI18N\n }\n });\n }", "public void waitForData() {\n waitForData(1);\n }", "public synchronized void waitForDone() {\n\twhile (!done) myWait();\n }", "void requestFinish();", "@Override\n public void run() {\n\n new Thread() {\n\n @Override\n public void run() {\n HttpGet requestForTest = new HttpGet(\"http://m.google.com\");\n try {\n new DefaultHttpClient().execute(requestForTest); // can last...\n responded = true;\n } catch (Exception e) {}\n }\n\n }.start();\n\n try {\n int waited = 0;\n while(!responded && (waited < timeout)) {\n sleep(100);\n if(!responded ) { \n waited += 100;\n }\n }\n } \n catch(InterruptedException e) {} // do nothing \n finally { \n if (!responded) { handler.sendEmptyMessage(0); } \n else { handler.sendEmptyMessage(1); }\n }\n\n }", "protected abstract int doAwaitExit() throws InterruptedException;", "public boolean postExecute() throws Exception{\n if (!commitResponsePhase.getAndSet(true)){\n processorTask.postResponse();\n processorTask.postProcess();\n processorTask.terminateProcess();\n\n // De-reference so under stress we don't have a simili leak.\n processorTask = null;\n return false;\n }\n return false;\n }", "public void waitFinish() throws InterruptedException {\r\n\t\t\ttThread.join();\r\n\t\t}", "public void delayTestFinish() {\r\n\t\ttry {\r\n\t\t\tlatch.await();\r\n\t\t} catch (InterruptedException e) {\r\n\t\t\tthrow new RuntimeException(e);\t// don't expose InterruptedException to users\r\n\t\t} finally {\r\n\t\t\tlatch.reset();\r\n\t\t}\r\n\t}", "@Test\n public void testTakeWillWaitTillSubmitCompletes() {\n final BoundedCompletionService<String> ecs = new BoundedCompletionService<String>(\n new ExecutorCompletionService<String>(e));\n final int delaySecs = 1;\n try {\n Assert.assertNull(ecs.poll());\n Thread t = new Thread() {\n @Override\n public void run() {\n ecs.submit(new StringDelayableCallable(\"String delayab\", delaySecs));\n }\n };\n t.start();\n long t1 = System.nanoTime();\n Future<String> f = ecs.take();\n Assert.assertNotNull(f);\n Assert.assertTrue(f.isDone());\n long t2 = System.nanoTime();\n System.out.println(t2 - t1);\n Assert.assertTrue(t2 > t1 + delaySecs * 100000000L); // Need to check that take will wait till submit completes\n } catch (Exception ex) {\n unexpectedException();\n }\n }", "public void waitForFinish() {\n for(Future future : futures){\n try {\n future.get();\n } catch (InterruptedException | ExecutionException e) {\n LOGGER.error(\"ERROR\",e);\n }\n }\n }", "@Override\n public void onTimeout(TimeValue timeout) {\n run();\n }", "void await(long timeout, TimeUnit unit) throws InterruptedException;", "public void waitForCompletion() throws Exception {\n latch.await();\n if (exception != null) {\n throw new RuntimeException(\"Query submission failed\", exception);\n }\n }", "protected void onThreadFinish() {\n\t\t// notify test finish\n\t\tparent.finishLock.countDown();\n\n\t\t// print finish summary message\n\t\tprintThreadFinishMessage();\n\t}", "public void waitForPostProcessingThread(){\n\t\tsynchronized(PPT_Lock) {\n\t\t\twhile(PPT.isWorking()){\n\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\tPPT_Lock.wait();\n\t\t\t\t\t\n\t\t\t\t} catch (InterruptedException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "@Override\n\t\t\tpublic void doTimeOutWork() {\n\t\t\t\tthis.exit();\n\t\t\t}", "@Override\n\t\t\tpublic void doTimeOutWork() {\n\t\t\t\tthis.exit();\n\t\t\t}", "protected boolean isFinished() {\n \t// wait for a time out\n return false;\n }", "public void finish() {\n if (!isFinishing) {\n performFnishWithRequest(true);\n }\n }", "public synchronized void postRequest (final Runnable r) {\n postRequest (r, false);\n }", "private void onComplete(int duration) {\n\t\t\n\t\tservice = Executors.newSingleThreadExecutor();\n\n\t\ttry {\n\t\t Runnable r = new Runnable() {\n\t\t @Override\n\t\t public void run() {\n\t\t // Database task\n\t\t \tcontrollerVars.setPlays(false);\n\t\t }\n\t\t };\n\t\t Future<?> f = service.submit(r);\n\n\t\t f.get(duration, TimeUnit.MILLISECONDS); // attempt the task for two minutes\n\t\t}\n\t\tcatch (final InterruptedException e) {\n\t\t // The thread was interrupted during sleep, wait or join\n\t\t}\n\t\tcatch (final TimeoutException e) {\n\t\t // Took too long!\n\t\t}\n\t\tcatch (final ExecutionException e) {\n\t\t // An exception from within the Runnable task\n\t\t}\n\t\tfinally {\n\t\t service.shutdown();\n\t\t}\t\t\n\t}", "private void await() {\n try {\n Thread.sleep(10 * 1000L);\n } catch (InterruptedException e) {\n // ignore\n }\n }", "public abstract T await();", "@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\t\n\t\t\t while ( !bFinished ) {\n\t\t\t \ttry {\n\t\t\t\t\t\t\tThread.sleep(200);\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 }\n\t\t\t System.exit(0);\n\t\t\t\t}", "@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 }", "protected void onQueued() {}", "public void waitToFinish()\n/* */ {\n/* 473 */ synchronized (this) {\n/* 474 */ while (getIterationsToGo() > 0) {\n/* */ try {\n/* 476 */ wait();\n/* */ }\n/* */ catch (InterruptedException e) {\n/* 479 */ e.printStackTrace();\n/* */ }\n/* */ }\n/* */ }\n/* */ }", "public void finishTest() {\r\n\t\tlatch.countDown();\r\n\t}", "@Override\n public void onComplete(long dt) {\n }", "public void afterDone() {\n }", "public void afterDone() {\n }", "private void _wait() {\n\t\tfor (int i = 1000; i > 0; i--)\n\t\t\t;\n\t}", "void await(long timeout, TimeUnit timeUnit) throws InterruptedException;", "public void finish() {}", "void completeJob();", "protected void finishExecution() {\r\n\r\n\t}", "void post(java.lang.Runnable command);", "boolean awaitMessages(long timeout) throws InterruptedException;", "public void postPerform() {\n // nothing to do by default\n }", "void synchronizationDone();", "public void waitCommandEnd()\n {\n System.out.println(\"Wait cmd\");\n //Set a flag in order to informe that we wait a end command\n ContextManager.getCMDHandler().setWaiting(true);\n //Wait the command end\n ContextManager.getCMDHandler().waitEndCmd();\n //Remove the flag\n ContextManager.getCMDHandler().setWaiting(false);\n System.out.println(\"End Wait cmd\");\n }", "protected abstract void postPause();", "public abstract void await() throws InterruptedException;", "public synchronized void execute() {\n\t\tthis.timeoutFuture = SCHEDULER.schedule(this::processTimeout, 5, TimeUnit.SECONDS);\n\t\tthis.statuses.put(this.localNode.getInfo(), NodeStatus.Unasked);\n\t\tcheckFinishAndProcess();\n\t}", "public synchronized void postRequest (Runnable r, int time) {\n postRequest (r, time, new RequestWaiter () {\n public void run (Thread t) {\n requestorThread.interrupt ();\n requestorThread.stop ();\n //S ystem.out.println (\"Kill \" + requestorThread.getName ()); // NOI18N\n }\n });\n }", "void whenComplete();", "public void callTheWaiter();", "public void postData()\n\t{\n\t\tnew NetworkingTask().execute(message);\n\t}", "void await( long millis ) throws UnavailableException;", "public void finishRequest ()\r\n\t{\r\n\t\tthis.simTime = this.sim.getTimer();\r\n\t\t//Debug/System.out.println(Fmt.time(this.simTime)\r\n\t\t//Debug/\t+ \": <finishRequest> \" + this.request);\r\n\r\n\t\t//\tRemove request from the queue.\r\n\t\tthis.removeRequest();\r\n\t\t//\tGet the next request from the queue.\r\n\t\tthis.nextRequest();\r\n\t\t//\tIf there is one, process it.\r\n\t\t//\tIf not, then the next request scheduled will begin immediately.\r\n\t\tif (this.request != null) this.procRequest();\r\n\t}", "public void awaitDone() {\n try {\n // Wait until the CountDownLatch reaches 0.\n mExitBarrier.await();\n } catch(java.lang.InterruptedException e) {\n errorLog(\"PlatformStrategyAndroid\",\n e.getMessage());\n }\n }", "protected void synchronizationDone() {\n }", "public void pauseTilDone() throws InterruptedException { \n\t\t\tthis.me_.join(); \n\t\t}", "public abstract boolean await(long timeout, TimeUnit unit)\n\t\t\tthrows InterruptedException;", "@Override\r\n\tprotected boolean isFinished() {\n\t\treturn isTimedOut();\r\n\t}", "void await(long timeout, TimeUnit timeUnit)\n throws InterruptedException;", "public void waitCompletion()\n {\n\n if (isThreadEnabled())\n {\n try\n {\n executionThread.join();\n }\n catch (InterruptedException ex)\n {\n throw new RuntimeException(ex);\n }\n }\n }", "@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\tlong nowTime = System.currentTimeMillis();\n\t\t\t\t\t//Logger.debug(\"测试主动回答线程================================系统时间\" + nowTime);\n\t\t\t\t\tif (nowTime - mIStartTime <= timeNum + 1000 && nowTime - mIStartTime >= timeNum) {\n\t\t\t\t\t\tmICount++;\n\t\t\t\t\t\tcall.OnEnd();\n\t\t\t\t\t\tsetStartTime(nowTime);\n\t\t\t\t\t\tthis.cancel();\n\t\t\t\t\t}\n\t\t\t\t}", "public boolean postThread(IThread thread) throws IllegalWriteException, BBException;", "boolean getFinished();", "synchronized public void requestDone(Request request, boolean isSuccessful)\n {\n runningRequest = null;\n runNextRequest();\n }", "protected void end() {\n isFinished();\n }", "public void handleTimeout();", "public final void waitFor() {\r\n for (;;) {\r\n synchronized (this) {\r\n if (this.m_b)\r\n return;\r\n try {\r\n this.wait();\r\n } catch (Throwable tt) {\r\n tt.printStackTrace();\r\n }\r\n }\r\n }\r\n }", "protected void execute() {\n finished = true;\n }", "protected void onExit() {\r\n\t\tnew DelayAsyncTask(this, 500).execute();\r\n\t}", "public void finished() {\n Object obj = get();\n if (obj instanceof Exception)\n mCallback.run(null, (Exception)obj, mRock);\n else\n mCallback.run(obj, null, mRock);\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 }", "public boolean block() {\n while( !isDone() ) join();\n return true;\n }", "@Override\n protected Boolean doInBackground(Void... params) {\n\n try {\n // Simulate network access.\n Thread.sleep(2000);\n } catch (InterruptedException e) {\n return false;\n }\n\n return post(user);\n\n }", "private void handleNow() {\n Log.d(TAG, \"Short lived task is done.\");\n }", "private void handleNow() {\n Log.d(TAG, \"Short lived task is done.\");\n }", "private void awaitDone() throws IgniteInterruptedCheckedException {\n U.await(doneLatch);\n }", "public boolean isDone() { return true; }", "public void finishTask() {\n\t\t\n\t}", "void sendFinishMessage();", "void awaitNanos(final long timeout) throws InterruptedException;", "private void awaitT(){\n try {\n game.getBarrier().await(20, TimeUnit.SECONDS);\n } catch (InterruptedException e) {\n e.printStackTrace();\n } catch (BrokenBarrierException e) {\n e.printStackTrace();\n } catch (TimeoutException e) {\n trimBarrier();\n synchronized (lock){\n if(!botSignal){\n bot = new BotClient();\n new Thread(bot).start();\n botSignal = true;\n }\n\n }\n }\n }", "protected boolean isFinished() {\r\n return isTimedOut();\r\n }", "protected int getWait() \t\t\t\t{\treturn wait;\t\t}", "public void waitForNotificationOrFail() {\n new PollingCheck(5000) {\n @Override\n protected boolean check() {\n return mContentChanged;\n }\n }.run();\n mHT.quit();\n }", "void await()\n throws InterruptedException;", "public synchronized void postRequest (final Runnable r, boolean wait) {\n if (releaseOn) return;\n //if (requestorThread != null) S ystem.out.println (\"Waiting \" + r); // NOI18N\n synchronized (LOCK) {\n if (requestorThread != null)\n try {\n LOCK.wait ();\n if (releaseOn) return;\n } catch (InterruptedException e) {\n }\n (requestorThread = new Thread (\"Request \" + r + \" thread\") { // NOI18N\n public void run () {\n synchronized (LOCK) {\n //S ystem.out.println (\"Start \" + r); // NOI18N\n lastStart = System.currentTimeMillis ();\n try {\n r.run ();\n } catch (Throwable e) {\n //e.printStackTrace ();\n }\n //t = System.currentTimeMillis () - lastStart;\n requestorThread = null;\n //S ystem.out.println (\"End \" + r + \" time: \" + t); // NOI18N\n LOCK.notify ();\n }\n }\n }).start ();\n try {\n if (wait) LOCK.wait ();\n } catch (InterruptedException e) {\n }\n } // synchronized LOCK end\n }", "public abstract void finished();", "void await() throws InterruptedException;", "void await() throws InterruptedException;" ]
[ "0.65248805", "0.64061993", "0.6326983", "0.62300014", "0.6189211", "0.5951082", "0.592581", "0.5861554", "0.5832385", "0.5824845", "0.58009654", "0.5734476", "0.5674324", "0.56701475", "0.56633306", "0.5651908", "0.56235963", "0.5617723", "0.5597994", "0.55860174", "0.5577588", "0.5569841", "0.5538681", "0.5520896", "0.5508668", "0.54941237", "0.548508", "0.54801416", "0.5473399", "0.5467151", "0.5459674", "0.5459674", "0.5454036", "0.5433755", "0.5431008", "0.54257685", "0.54205996", "0.54134136", "0.54112655", "0.5409229", "0.53901964", "0.53895676", "0.53780705", "0.5376433", "0.5375739", "0.5375739", "0.5372509", "0.53693944", "0.535795", "0.53546554", "0.5348639", "0.5347935", "0.53459764", "0.5341879", "0.53339756", "0.53280807", "0.53271514", "0.5326148", "0.5319955", "0.53164923", "0.5308049", "0.5304764", "0.5301007", "0.5299941", "0.52909404", "0.5286158", "0.52828383", "0.52787375", "0.5275403", "0.527475", "0.52660143", "0.52627325", "0.52587646", "0.52478355", "0.5247548", "0.5245449", "0.52438176", "0.5222115", "0.522194", "0.5221531", "0.52214295", "0.52193385", "0.5210237", "0.5210037", "0.52092093", "0.5199068", "0.5199068", "0.51980597", "0.5197219", "0.5194023", "0.5171979", "0.5167809", "0.51617837", "0.5154841", "0.5154288", "0.5145836", "0.5145559", "0.51417935", "0.5141305", "0.5138548", "0.5138548" ]
0.0
-1
Wait for the end of a long running method that was called using 'post', returns a cancelable future
public Future<Void> wait(Integer id) throws DynamicCallException, ExecutionException{ return call("wait", id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Status waitUntilFinished();", "public abstract T await();", "CompletableFuture<?> submit(Runnable request);", "Future<T> then(Runnable result);", "public synchronized void postRequestAndWait (final Runnable r) {\n postRequest (r, true);\n }", "public abstract void onWait();", "CompletableFuture<PostResponse> createNewPost(Post post);", "public void awaitTermination() throws InterruptedException, ExecutionException {\n executor.awaitTermination(1, TimeUnit.SECONDS);\n if (future != null) {\n future.get();\n }\n }", "protected abstract long waitOnQueue();", "@Test\n public void testTakeWillWaitTillSubmitCompletes() {\n final BoundedCompletionService<String> ecs = new BoundedCompletionService<String>(\n new ExecutorCompletionService<String>(e));\n final int delaySecs = 1;\n try {\n Assert.assertNull(ecs.poll());\n Thread t = new Thread() {\n @Override\n public void run() {\n ecs.submit(new StringDelayableCallable(\"String delayab\", delaySecs));\n }\n };\n t.start();\n long t1 = System.nanoTime();\n Future<String> f = ecs.take();\n Assert.assertNotNull(f);\n Assert.assertTrue(f.isDone());\n long t2 = System.nanoTime();\n System.out.println(t2 - t1);\n Assert.assertTrue(t2 > t1 + delaySecs * 100000000L); // Need to check that take will wait till submit completes\n } catch (Exception ex) {\n unexpectedException();\n }\n }", "Future_<V> submit(Callable_<V> task);", "void await(long timeout, TimeUnit unit) throws InterruptedException;", "protected abstract void afterWait();", "<T> T endProcess(AsyncResult<T> asyncResult) throws ExecutionException, InterruptedException;", "public int waitFor() throws Exception {\n \n int result = future.get();\n service.shutdown();\n return result;\n }", "native public <U> Promise<U> then();", "CompletableFuture<WriteResponse> submit();", "public static void main(String[] args) throws InterruptedException {\n\r\n FutureService futureService = new FutureService();\r\n Future<String> future = futureService.submit(() -> {\r\n try {\r\n Thread.sleep(10_000);\r\n } catch (InterruptedException e) {\r\n e.printStackTrace();\r\n }\r\n return \"FINISH\";\r\n }, System.out::println);\r\n System.out.println(\"================\");\r\n System.out.println(\"do other thing.\");\r\n Thread.sleep(1_000L);\r\n System.out.println(\"================\");\r\n\r\n// System.out.println(future.get());\r\n }", "<T> CompletableFuture<T> submit(Callable<T> request);", "@Override\n public Task<Boolean> then(@NonNull Task<Long> task) throws Exception {\n return addPostToUserUpvoted(postReference, postObject.getOp()).continueWith(new Continuation<Void, Boolean>() {\n @Override\n public Boolean then(@NonNull Task task) throws Exception {\n // Not upvoting post anymore\n upvotingPost = false;\n return true;\n }\n });\n }", "void await(long timeout, TimeUnit timeUnit) throws InterruptedException;", "@CheckForNull\n public static <T> Future<T> postCallable(Callable<T> callable) {\n if (handler != null)\n return handler.postCallable(callable);\n return null;\n }", "Future_<V> take() throws InterruptedException;", "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 BlockingFuture setRetractingFuture(ATFarReference reference) {\n\t\t// first assign future to a local variable to avoid race conditions on writing to the outboxFuture_ variable!\n\t\tfinal BlockingFuture future = new BlockingFuture();\n\t\tsynchronized(this) { \n\t\t\t// synchronized access because different thread in the pool could\n\t\t\t// be processing retractUnsentMessages requests for different references. \n\t\t\tretractFutures_.put(reference, future);\n\t\t}\n\t\treturn future;\n\t}", "CompletableFuture<WebClientServiceResponse> whenComplete();", "public boolean postExecute() throws Exception{\n if (!commitResponsePhase.getAndSet(true)){\n processorTask.postResponse();\n processorTask.postProcess();\n processorTask.terminateProcess();\n\n // De-reference so under stress we don't have a simili leak.\n processorTask = null;\n return false;\n }\n return false;\n }", "public ChannelProgressivePromise awaitUninterruptibly()\r\n/* 113: */ {\r\n/* 114:144 */ super.awaitUninterruptibly();\r\n/* 115:145 */ return this;\r\n/* 116: */ }", "CompletableFuture<CalculationResult> goInfiniteAsync();", "public abstract boolean await(long timeout, TimeUnit unit)\n\t\t\tthrows InterruptedException;", "public void run()\r\n/* 996: */ {\r\n/* 997:838 */ if (DefaultPromise.this.listeners == null) {\r\n/* 998: */ for (;;)\r\n/* 999: */ {\r\n/* :00:840 */ GenericFutureListener<?> l = (GenericFutureListener)poll();\r\n/* :01:841 */ if (l == null) {\r\n/* :02: */ break;\r\n/* :03: */ }\r\n/* :04:844 */ DefaultPromise.notifyListener0(DefaultPromise.this, l);\r\n/* :05: */ }\r\n/* :06: */ }\r\n/* :07:849 */ DefaultPromise.execute(DefaultPromise.this.executor(), this);\r\n/* :08: */ }", "protected abstract int doAwaitExit() throws InterruptedException;", "void await(long timeout, TimeUnit timeUnit)\n throws InterruptedException;", "public synchronized void postRequest (final Runnable r) {\n postRequest (r, false);\n }", "@Override\n public boolean waitToProceed() {\n return false;\n }", "@Override\n public Boolean then(@NonNull Task task) throws Exception {\n upvotingPost = false;\n return true;\n }", "public Reply done() throws ThingsException, InterruptedException;", "public abstract void await() throws InterruptedException;", "public synchronized void postRequestAndWait (Runnable r, int time) {\n postRequest (r, time, new RequestWaiter () {\n public void run (Thread t) {\n requestorThread.interrupt ();\n requestorThread.stop ();\n //S ystem.out.println (\"Kill \" + requestorThread.getName ()); // NOI18N\n }\n });\n }", "public boolean await(long timeout, TimeUnit unit)\r\n/* 235: */ throws InterruptedException\r\n/* 236: */ {\r\n/* 237:267 */ return await0(unit.toNanos(timeout), true);\r\n/* 238: */ }", "Future timeoutIn(long timeout, TimeUnit timeUnit);", "void await( long millis ) throws UnavailableException;", "public void testThread() {\n ExecutorService executor = Executors.newSingleThreadExecutor();\n // result of the thread\n Future<String> future = null;\n\n future = executor.submit(new TestTask());\n try {\n String result = future.get(2000, TimeUnit.MILLISECONDS);\n System.out.println(result);\n } catch (InterruptedException e) {\n e.printStackTrace();\n } catch (ExecutionException e) {\n e.printStackTrace();\n } catch (TimeoutException e) {\n System.out.println(\"the execution was terminated after 5 s\");\n boolean cancelled = future.cancel(true);\n System.out.println(cancelled);\n\n\n }\n\n try {\n System.out.println(\"attempt to shutdown executor\");\n executor.shutdown();\n executor.awaitTermination(5, TimeUnit.SECONDS);\n }\n catch (InterruptedException e) {\n System.err.println(\"tasks interrupted\");\n }\n finally {\n if (!executor.isTerminated()) {\n System.err.println(\"cancel non-finished tasks\");\n }\n executor.shutdownNow();\n System.out.println(\"shutdown finished\");\n }\n\n }", "@Override\n public void onTosRejected() {\n finish();\n }", "void awaitNanos(final long timeout) throws InterruptedException;", "public void finish() {\n\t\ttask.run();\n\t\ttask.cancel();\n\t}", "public <T> CompletableFuture<T> ask(ActorRef ref, long timeoutMillisUpperBound, Object requestBody) {\n final TaskScheduler timeoutScheduler = getTimeoutScheduler();\n final CompletableFuture<T> future = new CompletableFuture<>();\n \n final AtomicBoolean taskRegion = new AtomicBoolean();\n final AwaitableAtomicReference<TimeoutTask> timeoutTaskHolder = new AwaitableAtomicReference<>();\n ingress(a -> {\n if (taskRegion.compareAndSet(false, true)) {\n final MessageBuilder mb = a.to(ref);\n mb.ask(requestBody).await(timeoutMillisUpperBound)\n .onTimeout(() -> future.completeExceptionally(new TimeoutException()))\n .onFault(f -> {\n if (f.getReason() instanceof Throwable) {\n future.completeExceptionally(f.getReason());\n } else {\n future.completeExceptionally(new FaultException(f.getReason()));\n }\n })\n .onResponse(r -> future.complete(r.body()));\n timeoutTaskHolder.set(mb.getTimeoutTask());\n }\n });\n \n future.whenComplete((t, x) -> {\n if (future.isCancelled()) {\n if (! taskRegion.compareAndSet(false, true)) {\n final TimeoutTask task = timeoutTaskHolder.awaitThenGet();\n // by forcing timeout, the pending task is removed from the ingress actor; calling this\n // a second (and subsequent) times has no further effect\n timeoutScheduler.executeNow(task);\n } else {\n timeoutTaskHolder.set(CANCELLED);\n }\n }\n });\n return future;\n }", "@Nonnull\n public java.util.concurrent.CompletableFuture<SynchronizationJob> postAsync(@Nonnull final SynchronizationJob newSynchronizationJob) {\n final String requestUrl = getBaseRequest().getRequestUrl().toString();\n return new SynchronizationJobRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null)\n .buildRequest(getBaseRequest().getHeaders())\n .postAsync(newSynchronizationJob);\n }", "protected abstract long waitToTravel();", "@Override\n public boolean isDone() {\n return future.isDone();\n }", "public abstract Task markAsDone();", "boolean awaitMessages(long timeout) throws InterruptedException;", "V get(long timeout, TimeUnit timeUnit) throws PromiseBrokenException, TimeoutException, InterruptedException;", "public boolean block() {\n while( !isDone() ) join();\n return true;\n }", "public void finish() {\n if (!isFinishing) {\n performFnishWithRequest(true);\n }\n }", "void put( long number,Future<T> t);", "void await() throws InterruptedException;", "void await() throws InterruptedException;", "void await() throws InterruptedException;", "public boolean hasFuture();", "@Override\n public String call() throws Exception {\n if (!iAmSpecial) {\n blocker.await();\n }\n ran = true;\n return result;\n }", "void requestFinish();", "private static void threadPoolWithSubmit() throws InterruptedException, ExecutionException {\n Executor executor = Executors.newFixedThreadPool(1);\n Callable<String> callable=()->{\n try{\n Thread.sleep(4000);\n System.out.println(\"In callable\");\n Thread.sleep(4000);\n System.out.println(\"In runnable for task id 1\");\n }catch(Exception e){\n e.printStackTrace();\n }\n return \"success\";\n };\n Future<String> future =((ExecutorService) executor).submit(callable);\n System.out.println(\"Future result - \"+future.get()+\" Future is blocking as it blocks until result is obtained\");\n System.out.println(\"End of method \");\n ((ExecutorService) executor).shutdown();\n /*Output\n In callable\n In runnable for task id 1\n Future result - success Future is blocking as it blocks until result is obtained\n End of method\n */\n }", "@Test\n public void testTake() {\n \tBoundedCompletionService<String> ecs = new BoundedCompletionService<String>(\n new ExecutorCompletionService<String>(e));\n try {\n Callable<String> c = new StringTask();\n ecs.submit(c);\n Future<String> f = ecs.take();\n Assert.assertTrue(f.isDone());\n } catch (Exception ex) {\n unexpectedException();\n }\n }", "public void waitForFinish() {\n for(Future future : futures){\n try {\n future.get();\n } catch (InterruptedException | ExecutionException e) {\n LOGGER.error(\"ERROR\",e);\n }\n }\n }", "public void finish() {\n latch.countDown();\n }", "public void done() {\n if (!isCancelled()) {\n try {\n C0637h.this.mo7991a(get());\n } catch (InterruptedException | ExecutionException e) {\n C0637h.this.mo7992a(e.getCause());\n }\n } else {\n C0637h.this.mo7992a((Throwable) new CancellationException());\n }\n }", "private void onComplete(int duration) {\n\t\t\n\t\tservice = Executors.newSingleThreadExecutor();\n\n\t\ttry {\n\t\t Runnable r = new Runnable() {\n\t\t @Override\n\t\t public void run() {\n\t\t // Database task\n\t\t \tcontrollerVars.setPlays(false);\n\t\t }\n\t\t };\n\t\t Future<?> f = service.submit(r);\n\n\t\t f.get(duration, TimeUnit.MILLISECONDS); // attempt the task for two minutes\n\t\t}\n\t\tcatch (final InterruptedException e) {\n\t\t // The thread was interrupted during sleep, wait or join\n\t\t}\n\t\tcatch (final TimeoutException e) {\n\t\t // Took too long!\n\t\t}\n\t\tcatch (final ExecutionException e) {\n\t\t // An exception from within the Runnable task\n\t\t}\n\t\tfinally {\n\t\t service.shutdown();\n\t\t}\t\t\n\t}", "Cancelable dispatch(UnivapayCallback<E> callback);", "@Override\n public void operationComplete(Future<Void> future) throws Exception{\n if(!future.isSuccess()){\n olapFuture.fail(future.cause());\n olapFuture.signal();\n }\n }", "public boolean awaitUninterruptibly(long timeout, TimeUnit unit)\r\n/* 279: */ {\r\n/* 280: */ try\r\n/* 281: */ {\r\n/* 282:307 */ return await0(unit.toNanos(timeout), false);\r\n/* 283: */ }\r\n/* 284: */ catch (InterruptedException e)\r\n/* 285: */ {\r\n/* 286:310 */ throw new InternalError();\r\n/* 287: */ }\r\n/* 288: */ }", "public void done() {\n AppMethodBeat.i(98166);\n try {\n AsyncTask.this.a(get());\n AppMethodBeat.o(98166);\n } catch (InterruptedException e) {\n AppMethodBeat.o(98166);\n } catch (ExecutionException e2) {\n RuntimeException runtimeException = new RuntimeException(\"An error occured while executing doInBackground()\", e2.getCause());\n AppMethodBeat.o(98166);\n throw runtimeException;\n } catch (CancellationException e3) {\n AsyncTask.this.a(null);\n AppMethodBeat.o(98166);\n }\n }", "@Override\n public void onComplete(long dt) {\n }", "void finish(Task task);", "<T> CompletableFuture<T> submit(Integer key, Callable<T> request);", "String getAsyncDelayedRedelivery();", "@Test\n public void testFutureWithoutDone() throws Exception {\n Callable<String> task = new Callable<String>() {\n public String call() throws Exception {\n // do something that takes some time\n LOG.info(\"Starting to process task\");\n Thread.sleep(5000);\n LOG.info(\"Task is now done\");\n return \"Camel rocks\";\n }\n };\n\n // this is the thread pool we will use\n ExecutorService executor = Executors.newCachedThreadPool();\n\n // now submit the task to the thread pool\n // and get the Future handle back so we can later get the result\n LOG.info(\"Submitting task to ExecutorService\");\n Future<String> future = executor.submit(task);\n LOG.info(\"Task submitted and we got a Future handle\");\n\n // instead of testing when we are done we can just get\n // the result and it will automatic wait until the task is done\n String answer = future.get();\n LOG.info(\"The answer is: \" + answer);\n }", "@Override\n public void onComplete(@NonNull Task<DocumentReference> task) {\n creatingPost = false;\n }", "CompletableFuture<PostResponse> updatePost(Post post);", "public Promise<V> await()\r\n/* 207: */ throws InterruptedException\r\n/* 208: */ {\r\n/* 209:242 */ if (isDone()) {\r\n/* 210:243 */ return this;\r\n/* 211: */ }\r\n/* 212:246 */ if (Thread.interrupted()) {\r\n/* 213:247 */ throw new InterruptedException(toString());\r\n/* 214: */ }\r\n/* 215:250 */ synchronized (this)\r\n/* 216: */ {\r\n/* 217:251 */ while (!isDone())\r\n/* 218: */ {\r\n/* 219:252 */ checkDeadLock();\r\n/* 220:253 */ incWaiters();\r\n/* 221: */ try\r\n/* 222: */ {\r\n/* 223:255 */ wait();\r\n/* 224: */ }\r\n/* 225: */ finally\r\n/* 226: */ {\r\n/* 227:257 */ decWaiters();\r\n/* 228: */ }\r\n/* 229: */ }\r\n/* 230: */ }\r\n/* 231:261 */ return this;\r\n/* 232: */ }", "public void awaitPendingTasksFinished() throws IgniteCheckedException {\n GridCompoundFuture pendingFut = this.pendingTaskFuture;\n\n this.pendingTaskFuture = new GridCompoundFuture();\n\n if (pendingFut != null) {\n pendingFut.markInitialized();\n\n pendingFut.get();\n }\n }", "private static void shutdownDone(ChannelFuture shutdownOutputFuture, ChannelFuture shutdownInputFuture, ChannelPromise promise) {\n/* 674 */ Throwable shutdownOutputCause = shutdownOutputFuture.cause();\n/* 675 */ Throwable shutdownInputCause = shutdownInputFuture.cause();\n/* 676 */ if (shutdownOutputCause != null) {\n/* 677 */ if (shutdownInputCause != null) {\n/* 678 */ logger.debug(\"Exception suppressed because a previous exception occurred.\", shutdownInputCause);\n/* */ }\n/* */ \n/* 681 */ promise.setFailure(shutdownOutputCause);\n/* 682 */ } else if (shutdownInputCause != null) {\n/* 683 */ promise.setFailure(shutdownInputCause);\n/* */ } else {\n/* 685 */ promise.setSuccess();\n/* */ } \n/* */ }", "public abstract void submit(Runnable runnable);", "public void waitForCompletion() throws Exception {\n latch.await();\n if (exception != null) {\n throw new RuntimeException(\"Query submission failed\", exception);\n }\n }", "public boolean stop(long timeout, TimeUnit timeUnit) {\n/* 73 */ setStopping();\n/* 74 */ boolean stopped = stop(this.future);\n/* 75 */ setStopped();\n/* 76 */ return stopped;\n/* */ }", "void await()\n throws InterruptedException;", "@Test\n public void testPoll1() {\n \tBoundedCompletionService<String> ecs = new BoundedCompletionService<String>(\n new ExecutorCompletionService<String>(e));\n try {\n Assert.assertNull(ecs.poll());\n Callable<String> c = new StringTask();\n ecs.submit(c);\n Thread.sleep(SHORT_DELAY_MS);\n for (;;) {\n Future<String> f = ecs.poll();\n if (f != null) {\n Assert.assertTrue(f.isDone());\n break;\n }\n }\n } catch (Exception ex) {\n unexpectedException();\n }\n }", "@Override\n public void run() {\n\n new Thread() {\n\n @Override\n public void run() {\n HttpGet requestForTest = new HttpGet(\"http://m.google.com\");\n try {\n new DefaultHttpClient().execute(requestForTest); // can last...\n responded = true;\n } catch (Exception e) {}\n }\n\n }.start();\n\n try {\n int waited = 0;\n while(!responded && (waited < timeout)) {\n sleep(100);\n if(!responded ) { \n waited += 100;\n }\n }\n } \n catch(InterruptedException e) {} // do nothing \n finally { \n if (!responded) { handler.sendEmptyMessage(0); } \n else { handler.sendEmptyMessage(1); }\n }\n\n }", "public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException {\r\n return dead;\r\n }", "CompletableFuture<Void> cancel();", "@Test\n public void testFutureWithDone() throws Exception {\n Callable<String> task = new Callable<String>() {\n public String call() throws Exception {\n // do something that takes some time\n LOG.info(\"Starting to process task\");\n Thread.sleep(5000);\n LOG.info(\"Task is now done\");\n return \"Camel rocks\";\n }\n };\n\n // this is the thread pool we will use\n ExecutorService executor = Executors.newCachedThreadPool();\n\n // now submit the task to the thread pool\n // and get the Future handle back so we can later get the result\n LOG.info(\"Submitting task to ExecutorService\");\n Future<String> future = executor.submit(task);\n LOG.info(\"Task submitted and we got a Future handle\");\n\n // test when we are done\n boolean done = false;\n while (!done) {\n done = future.isDone();\n LOG.info(\"Is the task done? \" + done);\n if (!done) {\n Thread.sleep(2000);\n }\n }\n\n // and get the answer\n String answer = future.get();\n LOG.info(\"The answer is: \" + answer);\n }", "public void awaitDone() {\n try {\n // Wait until the CountDownLatch reaches 0.\n mExitBarrier.await();\n } catch(java.lang.InterruptedException e) {\n errorLog(\"PlatformStrategyAndroid\",\n e.getMessage());\n }\n }", "public MockOutgoing<P> awaitComplete(Duration timeout) {\n whenComplete().await(timeout);\n return this;\n }", "default T await() {\n return await(0, TimeUnit.NANOSECONDS);\n }", "private void postTaskToExecutor(Runnable task) {\n try {\n mExecutor.execute(task);\n } catch (RejectedExecutionException failException) {\n Log.e(CronetUrlRequestContext.LOG_TAG, \"Exception posting task to executor\",\n failException);\n // If posting a task throws an exception, then there is no choice\n // but to destroy the stream without invoking the callback.\n synchronized (mNativeStreamLock) {\n mReadState = mWriteState = State.ERROR;\n destroyNativeStreamLocked(false);\n }\n }\n }", "public interface Future\n{\n\n public abstract boolean cancel(boolean flag);\n\n public abstract boolean isCancelled();\n\n public abstract boolean isDone();\n\n public abstract Object get()\n throws ExecutionException, InterruptedException;\n\n public abstract Object get(long l, TimeUnit timeunit)\n throws ExecutionException, InterruptedException, TimeoutException;\n}", "void post(java.lang.Runnable command);", "public JsonNode endAsyncMethod(final JsiiPromise promise) {\n ObjectNode req = makeRequest(\"end\");\n req.put(\"promiseid\", promise.getPromiseId());\n JsonNode resp = this.runtime.requestResponse(req);\n if (resp == null) {\n return null; // result is null\n }\n return resp.get(\"result\");\n }", "public void handleFinish()\n {\n }", "public interface Promise<V> {\n\n /**\n * Checks if the promise has been realized, if a promise has been realized then it has either\n * been full-filled or broken. This function returns false until the promise has been either\n * full-filled or broken. Will return true after the promise is full-filled or broken.\n * <p/>\n * NonBlocking\n *\n * @return true if promise is realized by either full-filling it or breaking it.\n */\n boolean isRealized();\n\n /**\n * Checks if the promise has been full-filled. A promise is said to have been full-filled\n * if the value of a promise is realized. It returns true if the promise has been realized\n * and the promise has been full-filled, false if the promise has been realized and the\n * promise has been broken. This should usually only be called once the promise has been\n * realized. If it's called before the promise has been realized, it throws an exception.\n * <p/>\n * NonBlocking\n *\n * @return true if a promise is realized and full-filled, false if promise is realized and broken\n * @throws IllegalStateException if isRealized()==false\n */\n boolean isFullfilled() throws IllegalStateException;\n\n /**\n * Checks to see if the promise has been broken. A promise is said to have been broken\n * if the promise is realized but is in a broken state. It returns true if the promise\n * is realized and a it's in a broken state, false if the promise is realized and it's\n * in a full-filled state.\n * <p/>\n * NonBlocking\n *\n * @return true if promise is broken false if promise is full-filled\n * @throws IllegalStateException if isRealized()==false\n */\n boolean isBroken() throws IllegalStateException;\n\n /**\n * Puts the calling thread in a wait state until the promise has been realized.\n * <p/>\n * Blocking: Puts the thread in a wait state.\n *\n * @throws InterruptedException if the calling/waiting thread is interrupted\n * before the promise has been realized\n */\n void await() throws InterruptedException;\n\n /**\n * Puts the calling thread in a wait state until either the promise has been\n * realized or \"timeout\" units of type \"timeUnit\" have passed, whichever\n * happens sooner. if the calling/waiting thread is interrupted\n * before either the promise is fullfilled or the timeout hasn't happened.\n * <p/>\n * Blocking: Puts thread in a wait state\n *\n * @param timeout\n * @param timeUnit\n * @throws InterruptedException\n */\n void await(long timeout, TimeUnit timeUnit) throws InterruptedException;\n\n /**\n * Puts the calling thread in a wait state until the promise has been realized\n * and either returns the value of the promise once it has been full-filled or\n * throws a promise broken exception once the promis is broken.\n * <p/>\n * Blocking: Puts thread in a wait state\n *\n * @return value of the promise once it has been set\n * @throws PromiseBrokenException of isRealized==true and promise is broken\n * @throws InterruptedException if the calling/waiting thread is interrupted\n */\n V get() throws PromiseBrokenException, InterruptedException;\n\n /**\n * Puts the calling thread in a wait state until the promise has either been\n * realized or the timeout period has expired. If the promise has been realized\n * then it either returns the value of the promise once it has been full-filled or\n * throws a promise broken exception once the promis is broken. If the call has\n * timed out a timeout exception is thrown.\n * <p/>\n * Blocking: puts the thread in a wait state\n *\n * @param timeout\n * @param timeUnit\n * @return value of promise if it has been set before timeout expires\n * @throws PromiseBrokenException if isRealized==true and promise is broken\n * @throws InterruptedException if the calling/waiting thread is interrupted\n * @throws TimeoutException if isRealized==false until timeout, timeunits\n */\n V get(long timeout, TimeUnit timeUnit) throws PromiseBrokenException, TimeoutException, InterruptedException;\n\n /**\n * Adds a PromiseListener to the promise, whose whenFullfilled or whenBroken\n * method is invoked when the promise is realized.\n * <p/>\n * NonBlocking: it's a callback mechanism\n *\n * @param promiseListener\n */\n void addListener(PromiseListener promiseListener);\n}" ]
[ "0.57789177", "0.5703307", "0.56828624", "0.5529016", "0.55216795", "0.5409305", "0.5408387", "0.5407686", "0.54008985", "0.5379518", "0.53475034", "0.530164", "0.5299487", "0.52890056", "0.5248549", "0.5241586", "0.5234607", "0.51884896", "0.5155278", "0.5154899", "0.5147835", "0.5132143", "0.51284057", "0.5127963", "0.5089239", "0.5080077", "0.50742495", "0.5071441", "0.5068102", "0.5056029", "0.5040338", "0.50388503", "0.50287545", "0.5021034", "0.50178623", "0.5009953", "0.5003531", "0.4983884", "0.4978676", "0.4973178", "0.49657404", "0.49573094", "0.49420255", "0.4939719", "0.49244177", "0.4910795", "0.49090287", "0.4904104", "0.49009308", "0.4900208", "0.4896795", "0.48756456", "0.48715067", "0.4870832", "0.48695058", "0.48653528", "0.4860036", "0.4860036", "0.4860036", "0.4860018", "0.48593915", "0.48557615", "0.4849052", "0.48486367", "0.4840371", "0.4837977", "0.48323157", "0.4831556", "0.48205996", "0.481114", "0.48102766", "0.48077846", "0.48022336", "0.4799304", "0.4798556", "0.47931287", "0.4792105", "0.47837204", "0.47813702", "0.47783893", "0.47746456", "0.4772329", "0.47716552", "0.47619864", "0.4761749", "0.47550654", "0.4752686", "0.4748494", "0.47468162", "0.4744102", "0.47420514", "0.47407103", "0.47281542", "0.47258872", "0.47223687", "0.47125524", "0.47119823", "0.470701", "0.4706649", "0.4703676" ]
0.4727671
93
Returns true if the method is currently running.
public Future<Boolean> isRunning(Integer id) throws DynamicCallException, ExecutionException { return call("isRunning", id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning () {\n\t\t\tsynchronized (runningLock) {\n\t\t\t\treturn running;\n\t\t\t}\n\t\t}", "@Override\n public final boolean isRunning() {\n return (this.running && runningAllowed());\n }", "public final boolean isRunning() {\n\t\treturn running;\n\t}", "boolean isRunning();", "boolean isRunning();", "boolean isRunning();", "boolean isRunning();", "boolean isRunning();", "public boolean isRunning()\n\t{\n\t\treturn running;\n\t}", "public boolean isRunning() {\n\t\treturn isRunning;\n\t}", "public final boolean isRunning() {\n return running;\n }", "public boolean isRunning() {\n\t\treturn running;\n\t}", "public boolean isRunning()\n\t{\n\t\treturn this.running;\n\t}", "protected final boolean isRunning() {\n\t\treturn _running;\n\t}", "public boolean isRunning()\n\t{\n\t\treturn m_running;\n\t}", "public boolean isRunning() {\n return running;\n }", "public boolean isRunning() {\n return running;\n }", "public boolean isRunning(){\n\t\treturn this.running;\n\t}", "public synchronized boolean isRunning() {\n return running;\n }", "public boolean isRunning()\n\t{\n\t\treturn updateTimer.isRunning();\n\t}", "public boolean isRunning() {\n \t\tif (localMonitor == null) {\n\t\t\treturn localMonitor.isRunning();\n \t\t}\n \n \t\treturn localMonitor.isRunning();\n \t}", "public boolean isRunning() {\r\n return running;\r\n }", "@Override\n public boolean isRunning() {\n return isRunning;\n }", "@Override\n public boolean isRunning() {\n return isRunning;\n }", "public boolean isRunning() {\r\n\t\treturn __flagRunning;\r\n\t}", "public boolean isRunning() {\n return isRunning;\n }", "public synchronized boolean isRunning() {\n return this.running;\n }", "public boolean isRunning() {\n return running;\n }", "public boolean isRunning() {\n return running;\n }", "public boolean isRunning() {\n\t\treturn !loopTask.stop;\n\t}", "@Override\n public boolean isRunning() {\n return running;\n }", "public boolean isRunning(){\n return isRunning;\n }", "public boolean isRunning() {\n return this.isRunning;\n }", "public boolean isRunning() {\n return this.isRunning;\n }", "public static boolean isRunning() {\n return _thd != null && _thd.isAlive();\n }", "public boolean isRunning()\n {\n\n // TODO Auto-generated method stub\n return !started || running;\n }", "public boolean isRunning() {\n return bRunning;\n }", "public boolean iAmRunning();", "public boolean isRunning() {\n return (service != null) && service.isMonitoring();\n }", "public boolean isRunning ()\n {\n return server == null ? false : true;\n }", "public static boolean isRunning()\n {\n synchronized( Lifecycle.class ) {\n return context != null;\n }\n }", "public boolean isRunning() {\n/* 101 */ return this.isRunning;\n/* */ }", "public Boolean isRunning() {\n\t\t// We don't know if it is an external process or not yet ---------------\n\t\t// (first check in the program or after a stop)\n\n\t\tif (this.isManagedExternally == null) {\n\t\t\tif (this.isExternalBackendRunning()) {\n\t\t\t\tthis.isManagedExternally = true;\n\t\t\t\treturn true; // to avoid unnecessary duplicate request below\n\t\t\t} else {\n\t\t\t\tthis.isManagedExternally = false;\n\t\t\t}\n\t\t}\n\n\t\t// Externally managed --------------------------------------------------\n\n\t\tif (this.isManagedExternally) {\n\t\t\treturn this.isExternalBackendRunning();\n\t\t}\n\n\t\t// We manage the process ourself ---------------------------------------\n\n\t\treturn this.processRunner.isRunning();\n\t}", "public static boolean isRunningCommand() {\n return runningCommand;\n }", "public boolean isRunning()\n\t{\n\t\tif(mBoundService != null){\t// Service already started\n\t\t\tif(mBoundService.testThread != null && mBoundService.testThread.isAlive())\n\t\t\t\treturn true;\n\t\t\telse\n\t\t\t\treturn false;\n\t\t}else{\n\t\t\tLog.v(\"4G Test\", \"mBoundService null not running\");\n\t\t\treturn false;\n\t\t}\n\t}", "public boolean isRunning(){\n return !paused;\n }", "public boolean isRunning() {\n return this.runningThread != null && !serverSocket.isClosed();\n }", "public boolean isRunning() { return _timer!=null && _timer.isRunning(); }", "@Override\n public boolean isRunning() {\n if (lumenClient == null || spine == null || !spine.isRunning()) {\n return false;\n } else {\n return true;\n }\n }", "boolean isActive() {\n assert this.isHeldByCurrentThread();\n return isActive;\n }", "public boolean isRunning(){\n\t\treturn gameRunning;\n\t}", "public boolean isRunning() {\n boolean isRunning = true;\n\n if (field.isUserWin()) {\n System.out.println(\"You win! Computer is too bad :)\");\n isRunning = false;\n } else if (field.isComputerWin()) {\n System.out.println(\"Computer win! You lose :(\");\n isRunning = false;\n } else if (field.isFull()) {\n System.out.println(\"You tied! Try next time :)\");\n isRunning = false;\n }\n\n return isRunning;\n }", "public boolean isAlive(){\r\n\t\treturn Thread.currentThread() == workerThread;\r\n\t}", "public boolean isStarted() {\n\t\treturn started.get();\n\t}", "public boolean getRunning() {\n\t\treturn this.isRunning;\n\t}", "boolean isStarted();", "boolean isStarted();", "public boolean getRunning() {\n\t\treturn running;\n\t}", "public boolean IsAlive() {\n\treturn process != null;\n }", "@Deprecated\n @SuppressWarnings({\"DeprecatedIsStillUsed\", \"RedundantSuppression\"})\n public boolean isRunning() {\n return isRunning(10, 500, TimeUnit.MILLISECONDS);\n }", "public boolean isStarted()\n\t{\n\t\treturn isStarted;\n\t}", "public boolean getRunning() {\n return this.running;\n }", "@Override\n public boolean isRunning() {\n return !paused;\n }", "public boolean isServiceRunning();", "public boolean isAlive()\r\n\t{\r\n\t\treturn internalThread.isAlive();\r\n\t}", "public boolean isAlive() {\n synchronized (this) {\n return mIsAlive;\n }\n }", "public boolean isStarted() {\n \t\treturn isStarted;\n \t}", "public boolean isStarted() {\n return started;\n }", "public boolean isRecognitionRunning() {\n return mRecognitionTask != null &&\n (mRecognitionTask.getStatus().equals(AsyncTask.Status.PENDING)\n || mRecognitionTask.getStatus().equals(AsyncTask.Status.RUNNING));\n }", "public boolean isStarting() {\n\t\treturn starting;\n\t}", "public synchronized boolean isStarted() {\n\t\treturn State.STARTED.equals(state);\n\t}", "public final boolean isStarted() {\n return started;\n }", "public boolean startTimerIsRunning() {\n\t\treturn startMoveDownTimer.isRunning();\n\t}", "protected boolean isCommandExecuting() {\n // long start = System.nanoTime();\n // boolean inCommand = false;\n // for (StackTraceElement e : Thread.currentThread().getStackTrace()) {\n // if (e.getMethodName().equals(\"handleCommand\")) {\n // inCommand = true;\n // break;\n // }\n // }\n // long now = System.nanoTime();\n // double elapsedMillis = (now - start) * 1e-6;\n // getLogger().info(\"handleCommand: \" + inCommand + \" elapsed ms: \" +\n // elapsedMillis);\n\n try {\n Field playerCommandState = Bukkit.getServer().getClass().getField(\"playerCommandState\");\n return playerCommandState.getBoolean(Bukkit.getServer());\n } catch (IllegalArgumentException | IllegalAccessException | NoSuchFieldException | SecurityException ex) {\n getLogger().severe(\"This plugin needs to be updated for the current server (EasyRider.isCommandExecuting()).\");\n return false;\n }\n }", "public final boolean isActive() {\n synchronized (this.lifecycleMonitor) {\n return this.active;\n }\n }", "public static final boolean isRunning(Context context){\r\n \t\tmIsRunning = MainPipeline.isEnabled(context);\r\n \t\treturn mIsRunning;\r\n \t}", "public synchronized static boolean isServiceRunning(){\n return prefs.getBoolean(IS_SERVICE_RUNNING, false);\n }", "public boolean isStarted()\r\n\t{\r\n\t\treturn currentstate == TIMER_START;\r\n\t}", "public boolean isStarted(){\n \treturn started;\n }", "public boolean isAlive() {\n\t\treturn isAlive;\n\t}", "public boolean isAlive () {\n return (daemon != null) && daemon.isAlive();\n }", "public boolean isAlive();", "public final boolean isTimerRunning() {\n return timerRunning;\n }", "boolean isOpen() {\n return state == RUNNING;\n }", "public boolean isAlive() {\n return this.isAlive;\n }", "public Boolean timerCheck(){\n return isRunning;\n }", "public boolean hasStarted() {\n return hasStarted(10, 500, TimeUnit.MILLISECONDS);\n }", "public boolean isAlive() {\n\t\treturn this.alive;\n\t}", "public boolean isAlive(){\n\t\treturn isAlive;\n\t}", "public boolean hasStarted() {\n return mStarted;\n }", "public boolean isRunning() {\r\n\t\tboolean sentinel = true;\r\n\t\trunningBalls = 0;\r\n\t\ttraversal_inorder_runningcheck(root);\r\n\t\tif (runningBalls!=0) {\r\n\t\t\treturn sentinel;\r\n\t\t}\r\n\t\telse {\r\n\t\t\tsentinel = false;\r\n\t\t\treturn sentinel;\r\n\t\t}\r\n\t}", "public boolean isAlive() {\n\t\treturn state;\n\t}", "boolean hasStopped()\n {\n if (running && ! isAlive())\n {\n nextStartTime = System.currentTimeMillis() + minDurationInMillis;\n running = false;\n return true;\n }\n return false;\n }", "public boolean isGameRunning()\n\t{\n\t\treturn zegar.isRunning() || wToku;\n\t}", "public boolean isActive() {\n\t\treturn stateMachine.isActive();\n\t}" ]
[ "0.8049961", "0.8049961", "0.8049961", "0.8049961", "0.8049961", "0.8049961", "0.79817444", "0.7918957", "0.79077095", "0.787753", "0.787753", "0.787753", "0.787753", "0.787753", "0.7871202", "0.78544855", "0.783998", "0.7834024", "0.7827027", "0.78022796", "0.7772827", "0.7761601", "0.7761601", "0.7760903", "0.77524966", "0.7743066", "0.77411324", "0.77383995", "0.7731706", "0.7731706", "0.7707688", "0.77039635", "0.77013934", "0.7694899", "0.7694899", "0.7631278", "0.7619868", "0.7614111", "0.7612699", "0.7612699", "0.76026785", "0.75949085", "0.7574383", "0.75546694", "0.7534859", "0.7500012", "0.7371584", "0.734362", "0.7340472", "0.73276806", "0.73226196", "0.7272178", "0.7264731", "0.72509205", "0.72476673", "0.72454536", "0.7242291", "0.7238587", "0.7196076", "0.7172754", "0.7158594", "0.7117737", "0.7117737", "0.710902", "0.70725346", "0.7041552", "0.7026133", "0.70248497", "0.69993263", "0.6995022", "0.69640034", "0.6904157", "0.68770766", "0.6861252", "0.6859536", "0.68531513", "0.6852755", "0.685213", "0.68355614", "0.6821002", "0.67749333", "0.67649364", "0.6759534", "0.6756112", "0.67307395", "0.6722695", "0.6710954", "0.6709099", "0.6708715", "0.67026883", "0.66995054", "0.6699396", "0.6697109", "0.669087", "0.66577506", "0.6655275", "0.66345733", "0.6631662", "0.6613508", "0.6587572", "0.6578111" ]
0.0
-1
returns true if the method is currently running
public Future<Void> stop(Integer id) throws DynamicCallException, ExecutionException{ return call("stop", id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "boolean isRunning();", "boolean isRunning();", "boolean isRunning();", "boolean isRunning();", "boolean isRunning();", "@Override\n public boolean isRunning() {\n return isRunning;\n }", "@Override\n public boolean isRunning() {\n return isRunning;\n }", "@Override\n public final boolean isRunning() {\n return (this.running && runningAllowed());\n }", "public boolean iAmRunning();", "public boolean isRunning()\n\t{\n\t\treturn running;\n\t}", "public boolean isRunning () {\n\t\t\tsynchronized (runningLock) {\n\t\t\t\treturn running;\n\t\t\t}\n\t\t}", "@Override\n public boolean isRunning() {\n return running;\n }", "public final boolean isRunning() {\n\t\treturn running;\n\t}", "public boolean isRunning() {\n\t\treturn isRunning;\n\t}", "protected final boolean isRunning() {\n\t\treturn _running;\n\t}", "public boolean isRunning()\n\t{\n\t\treturn this.running;\n\t}", "public boolean isRunning() {\n\t\treturn running;\n\t}", "public boolean isRunning(){\n\t\treturn this.running;\n\t}", "public boolean isRunning()\n {\n\n // TODO Auto-generated method stub\n return !started || running;\n }", "public boolean isRunning(){\n return isRunning;\n }", "public boolean isRunning() {\r\n return running;\r\n }", "public boolean isRunning()\n\t{\n\t\treturn updateTimer.isRunning();\n\t}", "public final boolean isRunning() {\n return running;\n }", "public boolean isRunning() {\n return running;\n }", "public boolean isRunning() {\n return running;\n }", "public boolean isRunning()\n\t{\n\t\treturn m_running;\n\t}", "public boolean isRunning() {\n return isRunning;\n }", "public synchronized boolean isRunning() {\n return running;\n }", "public boolean isRunning() {\n \t\tif (localMonitor == null) {\n\t\t\treturn localMonitor.isRunning();\n \t\t}\n \n \t\treturn localMonitor.isRunning();\n \t}", "public boolean isRunning() {\n return running;\n }", "public boolean isRunning() {\n return running;\n }", "public boolean isRunning() {\r\n\t\treturn __flagRunning;\r\n\t}", "public boolean isRunning() {\n\t\treturn !loopTask.stop;\n\t}", "public synchronized boolean isRunning() {\n return this.running;\n }", "public boolean isRunning() {\n return bRunning;\n }", "public boolean isRunning() {\n/* 101 */ return this.isRunning;\n/* */ }", "public boolean isRunning() {\n return this.isRunning;\n }", "public boolean isRunning() {\n return this.isRunning;\n }", "boolean isStarted();", "boolean isStarted();", "public boolean isRunning(){\n return !paused;\n }", "public static boolean isRunning() {\n return _thd != null && _thd.isAlive();\n }", "public boolean isRunning ()\n {\n return server == null ? false : true;\n }", "public boolean isRunning() {\n boolean isRunning = true;\n\n if (field.isUserWin()) {\n System.out.println(\"You win! Computer is too bad :)\");\n isRunning = false;\n } else if (field.isComputerWin()) {\n System.out.println(\"Computer win! You lose :(\");\n isRunning = false;\n } else if (field.isFull()) {\n System.out.println(\"You tied! Try next time :)\");\n isRunning = false;\n }\n\n return isRunning;\n }", "public boolean isRunning(){\n\t\treturn gameRunning;\n\t}", "public boolean isRunning() { return _timer!=null && _timer.isRunning(); }", "public boolean isAlive(){\r\n\t\treturn Thread.currentThread() == workerThread;\r\n\t}", "public boolean isRunning()\n\t{\n\t\tif(mBoundService != null){\t// Service already started\n\t\t\tif(mBoundService.testThread != null && mBoundService.testThread.isAlive())\n\t\t\t\treturn true;\n\t\t\telse\n\t\t\t\treturn false;\n\t\t}else{\n\t\t\tLog.v(\"4G Test\", \"mBoundService null not running\");\n\t\t\treturn false;\n\t\t}\n\t}", "@Override\n public boolean isRunning() {\n if (lumenClient == null || spine == null || !spine.isRunning()) {\n return false;\n } else {\n return true;\n }\n }", "public boolean isRunning() {\n return (service != null) && service.isMonitoring();\n }", "public boolean IsAlive() {\n\treturn process != null;\n }", "public Boolean isRunning() {\n\t\t// We don't know if it is an external process or not yet ---------------\n\t\t// (first check in the program or after a stop)\n\n\t\tif (this.isManagedExternally == null) {\n\t\t\tif (this.isExternalBackendRunning()) {\n\t\t\t\tthis.isManagedExternally = true;\n\t\t\t\treturn true; // to avoid unnecessary duplicate request below\n\t\t\t} else {\n\t\t\t\tthis.isManagedExternally = false;\n\t\t\t}\n\t\t}\n\n\t\t// Externally managed --------------------------------------------------\n\n\t\tif (this.isManagedExternally) {\n\t\t\treturn this.isExternalBackendRunning();\n\t\t}\n\n\t\t// We manage the process ourself ---------------------------------------\n\n\t\treturn this.processRunner.isRunning();\n\t}", "@Override\n public boolean isRunning() {\n return !paused;\n }", "public static boolean isRunning()\n {\n synchronized( Lifecycle.class ) {\n return context != null;\n }\n }", "boolean isActive() {\n assert this.isHeldByCurrentThread();\n return isActive;\n }", "public boolean isRunning() {\n return this.runningThread != null && !serverSocket.isClosed();\n }", "public boolean isStarted() {\n\t\treturn started.get();\n\t}", "public static boolean isRunningCommand() {\n return runningCommand;\n }", "public boolean isStarted()\n\t{\n\t\treturn isStarted;\n\t}", "public boolean isAlive()\r\n\t{\r\n\t\treturn internalThread.isAlive();\r\n\t}", "public boolean getRunning() {\n\t\treturn this.isRunning;\n\t}", "public boolean getRunning() {\n\t\treturn running;\n\t}", "public boolean isAlive();", "public boolean isStarted() {\n \t\treturn isStarted;\n \t}", "public boolean getRunning() {\n return this.running;\n }", "boolean isOpen() {\n return state == RUNNING;\n }", "public boolean isServiceRunning();", "public Boolean timerCheck(){\n return isRunning;\n }", "public boolean isStarted(){\n \treturn started;\n }", "@Deprecated\n @SuppressWarnings({\"DeprecatedIsStillUsed\", \"RedundantSuppression\"})\n public boolean isRunning() {\n return isRunning(10, 500, TimeUnit.MILLISECONDS);\n }", "protected boolean isCommandExecuting() {\n // long start = System.nanoTime();\n // boolean inCommand = false;\n // for (StackTraceElement e : Thread.currentThread().getStackTrace()) {\n // if (e.getMethodName().equals(\"handleCommand\")) {\n // inCommand = true;\n // break;\n // }\n // }\n // long now = System.nanoTime();\n // double elapsedMillis = (now - start) * 1e-6;\n // getLogger().info(\"handleCommand: \" + inCommand + \" elapsed ms: \" +\n // elapsedMillis);\n\n try {\n Field playerCommandState = Bukkit.getServer().getClass().getField(\"playerCommandState\");\n return playerCommandState.getBoolean(Bukkit.getServer());\n } catch (IllegalArgumentException | IllegalAccessException | NoSuchFieldException | SecurityException ex) {\n getLogger().severe(\"This plugin needs to be updated for the current server (EasyRider.isCommandExecuting()).\");\n return false;\n }\n }", "@Override\r\n public boolean isRunning()\r\n {\n return initialized;\r\n }", "public boolean isAlive() {\n synchronized (this) {\n return mIsAlive;\n }\n }", "public boolean isStarted() {\n return started;\n }", "public boolean isStarted()\r\n\t{\r\n\t\treturn currentstate == TIMER_START;\r\n\t}", "public boolean startTimerIsRunning() {\n\t\treturn startMoveDownTimer.isRunning();\n\t}", "public boolean isStarting() {\n\t\treturn starting;\n\t}", "public boolean isExecuting(){\n return !pausing;\n }", "public final boolean isStarted() {\n return started;\n }", "public synchronized boolean isStarted() {\n\t\treturn State.STARTED.equals(state);\n\t}", "boolean isAlive();", "boolean isAlive();", "public boolean isAlive(){\n\t\treturn isAlive;\n\t}", "public final boolean isAlive() { return true; }", "public boolean isRecognitionRunning() {\n return mRecognitionTask != null &&\n (mRecognitionTask.getStatus().equals(AsyncTask.Status.PENDING)\n || mRecognitionTask.getStatus().equals(AsyncTask.Status.RUNNING));\n }", "boolean start()\n {\n // log.info(\"Begin start(), instance = '\" + instance + \"'\");\n boolean retVal = false;\n\n if (isStartable())\n {\n t = new Thread(processor);\n t.start();\n nextStartTime = System.currentTimeMillis() + minDurationInMillis;\n running = true;\n retVal = true;\n }\n\n // log.info(\"End start(), instance = '\" + instance + \"', retVal = \" + retVal);\n return retVal;\n }", "boolean hasExecution();", "public boolean isAlive() {\n\t\treturn isAlive;\n\t}", "public boolean hasStarted() {\n return hasStarted(10, 500, TimeUnit.MILLISECONDS);\n }", "public boolean isStartable () ;", "public static final boolean isRunning(Context context){\r\n \t\tmIsRunning = MainPipeline.isEnabled(context);\r\n \t\treturn mIsRunning;\r\n \t}", "public boolean isAlive() {\n\t\treturn state;\n\t}", "boolean hasStopped()\n {\n if (running && ! isAlive())\n {\n nextStartTime = System.currentTimeMillis() + minDurationInMillis;\n running = false;\n return true;\n }\n return false;\n }", "@Override\n\tpublic boolean isJobRunning() {\n\t\treturn false;\n\t}", "public boolean isAlive() {\n return this.isAlive;\n }" ]
[ "0.83002925", "0.83002925", "0.83002925", "0.83002925", "0.83002925", "0.83002925", "0.82184136", "0.82184136", "0.82184136", "0.82184136", "0.82184136", "0.7928427", "0.7928427", "0.7914384", "0.7903223", "0.78495246", "0.7828104", "0.7805607", "0.7801978", "0.77904487", "0.77857304", "0.777517", "0.7769687", "0.7763358", "0.77557856", "0.7730529", "0.7727572", "0.7724169", "0.7721656", "0.7719195", "0.7719195", "0.770198", "0.7689014", "0.7686393", "0.7672949", "0.76605207", "0.76605207", "0.7646163", "0.7641038", "0.75836545", "0.75429577", "0.7528015", "0.75053984", "0.75053984", "0.7481336", "0.7481336", "0.7438112", "0.743809", "0.7421596", "0.73545295", "0.73524064", "0.7342616", "0.7339066", "0.73065543", "0.72633827", "0.7252982", "0.7244162", "0.7235568", "0.7233379", "0.7230439", "0.7216005", "0.7159716", "0.7116013", "0.70875907", "0.7059123", "0.7057347", "0.7023757", "0.7020802", "0.69942117", "0.69683754", "0.6963534", "0.696248", "0.69372725", "0.69224256", "0.69112766", "0.69063115", "0.6905375", "0.68997777", "0.68874735", "0.6880049", "0.6871452", "0.68375486", "0.68332165", "0.6822042", "0.6812954", "0.680354", "0.6795846", "0.6795846", "0.6785854", "0.6778643", "0.6778365", "0.6775488", "0.676561", "0.6759234", "0.6756828", "0.6747948", "0.67432415", "0.67385244", "0.67331684", "0.6716593", "0.6711789" ]
0.0
-1
Gets the name of the parent broker.
public Future<String> getBrokerName() throws DynamicCallException, ExecutionException { return call("getBrokerName"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getParentName() {\n return getProperty(Property.PARENT_NAME);\n }", "public String getParentName() {\n return parentName;\n }", "public String getParentName() {\n return parentName;\n }", "public String getParentName() {\n\t\treturn parentName;\n\t}", "public String getBrokerName() throws CallError, InterruptedException {\n return (String)service.call(\"getBrokerName\").get();\n }", "public String getParentId() {\n return getProperty(Property.PARENT_ID);\n }", "public String getBrokerName() throws DynamicCallException, ExecutionException {\n return (String)call(\"getBrokerName\").get();\n }", "public String getParent() {\r\n return (String) getAttributeInternal(PARENT);\r\n }", "public String getParent() {\n return _parent;\n }", "public String getParent() {\n return _theParent;\n }", "public String getParent() {\n return parent;\n }", "public String getParent() {\r\n return this.parent;\r\n }", "public String getParentTitle() {\n return getProperty(Property.PARENT_TITLE);\n }", "public String getParent() {\r\n return parent;\r\n }", "String getBaseQueueName();", "public String getParent() {\n Path path = getPathNIO();\n if (path == null) {\n return \"\";\n }\n\n Path parent = Paths.get(this.dataSource).toAbsolutePath().relativize(path.getParent());\n\n return parent.toString();\n }", "public String getPeerName() {\n return peerAddress.getHostName();\n }", "public String getPeerName() {\n return peerAddress.getHostName();\n }", "public String getBrokerId() {\n return brokerId;\n }", "public String getBrokerId() {\n return brokerId;\n }", "java.lang.String getQueueName();", "public String getProducerName() {\n return PRODUCER_NAME;\n }", "public String getParentId() {\n return getParent() != null ? getParent().getId() : null;\n }", "public String getBrokerId() {\n return brokerId;\n }", "public String getBrokerId() {\n return brokerId;\n }", "public String getParentKey() {\n\n return this.parentKey;\n }", "public String getParentProfile() {\n\t\treturn mParentProfile == null ? new String() : mParentProfile.getName();\n\t}", "@ApiModelProperty(example = \"null\", value = \"The backend that is used for when properties are not set. This allows credentials to be set at one backend and used by multiple backends.\")\n public String getParentId() {\n return parentId;\n }", "String getBaseQueueManagerName();", "public String getExecBroker() {\n Object ref = execBroker_;\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 execBroker_ = s;\n }\n return s;\n } else {\n return (String) ref;\n }\n }", "String getParentDriverName();", "public String getExecBroker() {\n Object ref = execBroker_;\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 execBroker_ = s;\n }\n return s;\n }\n }", "@Override\n\tpublic String getQueueName() {\n\t\treturn model.getQueueName();\n\t}", "public String getParentTitle() {\n return parentTitle;\n }", "public String getClientName ()\n\t{\n\t\treturn clientName;\n\t}", "com.google.protobuf.ByteString\n getParentBytes();", "public Long getParentConversationId()\r\n\t{\r\n\t\treturn parentConversationId;\r\n\t}", "public String getClientName() {\r\n return clientName;\r\n }", "public String getClientName() {\n\t\treturn name;\n\t}", "@Override\r\n public FileName getParent() {\r\n final String parentPath;\r\n final int idx = getPath().lastIndexOf(SEPARATOR_CHAR);\r\n if (idx == -1 || idx == getPath().length() - 1) {\r\n // No parent\r\n return null;\r\n }\r\n if (idx == 0) {\r\n // Root is the parent\r\n parentPath = SEPARATOR;\r\n } else {\r\n parentPath = getPath().substring(0, idx);\r\n }\r\n return createName(parentPath, FileType.FOLDER);\r\n }", "public String getParentLabel(){\n\t\treturn this.parentLabel;\n\t}", "public String getClientName() {\n return clientName;\n }", "public String getName() {\n\t\tSharedPreferences settings = parentContext.getSharedPreferences(PREFERENCE_FILE,\n\t\t\t\tContext.MODE_PRIVATE);\n\t\treturn settings.getString(USERNAME_KEY, null);\n\t}", "public String getParentId() {\n return parentId;\n }", "public String getParentId() {\n return parentId;\n }", "public String getParentId() {\n return parentId;\n }", "public String getParentId() {\n return parentId;\n }", "public String getParentId() {\n return parentId;\n }", "public String getParentId() {\n return parentId;\n }", "public String getParentId() {\n return parentId;\n }", "public String getParentId() {\n return parentId;\n }", "public String getParentId() {\n return parentId;\n }", "public static String getParentName(IL1Element actualSource) {\r\n\t\tEObject parent = actualSource;\r\n\t\twhile (!(parent instanceof TaskImpl || parent instanceof ProtectedImpl || parent instanceof EnvironTaskImpl)) {\r\n\t\t\tparent = parent.eContainer();\r\n\t\t}\r\n\r\n\t\tif (parent instanceof Signature)\r\n\t\t\treturn ((Signature) parent).getName();\r\n\t\telse\r\n\t\t\treturn null;\r\n\t}", "@DISPID(84)\r\n\t// = 0x54. The runtime will prefer the VTID if present\r\n\t@VTID(82)\r\n\tint parentID();", "public String getParentCall() {\n return parentCall;\n }", "public String queueName();", "@DISPID(53)\r\n\t// = 0x35. The runtime will prefer the VTID if present\r\n\t@VTID(58)\r\n\tint parentID();", "public String getTopicName() {\n if (topicName.isPresent()) {\n return topicName.get();\n }\n return null;\n }", "public @Nullable CharSequence getQueueTitle() {\n try {\n return mSessionBinder.getQueueTitle();\n } catch (RemoteException e) {\n Log.wtf(TAG, \"Error calling getQueueTitle\", e);\n }\n return null;\n }", "public String getQualifiedName() {\n if(probe.getHost() != null) {\n return probe.getHost().getName() + \"/\" + getName();\n } else {\n return \"/\" + getName();\n }\n }", "public String getQualifiedName() {\n if (probe.getHost() != null) {\n return probe.getHost().getName() + \"/\" + getName();\n } else {\n return \"/\" + getName();\n }\n }", "public String getParentActivity() {\n return parentActivity;\n }", "public long getParentKey() {\n\t\treturn parentKey;\n\t}", "public int getParentID() {\n\t\treturn _parentID;\n\t}", "@Override\n\tpublic String getPeerName() {\n\t\treturn null;\n\t}", "public BigDecimal getWtIdParent() {\r\n\t\tif (oldEntrust != null) {\r\n\t\t\treturn oldEntrust.getEntrustId();\r\n\t\t}\r\n\t\treturn wtIdParent;\r\n\t}", "@DISPID(150)\n @PropGet\n com4j.Com4jObject getParent();", "@DISPID(150)\n @PropGet\n com4j.Com4jObject getParent();", "public int getParentID() {\n\t\treturn parentID;\n\t}", "public Integer getParentid() {\n\t\treturn parentid;\n\t}", "public String getWorkerName(){\r\n\t\ttry {\r\n\t\t\treturn this.workerobj.getString(WorkerController.NAME);\r\n\t\t} catch (JSONException e) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}", "public java.lang.String getQueueName() {\n return queueName;\n }", "com.google.protobuf.ByteString getParentBytes();", "public String getMyPeerName() throws Exception\n {\n Pdu pdu = this.channel.writeForReply(makePdu(\"get_my_peer\"), replyTimeout, \"recv_pids\");\n return pdu.getString(\"pid\");\n }", "public String getParent() {\n int index = filename.lastIndexOf(separatorChar);\n\n if (index > 0) {\n return filename.substring(0, index);\n } else {\n return null;\n }\n\n }", "@XmlElement\n @Nullable\n public String getParentDocumentId() {\n return this.parentDocumentId;\n }", "public String getParentSku() {\n return parentSku;\n }", "public String getParentGenus() {\n return parentGenus;\n }", "java.lang.String getParent();", "java.lang.String getParent();", "public String getParentAgentcy() {\r\n return parentAgentcy;\r\n }", "@Transient\n\tpublic String getParentTransactionId()\t{\n\t\tif (mParentTransactionIdLong > 0) \n\t\t\treturn Long.toString(mParentTransactionIdLong);\n\t\telse\n\t\t\treturn null;\n\t}", "java.lang.String getChannelName();", "public String getParentContainerXPath()\n\t{\n\t\treturn this.parentContainerXPath;\n\t}", "public String getName() {\n return (NAME_PREFIX + _applicationId + DELIM + _endpointId);\n }", "@Array({11}) \n\t@Field(0) \n\tpublic Pointer<Byte > BrokerID() {\n\t\treturn this.io.getPointerField(this, 0);\n\t}", "public java.lang.String getBrokerAddress() {\n java.lang.Object ref = brokerAddress_;\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 brokerAddress_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String getPartnerName() {\n\t\treturn partnerName;\n\t}", "@NoProxy\n @NoWrap\n @NoDump\n public BwEvent getParent() {\n return parent;\n }", "public String getCodeParent() {\n\t\treturn codeParent;\n\t}", "public String getSubProcessName() {\n\t\treturn subProcessName;\n\t}", "public String getName() {\n return chatRoom.getName();\n }", "public String getTopicName() {\n if (activeTopic == null) {\n return \"\";\n } else {\n return TOPIC_HEADER_PRESTRING + activeTopic.getName();\n }\n }", "public String getPentahoName() {\n\t\treturn pentahoName;\n\t}", "public void setParentName(String name) { m_parentName = name; }", "String getPackageName() {\n final int lastSlash = name.lastIndexOf('/');\n final String parentPath = name.substring(0, lastSlash);\n return parentPath.replace('/', '.');\n }", "public String getChargename() {\n return chargename;\n }", "public String getPlayerName() {\n\t\tString name = super.getPlayerName();\n\t\treturn name;\n\t}", "java.lang.String getBrokerAddress();", "public java.lang.String getBeanIdentifier() {\n\t\treturn _preschoolParentLocalService.getBeanIdentifier();\n\t}" ]
[ "0.71938586", "0.67875224", "0.6786647", "0.67777336", "0.66057146", "0.6414897", "0.6386604", "0.63159096", "0.6272106", "0.62446976", "0.61964726", "0.6178449", "0.61683613", "0.6156483", "0.60927993", "0.609205", "0.5988633", "0.5988633", "0.5977345", "0.5977345", "0.5961095", "0.5953608", "0.5946874", "0.5942479", "0.5942479", "0.5918601", "0.5912155", "0.58919805", "0.5867064", "0.58603203", "0.58567786", "0.58460075", "0.5824708", "0.5779686", "0.57792985", "0.5745564", "0.5740682", "0.57347804", "0.57273966", "0.5717657", "0.5712383", "0.5698797", "0.56927496", "0.56882066", "0.56882066", "0.56882066", "0.56882066", "0.56882066", "0.56882066", "0.56882066", "0.56882066", "0.56882066", "0.5685901", "0.5658774", "0.56553304", "0.56518817", "0.55808824", "0.5571484", "0.5563898", "0.55526376", "0.5537196", "0.5490844", "0.5490208", "0.54882264", "0.54823595", "0.54817235", "0.5478525", "0.5478525", "0.5471187", "0.54678404", "0.54674125", "0.54659575", "0.5449695", "0.5438396", "0.54325706", "0.54181564", "0.5416954", "0.54131275", "0.5411614", "0.5411614", "0.54052293", "0.5402525", "0.54019237", "0.54001", "0.53977346", "0.5380346", "0.5379147", "0.5376427", "0.5373896", "0.5372956", "0.5372555", "0.5367002", "0.5363557", "0.5355818", "0.5353418", "0.5340882", "0.5333868", "0.5328817", "0.5325456", "0.5313983" ]
0.62380505
10
Gets the method usage string. This summarises how to use the method.
public Future<String> getUsage(String name) throws DynamicCallException, ExecutionException { return call("getUsage", name); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static String getUsage()\n {\n final StringBuilder usage = new StringBuilder(400);\n\n // Empty line before usage info\n usage.append(\"\\n \" \n // Describe commands/options\n + \"those <option> <command> <cmd-options> \\n\"\n + \" Options:\\n\"\n + \"\\t-v : Allows stack trace to be printed.\\n\" \n + \" Commands:\\n\"\n + getCreateUsage()\n + \" help\\n\" \n + \"\\t Displays this help message\\n\" \n + \" version\\n\" \n + \"\\t Displays the SDK version and supported Core APIs\\n\");\n\n return usage.toString();\n }", "public abstract String usage();", "@Override\n public Text getUsage(CommandSource source) {\n return usage;\n }", "private String usage() {\n return command(\"usage\");\n }", "public String usageString() {\n StringJoiner output = new StringJoiner(\" OR \");\n for (TokenMatcher tokenMatcher : matcherList) {\n output.add(tokenMatcher.usageString());\n }\n return \"USAGE: \" + output.toString();\n }", "public abstract String getUsageName();", "private static void printUsage(){\n\t\tprintLine(USAGE_STRING);\n\t}", "@XRMethod(value = \"system.help\", help = \"Returns usage information for a method\")\r\n\tString help(String methodName);", "public String getMethod()\n {\n if (averageRating == null) {\n return \"\";\n } else {\n return averageRating.getMethod();\n }\n }", "private String _getUsage() {\n\n StringBuffer buf = new StringBuffer();\n \n // Add FEI version number string and copyright statement\n buf.append(Constants.COPYRIGHT + \"\\n\");\n buf.append(Constants.CLIENTVERSIONSTR + \"\\n\");\n buf.append(Constants.APIVERSIONSTR + \"\\n\\n\");\n\n // All usuage statements begin with Usage: command name\n buf.append(\"Usage:\\t\" + this._userScript + \" \");\n\n if (this._actionId.equals(Constants.CREDLOGIN))\n {\n buf.append(\"[<user name> [<server group>] ] [help]\");\n }\n else if (this._actionId.equals(Constants.CREDLOGOUT))\n {\n buf.append(\"[<server group>] [help]\");\n }\n else if (this._actionId.equals(Constants.CREDLIST))\n {\n buf.append(\"[help]\");\n }\n else if (this._actionId.equals(Constants.ADDFILE))\n {\n buf.append(\"[<server group>:]<file type> <file name expression>\\n\")\n .append(\"\\t{[before|after <date-time>] | [between <date-time1> and <date-time2>]}\\n\")\n .append(\"\\t[format \\'<date format>\\'] [comment \\'<comment text>\\'] [crc] [receipt]\\n\")\n .append(\"\\t[autodelete] [filehandler] [help]\\n\\n\")\n .append(\"Usage:\\t\").append(this._userScript)\n .append(\" using <option file>\\n\");\n buf.append(\"Option File Format (per line):\\n\")\n .append(\"\\t[<server group>:]<file type> <file name>...\\n\")\n .append(\"\\t{[before|after <date-time>] | [between <date-time1> and <date-time2>]}\\n\")\n .append(\"\\t[format \\'<date format>\\'] [comment \\'<comment text>\\'] \\n\")\n .append(\"\\t[autodelete] [crc] [receipt]\");\n }\n else if (this._actionId.equals(Constants.REPLACEFILE)) \n {\n buf.append(\"[<server group>:]<file type> <file name expression>\\n\")\n .append(\"\\t{[before|after <date-time>] | [between <date-time1> and <date-time2>]}\\n\")\n .append(\"\\t[format \\'<date format>\\'] [comment \\'<comment text>\\'] [crc] [receipt]\\n\")\n .append(\"\\t[autodelete] [diff] [filehandler] [help]\\n\\n\")\n .append(\"Usage:\\t\").append(this._userScript)\n .append(\" using <option file>\\n\");\n buf.append(\"Option File Format (per line):\\n\")\n .append(\"\\t[<server group>:]<file type> <file name>...\\n\")\n .append(\"\\t{[before|after <date-time>] | [between <date-time1> and <date-time2>]}\\n\")\n .append(\"\\t[format \\'<date format>\\'] [comment \\'<comment text>\\'] \\n\")\n .append(\"\\t[autodelete] [crc] [receipt] [diff]\");\n }\n else if (this._actionId.equals(Constants.GETFILES))\n {\n buf.append(\"[<server group>:]<file type> [\\'<file name expression>\\'] \\n\")\n .append(\"\\t[output <path>] {[before|after <datetime>] | \\n\")\n .append(\"\\t[between <datetime1> and <datetime2>]} \\n\")\n .append(\"\\t[format \\'<date format>\\'] [crc] [saferead] [receipt] \\n\")\n .append(\"\\t{[replace|version]} [diff] [query <queryfile>] [replicate]\\n\")\n .append(\"\\t[replicateroot <rootdir>] [filehandler] [help]\\n\\n\")\n .append(\"Usage:\\t\").append(this._userScript)\n .append(\" using <option file>\\n\");\n buf.append(\"Option File Format (per line):\\n\")\n .append(\"\\t[<server group>:]<file type> [\\'<file name expression>\\']\\n\")\n .append(\"\\t[output <path>] {[before|after <date-time>] | \\n\")\n .append(\"\\t[between <date-time1> and <date-time2>]} \\n\")\n .append(\"\\t[format \\'<date format>\\'] [crc] [saferead] [receipt] \\n\")\n .append(\"\\t{[replace|version]} [diff]\");\n }\n else if (this._actionId.equals(Constants.AUTOGETFILES))\n {\n buf.append(\"[<server group:]<file type> \\n\")\n .append(\"\\t[output <path>] [restart] [using <option file>] {[pull|push]} \\n\")\n .append(\"\\t{[replace|version]} [format \\'<date format>\\'] [query <queryfile>]\\n\")\n .append(\"\\t[replicate] [replicateroot <rootdir>] [filehandler] [diff] [help]\\n\");\n buf.append(\"Option File Format:\\n\")\n .append(\"\\tcrc\\n\")\n .append(\"\\tdiff\\n\")\n .append(\"\\tinvoke <command>\\n\")\n .append(\"\\tinvokeExitOnError\\n\")\n .append(\"\\tinvokeAsync\\n\")\n .append(\"\\tlogFile <file name>\\n\")\n .append(\"\\tlogFileRolling {monthly|weekly|daily|hourly|minutely|halfdaily}\\n\")\n .append(\"\\tmailMessageFrom <email address>\\n\")\n .append(\"\\tmailMessageTo <email address, email address, ...>\\n\")\n .append(\"\\tmailReportAt <hh:mm am|pm, hh:mm am|pm, ...>\\n\")\n .append(\"\\tmailReportTo <email address, email address, ...>\\n\")\n .append(\"\\tmailSMTPHost <host name>\\n\")\n .append(\"\\tmailSilentReconnect\\n\")\n .append(\"\\treceipt\\n\").append(\"\\treplace\\n\")\n .append(\"\\tsaferead\\n\").append(\"\\tversion\");\n }\n else if (this._actionId.equals(Constants.AUTOSHOWFILES))\n {\n buf.append(\"[<server group:]<file type> \\n\")\n .append(\"\\t[output <path>] [restart] [using <option file>] {[pull|push]}\\n\")\n .append(\"\\t[format \\'<date format>\\'] [query <queryfile>] [filehandler]\\n\")\n .append(\"\\t[help]\\n\");\n buf.append(\"Option File Format:\\n\")\n .append(\"\\tinvoke <command>\\n\")\n .append(\"\\tinvokeExitOnError\\n\")\n .append(\"\\tinvokeAsync\\n\")\n .append(\"\\tlogFile <file name>\\n\")\n .append(\"\\tlogFileRolling {monthly|weekly|daily|hourly|minutely|halfdaily}\\n\")\n .append(\"\\tmailMessageFrom <email address>\\n\")\n .append(\"\\tmailMessageTo <email address, email address, ...>\\n\")\n .append(\"\\tmailReportAt <hh:mm am|pm, hh:mm am|pm, ...>\\n\")\n .append(\"\\tmailReportTo <email address, email address, ...>\\n\")\n .append(\"\\tmailSMTPHost <host name>\\n\")\n .append(\"\\tmailSilentReconnect\\n\");\n }\n else if (this._actionId.equals(Constants.MAKECLEAN))\n {\n buf.append(\"[<server group>:]<file type> [help]\");\n }\n else if (this._actionId.equals(Constants.DELETEFILE))\n {\n buf.append(\"[<server group>:]<file type> \\'<file name expression>\\' \\n\")\n .append(\"\\t[filehandler] [help]\\n\\n\")\n .append(\"Usage:\\t\").append(this._userScript)\n .append(\" using <option file>\\n\");\n buf.append(\"Option File Format (per line):\\n\")\n .append(\"\\t[<server group>:]<file type> \\'<file name expression>\\'\");\n }\n else if (this._actionId.equals(Constants.SHOWFILES))\n {\n buf.append(\"[<server group>:]<file type> [\\'<file name expression>\\'] \\n\")\n .append(\"\\t{[before|after <date-time>] | [between <date-time1> and <date-time2>]}\\n\")\n .append(\"\\t[format \\'<date format>\\'] {[long | verylong]} \\n\")\n .append(\"\\t[query <queryfile>] [filehandler] [help]\");\n }\n else if (this._actionId.equals(Constants.SETREFERENCE))\n {\n buf.append(\"[<server group>:]<file type> <file name> \\n\")\n .append(\"\\tvft <VFT name> reference <ref name> [help]\");\n }\n else if (this._actionId.equals(Constants.RENAMEFILE))\n {\n buf.append(\"[<server group>:]<file type> <old file name> <new file name>\\n\")\n .append(\"\\t[filehandler] [help]\\n\\n\")\n .append(\"Usage:\\t\")\n .append(this._userScript)\n .append(\" using <option file>\\n\")\n .append(\"Option File Format (per line):\\n\")\n .append(\"\\t[<server group>:]<file type> <old file name> <new file name>\");\n }\n else if (this._actionId.equals(Constants.COMMENTFILE))\n {\n buf.append(\"[<server group>:]<file type> <file name> comment \\n\")\n .append(\"\\t\\'<comment text>\\' [filehandler] [help]\");\n }\n else if (this._actionId.equals(Constants.COMPUTECHECKSUM))\n {\n buf.append(\"<file name expression> [help]\");\n }\n else if (this._actionId.equals(Constants.CHECKFILES))\n {\n buf.append(\"[<server group>:]<file type> [\\'<file name expression>\\']\\n\")\n .append(\"\\t{[before|after <date-time>] | [between <date-time1> and <date-time2>]}\\n\")\n .append(\"\\t[format \\'<date format>\\'] {[long | verylong]} [help]\\n\\n\")\n .append(\"Usage:\\t\")\n .append(this._userScript + \" using <option file>\\n\");\n buf.append(\"Option File Format (per line):\\n\")\n .append(\"\\t[<server group>:]<file type> \\'<file name expression>\\'\\n\")\n .append(\"\\t{[before|after <date-time>] | [between <date-time1> and <date-time2>]}\\n\")\n .append(\"\\t[format \\'<date format>\\'] {[long | verylong]}\");\n }\n else if (this._actionId.equals(Constants.DISPLAY))\n {\n buf.append(\"[<server group>:]<file type> <file name> [help]\");\n }\n else if (this._actionId.equals(Constants.ACCEPT))\n {\n buf.append(\"[<server group>:]<file type> for <add|replace|get|delete>\\n\")\n .append(\"\\t[output <path>] [crc] [saferead] [autodelete] {[replace|version]}\\n\")\n .append(\"\\t[diff] [help]\");\n }\n else if (this._actionId.equals(Constants.SHOWTYPES))\n {\n buf.append(\"{\\'[<server group>:][<file type expression>]\\'|[srvgroups]}\\n\")\n .append(\"\\t[classic] [help]\\n\");\n }\n else if (this._actionId.equals(Constants.CHECK))\n {\n buf.append(\"[help]\");\n }\n else if (this._actionId.equals(Constants.REGISTERFILE))\n {\n buf.append(\"[<server group>:]<file type> <file name expression>\\n\")\n .append(\"\\t[replace] [force] [comment \\'<comment text>\\']\\n\")\n .append(\"\\t{[before|after <date-time>] | [between <date-time1> and <date-time2>]}\\n\")\n .append(\"\\t[format \\'<date format>\\'] [receipt] [filehandler] [help]\\n\\n\")\n .append(\"Usage:\\t\").append(this._userScript)\n .append(\" using <option file>\\n\");\n buf.append(\"Option File Format (per line):\\n\")\n .append(\"\\t[<server group>:]<file type> <file name>... [replace] [force]\\n\")\n .append(\"\\t{[before|after <date-time>] | [between <date-time1> and <date-time2>]}\\n\")\n .append(\"\\t[format \\'<date format>\\'] [comment \\'<comment text>\\'] [receipt]\");\n }\n else if (this._actionId.equals(Constants.UNREGISTERFILE))\n {\n buf.append(\"[<server group>:]<file type> \\'<file name expression>\\' \\n\")\n .append(\"\\t[filehandler] [help]\\n\\n\")\n .append(\"Usage:\\t\").append(this._userScript)\n .append(\" using <option file>\\n\");\n buf.append(\"Option File Format (per line):\\n\")\n .append(\"\\t[<server group>:]<file type> \\'<file name expression>\\'\");\n }\n else if (this._actionId.equals(Constants.LOCKFILETYPE))\n {\n buf.append(\"[<server group>:]<file type> [owner | group] [help]\\n\"); \n }\n else if (this._actionId.equals(Constants.UNLOCKFILETYPE))\n {\n buf.append(\"[<server group>:]<file type> [owner | group] [help]\\n\"); \n }\n else if (this._actionId.equals(Constants.CHANGEPASSWORD))\n {\n buf.append(\"<server group> [help]\\n\"); \n }\n else\n {\n }\n \n \n \n return buf.toString();\n }", "protected String methodString(Method m) {\n if (m == null) return \"(null)\"; // Catch border-case, prevent NPE\n \n Class[] parameters= m.getParameterTypes();\n StringBuffer buf= new StringBuffer()\n .append(m.getReturnType().getName())\n .append(' ')\n .append(m.getName())\n .append(':')\n .append(parameters.length)\n .append(\"(\");\n \n // Append parameter types\n for (Class c: parameters) {\n buf.append(c.getName()).append(\", \");\n }\n if (parameters.length > 0) { \n buf.delete(buf.length() - 2, buf.length());\n }\n \n return buf.append(')').toString();\n }", "public DGUsage getUsage() {\n if (usageBuilder_ == null) {\n return usage_;\n } else {\n return usageBuilder_.getMessage();\n }\n }", "public String toString() {\n\t\treturn methodName;\n\t}", "protected static void printUsage() {\n\t}", "public String usage()\n {\n return (\"Common [optional] options supported by Minitest:\\n\"\n + \"(Note: assumes inputDir=.\\\\tests\\\\api)\\n\"\n + super.usage()); // Grab our parent classes usage as well\n }", "public String methodReturn() {\n\t\t\n\t\treturn \"Executing a method which returns a String Text\";\n\t}", "private String getName() {\n return method.getName();\n }", "public String toString() {\n StringBuffer sb = new StringBuffer();\n sb.append(\"Summary for \");\n sb.append(method.toString());\n sb.append(':');\n sb.append(Strings.lineSep);\n// for (Iterator i=nodes.keySet().iterator(); i.hasNext(); ) {\n// Node n = (Node)i.next();\n// sb.append(\"\\t\");\n// sb.append(n.toString_long());\n// sb.append(Strings.lineSep);\n// }\n if(params != null && params.length > 0) {\n sb.append(\"\\tParams: \");\n sb.append(Arrays.asList(params));\n sb.append(Strings.lineSep);\n }\n if (returned != null && !returned.isEmpty()) {\n sb.append(\"\\tReturned: \");\n sb.append(returned);\n sb.append(Strings.lineSep);\n }\n if (thrown != null && !thrown.isEmpty()) {\n sb.append(\"\\tThrown: \");\n sb.append(thrown);\n sb.append(Strings.lineSep);\n }\n if (calls != null && !calls.isEmpty()) {\n sb.append(\"\\tCalls: \");\n sb.append(calls);\n sb.append(Strings.lineSep);\n }\n return sb.toString();\n }", "public String getFullName() {\n return getFullMethodName(method);\n }", "public String getUsage(String name) throws DynamicCallException, ExecutionException {\n return (String)call(\"getUsage\", name).get();\n }", "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 }", "UsagePattern getUsagePattern();", "String getMethod();", "String getMethod();", "java.lang.String getPurpose();", "String getMethodName();", "String getMethodName();", "java.lang.String getMethodName();", "java.lang.String getMethodName();", "java.lang.String getMethodName();", "java.lang.String getMethodName();", "public String getUsage() {\n return \"robot repair --input <file> \" + \"--output <file> \" + \"--output-iri <iri>\";\n }", "protected void showUsage() {\n\n\tStringBuffer usage = new StringBuffer();\n\tusage.append(\"------------------------------------------------------\\n\");\n\tusage.append(\" \" + APP_NAME + \" \" + APP_VERSION + \"\\n\");\n\tusage.append(\"------------------------------------------------------\\n\");\n\tusage.append(\"Prints the Tool Kit name for the given Branch and \\n\");\n\tusage.append(\"Component.\\n\");\n\tusage.append(\"\\n\");\n\tusage.append(\"USAGE:\\n\");\n\tusage.append(\"------\\n\");\n\tusage.append(APP_NAME + \" <-c component> <-b branch> [-y] [-h] [-db dbMode]\\n\");\n\tusage.append(\"\\n\");\n\tusage.append(\" component = Component name (ess, pds, model, einstimer ...).\\n\");\n\tusage.append(\" branch = Branch name.\\n\");\n\tusage.append(\" -y = (optional) Verbose mode (echo messages to screen)\\n\");\n\tusage.append(\" dbMode = (optional) DEV | PROD (defaults to PROD)\\n\");\n\tusage.append(\" -h = Help (shows this information)\\n\");\n\tusage.append(\"\\n\");\n\tusage.append(\"Return Codes\\n\");\n\tusage.append(\"------------\\n\");\n\tusage.append(\" 0 = application ran ok\\n\");\n\tusage.append(\" 1 = application error\\n\");\n\tusage.append(\"\\n\");\n\n\tSystem.out.println(usage);\n\n }", "public void printUsage() {\n printUsage(System.out);\n }", "public java.lang.Object getMethodHelp(String methodName) throws CallError, InterruptedException {\n return (java.lang.Object)service.call(\"getMethodHelp\", methodName).get();\n }", "public String toDetailedString() {\n \t\tStringJoiner joiner = new StringJoiner(\"\\r\\n\");\n \t\tfor (MethodInfo method : methods) {\n \t\t\tjoiner.add(method.toString());\n \t\t}\n \t\treturn joiner.toString();\n \t}", "public String toString() {\n\t\treturn super.toString()+\" for \"+purpose+\" using \";}", "@Override\n\t\tpublic long usage() {\n\t\t\t\n\t\t\treturn super.usage();\n\t\t}", "public static String usageAsString( int usage ){\n\n\n String desc = \"\";\n if ( (usage & KeyUsage.digitalSignature) > 0) desc += \"digitalSignature \";\n if ( (usage & KeyUsage.nonRepudiation) > 0) desc += \"nonRepudiation \";\n if ( (usage & KeyUsage.keyEncipherment) > 0) desc += \"keyEncipherment \";\n if ( (usage & KeyUsage.dataEncipherment) > 0) desc += \"dataEncipherment \";\n if ( (usage & KeyUsage.keyAgreement) > 0) desc += \"keyAgreement \";\n if ( (usage & KeyUsage.keyCertSign) > 0) desc += \"keyCertSign \";\n if ( (usage & KeyUsage.cRLSign) > 0) desc += \"cRLSign \";\n if ( (usage & KeyUsage.encipherOnly) > 0) desc += \"encipherOnly \";\n if ( (usage & KeyUsage.decipherOnly) > 0) desc += \"decipherOnly \";\n\n return (desc);\n }", "public String methodBase() {\n\t\tString tmp = name;\n\t\ttmp = tmp.replaceFirst(\"^get\", \"\");\n\t\ttmp = tmp.replaceFirst(\"^is\", \"\");\n\t\treturn tmp.substring(0,1).toLowerCase()+tmp.substring(1);\n\t}", "java.lang.String getHowToUse();", "java.lang.String getHowToUse();", "private static String getCreateUsage()\n {\n final StringBuilder createUsage = new StringBuilder(200);\n \n createUsage.append(\" create\\n\"\n + \"\\t Syntax:\\n\"\n + \"\\t\\tcreate <Template.Type ClassName> [-d] [-b phys.link.type] \"\n + \"[-k package.name] [directory]\\n\"\n + \"\\n\\t Template Type\\n\"\n + \"\\t\\t-a : Asset template\\n\"\n + \"\\t\\t-p : PhysicalLink template\\n\"\n + \"\\t\\t-l : LinkLayer template\\n\" \n + \"\\t\\t-t : TransportLayer template\\n\\n\"\n + \"\\t Cmd-Options\\n\"\n + \"\\t\\t-d : Use default properties (package, vendor, API, etc.)\\n\"\n + \"\\t\\t-b : If creating a physical link plug-in,\"\n + \" specify the type of physicallink being created. \"\n + \"Available values are: \" + formatPlTypesValueString()\n + \"\\n\\t\\t-k : Set the package name (also used for bundle symbolic name and JAR filename)\\n\"\n + \"\\n\\t directory : Directory to generate plug-in files in. \"\n + \"If none is specified the current working \"\n + \"directory will be used.\\n\\n\");\n \n return createUsage.toString();\n }", "public Future<Object> getMethodHelp(String methodName) throws DynamicCallException, ExecutionException {\n return call(\"getMethodHelp\", methodName);\n }", "public String getStatUse() {\n return statUse.formatRatio(statUse.getRatio());\n }", "public String getHelp() {\r\n String res = \"You can use the following commands:\" + System.getProperty(\"line.separator\");\r\n res += \"Type \\\"north\\\" to go towards the north\" + System.getProperty(\"line.separator\");\r\n res += \"Type \\\"south\\\" to go towards the south\" + System.getProperty(\"line.separator\");\r\n res += \"Type \\\"east\\\" to go towards the south\" + System.getProperty(\"line.separator\");\r\n res += \"Type \\\"west\\\" to go towards the south\" + System.getProperty(\"line.separator\");\r\n res += \"Type \\\"attack\\\" to attack a monster\" + System.getProperty(\"line.separator\");\r\n res += \"Type \\\"look\\\" to look around in the room\" + System.getProperty(\"line.separator\");\r\n res += \"Type \\\"search\\\" to search the room for treasure\" + System.getProperty(\"line.separator\");\r\n res += \"Type \\\"use\\\" to use somthing in your inventory\" + System.getProperty(\"line.separator\");\r\n res += \"Type \\\"gear\\\" to see what gear you got equipped\" + System.getProperty(\"line.separator\");\r\n res += \"Type \\\"inventory\\\" to see what gear you have in your inventory\" + System.getProperty(\"line.separator\");\r\n res += \"Type \\\"savegame\\\" to save your progress\" + System.getProperty(\"line.separator\");\r\n res += \"Type \\\"stop\\\" to quit the game.\" + System.lineSeparator();\r\n return res;\r\n }", "public String getHelp();", "public String getUsageString(int a_usage)\n\t{\n\t\tswitch(a_usage)\n\t\t{\n\t\t\tcase KeyUsage.digitalSignature:\n\t\t\t\treturn TXT_DIGITAL_SIGNATURE;\n\t\t\tcase KeyUsage.nonRepudiation:\n\t\t\t\treturn TXT_NON_REPUDIATION;\n\t\t\tcase KeyUsage.keyEncipherment:\n\t\t\t\treturn TXT_KEY_ENCIPHERMENT;\n\t\t\tcase KeyUsage.dataEncipherment:\n\t\t\t\treturn TXT_DATA_ENCIPHERMENT;\n\t\t\tcase KeyUsage.keyAgreement:\n\t\t\t\treturn TXT_KEY_AGREEMENT;\n\t\t\tcase KeyUsage.keyCertSign:\n\t\t\t\treturn TXT_KEY_CERT_SIGN;\n\t\t\tcase KeyUsage.cRLSign:\n\t\t\t\treturn TXT_CRL_SIGN;\n\t\t\tcase KeyUsage.encipherOnly:\n\t\t\t\treturn TXT_ENCIPHER_ONLY;\n\t\t\tcase KeyUsage.decipherOnly:\n\t\t\t\treturn TXT_DECIPHER_ONLY;\n\t\t\tdefault:\n\t\t\t\treturn null;\n\t\t}\n\t}", "private static String getMethodDescShort(String desc) {\n if (desc == null || desc.length() == 0) {\n return desc;\n }\n int bracketIndex = desc.indexOf(\"(\");\n if (bracketIndex < 0) {\n return desc;\n }\n int startIndex = desc.lastIndexOf(' ', bracketIndex - 2);\n if (startIndex < 0) {\n return desc;\n }\n return desc.substring(startIndex + 1);\n }", "@AutoEscape\n\tpublic String getUsageType();", "public String formatUses() {\n return statUse.formatDenominator();\n }", "@Override\r\n public String getUsage() {\r\n return String.format(\"%s <%s> %s%s <%s>\", super.getCommand(), super.getArgumentName(), FLAG_PREFIX, flagOption,\r\n flagName);\r\n }", "public String getUsage(String name) throws CallError, InterruptedException {\n return (String)service.call(\"getUsage\", name).get();\n }", "private static String printMethod(Method method) {\n StringBuilder builder = new StringBuilder();\n\n builder.append(method.getName());\n builder.append(\"( \");\n for (Class<?> param : method.getParameterTypes()) {\n builder.append(param.getSimpleName() + \" \");\n }\n builder.append(\")\");\n return builder.toString();\n }", "String getSourceUsageURL();", "public DGUsage getUsage() {\n return usage_;\n }", "static String invokingMethod(ContributionDef def)\n {\n return MESSAGES.format(\"invoking-method\", def);\n }", "String getHelpString();", "@Override\n public String toString() {\n return (\"Command \" + this.getCommandName().toUpperCase() + \":\\n\" + this\n .commandDocumentation());\n }", "void info(String s) {\n System.out.println(s + \": E16_OverloadJavaDoc is \"\n + height + \" feet tall\");\n }", "@Override\n public int getMethod() {\n writeline(\"/home/ubuntu/results/coverage/ZipArchiveEntry/ZipArchiveEntry_5_10.coverage\", \"b89def63-26ff-4cb0-98cc-9b6cee3e0e29\");\n return method;\n }", "public String getMethodName() {\n return LOG_TAG + \":\" + this.getClass().getSimpleName() + \".\" + new Throwable().getStackTrace()[1].getMethodName();\n }", "public String getMethod ()\n {\n return method;\n }", "public String getUsageType() {\n return this.usageType;\n }", "@Override\n public String toString() {\n StringBuilder builder = new StringBuilder();\n builder.append(accessType.toString());\n if(staticMethod)\n builder.append(\" static \");\n else\n builder.append(\" \");\n builder.append(returnTypeName);\n builder.append(\" \");\n builder.append(name);\n builder.append(\"(\");\n if(arguments != null) {\n Iterator<String> it = arguments.iterator();\n if(it.hasNext()) {\n builder.append(it.next());\n }\n while(it.hasNext()) {\n builder.append(\", \");\n builder.append(it.next());\n }\n }\n builder.append(\")\");\n return builder.toString().trim();\n }", "public void method(String name) {\n System.out.printf(\"Called method with parameters %s \\n\", name);\n }", "public static void showUsage() {\n System.out.printf(\"java app.App (-a | -r | -c | +WORD | ?WORD)\");\n }", "public static String asString(Method method)\n {\n StringBuilder buffer = new StringBuilder();\n \n buffer.append(method.getDeclaringClass().getName());\n buffer.append('.');\n buffer.append(method.getName());\n buffer.append('(');\n \n for (int i = 0; i < method.getParameterTypes().length; i++)\n {\n if (i > 0)\n buffer.append(\", \");\n \n String name = method.getParameterTypes()[i].getSimpleName();\n \n buffer.append(name);\n }\n \n return buffer.append(')').toString();\n }", "private static String callMethodAndLine() {\n\t\tStackTraceElement thisMethodStack = (new Exception()).getStackTrace()[4];\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb\n.append(AT)\n\t\t\t\t.append(thisMethodStack.getClassName() + \".\")\n\t\t\t\t.append(thisMethodStack.getMethodName())\n\t\t\t\t.append(\"(\" + thisMethodStack.getFileName())\n\t\t\t\t.append(\":\" + thisMethodStack.getLineNumber() + \") \");\n\t\treturn sb.toString();\n\t}", "@Override\n\t\tpublic String buildBasicMethod() {\n\t\t\treturn buildMethod();\n\t\t}", "private static void printUsage()\n {\n HelpFormatter hf = new HelpFormatter();\n String header = String.format(\n \"%nAvailable commands: ring, cluster, info, cleanup, compact, cfstats, snapshot [name], clearsnapshot, bootstrap\");\n String usage = String.format(\"java %s -host <arg> <command>%n\", NodeProbe.class.getName());\n hf.printHelp(usage, \"\", options, header);\n }", "public Object getMethodHelp(String methodName) throws DynamicCallException, ExecutionException {\n return (Object)call(\"getMethodHelp\", methodName).get();\n }", "public abstract String commandDocumentation();", "public java.lang.String getUsageMd () {\n\t\treturn usageMd;\n\t}", "public static void usage () {\n System.out.println(\"Usage:\");\n System.out.println(\" i[nformation]\");\n System.out.println(\" r[egister] <course>\");\n System.out.println(\" u[nregister] <course>\");\n System.out.println(\" q[uit]\");\n }", "@objid (\"f29e2e4a-e5e9-43fa-b193-525c198df148\")\n EList<Message> getUsage();", "public static String getFullMethodPath () \t{\n\t\t\n\t\treturn Thread.currentThread().getStackTrace()[2].toString();\n\t}", "public static String getDesc(Method m)\n\t{\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(m.getName());\n\t\tsb.append('(');\n\t\t\n\t\tClass<?>[] types = m.getParameterTypes();\n\t\tfor (Class<?> type : types) \n\t\t{\n\t\t\tsb.append(getDesc(type));\n\t\t}\n\t\tsb.append(')');\n\t\tsb.append(getDesc(m.getReturnType()));\n\t\t\n\t\treturn sb.toString();\n\t}", "public String getMethodName() {\r\n return _methodName;\r\n }", "@Override\n public String showHelp()\n {\n return new String(ChatColour.RED + \"Usage: \" + ChatColour.AQUA + this.getName());\n }", "static String toString(int kind, Class<?> defc, String name, MethodType type) {\n\t\treturn referenceKindToString(kind) + \" \" + defc.getName() + \".\" + name + \":\" + type; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$\n\t}", "@Override\n public String toString() {\n return String.format(\"REIL function %s\", getName());\n }", "public java.lang.String getHowToUse() {\n java.lang.Object ref = howToUse_;\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 howToUse_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getHowToUse() {\n java.lang.Object ref = howToUse_;\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 howToUse_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String getMethodName() {\n return methodName;\n }", "public String getMethodName() {\n return methodName;\n }", "public abstract String getHelpInfo();", "@Override\n public String toString() {\n return getClass().getSimpleName() + \": call $\" + name.signatureName + (comment == null ? \"\" : \" ;; \\\"\" + comment + \"\\\"\");\n }", "public String toString()\n {\n // import Component.Application.Console.Coherence;\n \n return \"RefAction{Method=\" + getMethod().getName() + \", Target=\" + getTarget() +\n \", Args=\" + Coherence.toString(getArguments()) + '}';\n }", "@Nullable @NotEmpty public String getMethod() {\n return StringSupport.trimOrNull(method);\n }", "String description();", "String description();", "String description();", "String description();", "String description();", "String description();", "String description();", "String description();", "String description();", "String description();" ]
[ "0.7153835", "0.7113183", "0.64574474", "0.6436373", "0.63557553", "0.63144106", "0.62647265", "0.6251661", "0.62160975", "0.6173847", "0.6159932", "0.61098677", "0.60781085", "0.6074676", "0.6025148", "0.60111564", "0.59445906", "0.5934366", "0.5892022", "0.5888068", "0.58456075", "0.58383775", "0.5792776", "0.5792776", "0.5789743", "0.57602805", "0.57602805", "0.5757165", "0.5757165", "0.5757165", "0.5757165", "0.5747542", "0.5713871", "0.570182", "0.5674264", "0.567165", "0.5668414", "0.56579065", "0.5617308", "0.557772", "0.5569442", "0.5569442", "0.5568643", "0.556254", "0.5545868", "0.5543987", "0.55239177", "0.5513879", "0.5505878", "0.54961103", "0.54857427", "0.5484995", "0.5483569", "0.54579616", "0.54522866", "0.5436613", "0.5430606", "0.54235554", "0.5412513", "0.5412222", "0.540267", "0.53950095", "0.5393317", "0.5387462", "0.5387028", "0.5385928", "0.5379268", "0.5366916", "0.5365125", "0.53645766", "0.5334379", "0.53311294", "0.53234357", "0.5322401", "0.53078115", "0.53057903", "0.5304881", "0.52892625", "0.52854395", "0.5274967", "0.52686083", "0.5263847", "0.5256127", "0.5256127", "0.5252306", "0.5252306", "0.5236649", "0.52286243", "0.52221686", "0.52205324", "0.52197534", "0.52197534", "0.52197534", "0.52197534", "0.52197534", "0.52197534", "0.52197534", "0.52197534", "0.52197534", "0.52197534" ]
0.541283
58
Performs the texttospeech operations : it takes a std::string as input and outputs a sound in both speakers. String encoding must be UTF8.
public Future<Void> say(String stringToSay) throws DynamicCallException, ExecutionException{ return call("say", stringToSay); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void ConvertTextToSpeech(String voice1) {\n text=voice1;\n //text = et.getText().toString();\n if (text == null || \"\".equals(text)) {\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n } else\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", "void playSpeech(String rawText);", "public interface Text2Speech {\n\t\n\t/**\n\t * Supported formats.\n\t */\n\tenum OutputFormat {\n\t\t/**\n\t\t * MP3 format.\n\t\t */\n\t\tMP3,\n\t\t/**\n\t\t * Ogg-vorbis format.\n\t\t */\n\t\tOGG\n\t}\n\t\n\t/**\n\t * Produce MP3 with specified phrase.\n\t * \n\t * @param phrase Some sentence.\n\t * @return MP3 stream (may be network bound, close afterwards)\n\t */\n\tInputStream synthesize(String phrase, OutputFormat fmt) throws IOException;\n}", "private void convertTextToSpeech(String text) {\n if (null == text || \"\".equals(text)) {\n text = \"Please give some input.\";\n }\n m_tts.speak(text, TextToSpeech.QUEUE_ADD, null);\n }", "private void tts(String str){\n\t\ttxtSpeechInput.setText(str);\n\t\tt1.speak(str , TextToSpeech.QUEUE_FLUSH, null);\n\t\twhile(t1.isSpeaking()){\n\t\t\t;\n\t\t}\n\t}", "private boolean convert(String text,String directory,String fileName) {\r\n\t\t\r\n\t\tif(!text.isEmpty()) {\t\t\t\r\n\t\t\tFile file = new File(directory,fileName);\r\n\t\t\t\r\n\t\t\t// create mp3 file with this weather announcement\r\n\t\t\tlog.fine(\"text to speech conversion: text=\"+text+\" filename=\"+file);\r\n\t\t\t\r\n\t\t\t// translate into mp3 stream\r\n\t\t\ttry{\r\n\t text=java.net.URLEncoder.encode(text, \"UTF-8\");\r\n\t //URL url = new URL(\"http://translate.google.com/translate_tts?tl=de&ie=UTF-8&q=\"+text+\"&total=1&idx=0&client=alarmpi\");\r\n\t \r\n\t Map<String, String> requestParams = new HashMap<>();\r\n\t requestParams.put(\"key\", \"f5d762f987f34397b350af6563ffb818\");\r\n\t requestParams.put(\"hl\", \"de-de\");\r\n\t requestParams.put(\"c\", \"MP3\");\r\n\t requestParams.put(\"src\", text);\r\n\t \r\n\t\t\t\tString encodedURL = requestParams.keySet().stream()\r\n\t \t .map(key -> key + \"=\" + requestParams.get(key))\r\n\t \t .collect(Collectors.joining(\"&\", \"http://api.voicerss.org?\", \"\"));\r\n\t \r\n\t URL url = new URL(encodedURL);\r\n\t log.fine(\"URL=\"+encodedURL);\r\n\t \r\n\t HttpURLConnection urlConn = (HttpURLConnection) url.openConnection();\r\n\t urlConn.addRequestProperty(\"User-Agent\", \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36\");\r\n\t InputStream audioSrc = urlConn.getInputStream();\r\n\t DataInputStream read = new DataInputStream(audioSrc);\r\n\t OutputStream outstream = new FileOutputStream(file);\r\n\t byte[] buffer = new byte[1024];\r\n\t int len;\r\n\t int totalLength = 0;\r\n\t while ((len = read.read(buffer)) > 0) {\r\n\t \toutstream.write(buffer, 0, len);\r\n\t \ttotalLength += len;\r\n\t }\r\n\t outstream.close();\r\n\t log.fine(\"text2speech byteount=\"+totalLength);\r\n\t \r\n\t if(totalLength<1024) {\r\n\t \t// this indicates a problem...\r\n\t \tlog.severe(\"text2speech conversion returns less than 1k data\");\r\n\t }\r\n\t \r\n\t \t\t// update mpd database\r\n\t SoundControl.getSoundControl().update();\r\n\t \r\n\t return true;\r\n\t\t\t} catch(IOException e){\r\n\t\t\t\tlog.severe(\"Exception in text to speech conversion: \"+e.getMessage());\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\telse {\r\n\t\t\tlog.warning(\"Text to speech conversion called with empty text\");\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "private void ConvertTextToSpeech() {\n if (properties.get(selectedStateOrCountry) != null) {\n tts.speak(String.format(\"This is %s %s\", selectedStateOrCountry, properties.get(selectedStateOrCountry)),\n TextToSpeech.QUEUE_FLUSH, null);\n\n } else if (countryCapitalMap.get(selectedStateOrCountry) != null) {\n tts.speak(countryCapitalMap.get(selectedStateOrCountry), TextToSpeech.QUEUE_FLUSH, null);\n } else {\n tts.speak(selectedStateOrCountry, TextToSpeech.QUEUE_FLUSH, null);\n }\n }", "private void speak(String s, String text) {\n if (Utility.getInstance().isOnline(mContext)) {\n try {\n float pitch = (float) 0.62;\n float speed = (float) 0.86;\n textToSpeech.setSpeechRate(speed);\n textToSpeech.setPitch(pitch);\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n Bundle bundle = new Bundle();\n bundle.putInt(TextToSpeech.Engine.KEY_PARAM_STREAM, AudioManager.STREAM_MUSIC);\n textToSpeech.speak(s, TextToSpeech.QUEUE_FLUSH, bundle, null);\n textToSpeech.speak(text, TextToSpeech.QUEUE_ADD, bundle, null);\n } else {\n HashMap<String, String> param = new HashMap<>();\n param.put(TextToSpeech.Engine.KEY_PARAM_STREAM, String.valueOf(AudioManager.STREAM_MUSIC));\n textToSpeech.speak(s, TextToSpeech.QUEUE_FLUSH, param);\n textToSpeech.speak(text, TextToSpeech.QUEUE_ADD, param);\n }\n } catch (Exception ae) {\n ae.printStackTrace();\n }\n } else {\n Toast.makeText(mContext, getString(R.string.please_check_internet), Toast.LENGTH_SHORT).show();\n }\n }", "public void speak(String text);", "public void speak(String outputSpeak) \n {\n speaker.speaker(outputSpeak);\n }", "@SuppressWarnings(\"unchecked\")\n public void speak(String text) throws JavaLayerException {\n\t\ttry {\n \n //Create a JLayer instance\n AdvancedPlayer player = new AdvancedPlayer(synthesizer.getMP3Data(text));\n player.play();\n \n } catch (IOException e) {\n \n }\n\t\t\n\t}", "private void speakOut(String text) {\n\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", "@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)\n private void speakWords(String speech) {\n myTTS.speak (speech, TextToSpeech.QUEUE_FLUSH, null,\"1\");\n\n }", "@Override\n protected synchronized void onSynthesizeText(SynthesisRequest request,\n SynthesisCallback callback) {\n int load = onLoadLanguage(request.getLanguage(), request.getCountry(),\n request.getVariant());\n\n // We might get requests for a language we don't support - in which case\n // we error out early before wasting too much time.\n if (load == TextToSpeech.LANG_NOT_SUPPORTED) {\n callback.error();\n return;\n }\n\n // At this point, we have loaded the language we need for synthesis and\n // it is guaranteed that we support it so we proceed with synthesis.\n\n // We denote that we are ready to start sending audio across to the\n // framework. We use a fixed sampling rate (16khz), and send data across\n // in 16bit PCM mono.\n callback.start(SAMPLING_RATE_HZ,\n AudioFormat.ENCODING_PCM_16BIT, 1 /* Number of channels. */);\n\n // We then scan through each character of the request string and\n // generate audio for it.\n final String text = request.getText().toLowerCase();\n for (int i = 0; i < text.length(); ++i) {\n char value = normalize(text.charAt(i));\n // It is crucial to call either of callback.error() or callback.done() to ensure\n // that audio / other resources are released as soon as possible.\n if (!generateOneSecondOfAudio(value, callback)) {\n callback.error();\n return;\n }\n }\n\n // Alright, we're done with our synthesis - yay!\n callback.done();\n }", "private void speakout(String cname) \n{\n\t{t1.speak(cname,TextToSpeech.QUEUE_FLUSH,null);\n\tt1.setLanguage(Locale.ENGLISH);\n\t}\n}", "public void speakText(String text) {\n mTTS.setPitch(1);\n mTTS.setSpeechRate(1);\n mTTS.speak(String.format(\"Okay! Searching for %s\", text),\n TextToSpeech.QUEUE_FLUSH, null);\n }", "public static void speak(Context context, final String text) {\n Log.d(TAG, \"Speak : \" + text);\n if (mTTSEngine == null) {\n mTTSEngine = new TextToSpeech(context, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int i) {\n if (i == TextToSpeech.SUCCESS) {\n mTTSEngine.setLanguage(Locale.US);\n mTTSEngine.setPitch(1f);\n mTTSEngine.setSpeechRate(1f);\n\n mTTSEngine.speak(text, TextToSpeech.QUEUE_ADD, null, UTTERANCE_ID);\n } else {\n mTTSEngine = null;\n }\n }\n });\n } else {\n mTTSEngine.speak(text, TextToSpeech.QUEUE_ADD, null, UTTERANCE_ID);\n }\n }", "private static String transcribe(String filePath) throws Exception {\n try (SpeechClient speech = SpeechClient.create()) {\n Path path = Paths.get(filePath);\n byte[] data = Files.readAllBytes(path);\n ByteString audioBytes = ByteString.copyFrom(data);\n\n // Configure request with local raw PCM audio\n RecognitionConfig config =\n RecognitionConfig.newBuilder()\n .setEncoding(SPEECH_ENCODING)\n .setLanguageCode(SPEECH_LANGUAGE_CODE)\n .setSampleRateHertz(SPEECH_SAMPLE_RATE)\n .build();\n RecognitionAudio audio = RecognitionAudio.newBuilder().setContent(audioBytes).build();\n\n // Use blocking call to get audio transcript\n RecognizeResponse response = speech.recognize(config, audio);\n List<SpeechRecognitionResult> results = response.getResultsList();\n\n for (SpeechRecognitionResult result : results) {\n // There can be several alternative transcripts for a given chunk of speech. Just use the\n // first (most likely) one here.\n SpeechRecognitionAlternative alternative = result.getAlternativesList().get(0);\n return alternative.getTranscript();\n }\n }\n return \"\";\n }", "public synchronized AudioInputStream stringToSound(String sentence) throws CaptchaException {\n //use the custom (see inner class) InputStreamAudioPlayer, which provide interface to\n // Audio Stream\n InputStreamAudioPlayer audioPlayer = new InputStreamAudioPlayer();\n\n this.voice.setAudioPlayer(audioPlayer);\n\n // Synthesize speech.\n this.voice.speak(sentence);\n\n AudioInputStream ais = audioPlayer.getAudioInputStream();\n return ais;\n }", "public void transcribe (String utterance, float confidence) \n{\n //println(utterance);\n if (!utterance.equals(\"\"))\n {\n result = utterance;\n ListenForKeywords(result);\n println(result);\n inputResult = result;\n result = \"\";\n \n //CheckCommandValidity(result);\n \n }\n}", "private void speakOut() {\n\n tts.speak(\"Hello I am jessie\", TextToSpeech.QUEUE_FLUSH, null);\n tts.setLanguage(Locale.ENGLISH);\n //tts.setPitch(9);\n tts.setSpeechRate(1);\n }", "@Override\n public void onClick(View v) {\n StringRequest stringRequest = searchNameStringRequest(output.getText().toString(),\"en\",\"ar\");\n\n\n\n // executing the request (adding to queue)\n queue.add(stringRequest);\n\n String toSpeak = output.getText().toString();\n\n t1.speak(toSpeak, TextToSpeech.QUEUE_FLUSH, null);\n }", "private void speakExtractedText(TextToSpeech tts, String fileTextContent){\n Bundle dataMap = new Bundle();\n dataMap.putFloat(TextToSpeech.Engine.KEY_PARAM_PAN, 0f);\n dataMap.putFloat(TextToSpeech.Engine.KEY_PARAM_VOLUME, 1f);\n dataMap.putInt(TextToSpeech.Engine.KEY_PARAM_STREAM, AudioManager.STREAM_VOICE_CALL);\n\n\n tts.speak(fileTextContent, TextToSpeech.QUEUE_FLUSH, dataMap, FRAGMENT_GENERAL_UTTERANCE_ID);\n }", "private boolean synthesizeToFile(String text, ArrayList<String> params,\n String filename, boolean calledFromApi) {\n // Only stop everything if this is a call made by an outside app trying\n // to\n // use the API. Do NOT stop if this is a call from within the service as\n // clearing the speech queue here would be a mistake.\n if (calledFromApi) {\n stop();\n }\n Log.i(\"TTS\", \"Synthesizing to \" + filename);\n boolean synthAvailable = false;\n try {\n synthAvailable = synthesizerLock.tryLock();\n if (!synthAvailable) {\n return false;\n }\n // Don't allow a filename that is too long\n if (filename.length() > MAX_FILENAME_LENGTH) {\n return false;\n }\n nativeSynth.synthesizeToFile(text, filename);\n } finally {\n // This check is needed because finally will always run; even if the\n // method returns somewhere in the try block.\n if (synthAvailable) {\n synthesizerLock.unlock();\n }\n }\n Log.i(\"TTS\", \"Completed synthesis for \" + filename);\n return true;\n }", "public boolean speak(String text) {\n\treturn speak(new FreeTTSSpeakableImpl(text));\n }", "private void speak() {\n if(textToSpeech != null && textToSpeech.isSpeaking()) {\n textToSpeech.stop();\n }else{\n textToSpeech = new TextToSpeech(activity, this);\n }\n }", "@Override\n public void onInit(int status) {\n\t \n\tif (status == TextToSpeech.SUCCESS) {\n\t\t \n int result = mTts.setLanguage(Locale.US);\n if (result != TextToSpeech.LANG_MISSING_DATA && result != TextToSpeech.LANG_NOT_SUPPORTED) {\n \tspokenText += spokenText+\"\"+spokenText+\"\";\n // mTts.speak(\"Dear sir your class is finished!! Dear sir your class is finished!! Dear sir your class is finished!!\", TextToSpeech.QUEUE_FLUSH, null);\n mTts.speak(spokenText, TextToSpeech.QUEUE_FLUSH, null);\n } \n } \n\t \n}", "private void speakout(String cname) \n\t\t\t{\n\t\t\t\t{t1.speak(cname,TextToSpeech.QUEUE_FLUSH,null);\n\t\t\t\tt1.setLanguage(Locale.ENGLISH);\n\t\t\t\t}\n\t\t\t}", "public String speak(){\n speechOutput.clear();\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Just speak normally into your phone\");\n intent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, 10);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.ENGLISH);\n try {\n startActivityForResult(intent, VOICE_RECOGNITION);\n } catch (ActivityNotFoundException e) {\n e.printStackTrace();\n }\n\n\n return speechResult;\n }", "@Override\n public void onClick(View v) {\n text_to_speech = set_voice(text_to_speech);\n int len = ar.length;\n for (int i = 0; i < len; i++){\n speak(text_to_speech,ar[i]);\n }\n }", "public interface ITextToSpeech {\n\n /* loaded from: classes.dex */\n public interface TextToSpeechCallback {\n void onFailure();\n\n void onSuccess();\n }\n\n boolean isInitialized();\n\n int isLanguageAvailable(Locale locale);\n\n void onDestroy();\n\n void onResume();\n\n void onStop();\n\n void setPitch(float f);\n\n void setSpeechRate(float f);\n\n void speak(String str, Locale locale);\n}", "public interface TTSController {\n\t\n\t/**\n\t * Plays the given string of text as speech.\n\t */\n\tvoid playSpeech(String rawText);\n\t\n}", "private void speak() {\n String s = textArea.getText();\n String s5=\"images\\\\\";\n String s4=\".jpeg\";\n String obj=s5+s+s4;\n ImageIcon ic1=new ImageIcon(obj);\n Image image1=ic1.getImage().getScaledInstance(image.getWidth(),image.getHeight(),Image.SCALE_AREA_AVERAGING);\n ImageIcon icon1=new ImageIcon(image1);\n image.setIcon(icon1);\n int i = textArea.getCaretPosition();\n int k = s.length();\n for (int j = i; j <= k - 1; j++) {\n char c = s.charAt(j);\n String s3 = Character.toString(c);\n s2 = s2 + s3;\n }\n VoiceManager voiceManager = VoiceManager.getInstance();\n helloVoice = voiceManager.getVoice(\"kevin16\");\n helloVoice.allocate();\n helloVoice.speak(s2);\n helloVoice.deallocate();\n playB.setText(\"PLAY\");\n }", "public abstract WordAudioDocument convertToAudioDocument(TextDocument doc) throws IOException;", "public static void oralOutput(String text)\n\t{\n\t\tSystem.setProperty(\"mbrola.base\",\"E:\\\\Automation\\\\mbrola\");\n\t\tVoiceManager vm=VoiceManager.getInstance();\n\t\tVoice v=vm.getVoice(\"mbrola_us1\"); //or kevin16\n\t\tv.allocate();\n\t\tv.speak(text);\n\t\tv.deallocate();\n\t}", "private void setTextTospeech() {\n textToSpeech = new TextToSpeech(mContext, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n Set<Locale> languages = textToSpeech.getAvailableLanguages();\n if (language.toLowerCase().contains(langaugeCodeEnglish)) {\n int result = textToSpeech.setLanguage(new Locale(\"en\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n //Toast.makeText(mContext, result + \" is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n }\n } else {\n int result = textToSpeech.setLanguage(new Locale(\"hi\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n result = textToSpeech.setLanguage(Locale.forLanguageTag(\"hin\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n\n // Toast.makeText(mContext, result + \"Language is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \"Language is not supported\");\n }\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n if (result == TextToSpeech.LANG_NOT_SUPPORTED) {\n showTtsLanuageNSDialog();\n }\n }\n }\n }\n });\n }", "@FXML\r\n void btnspeechClick(MouseEvent event) {\n \t\r\n \t setService();\r\n setHeader();\r\n \r\n System.out.println(service);\r\n \r\n InputStream stream = service.synthesize(\r\n taContent.getText(), // 변경할 문자열\r\n \tVoice.EN_LISA, // voice 선택\r\n \tAudioFormat.WAV // 출력할 오디오 포멧 형식 \r\n ).execute();\r\n // 음성데이터를 저장하기\r\n try {\r\n InputStream in = WaveUtils.reWriteWaveHeader(stream);\r\n //WaveUtils.\r\n \r\n OutputStream os = new FileOutputStream(\"d:/d_other/AIData/test12.wav\");\r\n \r\n byte[] tmp = new byte[1024];\r\n int len = 0;\r\n \r\n while((len = in.read(tmp)) != -1) {\r\n os.write(tmp, 0, len);\r\n }\r\n os.flush();\r\n \r\n os.close();\r\n in.close();\r\n stream.close();\r\n \r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n }\r\n \r\n music();\r\n\r\n }", "public interface TextSpeakLogicInterface {\n\n public void speakOut(String text);\n public void stopSpeak();\n\n}", "private void speak() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM) ;\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Speak the Item\");\n\n startActivityForResult(intent, SPEECH_REQUEST_CODE);\n\n }", "private void addSpeech(String text, String filename) {\n mUtterances.put(text, new SoundResource(filename));\n }", "public interface TTSService {\r\n void TTS(String word);\r\n}", "private void sayHello() {\n\n\t\tmTts.speak(translatedText, TextToSpeech.QUEUE_FLUSH, // Drop allpending\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// entries in\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// the playback\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// queue.\n\t\t\t\tnull);\n\t}", "private void speak(String text, int queueMode, ArrayList<String> params) {\n if (queueMode == 0) {\n stop();\n }\n mSpeechQueue.add(new SpeechItem(text, params, SpeechItem.TEXT));\n if (!mIsSpeaking) {\n processSpeechQueue();\n }\n }", "String sound();", "public void addSpeechFile(String text, String filename) {\n mSelf.addSpeech(text, filename);\n }", "public abstract void addWordAudio(WordAudio audio) throws IOException;", "void playTone(){\n t = new Thread() {\n public void run(){\n isRunning = true;\n setPriority(Thread.MAX_PRIORITY);\n\n\n\n audioTrack.play();\n\n for (int i = 0; i < message.length(); i++) {\n\n ASCIIBreaker breaker = new ASCIIBreaker((int)message.charAt(i));\n\n int frequencies[] = breaker.ASCIIToFrequency();\n\n //Generate waves for all different frequencies\n for(int fre : frequencies) {\n audioTrack.write(generateSineInTimeDomain(fre),0,sample_size);\n }\n\n audioTrack.write(generateSineInTimeDomain(7000),0,sample_size);\n }\n\n audioTrack.stop();\n audioTrack.release();\n }\n };\n t.start();\n }", "public void onTick(long millisUntilFinished) {\n\n t1.speak(String.valueOf(millisUntilFinished/1000),TextToSpeech.QUEUE_ADD, null);\n while(t1.isSpeaking());\n }", "private void askSpeechInput() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT,\n \"Hi speak something\");\n speakOut(\"Open Mic\");\n try {\n startActivityForResult(intent, REQ_CODE_SPEECH_INPUT);\n } catch (ActivityNotFoundException a) {\n\n }\n }", "InputStream synthesize(String phrase, OutputFormat fmt) throws IOException;", "public void speakOut(final String text){\n\t\tif (listener != null){\n\t\t\thandler.post(new Runnable() {\n\t\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\tlistener.speakOut(text.trim());\t\t\t\t\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}", "public abstract void startVoiceRecognition(String language);", "static void speak(String words) {\n\t\ttry {\n\t\t\tRuntime.getRuntime().exec(\"say \" + words).waitFor();\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public void speak(String speech)\n\t{\n\t\tif (ttsReady)\n\t\t{\n\t\t\ttts.speak(speech, TextToSpeech.QUEUE_FLUSH, null);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tUtils.makeLog(\"Tried to speak before TTS was ready\");\n\t\t}\n\t}", "void TranslateToTurkish() {\n // Check wheter the device language is English\n if(Locale.getDefault().getDisplayLanguage() == \"en\"){ // Don't do anything if it is English\n }\n else { // Translate to device language (For now just Turkish)\n final Handler textViewHandler = new Handler();\n new AsyncTask<Void, Void, Void>() {\n @Override\n protected Void doInBackground(Void... params) {\n TranslateOptions options = TranslateOptions.newBuilder()\n .setApiKey(googleApiKey)\n .build();\n Translate translate = options.getService();\n final Translation translation =\n translate.translate(textToSpeechInputText,\n Translate.TranslateOption.targetLanguage(\"tr\"));\n textViewHandler.post(new Runnable() {\n @Override\n public void run() {\n Log.d(\"Translated text:\", translation.getTranslatedText().toString());\n textToSpeechInputText = translation.getTranslatedText().toString();\n Log.d(\"Output\", textToSpeechInputText);\n //Speak of the result\n Speak(textToSpeechInputText);\n state = 2; // Turn state to speaking the result\n }\n });\n return null;\n }\n }.execute();\n }\n }", "public void run() {\n\t\t\t Publisher<std_msgs.String> publisher = ROSControl.getPublisher(rosTopic);\n\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\tint maxSentenceLength = 90; // in terms of the number of characters\n\t\t\t\t\tint timer = 0;\n\t\t\t\t\tint maxWaitingTime = 100; // 100 x sleep(100) = 10 seconds\n\t\t\t\t\tArrayList<String> sentences = splitUtterance(output, maxSentenceLength);\n\t\t\t\t\t\n\t\t\t\t\t// ==================================== Just in case if the robot is currently speaking, wait for it to finish, halt when timeout ==================================== //\n\t\t\t\t\tif (ChatBot.isSpeaking) {\n\t\t\t\t\t\tlog.debug(\"+++++ Waiting for the current speech to finish +++++\");\n\t\t\t\t\t\tlog.debug(\"\\\"\" + output + \"\\\" is in the queue...\");\n\t\t\t\t\t\t\n\t\t\t\t\t\twhile (ChatBot.isSpeaking && timer < maxWaitingTime) {\n\t\t\t\t\t\t\ttimer++;\n\t\t\t\t\t\t\tThread.sleep(100);\n\t\t\t\t\t\t\tif (timer >= maxWaitingTime) log.warning(\"+++++ TIMEOUT! +++++\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t// ==================================== Send out the utterance sentence by sentence ==================================== //\n\t\t\t\t\tStopTheThread:\n\t\t\t\t\tfor (int i = 0; i < sentences.size(); i++) {\n\t\t\t\t\t\t// Send the next sentence when the the first sentence is finished\n\t\t\t\t\t\tif (i != 0) {\n\t\t\t\t\t\t\twhile (!ChatBot.sendNextSentence) {\n\t\t\t\t\t\t\t\t// Wait until it is allowed to send the next sentence\n\t\t\t\t\t\t\t\tThread.sleep(100);\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t// If a \"shut up\" signal is received, stop the thread from sending the rest of the sentences\n\t\t\t\t\t\t\t\tif (ChatBot.shutUp) {\n\t\t\t\t\t\t\t\t\tChatBot.shutUp = false;\n\t\t\t\t\t\t\t\t\tlog.warning(\"<< The speech is interrupted >>\");\n\t\t\t\t\t\t\t\t\tbreak StopTheThread;\n\t\t\t\t\t\t\t\t}\n\t\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\tString sentence = sentences.get(i);\n\t\t\t\t\t\tstd_msgs.String pubStr = publisher.newMessage();\n\t\t\t\t\t\tpubStr.setData(sentence);\n\t\t\t\t\t\tThread.sleep(130);\n\t\t\t\t\t\t\n\t\t\t\t\t\tChatBot.isSpeaking = true;\n\t\t\t\t\t\tlog.debug(\"Publishing: \" + sentence);\n\t\t\t\t\t\tpublisher.publish(pubStr);\n\t\t\t\t\t\tChatBot.sendNextSentence = false;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t// ==================================== Wait for the last sentence to finish, halt when timeout ==================================== //\n\t\t\t\t\tChatBot.speakingTheLastSentence = true;\n\t\t\t\t\tlog.debug(\"+++++ Waiting for the last sentence to finish +++++\");\n\t\t\t\t\ttimer = 0;\n\t\t\t\t\twhile (!ChatBot.sendNextSentence && timer < maxWaitingTime) {\n\t\t\t\t\t\ttimer++;\n\t\t\t\t\t\tThread.sleep(100);\n\t\t\t\t\t\tif (timer >= maxWaitingTime) log.warning(\"+++++ TIMEOUT! +++++\");\n\t\t\t\t\t}\n\t\t\t\t\tlog.debug(\"+++++ Last sentence finished +++++\");\n\t\t\t\t\tChatBot.isSpeaking = false;\n\t\t\t }\n\t\t\t \n\t\t\t catch(InterruptedException e) {\n\t\t\t \te.printStackTrace();\n\t\t\t }\n\t\t\t}", "public void setAudioEncoding(String s) {\n audioEncoding = s;\n }", "@Override\n public int playTTSText(String speech, int bPreempt) {\n Log.e(\"test_TTS\", \"playTTSText\" + \"_\" + speech + \"_\" + bPreempt);\n\n return 1;\n }", "@Override\n public int playTTSText(String speech, int bPreempt) {\n Log.e(\"test_TTS\", \"playTTSText\" + \"_\" + speech + \"_\" + bPreempt);\n\n return 1;\n }", "public interface TextToSpeechCallback {\n void onFailure();\n\n void onSuccess();\n }", "private void speakOut() {\n\n tts.speak(dialogue, TextToSpeech.QUEUE_FLUSH, null);\n }", "public void speak(){\n System.out.println(\"Smile and wave boys. Smile and wave.\");\n }", "public String getSpeechResult(String hypothesis){\n\n\n String[] arrayOfStrings = hypothesis.split(\"text\\\" :\");\n String textPredicted = arrayOfStrings[1];\n\n arrayOfStrings = textPredicted.split(\"\\\"\");\n textPredicted = arrayOfStrings[1];\n\n return textPredicted;\n }", "private void generateTts() {\n File mediaStorageDir = new File(\n Environment.getExternalStorageDirectory(),\n resources.getTtsStorageFolder());\n \n if (!mediaStorageDir.exists())\n {\n if (!mediaStorageDir.mkdirs())\n {\n Log.w(TAG, \"Failed to create mediadir\");\n }\n else\n {\n Log.d(TAG, \"Created mediadir\" + mediaStorageDir.getAbsolutePath());\n }\n }\n\n File mediaFile = new File(mediaStorageDir.getPath() + File.separator + resources.getTtsFileName());\n Log.d(TAG, \"TTS path : \" + mediaFile.getAbsolutePath());\n\n HashMap<String, String> hashTts = new HashMap<>();\n hashTts.put(TextToSpeech.Engine.KEY_PARAM_UTTERANCE_ID, \"ttsToFile\");\n t1.setSpeechRate(Float.parseFloat(resources.getTtsSpeechRate()));\n t1.synthesizeToFile(message, hashTts, mediaFile.getAbsolutePath());\n\n }", "private void initializeTextToSpeech() {\n myTTS = new TextToSpeech(this, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int i) {\n if(myTTS.getEngines().size() ==0){\n Toast.makeText(MainActivity.this, \"There is no Text to Speech engine on your device\", Toast.LENGTH_LONG).show();\n finish();\n }\n else {\n myTTS.setLanguage(Locale.US);\n speak(\"Hello! Welcome to the workout app\");\n\n }\n }\n });\n }", "public void speak(String text, int queueMode, String[] params) {\n ArrayList<String> speakingParams = new ArrayList<String>();\n if (params != null) {\n speakingParams = new ArrayList<String>(Arrays.asList(params));\n }\n mSelf.speak(text, queueMode, speakingParams);\n }", "void translate(Sentence sentence);", "public void makeDecision(String speech , List<WordResult> speechWords) {\r\n\t\tVoiceManager vm =VoiceManager.getInstance();\r\n\t\tVoice voice;\r\n\t\tvoice=vm.getVoice(\"mbrola_us3\");\r\n\t\tvoice.allocate();\r\n\t\tSystem.out.println(speech);\r\n\t\t//System.out.println(speech+\"fdsf\");\r\n\t\t if(speech.equalsIgnoreCase(\"shutdown computer\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\" Shuting down the computer\");\r\n\t\t \tRuntime rm=Runtime.getRuntime();\r\n\t\t\t\ttry{\r\n\t\t\t\t\tProcess proc=rm.exec(\"shutdown -s -t 0\");\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e)\r\n\t\t\t\t{}\r\n\t\t\t\t\r\n\r\n\t\t \t}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"restart computer\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"restarting the computer\");\r\n\t\t \tRuntime rm=Runtime.getRuntime();\r\n\t\t\t\ttry{\r\n\t\t\t\t\tProcess proc=rm.exec(\"shutdown -r -t 0\");\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e)\r\n\t\t\t\t{}\r\n\t\t\t\t\r\n\t\t \t}\r\n\t\t \tcatch(Exception e)\r\n\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\t else if(speech.equalsIgnoreCase(\"who is smart\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"Abhay bhadouriya is smartest person alive in this world\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who is ugly\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"your sister and friends are the most ugliest persons in the world \");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"what is time\"))\r\n\t\t {\r\n\t\t \tDate dm=new Date();\r\n\t\t \tint h=dm.getHours();\r\n\t\t \tint m=dm.getMinutes();\r\n\t\t \tif(h>12)\r\n\t\t \t{\r\n\t\t \t\th=h-12;\r\n\t\t \t}\r\n\t\t \t\r\n\t\t \ttry {voice.speak(\"TIME is\"+h+\"Hour\"+m+\"Minutes\" );}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"say hello \"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"Hello this is your computer\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"please sleep\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"no i don't wont to sleep\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open facebook\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"facebook\");\r\n\t\t \t FUNC.facebook();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open google\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"google\");\r\n\t\t \t FUNC.google();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open youtube\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"youtube\");\r\n\t\t \t FUNC.youtube();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open gmail\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"gmail\");\r\n\t\t \t FUNC.gmail();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"play music\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"music\");\r\n\t\t \t FUNC.pmusic();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"volume up\"))\r\n\t\t {\r\n\t\t \tvoice.speak(\"volume increasing by 10\");\r\n\t\t \t\tvolume.up();\r\n\t\t \t\t\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"volume down\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t\t voice.speak(\"volume decreasing by 10\");\r\n\t \t\tvolume.down();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"show desktop\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"Showing desktop\");\r\n\t\t\t FUNC.desktop();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"how are you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"i'm fine and you \");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"what day is today\"))\r\n\t\t {\r\n\t\t\t Date dd=new Date();\r\n\t\t\t int i=dd.getDay();\r\n\t\t\t\tif(i==0)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is sunday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==1)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is monday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==2)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is tuesday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==3)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is wednesday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==4)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is thursday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==5)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is friday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==6)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is saturday\");\r\n\t\t\t\t}\r\n\t\t\t \r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to right\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.right();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to left\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.left();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to up\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t emotion.up();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to down\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.down();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"select this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.select();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"view its property\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.property();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"view item menu\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.viewmenu();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on mouse by keyboard\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.turnon();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close this window tab\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.close();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"switch window tab\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.switcht();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"ok dude take some rest\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t voice.speak(\"have a nice day\");\r\n\t\t\t voice.speak(\"i'm very lucky to have a master like you sir \");\r\n\t\t\t voice.speak(\"good night my suprier great master\");\r\n\t\t\t System.exit(0);\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn off wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on bluetooth\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t try{\r\n\t \t\t Process p ;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c fsquirt\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the notepad\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start notepad\");\r\n\t \t\t // System.out.println(\"inside\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t } else if(speech.equalsIgnoreCase(\"close the notepad\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im notepad.exe /f\");\r\n\t \t\t // System.out.println(\"inside\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the command\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t\t\tProcess p;\r\n\t \t\t\t\tp = Runtime.getRuntime().exec(\"cmd /c start cmd\");\t\t\t\t\r\n\t \t\t\t\t}catch(Exception er)\r\n\t \t\t\t\t{}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the command\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im cmd.exe /f\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the browser\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start chrome.exe\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the browser\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im chrome.exe /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the control panel\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c control\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the control panel\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c control taskkill /im control /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the paint\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start mspaint\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the paint\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im mspaint.exe /f\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the task manager\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start taskmgr.exe\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the task manager\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t \tp = Runtime.getRuntime().exec(\"cmd /c start taskkill /im taskmgr.exe /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open power option\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c powercfg.cpl\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open windows security center\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c wscui.cpl\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"copy this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok item is copied\");\r\n\t\t\t basiccontrolls.copy();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"paste here selected item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"item is pasted\");\r\n\t\t\t basiccontrolls.paste();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"cut this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok item is cut\");\r\n\t\t\t basiccontrolls.cut();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"go back\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok going to previous page\");\r\n\t\t\t basiccontrolls.back();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"show me my beautiful face\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"you look like a donkey\");\r\n\t\t\t basiccontrolls.camera();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who the hell are you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"hello\");\r\n\t\t\t voice.speak(\"i am computer \");\r\n\t\t\t voice.speak(\"here i'm assist by you \");\r\n\t\t\t voice.speak(\"i will do anything what ever you told me todo and \"+\" \"+\" what instruction are feeded in my dictionary\");\r\n\t\t\t voice.speak(\"Thank you for asking \");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who loves you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"no one loves me \");\r\n\t\t\t voice.speak(\"except my charger \");\r\n\t\t\t voice.speak(\"but more impoertantly i looks far handsome than you \");\r\n\t\t\t voice.speak(\"you peace of shit \");\r\n\t\t\t voice.speak(\"your face is look like a monkey\");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"do you like engineering\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"no\");\r\n\t\t\t voice.speak(\"I hate engineering\");\r\n\t\t\t voice.speak(\"you ruined my life \");\r\n\t\t }\r\n\t\t/* else if(speech.equalsIgnoreCase(\"turn off wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }*/\r\n\r\n\t}", "public abstract String play(SoundLibrary library, String... sound);", "@Override\n\t\t\tpublic void onClick(View v) \n\t\t\t{\n\t\t\t\tISpeechServiceProxy iss = new SpeechServiceProxy() ;\n\t\t\t\tiss.textToSpeech(ServiceAction.TTS_ACTION, ReadTextActivity.this, inputText.getText().toString()) ;\n\t\t\t}", "public void Save2Wave(String i_filename) {\n\t \tStringBuffer output = new StringBuffer();\n\t\t\ttry {\n\t\t\t\tBufferedReader in = new BufferedReader(new FileReader(i_filename));\n\t\t\t\tString st;\n\t\t\t\twhile ((st=in.readLine()) != null) {\n\t\t\t\toutput.append(st);\n\t\t\t\toutput.append(\" \");\n\t\t\t\t}\n\t\t\t\tin.close();\n\t\t\t}\n\t\t\tcatch (Exception fx) {\n\t\t\t\tSystem.out.println(\"IO error in Synthesis: \" + fx.toString());\n\t\t\t}\n\t\t\tm_ttsLocal.SaveToFile(output.toString());\n\t\t}", "public void ChangeSoundOutput(String output) {\n shellExec(\"osascript \" + Parse(dataPath(\"ChangeAudioOutput.scpt\")) + \" \\\"\" + output + \"\\\"\");\n println(\"Audio output set to \" + output);\n}", "public void recordVoice() {\n\t\t\n\t\t//String command = \"ffmpeg -f alsa -i hw:0 -t 2 -acodec pcm_s16le -ar 16000 -ac 1 foo.wav\"\n\t\tString command = \"arecord -d 2 -r 22050 -c 1 -i -t wav -f s16_LE foo.wav\";\n\t\t\n\t\tProcessBuilder pb = new ProcessBuilder(\"bash\" , \"-c\" , command );\n\t\ttry {\n\t\t\t\n\t\t\tProcess recordProcess = pb.start();\n\t\t\t\n\t\t\trecordProcess.waitFor();\n\t\t\t\n\t\t\trecordProcess.destroy();\n\t\n\t\t\t\n\t\t}catch (IOException ioe) {\n\t\t\tioe.printStackTrace();\n\t\t\t\n\t\t}catch (InterruptedException ie) {\n\t\t\tie.printStackTrace();\n\t\t}\n\t\t\n\t}", "private void addSpeech(String text, String packageName, int resId) {\n mUtterances.put(text, new SoundResource(packageName, resId));\n }", "public interface TextToSpeechListener {\n\n\tvoid onTTSInit(int ttsResult) ;\n}", "@Override\n protected void onActivityResult(int requestCode, int resultCode,\n Intent data) {\n if (requestCode == REQ_CODE_SPEECH_INPUT && resultCode == RESULT_OK) {\n List<String> results = data.getStringArrayListExtra(\n RecognizerIntent.EXTRA_RESULTS);\n String spokenText = results.get(0);\n // Do something with spokenText\n convert.setText(spokenText);\n\n }\n super.onActivityResult(requestCode, resultCode, data);\n }", "@Override\r\n public void onInit(int status) {\n if(status!=TextToSpeech.ERROR) {\r\n ttobj.setLanguage(Locale.UK);\r\n //ttobj.setPitch(2);\r\n }\r\n }", "public void sayText(String normal, String altered){\n\t\tvoiceGen.sayText(normal, altered);\n\t}", "@Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n int result = tts.setLanguage(Locale.US);\n if (result == TextToSpeech.LANG_MISSING_DATA ||\n result == TextToSpeech.LANG_NOT_SUPPORTED) {\n Log.e(\"error\", \"This Language is not supported\");\n } else {\n ConvertTextToSpeech(\"\");\n\n }\n } else\n Log.e(\"error\", \"Initilization Failed!\");\n\n\n }", "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main);\n txtSpeechInput = (TextView) findViewById(R.id.txtSpeechInput);\n textToSpeech = new TextToSpeech(getApplicationContext(), new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status != TextToSpeech.ERROR) {\n textToSpeech.setLanguage(Locale.ENGLISH);\n }\n }\n });\n\n btnSpeak = (ImageButton) findViewById(R.id.btnSpeak);\n btnSpeak.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n\n promptSpeechInput();\n }\n });\n\n }", "protected SpeechletResponse getAskSpeechletResponse (String speechText) {\n SimpleCard card = new SimpleCard();\r\n card.setTitle(\"Carkak Temperature\");\r\n card.setContent(speechText);\r\n\r\n // Create the plain text output.\r\n PlainTextOutputSpeech speech = new PlainTextOutputSpeech();\r\n speech.setText(speechText);\r\n\r\n Reprompt reprompt = new Reprompt();\r\n reprompt.setOutputSpeech(speech);\r\n\r\n return newAskResponse(card, speech, reprompt);\r\n }", "@Override\r\n public String speak() {\r\n String word = \"\";\r\n Time.getInstance().time += 1;\r\n if (Time.getInstance().time == 1) {\r\n word = \"One day Neznaika decided to become an artist.\";\r\n }\r\n if (Time.getInstance().time == 101) {\r\n word = \"This story happened once day with Neznaika.\";\r\n }\r\n if (Time.getInstance().time == 201) {\r\n word = \"One day Neznaika wanted to become a musician.\";\r\n }\r\n if (Time.getInstance().time == 401) {\r\n word = \"One day Neznaika wanted to become a poet.\";\r\n }\r\n System.out.println(word);\r\n return word;\r\n }", "private void listenToSpeech(int returnCode) {\n\t\tIntent listenIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\t\t//indicate package\n\t\tlistenIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, getClass().getPackage().getName());\n\t\t//message to display while listening\n\t\tlistenIntent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"\");\n\t\t//set speech model\n\t\tlistenIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n\t\t//specify number of results to retrieve\n\t\tlistenIntent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, 10);\n\t\t//start listening\n\t\tstartActivityForResult(listenIntent, returnCode);\n\n\t}", "public static String say(String speaker, String text)\n\t{\t\t\n\t\treturn String.format(\"%s says \\\"%s\\\"\", speaker, text);\n\t}", "public void addSpeech(String text, String packageName, int resId) {\n mSelf.addSpeech(text, packageName, resId);\n }", "public void convertVoiceToMaori() {\n\t\tString command = \"HVite -H HTK/MaoriNumbers/HMMs/hmm15/macros -H HTK/MaoriNumbers/HMMs/hmm15/hmmdefs -C HTK/MaoriNumbers/user/configLR -w HTK/MaoriNumbers/user/wordNetworkNum -o SWT -l '*' -i recout.mlf -p 0.0 -s 5.0 HTK/MaoriNumbers/user/dictionaryD HTK/MaoriNumbers/user/tiedList foo.wav\";\n\t\t\n\t\tProcessBuilder pb = new ProcessBuilder(\"bash\" , \"-c\" , command );\n\t\ttry {\n\t\t\t\n\t\t\tProcess convertProcess = pb.start();\n\t\t\t\n\t\t\tconvertProcess.waitFor();\n\t\t\t\n\t\t\tconvertProcess.destroy();\n\t\t\t\n\t\n\t\t\t\n\t\t}catch (IOException ioe) {\n\t\t\tioe.printStackTrace();\n\t\t\t\n\t\t}catch (InterruptedException ie) {\n\t\t\tie.printStackTrace();\n\t\t}\n\t\n\t\n\t\n\t}", "public void speakClicked(View v)\n {\n EditText editText = (EditText) findViewById(R.id.inputText);\n\n mTts.speak(editText.getText().toString(),\n TextToSpeech.QUEUE_FLUSH, // Drop all pending entries in the playback queue.\n null,\n null);\n }", "@Override\n\tpublic Map<String, Object> apiProcess(ParamContextHolder paramContextHolder, CApiBase arg1) throws ApiProcessException {\n\t\tMap<String, Object> map = new HashMap<>();\n\t\tString id = paramContextHolder.getReq().getParameter(\"id\");\n\t\tif(!cosProcess.checkFileExist(folder+id+\"_zh.mp3\")){\n\t\t\tNNovelContent content = iNNovelContentService.selectById(id);\n\t\t\tif(content == null){\n\t\t\t\tthrow new ApiProcessException(\"C0001\",\"语音合成异常\");\n\t\t\t}\n\t\t\tString str = cosProcess.getContent(content.getBookId()+\"/\"+content.getId());\n\t\t\tstr = str.replaceAll(\"</br>\", \"\");\n\t\t\tList<String> list = new ArrayList<>();\n\t\t\tstr = str.trim();\n\t\t\twhile(str.length()>0){\n\t\t\t\tif(str.length() > 2000){\n\t\t\t\t\tint index = str.indexOf(\"。\", 2000);\n\t\t\t\t\tif(index == -1){\n\t\t\t\t\t\tindex = str.indexOf(\".\", 2000);\n\t\t\t\t\t}\n\t\t\t\t\tif(index == -1){\n\t\t\t\t\t\tindex = str.indexOf(\",\", 2000);\n\t\t\t\t\t}\n\t\t\t\t\tif(index == -1){\n\t\t\t\t\t\tindex = str.indexOf(\",\", 2000);\n\t\t\t\t\t}\n\t\t\t\t\tlist.add(str.substring(0, index));\n\t\t\t\t\tstr = str.substring(index);\n\t\t\t\t}else{\n\t\t\t\t\tlist.add(str);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tbyte[] data = {};\n\t\t\tfor(String s : list){\n\t\t\t\tTtsResponse res = client.synthesis(s,\"zh\",1,null);\n\t\t\t\tSystem.out.println(res.getResult());\n\t\t\t\tif(!(res.getResult()==null)) throw new ApiProcessException(\"C0001\",\"语音合成异常\");\n\t\t\t\tdata = ArrayUtils.addAll(data,res.getData());\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tcosProcess.createMP3(folder+content.getId()+\"_zh.mp3\", new ByteArrayInputStream(data));\n\t\t\t} catch (Exception e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\tthrow new ApiProcessException(\"C0001\",\"语音合成异常\");\n\t\t\t}\n\t\t}\n\t\tmap.put(\"url\",path+folder+id+\"_zh.mp3\");\n\t\treturn map;\n\t}", "public void onInit(int arg0) {\n\t\t if (arg0 == TextToSpeech.SUCCESS) {\r\n\t\t\t \r\n\t int result = texttospeech.setLanguage(Locale.US);\r\n\t \r\n\t if (result == TextToSpeech.LANG_MISSING_DATA\r\n\t || result == TextToSpeech.LANG_NOT_SUPPORTED) {\r\n\t Log.e(\"TTS\", \"This Language is not supported\");\r\n\t } \r\n\t else \r\n\t {\r\n\t speakOut(src, dest);\r\n\t }\r\n\t \r\n\t } \r\n\t else \r\n\t {\r\n\t Log.e(\"text to speech\", \"failed\");\r\n\t }\r\n\t\t\r\n\t}", "@Override\n public void onResult(Hypothesis hypothesis) {\n ((TextView) findViewById(R.id.result_text)).setText(\"\");\n mMicView.setBackgroundResource(R.drawable.background_big_mic);\n if (hypothesis != null) {\n String text = hypothesis.getHypstr();\n makeText(getApplicationContext(), text, Toast.LENGTH_SHORT).show();\n //mTextToSpeech.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n\n }\n }", "public static void main(String[] args) {\nspeak(\"spell mandlebrot\");\n\t\t// 2. Catch the user's answer in a String\nString word = JOptionPane.showInputDialog(\"What is the anwser?\");\n\t\t// 3. If the user spelled the word correctly, speak \"correct\"\nif(word.equals(\"mandlebrot\")) {\nspeak(\"correct!\");\n}\n\n\t\t// 4. Otherwise say \"wrong\"\nelse {\n\tspeak(\"wrong!\");\n}\n\n//1. Use the speak method to say the word. \"e.g. spell mandlebrot\"\nspeak(\"spell superman \");\n\t\t// 2. Catch the user's answer in a String\nString word2 = JOptionPane.showInputDialog(\"What is the anwser?\");\n\t\t// 3. If the user spelled the word correctly, speak \"correct\"\nif(word2.equals(\"superman\")) {\nspeak(\"correct!\");\nspeak(\"wrong!\");\n// 1. Use the speak method to say the word. \"e.g. spell mandlebrot\"\nspeak(\"spell nonsense\");\n\t\t// 2. Catch the user's answer in a String\nString word3 = JOptionPane.showInputDialog(\"What is the anwser?\");\n\t\t// 3. If the user spelled the word correctly, speak \"correct\"\nif(word3.equals(\"nonsense\")) {\nspeak(\"correct!\");\n// 1. Use the speak method to say the word. \"e.g. spell mandlebrot\"\nspeak(\"spell ninja\");\n\t\t// 2. Catch the user's answer in a String\nString word4 = JOptionPane.showInputDialog(\"What is the anwser?\");\n\t\t// 3. If the user spelled the word correctly, speak \"correct\"\nif(word4.equals(\"ninja\")) {\nspeak(\"correct!\");\n}\n}\n}\t}", "@Override\n\tprotected Void doInBackground() throws Exception {\n\t\tString cmdSchemeFile = \"echo -e \\\"(voice_\"+this.voice+\")\\n\"+\n\t\t\t\t\"(set! duffint_params '((start \"+pitchStart+\") (end \"+pitchEnd+\")))\\n\"\n\t\t\t\t+ \"(Parameter.set 'Int_Method 'DuffInt)\\n(Parameter.set 'Int_Target_Method Int_Targets_Default)\\n\"\n\t\t\t\t+ \"(Parameter.set 'Duration_Stretch \"+rate+\")\\\">.tmp1.scm \";\n\t\t\n\t\tProcessBuilder builder = new ProcessBuilder(\"/bin/bash\", \"-c\", cmdSchemeFile);\n\t\tProcess process = builder.start();\n\t\t//add .tmp1.scm to remove list\n\t\tfilesToRemove.add(\".tmp1.scm\");\n\t\tprocess.waitFor();\n\t\tprocess.destroy();\n\t\t\n\t\t//Create textfile with the message\n\t\tString cmdTxtFile= \"echo \\\"\"+message+\"\\\" > .tmp.txt\";\n\t\tProcessBuilder buildTxt= new ProcessBuilder(\"/bin/bash\",\"-c\", cmdTxtFile);\n\t\tProcess processTxt= buildTxt.start();\n\t\tfilesToRemove.add(\".tmp.txt\");\n\t\tprocessTxt.waitFor();\n\t\tprocessTxt.destroy();\n\t\t\n\t\t//Convert the text to a wav file with properties in the scheme file\n\t\tString cmdWavFile= \"text2wave -o .tmp.wav .tmp.txt -eval .tmp1.scm\";\n\t\tProcessBuilder buildWav= new ProcessBuilder(\"/bin/bash\",\"-c\",cmdWavFile);\n\t\tProcess processWav= buildWav.start();\n\t\tfilesToRemove.add(\".tmp.wav\");\n\t\tprocessWav.waitFor();\n\t\tprocessWav.destroy();\n\t\t\n\t\t//Convert the wave file into mp3 file\n\t\tString cmdMp3File = \"ffmpeg -i .tmp.wav -f mp3 \" + fileName;\n\t\tProcessBuilder buildMp3 = new ProcessBuilder(\"/bin/bash\", \"-c\", cmdMp3File);\n\t\tProcess processMp3 = buildMp3.start();\n\t\tInputStream out= processMp3.getErrorStream();\n\t\tBufferedReader stdout= new BufferedReader(new InputStreamReader(out));\n\t\twhile(stdout.readLine() !=null){\n\t\t\tn+=10;\n\t\t\tpublish();\n\t\t}\n\t\t\n\t\tprocessMp3.waitFor();\n\t\tprocessMp3.destroy();\n\n\t\t// command used in bash terminal\n\t\t// deletes the temporary file\n\t\tFilesRemover fr= new FilesRemover(filesToRemove);\n\t\tfr.execute();\n\t\n\t\treturn null;\n\t}", "public abstract void newSpeechFeedback(long ms, int n);", "private AudioFormat getAudioFormat(String s)\n\t{\n float sampleRate = 16000.0F;\n int sampleSizeBits = 16;\n int channels = 1;\n boolean signed = true;\n boolean bigEndian = false;\n\n \n \n //examples:\n //swimwater1.wav: PCM_SIGNED 22050.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian\n //test.wav: PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian\n \n //store different aspects in differents strings\n String lastValue=\"\";\n String sampleRateString=\"\";\n String sampleSizeBitsString=\"\";\n String channelsString=\"\";\n String signedString=\"\";\n String bigEndianString=\"\";\n \n for (char ch : s.toCharArray())\n {\n //System.out.print(ch);\n \n if(ch!=',')//komma= nächste wert\n {\n \tif(ch!=' ')\n \t\tlastValue+=ch;\n }\n else\n {\n \tif(sampleRateString.isEmpty()) sampleRateString=lastValue;\n \telse if(sampleSizeBitsString.isEmpty()) sampleSizeBitsString=lastValue;\n \telse if(channelsString.isEmpty()) channelsString=lastValue;\n \telse if(signedString.isEmpty()) signedString=lastValue;\n \t\n \tlastValue=\"\";\n }\n }\n if(bigEndianString.isEmpty()) bigEndianString=lastValue;\n\n //interpret those strings\n\n //sampleRate\n String temp=\"\";\n for (char ch : sampleRateString.toCharArray())\n {\n if((ch>='0' && ch<='9'))\n {\n \ttemp+=ch;\n }\n else if(ch=='.')\n \tbreak;\n }\n sampleRate=(float)Integer.parseInt(temp);\n\n //sampleSizeBits\n temp=\"\";\n for (char ch : sampleSizeBitsString.toCharArray())\n {\n if(ch>='0' && ch<='9')\n {\n \ttemp+=ch;\n }\n }\n sampleSizeBits=Integer.parseInt(temp);\n\n //channels\n if(channelsString.contains(\"mono\"))\n \tchannels=1;\n else if(channelsString.contains(\"stereo\"))\n \tchannels=2;\n \n //signed\n signed=true;\n \n //bigEndian\n if(bigEndianString.contains(\"little-endian\"))\n \tbigEndian=false;\n else bigEndian=true;\n \n \n /*System.out.println();\n System.out.println(sampleRate);\n System.out.println(sampleSizeBits);\n System.out.println(channels);\n System.out.println(signed);\n System.out.println(bigEndian);*/\n \n return new AudioFormat(sampleRate, sampleSizeBits, channels, signed, bigEndian);\n }", "void onTranslation(Sentence sentence);", "String translate(String text, String fromLanguage, String toLanguage) throws TranslationException;", "public void deliverRawText(String text) {\n \n }", "public static BasicTranscription readWhisperJSON(File jsonFile, boolean wantsWords) throws IOException, JexmaraldaException{\n ObjectMapper objectMapper = new ObjectMapper();\n JsonNode jsonRoot = objectMapper.readValue(jsonFile, JsonNode.class); \n \n BasicTranscription result = new BasicTranscription();\n Speaker speaker = new Speaker();\n speaker.setID(\"SPK0\");\n speaker.setAbbreviation(\"X\");\n result.getHead().getSpeakertable().addSpeaker(speaker);\n Tier textTier = new Tier(\"TIE0\", \"SPK0\", \"v\", \"t\", \"X [text]\");\n Tier temperatureTier = new Tier(\"TIE1\", \"SPK0\", \"temp\", \"a\", \"X [temperature]\");\n Tier avgLogProbTier = new Tier(\"TIE2\", \"SPK0\", \"avg\", \"a\", \"X [avg_logprob]\");\n Tier compressionRatioTier = new Tier(\"TIE3\", \"SPK0\", \"cr\", \"a\", \"X [compression_ratio]\");\n Tier noSpeechProbTier = new Tier(\"TIE4\", \"SPK0\", \"nsp\", \"a\", \"X [no_speech_prob]\");\n result.getBody().addTier(textTier);\n result.getBody().addTier(temperatureTier);\n result.getBody().addTier(avgLogProbTier);\n result.getBody().addTier(compressionRatioTier);\n result.getBody().addTier(noSpeechProbTier);\n \n \n /*\n {\n \"text\": \n \" Abscheu und Zorn über folternde GIs im Irak, die US-Armee soll schon länger Bescheid gewusst\",\n \"segments\": [\n {\n \"id\": 0,\n \"seek\": 0,\n \"start\": 0.0,\n \"end\": 13.44,\n \"text\": \" Abscheu und Zorn über folternde GIs im Irak, die US-Armee soll schon länger Bescheid gewusst\",\n \"tokens\": [\n 5813,\n 1876,\n ...\n 327,\n 6906,\n 26340\n ],\n \"temperature\": 0.0,\n \"avg_logprob\": -0.20706645302150561,\n \"compression_ratio\": 1.2619047619047619,\n \"no_speech_prob\": 0.2456832379102707\n }\n ]\n } \n \n */\n \n boolean hasWordLevel = (jsonRoot.findValue(\"words\")!=null);\n Tier wordTier = new Tier(\"TIE5\", \"SPK0\", \"w\", \"t\", \"X [words]\");\n if (hasWordLevel && wantsWords){\n textTier.setType(\"a\");\n result.getBody().insertTierAt(wordTier, 0);\n \n }\n \n JsonNode segmentsNode = jsonRoot.findValue(\"segments\");\n Iterator<JsonNode> iterator = segmentsNode.elements();\n Timeline timeline = result.getBody().getCommonTimeline();\n while (iterator.hasNext()){\n JsonNode segmentNode = iterator.next();\n if (segmentNode.get(\"start\")==null){\n throw new IOException(\"Error in format.\");\n }\n // round to miliseconds to avoid overlaps which aren't overlaps\n double startTimeInSeconds = Rounder.round(segmentNode.get(\"start\").asDouble(),3);\n double endTimeInSeconds = Rounder.round(segmentNode.get(\"end\").asDouble(),3);\n String text = segmentNode.get(\"text\").asText();\n String temperature = segmentNode.get(\"temperature\").asText();\n String avg_logprob = segmentNode.get(\"avg_logprob\").asText();\n String compression_ratio = segmentNode.get(\"compression_ratio\").asText();\n String no_speech_prob = segmentNode.get(\"no_speech_prob\").asText();\n \n String startID = \"TLI_\" + Double.toString(startTimeInSeconds).replace('.', '_');\n if (!(timeline.containsTimelineItemWithID(startID))){\n TimelineItem tli = new TimelineItem();\n tli.setID(startID);\n tli.setTime(startTimeInSeconds);\n timeline.insertAccordingToTime(tli);\n }\n \n String endID = \"TLI_\" + Double.toString(endTimeInSeconds).replace('.', '_');\n if (!(timeline.containsTimelineItemWithID(endID))){\n TimelineItem tli = new TimelineItem();\n tli.setID(endID);\n tli.setTime(endTimeInSeconds);\n timeline.insertAccordingToTime(tli);\n }\n \n textTier.addEvent(new Event(startID, endID, text));\n temperatureTier.addEvent(new Event(startID, endID, temperature));\n avgLogProbTier.addEvent(new Event(startID, endID, avg_logprob));\n compressionRatioTier.addEvent(new Event(startID, endID, compression_ratio));\n noSpeechProbTier.addEvent(new Event(startID, endID, no_speech_prob));\n \n if (hasWordLevel){\n JsonNode wordsNode = segmentNode.findValue(\"words\");\n Iterator<JsonNode> wordIterator = wordsNode.elements();\n while (wordIterator.hasNext()){\n JsonNode wordNode = wordIterator.next();\n if (wordNode.get(\"start\")==null){\n throw new IOException(\"Error in format.\");\n }\n\n // round to miliseconds to avoid overlaps which aren't overlaps\n double wStartTimeInSeconds = Rounder.round(wordNode.get(\"start\").asDouble(),3);\n double wEndTimeInSeconds = Rounder.round(wordNode.get(\"end\").asDouble(),3);\n String wText = wordNode.get(\"word\").asText();\n\n String wStartID = \"TLI_\" + Double.toString(wStartTimeInSeconds).replace('.', '_');\n if (!(timeline.containsTimelineItemWithID(wStartID))){\n TimelineItem tli = new TimelineItem();\n tli.setID(wStartID);\n tli.setTime(wStartTimeInSeconds);\n timeline.insertAccordingToTime(tli);\n }\n\n String wEndID = \"TLI_\" + Double.toString(wEndTimeInSeconds).replace('.', '_');\n if (!(timeline.containsTimelineItemWithID(wEndID))){\n TimelineItem tli = new TimelineItem();\n tli.setID(wEndID);\n tli.setTime(wEndTimeInSeconds);\n timeline.insertAccordingToTime(tli);\n }\n \n wordTier.addEvent(new Event(wStartID, wEndID, wText));\n\n \n }\n }\n \n }\n \n \n \n \n return result;\n \n \n }", "@Override\n public void speak() {\n System.out.println(\"I'm an Aardvark, I make grunting sounds most of the time.\");\n }", "public String buildUrl(String text_of_audio) {\n String wit = \"https://api.wit.ai/message\";\n String google = \"https://www.google.com/\";\n Uri sendRequest_wit = Uri.parse(wit).buildUpon()\n .appendQueryParameter(\"q\", text_of_audio).build();\n\n\n try {\n url = new URL(sendRequest_wit.toString());\n } catch (MalformedURLException e) {\n e.printStackTrace();\n }\n\n Log.d(\"url\",url.toString());\n\n try {\n audioStr = new WitQueryTask().execute(url).get();\n } catch (ExecutionException e) {\n e.printStackTrace();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n\n return audioStr;\n\n }", "@POST\n\t@Path(\"sendfasta\")\n\t@Consumes(MediaType.APPLICATION_JSON)\n\tpublic Response sendSpectrum(String jsonString) {\n\t\t\n\t\tKafkaSender.sendToKafka(jsonString);\n\t\t\n\t\treturn Response.ok().build();\n\t}" ]
[ "0.7133564", "0.70084363", "0.6939407", "0.68556195", "0.66678935", "0.664662", "0.65990794", "0.6458779", "0.6427262", "0.6370714", "0.6332729", "0.62381864", "0.6191084", "0.609577", "0.60743386", "0.6070828", "0.5969258", "0.5957014", "0.5932301", "0.5931664", "0.58737916", "0.58447516", "0.58283335", "0.5749104", "0.5742135", "0.569794", "0.5683675", "0.5674121", "0.5662799", "0.5651467", "0.5618057", "0.5570561", "0.556762", "0.5560719", "0.5490841", "0.548675", "0.5483644", "0.5459674", "0.54528135", "0.5435016", "0.5422755", "0.5384771", "0.5344618", "0.5273167", "0.5250615", "0.52485365", "0.5234271", "0.5226186", "0.52215576", "0.5189509", "0.5188239", "0.518534", "0.51823306", "0.518164", "0.5148421", "0.5137529", "0.51346", "0.51341814", "0.51341814", "0.5130317", "0.51301736", "0.5127775", "0.51204795", "0.5116489", "0.51155126", "0.50550634", "0.5049567", "0.5039798", "0.503581", "0.5031187", "0.50220555", "0.5014844", "0.5009079", "0.498043", "0.4979275", "0.49751928", "0.49739653", "0.4970451", "0.49689493", "0.49643448", "0.4964147", "0.49536544", "0.49527568", "0.49516475", "0.49289396", "0.49120238", "0.49100944", "0.49092022", "0.490356", "0.48960763", "0.48927742", "0.48888326", "0.48769915", "0.4873868", "0.48728067", "0.48679247", "0.48670956", "0.48587283", "0.48400086", "0.4826601", "0.48224396" ]
0.0
-1
Performs the texttospeech operations in a specific language: it takes a std::string as input and outputs a sound in both speakers. String encoding must be UTF8. Once the text is said, the language is set back to its initial value.
public Future<Void> say(String stringToSay, String language) throws DynamicCallException, ExecutionException{ return call("say", stringToSay, language); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void ConvertTextToSpeech() {\n if (properties.get(selectedStateOrCountry) != null) {\n tts.speak(String.format(\"This is %s %s\", selectedStateOrCountry, properties.get(selectedStateOrCountry)),\n TextToSpeech.QUEUE_FLUSH, null);\n\n } else if (countryCapitalMap.get(selectedStateOrCountry) != null) {\n tts.speak(countryCapitalMap.get(selectedStateOrCountry), TextToSpeech.QUEUE_FLUSH, null);\n } else {\n tts.speak(selectedStateOrCountry, TextToSpeech.QUEUE_FLUSH, null);\n }\n }", "@Override\n protected synchronized void onSynthesizeText(SynthesisRequest request,\n SynthesisCallback callback) {\n int load = onLoadLanguage(request.getLanguage(), request.getCountry(),\n request.getVariant());\n\n // We might get requests for a language we don't support - in which case\n // we error out early before wasting too much time.\n if (load == TextToSpeech.LANG_NOT_SUPPORTED) {\n callback.error();\n return;\n }\n\n // At this point, we have loaded the language we need for synthesis and\n // it is guaranteed that we support it so we proceed with synthesis.\n\n // We denote that we are ready to start sending audio across to the\n // framework. We use a fixed sampling rate (16khz), and send data across\n // in 16bit PCM mono.\n callback.start(SAMPLING_RATE_HZ,\n AudioFormat.ENCODING_PCM_16BIT, 1 /* Number of channels. */);\n\n // We then scan through each character of the request string and\n // generate audio for it.\n final String text = request.getText().toLowerCase();\n for (int i = 0; i < text.length(); ++i) {\n char value = normalize(text.charAt(i));\n // It is crucial to call either of callback.error() or callback.done() to ensure\n // that audio / other resources are released as soon as possible.\n if (!generateOneSecondOfAudio(value, callback)) {\n callback.error();\n return;\n }\n }\n\n // Alright, we're done with our synthesis - yay!\n callback.done();\n }", "private void ConvertTextToSpeech(String voice1) {\n text=voice1;\n //text = et.getText().toString();\n if (text == null || \"\".equals(text)) {\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n } else\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", "private void convertTextToSpeech(String text) {\n if (null == text || \"\".equals(text)) {\n text = \"Please give some input.\";\n }\n m_tts.speak(text, TextToSpeech.QUEUE_ADD, null);\n }", "void playSpeech(String rawText);", "String translate(String text, String fromLanguage, String toLanguage) throws TranslationException;", "@SuppressWarnings(\"unchecked\")\n public void speak(String text) throws JavaLayerException {\n\t\ttry {\n \n //Create a JLayer instance\n AdvancedPlayer player = new AdvancedPlayer(synthesizer.getMP3Data(text));\n player.play();\n \n } catch (IOException e) {\n \n }\n\t\t\n\t}", "public void speak(String text);", "public interface Text2Speech {\n\t\n\t/**\n\t * Supported formats.\n\t */\n\tenum OutputFormat {\n\t\t/**\n\t\t * MP3 format.\n\t\t */\n\t\tMP3,\n\t\t/**\n\t\t * Ogg-vorbis format.\n\t\t */\n\t\tOGG\n\t}\n\t\n\t/**\n\t * Produce MP3 with specified phrase.\n\t * \n\t * @param phrase Some sentence.\n\t * @return MP3 stream (may be network bound, close afterwards)\n\t */\n\tInputStream synthesize(String phrase, OutputFormat fmt) throws IOException;\n}", "private boolean convert(String text,String directory,String fileName) {\r\n\t\t\r\n\t\tif(!text.isEmpty()) {\t\t\t\r\n\t\t\tFile file = new File(directory,fileName);\r\n\t\t\t\r\n\t\t\t// create mp3 file with this weather announcement\r\n\t\t\tlog.fine(\"text to speech conversion: text=\"+text+\" filename=\"+file);\r\n\t\t\t\r\n\t\t\t// translate into mp3 stream\r\n\t\t\ttry{\r\n\t text=java.net.URLEncoder.encode(text, \"UTF-8\");\r\n\t //URL url = new URL(\"http://translate.google.com/translate_tts?tl=de&ie=UTF-8&q=\"+text+\"&total=1&idx=0&client=alarmpi\");\r\n\t \r\n\t Map<String, String> requestParams = new HashMap<>();\r\n\t requestParams.put(\"key\", \"f5d762f987f34397b350af6563ffb818\");\r\n\t requestParams.put(\"hl\", \"de-de\");\r\n\t requestParams.put(\"c\", \"MP3\");\r\n\t requestParams.put(\"src\", text);\r\n\t \r\n\t\t\t\tString encodedURL = requestParams.keySet().stream()\r\n\t \t .map(key -> key + \"=\" + requestParams.get(key))\r\n\t \t .collect(Collectors.joining(\"&\", \"http://api.voicerss.org?\", \"\"));\r\n\t \r\n\t URL url = new URL(encodedURL);\r\n\t log.fine(\"URL=\"+encodedURL);\r\n\t \r\n\t HttpURLConnection urlConn = (HttpURLConnection) url.openConnection();\r\n\t urlConn.addRequestProperty(\"User-Agent\", \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36\");\r\n\t InputStream audioSrc = urlConn.getInputStream();\r\n\t DataInputStream read = new DataInputStream(audioSrc);\r\n\t OutputStream outstream = new FileOutputStream(file);\r\n\t byte[] buffer = new byte[1024];\r\n\t int len;\r\n\t int totalLength = 0;\r\n\t while ((len = read.read(buffer)) > 0) {\r\n\t \toutstream.write(buffer, 0, len);\r\n\t \ttotalLength += len;\r\n\t }\r\n\t outstream.close();\r\n\t log.fine(\"text2speech byteount=\"+totalLength);\r\n\t \r\n\t if(totalLength<1024) {\r\n\t \t// this indicates a problem...\r\n\t \tlog.severe(\"text2speech conversion returns less than 1k data\");\r\n\t }\r\n\t \r\n\t \t\t// update mpd database\r\n\t SoundControl.getSoundControl().update();\r\n\t \r\n\t return true;\r\n\t\t\t} catch(IOException e){\r\n\t\t\t\tlog.severe(\"Exception in text to speech conversion: \"+e.getMessage());\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\telse {\r\n\t\t\tlog.warning(\"Text to speech conversion called with empty text\");\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "private void setTextTospeech() {\n textToSpeech = new TextToSpeech(mContext, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n Set<Locale> languages = textToSpeech.getAvailableLanguages();\n if (language.toLowerCase().contains(langaugeCodeEnglish)) {\n int result = textToSpeech.setLanguage(new Locale(\"en\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n //Toast.makeText(mContext, result + \" is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n }\n } else {\n int result = textToSpeech.setLanguage(new Locale(\"hi\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n result = textToSpeech.setLanguage(Locale.forLanguageTag(\"hin\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n\n // Toast.makeText(mContext, result + \"Language is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \"Language is not supported\");\n }\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n if (result == TextToSpeech.LANG_NOT_SUPPORTED) {\n showTtsLanuageNSDialog();\n }\n }\n }\n }\n });\n }", "void TranslateToTurkish() {\n // Check wheter the device language is English\n if(Locale.getDefault().getDisplayLanguage() == \"en\"){ // Don't do anything if it is English\n }\n else { // Translate to device language (For now just Turkish)\n final Handler textViewHandler = new Handler();\n new AsyncTask<Void, Void, Void>() {\n @Override\n protected Void doInBackground(Void... params) {\n TranslateOptions options = TranslateOptions.newBuilder()\n .setApiKey(googleApiKey)\n .build();\n Translate translate = options.getService();\n final Translation translation =\n translate.translate(textToSpeechInputText,\n Translate.TranslateOption.targetLanguage(\"tr\"));\n textViewHandler.post(new Runnable() {\n @Override\n public void run() {\n Log.d(\"Translated text:\", translation.getTranslatedText().toString());\n textToSpeechInputText = translation.getTranslatedText().toString();\n Log.d(\"Output\", textToSpeechInputText);\n //Speak of the result\n Speak(textToSpeechInputText);\n state = 2; // Turn state to speaking the result\n }\n });\n return null;\n }\n }.execute();\n }\n }", "public abstract void startVoiceRecognition(String language);", "@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)\n private void speakWords(String speech) {\n myTTS.speak (speech, TextToSpeech.QUEUE_FLUSH, null,\"1\");\n\n }", "@Override\n public void onInit(int status) {\n\t \n\tif (status == TextToSpeech.SUCCESS) {\n\t\t \n int result = mTts.setLanguage(Locale.US);\n if (result != TextToSpeech.LANG_MISSING_DATA && result != TextToSpeech.LANG_NOT_SUPPORTED) {\n \tspokenText += spokenText+\"\"+spokenText+\"\";\n // mTts.speak(\"Dear sir your class is finished!! Dear sir your class is finished!! Dear sir your class is finished!!\", TextToSpeech.QUEUE_FLUSH, null);\n mTts.speak(spokenText, TextToSpeech.QUEUE_FLUSH, null);\n } \n } \n\t \n}", "private String setSpeechFXLanguage(String language){\n String lang;\n if (!mSpeechFXon) {\n lang = language;\n } else if (mTts == null) {\n\t\t\tLog.i(TAG, \"TTS IS NULL!\");\n\t\t\tlang = language;\n\t\t} else {\n\t\t\tlang = Languages.setSpeechLanguage(language, mDefaultSpeechLang, mTts.ttsengine());\n\t\t\tif (mTts != null && lang != null && !lang.equals(\"\")) {\n\t\t\t\tLog.i(TAG, \"TTS set speech engine language: \" + lang);\n\t\t\t\tmTts.ttsengine().setLanguage(Languages.stringToLocale(lang));\n\t\t\t} else {\n\t\t\t\t// Unchanged, so return the pilot language\n\t\t\t\tlang = language;\n\t\t\t}\n\t\t\tLog.i(TAG, \"TTS LANG: \" + lang);\n\t\t}\n\n\t\treturn lang;\n\t}", "private void speak(String s, String text) {\n if (Utility.getInstance().isOnline(mContext)) {\n try {\n float pitch = (float) 0.62;\n float speed = (float) 0.86;\n textToSpeech.setSpeechRate(speed);\n textToSpeech.setPitch(pitch);\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n Bundle bundle = new Bundle();\n bundle.putInt(TextToSpeech.Engine.KEY_PARAM_STREAM, AudioManager.STREAM_MUSIC);\n textToSpeech.speak(s, TextToSpeech.QUEUE_FLUSH, bundle, null);\n textToSpeech.speak(text, TextToSpeech.QUEUE_ADD, bundle, null);\n } else {\n HashMap<String, String> param = new HashMap<>();\n param.put(TextToSpeech.Engine.KEY_PARAM_STREAM, String.valueOf(AudioManager.STREAM_MUSIC));\n textToSpeech.speak(s, TextToSpeech.QUEUE_FLUSH, param);\n textToSpeech.speak(text, TextToSpeech.QUEUE_ADD, param);\n }\n } catch (Exception ae) {\n ae.printStackTrace();\n }\n } else {\n Toast.makeText(mContext, getString(R.string.please_check_internet), Toast.LENGTH_SHORT).show();\n }\n }", "public static void speak(Context context, final String text) {\n Log.d(TAG, \"Speak : \" + text);\n if (mTTSEngine == null) {\n mTTSEngine = new TextToSpeech(context, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int i) {\n if (i == TextToSpeech.SUCCESS) {\n mTTSEngine.setLanguage(Locale.US);\n mTTSEngine.setPitch(1f);\n mTTSEngine.setSpeechRate(1f);\n\n mTTSEngine.speak(text, TextToSpeech.QUEUE_ADD, null, UTTERANCE_ID);\n } else {\n mTTSEngine = null;\n }\n }\n });\n } else {\n mTTSEngine.speak(text, TextToSpeech.QUEUE_ADD, null, UTTERANCE_ID);\n }\n }", "public void speakText(String text) {\n mTTS.setPitch(1);\n mTTS.setSpeechRate(1);\n mTTS.speak(String.format(\"Okay! Searching for %s\", text),\n TextToSpeech.QUEUE_FLUSH, null);\n }", "@Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n int result = tts.setLanguage(Locale.US);\n if (result == TextToSpeech.LANG_MISSING_DATA ||\n result == TextToSpeech.LANG_NOT_SUPPORTED) {\n Log.e(\"error\", \"This Language is not supported\");\n } else {\n ConvertTextToSpeech(\"\");\n\n }\n } else\n Log.e(\"error\", \"Initilization Failed!\");\n\n\n }", "public void say(String stringToSay, String language) throws DynamicCallException, ExecutionException{\n call(\"say\", stringToSay, language).get();\n }", "private void tts(String str){\n\t\ttxtSpeechInput.setText(str);\n\t\tt1.speak(str , TextToSpeech.QUEUE_FLUSH, null);\n\t\twhile(t1.isSpeaking()){\n\t\t\t;\n\t\t}\n\t}", "public static String translate(String langFrom, String langTo, String text) throws IOException {\n requestStatus=false;\n translateStatus.setValue(true);\n String urlStr = \"https://script.google.com/macros/s/AKfycbw2qKkvobro8WLNZUKi2kGwGwEO4W8cBavcKqcuCIGhGBBtVts/exec\" +\n \"?q=\" + URLEncoder.encode(text, \"UTF-8\")\n + \"&target=\" + langTo +\n \"&source=\" + langFrom;\n URL url = new URL(urlStr);\n StringBuilder response = new StringBuilder();\n HttpURLConnection con = (HttpURLConnection) url.openConnection();\n con.setRequestProperty(\"User-Agent\", \"Mozilla/5.0\");\n\n count++;\n //System.out.println(count);\n if (con.getResponseCode() == 200) {\n requestStatus=true;\n translateStatus.setValue(false);\n //System.out.println(count + \" OK\");\n }\n BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()));\n String inputLine;\n while ((inputLine = in.readLine()) != null) {\n response.append(inputLine);\n }\n in.close();\n return response.toString();\n }", "public void speak(String outputSpeak) \n {\n speaker.speaker(outputSpeak);\n }", "void onTranslation(Sentence sentence);", "private void speakOut(String text) {\n\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", "@Override\n public void onInit(int i) {\n if(i!=TextToSpeech.ERROR){\n // To Choose language of speech\n textToSpeech.setLanguage(getResources().getConfiguration().locale);\n }\n }", "void translate(Sentence sentence);", "@Override\r\n public void onInit(int status) {\n if(status!=TextToSpeech.ERROR) {\r\n ttobj.setLanguage(Locale.UK);\r\n //ttobj.setPitch(2);\r\n }\r\n }", "private void speakout(String cname) \n{\n\t{t1.speak(cname,TextToSpeech.QUEUE_FLUSH,null);\n\tt1.setLanguage(Locale.ENGLISH);\n\t}\n}", "public void onInit(int code) {\n\t\t if (code==TextToSpeech.SUCCESS) {\n\t\t \t com.example.main_project.MainActivity.tts.setLanguage(Locale.getDefault());\n\n\n\t\t \t } else {\n\t\t \t com.example.main_project.MainActivity.tts = null;\n\t\t \t Toast.makeText(this, \"Failed to initialize TTS engine.\",\n\t\t \t Toast.LENGTH_SHORT).show();\n\t\t \t }\t\t\n\t\t}", "private void changeLanguage(String newLanguage){\n\tif (newLanguage.contentEquals(\"FR\")){\n\t\t((GameActivity) activity).setStringPreferences(\"language\", \"1\");\n\t} else if (newLanguage.contentEquals(\"UK\")){\n\t\t((GameActivity) activity).setStringPreferences(\"language\", \"2\");\n\t}\n\t\n\t/*\n\tprefLanguage = ((GameActivity) activity).getPreference(\"language\", \"1\");\n\tif (prefLanguage.contentEquals(\"1\")){\n\t\tresourcesManager.tts.setLanguage(Locale.FRENCH);\n\t} else if (prefLanguage.contentEquals(\"2\")){\n\t\tresourcesManager.tts.setLanguage(Locale.ENGLISH);\t\n\t}\n\t*/\n\t\n\t\n\t\n\t/*\n\tif (newLanguage.contentEquals(\"FR\")){\n\t\tresourcesManager.tts.setLanguage(Locale.FRENCH);\n\t\tlocalLanguage=0;\n\t} else if (newLanguage.contentEquals(\"UK\")){\n\t\tresourcesManager.tts.setLanguage(Locale.ENGLISH);\t\n\t\tlocalLanguage=1;\n\t}\n\t*/\n\t\n}", "public static void oralOutput(String text)\n\t{\n\t\tSystem.setProperty(\"mbrola.base\",\"E:\\\\Automation\\\\mbrola\");\n\t\tVoiceManager vm=VoiceManager.getInstance();\n\t\tVoice v=vm.getVoice(\"mbrola_us1\"); //or kevin16\n\t\tv.allocate();\n\t\tv.speak(text);\n\t\tv.deallocate();\n\t}", "private void translate()\r\n\t{\r\n\t\tLocale locale = Locale.getDefault();\r\n\t\t\r\n\t\tString language = locale.getLanguage();\r\n\t\t\r\n\t\ttranslate(language);\r\n\t}", "public void transcribe (String utterance, float confidence) \n{\n //println(utterance);\n if (!utterance.equals(\"\"))\n {\n result = utterance;\n ListenForKeywords(result);\n println(result);\n inputResult = result;\n result = \"\";\n \n //CheckCommandValidity(result);\n \n }\n}", "public void onInit(int arg0) {\n\t\t if (arg0 == TextToSpeech.SUCCESS) {\r\n\t\t\t \r\n\t int result = texttospeech.setLanguage(Locale.US);\r\n\t \r\n\t if (result == TextToSpeech.LANG_MISSING_DATA\r\n\t || result == TextToSpeech.LANG_NOT_SUPPORTED) {\r\n\t Log.e(\"TTS\", \"This Language is not supported\");\r\n\t } \r\n\t else \r\n\t {\r\n\t speakOut(src, dest);\r\n\t }\r\n\t \r\n\t } \r\n\t else \r\n\t {\r\n\t Log.e(\"text to speech\", \"failed\");\r\n\t }\r\n\t\t\r\n\t}", "public void makeDecision(String speech , List<WordResult> speechWords) {\r\n\t\tVoiceManager vm =VoiceManager.getInstance();\r\n\t\tVoice voice;\r\n\t\tvoice=vm.getVoice(\"mbrola_us3\");\r\n\t\tvoice.allocate();\r\n\t\tSystem.out.println(speech);\r\n\t\t//System.out.println(speech+\"fdsf\");\r\n\t\t if(speech.equalsIgnoreCase(\"shutdown computer\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\" Shuting down the computer\");\r\n\t\t \tRuntime rm=Runtime.getRuntime();\r\n\t\t\t\ttry{\r\n\t\t\t\t\tProcess proc=rm.exec(\"shutdown -s -t 0\");\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e)\r\n\t\t\t\t{}\r\n\t\t\t\t\r\n\r\n\t\t \t}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"restart computer\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"restarting the computer\");\r\n\t\t \tRuntime rm=Runtime.getRuntime();\r\n\t\t\t\ttry{\r\n\t\t\t\t\tProcess proc=rm.exec(\"shutdown -r -t 0\");\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e)\r\n\t\t\t\t{}\r\n\t\t\t\t\r\n\t\t \t}\r\n\t\t \tcatch(Exception e)\r\n\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\t else if(speech.equalsIgnoreCase(\"who is smart\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"Abhay bhadouriya is smartest person alive in this world\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who is ugly\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"your sister and friends are the most ugliest persons in the world \");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"what is time\"))\r\n\t\t {\r\n\t\t \tDate dm=new Date();\r\n\t\t \tint h=dm.getHours();\r\n\t\t \tint m=dm.getMinutes();\r\n\t\t \tif(h>12)\r\n\t\t \t{\r\n\t\t \t\th=h-12;\r\n\t\t \t}\r\n\t\t \t\r\n\t\t \ttry {voice.speak(\"TIME is\"+h+\"Hour\"+m+\"Minutes\" );}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"say hello \"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"Hello this is your computer\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"please sleep\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"no i don't wont to sleep\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open facebook\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"facebook\");\r\n\t\t \t FUNC.facebook();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open google\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"google\");\r\n\t\t \t FUNC.google();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open youtube\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"youtube\");\r\n\t\t \t FUNC.youtube();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open gmail\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"gmail\");\r\n\t\t \t FUNC.gmail();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"play music\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"music\");\r\n\t\t \t FUNC.pmusic();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"volume up\"))\r\n\t\t {\r\n\t\t \tvoice.speak(\"volume increasing by 10\");\r\n\t\t \t\tvolume.up();\r\n\t\t \t\t\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"volume down\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t\t voice.speak(\"volume decreasing by 10\");\r\n\t \t\tvolume.down();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"show desktop\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"Showing desktop\");\r\n\t\t\t FUNC.desktop();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"how are you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"i'm fine and you \");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"what day is today\"))\r\n\t\t {\r\n\t\t\t Date dd=new Date();\r\n\t\t\t int i=dd.getDay();\r\n\t\t\t\tif(i==0)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is sunday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==1)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is monday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==2)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is tuesday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==3)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is wednesday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==4)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is thursday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==5)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is friday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==6)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is saturday\");\r\n\t\t\t\t}\r\n\t\t\t \r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to right\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.right();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to left\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.left();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to up\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t emotion.up();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to down\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.down();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"select this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.select();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"view its property\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.property();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"view item menu\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.viewmenu();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on mouse by keyboard\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.turnon();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close this window tab\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.close();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"switch window tab\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.switcht();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"ok dude take some rest\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t voice.speak(\"have a nice day\");\r\n\t\t\t voice.speak(\"i'm very lucky to have a master like you sir \");\r\n\t\t\t voice.speak(\"good night my suprier great master\");\r\n\t\t\t System.exit(0);\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn off wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on bluetooth\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t try{\r\n\t \t\t Process p ;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c fsquirt\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the notepad\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start notepad\");\r\n\t \t\t // System.out.println(\"inside\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t } else if(speech.equalsIgnoreCase(\"close the notepad\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im notepad.exe /f\");\r\n\t \t\t // System.out.println(\"inside\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the command\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t\t\tProcess p;\r\n\t \t\t\t\tp = Runtime.getRuntime().exec(\"cmd /c start cmd\");\t\t\t\t\r\n\t \t\t\t\t}catch(Exception er)\r\n\t \t\t\t\t{}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the command\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im cmd.exe /f\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the browser\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start chrome.exe\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the browser\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im chrome.exe /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the control panel\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c control\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the control panel\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c control taskkill /im control /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the paint\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start mspaint\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the paint\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im mspaint.exe /f\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the task manager\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start taskmgr.exe\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the task manager\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t \tp = Runtime.getRuntime().exec(\"cmd /c start taskkill /im taskmgr.exe /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open power option\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c powercfg.cpl\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open windows security center\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c wscui.cpl\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"copy this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok item is copied\");\r\n\t\t\t basiccontrolls.copy();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"paste here selected item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"item is pasted\");\r\n\t\t\t basiccontrolls.paste();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"cut this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok item is cut\");\r\n\t\t\t basiccontrolls.cut();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"go back\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok going to previous page\");\r\n\t\t\t basiccontrolls.back();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"show me my beautiful face\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"you look like a donkey\");\r\n\t\t\t basiccontrolls.camera();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who the hell are you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"hello\");\r\n\t\t\t voice.speak(\"i am computer \");\r\n\t\t\t voice.speak(\"here i'm assist by you \");\r\n\t\t\t voice.speak(\"i will do anything what ever you told me todo and \"+\" \"+\" what instruction are feeded in my dictionary\");\r\n\t\t\t voice.speak(\"Thank you for asking \");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who loves you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"no one loves me \");\r\n\t\t\t voice.speak(\"except my charger \");\r\n\t\t\t voice.speak(\"but more impoertantly i looks far handsome than you \");\r\n\t\t\t voice.speak(\"you peace of shit \");\r\n\t\t\t voice.speak(\"your face is look like a monkey\");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"do you like engineering\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"no\");\r\n\t\t\t voice.speak(\"I hate engineering\");\r\n\t\t\t voice.speak(\"you ruined my life \");\r\n\t\t }\r\n\t\t/* else if(speech.equalsIgnoreCase(\"turn off wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }*/\r\n\r\n\t}", "private void speak() {\n if(textToSpeech != null && textToSpeech.isSpeaking()) {\n textToSpeech.stop();\n }else{\n textToSpeech = new TextToSpeech(activity, this);\n }\n }", "private void speak() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM) ;\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Speak the Item\");\n\n startActivityForResult(intent, SPEECH_REQUEST_CODE);\n\n }", "private void speakOut() {\n\n tts.speak(\"Hello I am jessie\", TextToSpeech.QUEUE_FLUSH, null);\n tts.setLanguage(Locale.ENGLISH);\n //tts.setPitch(9);\n tts.setSpeechRate(1);\n }", "public interface Translator {\n Observable<String> translate(String input, Language toLanguage);\n}", "public interface ITextToSpeech {\n\n /* loaded from: classes.dex */\n public interface TextToSpeechCallback {\n void onFailure();\n\n void onSuccess();\n }\n\n boolean isInitialized();\n\n int isLanguageAvailable(Locale locale);\n\n void onDestroy();\n\n void onResume();\n\n void onStop();\n\n void setPitch(float f);\n\n void setSpeechRate(float f);\n\n void speak(String str, Locale locale);\n}", "@Override\n public void onClick(View v) {\n StringRequest stringRequest = searchNameStringRequest(output.getText().toString(),\"en\",\"ar\");\n\n\n\n // executing the request (adding to queue)\n queue.add(stringRequest);\n\n String toSpeak = output.getText().toString();\n\n t1.speak(toSpeak, TextToSpeech.QUEUE_FLUSH, null);\n }", "public boolean speak(String text) {\n\treturn speak(new FreeTTSSpeakableImpl(text));\n }", "private void speak(String text, int queueMode, ArrayList<String> params) {\n if (queueMode == 0) {\n stop();\n }\n mSpeechQueue.add(new SpeechItem(text, params, SpeechItem.TEXT));\n if (!mIsSpeaking) {\n processSpeechQueue();\n }\n }", "public abstract WordEntry autoTranslate(String text, String to);", "public String speak(){\n speechOutput.clear();\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Just speak normally into your phone\");\n intent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, 10);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.ENGLISH);\n try {\n startActivityForResult(intent, VOICE_RECOGNITION);\n } catch (ActivityNotFoundException e) {\n e.printStackTrace();\n }\n\n\n return speechResult;\n }", "ILoLoString translate();", "public void language(String system) {\n String language=\"c语言\";\n this.output.output(system, language);\n //System.out.println(\"C语言编程!\\n\");\n }", "String translateEnglishToDothraki(String englishText) throws Exception\n\t{\n\t\tString urlHalf1 = \"https://api.funtranslations.com/translate/dothraki.json?text=\";\n\t\tString url = urlHalf1 + englishText;\n\n\t\tJsonParser parser = new JsonParser();\n\n\t\tString jsonData = getJsonData(url);\n\n\t\tJsonElement jsonTree = parser.parse(jsonData);\n\n\t\tString translation = \"\";\n\n\t\tif (jsonTree.isJsonObject())\n\t\t{\n\t\t\tJsonObject treeObject = jsonTree.getAsJsonObject();\n\n\t\t\tJsonElement contents = treeObject.get(\"contents\");\n\n\t\t\tif (contents.isJsonObject())\n\t\t\t{\n\t\t\t\tJsonObject contentsObject = contents.getAsJsonObject();\n\n\t\t\t\tJsonElement translateElement = contentsObject.get(\"translated\");\n\n\t\t\t\ttranslation = translateElement.getAsString();\n\t\t\t}\n\t\t}\n\n\t\treturn translation;\n\t}", "@Override\n public void onClick(View v) {\n text_to_speech = set_voice(text_to_speech);\n int len = ar.length;\n for (int i = 0; i < len; i++){\n speak(text_to_speech,ar[i]);\n }\n }", "private void sayHello() {\n\n\t\tmTts.speak(translatedText, TextToSpeech.QUEUE_FLUSH, // Drop allpending\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// entries in\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// the playback\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// queue.\n\t\t\t\tnull);\n\t}", "public void showTextView(String message, int type) {\n\n switch (type) {\n case USER:\n layout = getUserLayout();\n TextView tv = layout.findViewById(R.id.chatMsg);\n\n tv.setText(message);\n\n layout.setFocusableInTouchMode(true);\n chatLayout.addView(layout); // move focus to text view to automatically make it scroll up if softfocus\n layout.requestFocus();\n break;\n case BOT:\n\n\n if (defaultLanguage.equals(\"au\")) {\n\n //languageIdentifier.identifyLanguage(msg).addOnSuccessListener(new OnSuccessListener<String>() {\n\n layout = getBotLayout();\n\n languageIdentifier.identifyLanguage(message).addOnSuccessListener(new OnSuccessListener<String>() {\n @Override\n public void onSuccess(String languageCode) {\n\n\n if (languageCode != \"und\" && languageCode.equals(\"zh\")) {\n\n\n chineseEnglishTranslator.downloadModelIfNeeded(chineseToEnglishConditions).addOnSuccessListener(new OnSuccessListener<Void>() {\n @Override\n public void onSuccess(Void aVoid) {\n\n chineseEnglishTranslator.translate(message).addOnSuccessListener(new OnSuccessListener<String>() {\n @Override\n public void onSuccess(String s) {\n\n TextView tv1 = layout.findViewById(R.id.chatMsg);\n tv1.setText(s);\n layout.setFocusableInTouchMode(true);\n chatLayout.addView(layout); // move focus to text view to automatically make it scroll up if softfocus\n layout.requestFocus();\n\n mtts = new TextToSpeech(getActivity(), new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n int result = 0;\n result = mtts.setLanguage(Locale.ENGLISH);\n\n float pitch = 1.0f;\n if (pitch < 0.1) pitch = 0.1f;\n float speed = 1.0f;\n mtts.setPitch(pitch);\n mtts.setSpeechRate(speed);\n\n mtts.speak(s, TextToSpeech.QUEUE_FLUSH, null);\n //mtts.speak(\"\",TextToSpeech.QUEUE_FLUSH,null,\"\");\n\n\n }\n }\n });\n\n }\n });\n\n }\n });\n\n\n } else {\n\n TextView tv1 = layout.findViewById(R.id.chatMsg);\n tv1.setText(message);\n layout.setFocusableInTouchMode(true);\n chatLayout.addView(layout); // move focus to text view to automatically make it scroll up if softfocus\n layout.requestFocus();\n\n mtts = new TextToSpeech(getActivity(), new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n int result = 0;\n result = mtts.setLanguage(Locale.ENGLISH);\n\n float pitch = 1.0f;\n if (pitch < 0.1) pitch = 0.1f;\n float speed = 1.0f;\n mtts.setPitch(pitch);\n mtts.setSpeechRate(speed);\n\n mtts.speak(message, TextToSpeech.QUEUE_FLUSH, null);\n //mtts.speak(\"\",TextToSpeech.QUEUE_FLUSH,null,\"\");\n\n\n }\n }\n });\n\n }\n }\n });\n }\n else {\n mtts = new TextToSpeech(getActivity(), new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n int result = mtts.setLanguage(Locale.CHINA);\n\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n Log.e(\"TTs\", \"Language Not supported\");\n } else {\n float pitch = 1.0f;\n if (pitch < 0.1) pitch = 0.1f;\n float speed = 1.0f;\n mtts.setPitch(pitch);\n mtts.setSpeechRate(speed);\n\n if (defaultLanguage.equals(\"cn\")) {\n\n englishChineseTranslator.translate(message).addOnSuccessListener(new OnSuccessListener<String>() {\n @Override\n public void onSuccess(String s) {\n\n String botResponseArray [] = s.split(\"\\\\|\\\\|\");\n for(int i=0; i<botResponseArray.length;i++){\n\n layout = getBotLayout();\n TextView tv1 = layout.findViewById(R.id.chatMsg);\n tv1.setText(botResponseArray[i]);\n mtts.speak(botResponseArray[i], TextToSpeech.QUEUE_FLUSH, null);\n\n layout.setFocusableInTouchMode(true);\n chatLayout.addView(layout); // move focus to text view to automatically make it scroll up if softfocus\n layout.requestFocus();\n }\n }\n });\n\n }\n\n }\n } else {\n Log.e(\"TTs\", \"Language Not supported\");\n }\n }\n });\n }\n\n\n break;\n default:\n layout = getBotLayout();\n break;\n }\n queryEditText.requestFocus(); // change focus back to edit text to continue typing\n }", "Builder addInLanguage(Text value);", "public interface Translator {\n\t/**\n\t * Make text translation.\n\t * @param text source text for translation.\n\t * @param from source language code.\n\t * @param to target language code.\n\t * @return list of translated words from text.\n\t */\n\tList<String> translate(String text, String from, String to);\n}", "@Override\n public void onInit(int code) {\n if (code==TextToSpeech.SUCCESS) {\n m_tts.setLanguage(Locale.US);\n } else {\n m_tts = null;\n msg(\"Failed to initialize TTS engine\");\n }\n }", "public void setLanguage(String s) {\n\t\tlanguage = s;\n\t}", "private static String transcribe(String filePath) throws Exception {\n try (SpeechClient speech = SpeechClient.create()) {\n Path path = Paths.get(filePath);\n byte[] data = Files.readAllBytes(path);\n ByteString audioBytes = ByteString.copyFrom(data);\n\n // Configure request with local raw PCM audio\n RecognitionConfig config =\n RecognitionConfig.newBuilder()\n .setEncoding(SPEECH_ENCODING)\n .setLanguageCode(SPEECH_LANGUAGE_CODE)\n .setSampleRateHertz(SPEECH_SAMPLE_RATE)\n .build();\n RecognitionAudio audio = RecognitionAudio.newBuilder().setContent(audioBytes).build();\n\n // Use blocking call to get audio transcript\n RecognizeResponse response = speech.recognize(config, audio);\n List<SpeechRecognitionResult> results = response.getResultsList();\n\n for (SpeechRecognitionResult result : results) {\n // There can be several alternative transcripts for a given chunk of speech. Just use the\n // first (most likely) one here.\n SpeechRecognitionAlternative alternative = result.getAlternativesList().get(0);\n return alternative.getTranscript();\n }\n }\n return \"\";\n }", "@DISPID(-2147413012)\n @PropPut\n void language(\n java.lang.String rhs);", "public interface TextSpeakLogicInterface {\n\n public void speakOut(String text);\n public void stopSpeak();\n\n}", "private void startTranslation(\n String sourceLanguageName, \n boolean isSourceExternal, \n String targetLanguageName,\n boolean isTargetExternal,\n boolean isTargetNew) \n {\n FrostResourceBundle sourceBundle;\n TranslateableFrostResourceBundle targetBundle;\n \n FrostResourceBundle rootBundle = new FrostResourceBundle(); // english fallback for source language\n \n if( isSourceExternal ) {\n // load external properties file\n sourceBundle = new FrostResourceBundle(sourceLanguageName, rootBundle, true);\n } else {\n // build in source\n sourceBundle = new FrostResourceBundle(sourceLanguageName, rootBundle, false);\n }\n \n if( isTargetExternal ) {\n // load external properties file\n targetBundle = new TranslateableFrostResourceBundle(targetLanguageName, null, true);\n } else if( isTargetNew ) {\n // start a new translation, nothing to load\n targetBundle = new TranslateableFrostResourceBundle();\n } else {\n // target is build-in, enhance existing translation\n targetBundle = new TranslateableFrostResourceBundle(targetLanguageName, null, false);\n }\n \n // TODO: run dialog with source and targetbundle, if user pressed OK save the targetbundle:\n \n targetBundle.saveBundleToFile(targetLanguageName);\n \n }", "public interface TTSController {\n\t\n\t/**\n\t * Plays the given string of text as speech.\n\t */\n\tvoid playSpeech(String rawText);\n\t\n}", "private void initializeTextToSpeech() {\n myTTS = new TextToSpeech(this, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int i) {\n if(myTTS.getEngines().size() ==0){\n Toast.makeText(MainActivity.this, \"There is no Text to Speech engine on your device\", Toast.LENGTH_LONG).show();\n finish();\n }\n else {\n myTTS.setLanguage(Locale.US);\n speak(\"Hello! Welcome to the workout app\");\n\n }\n }\n });\n }", "public void setAudioEncoding(String s) {\n audioEncoding = s;\n }", "@Override\n public void onInit(int status) {\n\n if (status == TextToSpeech.SUCCESS) {\n\n int result = tts.setLanguage(Locale.US);\n\n //tts.setPitch(0.8f); // set pitch level\n tts.setSpeechRate(1); // set speech speed rate\n\n if (result == TextToSpeech.LANG_MISSING_DATA\n || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n Log.e(\"TTS\", \"Language is not supported\");\n } else {\n Log.e(\"TTS\", \"Language is supported\");\n }\n\n } else {\n Log.e(\"TTS\", \"Initilization Failed\");\n }\n\n }", "public void setGrammarText(String aGrammarText);", "public void setLanguageEnglishButtonText(String text) {\n/*Generated! Do not modify!*/ replyDTO.getVariablesToSet().add(\"overviewSmall_languageEnglishButton_propertyText\");\n/*Generated! Do not modify!*/ if (text == null) {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().remove(\"overviewSmall_languageEnglishButton_propertyText\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().put(\"overviewSmall_languageEnglishButton_propertyText\", text);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(\"setLanguageEnglishButtonText(\" + escapeString(text) + \");\");\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "public void translate() {\n\t\twhile (!inputBuffer.endOfBuffer()) {\n\t\t\tMsgChar get = inputBuffer.getChar();\n\t\t\tif (get == null) continue;\n\t\t\tif (inputBuffer.isEndOfSentence()) {\n\t\t\t\toutputBuffer.markEndOfSentence();\n\t\t\t} else if (inputBuffer.isEndOfWord()) {\n\t\t\t\toutputBuffer.markEndOfWord();\n\t\t\t} else {\n\t\t\t\toutputBuffer.putChar(get.convert());\n\t\t\t}\n\t\t}\n\t\tinputBuffer.getReader().close();\n\t\toutputBuffer.close();\n\t}", "public abstract WordAudioDocument convertToAudioDocument(TextDocument doc) throws IOException;", "public synchronized Result process(String text, String lang) {\n // Check that service has been initialized.\n if (!this.initialized) {\n logInitializationError();\n return null;\n }\n this.cas.reset();\n this.cas.setDocumentText(text);\n if (lang != null) {\n this.cas.setDocumentLanguage(lang);\n }\n try {\n this.ae.process(this.cas);\n } catch (AnalysisEngineProcessException e) {\n getLogger().log(Level.SEVERE, \"\", e);\n return null;\n }\n return this.resultExtractor.getResult(this.cas, this.serviceSpec);\n }", "public synchronized AudioInputStream stringToSound(String sentence) throws CaptchaException {\n //use the custom (see inner class) InputStreamAudioPlayer, which provide interface to\n // Audio Stream\n InputStreamAudioPlayer audioPlayer = new InputStreamAudioPlayer();\n\n this.voice.setAudioPlayer(audioPlayer);\n\n // Synthesize speech.\n this.voice.speak(sentence);\n\n AudioInputStream ais = audioPlayer.getAudioInputStream();\n return ais;\n }", "@Test\n public void shouldTranslateWithRegionalVariant() {\n List<String> sentence = Arrays.asList(\"it\", \"is\", \"cold\");\n String result = \"\";\n for (String token : sentence) {\n result += manager.message(Locale.CANADA_FRENCH, token, token) + \" \";\n }\n assertEquals(\"Il fait frette \", result);\n }", "private void speakExtractedText(TextToSpeech tts, String fileTextContent){\n Bundle dataMap = new Bundle();\n dataMap.putFloat(TextToSpeech.Engine.KEY_PARAM_PAN, 0f);\n dataMap.putFloat(TextToSpeech.Engine.KEY_PARAM_VOLUME, 1f);\n dataMap.putInt(TextToSpeech.Engine.KEY_PARAM_STREAM, AudioManager.STREAM_VOICE_CALL);\n\n\n tts.speak(fileTextContent, TextToSpeech.QUEUE_FLUSH, dataMap, FRAGMENT_GENERAL_UTTERANCE_ID);\n }", "private void speakout(String cname) \n\t\t\t{\n\t\t\t\t{t1.speak(cname,TextToSpeech.QUEUE_FLUSH,null);\n\t\t\t\tt1.setLanguage(Locale.ENGLISH);\n\t\t\t\t}\n\t\t\t}", "@Test(expected = NotEnglishWordException.class)\r\n\tpublic void testEnglishAdd() throws LanguageSyntaxException {\r\n\t\ttrans.addWord(\"дом\", \"домик\");\r\n\t}", "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main);\n txtSpeechInput = (TextView) findViewById(R.id.txtSpeechInput);\n textToSpeech = new TextToSpeech(getApplicationContext(), new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status != TextToSpeech.ERROR) {\n textToSpeech.setLanguage(Locale.ENGLISH);\n }\n }\n });\n\n btnSpeak = (ImageButton) findViewById(R.id.btnSpeak);\n btnSpeak.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n\n promptSpeechInput();\n }\n });\n\n }", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent(\n\t\t\t\t\t\tRecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\n\t\t\t\tintent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, \"en-US\");\n\n\t\t\t\ttry {\n\t\t\t\t\tstartActivityForResult(intent, RESULT_SPEECH);\n\t\t\t\t\tet1.setText(\"\");\n\t\t\t\t} catch (ActivityNotFoundException a) {\n\t\t\t\t\tToast t = Toast.makeText(getApplicationContext(),\n\t\t\t\t\t\t\t\"Opps! Your device doesn't support Speech to Text\",\n\t\t\t\t\t\t\tToast.LENGTH_SHORT);\n\t\t\t\t\tt.show();\n\t\t\t\t}\n\t\t\t\t\n\n\t\t\t}", "public abstract void addWordAudio(WordAudio audio) throws IOException;", "@Override\r\n protected void onCreate(Bundle savedInstanceState) {\r\n super.onCreate(savedInstanceState);\r\n setContentView(R.layout.activity_translate);\r\n\r\n translatedPhrase = findViewById(R.id.translatedPhrase);//textview to display the translated phrase or word\r\n list3 = findViewById(R.id.list3);\r\n list3.setChoiceMode(ListView.CHOICE_MODE_SINGLE);//setting the choice mode of the list to single choice\r\n\r\n subscribedLanguage = findViewById(R.id.subscribedLanguage);\r\n languageArrayList = phrasesDatabase.languages();//storing the data from the database into the array\r\n //array to store the string values of the main array\r\n ArrayList<String> spinnerArray = new ArrayList<>();\r\n //loop to retrieve the values from the main array into the string array for displaying\r\n for(int i =0; i < languageArrayList.size(); i++) {\r\n spinnerArray.add(languageArrayList.get(i).getLanguage());\r\n }\r\n\r\n ArrayAdapter<String> spinnerAdapter = new ArrayAdapter<>(this, android.R.layout.simple_spinner_item, spinnerArray);\r\n spinnerAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\r\n subscribedLanguage.setAdapter(spinnerAdapter);\r\n\r\n translate = findViewById(R.id.translate);\r\n pronounce = findViewById(R.id.pronounce);\r\n\r\n translationService = initLanguageTranslatorService();\r\n textService = initTextToSpeechService();\r\n\r\n //calling methods\r\n translatePhrase();\r\n textToSpeech();\r\n }", "public void speak(String speech)\n\t{\n\t\tif (ttsReady)\n\t\t{\n\t\t\ttts.speak(speech, TextToSpeech.QUEUE_FLUSH, null);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tUtils.makeLog(\"Tried to speak before TTS was ready\");\n\t\t}\n\t}", "public void sendCommands (String input, String language) {\n myController.parseCommand(input, language);\n }", "public void setLanguage(String language);", "public abstract WordEntry manualTranslate(String text, String from, String to);", "public void sayText(String normal, String altered){\n\t\tvoiceGen.sayText(normal, altered);\n\t}", "public void speak(String text, int queueMode, String[] params) {\n ArrayList<String> speakingParams = new ArrayList<String>();\n if (params != null) {\n speakingParams = new ArrayList<String>(Arrays.asList(params));\n }\n mSelf.speak(text, queueMode, speakingParams);\n }", "public static void main(String[] args) {\r\n // Init variables\r\n String phrase;\r\n String translated_phrase = \"\";\r\n String response;\r\n\r\n boolean keep_translating = true; // Flow control for program loop\r\n\t // Take in the phrase and split it into an array of strings\r\n while(keep_translating){\r\n\t\t\tSystem.out.println(\"Type a phrase to be translated to pig latin\");\r\n\t\t\tphrase = TextIO.getln();\r\n\t\t\tString[] split_phrase = phrase.split(\" \");\r\n\r\n\t // Loop over the array(phrase) translating the words one at a time\r\n\t for(String word : split_phrase) {\r\n\t\t translated_phrase = translated_phrase.concat(translate_word_to_pig_latin(word) + \" \");\r\n }\r\n\r\n // Print output to the user\r\n System.out.println(translated_phrase);\r\n\r\n // Check to see if user wants to translate a new phrase\r\n System.out.println(\"Would you like to translate another phrase? (Yy/Nn)\");\r\n response = TextIO.getlnString();\r\n if(response.equals(\"N\")|response.equals(\"n\")){\r\n keep_translating = false;\r\n } else{\r\n translated_phrase = \"\";\r\n }\r\n\r\n }\r\n }", "static void speak(String words) {\n\t\ttry {\n\t\t\tRuntime.getRuntime().exec(\"say \" + words).waitFor();\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public MultilingualString(String s, String languageCode) {\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 updateLanguage() {\n this.title.setText(LanguageStringMap.get().getMap().get(TITLE_KEY));\n this.skinSwitcher.updateLanguage();\n this.langSwitcher.updateLanguage();\n this.pawnSwitcher.updateLanguage();\n this.musicManager.updateLanguage();\n this.back.setText(LanguageStringMap.get().getMap().get(BACK_KEY));\n }", "@Override\r\n public String speak() {\r\n String word = \"\";\r\n Time.getInstance().time += 1;\r\n if (Time.getInstance().time == 1) {\r\n word = \"One day Neznaika decided to become an artist.\";\r\n }\r\n if (Time.getInstance().time == 101) {\r\n word = \"This story happened once day with Neznaika.\";\r\n }\r\n if (Time.getInstance().time == 201) {\r\n word = \"One day Neznaika wanted to become a musician.\";\r\n }\r\n if (Time.getInstance().time == 401) {\r\n word = \"One day Neznaika wanted to become a poet.\";\r\n }\r\n System.out.println(word);\r\n return word;\r\n }", "public void setOntologies20070510nid3Language(java.lang.String value) {\r\n\t\tBase.set(this.model, this.getResource(), ONTOLOGIES20070510NID3LANGUAGE, value);\r\n\t}", "public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n System.out.println(\"Enter your language:\");\n String language = scanner.nextLine();\n\n switch (language){\n case \"Sinhala\":\n System.out.println(\"Language is changed to Sinhala..\");\n break;\n case \"English\":\n System.out.println(\"Language is changed to English..\");\n break;\n case \"Tamil\":\n System.out.println(\"Language is changed to Tamil..\");\n break;\n default:\n System.out.println(\"Something went wrong!! Try again..\");\n break;\n }\n\n }", "private boolean synthesizeToFile(String text, ArrayList<String> params,\n String filename, boolean calledFromApi) {\n // Only stop everything if this is a call made by an outside app trying\n // to\n // use the API. Do NOT stop if this is a call from within the service as\n // clearing the speech queue here would be a mistake.\n if (calledFromApi) {\n stop();\n }\n Log.i(\"TTS\", \"Synthesizing to \" + filename);\n boolean synthAvailable = false;\n try {\n synthAvailable = synthesizerLock.tryLock();\n if (!synthAvailable) {\n return false;\n }\n // Don't allow a filename that is too long\n if (filename.length() > MAX_FILENAME_LENGTH) {\n return false;\n }\n nativeSynth.synthesizeToFile(text, filename);\n } finally {\n // This check is needed because finally will always run; even if the\n // method returns somewhere in the try block.\n if (synthAvailable) {\n synthesizerLock.unlock();\n }\n }\n Log.i(\"TTS\", \"Completed synthesis for \" + filename);\n return true;\n }", "Builder addInLanguage(String value);", "public static void flashTranslate(String st) {\n\n //length of one Morse Code unit. Details about the International Morse Code are in the manual.\n int unit = 500;\n String output = translate(st) + \" \";\n\n // Open the camera resource upon the call of this method.\n try {\n releaseCameraAndPreview();\n cam = Camera.open(Camera.CameraInfo.CAMERA_FACING_BACK);\n }\n catch (Exception e) {\n e.printStackTrace();\n }\n\n // taking input from the string to translate them into flashlight\n for (char ch : output.toCharArray()) {\n if (ch == '.') {\n try {\n turnFlashlightOn();\n Thread.sleep(unit); // keeps flashlight on for 1 unit\n } catch (InterruptedException exception) {\n Thread.currentThread().interrupt();\n }\n }\n else if (ch == '-') {\n try {\n turnFlashlightOn();\n Thread.sleep((3 * unit)); // keeps flashlight on for 3 units\n } catch (InterruptedException exception) {\n Thread.currentThread().interrupt();\n }\n }\n else {\n try {\n turnFlashlightOff();\n Thread.sleep((unit)); // keeps flashlight off for one unit for every space in the input String\n } catch (InterruptedException exception) {\n Thread.currentThread().interrupt();\n }\n }\n //\n }\n\n // Close and Release camera resource\n releaseCameraAndPreview();\n\n }", "@Override\n\tpublic Map<String, Object> apiProcess(ParamContextHolder paramContextHolder, CApiBase arg1) throws ApiProcessException {\n\t\tMap<String, Object> map = new HashMap<>();\n\t\tString id = paramContextHolder.getReq().getParameter(\"id\");\n\t\tif(!cosProcess.checkFileExist(folder+id+\"_zh.mp3\")){\n\t\t\tNNovelContent content = iNNovelContentService.selectById(id);\n\t\t\tif(content == null){\n\t\t\t\tthrow new ApiProcessException(\"C0001\",\"语音合成异常\");\n\t\t\t}\n\t\t\tString str = cosProcess.getContent(content.getBookId()+\"/\"+content.getId());\n\t\t\tstr = str.replaceAll(\"</br>\", \"\");\n\t\t\tList<String> list = new ArrayList<>();\n\t\t\tstr = str.trim();\n\t\t\twhile(str.length()>0){\n\t\t\t\tif(str.length() > 2000){\n\t\t\t\t\tint index = str.indexOf(\"。\", 2000);\n\t\t\t\t\tif(index == -1){\n\t\t\t\t\t\tindex = str.indexOf(\".\", 2000);\n\t\t\t\t\t}\n\t\t\t\t\tif(index == -1){\n\t\t\t\t\t\tindex = str.indexOf(\",\", 2000);\n\t\t\t\t\t}\n\t\t\t\t\tif(index == -1){\n\t\t\t\t\t\tindex = str.indexOf(\",\", 2000);\n\t\t\t\t\t}\n\t\t\t\t\tlist.add(str.substring(0, index));\n\t\t\t\t\tstr = str.substring(index);\n\t\t\t\t}else{\n\t\t\t\t\tlist.add(str);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tbyte[] data = {};\n\t\t\tfor(String s : list){\n\t\t\t\tTtsResponse res = client.synthesis(s,\"zh\",1,null);\n\t\t\t\tSystem.out.println(res.getResult());\n\t\t\t\tif(!(res.getResult()==null)) throw new ApiProcessException(\"C0001\",\"语音合成异常\");\n\t\t\t\tdata = ArrayUtils.addAll(data,res.getData());\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tcosProcess.createMP3(folder+content.getId()+\"_zh.mp3\", new ByteArrayInputStream(data));\n\t\t\t} catch (Exception e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\tthrow new ApiProcessException(\"C0001\",\"语音合成异常\");\n\t\t\t}\n\t\t}\n\t\tmap.put(\"url\",path+folder+id+\"_zh.mp3\");\n\t\treturn map;\n\t}", "private void speak() {\n String s = textArea.getText();\n String s5=\"images\\\\\";\n String s4=\".jpeg\";\n String obj=s5+s+s4;\n ImageIcon ic1=new ImageIcon(obj);\n Image image1=ic1.getImage().getScaledInstance(image.getWidth(),image.getHeight(),Image.SCALE_AREA_AVERAGING);\n ImageIcon icon1=new ImageIcon(image1);\n image.setIcon(icon1);\n int i = textArea.getCaretPosition();\n int k = s.length();\n for (int j = i; j <= k - 1; j++) {\n char c = s.charAt(j);\n String s3 = Character.toString(c);\n s2 = s2 + s3;\n }\n VoiceManager voiceManager = VoiceManager.getInstance();\n helloVoice = voiceManager.getVoice(\"kevin16\");\n helloVoice.allocate();\n helloVoice.speak(s2);\n helloVoice.deallocate();\n playB.setText(\"PLAY\");\n }", "public void englishlanguage() {\nSystem.out.println(\"englishlanguage\");\n\t}", "@Override\n public void setText(String englishText) {\n\n }" ]
[ "0.69215024", "0.68173546", "0.6700163", "0.6663504", "0.66364783", "0.63713133", "0.6358397", "0.6288359", "0.6268556", "0.62629646", "0.6257736", "0.62506765", "0.6207591", "0.61870784", "0.61489266", "0.609621", "0.6055886", "0.59224105", "0.592108", "0.5880396", "0.5869629", "0.5844022", "0.57916784", "0.5748888", "0.57175547", "0.57162637", "0.570309", "0.5694463", "0.564375", "0.56423396", "0.5640513", "0.56374156", "0.5571232", "0.55685836", "0.5499502", "0.5491781", "0.548853", "0.54884094", "0.54830134", "0.548004", "0.54775983", "0.54729575", "0.5441089", "0.5429598", "0.5405407", "0.5401866", "0.5388706", "0.5364605", "0.5362818", "0.53606534", "0.5344785", "0.53042793", "0.5301643", "0.5299487", "0.529508", "0.52886075", "0.5286163", "0.52764827", "0.52731884", "0.52697945", "0.5267702", "0.5265328", "0.52523255", "0.52242494", "0.5217488", "0.521178", "0.5186475", "0.51776934", "0.51617426", "0.5151829", "0.5147979", "0.5146064", "0.5144058", "0.51434904", "0.51347786", "0.51286954", "0.5126137", "0.5120178", "0.51092553", "0.51032156", "0.5102356", "0.5091415", "0.50732136", "0.5065975", "0.5061691", "0.50612676", "0.50584894", "0.50435555", "0.5007844", "0.50048465", "0.50048363", "0.5003462", "0.50013995", "0.49994093", "0.49992776", "0.49987537", "0.49955365", "0.49931052", "0.49891147", "0.49889445" ]
0.57652473
23
Performs the texttospeech operations: it takes a std::string as input and outputs the corresponding audio signal in the specified file.
public Future<Void> sayToFile(String pStringToSay, String pFileName) throws DynamicCallException, ExecutionException{ return call("sayToFile", pStringToSay, pFileName); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static String transcribe(String filePath) throws Exception {\n try (SpeechClient speech = SpeechClient.create()) {\n Path path = Paths.get(filePath);\n byte[] data = Files.readAllBytes(path);\n ByteString audioBytes = ByteString.copyFrom(data);\n\n // Configure request with local raw PCM audio\n RecognitionConfig config =\n RecognitionConfig.newBuilder()\n .setEncoding(SPEECH_ENCODING)\n .setLanguageCode(SPEECH_LANGUAGE_CODE)\n .setSampleRateHertz(SPEECH_SAMPLE_RATE)\n .build();\n RecognitionAudio audio = RecognitionAudio.newBuilder().setContent(audioBytes).build();\n\n // Use blocking call to get audio transcript\n RecognizeResponse response = speech.recognize(config, audio);\n List<SpeechRecognitionResult> results = response.getResultsList();\n\n for (SpeechRecognitionResult result : results) {\n // There can be several alternative transcripts for a given chunk of speech. Just use the\n // first (most likely) one here.\n SpeechRecognitionAlternative alternative = result.getAlternativesList().get(0);\n return alternative.getTranscript();\n }\n }\n return \"\";\n }", "private void speakExtractedText(TextToSpeech tts, String fileTextContent){\n Bundle dataMap = new Bundle();\n dataMap.putFloat(TextToSpeech.Engine.KEY_PARAM_PAN, 0f);\n dataMap.putFloat(TextToSpeech.Engine.KEY_PARAM_VOLUME, 1f);\n dataMap.putInt(TextToSpeech.Engine.KEY_PARAM_STREAM, AudioManager.STREAM_VOICE_CALL);\n\n\n tts.speak(fileTextContent, TextToSpeech.QUEUE_FLUSH, dataMap, FRAGMENT_GENERAL_UTTERANCE_ID);\n }", "public interface Text2Speech {\n\t\n\t/**\n\t * Supported formats.\n\t */\n\tenum OutputFormat {\n\t\t/**\n\t\t * MP3 format.\n\t\t */\n\t\tMP3,\n\t\t/**\n\t\t * Ogg-vorbis format.\n\t\t */\n\t\tOGG\n\t}\n\t\n\t/**\n\t * Produce MP3 with specified phrase.\n\t * \n\t * @param phrase Some sentence.\n\t * @return MP3 stream (may be network bound, close afterwards)\n\t */\n\tInputStream synthesize(String phrase, OutputFormat fmt) throws IOException;\n}", "private boolean synthesizeToFile(String text, ArrayList<String> params,\n String filename, boolean calledFromApi) {\n // Only stop everything if this is a call made by an outside app trying\n // to\n // use the API. Do NOT stop if this is a call from within the service as\n // clearing the speech queue here would be a mistake.\n if (calledFromApi) {\n stop();\n }\n Log.i(\"TTS\", \"Synthesizing to \" + filename);\n boolean synthAvailable = false;\n try {\n synthAvailable = synthesizerLock.tryLock();\n if (!synthAvailable) {\n return false;\n }\n // Don't allow a filename that is too long\n if (filename.length() > MAX_FILENAME_LENGTH) {\n return false;\n }\n nativeSynth.synthesizeToFile(text, filename);\n } finally {\n // This check is needed because finally will always run; even if the\n // method returns somewhere in the try block.\n if (synthAvailable) {\n synthesizerLock.unlock();\n }\n }\n Log.i(\"TTS\", \"Completed synthesis for \" + filename);\n return true;\n }", "void playSpeech(String rawText);", "private boolean convert(String text,String directory,String fileName) {\r\n\t\t\r\n\t\tif(!text.isEmpty()) {\t\t\t\r\n\t\t\tFile file = new File(directory,fileName);\r\n\t\t\t\r\n\t\t\t// create mp3 file with this weather announcement\r\n\t\t\tlog.fine(\"text to speech conversion: text=\"+text+\" filename=\"+file);\r\n\t\t\t\r\n\t\t\t// translate into mp3 stream\r\n\t\t\ttry{\r\n\t text=java.net.URLEncoder.encode(text, \"UTF-8\");\r\n\t //URL url = new URL(\"http://translate.google.com/translate_tts?tl=de&ie=UTF-8&q=\"+text+\"&total=1&idx=0&client=alarmpi\");\r\n\t \r\n\t Map<String, String> requestParams = new HashMap<>();\r\n\t requestParams.put(\"key\", \"f5d762f987f34397b350af6563ffb818\");\r\n\t requestParams.put(\"hl\", \"de-de\");\r\n\t requestParams.put(\"c\", \"MP3\");\r\n\t requestParams.put(\"src\", text);\r\n\t \r\n\t\t\t\tString encodedURL = requestParams.keySet().stream()\r\n\t \t .map(key -> key + \"=\" + requestParams.get(key))\r\n\t \t .collect(Collectors.joining(\"&\", \"http://api.voicerss.org?\", \"\"));\r\n\t \r\n\t URL url = new URL(encodedURL);\r\n\t log.fine(\"URL=\"+encodedURL);\r\n\t \r\n\t HttpURLConnection urlConn = (HttpURLConnection) url.openConnection();\r\n\t urlConn.addRequestProperty(\"User-Agent\", \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36\");\r\n\t InputStream audioSrc = urlConn.getInputStream();\r\n\t DataInputStream read = new DataInputStream(audioSrc);\r\n\t OutputStream outstream = new FileOutputStream(file);\r\n\t byte[] buffer = new byte[1024];\r\n\t int len;\r\n\t int totalLength = 0;\r\n\t while ((len = read.read(buffer)) > 0) {\r\n\t \toutstream.write(buffer, 0, len);\r\n\t \ttotalLength += len;\r\n\t }\r\n\t outstream.close();\r\n\t log.fine(\"text2speech byteount=\"+totalLength);\r\n\t \r\n\t if(totalLength<1024) {\r\n\t \t// this indicates a problem...\r\n\t \tlog.severe(\"text2speech conversion returns less than 1k data\");\r\n\t }\r\n\t \r\n\t \t\t// update mpd database\r\n\t SoundControl.getSoundControl().update();\r\n\t \r\n\t return true;\r\n\t\t\t} catch(IOException e){\r\n\t\t\t\tlog.severe(\"Exception in text to speech conversion: \"+e.getMessage());\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\telse {\r\n\t\t\tlog.warning(\"Text to speech conversion called with empty text\");\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "public void addSpeechFile(String text, String filename) {\n mSelf.addSpeech(text, filename);\n }", "private void ConvertTextToSpeech(String voice1) {\n text=voice1;\n //text = et.getText().toString();\n if (text == null || \"\".equals(text)) {\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n } else\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", "private void convertTextToSpeech(String text) {\n if (null == text || \"\".equals(text)) {\n text = \"Please give some input.\";\n }\n m_tts.speak(text, TextToSpeech.QUEUE_ADD, null);\n }", "String transcribeFile(String filePath);", "private void ConvertTextToSpeech() {\n if (properties.get(selectedStateOrCountry) != null) {\n tts.speak(String.format(\"This is %s %s\", selectedStateOrCountry, properties.get(selectedStateOrCountry)),\n TextToSpeech.QUEUE_FLUSH, null);\n\n } else if (countryCapitalMap.get(selectedStateOrCountry) != null) {\n tts.speak(countryCapitalMap.get(selectedStateOrCountry), TextToSpeech.QUEUE_FLUSH, null);\n } else {\n tts.speak(selectedStateOrCountry, TextToSpeech.QUEUE_FLUSH, null);\n }\n }", "public void speak(String text);", "private void addSpeech(String text, String filename) {\n mUtterances.put(text, new SoundResource(filename));\n }", "@Override\n protected synchronized void onSynthesizeText(SynthesisRequest request,\n SynthesisCallback callback) {\n int load = onLoadLanguage(request.getLanguage(), request.getCountry(),\n request.getVariant());\n\n // We might get requests for a language we don't support - in which case\n // we error out early before wasting too much time.\n if (load == TextToSpeech.LANG_NOT_SUPPORTED) {\n callback.error();\n return;\n }\n\n // At this point, we have loaded the language we need for synthesis and\n // it is guaranteed that we support it so we proceed with synthesis.\n\n // We denote that we are ready to start sending audio across to the\n // framework. We use a fixed sampling rate (16khz), and send data across\n // in 16bit PCM mono.\n callback.start(SAMPLING_RATE_HZ,\n AudioFormat.ENCODING_PCM_16BIT, 1 /* Number of channels. */);\n\n // We then scan through each character of the request string and\n // generate audio for it.\n final String text = request.getText().toLowerCase();\n for (int i = 0; i < text.length(); ++i) {\n char value = normalize(text.charAt(i));\n // It is crucial to call either of callback.error() or callback.done() to ensure\n // that audio / other resources are released as soon as possible.\n if (!generateOneSecondOfAudio(value, callback)) {\n callback.error();\n return;\n }\n }\n\n // Alright, we're done with our synthesis - yay!\n callback.done();\n }", "private void tts(String str){\n\t\ttxtSpeechInput.setText(str);\n\t\tt1.speak(str , TextToSpeech.QUEUE_FLUSH, null);\n\t\twhile(t1.isSpeaking()){\n\t\t\t;\n\t\t}\n\t}", "public boolean synthesizeToFile(String text, String[] params,\n String filename) {\n ArrayList<String> speakingParams = new ArrayList<String>();\n if (params != null) {\n speakingParams = new ArrayList<String>(Arrays.asList(params));\n }\n return mSelf.synthesizeToFile(text, speakingParams, filename, true);\n }", "public void speak(String outputSpeak) \n {\n speaker.speaker(outputSpeak);\n }", "private void speakOut(String text) {\n\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", "@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)\n private void speakWords(String speech) {\n myTTS.speak (speech, TextToSpeech.QUEUE_FLUSH, null,\"1\");\n\n }", "private void generateTts() {\n File mediaStorageDir = new File(\n Environment.getExternalStorageDirectory(),\n resources.getTtsStorageFolder());\n \n if (!mediaStorageDir.exists())\n {\n if (!mediaStorageDir.mkdirs())\n {\n Log.w(TAG, \"Failed to create mediadir\");\n }\n else\n {\n Log.d(TAG, \"Created mediadir\" + mediaStorageDir.getAbsolutePath());\n }\n }\n\n File mediaFile = new File(mediaStorageDir.getPath() + File.separator + resources.getTtsFileName());\n Log.d(TAG, \"TTS path : \" + mediaFile.getAbsolutePath());\n\n HashMap<String, String> hashTts = new HashMap<>();\n hashTts.put(TextToSpeech.Engine.KEY_PARAM_UTTERANCE_ID, \"ttsToFile\");\n t1.setSpeechRate(Float.parseFloat(resources.getTtsSpeechRate()));\n t1.synthesizeToFile(message, hashTts, mediaFile.getAbsolutePath());\n\n }", "@FXML\r\n void btnspeechClick(MouseEvent event) {\n \t\r\n \t setService();\r\n setHeader();\r\n \r\n System.out.println(service);\r\n \r\n InputStream stream = service.synthesize(\r\n taContent.getText(), // 변경할 문자열\r\n \tVoice.EN_LISA, // voice 선택\r\n \tAudioFormat.WAV // 출력할 오디오 포멧 형식 \r\n ).execute();\r\n // 음성데이터를 저장하기\r\n try {\r\n InputStream in = WaveUtils.reWriteWaveHeader(stream);\r\n //WaveUtils.\r\n \r\n OutputStream os = new FileOutputStream(\"d:/d_other/AIData/test12.wav\");\r\n \r\n byte[] tmp = new byte[1024];\r\n int len = 0;\r\n \r\n while((len = in.read(tmp)) != -1) {\r\n os.write(tmp, 0, len);\r\n }\r\n os.flush();\r\n \r\n os.close();\r\n in.close();\r\n stream.close();\r\n \r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n }\r\n \r\n music();\r\n\r\n }", "@SuppressWarnings(\"unchecked\")\n public void speak(String text) throws JavaLayerException {\n\t\ttry {\n \n //Create a JLayer instance\n AdvancedPlayer player = new AdvancedPlayer(synthesizer.getMP3Data(text));\n player.play();\n \n } catch (IOException e) {\n \n }\n\t\t\n\t}", "public void transcribe (String utterance, float confidence) \n{\n //println(utterance);\n if (!utterance.equals(\"\"))\n {\n result = utterance;\n ListenForKeywords(result);\n println(result);\n inputResult = result;\n result = \"\";\n \n //CheckCommandValidity(result);\n \n }\n}", "public abstract WordAudioDocument convertToAudioDocument(TextDocument doc) throws IOException;", "@Override\n public void onClick(View v) {\n text_to_speech = set_voice(text_to_speech);\n int len = ar.length;\n for (int i = 0; i < len; i++){\n speak(text_to_speech,ar[i]);\n }\n }", "public void Save2Wave(String i_filename) {\n\t \tStringBuffer output = new StringBuffer();\n\t\t\ttry {\n\t\t\t\tBufferedReader in = new BufferedReader(new FileReader(i_filename));\n\t\t\t\tString st;\n\t\t\t\twhile ((st=in.readLine()) != null) {\n\t\t\t\toutput.append(st);\n\t\t\t\toutput.append(\" \");\n\t\t\t\t}\n\t\t\t\tin.close();\n\t\t\t}\n\t\t\tcatch (Exception fx) {\n\t\t\t\tSystem.out.println(\"IO error in Synthesis: \" + fx.toString());\n\t\t\t}\n\t\t\tm_ttsLocal.SaveToFile(output.toString());\n\t\t}", "private boolean synthesizeIpaToFile(String ipaText, ArrayList<String> params,\n String filename, boolean calledFromApi) {\n // Only stop everything if this is a call made by an outside app trying\n // to\n // use the API. Do NOT stop if this is a call from within the service as\n // clearing the speech queue here would be a mistake.\n if (calledFromApi) {\n stop();\n }\n Log.i(\"TTS\", \"Synthesizing IPA to \" + filename);\n boolean synthAvailable = false;\n try {\n synthAvailable = synthesizerLock.tryLock();\n if (!synthAvailable) {\n return false;\n }\n // Don't allow a filename that is too long\n if (filename.length() > MAX_FILENAME_LENGTH) {\n return false;\n }\n // TODO: Add nativeSynth.synthesizeIpaToFile(text, filename);\n } finally {\n // This check is needed because finally will always run; even if the\n // method returns somewhere in the try block.\n if (synthAvailable) {\n synthesizerLock.unlock();\n }\n }\n Log.i(\"TTS\", \"Completed synthesis for \" + filename);\n return true;\n }", "public void speakText(String text) {\n mTTS.setPitch(1);\n mTTS.setSpeechRate(1);\n mTTS.speak(String.format(\"Okay! Searching for %s\", text),\n TextToSpeech.QUEUE_FLUSH, null);\n }", "public void recordVoice() {\n\t\t\n\t\t//String command = \"ffmpeg -f alsa -i hw:0 -t 2 -acodec pcm_s16le -ar 16000 -ac 1 foo.wav\"\n\t\tString command = \"arecord -d 2 -r 22050 -c 1 -i -t wav -f s16_LE foo.wav\";\n\t\t\n\t\tProcessBuilder pb = new ProcessBuilder(\"bash\" , \"-c\" , command );\n\t\ttry {\n\t\t\t\n\t\t\tProcess recordProcess = pb.start();\n\t\t\t\n\t\t\trecordProcess.waitFor();\n\t\t\t\n\t\t\trecordProcess.destroy();\n\t\n\t\t\t\n\t\t}catch (IOException ioe) {\n\t\t\tioe.printStackTrace();\n\t\t\t\n\t\t}catch (InterruptedException ie) {\n\t\t\tie.printStackTrace();\n\t\t}\n\t\t\n\t}", "private void speak(String s, String text) {\n if (Utility.getInstance().isOnline(mContext)) {\n try {\n float pitch = (float) 0.62;\n float speed = (float) 0.86;\n textToSpeech.setSpeechRate(speed);\n textToSpeech.setPitch(pitch);\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n Bundle bundle = new Bundle();\n bundle.putInt(TextToSpeech.Engine.KEY_PARAM_STREAM, AudioManager.STREAM_MUSIC);\n textToSpeech.speak(s, TextToSpeech.QUEUE_FLUSH, bundle, null);\n textToSpeech.speak(text, TextToSpeech.QUEUE_ADD, bundle, null);\n } else {\n HashMap<String, String> param = new HashMap<>();\n param.put(TextToSpeech.Engine.KEY_PARAM_STREAM, String.valueOf(AudioManager.STREAM_MUSIC));\n textToSpeech.speak(s, TextToSpeech.QUEUE_FLUSH, param);\n textToSpeech.speak(text, TextToSpeech.QUEUE_ADD, param);\n }\n } catch (Exception ae) {\n ae.printStackTrace();\n }\n } else {\n Toast.makeText(mContext, getString(R.string.please_check_internet), Toast.LENGTH_SHORT).show();\n }\n }", "@Override\n public void onClick(View v) {\n StringRequest stringRequest = searchNameStringRequest(output.getText().toString(),\"en\",\"ar\");\n\n\n\n // executing the request (adding to queue)\n queue.add(stringRequest);\n\n String toSpeak = output.getText().toString();\n\n t1.speak(toSpeak, TextToSpeech.QUEUE_FLUSH, null);\n }", "private void speakout(String cname) \n{\n\t{t1.speak(cname,TextToSpeech.QUEUE_FLUSH,null);\n\tt1.setLanguage(Locale.ENGLISH);\n\t}\n}", "public interface TTSController {\n\t\n\t/**\n\t * Plays the given string of text as speech.\n\t */\n\tvoid playSpeech(String rawText);\n\t\n}", "@Override\n\tprotected Void doInBackground() throws Exception {\n\t\tString cmdSchemeFile = \"echo -e \\\"(voice_\"+this.voice+\")\\n\"+\n\t\t\t\t\"(set! duffint_params '((start \"+pitchStart+\") (end \"+pitchEnd+\")))\\n\"\n\t\t\t\t+ \"(Parameter.set 'Int_Method 'DuffInt)\\n(Parameter.set 'Int_Target_Method Int_Targets_Default)\\n\"\n\t\t\t\t+ \"(Parameter.set 'Duration_Stretch \"+rate+\")\\\">.tmp1.scm \";\n\t\t\n\t\tProcessBuilder builder = new ProcessBuilder(\"/bin/bash\", \"-c\", cmdSchemeFile);\n\t\tProcess process = builder.start();\n\t\t//add .tmp1.scm to remove list\n\t\tfilesToRemove.add(\".tmp1.scm\");\n\t\tprocess.waitFor();\n\t\tprocess.destroy();\n\t\t\n\t\t//Create textfile with the message\n\t\tString cmdTxtFile= \"echo \\\"\"+message+\"\\\" > .tmp.txt\";\n\t\tProcessBuilder buildTxt= new ProcessBuilder(\"/bin/bash\",\"-c\", cmdTxtFile);\n\t\tProcess processTxt= buildTxt.start();\n\t\tfilesToRemove.add(\".tmp.txt\");\n\t\tprocessTxt.waitFor();\n\t\tprocessTxt.destroy();\n\t\t\n\t\t//Convert the text to a wav file with properties in the scheme file\n\t\tString cmdWavFile= \"text2wave -o .tmp.wav .tmp.txt -eval .tmp1.scm\";\n\t\tProcessBuilder buildWav= new ProcessBuilder(\"/bin/bash\",\"-c\",cmdWavFile);\n\t\tProcess processWav= buildWav.start();\n\t\tfilesToRemove.add(\".tmp.wav\");\n\t\tprocessWav.waitFor();\n\t\tprocessWav.destroy();\n\t\t\n\t\t//Convert the wave file into mp3 file\n\t\tString cmdMp3File = \"ffmpeg -i .tmp.wav -f mp3 \" + fileName;\n\t\tProcessBuilder buildMp3 = new ProcessBuilder(\"/bin/bash\", \"-c\", cmdMp3File);\n\t\tProcess processMp3 = buildMp3.start();\n\t\tInputStream out= processMp3.getErrorStream();\n\t\tBufferedReader stdout= new BufferedReader(new InputStreamReader(out));\n\t\twhile(stdout.readLine() !=null){\n\t\t\tn+=10;\n\t\t\tpublish();\n\t\t}\n\t\t\n\t\tprocessMp3.waitFor();\n\t\tprocessMp3.destroy();\n\n\t\t// command used in bash terminal\n\t\t// deletes the temporary file\n\t\tFilesRemover fr= new FilesRemover(filesToRemove);\n\t\tfr.execute();\n\t\n\t\treturn null;\n\t}", "public abstract void addWordAudio(WordAudio audio) throws IOException;", "public void Utter(String i_filename, CountDownLatch finished) {\n \tStringBuffer output = new StringBuffer();\n\t\ttry {\n\t\t\tBufferedReader in = new BufferedReader(new FileReader(i_filename));\n\t\t\tString st;\n\t\t\twhile ((st=in.readLine()) != null) {\n\t\t\toutput.append(st);\n\t\t\toutput.append(\" \");\n\t\t\t}\n\t\t\tin.close();\n\t\t}\n\t\tcatch (Exception fx) {\n\t\t\tSystem.out.println(\"IO error in Synthesis: \" + fx.toString());\n\t\t}\n\t\tm_ttsLocal.speak(output.toString(), finished);\n\t}", "public static void speak(Context context, final String text) {\n Log.d(TAG, \"Speak : \" + text);\n if (mTTSEngine == null) {\n mTTSEngine = new TextToSpeech(context, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int i) {\n if (i == TextToSpeech.SUCCESS) {\n mTTSEngine.setLanguage(Locale.US);\n mTTSEngine.setPitch(1f);\n mTTSEngine.setSpeechRate(1f);\n\n mTTSEngine.speak(text, TextToSpeech.QUEUE_ADD, null, UTTERANCE_ID);\n } else {\n mTTSEngine = null;\n }\n }\n });\n } else {\n mTTSEngine.speak(text, TextToSpeech.QUEUE_ADD, null, UTTERANCE_ID);\n }\n }", "@Override\n\t\t\tpublic void onClick(View v) \n\t\t\t{\n\t\t\t\tISpeechServiceProxy iss = new SpeechServiceProxy() ;\n\t\t\t\tiss.textToSpeech(ServiceAction.TTS_ACTION, ReadTextActivity.this, inputText.getText().toString()) ;\n\t\t\t}", "private void speak() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM) ;\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Speak the Item\");\n\n startActivityForResult(intent, SPEECH_REQUEST_CODE);\n\n }", "public String speak(){\n speechOutput.clear();\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Just speak normally into your phone\");\n intent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, 10);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.ENGLISH);\n try {\n startActivityForResult(intent, VOICE_RECOGNITION);\n } catch (ActivityNotFoundException e) {\n e.printStackTrace();\n }\n\n\n return speechResult;\n }", "public void speakClicked(View v)\n {\n EditText editText = (EditText) findViewById(R.id.inputText);\n\n mTts.speak(editText.getText().toString(),\n TextToSpeech.QUEUE_FLUSH, // Drop all pending entries in the playback queue.\n null,\n null);\n }", "private void speakout(String cname) \n\t\t\t{\n\t\t\t\t{t1.speak(cname,TextToSpeech.QUEUE_FLUSH,null);\n\t\t\t\tt1.setLanguage(Locale.ENGLISH);\n\t\t\t\t}\n\t\t\t}", "private void speakOut() {\n\n tts.speak(\"Hello I am jessie\", TextToSpeech.QUEUE_FLUSH, null);\n tts.setLanguage(Locale.ENGLISH);\n //tts.setPitch(9);\n tts.setSpeechRate(1);\n }", "void playTone(){\n t = new Thread() {\n public void run(){\n isRunning = true;\n setPriority(Thread.MAX_PRIORITY);\n\n\n\n audioTrack.play();\n\n for (int i = 0; i < message.length(); i++) {\n\n ASCIIBreaker breaker = new ASCIIBreaker((int)message.charAt(i));\n\n int frequencies[] = breaker.ASCIIToFrequency();\n\n //Generate waves for all different frequencies\n for(int fre : frequencies) {\n audioTrack.write(generateSineInTimeDomain(fre),0,sample_size);\n }\n\n audioTrack.write(generateSineInTimeDomain(7000),0,sample_size);\n }\n\n audioTrack.stop();\n audioTrack.release();\n }\n };\n t.start();\n }", "public void convertVoiceToMaori() {\n\t\tString command = \"HVite -H HTK/MaoriNumbers/HMMs/hmm15/macros -H HTK/MaoriNumbers/HMMs/hmm15/hmmdefs -C HTK/MaoriNumbers/user/configLR -w HTK/MaoriNumbers/user/wordNetworkNum -o SWT -l '*' -i recout.mlf -p 0.0 -s 5.0 HTK/MaoriNumbers/user/dictionaryD HTK/MaoriNumbers/user/tiedList foo.wav\";\n\t\t\n\t\tProcessBuilder pb = new ProcessBuilder(\"bash\" , \"-c\" , command );\n\t\ttry {\n\t\t\t\n\t\t\tProcess convertProcess = pb.start();\n\t\t\t\n\t\t\tconvertProcess.waitFor();\n\t\t\t\n\t\t\tconvertProcess.destroy();\n\t\t\t\n\t\n\t\t\t\n\t\t}catch (IOException ioe) {\n\t\t\tioe.printStackTrace();\n\t\t\t\n\t\t}catch (InterruptedException ie) {\n\t\t\tie.printStackTrace();\n\t\t}\n\t\n\t\n\t\n\t}", "public interface ITextToSpeech {\n\n /* loaded from: classes.dex */\n public interface TextToSpeechCallback {\n void onFailure();\n\n void onSuccess();\n }\n\n boolean isInitialized();\n\n int isLanguageAvailable(Locale locale);\n\n void onDestroy();\n\n void onResume();\n\n void onStop();\n\n void setPitch(float f);\n\n void setSpeechRate(float f);\n\n void speak(String str, Locale locale);\n}", "private void speak() {\n String s = textArea.getText();\n String s5=\"images\\\\\";\n String s4=\".jpeg\";\n String obj=s5+s+s4;\n ImageIcon ic1=new ImageIcon(obj);\n Image image1=ic1.getImage().getScaledInstance(image.getWidth(),image.getHeight(),Image.SCALE_AREA_AVERAGING);\n ImageIcon icon1=new ImageIcon(image1);\n image.setIcon(icon1);\n int i = textArea.getCaretPosition();\n int k = s.length();\n for (int j = i; j <= k - 1; j++) {\n char c = s.charAt(j);\n String s3 = Character.toString(c);\n s2 = s2 + s3;\n }\n VoiceManager voiceManager = VoiceManager.getInstance();\n helloVoice = voiceManager.getVoice(\"kevin16\");\n helloVoice.allocate();\n helloVoice.speak(s2);\n helloVoice.deallocate();\n playB.setText(\"PLAY\");\n }", "public interface TTSService {\r\n void TTS(String word);\r\n}", "InputStream synthesize(String phrase, OutputFormat fmt) throws IOException;", "public void sayToFile(String pStringToSay, String pFileName) throws DynamicCallException, ExecutionException{\n call(\"sayToFile\", pStringToSay, pFileName).get();\n }", "public static void oralOutput(String text)\n\t{\n\t\tSystem.setProperty(\"mbrola.base\",\"E:\\\\Automation\\\\mbrola\");\n\t\tVoiceManager vm=VoiceManager.getInstance();\n\t\tVoice v=vm.getVoice(\"mbrola_us1\"); //or kevin16\n\t\tv.allocate();\n\t\tv.speak(text);\n\t\tv.deallocate();\n\t}", "public static BasicTranscription readWhisperJSON(File jsonFile, boolean wantsWords) throws IOException, JexmaraldaException{\n ObjectMapper objectMapper = new ObjectMapper();\n JsonNode jsonRoot = objectMapper.readValue(jsonFile, JsonNode.class); \n \n BasicTranscription result = new BasicTranscription();\n Speaker speaker = new Speaker();\n speaker.setID(\"SPK0\");\n speaker.setAbbreviation(\"X\");\n result.getHead().getSpeakertable().addSpeaker(speaker);\n Tier textTier = new Tier(\"TIE0\", \"SPK0\", \"v\", \"t\", \"X [text]\");\n Tier temperatureTier = new Tier(\"TIE1\", \"SPK0\", \"temp\", \"a\", \"X [temperature]\");\n Tier avgLogProbTier = new Tier(\"TIE2\", \"SPK0\", \"avg\", \"a\", \"X [avg_logprob]\");\n Tier compressionRatioTier = new Tier(\"TIE3\", \"SPK0\", \"cr\", \"a\", \"X [compression_ratio]\");\n Tier noSpeechProbTier = new Tier(\"TIE4\", \"SPK0\", \"nsp\", \"a\", \"X [no_speech_prob]\");\n result.getBody().addTier(textTier);\n result.getBody().addTier(temperatureTier);\n result.getBody().addTier(avgLogProbTier);\n result.getBody().addTier(compressionRatioTier);\n result.getBody().addTier(noSpeechProbTier);\n \n \n /*\n {\n \"text\": \n \" Abscheu und Zorn über folternde GIs im Irak, die US-Armee soll schon länger Bescheid gewusst\",\n \"segments\": [\n {\n \"id\": 0,\n \"seek\": 0,\n \"start\": 0.0,\n \"end\": 13.44,\n \"text\": \" Abscheu und Zorn über folternde GIs im Irak, die US-Armee soll schon länger Bescheid gewusst\",\n \"tokens\": [\n 5813,\n 1876,\n ...\n 327,\n 6906,\n 26340\n ],\n \"temperature\": 0.0,\n \"avg_logprob\": -0.20706645302150561,\n \"compression_ratio\": 1.2619047619047619,\n \"no_speech_prob\": 0.2456832379102707\n }\n ]\n } \n \n */\n \n boolean hasWordLevel = (jsonRoot.findValue(\"words\")!=null);\n Tier wordTier = new Tier(\"TIE5\", \"SPK0\", \"w\", \"t\", \"X [words]\");\n if (hasWordLevel && wantsWords){\n textTier.setType(\"a\");\n result.getBody().insertTierAt(wordTier, 0);\n \n }\n \n JsonNode segmentsNode = jsonRoot.findValue(\"segments\");\n Iterator<JsonNode> iterator = segmentsNode.elements();\n Timeline timeline = result.getBody().getCommonTimeline();\n while (iterator.hasNext()){\n JsonNode segmentNode = iterator.next();\n if (segmentNode.get(\"start\")==null){\n throw new IOException(\"Error in format.\");\n }\n // round to miliseconds to avoid overlaps which aren't overlaps\n double startTimeInSeconds = Rounder.round(segmentNode.get(\"start\").asDouble(),3);\n double endTimeInSeconds = Rounder.round(segmentNode.get(\"end\").asDouble(),3);\n String text = segmentNode.get(\"text\").asText();\n String temperature = segmentNode.get(\"temperature\").asText();\n String avg_logprob = segmentNode.get(\"avg_logprob\").asText();\n String compression_ratio = segmentNode.get(\"compression_ratio\").asText();\n String no_speech_prob = segmentNode.get(\"no_speech_prob\").asText();\n \n String startID = \"TLI_\" + Double.toString(startTimeInSeconds).replace('.', '_');\n if (!(timeline.containsTimelineItemWithID(startID))){\n TimelineItem tli = new TimelineItem();\n tli.setID(startID);\n tli.setTime(startTimeInSeconds);\n timeline.insertAccordingToTime(tli);\n }\n \n String endID = \"TLI_\" + Double.toString(endTimeInSeconds).replace('.', '_');\n if (!(timeline.containsTimelineItemWithID(endID))){\n TimelineItem tli = new TimelineItem();\n tli.setID(endID);\n tli.setTime(endTimeInSeconds);\n timeline.insertAccordingToTime(tli);\n }\n \n textTier.addEvent(new Event(startID, endID, text));\n temperatureTier.addEvent(new Event(startID, endID, temperature));\n avgLogProbTier.addEvent(new Event(startID, endID, avg_logprob));\n compressionRatioTier.addEvent(new Event(startID, endID, compression_ratio));\n noSpeechProbTier.addEvent(new Event(startID, endID, no_speech_prob));\n \n if (hasWordLevel){\n JsonNode wordsNode = segmentNode.findValue(\"words\");\n Iterator<JsonNode> wordIterator = wordsNode.elements();\n while (wordIterator.hasNext()){\n JsonNode wordNode = wordIterator.next();\n if (wordNode.get(\"start\")==null){\n throw new IOException(\"Error in format.\");\n }\n\n // round to miliseconds to avoid overlaps which aren't overlaps\n double wStartTimeInSeconds = Rounder.round(wordNode.get(\"start\").asDouble(),3);\n double wEndTimeInSeconds = Rounder.round(wordNode.get(\"end\").asDouble(),3);\n String wText = wordNode.get(\"word\").asText();\n\n String wStartID = \"TLI_\" + Double.toString(wStartTimeInSeconds).replace('.', '_');\n if (!(timeline.containsTimelineItemWithID(wStartID))){\n TimelineItem tli = new TimelineItem();\n tli.setID(wStartID);\n tli.setTime(wStartTimeInSeconds);\n timeline.insertAccordingToTime(tli);\n }\n\n String wEndID = \"TLI_\" + Double.toString(wEndTimeInSeconds).replace('.', '_');\n if (!(timeline.containsTimelineItemWithID(wEndID))){\n TimelineItem tli = new TimelineItem();\n tli.setID(wEndID);\n tli.setTime(wEndTimeInSeconds);\n timeline.insertAccordingToTime(tli);\n }\n \n wordTier.addEvent(new Event(wStartID, wEndID, wText));\n\n \n }\n }\n \n }\n \n \n \n \n return result;\n \n \n }", "private void speak() {\n if(textToSpeech != null && textToSpeech.isSpeaking()) {\n textToSpeech.stop();\n }else{\n textToSpeech = new TextToSpeech(activity, this);\n }\n }", "public void playLocal(String audiofile);", "public synchronized AudioInputStream stringToSound(String sentence) throws CaptchaException {\n //use the custom (see inner class) InputStreamAudioPlayer, which provide interface to\n // Audio Stream\n InputStreamAudioPlayer audioPlayer = new InputStreamAudioPlayer();\n\n this.voice.setAudioPlayer(audioPlayer);\n\n // Synthesize speech.\n this.voice.speak(sentence);\n\n AudioInputStream ais = audioPlayer.getAudioInputStream();\n return ais;\n }", "public void speakOut(final String text){\n\t\tif (listener != null){\n\t\t\thandler.post(new Runnable() {\n\t\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\tlistener.speakOut(text.trim());\t\t\t\t\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}", "private void askSpeechInput() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT,\n \"Hi speak something\");\n speakOut(\"Open Mic\");\n try {\n startActivityForResult(intent, REQ_CODE_SPEECH_INPUT);\n } catch (ActivityNotFoundException a) {\n\n }\n }", "public interface TextSpeakLogicInterface {\n\n public void speakOut(String text);\n public void stopSpeak();\n\n}", "protected void handleRecordedSample() {\n List<Sample> trainingSet;\n try {\n trainingSet = TrainingSet.get();\n Normalizer normalizer = new CenterNormalizer();\n Classifier classifier = new TimeWarperClassifier();\n classifier.train(trainingSet);\n final String outputText = classifier.test(normalizer.normalize(recordedSample));\n lblOutput.setText(outputText);\n new Thread(new Runnable() {\n @Override\n public void run() {\n try {\n Utils.textToSpeech(outputText);\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }\n }).start();\n lblOutput.setText(outputText);\n }\n catch (Exception e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }", "public static void writeFile(String text) throws IOException {\n\t\tWriter out = null;\n\t\ttry {\n\t\t\tout = new BufferedWriter(\n\t\t\t\t\tnew OutputStreamWriter(new FileOutputStream(\"toTranslate.txt\"), StandardCharsets.UTF_8));\n\t\t} catch (FileNotFoundException e1) {\n\t\t\tLOGGER.log(Level.WARNING, \"FileNotFoundException\", e1);\n\t\t\t;\n\t\t}\n\t\ttry {\n\t\t\tif (out != null)\n\t\t\t\tout.write(text);\n\t\t\telse\n\t\t\t\tSystem.out.println();\n\t\t} catch (IOException e) {\n\t\t\tLOGGER.log(Level.WARNING, \"IOException\", e);\n\t\t\t;\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (out != null)\n\t\t\t\t\tout.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\tLOGGER.log(Level.WARNING, \"IOException\", e);\n\t\t\t\tThread.currentThread().interrupt();\n\t\t\t}\n\t\t}\n\t}", "public Sound createSound(String file);", "private void sayHello() {\n\n\t\tmTts.speak(translatedText, TextToSpeech.QUEUE_FLUSH, // Drop allpending\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// entries in\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// the playback\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// queue.\n\t\t\t\tnull);\n\t}", "private void speak(String text, int queueMode, ArrayList<String> params) {\n if (queueMode == 0) {\n stop();\n }\n mSpeechQueue.add(new SpeechItem(text, params, SpeechItem.TEXT));\n if (!mIsSpeaking) {\n processSpeechQueue();\n }\n }", "public void makeDecision(String speech) throws IOException {\n if(speech.equals(\"hello\")){\n if(isInit==1){\n lblSpeech.setText(speech);\n checkInput=1;\n lblIntro.setVisible(true);\n textToSpeech.speak(\"hello my friend, \", 1.5f, false, true);\n lblIntro.setText(\"Say How are you !!\");\n lblSkip.setVisible(true);\n lblIntro.setFont(new java.awt.Font(\"Script MT Bold\", 0, 30));\n isInit=2;\n }\n }\n if(speech.equals(\"skip\")){\n if(isInit>=2 && isInit<=7){\n lblSpeech.setText(speech);\n checkInput=1;\n \n textToSpeech.speak(\"welcome\", 1.5f, false, true);\n lblIntro.setVisible(true);\n lblIntro.setText(\"Welcome\");\n lblSkip.setVisible(false);\n lblPath.setVisible(false);\n txtPath.setVisible(false);\n txtName.setVisible(false);\n isInit=0;\n }\n }\n if(speech.equals(\"how are you\")){\n if(isInit==2){\n lblSpeech.setText(speech);\n checkInput=1;\n textToSpeech.speak(\"I am fine, help me so that I can know you more. Say okay to move forward\", 1.5f, false, true);\n lblIntro.setText(\"Say Okay\");\n isInit=3;\n return;\n }\n }\n if(speech.equals(\"okay\")){\n if(isInit==3){\n lblSpeech.setText(speech);\n checkInput=1;\n lblIntro.setVisible(false);\n lblPath.setVisible(true);\n txtPath.setVisible(true);\n textToSpeech.speak(\"Paste the path to your music directory. Say done when completed.\", 1.5f, false, true);\n \n// txtPath.getText(); \n \n isInit=4;\n return;\n }\n }\n \n if(speech.equals(\"done\")){\n if(isInit==4){\n lblSpeech.setText(speech);\n checkInput=1;\n lf=new ListAllFiles();\n System.out.println(\"Path\"+txtPath.getText());\n int check=lf.listFiles(txtPath.getText());\n if(check==0){\n isInit=4;\n textToSpeech.speak(\"Invalid path or directory. Check it and say done\", 1.5f, false, true);\n return;\n }\n else\n {lblPath.setText(\"path to your video and movies folder\");\n textToSpeech.speak(\"Paste the path to your video and movies directory. Say done when completed.\", 1.5f, false, true);\n \n txtPath.getText();\n isInit=5;\n }\n \n return;\n }\n }\n if(speech.equals(\"done\")){\n if(isInit==5){\n lblSpeech.setText(speech);\n checkInput=1;\n lf=new ListAllFiles();\n System.out.println(\"Path\"+txtPath.getText());\n int check=lf.listFiles(txtPath.getText());\n if(check==0){\n isInit=5;\n textToSpeech.speak(\"Invalid path or directory. Check it and say done\", 1.5f, false, true);\n return;\n }\n else{\n txtName.setVisible(true);\n lblPath.setText(\"Add apps which you frequently open...\");\n txtPath.setText(\"path of the .exe file\");\n textToSpeech.speak(\"Now enter the name, and path of the applications, and games which you want me to open for you. Say add another, to add another application, or, say done to finish adding\", 1.5f, false, true);\n \n txtPath.getText();\n txtName.getText();\n isInit=6;\n }\n return;\n }\n }\n if(speech.equals(\"add another\")){\n if(isInit==6){\n lblSpeech.setText(speech);\n checkInput=1;\n f=new FileUpdate();\n f.update(\"open \"+txtName.getText());\n try{\n conn=DBConnection.getConnection();\n PreparedStatement ps=conn.prepareStatement(\"insert into speech values (?,?)\");\n ps.setString(2, \"open \"+txtName.getText());\n ps.setString(1, txtPath.getText());\n int ans=ps.executeUpdate();\n if(ans==1)\n {\n JOptionPane.showMessageDialog(null,\"Inserted Successfully to database\",\"Success\",JOptionPane.INFORMATION_MESSAGE);\n }\n }\n catch(SQLException ex){\n ex.printStackTrace();\n }\n \n txtPath.setText(\"path of the .exe file\");\n txtName.setText(\"Name you will use to open the application\");\n textToSpeech.speak(\"Say add another, to add another application, or, say done to finish adding\", 1.5f, false, true);\n \n txtPath.getText();\n isInit=6;\n return;\n }\n }\n \n if(speech.equals(\"done\")){\n if(isInit==6){\n lblSpeech.setText(speech);\n checkInput=1;\n f=new FileUpdate();\n f.update(\"open \"+txtName.getText());\n try{\n conn=DBConnection.getConnection();\n PreparedStatement ps=conn.prepareStatement(\"insert into speech values (?,?)\");\n ps.setString(2, \"open \"+txtName.getText());\n ps.setString(1, txtPath.getText());\n int ans=ps.executeUpdate();\n if(ans==1)\n {\n JOptionPane.showMessageDialog(null,\"Inserted Successfully to database\",\"Success\",JOptionPane.INFORMATION_MESSAGE);\n }\n }\n catch(SQLException ex){\n ex.printStackTrace();\n }\n txtName.setVisible(false);\n lblPath.setText(\"City Name..\");\n txtPath.setText(\"name of the city\");\n textToSpeech.speak(\"Name of the city where you live. Say done when finished\", 1.5f, false, true);\n \n txtPath.getText();\n isInit=7;\n return;\n }\n }\n \n if(speech.equals(\"done\")){\n if(isInit==7){\n lblSpeech.setText(speech);\n checkInput=1;\n try{\n conn=DBConnection.getConnection();\n PreparedStatement ps=conn.prepareStatement(\"insert into speech values (?,?)\");\n ps.setString(2, \"city\");\n ps.setString(1, txtPath.getText());\n int ans=ps.executeUpdate();\n if(ans==1)\n {\n JOptionPane.showMessageDialog(null,\"Inserted Successfully to database\",\"Success\",JOptionPane.INFORMATION_MESSAGE);\n }\n }\n catch(SQLException ex){\n ex.printStackTrace();\n }\n lblPath.setVisible(false);\n txtPath.setVisible(false);\n lblIntro.setText(\"Welcome\");\n lblIntro.setVisible(true);\n textToSpeech.speak(\"You can now start using the app. You can now search the internet, find meanings, play songs and videos, set remiders, know the time, open apps, perform mathematical calculations and a lot more.\", 1.5f, false, true);\n JOptionPane.showMessageDialog(null,\"Search internet -> Say 'search' and write\\n Find meaning-> say 'find meaning' \\n Play song-> Say 'play <song_name>'\",\"Success\",JOptionPane.INFORMATION_MESSAGE);\n \n isInit=0;\n return;\n \n }\n }\n \n //here we are connecting to the database for general questions and their answers\n try{\n conn=DBConnection.getConnection();\n Statement st=conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);\n speech=speech.replaceAll(\" \", \"_\").toLowerCase();\n System.out.println(speech);\n ResultSet rs=st.executeQuery(\"select reply from speech where question like '%\"+speech+\"%'\");\n String check=\"pp\";\n if(speech.length()>=4)\n check=speech.substring(0, 4);\n if(check.equalsIgnoreCase(\"open\"))\n {\n lblSpeech.setText(speech);\n checkInput=1;\n txtSearch.setText(\" \");\n btnViewMore.setVisible(false);\n rs.next();\n \n textToSpeech.speak(\"Opening\", 1.5f, false, true);\n runtime = Runtime.getRuntime(); //getting Runtime object\n\t\t try\n\t\t {\n\t\t runtime.exec(rs.getString(\"reply\")); //opens new notepad instance\n \n\t\t //OR runtime.exec(\"notepad\");\n\t\t }\n\t\t catch (IOException e)\n\t\t {\n\t\t e.printStackTrace();\n\t\t }\n return;\n }\n \n \n else if(check.equalsIgnoreCase(\"play\")){\n// rs.next();\n lblSpeech.setText(speech);\n checkInput=1;\n txtSearch.setText(\" \");\n btnViewMore.setVisible(false);\n textToSpeech.speak(\"Playing \", 1.5f, false, true);\n runtime = Runtime.getRuntime(); //getting Runtime object\n System.out.println(\"pp1\"+rs.next());\n System.out.println(\"Link: \"+rs.getString(\"reply\"));\n System.out.println(\"pp2\");\n String[] s = new String[] {\"C:\\\\Program Files\\\\Windows Media Player\\\\wmplayer\", rs.getString(\"reply\")};\n\n try\n {\n runtime.exec(s); \n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return;\n }\n else{\n int size=0;\n if(rs!=null){\n rs.last();\n size=rs.getRow();\n }\n if(size>1)\n textToSpeech.speak(\"I have got \"+size+\" answers for your question.\", 1.5f, false, true);\n rs.beforeFirst();\n while(rs.next()){\n lblSpeech.setText(speech);\n checkInput=1;\n textToSpeech.speak(rs.getString(\"reply\"), 1.5f, false, true);\n }\n }\n }\n catch(SQLException ex){\n System.out.println(\"SQLException\"+ex);\n ex.printStackTrace();\n }\n \n //db check complete, if not found , will come here\n speech=speech.replaceAll(\"_\", \" \").toLowerCase();\n\t\tif (\"see you\".equalsIgnoreCase(speech)){\n lblSpeech.setText(speech);\n checkInput=1;\n txtSearch.setText(\" \");\n btnViewMore.setVisible(false);\n textToSpeech.speak(\"You too , my friend\", 1.5f, false, true);\n\t\t\treturn;\n\t\t}/*\n else if (\"thirty seconds\".equalsIgnoreCase(speech)){\n textToSpeech.speak(\"Timer scheduled for 30 seconds\", 1.5f, false, true);\n\t\t\tCrunchifyTimerTaskExample time=new CrunchifyTimerTaskExample();\n \t\t//System.out.format(\"Task scheduled.. Now wait for 5 sec to see next message..%n\");\n textToSpeech.speak(\"Timer for 30 seconds has ended\", 1.5f, false, true);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t*/\n \n\t\telse if (\"what day is today\".equalsIgnoreCase(speech)){\n lblSpeech.setText(speech);\n checkInput=1;\n txtSearch.setText(\" \");\n btnViewMore.setVisible(false);\n textToSpeech.speak(df.format(dateobj), 1.5f, false, true);\n return;\n\t\t}\n else if (\"what is the time\".equalsIgnoreCase(speech)){\n lblSpeech.setText(speech);\n checkInput=1;\n txtSearch.setText(\" \");\n btnViewMore.setVisible(false);\n textToSpeech.speak(java.time.LocalTime.now().toString().substring(0, 8), 1.5f, false, true);\n return;\n\t\t}\n else if (\"exit\".equalsIgnoreCase(speech)){\n lblSpeech.setText(speech);\n checkInput=1;\n txtSearch.setText(\" \");\n btnViewMore.setVisible(false);\n textToSpeech.speak(\"Take care\", 1.5f, false, true);\n DBConnection.closeConnection();\n System.exit(0);\n return;\n\t\t}\n else if (\"what is the temperature\".equalsIgnoreCase(speech)){\n lblSpeech.setText(speech);\n checkInput=1;\n txtSearch.setText(\" \");\n btnViewMore.setVisible(false);\n textToSpeech.speak(\"Rainy season, 25 degree celcius\" , 1.5f, false, true);\n return;\n\t\t}\n else if (\"send mail\".equalsIgnoreCase(speech)){\n lblSpeech.setText(speech);\n checkInput=1;\n txtPath.setVisible(true);\n txtName.setVisible(true);\n txtPath.setText(\"Recipient:\");\n txtName.setText(\"Subject:\");\n txtSearch.setText(\"Body: \");\n \n btnViewMore.setText(\"Send\");\n btnViewMore.setVisible(true);\n txtSearch.setEditable(true);\n txtSearch.setBackground(Color.white);\n textToSpeech.speak(\"type the mail address, subject and body of the email\" , 1.5f, false, true);\n return;\n\t\t}\n else if (\"open chrome\".equalsIgnoreCase(speech) || \"open browser\".equalsIgnoreCase(speech) ){\n lblSpeech.setText(speech);\n checkInput=1;\n txtSearch.setText(\" \");\n btnViewMore.setVisible(false);\n textToSpeech.speak(\"Opening Google Chrome\", 1.5f, false, true);\n runtime = Runtime.getRuntime(); //getting Runtime object\n String[] s = new String[] {\"C:\\\\Program Files (x86)\\\\Google\\\\Chrome\\\\Application\\\\chrome.exe\", \"https://google.com/\"};\n try\n {\n runtime.exec(s); \n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return;\n\t\t}\n else if (\"open you tube\".equalsIgnoreCase(speech) ){\n lblSpeech.setText(speech);\n checkInput=1;\n txtSearch.setText(\" \");\n btnViewMore.setVisible(false);\n textToSpeech.speak(\"Opening Google Chrome\", 1.5f, false, true);\n runtime = Runtime.getRuntime(); //getting Runtime object\n String[] s = new String[] {\"C:\\\\Program Files (x86)\\\\Google\\\\Chrome\\\\Application\\\\chrome.exe\", \"https://youtube.com/\"};\n try\n {\n runtime.exec(s); \n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return;\n\t\t}\n else if (\"browse\".equalsIgnoreCase(speech) || \"search inter net\".equalsIgnoreCase(speech)){\n lblSpeech.setText(speech);\n checkInput=1;\n lblPath.setVisible(true);\n txtPath.setVisible(true);\n txtPath.setText(\" \");\n btnSearch.setVisible(true);\n txtName.setVisible(false);\n txtSearch.setText(\" \");\n btnViewMore.setText(\"view more...\");\n btnViewMore.setVisible(false);\n lblPath.setText(\"Type what you want to search !\");\n textToSpeech.speak(\"Type in the box what you want to search and click the search button\", 1.5f, false, true);\n \n return;\n \n\t\t}\n else if (\"find meaning\".equalsIgnoreCase(speech)){\n lblSpeech.setText(speech);\n checkInput=1;\n lblPath.setVisible(true);\n txtPath.setVisible(true);\n txtPath.setText(\" \");\n btnSearch.setVisible(true);\n txtName.setVisible(false);\n txtSearch.setText(\" \");\n btnViewMore.setText(\"view more...\");\n btnViewMore.setVisible(false);\n lblPath.setText(\"Enter the word \");\n textToSpeech.speak(\"Type the word in the box whose meaning you want to find and click the search button\", 1.5f, false, true);\n \n return;\n \n\t\t}\n else if (\"search live cricket score\".equalsIgnoreCase(speech)){\n lblSpeech.setText(speech);\n checkInput=1;\n txtSearch.setText(\" \");\n btnViewMore.setVisible(false);\n textToSpeech.speak(\"Opening Google Chrome\", 1.5f, false, true);\n runtime = Runtime.getRuntime(); //getting Runtime object\n String[] s = new String[] {\"C:\\\\Program Files (x86)\\\\Google\\\\Chrome\\\\Application\\\\chrome.exe\", \"https://google.com/search?h1=en&q=live+cricket+score&btnG=Google+Search\"};\n\n try\n {\n runtime.exec(s); \n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return;\n\t\t}\n else if (\"play shot me down\".equalsIgnoreCase(speech)){\n lblSpeech.setText(speech);\n checkInput=1;\n txtSearch.setText(\" \");\n btnViewMore.setVisible(false);\n textToSpeech.speak(\"Playing song\", 1.5f, false, true);\n runtime = Runtime.getRuntime(); //getting Runtime object\n \n String[] s = new String[] {\"C:\\\\Program Files\\\\Windows Media Player\\\\wmplayer\", \"D:\\\\music\\\\new songs\\\\shotmedown.mp3\"};\n\n try\n {\n runtime.exec(s); \n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return;\n\t\t}\n\n //THE CALCULATOR\n if(speech.contains(\"calculate\")){\n lblSpeech.setText(speech);\n checkInput=1;\n txtSearch.setText(\" \");\n btnViewMore.setVisible(false);\n //split the sentence\n String[] array = speech.split(\" \");\n \n\n // return if user said only one number\n if (array.length != 4)\n return;\n\n // Find the two numbers\n int number1 = stringToNumber.convert(array[1]);\n int number2 = stringToNumber.convert(array[3]);\n\n // Calculation result in int representation\n int calculationResult = 0;\n String symbol = \"?\";\n\n // Find the mathematical symbol\n if (\"plus\".equals(array[2])) {\n calculationResult = number1 + number2;\n symbol = \"+\";\n } else if (\"minus\".equals(array[2])) {\n calculationResult = number1 - number2;\n symbol = \"-\";\n } else if (\"multiply\".equals(array[2])) {\n calculationResult = number1 * number2;\n symbol = \"*\";\n } else if (\"division\".equals(array[2])) {\n calculationResult = number1 / number2;\n symbol = \"/\";\n }\n\n String res = numberToString.convert(Math.abs(calculationResult));\n\n // With words\n System.out.println(\"Said:[ \" + speech + \" ]\\n\\t\\t which after calculation is:[ \"\n + (calculationResult >= 0 ? \"\" : \"minus \") + res + \" ] \\n\");\n\n // With numbers and math\n System.out.println(\"Said:[ \" + number1 + \" \" + symbol + \" \" + number2 + \"]\\n\\t\\t which after calculation is:[ \"\n + calculationResult + \" ]\");\n\n // Speak Mary Speak\n textToSpeech.speak((calculationResult >= 0 ? \"\" : \"minus \") + res, 1.5f, false, true);\n }\n \n if(checkInput==0){\n \n lblSpeech.setText(\"Please Repeat !!\");\n }\n\t}", "public boolean speak(String text) {\n\treturn speak(new FreeTTSSpeakableImpl(text));\n }", "public abstract void startVoiceRecognition(String language);", "public void readText(String filename) throws IOException{\n\t\t\n\t\tif(sentences == null){\n\t\t\tsentences = new ArrayList<Sentence>();\n\t\t}\n\t\t\n\t\t//read from file\n\t\tFileInputStream inputStream = new FileInputStream(filename);\n\t\tDataInputStream stream = new DataInputStream(inputStream);\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(stream));\n\t\tString line;\n\t\twhile((line = reader.readLine()) != null){\n\t\t\tsentences.add(new Sentence(line));\n\t\t}\n\t\treader.close();\n\t\tstream.close();\n\t\tinputStream.close();\n\t\t\n\t\t\n\t}", "@Override\n public void onClick(View v) {\n HashMap<String, String> hash = new HashMap<String, String>();\n hash.put(\n TextToSpeech.Engine.KEY_PARAM_STREAM,\n String.valueOf(AudioManager.STREAM_NOTIFICATION));\n textToSpeach.speak(questionText.getText().toString(), TextToSpeech.QUEUE_ADD, hash);\n }", "public boolean synthesizeIpaToFile(String ipaText, String[] params,\n String filename) {\n ArrayList<String> speakingParams = new ArrayList<String>();\n if (params != null) {\n speakingParams = new ArrayList<String>(Arrays.asList(params));\n }\n return mSelf.synthesizeIpaToFile(ipaText, speakingParams, filename, true);\n }", "private static void playAudio(String musicFile) {\n }", "@Override\n public void onResult(Hypothesis hypothesis) {\n ((TextView) findViewById(R.id.result_text)).setText(\"\");\n mMicView.setBackgroundResource(R.drawable.background_big_mic);\n if (hypothesis != null) {\n String text = hypothesis.getHypstr();\n makeText(getApplicationContext(), text, Toast.LENGTH_SHORT).show();\n //mTextToSpeech.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n\n }\n }", "public void makeDecision(String speech , List<WordResult> speechWords) {\r\n\t\tVoiceManager vm =VoiceManager.getInstance();\r\n\t\tVoice voice;\r\n\t\tvoice=vm.getVoice(\"mbrola_us3\");\r\n\t\tvoice.allocate();\r\n\t\tSystem.out.println(speech);\r\n\t\t//System.out.println(speech+\"fdsf\");\r\n\t\t if(speech.equalsIgnoreCase(\"shutdown computer\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\" Shuting down the computer\");\r\n\t\t \tRuntime rm=Runtime.getRuntime();\r\n\t\t\t\ttry{\r\n\t\t\t\t\tProcess proc=rm.exec(\"shutdown -s -t 0\");\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e)\r\n\t\t\t\t{}\r\n\t\t\t\t\r\n\r\n\t\t \t}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"restart computer\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"restarting the computer\");\r\n\t\t \tRuntime rm=Runtime.getRuntime();\r\n\t\t\t\ttry{\r\n\t\t\t\t\tProcess proc=rm.exec(\"shutdown -r -t 0\");\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e)\r\n\t\t\t\t{}\r\n\t\t\t\t\r\n\t\t \t}\r\n\t\t \tcatch(Exception e)\r\n\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\t else if(speech.equalsIgnoreCase(\"who is smart\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"Abhay bhadouriya is smartest person alive in this world\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who is ugly\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"your sister and friends are the most ugliest persons in the world \");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"what is time\"))\r\n\t\t {\r\n\t\t \tDate dm=new Date();\r\n\t\t \tint h=dm.getHours();\r\n\t\t \tint m=dm.getMinutes();\r\n\t\t \tif(h>12)\r\n\t\t \t{\r\n\t\t \t\th=h-12;\r\n\t\t \t}\r\n\t\t \t\r\n\t\t \ttry {voice.speak(\"TIME is\"+h+\"Hour\"+m+\"Minutes\" );}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"say hello \"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"Hello this is your computer\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"please sleep\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"no i don't wont to sleep\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open facebook\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"facebook\");\r\n\t\t \t FUNC.facebook();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open google\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"google\");\r\n\t\t \t FUNC.google();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open youtube\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"youtube\");\r\n\t\t \t FUNC.youtube();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open gmail\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"gmail\");\r\n\t\t \t FUNC.gmail();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"play music\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"music\");\r\n\t\t \t FUNC.pmusic();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"volume up\"))\r\n\t\t {\r\n\t\t \tvoice.speak(\"volume increasing by 10\");\r\n\t\t \t\tvolume.up();\r\n\t\t \t\t\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"volume down\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t\t voice.speak(\"volume decreasing by 10\");\r\n\t \t\tvolume.down();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"show desktop\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"Showing desktop\");\r\n\t\t\t FUNC.desktop();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"how are you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"i'm fine and you \");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"what day is today\"))\r\n\t\t {\r\n\t\t\t Date dd=new Date();\r\n\t\t\t int i=dd.getDay();\r\n\t\t\t\tif(i==0)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is sunday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==1)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is monday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==2)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is tuesday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==3)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is wednesday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==4)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is thursday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==5)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is friday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==6)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is saturday\");\r\n\t\t\t\t}\r\n\t\t\t \r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to right\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.right();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to left\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.left();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to up\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t emotion.up();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to down\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.down();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"select this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.select();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"view its property\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.property();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"view item menu\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.viewmenu();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on mouse by keyboard\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.turnon();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close this window tab\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.close();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"switch window tab\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.switcht();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"ok dude take some rest\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t voice.speak(\"have a nice day\");\r\n\t\t\t voice.speak(\"i'm very lucky to have a master like you sir \");\r\n\t\t\t voice.speak(\"good night my suprier great master\");\r\n\t\t\t System.exit(0);\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn off wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on bluetooth\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t try{\r\n\t \t\t Process p ;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c fsquirt\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the notepad\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start notepad\");\r\n\t \t\t // System.out.println(\"inside\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t } else if(speech.equalsIgnoreCase(\"close the notepad\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im notepad.exe /f\");\r\n\t \t\t // System.out.println(\"inside\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the command\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t\t\tProcess p;\r\n\t \t\t\t\tp = Runtime.getRuntime().exec(\"cmd /c start cmd\");\t\t\t\t\r\n\t \t\t\t\t}catch(Exception er)\r\n\t \t\t\t\t{}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the command\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im cmd.exe /f\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the browser\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start chrome.exe\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the browser\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im chrome.exe /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the control panel\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c control\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the control panel\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c control taskkill /im control /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the paint\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start mspaint\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the paint\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im mspaint.exe /f\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the task manager\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start taskmgr.exe\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the task manager\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t \tp = Runtime.getRuntime().exec(\"cmd /c start taskkill /im taskmgr.exe /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open power option\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c powercfg.cpl\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open windows security center\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c wscui.cpl\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"copy this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok item is copied\");\r\n\t\t\t basiccontrolls.copy();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"paste here selected item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"item is pasted\");\r\n\t\t\t basiccontrolls.paste();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"cut this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok item is cut\");\r\n\t\t\t basiccontrolls.cut();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"go back\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok going to previous page\");\r\n\t\t\t basiccontrolls.back();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"show me my beautiful face\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"you look like a donkey\");\r\n\t\t\t basiccontrolls.camera();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who the hell are you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"hello\");\r\n\t\t\t voice.speak(\"i am computer \");\r\n\t\t\t voice.speak(\"here i'm assist by you \");\r\n\t\t\t voice.speak(\"i will do anything what ever you told me todo and \"+\" \"+\" what instruction are feeded in my dictionary\");\r\n\t\t\t voice.speak(\"Thank you for asking \");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who loves you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"no one loves me \");\r\n\t\t\t voice.speak(\"except my charger \");\r\n\t\t\t voice.speak(\"but more impoertantly i looks far handsome than you \");\r\n\t\t\t voice.speak(\"you peace of shit \");\r\n\t\t\t voice.speak(\"your face is look like a monkey\");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"do you like engineering\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"no\");\r\n\t\t\t voice.speak(\"I hate engineering\");\r\n\t\t\t voice.speak(\"you ruined my life \");\r\n\t\t }\r\n\t\t/* else if(speech.equalsIgnoreCase(\"turn off wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }*/\r\n\r\n\t}", "@Override\n public void onInit(int status) {\n\t \n\tif (status == TextToSpeech.SUCCESS) {\n\t\t \n int result = mTts.setLanguage(Locale.US);\n if (result != TextToSpeech.LANG_MISSING_DATA && result != TextToSpeech.LANG_NOT_SUPPORTED) {\n \tspokenText += spokenText+\"\"+spokenText+\"\";\n // mTts.speak(\"Dear sir your class is finished!! Dear sir your class is finished!! Dear sir your class is finished!!\", TextToSpeech.QUEUE_FLUSH, null);\n mTts.speak(spokenText, TextToSpeech.QUEUE_FLUSH, null);\n } \n } \n\t \n}", "public void ChangeSoundOutput(String output) {\n shellExec(\"osascript \" + Parse(dataPath(\"ChangeAudioOutput.scpt\")) + \" \\\"\" + output + \"\\\"\");\n println(\"Audio output set to \" + output);\n}", "private void listenToSpeech(int returnCode) {\n\t\tIntent listenIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\t\t//indicate package\n\t\tlistenIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, getClass().getPackage().getName());\n\t\t//message to display while listening\n\t\tlistenIntent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"\");\n\t\t//set speech model\n\t\tlistenIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n\t\t//specify number of results to retrieve\n\t\tlistenIntent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, 10);\n\t\t//start listening\n\t\tstartActivityForResult(listenIntent, returnCode);\n\n\t}", "public interface TextToSpeechListener {\n\n\tvoid onTTSInit(int ttsResult) ;\n}", "public interface TextToSpeechCallback {\n void onFailure();\n\n void onSuccess();\n }", "public void showSpeechInput(View v) {\n\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Say something\");\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n\n try {\n startActivityForResult(intent, REQ_CODE_SPEECH_INPUT);\n } catch (ActivityNotFoundException a) {\n Toast.makeText(this, \"Speech To Text not supported\", Toast.LENGTH_LONG).show();\n }\n }", "@Override\n protected void onActivityResult(int requestCode, int resultCode,\n Intent data) {\n if (requestCode == REQ_CODE_SPEECH_INPUT && resultCode == RESULT_OK) {\n List<String> results = data.getStringArrayListExtra(\n RecognizerIntent.EXTRA_RESULTS);\n String spokenText = results.get(0);\n // Do something with spokenText\n convert.setText(spokenText);\n\n }\n super.onActivityResult(requestCode, resultCode, data);\n }", "protected abstract UtteranceProcessor getAudioOutput() throws IOException ;", "public static void main(String[] args) throws IOException {\n\t\t\n\t\tQueue<String> nextSlang = initializeQueue();\t//Queue of slang phrases\n\t\t\n\t\tBufferedReader in = getFileContents(args[0]);\n\t\t\n\t\tboolean isEvenPunctuation = true;\t\t\t\t//Must start as true because the value is flipped upon first inspection\n\t\t\n\t\tString input;\n\t\twhile((input = in.readLine()) != null){\n\t\t\tfor(Character c : input.toCharArray()){\n\t\t\t\tswitch(c){\t\t\t\t\t\t\t\t//Easily expendable to new trigger characters\n\t\t\t\t\tcase '.':\n\t\t\t\t\tcase '!':\n\t\t\t\t\tcase '?':\n\t\t\t\t\t\tisEvenPunctuation = !isEvenPunctuation;\n\n\t\t\t\t\t\tif(isEvenPunctuation){\n\t\t\t\t\t\t\tSystem.out.print(nextSlang.peek());\n\t\t\t\t\t\t\tnextSlang.add(nextSlang.poll());\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t} \t\t\t\t\t\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t\t\tbreak;\t\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\t\n\t\t\t\t\n\t\t}\n\t}", "public static void processStrings(String filename) {\n\t\t// FILL IN CODE \n\t\t// Read each string from the file, construct a suffix tree\n\t\t// Create a file that has the same name as the string + \"Results.txt\"\n\t\t// (like \"bananaResults.txt\")\n\t\t// First, write the suffix tree\n\t\t// Then empty line\n\n\t\t// Then read valid suffixes, call containsSuffix for each of them, and\n\t\t// write the results to the file\n\n\t\t// Read invalid suffixes, call containsSuffix for each of them, and\n\t\t// write the results to the file (should all be -1)\n\n\t\t// Read valid substrings, call getSubstringIndices and write results to\n\t\t// the file\n\n\t\t// Read invalid substrings, call getSubstringIndices and write results\n\t\t// to the file (should all be [])\n\n\t\t// read one empty line\n\n\t\t// repeat for the next string in the file\n\t\t\n\t\t\n\t\t//in the driver i just call the corrspoinding methods for each line to get the desired output. \n\t\t// the the output is written to a file. \n//\t\ttry {\n//\t\t\tFileWriter fw = null;\n//\t\t\tBufferedWriter bw = null;\n//\t\t\treader = new BufferedReader(new FileReader(filename));// Buffered Reader declared.\n//\t\t\tString line;// defining the string line\n//\t\t\tint count = 0;\n//\t\t\tString treeName =\"\";\n//\t\t\tString outPut = \"\";\n//\t\t\twhile((line = reader.readLine()) != null){\n//\t\t\t\t\n//\t\t\t\tif(count == 0) {\n//\t\t\t\t\toutPut =\"\";\n//\t\t\t\t\t\n//\t\t\t\t\ttreeName = line;\n//\t\t\t\t\ttree = new SuffixTree(line);\n////\t\t\t\t\tSystem.out.println(line);\n//\t\t\t\t\toutPut += tree.toString() +\"\\n\";\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\n//\t\t\t\tif (count == 1) {\n//\t\t\t\t\tString suffixText = \"\";\n//\t\t\t\t\tString[] lineSplit = line.split(\", \");\n////\t\t\t\t\toutPut+=\"\\n\";\n//\t\t\t\t\tfor(String suffix : lineSplit) {\n//\t\t\t\t\t\tsuffixText += tree.containsSuffix(suffix) + \" \";\n////\t\t\t\t\t\tSystem.out.println(suffixText);\n////\t\t\t\t\t\tSystem.out.print(tree.containsSuffix(suffix) + \" \");\n//\t\t\t\t\t}\n//\t\t\t\t\toutPut+=suffixText + \"\\n\";\n////\t\t\t\t\tSystem.out.println();\n//\t\t\t\t\t\n//\t\t\t\t}\n//\t\t\t\tif (count == 2) {\n//\t\t\t\t\tString suffixText = \"\";\n//\t\t\t\t\tString[] lineSplit = line.split(\", \");\n//\t\t\t\t\tfor(String suffix : lineSplit) {\n//\t\t\t\t\t\tsuffixText += tree.containsSuffix(suffix) + \" \";\n////\t\t\t\t\t\tSystem.out.print(tree.containsSuffix(suffix) + \" \");\n//\t\t\t\t\t}\n//\t\t\t\t\toutPut+=suffixText+ \"\\n\";\n////\t\t\t\t\tSystem.out.println();\n//\t\t\t\t\t\n//\t\t\t\t}\n//\t\t\t\tif (count == 3) {\n//\t\t\t\t\tString subStringText = \"\";\n//\t\t\t\t\tString[] lineSplit = line.split(\", \");\n//\t\t\t\t\tfor(String subString : lineSplit) {\n//\t\t\t\t\t\tsubStringText += tree.getSubstringIndices(subString);\n////\t\t\t\t\t\tSystem.out.print(tree.getSubstringIndices(subString) );\n//\t\t\t\t\t}\n//\t\t\t\t\toutPut+= subStringText+ \"\\n\";\n////\t\t\t\t\tSystem.out.println();\n//\t\t\t\t}\n//\t\t\t\tif (count == 4) {\n//\t\t\t\t\tString subStringText = \"\";\n//\t\t\t\t\tString[] lineSplit = line.split(\", \");\n//\t\t\t\t\tfor(String subString : lineSplit) {\n//\t\t\t\t\t\tsubStringText += tree.getSubstringIndices(subString);\n////\t\t\t\t\t\tSystem.out.print(tree.getSubstringIndices(subString) );\n//\t\t\t\t\t}\n//\t\t\t\t\toutPut+= subStringText+ \"\\n\";\n////\t\t\t\t\tSystem.out.println();\n//\t\t\t\t}\n//\t\t\t\t\n//\t\t\t\tif(line.equals(\"\")) {\n////\t\t\t\t\toutPut+=\"\\n\";\n////\t\t\t\t\tSystem.out.println();\n//\t\t\t\t\tcount =-1;\n//\t\t\t\t}\n////\t\t\t\tSystem.out.println(outPut);\n//\t\t\t\tcount ++;\n//\t\t\t\tfw = new FileWriter(treeName + \"Results.txt\");\n//\t\t\t\tbw = new BufferedWriter(fw);\n//\t\t\t\tbw.write(outPut);\n//\t\t\t\tbw.close();\n//\t\t\t\tfw.close();\n//\t\t\t}\n//\t\t\t\n//\t\t\t//Below are the catch statements\n//\t\t} catch (FileNotFoundException e) {\n//\t\t\tSystem.out.println(\"Error file not found\");\n//\t\t} catch (IOException e){\n//\t\t\tSystem.out.println(\"Error\");\n//\t\t}finally {\n//\t\t\tSystem.out.println();\n//\t\t}\n\t\t\n\t\t\n\t\tSystem.out.println();\n\t\ttree = new SuffixTree(\"ahuihou\");\n//\t\t\n\t\tSystem.out.println(\"IN driver\");\n//\t\t\n\t\tSystem.out.println(tree);\n\t\tSystem.out.println(tree.containsSubstring(\"hui\"));\n\t\tSystem.out.println(tree.containsSuffix(\"hou$\"));\n\t\tSystem.out.println(tree.getSubstringIndices(\"h\"));\n//\t\tSystem.out.println(tree.numOccurrences(\"\"));\n//\t\tSystem.out.println(tree);\n//\t\t\n\t\t\n\n\t}", "public EncodedDocumentToSpeech(Object[] data) {\n\t\tthis.method = (String) data[0];\n\t\tthis.data2[0] = (String) data[1];\n\t\tthis.data2[1] = (String) data[2];\n\t\tthis.data2[2] = (String) data[3];\n\t\tthis.data2[3] = (String) data[4];\n\t\tthis.data2[4] = (String) data[5];\n\t\tthis.data2[5] = (String) data[6];\n\t}", "public static String textToString( String fileName )\n { \n String temp = \"\";\n try {\n Scanner input = new Scanner(new File(fileName));\n \n //add 'words' in the file to the string, separated by a single space\n while(input.hasNext()){\n temp = temp + input.next() + \" \";\n }\n input.close();\n \n }\n catch(Exception e){\n System.out.println(\"Unable to locate \" + fileName);\n }\n //make sure to remove any additional space that may have been added at the end of the string.\n return temp.trim();\n }", "@Override\n\t\t\tpublic void onClick(View v){\n\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\t\n\t\t\t\t\tm.setDataSource(outputFile);\n\t\t\t\t\tm.prepare();\n\t\t\t\t\tm.start();\n\t\t\t\t\tToast.makeText(getApplicationContext(), \"Playing Audio\",\n\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\n\t\t\t\t\t// Making the notification pop up\n\t\t\t\t\tmBuilder.setSmallIcon(R.drawable.ic_launcher)\n\t\t\t\t\t\t\t.setContentTitle(\"Audio\")\n\t\t\t\t\t\t\t.setContentText(\"Audio is playing\");\n\t\t\t\t\tNotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);\n\t\t\t\t\tnotificationManager.notify(1, mBuilder.build());\n\t\t\t\t\t\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent(\n\t\t\t\t\t\tRecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\n\t\t\t\tintent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, \"en-US\");\n\n\t\t\t\ttry {\n\t\t\t\t\tstartActivityForResult(intent, RESULT_SPEECH);\n\t\t\t\t\tet1.setText(\"\");\n\t\t\t\t} catch (ActivityNotFoundException a) {\n\t\t\t\t\tToast t = Toast.makeText(getApplicationContext(),\n\t\t\t\t\t\t\t\"Opps! Your device doesn't support Speech to Text\",\n\t\t\t\t\t\t\tToast.LENGTH_SHORT);\n\t\t\t\t\tt.show();\n\t\t\t\t}\n\t\t\t\t\n\n\t\t\t}", "public void run() {\n \n if (Parameter != null && Parameter instanceof ConvertTextUnitsParameter) {\n CastParameter = (ConvertTextUnitsParameter)Parameter;\n }\n else {\n CastParameter = null;\n }\n\n String shortErrorMessage = \"Error: Text Units Cannot be Converted!\";\n this.acceptTask(TaskProgress.INDETERMINATE, \"Initial Preparations\");\n this.validateParameter(Parameter, shortErrorMessage);\n this.openDiasdemCollection(CastParameter.getCollectionFileName());\n this.checkPrerequisitesAndSetDefaultTextUnitsLayer(shortErrorMessage);\n \n if (CastParameter.getConversionType() == ConvertTextUnitsParameter\n .APPLY_REGULAR_EXPRESSION_TO_TEXT_UNITS) {\n RegexPattern = Pattern.compile(CastParameter.getRegularExpression());\n }\n \n if (CastParameter.getConversionType() == ConvertTextUnitsParameter\n .IDENTIFY_SPECIFIED_MULTI_TOKEN_TERMS) {\n // read multi token word: each line contains one multi token word;\n // comment lines start with '#'\n TextFile multiTokenFile = new TextFile(\n new File(CastParameter.getMultiTokenFileName()));\n multiTokenFile.open();\n String line = multiTokenFile.getFirstLineButIgnoreCommentsAndEmptyLines();\n ArrayList list = new ArrayList();\n while (line != null) {\n list.add(line.trim());\n line = multiTokenFile.getNextLineButIgnoreCommentsAndEmptyLines();\n }\n // sort multi token terms by decreasing length\n Collections.sort(list, new SortStringsByDecreasingLength());\n // for (int i = 0; i < list.size(); i++) {\n // System.out.println((String)list.get(i));\n // }\n // System.out.println(list.size());\n String[] multiToken = new String[list.size()];\n for (int i = 0; i < list.size(); i++)\n multiToken[i] = (String)list.get(i);\n multiTokenFile.close();\n MyMultiTokenWordIdentifier = new HeuristicMultiTokenWordIdentifier(\n multiToken);\n }\n else {\n MyMultiTokenWordIdentifier = null;\n }\n \n if (CastParameter.getConversionType() == ConvertTextUnitsParameter\n .FIND_AND_REPLACE_SPECIFIED_TOKENS) {\n // read token replacement file: each line contains the tokens to search \n // for and the replacement tokens separated by a tab stop;\n // comment lines start with '#'\n TextFile tokenReplacementFile = new TextFile(\n new File(CastParameter.getTokenReplacementFileName()));\n tokenReplacementFile.open();\n String line = tokenReplacementFile.getFirstLineButIgnoreCommentsAndEmptyLines();\n HashMap tokensSearchList = new HashMap();\n String[] tokensContents = null;\n while (line != null) {\n tokensContents = line.split(\"\\t\");\n if (tokensContents.length == 2\n && tokensContents[1].trim().length() > 0) {\n try {\n tokensSearchList.put(tokensContents[0].trim(), \n tokensContents[1].trim());\n }\n catch (PatternSyntaxException e) {\n System.out.println(\"[TokenizeTextUnitsTask] Regex syntax error in \"\n + \" file \" + CastParameter.getTokenReplacementFileName() + \": \"\n + \" Line \\\"\" + line + \"\\\"; error message: \" + e.getMessage());\n }\n }\n else {\n System.out.println(\"[TokenizeTextUnitsTask] Error in file \"\n + CastParameter.getTokenReplacementFileName() + \": Line \\\"\"\n + line + \"\\\" does not conform to syntax!\");\n }\n line = tokenReplacementFile.getNextLineButIgnoreCommentsAndEmptyLines();\n }\n // sort multi token terms by decreasing length\n ArrayList list = new ArrayList(tokensSearchList.keySet());\n Collections.sort(list, new SortStringsByDecreasingLength());\n // create arrays for token replacement \n String[] tokensSearch = new String[list.size()];\n String[] tokensReplace = new String[list.size()];\n Iterator iterator = list.iterator();\n int i = 0;\n while (iterator.hasNext()) {\n TmpString = (String)iterator.next();\n tokensSearch[i] = TmpString;\n tokensReplace[i++] = (String)tokensSearchList.get(TmpString);\n }\n tokenReplacementFile.close();\n MyTokenReplacer = new HeuristicTokenReplacer(tokensSearch, tokensReplace);\n }\n else {\n MyTokenReplacer = null;\n }\n \n int counterProgress = 0;\n long maxProgress = DiasdemCollection.getNumberOfDocuments();\n \n DiasdemDocument = DiasdemCollection.getFirstDocument(); \n while (DiasdemDocument != null) {\n \n if (counterProgress == 1 || (counterProgress % 50) == 0) {\n Progress.update( (int)(counterProgress * 100 / maxProgress),\n \"Processing Document \" + counterProgress);\n DiasdemServer.setTaskProgress(Progress, TaskThread);\n }\n\n DiasdemDocument.setActiveTextUnitsLayer(DiasdemProject\n .getActiveTextUnitsLayerIndex());\n DiasdemDocument.backupProcessedTextUnits(DiasdemProject\n .getProcessedTextUnitsRollbackOption());\n \n for (int i = 0; i < DiasdemDocument.getNumberOfProcessedTextUnits(); \n i++) {\n DiasdemTextUnit = DiasdemDocument.getProcessedTextUnit(i);\n switch (CastParameter.getConversionType()) {\n case ConvertTextUnitsParameter.CONVERT_TEXT_UNITS_TO_LOWER_CASE: {\n TextUnitContentsAsString = DiasdemTextUnit.getContentsAsString()\n .toLowerCase();\n break;\n }\n case ConvertTextUnitsParameter.CONVERT_TEXT_UNITS_TO_UPPER_CASE: {\n TextUnitContentsAsString = DiasdemTextUnit.getContentsAsString()\n .toUpperCase();\n break;\n } \n case ConvertTextUnitsParameter.APPLY_REGULAR_EXPRESSION_TO_TEXT_UNITS: {\n RegexMatcher = RegexPattern.matcher(DiasdemTextUnit\n .getContentsAsString());\n TmpStringBuffer = new StringBuffer(DiasdemTextUnit\n .getContentsAsString().length() + 10000);\n while (RegexMatcher.find()) {\n RegexMatcher.appendReplacement(TmpStringBuffer,\n CastParameter.getReplacementString());\n }\n TextUnitContentsAsString = RegexMatcher.appendTail(TmpStringBuffer)\n .toString();\n break;\n }\n case ConvertTextUnitsParameter.IDENTIFY_SPECIFIED_MULTI_TOKEN_TERMS: {\n TextUnitContentsAsString = MyMultiTokenWordIdentifier\n .identifyMultiTokenWords(DiasdemTextUnit.getContentsAsString());\n break;\n } \n case ConvertTextUnitsParameter.FIND_AND_REPLACE_SPECIFIED_TOKENS: {\n TextUnitContentsAsString = MyTokenReplacer\n .replaceTokens(DiasdemTextUnit.getContentsAsString());\n break;\n } \n case ConvertTextUnitsParameter.REMOVE_PART_OF_SPEECH_TAGS_FROM_TOKENS: {\n TextUnitContentsAsString = this.removeTagsFromTokens(\n DiasdemTextUnit.getContentsAsString(), \"/p:\");\n break;\n } \n case ConvertTextUnitsParameter.REMOVE_WORD_SENSE_TAGS_FROM_TOKENS: {\n TextUnitContentsAsString = this.removeTagsFromTokens(\n DiasdemTextUnit.getContentsAsString(), \"/s:\");\n break;\n } \n default: {\n TextUnitContentsAsString = DiasdemTextUnit.getContentsAsString();\n }\n }\n DiasdemTextUnit.setContentsFromString(TextUnitContentsAsString);\n DiasdemDocument.replaceProcessedTextUnit(i, DiasdemTextUnit);\n }\n\n DiasdemCollection.replaceDocument(DiasdemDocument\n .getDiasdemDocumentID(), DiasdemDocument);\n \n DiasdemDocument = DiasdemCollection.getNextDocument();\n counterProgress++;\n \n } // read all documents\n \n super.closeDiasdemCollection();\n \n CastResult = new ConvertTextUnitsResult(TaskResult.FINAL_RESULT,\n \"All processed text units have been converted in the DIAsDEM document\\n\" +\n \" collection \" +\n Tools.shortenFileName(CastParameter.getCollectionFileName(), 55) + \"!\", \n \"Processed text units have been converted.\");\n this.setTaskResult(100, \"All Documents Processed ...\", CastResult,\n TaskResult.FINAL_RESULT, Task.TASK_FINISHED);\n \n }", "public TextFile(String filepath) {\n try {\n toFile = new File(filepath);\n if(toFile == null) {\n System.err.println(filepath + \" could not be created\");\n return;\n }\n writer = new BufferedWriter(new FileWriter(toFile));\n } catch (IOException ex) {\n ex.printStackTrace();\n }\n \n }", "@Override\r\n\tpublic void handleFile(String inFilename, String outFilename) \r\n\t{\n\r\n\r\n\t\tString s = slurpFile(inFilename);\r\n\t\tDocument teiDocument = parsePlainText(s);\r\n\t\ttry \r\n\t\t{\r\n\t\t\tPrintStream pout = new PrintStream(new FileOutputStream(outFilename));\r\n\t\t\tpout.print(XML.documentToString(teiDocument));\r\n\t\t\tpout.close();\r\n\t\t} catch (FileNotFoundException e) \r\n\t\t{\r\n\t\t\te.printStackTrace\r\n\t\t\t();\r\n\r\n\t\t}\t\r\n\t}", "public static void main(String args[])\n {\n try\n {\n AudioFile file1 = new AudioFile(\"test.txt\");\n AudioFile file2 = new AudioFile(\"bleh.mp3\");\n AudioFile file3 = new AudioFile(\"fef.txt\");\n List<AudioFile> files = new ArrayList<AudioFile>();\n files.add(file1);\n files.add(file2);\n files.add(file3);\n Audio audio = new Audio(files);\n audio.setAId(StringUtils.randomString(5));\n \n XmlPullParserFactory factory = XmlPullParserFactory.newInstance();\n factory.setNamespaceAware(true);\n XmlPullParser xpp = factory.newPullParser();\n System.out.printf(\"Input: %s\\n\", audio.getChildElementXML());\n xpp.setInput(new StringReader(audio.getChildElementXML()));\n Audio outFile = (Audio) new AudioProvider().parseIQ(xpp);\n System.out.printf(\"Output: %s\\n\", outFile.getChildElementXML());\n }\n catch (Exception ex)\n {\n Logger.getLogger(AudioProvider.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "public void saveFile(){\n\t\t// the files name\n\t\tString fileName = nameOfFile.getText();\n\t\tString folderName = saveTo.getText();\n\t\tString pattern = \"^[a-zA-Z0-9_]*$\";\n\t\tString seperator = System.getProperty(\"file.separator\");\n\t\t\t\t\t\n\t\t//checks if file name is valid\n\t\tif (!fileName.matches(pattern)){\n\t\t\tif (mf != null){\n\t\t\t\tmf.dispose();\n\t\t\t}\n\t\t\tmf = new MessageFrame(getX()+368,getY()-150,\"Error\", \"ERROR 7:\", \"Invalid Name!\");\n\t\t\tmf.setVisible(true);\n\t\t\treturn;\n\t\t}else if (fileName.equals(\"\")){\n\t\t\tif (mf != null){\n\t\t\t\tmf.dispose();\n\t\t\t}\n\t\t\tmf = new MessageFrame(getX()+368,getY()-150,\"Error\", \"ERROR 1:\", \"Please enter name for new file!\");\n\t\t\tmf.setVisible(true);\n\t\t\treturn;\n\t\t}\n\t\t// makes sure the file is a .mp3 file\n\t\tfileName = fileName + \".mp3\";\n\t\t\t\t\t\n\t\tif(!folderName.equals(\"\")){\n\t\t\tfileName = folderName + seperator + fileName;\n\t\t}\n\t\t// used to check if the file exists\n\t\t\t\t\t\n\t\tFile tmpFile = new File(fileName);\n\t\tFile tmpDir = new File(folderName);\n\t\t\t\t\t\n\t\t// checks if file already exists or file is a directory\n\t\tif (tmpFile.exists() && !tmpFile.isDirectory()){\n\t\t\tif(mf != null){\n\t\t\t\tmf.dispose();\n\t\t\t}\n\t\t\tMessageFrame mf = new MessageFrame(getX()+368,getY()-150,\"Error\", \"ERROR 3:\", \"File Already Exists!\");\n\t\t\tmf.setVisible(true);\n\t\t\treturn;\n\t\t}else if (!tmpDir.exists()){\n\t\t\tif(mf != null){\n\t\t\t\tmf.dispose();\n\t\t\t}\n\t\t\tMessageFrame mf = new MessageFrame(getX()+368,getY()-150,\"Error\", \"ERROR 4\", \"Folder does not Exists!\");\n\t\t\tmf.setVisible(true);\n\t\t\treturn;\n\t\t}\n\t\t\t\t\t\n\t\t// Creates the wave file the user requests\n\t\tSaveSpeech ss = new SaveSpeech(message, fileName,statuslbl,progressBar, voice, rate, pitchStart, pitchEnd);\n\t\tss.execute();\n\t\tthisFrame.dispose();\n\t}", "public void writeResultSentencesToFile(String outputFilePath) {\n writeDataToFile(reversedWrdsSentence.toCharArray(), outputFilePath);\n }", "public void addSpeech(String text, String packageName, int resId) {\n mSelf.addSpeech(text, packageName, resId);\n }", "public void speak(){\n System.out.println(\"Smile and wave boys. Smile and wave.\");\n }", "void writeText(FsPath path, String text);", "static void speak(String words) {\n\t\ttry {\n\t\t\tRuntime.getRuntime().exec(\"say \" + words).waitFor();\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "String sound();", "public static void main(String[] args) {\n\t\tString PATH = \"./text.txt\";\n\t\t\n\t\tString writeString = \"Hello. I'm hungry.\";\n\t\t\n\t\tOutputStream out = null;\n\t\tbyte [] buffer = null;\n\t\t\n\t\ttry {\n\t\t\tbuffer = writeString.getBytes(\"UTF-8\");\n\t\t\t\n\t\t\tout = new FileOutputStream(PATH);\n\t\t\tout.write(buffer);\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tout.close(); // ΗΚΌφ\n\t\t\t} catch (IOException 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}", "public void writeToTextFile(String filename){\n try{\n FileWriter myWriter = new FileWriter(filename); \n myWriter.write(toString());\n myWriter.close();\n } \n catch(IOException e) { \n System.out.println(\"An error occurred.\"); \n e.printStackTrace();\n } \n }", "public void speak(String text, int queueMode, String[] params) {\n ArrayList<String> speakingParams = new ArrayList<String>();\n if (params != null) {\n speakingParams = new ArrayList<String>(Arrays.asList(params));\n }\n mSelf.speak(text, queueMode, speakingParams);\n }" ]
[ "0.69969296", "0.6861346", "0.6840889", "0.6834466", "0.67235637", "0.6716431", "0.6635381", "0.6563109", "0.64502573", "0.6362124", "0.61609477", "0.61577594", "0.6142277", "0.6043056", "0.6019095", "0.5965993", "0.590591", "0.5885231", "0.587911", "0.5876553", "0.58760136", "0.58580863", "0.5852467", "0.5828498", "0.5817632", "0.58090156", "0.57893527", "0.57813567", "0.57665235", "0.5755208", "0.5745648", "0.5744263", "0.56535614", "0.5638166", "0.5582979", "0.5561489", "0.5560232", "0.55552995", "0.5553952", "0.55383605", "0.54794145", "0.5472432", "0.546126", "0.5451748", "0.54428154", "0.5427909", "0.54253006", "0.5420292", "0.54150194", "0.5365691", "0.5330716", "0.5323564", "0.5321411", "0.52908295", "0.5261566", "0.5257279", "0.52354175", "0.52353984", "0.52309114", "0.5223415", "0.5215727", "0.5215182", "0.5185923", "0.5180153", "0.5155865", "0.51521397", "0.51432174", "0.51262593", "0.5107516", "0.51063585", "0.5098757", "0.5098469", "0.50789094", "0.50737125", "0.50587606", "0.50445026", "0.5043337", "0.504075", "0.5034322", "0.501878", "0.50185364", "0.5011421", "0.5010584", "0.49911833", "0.4970731", "0.49665084", "0.49649066", "0.49576858", "0.49513346", "0.4948451", "0.49453744", "0.49437264", "0.49416557", "0.49319404", "0.49266317", "0.4926121", "0.4925492", "0.49254617", "0.4906123", "0.4905394" ]
0.5218478
60
This method stops the current and all the pending tasks immediately.
public Future<Void> stopAll() throws DynamicCallException, ExecutionException{ return call("stopAll"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void stop()\n {\n if (task == -1) {\n return;\n }\n\n library.getPlugin().getServer().getScheduler().cancelTask(task);\n task = -1;\n }", "private void stop()\n {\n if(running)\n {\n scheduledExecutorService.shutdownNow();\n running = false;\n }\n }", "public void stop() {\n if (this.runningTaskId != -1) {\n plugin.getServer().getScheduler().cancelTask(this.runningTaskId);\n }\n reset(true);\n running = false;\n }", "@Override\n\tpublic void stop() {\n\t\tstopTask();\n\t\tmPlaybillPath = null;\n\t\tmResPlaybill = null;\n\t}", "public void stop(){\r\n\t\tmyTask.cancel();\r\n\t\ttimer.cancel();\r\n\t}", "public void stopTask() {\r\n\t\tquit = true;\r\n\t}", "public final void stopAll() {\n for (BotTaskInterface bt : TASKS) {\n LOG.info(\"Stoping BotTask {}\", bt.getName());\n bt.stop();\n }\n EXECUTOR_SERVICE.shutdown();\n }", "public void forceStop() {\n\t\tfor (int i = 0; i < worker_num; i++) {\n\t\t\tif (workThreads[i] == null)\n\t\t\t\tcontinue;\n\t\t\tworkThreads[i].interrupt();\n\t\t\tworkThreads[i] = null;\n\t\t}\n\t\tthreadPool = null;\n\t\ttaskQueue.clear();\n\t}", "private void cancelAllTasks() {\n if(artistTask != null) {\n artistTask.cancel(true);\n artistTask = null;\n }\n }", "public void stop() {\n awaitStop();\n }", "private void cancelTasks() {\n\t\ttimer.cancel();\n\t\ttimer.purge();\n\t}", "public synchronized void close() {\r\n\r\n\t\tif (done) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tdone = true;\r\n\r\n\t\tabortScheduledTasks();\r\n\t}", "public void stop() {\n if (!sequencer.tryAcquire())\n throw new IllegalStateException(\"Can't acquire lock\");\n int errcount = 0;\n final StringBuilder b = new StringBuilder();\n\n try {\n switchState(STOPPED,\"stop\");\n\n errcount += cancelSessionTasks(b);\n errcount += stopDirectoryScanners(b);\n } finally {\n sequencer.release();\n }\n\n sendQueuedNotifications();\n if (errcount > 0) {\n b.insert(0,\"stop partially failed with \"+errcount+\" error(s):\");\n throw new RuntimeException(b.toString());\n }\n }", "public void stop() {\n \tif (elevatorControllerList != null) {\n \t\tfor(ElevatorController elevator : elevatorControllerList) {\n \t\t\televator.stop();\n \t\t}\n \t}\n \tif(mSchedulerFuture != null) {\n \t\tmSchedulerFuture.cancel(false);\n \t}\n \tif(mHandlerFuture != null) {\n \t\tmHandlerFuture.cancel(false);\n \t}\n \tscheduledExecutorService.shutdown();\n }", "private AsyncFuture<Void> stop() {\n return curator.stop();\n }", "public synchronized void stop() {\n this.running = false;\n }", "public void stop() {\r\n running = false;\r\n }", "public void stopWork() {\n stopWork = true;\n }", "public static void cancelAll() {\n\n ImageDownloadTask[] taskArray = new ImageDownloadTask[sInstance.downloadWorkQueue.size()];\n\n // Populates the array with the task objects in the queue\n sInstance.downloadWorkQueue.toArray(taskArray);\n\n /*\n * Locks on the singleton to ensure that other processes aren't mutating Threads, then\n * iterates over the array of tasks and interrupts the task's current Thread.\n */\n synchronized (sInstance) {\n for (ImageDownloadTask imageDownloadTask : taskArray) {\n Thread thread = imageDownloadTask.getCurrentThread();\n if (null != thread) {\n thread.interrupt();\n }\n }\n }\n }", "public final void stop() {\n running = false;\n \n \n\n }", "public void stop() {\n executor.shutdown();\n }", "public void stop() {\n running = false;\n }", "public void stop() {\n _running = false;\n }", "public void stop()\n {\n running = false;\n }", "public void stopTask() {\n if(canRunTaskThread != null)\n canRunTaskThread.set(false);\n }", "void stopAll();", "public synchronized void abort() {\r\n\t\tif (done) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tdone = true;\r\n\r\n\t\tabortScheduledTasks();\r\n\t}", "public void stop()\n\t{\n\t\trunning = false;\n\t}", "public void stop(){\n running = false;\n }", "public void stop() {}", "public synchronized void stop() {\n if (isPausing) {\n start();\n }\n if (isRunning) {\n isRunning = false;\n for (int i = 0; i < numComputeTasks; i++) {\n inputQueue.addLast(new ComputeStopSign());\n }\n ComputeUtil.acquire(taskSync,\n numComputeTasks);\n for (int i = 0; i < threads.length; i++) {\n boolean isFailed = false;\n do {\n isFailed = false;\n try {\n threads[i].join();\n } catch (Exception e) {\n isFailed = true;\n }\n } while (isFailed);\n }\n threads = null;\n }\n }", "public void stopTask()\n {\n viewer.stopViewer(); \n }", "public void stop() {\n executor.shutdownNow();\n rescanThread.interrupt();\n }", "public void halt() {\n\t\t// Task can not currently be halted.\n\t}", "public synchronized void stop()\r\n/* 78: */ {\r\n/* 79:203 */ if (!this.monitorActive) {\r\n/* 80:204 */ return;\r\n/* 81: */ }\r\n/* 82:206 */ this.monitorActive = false;\r\n/* 83:207 */ resetAccounting(milliSecondFromNano());\r\n/* 84:208 */ if (this.trafficShapingHandler != null) {\r\n/* 85:209 */ this.trafficShapingHandler.doAccounting(this);\r\n/* 86: */ }\r\n/* 87:211 */ if (this.scheduledFuture != null) {\r\n/* 88:212 */ this.scheduledFuture.cancel(true);\r\n/* 89: */ }\r\n/* 90: */ }", "public void finish() {\n\t\ttask.run();\n\t\ttask.cancel();\n\t}", "public void stop() {\n \t\t\tif (isJobRunning) cancel();\n \t\t}", "public void stopSpinning()\n {\n scheduler.shutdown();\n startupLock.lock();\n spinning = false;\n }", "public static void onPauseCleanUp() {\n for(PrioritizedReactiveTask task: activeTasks) {\n task.stopTask();\n }\n }", "public synchronized void stop(){\n\t\tif (tickHandle != null){\n\t\t\ttickHandle.cancel(false);\n\t\t\ttickHandle = null;\n\t\t}\n\t}", "final protected void interrupt()\n {\n if (startTask != null)\n startTask.interruptAll();\n }", "public synchronized void stop() {\n stopping = true;\n }", "public void stop();", "public void stop();", "public void stop();", "public void stop();", "public void stop();", "public void stop();", "public void stop();", "public void stop();", "public void stop();", "public void stop();", "public void stop();", "public void stop();", "public void stop();", "public void stop();", "public void stop();", "public void stop() {\n stopped.set(true);\n if (this.currentThread != null) {\n this.currentThread.interrupt();\n this.currentThread = null;\n }\n }", "public void stopAll() throws CallError, InterruptedException{\n if (isAsynchronous)\n service.call(\"stopAll\");\n else\n service.call(\"stopAll\").get();\n }", "@Override public void stop() {\n\t\t_active = false;\n\t}", "public void stop(){\n return;\n }", "void endTask();", "protected void abortScheduledTasks() {\r\n\r\n\t\tfor (ParallelTask<?> task : scheduledSubtasks) {\r\n\t\t\ttask.cancel();\r\n\t\t}\r\n\r\n\t\tscheduledSubtasks.clear();\r\n\t}", "public void stop() {\r\n _keepGoing = false;\r\n }", "public void stopSoft() {\n stopped.set(true);\n }", "public void stop(){\n executor.shutdown();\n active = false;\n \n tSec.setEditable(true);\n tMin.setEditable(true);\n tHours.setEditable(true);\n }", "public void stop() {\n enable = false;\n }", "public void stop()\n {\n storage.stop();\n command.stop();\n }", "public void stop() {\n\t\tthis.close(this.btcomm);\n\t}", "public void stop() {\n executorService.shutdown();\n try {\n if (!executorService.awaitTermination(500, TimeUnit.MILLISECONDS)) {\n executorService.shutdownNow();\n }\n } catch (InterruptedException e) {\n executorService.shutdownNow();\n }\n }", "@Stop(priority = 99)\n void stop() {\n for (List<ListenerInvocation> list : listenersMap.values()) {\n if (list != null) list.clear();\n }\n\n if (syncProcessor != null) syncProcessor.shutdownNow();\n }", "@Override\n public void stop() {\n Thread t = new Thread(server::stopOrderProcess);\n t.setName(\"Server close task\");\n t.start();\n serverFrame.enableControls(false, false);\n enableControls(false, false);\n }", "public final void stopRunning() {\n\t\t_running = false;\n\t}", "public void stop() {\n\t\trunning = false;\n\t\tfor (ArionumHasher hasher : hashers) {\n\t\t\thasher.setForceStop(true);\n\t\t}\n\n\t\tthreadCollection.clear();\n\t\thashers.clear();\n\t}", "public void stop() {\n }", "public void stop() {\n }", "void notifyStop();", "@Override\n public void stopTask(TrcRobot.RunMode runMode)\n {\n stop();\n }", "public void stop()\n {\n if ( this.threadRunning.get() )\n {\n this.threadRunning.set(false);\n }\n }", "public void Stop(){\r\n\t\trunning = false;\r\n\t\thelp.print(\"Closing server, waiting for workers to complete\");\r\n\t}", "public void stop() {\n\t}", "public synchronized void stopScheduler() {\r\n\t\tstatus = false;\r\n\t\tstart = null;\r\n\t\tif (t != null) {\r\n\t\t\tt.cancel();\r\n\t\t\tt.purge();\r\n\t\t\tt = null;\r\n\t\t}\r\n\t\tstartDate = null;\r\n\t\tsuper.interrupt();\r\n\t}", "public void stopping();", "public void stop(){\n log.info(\"PageDownloaderPool stopped.\");\n downloaders.forEach(PageDownloader::doStop);\n }", "public void stopPollingThread() {\n pool.shutdown();\n }", "public void shutdown() {\n\t\tfinal List<Runnable> tasks = updater.shutdownNow();\n\t\tif (null == tasks) return;\n\t\tfor (final Runnable t : tasks)\n\t\t\tt.run();\n\t}", "public void Stop() {\r\n\t\t\r\n\t\tthread = null;\r\n\t}", "public void stopRunning() {\n try {\n _running = false;\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "protected void stopTimeTask() {\n\t\tif (chatAsyncTask!=null) {\n\t\t\tchatAsyncTask.cancel(true);\n\t\t}\n\t\t\n\t\tif (liveAsyncTask!=null) {\n\t\t\tliveAsyncTask.cancel(true);\n\t\t}\n\t\t\n\t\tif (timerTask!=null) {\n\t\t\ttimerTask.cancel();\n\t\t\ttimerTask = null;\n\t\t}\n\t\t\n\t\tif (timer!=null) {\n\t\t\ttimer.cancel();\n\t\t\ttimer = null;\n\t\t}\n\t\t\n\t\t\n\t}", "public void stop()\r\n\t{\r\n\t\tdoStop = true;\r\n\t}", "public void stop() {\n intake(0.0);\n }", "@Override\n public void stop() {}", "public void stopAll() {\n List<String> startedEvents = new ArrayList<>(started.keySet());\n for (String event : startedEvents) {\n stop(event);\n }\n started.clear();\n }", "public void notifyStop() {\n\t\tisRunning = false;\n\t}", "public void stop() {\n\t\texec.stop();\n\t}", "public void stop() {\n thread = null;\n }", "void stopReportingTask();", "public void stop()\n\t{\n\t\tindex = 0;\n\t\tlastUpdate = -1;\n\t\tpause();\n\t}", "public void stopping() {\n super.stopping();\n }", "public void forceShutdown()\n {\n taskExecutor.shutdownNow();\n differencingDone.signalAll();\n completed.signalAll();\n }", "public abstract void stopThreadsAtSafePoint();" ]
[ "0.7581409", "0.742876", "0.7293224", "0.724157", "0.723457", "0.7074226", "0.7012169", "0.6906132", "0.6888401", "0.6860279", "0.6830404", "0.67878646", "0.677254", "0.67716813", "0.6753539", "0.6738689", "0.67319894", "0.67200667", "0.67155105", "0.6705907", "0.66999346", "0.66950744", "0.66917205", "0.66743326", "0.66568357", "0.6656047", "0.6646912", "0.6642541", "0.662856", "0.66207945", "0.6616522", "0.6604629", "0.65664", "0.6560943", "0.6553192", "0.65333307", "0.6504923", "0.6504006", "0.648294", "0.64796394", "0.6463552", "0.64634687", "0.64461464", "0.64461464", "0.64461464", "0.64461464", "0.64461464", "0.64461464", "0.64461464", "0.64461464", "0.64461464", "0.64461464", "0.64461464", "0.64461464", "0.64461464", "0.64461464", "0.64461464", "0.6444227", "0.644136", "0.6441086", "0.6427757", "0.642179", "0.64201117", "0.64186394", "0.64131093", "0.6393445", "0.6389056", "0.6367296", "0.6367132", "0.636268", "0.6354208", "0.63525355", "0.63523966", "0.63519907", "0.63509184", "0.63509184", "0.6348542", "0.63452196", "0.6333065", "0.63316107", "0.63258064", "0.6323494", "0.6318594", "0.6317301", "0.63153", "0.6310331", "0.6307331", "0.63019186", "0.63006485", "0.629267", "0.6284949", "0.62845236", "0.6270983", "0.62704813", "0.6256453", "0.625575", "0.6255006", "0.62523293", "0.6245995", "0.6239688", "0.62317246" ]
0.0
-1
Changes the language used by the TexttoSpeech engine. It automatically changes the voice used since each of them is related to a unique language. If you want that change to take effect automatically after reboot of your robot, refer to the robot web page (setting page).
public Future<Void> setLanguage(String pLanguage) throws DynamicCallException, ExecutionException{ return call("setLanguage", pLanguage); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void changeLanguage(String newLanguage){\n\tif (newLanguage.contentEquals(\"FR\")){\n\t\t((GameActivity) activity).setStringPreferences(\"language\", \"1\");\n\t} else if (newLanguage.contentEquals(\"UK\")){\n\t\t((GameActivity) activity).setStringPreferences(\"language\", \"2\");\n\t}\n\t\n\t/*\n\tprefLanguage = ((GameActivity) activity).getPreference(\"language\", \"1\");\n\tif (prefLanguage.contentEquals(\"1\")){\n\t\tresourcesManager.tts.setLanguage(Locale.FRENCH);\n\t} else if (prefLanguage.contentEquals(\"2\")){\n\t\tresourcesManager.tts.setLanguage(Locale.ENGLISH);\t\n\t}\n\t*/\n\t\n\t\n\t\n\t/*\n\tif (newLanguage.contentEquals(\"FR\")){\n\t\tresourcesManager.tts.setLanguage(Locale.FRENCH);\n\t\tlocalLanguage=0;\n\t} else if (newLanguage.contentEquals(\"UK\")){\n\t\tresourcesManager.tts.setLanguage(Locale.ENGLISH);\t\n\t\tlocalLanguage=1;\n\t}\n\t*/\n\t\n}", "public void changeLanguage(View v) {\n Resources res = getResources();\n DisplayMetrics dm = res.getDisplayMetrics();\n Configuration config = res.getConfiguration();\n\n String targetLanguage;\n\n // Log.d(\"en-US\", targetLanguage);\n\n if ( config.locale.toString().equals(\"pt\") ) {\n targetLanguage = \"en-US\";\n } else {\n targetLanguage = \"pt\";\n }\n\n Locale newLang = new Locale(targetLanguage);\n\n config.locale = newLang;\n res.updateConfiguration(config, dm);\n\n // Reload current page with new language\n Intent refresh = new Intent(this, Settings.class);\n startActivity(refresh);\n }", "void changeLanguage() {\n\n this.currentLocaleIndex++;\n if(this.currentLocaleIndex > this.locales.size() - 1) this.currentLocaleIndex = 0;\n this.updateBundle();\n }", "public void updateLanguage() {\n this.title.setText(LanguageStringMap.get().getMap().get(TITLE_KEY));\n this.skinSwitcher.updateLanguage();\n this.langSwitcher.updateLanguage();\n this.pawnSwitcher.updateLanguage();\n this.musicManager.updateLanguage();\n this.back.setText(LanguageStringMap.get().getMap().get(BACK_KEY));\n }", "public void switchLanguage(){\n Locale myLocale = new Locale(\"de\");\r\n // get current Locale\r\n String currentLocale = scanActivity.getResources().getConfiguration().locale\r\n .toString();\r\n // set Locale to english if current Locale is german\r\n if (currentLocale.equals(\"de\")) {\r\n myLocale = new Locale(\"en\");\r\n }\r\n // sets the Locale in the configuration and updates the\r\n // configuration\r\n DisplayMetrics metrics = scanActivity.getResources().getDisplayMetrics();\r\n Configuration config = scanActivity.getResources().getConfiguration();\r\n config.locale = myLocale;\r\n scanActivity.getResources().updateConfiguration(config, metrics);\r\n // recreates the app in order to show the selected language\r\n scanActivity.recreate();\r\n }", "private void switchLanguage( ){\n \tString xpathEnglishVersion = \"//*[@id=\\\"menu-item-4424-en\\\"]/a\";\n \tif( driver.findElement( By.xpath( xpathEnglishVersion ) ).getText( ).equals( \"English\" ) ) {\n \t\tSystem.out.println( \"Change language to English\" );\n \t\tdriver.findElement( By.xpath( xpathEnglishVersion ) ).click( );\n \t\tIndexSobrePage.sleepThread( );\n \t}\n }", "private void setTextTospeech() {\n textToSpeech = new TextToSpeech(mContext, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n Set<Locale> languages = textToSpeech.getAvailableLanguages();\n if (language.toLowerCase().contains(langaugeCodeEnglish)) {\n int result = textToSpeech.setLanguage(new Locale(\"en\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n //Toast.makeText(mContext, result + \" is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n }\n } else {\n int result = textToSpeech.setLanguage(new Locale(\"hi\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n result = textToSpeech.setLanguage(Locale.forLanguageTag(\"hin\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n\n // Toast.makeText(mContext, result + \"Language is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \"Language is not supported\");\n }\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n if (result == TextToSpeech.LANG_NOT_SUPPORTED) {\n showTtsLanuageNSDialog();\n }\n }\n }\n }\n });\n }", "private String setSpeechFXLanguage(String language){\n String lang;\n if (!mSpeechFXon) {\n lang = language;\n } else if (mTts == null) {\n\t\t\tLog.i(TAG, \"TTS IS NULL!\");\n\t\t\tlang = language;\n\t\t} else {\n\t\t\tlang = Languages.setSpeechLanguage(language, mDefaultSpeechLang, mTts.ttsengine());\n\t\t\tif (mTts != null && lang != null && !lang.equals(\"\")) {\n\t\t\t\tLog.i(TAG, \"TTS set speech engine language: \" + lang);\n\t\t\t\tmTts.ttsengine().setLanguage(Languages.stringToLocale(lang));\n\t\t\t} else {\n\t\t\t\t// Unchanged, so return the pilot language\n\t\t\t\tlang = language;\n\t\t\t}\n\t\t\tLog.i(TAG, \"TTS LANG: \" + lang);\n\t\t}\n\n\t\treturn lang;\n\t}", "@SuppressWarnings(\"deprecation\")\r\n public void setLanguage(String langTo) {\n Locale locale = new Locale(langTo);\r\n Locale.setDefault(locale);\r\n\r\n Configuration config = new Configuration();\r\n\r\n config.setLocale(locale);//config.locale = locale;\r\n\r\n if (Build.VERSION.SDK_INT == Build.VERSION_CODES.N) {\r\n createConfigurationContext(config);\r\n } else {\r\n getResources().updateConfiguration(config, getResources().getDisplayMetrics());\r\n }\r\n\r\n //createConfigurationContext(config);\r\n getResources().updateConfiguration(config, getApplicationContext().getResources().getDisplayMetrics());//cannot resolve yet\r\n //write into settings\r\n SharedPreferences.Editor editor = mSettings.edit();\r\n editor.putString(APP_PREFERENCES_LANGUAGE, langTo);\r\n editor.apply();\r\n //get appTitle\r\n if(getSupportActionBar()!=null){\r\n getSupportActionBar().setTitle(R.string.app_name);\r\n }\r\n\r\n }", "public void updateLanguage() {\n buttonPlay.setText(GameConfiguration.getText(\"playButton\"));\n buttonSettings.setText(GameConfiguration.getText(\"settingsButton\"));\n buttonHighScores.setText(GameConfiguration.getText(\"highScores\"));\n }", "public void updateLanguage() {\n try {\n getUserTicket().setLanguage(EJBLookup.getLanguageEngine().load(updateLanguageId));\n } catch (FxApplicationException e) {\n new FxFacesMsgErr(e).addToContext();\n }\n }", "void setLanguage(Language language);", "@SuppressLint(\"SetTextI18n\")\n @Override\n public void setLanguage() {\n if (Value.language_flag == 0) {\n title.setText(title_text);\n back.setText(\"back\");\n copyright.setText(Value.copyright_text + Value.ver);\n nowTime.setText(Value.updatestring + Value.updateTime);\n } else if (Value.language_flag == 1) {\n title.setText(title_text);\n back.setText(\"返回\");\n copyright.setText(Value.copyright_text + Value.ver);\n nowTime.setText(Value.updatestring + Value.updateTime);\n } else if (Value.language_flag == 2) {\n title.setText(title_text);\n back.setText(\"返回\");\n copyright.setText(Value.copyright_text + Value.ver);\n nowTime.setText(Value.updatestring + Value.updateTime);\n }\n }", "@Override\n public void updateLanguage() {\n if (isEnglish) {\n languageButton.setText(R.string.alien_painter_language_chinese);\n exitButton.setText(R.string.alien_painter_exit);\n retryButton.setText(R.string.alien_painter_retry);\n scoreboardButton.setText(R.string.alien_painter_scoreboard_button);\n painterTextViewInstructions.setText(R.string.alien_painter_instructions);\n replayButton.setText(R.string.alien_painter_replay);\n } else {\n languageButton.setText(R.string.alien_painter_language_english);\n exitButton.setText(R.string.alien_painter_exit_chinese);\n retryButton.setText(R.string.alien_painter_retry_chinese);\n scoreboardButton.setText(R.string.alien_painter_scoreboard_button_chinese);\n painterTextViewInstructions.setText(R.string.alien_painter_instructions_chinese);\n replayButton.setText(R.string.alien_painter_replay_chinese);\n }\n }", "public void setLanguage(String newLanguage) {\r\n language = newLanguage;\r\n }", "@Override\n public void setLanguage(String lang) {\n }", "public void changeApplicationLanguage(ActionEvent event) {\n\t\tString appConfigPath = \"src/main/resources/properties/AudioEditor.properties\";\n\t\tProperties properties = new Properties();\n\t\ttry {\n\t\t\tproperties.load(new FileInputStream(new File(appConfigPath).getAbsoluteFile()));\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tif (event.getSource() == languageEnglish) {\n\t\t\tcurLocale = new Locale(\"en\", \"US\");\n\t\t\tproperties.setProperty(\"language\", \"en\");\n\t\t\tproperties.setProperty(\"country\", \"US\");\n\t\t} else if (event.getSource() == languageFinnish) {\n\t\t\tcurLocale = new Locale(\"fi\", \"FI\");\n\t\t\tproperties.setProperty(\"country\", \"FI\");\n\t\t\tproperties.setProperty(\"language\", \"fi\");\n\t\t}\n\n\t\ttry (FileOutputStream fos = new FileOutputStream(appConfigPath);) {\n\t\t\tproperties.store(fos, null);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tbundle = ResourceBundle.getBundle(\"properties/ApplicationResources\", curLocale);\n\n\t\tsetApplicationLanguage();\n\t}", "public void setApplicationLanguage() {\n\t\tinitializeMixerLocalization();\n\t\tinitializeRecorderLocalization();\n\t\tinitializeMenuBarLocalization();\n\t\tsetLocalizedLanguageMenuItems();\n\t\tboardController.setLocalization(bundle);\n\t\tboardController.refreshSoundboard();\n\t}", "@Override\n\tpublic void setTargetLanguage(java.lang.String targetLanguage) {\n\t\t_scienceApp.setTargetLanguage(targetLanguage);\n\t}", "public void setLanguage (String language) {\n\t\tthis.language=language;\n\t\tthis.update();\n\t}", "void TranslateToTurkish() {\n // Check wheter the device language is English\n if(Locale.getDefault().getDisplayLanguage() == \"en\"){ // Don't do anything if it is English\n }\n else { // Translate to device language (For now just Turkish)\n final Handler textViewHandler = new Handler();\n new AsyncTask<Void, Void, Void>() {\n @Override\n protected Void doInBackground(Void... params) {\n TranslateOptions options = TranslateOptions.newBuilder()\n .setApiKey(googleApiKey)\n .build();\n Translate translate = options.getService();\n final Translation translation =\n translate.translate(textToSpeechInputText,\n Translate.TranslateOption.targetLanguage(\"tr\"));\n textViewHandler.post(new Runnable() {\n @Override\n public void run() {\n Log.d(\"Translated text:\", translation.getTranslatedText().toString());\n textToSpeechInputText = translation.getTranslatedText().toString();\n Log.d(\"Output\", textToSpeechInputText);\n //Speak of the result\n Speak(textToSpeechInputText);\n state = 2; // Turn state to speaking the result\n }\n });\n return null;\n }\n }.execute();\n }\n }", "private void changeLanguage(String selectedLang) {\n if (AppUtils.getInstance().isInternetAvailable(this)) {\n hitChangeLanguageApi(selectedLang);\n\n }\n }", "private void translate()\r\n\t{\r\n\t\tLocale locale = Locale.getDefault();\r\n\t\t\r\n\t\tString language = locale.getLanguage();\r\n\t\t\r\n\t\ttranslate(language);\r\n\t}", "public void setLanguage(String language);", "public static void removelanguage(Context ctx) {\n\n\t\tgetSharedPreferences(ctx).edit().putString(language, null)\n\t\t\t\t.commit();\n\n\t}", "public void onInit(int code) {\n\t\t if (code==TextToSpeech.SUCCESS) {\n\t\t \t com.example.main_project.MainActivity.tts.setLanguage(Locale.getDefault());\n\n\n\t\t \t } else {\n\t\t \t com.example.main_project.MainActivity.tts = null;\n\t\t \t Toast.makeText(this, \"Failed to initialize TTS engine.\",\n\t\t \t Toast.LENGTH_SHORT).show();\n\t\t \t }\t\t\n\t\t}", "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 }", "@Override\n public void onInit(int i) {\n if(i!=TextToSpeech.ERROR){\n // To Choose language of speech\n textToSpeech.setLanguage(getResources().getConfiguration().locale);\n }\n }", "public void setLanguageEnglishButtonText(String text) {\n/*Generated! Do not modify!*/ replyDTO.getVariablesToSet().add(\"overviewSmall_languageEnglishButton_propertyText\");\n/*Generated! Do not modify!*/ if (text == null) {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().remove(\"overviewSmall_languageEnglishButton_propertyText\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().put(\"overviewSmall_languageEnglishButton_propertyText\", text);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(\"setLanguageEnglishButtonText(\" + escapeString(text) + \");\");\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "private void setLanguageForApp(){\n String lang = sharedPreferences.getString(EXTRA_PREF_LANG,\"en\");\n\n Locale locale = new Locale(lang);\n Resources resources = getResources();\n Configuration configuration = resources.getConfiguration();\n DisplayMetrics displayMetrics = resources.getDisplayMetrics();\n configuration.setLocale(locale);\n\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N){\n getApplicationContext().createConfigurationContext(configuration);\n } else {\n resources.updateConfiguration(configuration,displayMetrics);\n }\n getApplicationContext().getResources().updateConfiguration(configuration, getApplicationContext().getResources().getDisplayMetrics());\n }", "protected static void setLanguage(Language lang) {\r\n\t\tInterface.lang = lang;\r\n\t}", "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}", "void updateLang() {\n if (lang == null)\n lang = game.q;\n }", "public static void setLanguage(Context context, String language) {\r\n\t\tputString(context, \"app-language\", language, false);\r\n\t\tputString(context, \"old-app-language\", language, true);\r\n\t\tforceLocale(context);\r\n\t}", "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}", "@Override\r\n\t\tpublic void setLang(String lang)\r\n\t\t\t{\n\t\t\t\t\r\n\t\t\t}", "public void setLanguage(String s) {\n\t\tlanguage = s;\n\t}", "public static void setApplicationLanguage(Context context, String code) {\n\t\tResources res = context.getResources();\n\t\tConfiguration androidConfiguration = res.getConfiguration();\n\t\t\n\t\tandroidConfiguration.locale = new Locale(code);\n\t\tres.updateConfiguration(androidConfiguration, res.getDisplayMetrics());\n\t}", "private void setLocale(String lang) {\n Locale myLocale = new Locale(lang);\n Resources res = getResources();\n DisplayMetrics dm = res.getDisplayMetrics();\n Configuration conf = res.getConfiguration();\n conf.setLocale(myLocale);\n res.updateConfiguration(conf, dm);\n Intent refresh = new Intent(this, MainActivity.class);\n startActivity(refresh);\n finish();\n }", "public void setLanguage(String pLanguage) throws DynamicCallException, ExecutionException{\n call(\"setLanguage\", pLanguage).get();\n }", "public void setLanguage(Language lang) {\n\t\tGuiElements guiElems = GuiElements.getInstance();\n\t\tframe.setTitle(guiElems.getFrameTitle(lang));\n\t\tconvBtn.setText(guiElems.getConvertBtnText(lang));\n\t\tswitchBtn.setText(guiElems.getSwitchScalesText(lang));\n\t}", "public void setLanguage(Language l)\n\t{\n\t\tm_language = l;\n\t}", "private void ChangeLanguage(String languageCode) {\n Context context = LocaleHelper.setLocale(getContext(), languageCode);\n Resources resources = context.getResources();\n\n btn_Fipdetailscontinue.setText(resources.getString(R.string.Continue));\n btn_Home.setText(resources.getString(R.string.Home));\n btn_Info.setText(resources.getString(R.string.Info));\n btn_Back.setText(resources.getString(R.string.Back));\n tv_driverdetailslicenseNo.setText(resources.getString(R.string.LicenseNumber));\n tv_driverdetailsexpiryDate.setText(resources.getString(R.string.ExpiryDate));\n tv_driverdetailsPlateSource.setText(resources.getString(R.string.PlateSource));\n tv_driverdetailsticketNo.setText(resources.getString(R.string.TicketNumber));\n tv_driverdetailsbirthYear.setText(resources.getString(R.string.BirthYear));\n tv_driverDetails.setText(resources.getString(R.string.Details));\n tv_txtdriverDetails.setText(resources.getString(R.string.Details));\n tv_Seconds.setText(resources.getString(R.string.seconds));\n //Setting Title\n if (Title.contains(\"Lost\") || Title.contains(\"Damage\"))\n tvrtaServiceTitle.setText(resources.getString(R.string.DrivingLicenseLossDamage));\n else\n tvrtaServiceTitle.setText(resources.getString(R.string.DrivingLicenseRenewal));\n }", "public void setLanguage(String localeString) {\n\t\tdatabaseOperation.execute(\"UPDATE \" + DatabaseContents.LANGUAGE + \" SET language = '\" + localeString + \"'\");\n\t}", "public static void setlanguage(Context ctx, String latitude) {\n\t\tEditor editor = getSharedPreferences(ctx).edit();\n\t\teditor.putString(language, latitude);\n\t\teditor.commit();\n\t}", "private void ConvertTextToSpeech() {\n if (properties.get(selectedStateOrCountry) != null) {\n tts.speak(String.format(\"This is %s %s\", selectedStateOrCountry, properties.get(selectedStateOrCountry)),\n TextToSpeech.QUEUE_FLUSH, null);\n\n } else if (countryCapitalMap.get(selectedStateOrCountry) != null) {\n tts.speak(countryCapitalMap.get(selectedStateOrCountry), TextToSpeech.QUEUE_FLUSH, null);\n } else {\n tts.speak(selectedStateOrCountry, TextToSpeech.QUEUE_FLUSH, null);\n }\n }", "public Future<Void> setLanguageDefaultVoice(String Language, String Voice) throws DynamicCallException, ExecutionException{\n return call(\"setLanguageDefaultVoice\", Language, Voice);\n }", "public void updateLanguage(String lang) {\n\t\tmyLanguages.clear();\n\t\tString location = String.format(\"%s%s\", LANGUAGE_BASE, lang);\n\t\tResourceBundle rb = ResourceBundle.getBundle(location);\n\t\tfor (String key : rb.keySet()) {\n\t\t\tString[] input = rb.getString(key).split(\"\\\\|\");\n\t\t\tfor (String s : input) {\n\t\t\t\tmyLanguages.put(s.replace(\"\\\\\", \"\"), key);\n\t\t\t}\n\t\t}\n\t}", "public void setLanguage(final String lang)\r\n {\r\n // We grant to JavaScript the same privileges as the core applet\r\n\r\n AccessController.doPrivileged(new PrivilegedAction<Object>()\r\n {\r\n public Object run()\r\n {\r\n LabelManager.setLang(lang);\r\n return null;\r\n }\r\n });\r\n }", "public void setOntologies20070510nid3Language(java.lang.String value) {\r\n\t\tBase.set(this.model, this.getResource(), ONTOLOGIES20070510NID3LANGUAGE, value);\r\n\t}", "public void setLanguageDefaultVoice(String Language, String Voice) throws DynamicCallException, ExecutionException{\n call(\"setLanguageDefaultVoice\", Language, Voice).get();\n }", "@Override\n public void onInit(int code) {\n if (code==TextToSpeech.SUCCESS) {\n m_tts.setLanguage(Locale.US);\n } else {\n m_tts = null;\n msg(\"Failed to initialize TTS engine\");\n }\n }", "public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n System.out.println(\"Enter your language:\");\n String language = scanner.nextLine();\n\n switch (language){\n case \"Sinhala\":\n System.out.println(\"Language is changed to Sinhala..\");\n break;\n case \"English\":\n System.out.println(\"Language is changed to English..\");\n break;\n case \"Tamil\":\n System.out.println(\"Language is changed to Tamil..\");\n break;\n default:\n System.out.println(\"Something went wrong!! Try again..\");\n break;\n }\n\n }", "public void setLanguage(String languageName) {\n\t\tsetProperty(LANGUAGE_PROPERTY, languageName);\n\t\tthis.myLanguage = languageName;\n\t}", "public void setLanguage (String language) {\n switch (language.toLowerCase()) {\n default -> this.language = Language.ENGLISH;\n case \"french\" -> this.language = Language.FRENCH;\n case \"german\" -> this.language = Language.GERMAN;\n case \"spanish\" -> this.language = Language.SPANISH;\n case \"italian\" -> this.language = Language.ITALIAN;\n }\n }", "public void englishlanguage() {\nSystem.out.println(\"englishlanguage\");\n\t}", "public abstract void startVoiceRecognition(String language);", "public void setLanguages(String languages) {\n this.languages = languages;\n }", "private void setLanguage(String language_) {\n\n //by default assign language to language_. This may change below.\n language = language_;\n\n //---------- set the default file extensions ----------\n switch (language_) {\n case IAGConstant.LANGUAGE_CPP:\n //extensions = IAGConstant.CPP_EXTENSIONS;\n break;\n case IAGConstant.LANGUAGE_PYTHON3:\n //extensions = IAGConstant.PYTHON_EXTENSIONS;\n break;\n case IAGConstant.LANGUAGE_AUTO:\n //extensions = IAGConstant.PYTHON_AND_CPP_EXTENSIONS;\n break;\n default:\n //extensions = IAGConstant.PYTHON_AND_CPP_EXTENSIONS;;\n language = LANGUAGE_AUTO; //invalid language specified: use AUTO by default\n }\n\n }", "@Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n int result = tts.setLanguage(Locale.US);\n if (result == TextToSpeech.LANG_MISSING_DATA ||\n result == TextToSpeech.LANG_NOT_SUPPORTED) {\n Log.e(\"error\", \"This Language is not supported\");\n } else {\n ConvertTextToSpeech(\"\");\n\n }\n } else\n Log.e(\"error\", \"Initilization Failed!\");\n\n\n }", "private void setLanguage(String currentLang) {\n AppSharedPreference.getInstance().putString(this, AppSharedPreference.PREF_KEY.CURRENT_LANGUAGE, currentLang);\n AppSharedPreference.getInstance().putString(this, AppSharedPreference.PREF_KEY.CURRENT_LANGUAGE_CODE, String.valueOf(languageCode));\n tvEnglish.setCompoundDrawablesWithIntrinsicBounds(0, 0, 0, 0);\n tvChineseTrad.setCompoundDrawablesWithIntrinsicBounds(0, 0, 0, 0);\n tvChineseSimple.setCompoundDrawablesWithIntrinsicBounds(0, 0, 0, 0);\n tvMalyalm.setCompoundDrawablesWithIntrinsicBounds(0, 0, 0, 0);\n tvHindi.setCompoundDrawablesWithIntrinsicBounds(0, 0, 0, 0);\n tvUrdu.setCompoundDrawablesWithIntrinsicBounds(0, 0, 0, 0);\n switch (currentLang) {\n case Constants.AppConstant.CHINES_TRAD:\n tvChineseTrad.setCompoundDrawablesWithIntrinsicBounds(0, 0, R.drawable.ic_check_green, 0);\n break;\n case Constants.AppConstant.CHINES_SIMPLE:\n tvChineseSimple.setCompoundDrawablesWithIntrinsicBounds(0, 0, R.drawable.ic_check_green, 0);\n break;\n case Constants.AppConstant.MALAYALAM:\n tvMalyalm.setCompoundDrawablesWithIntrinsicBounds(0, 0, R.drawable.ic_check_green, 0);\n break;\n case Constants.AppConstant.HINDI:\n tvHindi.setCompoundDrawablesWithIntrinsicBounds(0, 0, R.drawable.ic_check_green, 0);\n break;\n case Constants.AppConstant.ARABIC:\n tvUrdu.setCompoundDrawablesWithIntrinsicBounds(0, 0, R.drawable.ic_check_green, 0);\n break;\n default:\n tvEnglish.setCompoundDrawablesWithIntrinsicBounds(0, 0, R.drawable.ic_check_green, 0);\n }\n }", "private void initLanguage() {\n try {\n Resources resources = getApplicationContext().getResources();\n DisplayMetrics displayMetrics = resources.getDisplayMetrics();\n Configuration configuration = resources.getConfiguration();\n Locale locale = new Locale(\"es\", \"ES\");\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {\n configuration.setLocale(locale);\n } else {\n //noinspection deprecation\n configuration.locale = locale;\n }\n resources.updateConfiguration(configuration, displayMetrics);\n } catch (Throwable throwable) {\n Log.d(TAG, \"Couldn't apply ES language.\", throwable);\n }\n }", "public void setLang(LANG language) {\n\t\tthis.language = language;\n\t}", "@Override\n public void onInit(int status) {\n\t \n\tif (status == TextToSpeech.SUCCESS) {\n\t\t \n int result = mTts.setLanguage(Locale.US);\n if (result != TextToSpeech.LANG_MISSING_DATA && result != TextToSpeech.LANG_NOT_SUPPORTED) {\n \tspokenText += spokenText+\"\"+spokenText+\"\";\n // mTts.speak(\"Dear sir your class is finished!! Dear sir your class is finished!! Dear sir your class is finished!!\", TextToSpeech.QUEUE_FLUSH, null);\n mTts.speak(spokenText, TextToSpeech.QUEUE_FLUSH, null);\n } \n } \n\t \n}", "private static int switchLanguage(int chineseVersion, int englishVersion)\n {\n if (sIsChinese)\n {\n return chineseVersion;\n }\n else\n {\n return englishVersion;\n }\n }", "private void changeVoice(String voice) throws IOException{\r\n\t\tFile failed = new File(\".festivalrc\");\r\n\t\t//If file does not exist, create new file\r\n\t\tif(!failed.exists()) {\r\n\t\t\tfailed.createNewFile();\r\n\t\t} \r\n\r\n\t\t//Appending the word to the file\r\n\t\tWriter output;\r\n\t\toutput = new BufferedWriter(new FileWriter(failed,false)); \r\n\t\toutput.append(\"(set! voice_default '\"+voice +\")\");\r\n\t\toutput.close();\r\n\t}", "@Override\r\n public void onInit(int status) {\n if(status!=TextToSpeech.ERROR) {\r\n ttobj.setLanguage(Locale.UK);\r\n //ttobj.setPitch(2);\r\n }\r\n }", "public void setLocale (\r\n String strLocale) throws java.io.IOException, com.linar.jintegra.AutomationException;", "public void setLanguage(String language) {\r\n this.language = language;\r\n }", "@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)\n private void speakWords(String speech) {\n myTTS.speak (speech, TextToSpeech.QUEUE_FLUSH, null,\"1\");\n\n }", "public void setLanguage(String languageKey) {\n String[] languages = {ResourceBundle.getBundle(LANGUAGE).getString(languageKey), SYNTAX};\n translations = getPatterns(languages);\n }", "public void setLang(String value) {\n setAttributeInternal(LANG, value);\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 putPrimaryLanguage(String value){\n editor.putString(PRIMARY_LANGUAGE, value);\n editor.apply();\n }", "public void setLanguage(String language) {\n _language = language;\n }", "Builder addInLanguage(Text value);", "public void setLang(AVT v)\n {\n m_lang_avt = v;\n }", "private void hitChangeLanguageApi(final String selectedLang) {\n progressBar.setVisibility(View.VISIBLE);\n ApiInterface apiInterface = RestApi.createServiceAccessToken(this, ApiInterface.class);//empty field is for the access token\n final HashMap<String, String> params = AppUtils.getInstance().getUserMap(this);\n params.put(Constants.NetworkConstant.PARAM_USER_ID, AppSharedPreference.getInstance().getString(this, AppSharedPreference.PREF_KEY.USER_ID));\n params.put(Constants.NetworkConstant.PARAM_USER_LANGUAGE, String.valueOf(languageCode));\n Call<ResponseBody> call = apiInterface.hitEditProfileDataApi(AppUtils.getInstance().encryptData(params));\n ApiCall.getInstance().hitService(this, call, new NetworkListener() {\n\n @Override\n public void onSuccess(int responseCode, String response, int requestCode) {\n progressBar.setVisibility(View.GONE);\n AppUtils.getInstance().printLogMessage(Constants.NetworkConstant.ALERT, response);\n switch (responseCode) {\n case Constants.NetworkConstant.SUCCESS_CODE:\n setLanguage(selectedLang);\n// Locale locale = new Locale(language);\n Locale.setDefault(locale);\n Configuration config = new Configuration();\n config.locale = locale;\n getBaseContext().getResources().updateConfiguration(config, getBaseContext().getResources().getDisplayMetrics());\n AppUtils.getInstance().openNewActivity(ChangeLanguageActivity.this, new Intent(ChangeLanguageActivity.this, HomeActivity.class));\n break;\n }\n }\n\n\n @Override\n public void onError(String response, int requestCode) {\n AppUtils.getInstance().printLogMessage(Constants.NetworkConstant.ALERT, response);\n progressBar.setVisibility(View.GONE);\n }\n\n\n @Override\n public void onFailure() {\n progressBar.setVisibility(View.GONE);\n }\n }, 1);\n }", "@Override\n\tpublic void notifyLanguageChanged(GameLanguageInfo oldValue) {\n\t\tGameLanguageInterface languageModel = nativeModel.getLanguage();\n\t\tIterator<Entry<LanguageNode, ReadOnlyStringWrapper>> iterator = currentLanguageNodes.entrySet().iterator();\n\t\twhile(iterator.hasNext()) {\n\t\t\tEntry<LanguageNode, ReadOnlyStringWrapper> entry = iterator.next();\n\t\t\tentry.getValue().set(languageModel.get(entry.getKey()));\n\t\t}\n\t}", "public void setLanguage(java.lang.String language) {\n this.language = language;\n }", "public void setLanguage(java.lang.String language) {\n this.language = language;\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 }", "@Override\n public void setText(String englishText) {\n\n }", "private void ConvertTextToSpeech(String voice1) {\n text=voice1;\n //text = et.getText().toString();\n if (text == null || \"\".equals(text)) {\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n } else\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", "public void setLanguage(String lang, String country, String variant) {\n mSelf.setLanguage(lang, country, variant);\n }", "public void SetUsersLearningLanguage(String lang) {\n if (AppSettings.Instance().IsValidBCP47Code(lang))\n userLearningLang = lang;\n else\n throw new IllegalArgumentException(\"Tried to set Users Learning Language to: \" + lang + \" which is incorrect or unsupported\");\n }", "public void language(String system) {\n String language=\"c语言\";\n this.output.output(system, language);\n //System.out.println(\"C语言编程!\\n\");\n }", "public void setTranslate (String File,String Close, String German, String English, String Settings, String Language)\n\t{\n\t\t fileMenu.setText(File);\n\t\t settingsMenu.setText(Settings);\n\t\t menuItem.setText(Close);\n\t\t menuItemEnglish.setText(English);\n\t\t menuItemGerman.setText(German);\n\t\t settingsSubMenu.setText(Language);\n\t\t \n\t}", "private void speak() {\n if(textToSpeech != null && textToSpeech.isSpeaking()) {\n textToSpeech.stop();\n }else{\n textToSpeech = new TextToSpeech(activity, this);\n }\n }", "public void showLanguage(String which){\n switch (which) {\n case \"en\":\n locale = new Locale(\"en\");\n config.locale = locale;\n //MainActivity.language = 0;\n languageToLoadWizard=\"en\";\n break;\n case \"sw\":\n locale = new Locale(\"sw\");\n config.locale = locale;\n //MainActivity.language = 1;\n languageToLoadWizard=\"sw\";\n break;\n case \"es\":\n locale = new Locale(\"es\");\n config.locale = locale;\n languageToLoadWizard=\"es\";\n break;\n }\n getResources().updateConfiguration(config, null);\n Intent refresh = new Intent(Language.this, Wizard.class);\n startActivity(refresh);\n finish();\n }", "public void setLanguage(String lang) {\n\t\tthis.language = lang;\n\t}", "public void languageChanged(LanguageChangedEvent evt) {\n this.applyI18n();\n }", "public static void changeAppLocale(Context ctx, String lang) {\n Locale locale = new Locale(lang);\n Locale.setDefault(locale);\n Configuration config = new Configuration();\n config.locale = locale;\n ctx.getResources().updateConfiguration(config, ctx.getResources().getDisplayMetrics());\n }", "public void setLanguage(String language) {\n this.language = language;\n }", "public void setLanguage(String language) {\n this.language = language;\n }", "public static void speak(Context context, final String text) {\n Log.d(TAG, \"Speak : \" + text);\n if (mTTSEngine == null) {\n mTTSEngine = new TextToSpeech(context, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int i) {\n if (i == TextToSpeech.SUCCESS) {\n mTTSEngine.setLanguage(Locale.US);\n mTTSEngine.setPitch(1f);\n mTTSEngine.setSpeechRate(1f);\n\n mTTSEngine.speak(text, TextToSpeech.QUEUE_ADD, null, UTTERANCE_ID);\n } else {\n mTTSEngine = null;\n }\n }\n });\n } else {\n mTTSEngine.speak(text, TextToSpeech.QUEUE_ADD, null, UTTERANCE_ID);\n }\n }", "public void setLanguage(String language) {\n this.standardPairs.put(Parameters.LANGUAGE, language);\n }", "public void onResume() {\n super.onResume();\n UpdateLang();\n }", "public void setLanguageGermanButtonText(String text) {\n/*Generated! Do not modify!*/ replyDTO.getVariablesToSet().add(\"overviewSmall_languageGermanButton_propertyText\");\n/*Generated! Do not modify!*/ if (text == null) {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().remove(\"overviewSmall_languageGermanButton_propertyText\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().put(\"overviewSmall_languageGermanButton_propertyText\", text);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(\"setLanguageGermanButtonText(\" + escapeString(text) + \");\");\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "public Builder setLanguage(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n language_ = value;\n onChanged();\n return this;\n }" ]
[ "0.7694105", "0.68126637", "0.6772344", "0.67625624", "0.67419916", "0.6710038", "0.6672323", "0.6585083", "0.6557697", "0.65465236", "0.65435797", "0.65348774", "0.6525176", "0.64929473", "0.64599824", "0.6453256", "0.6443754", "0.64399415", "0.6338892", "0.63301164", "0.63187206", "0.63160104", "0.631424", "0.6306707", "0.6303739", "0.63019013", "0.62617767", "0.6260148", "0.624744", "0.6222364", "0.619854", "0.61715406", "0.61682814", "0.6159133", "0.61378855", "0.6115684", "0.6109301", "0.60831004", "0.6019758", "0.60151374", "0.60112286", "0.5984591", "0.59768605", "0.5946711", "0.5946636", "0.5918402", "0.58912027", "0.58889735", "0.5863632", "0.5856533", "0.5833478", "0.58286995", "0.5820496", "0.5817951", "0.5803076", "0.580257", "0.5795084", "0.5782909", "0.57784224", "0.5765796", "0.5756698", "0.5749141", "0.57443607", "0.57348794", "0.5721456", "0.57170564", "0.57007223", "0.5685658", "0.5676421", "0.567386", "0.5673317", "0.5671651", "0.56651944", "0.5660255", "0.5651372", "0.5639474", "0.56370157", "0.5634707", "0.5611216", "0.55981153", "0.55981153", "0.55775017", "0.5558473", "0.55530536", "0.5544527", "0.5538148", "0.55281", "0.5516498", "0.5514994", "0.55142057", "0.55084527", "0.54910195", "0.5489123", "0.54805267", "0.54805267", "0.5473025", "0.5467851", "0.54664755", "0.5465419", "0.545918" ]
0.5814754
54
Returns the language currently used by the texttospeech engine.
public Future<String> getLanguage() throws DynamicCallException, ExecutionException { return call("getLanguage"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static SupportedLanguage getLang() {\n\t\tif (SINGLETON == null) {\n\t\t\tSINGLETON = new I18nHelper();\n\t\t}\n\t\treturn SINGLETON.getAndroidLang();\n\t}", "public static String getLanguage() {\n return language;\n }", "java.lang.String getLanguage();", "java.lang.String getLanguage();", "public String getCurrentLanguage() {\n return getStringData(Key.APP_CURRENT_LANGUAGE + \"\", \"zh\");\n }", "public java.lang.String getLanguage() {\n return language;\n }", "public java.lang.String getLanguage() {\n return language;\n }", "String getLanguage();", "String getLanguage();", "String getLanguage();", "public String getLanguage();", "public String getLanguage() {\n Object ref = language_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n language_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }", "public java.lang.String getLanguage() {\n java.lang.Object ref = language_;\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 if (bs.isValidUtf8()) {\n language_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public static String getCurrentLanguage() {\n\t\tif ( currentLanguage == null || currentLanguage.isEmpty() ) {\r\n\t\t\tcurrentLanguage = Locale.getDefault().getLanguage();\r\n\t\t}\r\n\t\treturn currentLanguage;\r\n\t}", "public String getLanguage()\n\t{\n\t\treturn language;\n\t}", "public String getLanguage() {\n return languageProperty.get();\n }", "@objid (\"8b3ba8b8-4d09-4d8e-9064-983191cc6b26\")\n @Override\n public String getLanguage() {\n String language = Platform.getNL();\n if (language.contains(\"_\")) {\n return Platform.getNL().substring(0, language.lastIndexOf(\"_\"));\n }\n return Platform.getNL();\n }", "public String getLanguage() {\n\t\treturn language;\n\t}", "public String getLanguage() {\n\t\treturn language;\n\t}", "public String getLanguage() {\n\t\treturn this.language;\n\t}", "public String getTargetLanguage()\n\t{\n\t\treturn targetLanguage;\n\t}", "public String getLanguage() {\n return language;\n }", "public String getLanguage() {\n return language;\n }", "public String getLanguage() {\r\n return language;\r\n }", "@Override\n public String getLanguage() {\n Object ref = language_;\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 language_ = s;\n return s;\n }\n }", "public String getLanguage() {\n return _language;\n }", "public String getPreferredLanguage()\n {\n if (lsData == null)\n return null;\n else\n return lsData.language;\n }", "public java.lang.String getLanguage()\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(LANGUAGE$14);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "public java.lang.String getLanguage()\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(LANGUAGE$14);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "public String getLanguage() throws DynamicCallException, ExecutionException {\n return (String)call(\"getLanguage\").get();\n }", "public Language getLanguage()\n\t{\n\t\treturn m_language;\n\t}", "@java.lang.Override\n public java.lang.String getLanguage() {\n java.lang.Object ref = language_;\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 if (bs.isValidUtf8()) {\n language_ = s;\n }\n return s;\n }\n }", "public String getLanguage() {\n return this.language;\n }", "public Object language() {\n return this.language;\n }", "public LanguageCode getLanguage() {\n return language;\n }", "String getLang();", "public Language getLanguage() {\r\n\t\t\treturn lang;\r\n\t\t}", "@Nullable\n public final String getLanguage() {\n return this.language;\n }", "public String getLanguage()\n {\n return mLanguage;\n }", "public Language getLanguage() {\n return this.language;\n }", "@Override\n\tpublic java.lang.String getTargetLanguage() {\n\t\treturn _scienceApp.getTargetLanguage();\n\t}", "public static String getAppLanguage() {\n return Locale.getDefault().getLanguage().toLowerCase().substring(0, 2);\n }", "public String getLanguage() {\n\t\tif (language == null)\n\t\t throw new IllegalStateException(\"Should be impossible; missing build.language in test.properties!\");\n\t\treturn language.toLowerCase(Locale.US);\n\t}", "public String getLanguage()\r\n\t{\r\n\t\treturn (String) queryParams.get(AUTH_LANGUAGE);\r\n\t}", "@AutoEscape\n\tpublic String getLanguage();", "public static Language getAD_Language() {\n\t\treturn null;\r\n\t}", "public String getLang() {\n return (String)getAttributeInternal(LANG);\n }", "CLanguage getClanguage();", "private String getSystemLanguage() {\n String language;\n if (System.getProperty(COUNTRY) == null) {\n language = System.getProperty(LANGUAGE);\n } else {\n language = System.getProperty(LANGUAGE) + \"-\"\n + System.getProperty(COUNTRY).toLowerCase(Locale.ENGLISH);\n }\n return language;\n }", "public Language getLanguage() {\n return this.language;\n }", "public String getLang() {\n return lang;\n }", "public String getPrimaryLanguage(){\n return sharedPreferences.getString(PRIMARY_LANGUAGE, \"LANG_NOT_FOUND\");\n }", "public String[] getLanguage() {\n return mSelf.getLanguage();\n }", "private static String getCurrentLanguageCode() {\n return Locale.getDefault().getLanguage();\n }", "public AVT getLang()\n {\n return m_lang_avt;\n }", "public static String getSavedLanguage(Context context) {\r\n\t\treturn getPreferences(context).getString(\"app-language\", null);\r\n\t}", "public java.lang.String getLang()\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(LANG$28);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "public String getLanguageType() {\n return languageType;\n }", "@DISPID(-2147413012)\n @PropGet\n java.lang.String language();", "@java.lang.Override\n public com.google.protobuf.ByteString\n getLanguageBytes() {\n java.lang.Object ref = language_;\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 language_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public static String getlanguage(Context ctx) {\n\t\treturn getSharedPreferences(ctx).getString(language, \"\");\n\t}", "@NonNull\n Language getLexerLanguage();", "public String detectLanguage(String text) {\n\t\treturn dictionary.detectLanguage(text);\n\t}", "public String getUserLangage() {\n return sessionData.getUserLanguage();\n }", "public org.apache.xmlbeans.XmlAnySimpleType getLanguage()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlAnySimpleType target = null;\n target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(LANGUAGE$14);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlAnySimpleType)get_default_attribute_value(LANGUAGE$14);\n }\n if (target == null)\n {\n return null;\n }\n return target;\n }\n }", "public java.lang.String getDefaultLanguage() {\n return defaultLanguage;\n }", "private SupportedLanguage getAndroidLang() {\n\t\treturn this.androidLang;\n\t}", "public MicrosoftStemmingTokenizerLanguage getLanguage() {\n return this.language;\n }", "public String returnLanguage() {\n\t\treturn this.registration_language.getAttribute(\"value\");\r\n\t}", "public String getLanguageName() {\r\n return languageName;\r\n }", "public com.google.protobuf.ByteString\n getLanguageBytes() {\n java.lang.Object ref = language_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n language_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@Override\n public com.google.protobuf.ByteString\n getLanguageBytes() {\n Object ref = language_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n language_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "com.google.protobuf.ByteString\n getLanguageBytes();", "public java.lang.String getLanguage() {\n return _courseImage.getLanguage();\n }", "public int getOppositeLanguage() {\n if (this._language == WORD_LANGUAGE_ENGLISH) {\n return WORD_LANGUAGE_POLISH;\n } else {\n return WORD_LANGUAGE_ENGLISH;\n }\n }", "public String getLanguageMenuText() {\r\n\t\treturn \"语言\";\r\n\t}", "public StrColumn getLanguage() {\n return delegate.getColumn(\"language\", DelegatingStrColumn::new);\n }", "public com.google.protobuf.ByteString\n getLanguageBytes() {\n Object ref = language_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n language_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "Optional<Locale> getLanguage();", "public String getLocale()\n {\n return (m_taskVector == null || m_taskVector.size() == 0) ?\n DEFAULT_LOCALE :\n taskAt(0).getSourceLanguage();\n }", "public static Locale systemSettingLanguage() {\n\t\t// define return result\n\t\tLocale _ret = Locale.ENGLISH;\n\n\t\t// get default locale\n\t\tLocale _defaultLocale = Locale.getDefault();\n\n\t\t// check language and country\n\t\tif (Locale.CHINESE.toString().equalsIgnoreCase(\n\t\t\t\t_defaultLocale.getLanguage())) {\n\t\t\tif (\"CN\".equalsIgnoreCase(_defaultLocale.getCountry())) {\n\t\t\t\t_ret = Locale.SIMPLIFIED_CHINESE;\n\t\t\t} else {\n\t\t\t\t_ret = Locale.TRADITIONAL_CHINESE;\n\t\t\t}\n\t\t}\n\n\t\treturn _ret;\n\t}", "com.google.protobuf.ByteString\n getLanguageBytes();", "@Override\r\n\t\tpublic String getLang()\r\n\t\t\t{\n\t\t\t\treturn null;\r\n\t\t\t}", "private Language askForLanguage() {\r\n // Build a message\r\n String message = \"Which language ? \\n\";\r\n for (int i = 0; i < listLanguages.size(); i++) {\r\n message += \"\\t\" + i + \"\\\\ \" + listLanguages.get(i).getName() + \"\\n\";\r\n }\r\n // Ask for number and get the correct Language\r\n return listLanguages.get(new Integer(askForLine(message)));\r\n }", "public final String getLangAttribute() {\n return getAttributeValue(\"lang\");\n }", "public String getScriptLanguage() { \n\t\treturn null;\n\t}", "public String getScriptLanguage() {\n return scriptLanguage;\n }", "public Locale preferredLanguage() {\n return this.preferredLanguage;\n }", "public String getLanguageId() {\r\n\t\treturn this.languageId;\r\n\t}", "@javax.annotation.Nullable\n @ApiModelProperty(value = \"Language and (by implication) the locale to use. This implies the accent and pronunciations to be usde for the TTS. The complete list of valid values for the language attribute is shown below.\")\n\n public String getLanguage() {\n return language;\n }", "public String getLanguages() {\n return languages;\n }", "protected final LanguageManager getLanguageManager() {\r\n return this.languageManager;\r\n }", "com.google.protobuf.ByteString\n getLanguageBytes();", "protected String getLang(SharedPreferences prefs, Resources res) {\n Intent intent = getIntent();\n if (intent != null) {\n String lang = intent.getStringExtra(RecognizerIntent.EXTRA_LANGUAGE);\n if (lang != null) {\n return lang;\n }\n }\n return PreferenceUtils.getPrefString(prefs, res, R.string.keyLanguage, R.string.defaultLanguage);\n }", "@Override\r\n\tpublic LanguageApi getLanguageApi() {\r\n\t\treturn this;\r\n\t}", "@Override\n public String getLang() {\n if (request != null) {\n return GuideUtils.getAcceptLang(request);\n } else {\n return FormContainer.super.getLang();\n }\n }", "public String getLangCode() {\n\t\treturn langCode;\n\t}", "public Language[] getLanguageList() {\n return languageList;\n }", "public String getSecondaryLanguage(){\n return sharedPreferences.getString(SECONDARY_LANGUAGE, \"LANG_NOT_FOUND\");\n }", "public long getLanguageDetectionRuntime() {\n return languageDetectionRuntime;\n }" ]
[ "0.7734142", "0.773055", "0.77267027", "0.77267027", "0.76685995", "0.7510603", "0.7510603", "0.74599785", "0.74599785", "0.74599785", "0.745425", "0.7418765", "0.7408687", "0.7385852", "0.7377994", "0.7343948", "0.7342796", "0.7314885", "0.7314885", "0.72772306", "0.72646075", "0.7253967", "0.7253967", "0.7251242", "0.7222643", "0.7216525", "0.72085696", "0.7204071", "0.7204071", "0.7182817", "0.7165785", "0.71630937", "0.7157517", "0.7155038", "0.7143479", "0.7143444", "0.71404904", "0.7124452", "0.71048343", "0.7103162", "0.7084385", "0.70771265", "0.7062483", "0.70430756", "0.70131713", "0.70036674", "0.7000941", "0.69763505", "0.6935612", "0.69096714", "0.68845373", "0.68695754", "0.68681425", "0.68676454", "0.6839022", "0.6821592", "0.6808311", "0.67909086", "0.67693704", "0.67641056", "0.67411435", "0.67322344", "0.6719062", "0.67055476", "0.66817653", "0.6678136", "0.6676266", "0.6664804", "0.6657022", "0.6641952", "0.660968", "0.66052234", "0.65943205", "0.65824693", "0.65790963", "0.6565122", "0.65646744", "0.656372", "0.6562768", "0.6541595", "0.65242237", "0.65125704", "0.6505059", "0.64758384", "0.6470072", "0.6466866", "0.64602107", "0.6455196", "0.6454956", "0.64501816", "0.6442853", "0.64403707", "0.64282686", "0.6426144", "0.6374741", "0.6370769", "0.6367892", "0.6361795", "0.63162", "0.6298551" ]
0.6953775
48
Outputs the languages installed on the system.
public Future<List<String>> getAvailableLanguages() throws DynamicCallException, ExecutionException { return call("getAvailableLanguages"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void listAllAvailableLanguages() throws IOException {\n System.out.println(\n \"Language preprocessing components for the following languages are available:\\n \"\n + String.join(\", \", LanguageComponents.languages()));\n }", "public static void display(){\r\n String baseName = \"res.Messages\";\r\n ResourceBundle messages = ResourceBundle.getBundle(baseName, Locale.getDefault());\r\n System.out.println(messages.getString(\"locales\"));\r\n\r\n Locale available[] = Locale.getAvailableLocales();\r\n for(Locale locale : available) {\r\n System.out.println(locale.getDisplayCountry() + \"\\t\" + locale.getDisplayLanguage(locale));\r\n }\r\n }", "public List<String> getAvailableLanguages() throws DynamicCallException, ExecutionException {\n return (List<String>)call(\"getAvailableLanguages\").get();\n }", "public String getLanguages() {\n return languages;\n }", "public static void main(String[] args) {\n\t\t//openFile(DEFAULT_RESOURCE_PACKAGE + LANGUAGE + \".properties\");\n\t\tfor (String s : ResourceFinder.getPossibleLanguages()) {\n\t\t\tSystem.out.println(s);\n\t\t}\n\t}", "public List<String> getSupportedLanguages() throws DynamicCallException, ExecutionException {\n return (List<String>)call(\"getSupportedLanguages\").get();\n }", "public Future<List<String>> getSupportedLanguages() throws DynamicCallException, ExecutionException {\n return call(\"getSupportedLanguages\");\n }", "public static void main(String[] args) {\n Locale[] available = Locale.getAvailableLocales();\n System.out.println(\"Available Locales\");\n for (int i=0;i < available.length;i++) {\n System.out.print(available[i].toString());\n System.out.print(\" \");\n }\n System.exit(1);\n }", "public void englishlanguage() {\nSystem.out.println(\"englishlanguage\");\n\t}", "public String[] getLanguages()\n {\n return languages;\n }", "public String getAfinnEnglishLibrary(){\n String output = \"\";\n for (String key : afinnEnglishLibrary.keySet())\n {\n String value = afinnEnglishLibrary.get(key).toString();\n output += (\"\\n\" +key+\": \"+value);\n }\n output += (\"\\nWords: \"+ afinnEnglishLibrary.size());\n return output; \n }", "public String[] getLanguages() {\n/* 238 */ return getStringArray(\"language\");\n/* */ }", "@Test\n\tpublic void test() {\n\t\tSystem.out.println(\"Displaying Available Languages\");\n\t\tSystem.out.println(\"------------------------------\");\n\t\tLanguageList.displayAvailableLanguage();\n\t}", "public List<String> getLanguages() {\n return languages;\n }", "public static HashMap<String, String> getLangs() {\r\n\t\t// search for it\r\n\t\tHashMap<String, String> names = new HashMap<String, String>();\r\n\t\tnames.put(\"de\", \"Deutsch (integriert) - German (included)\");\r\n\r\n\t\t// load all files from this dir\r\n\t\tfor (File f : new File(YAamsCore.programPath, \"lang\").listFiles()) {\r\n\t\t\tif (f.isDirectory() && new File(f, \"info.xml\").canRead()) {\r\n\t\t\t\tHashMap<String, String> data = (HashMap<String, String>) FileHelper.loadXML(new File(f, \"info.xml\"));\r\n\t\t\t\tnames.put(f.getName(), data.get(\"title\"));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn names;\r\n\t}", "public void language(String system) {\n String language=\"c语言\";\n this.output.output(system, language);\n //System.out.println(\"C语言编程!\\n\");\n }", "public static void main(String[] args) {\n System.out.print(\"Initialize list of languages ... \");\r\n ArrayList<Language> listLanguages = new ArrayList<>();\r\n listLanguages.add(new Language(\"čestiná\", \"cs\"));\r\n listLanguages.add(new Language(\"français\", \"fr\"));\r\n System.out.println(\"OK\");\r\n // Create shell\r\n Shell shell = new Shell(listLanguages);\r\n shell.run();\r\n }", "public String getLanguageMenuText() {\r\n\t\treturn \"语言\";\r\n\t}", "public String getCurrentLanguage() {\n return getStringData(Key.APP_CURRENT_LANGUAGE + \"\", \"zh\");\n }", "String getLanguage();", "String getLanguage();", "String getLanguage();", "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}", "@GetMapping(\"api/languages\")\n\tpublic List<Language> index(){\n\t\treturn languageService.allLanguages();\n\t}", "public List<Language> getLanguages() {\n return metaDao().queryLanguages();\n }", "public String getLanguage();", "private String getSystemLanguage() {\n String language;\n if (System.getProperty(COUNTRY) == null) {\n language = System.getProperty(LANGUAGE);\n } else {\n language = System.getProperty(LANGUAGE) + \"-\"\n + System.getProperty(COUNTRY).toLowerCase(Locale.ENGLISH);\n }\n return language;\n }", "@GetMapping(\"/languages\")\n public List<Language> getLanguages() {\n return languageFacade.getLanguages();\n }", "java.lang.String getLanguage();", "java.lang.String getLanguage();", "public String getLanguage() throws DynamicCallException, ExecutionException {\n return (String)call(\"getLanguage\").get();\n }", "public String getAfinnFrenchLibrary(){\n String output = \"\";\n for (String key : afinnFrenchLibrary.keySet())\n {\n String value = afinnFrenchLibrary.get(key).toString();\n output += (\"\\n\" +key+\": \"+value);\n }\n output += (\"\\nWords: \"+ afinnFrenchLibrary.size());\n return output; \n }", "@RequestMapping(value = \"\",\n method = RequestMethod.GET)\n @ResponseBody\n public ApiResponse<List<SupportedLanguage>> getAllLanguages() {\n LOG.debug(\"REST request to get all languages\");\n\n final ApiResponse <List <SupportedLanguage>> apiResponse = new ApiResponse <List<SupportedLanguage>>();\n\n List<SupportedLanguage> languageList = null;\n\n try {\n languageList = supportedLanguageService.findAllLanguages();\n apiResponse.setData(languageList);\n LOG.debug(\"Size{}\", languageList.size());\n } catch (Exception e) {\n throw new LucasRuntimeException(LucasRuntimeException.INTERNAL_ERROR, e);\n }\n\n return apiResponse;\n\n }", "@ApiModelProperty(required = true, value = \"Language codes for the schemas available.\")\n @JsonProperty(\"Languages\")\n public List<String> getLanguages() {\n return languages;\n }", "String getLang();", "public static void main(String[] args) {\n\t\tLocale loc = Locale.getDefault();\r\n\t \r\n\t\tSystem.out.println (\"O Idioma do seu sistema ť \" + loc.getDisplayLanguage()); // imprime \"PortuguÍs\"\r\n\t \r\n\t\tSystem.out.println (\"O Idioma do seu sistema abreviado \" + loc.getLanguage()); // imprime \"pt\"\r\n\t }", "public Future<String> getLanguage() throws DynamicCallException, ExecutionException {\n return call(\"getLanguage\");\n }", "public List<String> languageSupport() {\r\n\t\tList<String> twitterResponseList = new ArrayList<String>();\r\n\t\ttry {\r\n\t\t\tProperties properties = getProperties();\r\n\t\t\tString apiUrl = properties.getProperty(\"twitter.api.language.support\");\r\n\r\n\t\t\tHttpResponse apiResponse = executeHttpGet(apiUrl);\r\n\r\n\t\t\tif (200 == apiResponse.getStatusLine().getStatusCode()) {\r\n\t\t\t\tJSONArray jsonArray = new JSONArray(EntityUtils.toString(apiResponse.getEntity()));\r\n\t\t\t\tfor (int i = 0; i < jsonArray.length() && i < 10; i++) {\r\n\t\t\t\t\tJSONObject object = (JSONObject) jsonArray.get(i);\r\n\t\t\t\t\tString displayText = (String) object.get(\"name\");\r\n\t\t\t\t\ttwitterResponseList.add(displayText);\r\n\t\t\t\t}\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 twitterResponseList;\r\n\t}", "public Language[] getLanguageList() {\n return languageList;\n }", "public static void main(String[] args) {\n\t\t\n\t\tfor(Langage lang:Langage.values()){\n\t\t\tif(Langage.JAVA.equals(lang))\n\t\t\t\tSystem.out.println(\"J'aime le: \"+lang);\n\t\t\telse\n\t\t\t\tSystem.out.println(lang);\n\t\t\t\t\n\t\t}\n\n\t}", "public void setLanguages(String languages) {\n this.languages = languages;\n }", "private Language askForLanguage() {\r\n // Build a message\r\n String message = \"Which language ? \\n\";\r\n for (int i = 0; i < listLanguages.size(); i++) {\r\n message += \"\\t\" + i + \"\\\\ \" + listLanguages.get(i).getName() + \"\\n\";\r\n }\r\n // Ask for number and get the correct Language\r\n return listLanguages.get(new Integer(askForLine(message)));\r\n }", "public String[] getLanguage() {\n return mSelf.getLanguage();\n }", "@AutoEscape\n\tpublic String getLanguage();", "@Override\n\tpublic String toString() {\n\t\treturn \"ProgrammingLanguage \" + programmingLanguage + super.toString();\n\t}", "public List<Language> getAllLanguages() {\r\n\r\n\t\tStringBuilder sbHql = new StringBuilder();\r\n\t\tsbHql.append(\"from Language\");\r\n\r\n\t\tQuery query = getSession().createQuery(sbHql.toString());\r\n\r\n\t\tList<Language> languages = query.list();\r\n\r\n\t\treturn languages;\r\n\t}", "public void showAllWords() {//out\n System.out.println(\"No\\t|English\\t|Vietnamese\");\n ArrayList<Word> fullDictionary = dictionaryManagement.getDictionary().getWords();\n for (int i = 0; i < fullDictionary.size(); i++) {\n String aWord = String.valueOf(i + 1) + \"\\t|\" + fullDictionary.get(i).getWordTarget()\n + \"\\t|\" + fullDictionary.get(i).getWordExplain();\n System.out.println(aWord);\n }\n }", "public static void menuEN() {\r\n\t\tSystem.out.println(\"\\n****Welcome****\");\r\n\t\tSystem.out.println(\"\\n1- Play\\n2- Choose Language\\n3- How To Play\\n4- Exit\");\r\n\t\tint num = check();\r\n\t\tswitch (num) {\t\t\t\t\t// izbor opcije\r\n\t\t\tcase 1: crapsEN(); break;\r\n\t\t\tcase 2: chooseLangEN(); break;\r\n\t\t\tcase 3: howToEN(); break;\r\n\t\t\tcase 4: System.exit(0);\r\n\t\t}\r\n\t}", "public List<Language> getDownloadableLanguage() {\n\t\tList<Language> languages = languageManager.getAllAvailable();\n\t\tList<Language> result = new ArrayList<Language>();\n\t\tfor(Language language : languages){\n\t\t\tif(language.getBasePackages() != null &&\n\t\t\t\t\tlanguage.getBasePackages().size() != 0){\n\t\t\t\tresult.add(language);\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "@Override\r\n\t\tpublic String toString() {\r\n\t\t\t\r\n\t\t\tStringBuilder sb = new StringBuilder();\r\n\t\t\t\r\n\t\t\tint langCount = 0;\r\n\t\t\tint kmerCount = 0;\r\n\t\t\tSet<Language> keys = getDb().keySet();\r\n\t\t\tfor (Language lang : keys) {\r\n\t\t\t\tlangCount++;\r\n\t\t\t\tsb.append(lang.name() + \"->\\n\");\r\n\t\t\t\t \r\n\t\t\t\t Collection<LanguageEntry> m = new TreeSet<>(getDb().get(lang).values());\r\n\t\t\t\t kmerCount += m.size();\r\n\t\t\t\t for (LanguageEntry le : m) {\r\n\t\t\t\t\t sb.append(\"\\t\" + le + \"\\n\");\r\n\t\t\t\t }\r\n\t\t\t}\r\n\t\t\tsb.append(kmerCount + \" total k-mers in \" + langCount + \" languages\"); \r\n\t\t\treturn sb.toString();\r\n\t\t\t}", "public LanguageList getLanguageList() {\r\n return languageList;\r\n }", "public String getUserLangage() {\n return sessionData.getUserLanguage();\n }", "public String getLocale () throws java.io.IOException, com.linar.jintegra.AutomationException;", "public static void readFolder() {\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_en_US.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_af_ZA.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_ar_SA.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_ca_ES.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_cs_CZ.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_da_DK.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_de_DE.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_el_GR.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_es_ES.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_fi_FI.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_fr_FR.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_he_IL.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_hu_HU.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_it_IT.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_ja_JP.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_ko_KR.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_nl_NL.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_no_NO.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_pl_PL.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_pt_BR.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_pt_PT.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_ro_RO.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_ru_RU.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_sr_SP.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_sv_SE.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_tr_TR.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_uk_UA.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_vi_VN.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_zh_CN.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_zh_TW.yml\", true);\n\t }", "public void setLanguages(List<String> languages) {\n this.languages = languages;\n }", "CLanguage getClanguage();", "public void updateLanguage() {\n this.title.setText(LanguageStringMap.get().getMap().get(TITLE_KEY));\n this.skinSwitcher.updateLanguage();\n this.langSwitcher.updateLanguage();\n this.pawnSwitcher.updateLanguage();\n this.musicManager.updateLanguage();\n this.back.setText(LanguageStringMap.get().getMap().get(BACK_KEY));\n }", "String[] getLanguageList(InputStream inputStream) throws CaptionConverterException;", "public static String getLanguage() {\n return language;\n }", "private void init() {\n\t\t\n\t\tPropertiesManager propertiesManager = PropertiesManager.getInstance();\n\t\tFile localeDirectory = new File(propertiesManager.getProperty(\"locale.directory\", LOCALE_DIRECTORY));\n\n\t\tlocales = new ArrayList<Locale>();\n\n\t\ttry {\n\t\t\t\n\t\t\tClassUtils.addClassPathFile(localeDirectory);\n\t\t\t\n\t\t\t// Находим все доступные локали\n\t\t\tlocales = findAvailableLocales(localeDirectory);\n\n\t\t} catch(Exception ignore) {}\n\n\t\tfallbackLocale = Locale.ENGLISH;\n\t\tcontrol = new Control();\n\n\t\tif(!locales.contains(Locale.ENGLISH)) {\n\t\t\tlocales.add(0, fallbackLocale);\n\t\t}\n\n\t\tdefaultLocale = locales.get(locales.indexOf(Locale.ENGLISH));\n\t\t\n\t\tString language = propertiesManager.getProperty(\"locale.language\", \"\");\n\t\tString country = propertiesManager.getProperty(\"locale.country\", \"\");\n\t\tString variant = propertiesManager.getProperty(\"locale.variant\", \"\");\n\t\t\n\t\tLocale locale = new Locale(language, country, variant);\n\t\t\n\t\tif(locales.contains(locale)) {\n\t\t\tlocale = locales.get(locales.indexOf(locale));\n\t\t} else {\n\t\t\tlocale = defaultLocale;\n\t\t}\n\n\t\tsetLocale(locale);\n\t\t\n\t\tif(FontEditor.DEBUG) {\n\t\t\t\n\t\t\tfor(Locale l : locales) {\n\t\t\t\tSystem.out.println(\"locale found -> \" + l.getDisplayLanguage(Locale.ENGLISH));\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"Total locale(s) found: \" + locales.size());\n\t\t\tSystem.out.println();\n\t\t}\n//System.out.println(\">>> \" + getValue(\"shitd\"));\n\t}", "public static void main(String[] args){\r\n Language myLang = new Language(\"Willish\", 5, \"Mars\", \"verb-noun-verb-adjective\");\r\n Mayan mayan = new Mayan(\"Ki'che'\", 2330000);\r\n SinoTibetan sino1 = new SinoTibetan(\"Chinese Tibetan\", 100000);\r\n SinoTibetan sino2 = new SinoTibetan(\"Tibetan\", 200000);\r\n ArrayList<Language> langList = new ArrayList<Language>();\r\n langList.add(myLang);\r\n langList.add(mayan);\r\n langList.add(sino1);\r\n langList.add(sino2);\r\n \r\n for (Language allLangs : langList){\r\n allLangs.getInfo();\r\n }\r\n }", "List<Language> getAll();", "public java.lang.String getLanguage() {\n return language;\n }", "public java.lang.String getLanguage() {\n return language;\n }", "public ReactorResult<java.lang.String> getAllOntologies20070510nid3Language_as() {\r\n\t\treturn Base.getAll_as(this.model, this.getResource(), ONTOLOGIES20070510NID3LANGUAGE, java.lang.String.class);\r\n\t}", "java.util.List<com.clarifai.grpc.api.ConceptLanguage> \n getConceptLanguagesList();", "com.google.protobuf.ByteString\n getLanguageBytes();", "@DISPID(-2147413012)\n @PropGet\n java.lang.String language();", "public Set<Locale> getAvailableLocales () {;\n\t\treturn Collections.unmodifiableSet(serviceProvider.getDictionariesManager().getLocaleDictionaries().keySet());\n\t}", "@DISPID(-2147413103)\n @PropGet\n java.lang.String lang();", "@Override\n\tpublic String toString() {\n\t\treturn \"Preferences [\" + \"language=\" + language +\"]\" ;\n\t}", "public List getSupportedLocales() {\n\n return (supportedLocales);\n\n }", "public String getLanguage() {\n return language;\n }", "public String getLanguage() {\n return language;\n }", "public String getLanguage() {\r\n return language;\r\n }", "public String getLanguage() {\n return this.language;\n }", "com.google.protobuf.ByteString\n getLanguageBytes();", "public Shell(ArrayList<Language> listLanguages) {\r\n this.listLanguages = listLanguages;\r\n }", "public String getLang() {\n return lang;\n }", "List<String> getSystemPackages();", "public String getLanguage()\n\t{\n\t\treturn language;\n\t}", "public String getLanguage() {\n return _language;\n }", "public static String getSavedLanguage(Context context) {\r\n\t\treturn getPreferences(context).getString(\"app-language\", null);\r\n\t}", "@Override\n public String returnlanguage() {\n name =\"Java\";\n return name;\n }", "private void updateBundle() {\n\n this.bundle = ResourceBundle.getBundle(\"languages\", this.locales.get(this.currentLocaleIndex));\n }", "com.google.protobuf.ByteString\n getLanguageBytes();", "@objid (\"8b3ba8b8-4d09-4d8e-9064-983191cc6b26\")\n @Override\n public String getLanguage() {\n String language = Platform.getNL();\n if (language.contains(\"_\")) {\n return Platform.getNL().substring(0, language.lastIndexOf(\"_\"));\n }\n return Platform.getNL();\n }", "private void ausgebenSystem() {\n\t\ttry {\n\t\t\tSystem.out.println(\"Rechner: \" + InetAddress.getLocalHost().getHostName());\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tSystem.out.println();\n\t\tString txt = System.getProperties().toString();\n\t\twhile (txt.indexOf(\",\") > 0) {\n\t\t\tSystem.out.println(txt.substring(0, txt.indexOf(\",\") + 1));\n\t\t\ttxt = txt.substring(txt.indexOf(\",\") + 2);\n\n\t\t}\n\t\tSystem.out.println(txt);\n\t}", "com.clarifai.grpc.api.ConceptLanguage getConceptLanguages(int index);", "public List<Locale> getTranslationLocales(String edition);", "public void setOutputLanguage(String outputLanguage) {\n this.outputLanguage = outputLanguage;\n }", "public static String[] getAvailableLocaleStrings() {\n\t\tLocale[] availableLocales = getAvailableLocales();\n\t\tString[] result = new String[availableLocales.length];\n\t\tfor (int i = 0; i < availableLocales.length; i++) {\n\t\t\tresult[i] = availableLocales[i].toString();\n\t\t}\n\t\treturn result;\n\t}", "public String getLanguage() {\n\t\treturn this.language;\n\t}", "public static Locale systemSettingLanguage() {\n\t\t// define return result\n\t\tLocale _ret = Locale.ENGLISH;\n\n\t\t// get default locale\n\t\tLocale _defaultLocale = Locale.getDefault();\n\n\t\t// check language and country\n\t\tif (Locale.CHINESE.toString().equalsIgnoreCase(\n\t\t\t\t_defaultLocale.getLanguage())) {\n\t\t\tif (\"CN\".equalsIgnoreCase(_defaultLocale.getCountry())) {\n\t\t\t\t_ret = Locale.SIMPLIFIED_CHINESE;\n\t\t\t} else {\n\t\t\t\t_ret = Locale.TRADITIONAL_CHINESE;\n\t\t\t}\n\t\t}\n\n\t\treturn _ret;\n\t}", "public static ULocale[] getAvailableLocales() {\n/* 212 */ throw new RuntimeException(\"Stub!\");\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 ArrayList<Language> listLanguages(){\n\t\t\t\n\t\t\tconnectToDatabase();\n\t\t\tArrayList<Language> languageArray = new ArrayList<Language>();\n\t\t\ttry {\n\t\t\t\tStatement create = connection.createStatement();\n\t\t\t\tResultSet result = create.executeQuery(\"Select languages.ID as id, languages.Name AS language FROM languages;\");\n\n\t\t\t\twhile(result.next()){\n\t\t\t\t\t\n\t\t\t\t\tLanguage newLanguage = new Language(result.getInt(\"id\"), result.getString(\"language\"));\n\t\t\t\t\tlanguageArray.add(newLanguage);\n\t\t\t\t}\n\t\t\t\treturn languageArray;\n\t\t\t} catch (SQLException e) {\n\t\t\t\tSystem.out.println(\"An error occurred when retrieving languages from the database.\");\n\t\t\t\te.printStackTrace();\n\t\t\t\treturn languageArray;\n\t\t\t}\n\t\t\t\n\t\t}", "int getConceptLanguagesCount();", "Set<Locale> getManagedLocales();", "public void displayEnglish(){\r\n\t\t\r\n\t\tctx.get\r\n\t\t\r\n\t\twhile (true) {\r\n\r\n\t\t\t\r\n\t\t\tSystem.out.println();\r\n\t\t\tSystem.out.println(\"**********************************\"); \r\n\t\t\tSystem.out.println(title);\t\t\t\t \r\n\t\t\tSystem.out.println(\"***********************************\");\r\n\t\t\tSystem.out.println(service1); \r\n\t\t\tSystem.out.println(service2);\t\t\r\n\t\t\tSystem.out.println(service3); \r\n\r\n\t\t\tSystem.out.print(\"\\n Enter the choice : \"); \r\n\r\n\t\t\t// accepting the choice\r\n\t\t\tString choice = acceptString();\r\n\t\t\tint option = 0;\r\n\t\t\ttry {\r\n\t\t\t\t// parsing the accepted option into integer\r\n\t\t\t\toption = Integer.parseInt(choice);\r\n\t\t\t\t// choosing the right module\r\n\t\t\t\tswitch (option) {\r\n\t\t\t\tcase 1:\r\n\t\t\t\t\tdonateAmount();\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 2:\r\n\t\t\t\t\tviewDonatedDetails();\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 3:\r\n\t\t\t\t\tSystem.out.println(\"Exiting the application!!!\");\r\n\t\t\t\t\tSystem.exit(0);\r\n\t\t\t\tdefault:\r\n\t\t\t\t\tSystem.out.println(\"Please enter a Valid input i.e 1/2/3\");\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t} catch (Exception exception) {\r\n\t\t\t\tSystem.out\r\n\t\t\t\t\t\t.println(\"\\n\\nThis is an error message from Starter Class - \\nDetails of exception : \"\r\n\t\t\t\t\t\t\t\t+ exception);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t}" ]
[ "0.73395336", "0.6501963", "0.6406427", "0.6276628", "0.61535066", "0.6063946", "0.60517514", "0.604359", "0.603432", "0.5943835", "0.5921772", "0.5902186", "0.5892051", "0.5887307", "0.57508254", "0.568618", "0.5677859", "0.56746763", "0.5657574", "0.5645742", "0.5645742", "0.5645742", "0.56391835", "0.5608945", "0.5580284", "0.55787635", "0.55235773", "0.55203754", "0.55051816", "0.55051816", "0.5504633", "0.54491025", "0.5437565", "0.5435955", "0.54268146", "0.54240626", "0.5394643", "0.5383078", "0.53608876", "0.5353545", "0.5342601", "0.53420264", "0.5337666", "0.5321207", "0.52699304", "0.5265402", "0.52407044", "0.5237816", "0.5221613", "0.5210904", "0.51806915", "0.51771516", "0.5176674", "0.5175409", "0.5165956", "0.5165597", "0.5142739", "0.50852644", "0.5071654", "0.5052874", "0.50527394", "0.5048632", "0.5043374", "0.5043374", "0.5041211", "0.5028436", "0.5009425", "0.50051874", "0.5000076", "0.49986303", "0.4994731", "0.4993681", "0.4982949", "0.4982949", "0.4982131", "0.49819064", "0.49813", "0.4972932", "0.49728414", "0.49703175", "0.49680036", "0.49656677", "0.49583164", "0.49563342", "0.49536592", "0.49494702", "0.4948039", "0.4946809", "0.49442714", "0.4940958", "0.49401784", "0.4937232", "0.49226677", "0.4920632", "0.49168748", "0.49063733", "0.49058947", "0.49013177", "0.48990262", "0.4895663" ]
0.6415448
2
Outputs all the languages supported (may be installed or not).
public Future<List<String>> getSupportedLanguages() throws DynamicCallException, ExecutionException { return call("getSupportedLanguages"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void listAllAvailableLanguages() throws IOException {\n System.out.println(\n \"Language preprocessing components for the following languages are available:\\n \"\n + String.join(\", \", LanguageComponents.languages()));\n }", "public Future<List<String>> getAvailableLanguages() throws DynamicCallException, ExecutionException {\n return call(\"getAvailableLanguages\");\n }", "public List<String> getAvailableLanguages() throws DynamicCallException, ExecutionException {\n return (List<String>)call(\"getAvailableLanguages\").get();\n }", "public List<String> getSupportedLanguages() throws DynamicCallException, ExecutionException {\n return (List<String>)call(\"getSupportedLanguages\").get();\n }", "public static void main(String[] args) {\n\t\t//openFile(DEFAULT_RESOURCE_PACKAGE + LANGUAGE + \".properties\");\n\t\tfor (String s : ResourceFinder.getPossibleLanguages()) {\n\t\t\tSystem.out.println(s);\n\t\t}\n\t}", "public static void display(){\r\n String baseName = \"res.Messages\";\r\n ResourceBundle messages = ResourceBundle.getBundle(baseName, Locale.getDefault());\r\n System.out.println(messages.getString(\"locales\"));\r\n\r\n Locale available[] = Locale.getAvailableLocales();\r\n for(Locale locale : available) {\r\n System.out.println(locale.getDisplayCountry() + \"\\t\" + locale.getDisplayLanguage(locale));\r\n }\r\n }", "public String getLanguages() {\n return languages;\n }", "@Test\n\tpublic void test() {\n\t\tSystem.out.println(\"Displaying Available Languages\");\n\t\tSystem.out.println(\"------------------------------\");\n\t\tLanguageList.displayAvailableLanguage();\n\t}", "public String[] getLanguages() {\n/* 238 */ return getStringArray(\"language\");\n/* */ }", "public void englishlanguage() {\nSystem.out.println(\"englishlanguage\");\n\t}", "@RequestMapping(value = \"\",\n method = RequestMethod.GET)\n @ResponseBody\n public ApiResponse<List<SupportedLanguage>> getAllLanguages() {\n LOG.debug(\"REST request to get all languages\");\n\n final ApiResponse <List <SupportedLanguage>> apiResponse = new ApiResponse <List<SupportedLanguage>>();\n\n List<SupportedLanguage> languageList = null;\n\n try {\n languageList = supportedLanguageService.findAllLanguages();\n apiResponse.setData(languageList);\n LOG.debug(\"Size{}\", languageList.size());\n } catch (Exception e) {\n throw new LucasRuntimeException(LucasRuntimeException.INTERNAL_ERROR, e);\n }\n\n return apiResponse;\n\n }", "public String[] getLanguages()\n {\n return languages;\n }", "public List<String> languageSupport() {\r\n\t\tList<String> twitterResponseList = new ArrayList<String>();\r\n\t\ttry {\r\n\t\t\tProperties properties = getProperties();\r\n\t\t\tString apiUrl = properties.getProperty(\"twitter.api.language.support\");\r\n\r\n\t\t\tHttpResponse apiResponse = executeHttpGet(apiUrl);\r\n\r\n\t\t\tif (200 == apiResponse.getStatusLine().getStatusCode()) {\r\n\t\t\t\tJSONArray jsonArray = new JSONArray(EntityUtils.toString(apiResponse.getEntity()));\r\n\t\t\t\tfor (int i = 0; i < jsonArray.length() && i < 10; i++) {\r\n\t\t\t\t\tJSONObject object = (JSONObject) jsonArray.get(i);\r\n\t\t\t\t\tString displayText = (String) object.get(\"name\");\r\n\t\t\t\t\ttwitterResponseList.add(displayText);\r\n\t\t\t\t}\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 twitterResponseList;\r\n\t}", "public List<String> getLanguages() {\n return languages;\n }", "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}", "public static void main(String[] args) {\n Locale[] available = Locale.getAvailableLocales();\n System.out.println(\"Available Locales\");\n for (int i=0;i < available.length;i++) {\n System.out.print(available[i].toString());\n System.out.print(\" \");\n }\n System.exit(1);\n }", "@GetMapping(\"api/languages\")\n\tpublic List<Language> index(){\n\t\treturn languageService.allLanguages();\n\t}", "String getLanguage();", "String getLanguage();", "String getLanguage();", "@GetMapping(\"/languages\")\n public List<Language> getLanguages() {\n return languageFacade.getLanguages();\n }", "public String getLanguage();", "public static HashMap<String, String> getLangs() {\r\n\t\t// search for it\r\n\t\tHashMap<String, String> names = new HashMap<String, String>();\r\n\t\tnames.put(\"de\", \"Deutsch (integriert) - German (included)\");\r\n\r\n\t\t// load all files from this dir\r\n\t\tfor (File f : new File(YAamsCore.programPath, \"lang\").listFiles()) {\r\n\t\t\tif (f.isDirectory() && new File(f, \"info.xml\").canRead()) {\r\n\t\t\t\tHashMap<String, String> data = (HashMap<String, String>) FileHelper.loadXML(new File(f, \"info.xml\"));\r\n\t\t\t\tnames.put(f.getName(), data.get(\"title\"));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn names;\r\n\t}", "public List<Language> getLanguages() {\n return metaDao().queryLanguages();\n }", "java.lang.String getLanguage();", "java.lang.String getLanguage();", "public String getAfinnEnglishLibrary(){\n String output = \"\";\n for (String key : afinnEnglishLibrary.keySet())\n {\n String value = afinnEnglishLibrary.get(key).toString();\n output += (\"\\n\" +key+\": \"+value);\n }\n output += (\"\\nWords: \"+ afinnEnglishLibrary.size());\n return output; \n }", "public void setLanguages(String languages) {\n this.languages = languages;\n }", "public List<Language> getAllLanguages() {\r\n\r\n\t\tStringBuilder sbHql = new StringBuilder();\r\n\t\tsbHql.append(\"from Language\");\r\n\r\n\t\tQuery query = getSession().createQuery(sbHql.toString());\r\n\r\n\t\tList<Language> languages = query.list();\r\n\r\n\t\treturn languages;\r\n\t}", "List<Language> getAll();", "public void setLanguages(List<String> languages) {\n this.languages = languages;\n }", "public void showAllWords() {//out\n System.out.println(\"No\\t|English\\t|Vietnamese\");\n ArrayList<Word> fullDictionary = dictionaryManagement.getDictionary().getWords();\n for (int i = 0; i < fullDictionary.size(); i++) {\n String aWord = String.valueOf(i + 1) + \"\\t|\" + fullDictionary.get(i).getWordTarget()\n + \"\\t|\" + fullDictionary.get(i).getWordExplain();\n System.out.println(aWord);\n }\n }", "public static void main(String[] args) {\n\t\t\n\t\tfor(Langage lang:Langage.values()){\n\t\t\tif(Langage.JAVA.equals(lang))\n\t\t\t\tSystem.out.println(\"J'aime le: \"+lang);\n\t\t\telse\n\t\t\t\tSystem.out.println(lang);\n\t\t\t\t\n\t\t}\n\n\t}", "@ApiModelProperty(required = true, value = \"Language codes for the schemas available.\")\n @JsonProperty(\"Languages\")\n public List<String> getLanguages() {\n return languages;\n }", "public String getLanguageMenuText() {\r\n\t\treturn \"语言\";\r\n\t}", "public Language[] getLanguageList() {\n return languageList;\n }", "public static void main(String[] args) {\n System.out.print(\"Initialize list of languages ... \");\r\n ArrayList<Language> listLanguages = new ArrayList<>();\r\n listLanguages.add(new Language(\"čestiná\", \"cs\"));\r\n listLanguages.add(new Language(\"français\", \"fr\"));\r\n System.out.println(\"OK\");\r\n // Create shell\r\n Shell shell = new Shell(listLanguages);\r\n shell.run();\r\n }", "boolean hasLanguage();", "@AutoEscape\n\tpublic String getLanguage();", "java.util.List<com.clarifai.grpc.api.ConceptLanguage> \n getConceptLanguagesList();", "@Override\n\tpublic String toString() {\n\t\treturn \"ProgrammingLanguage \" + programmingLanguage + super.toString();\n\t}", "public List getSupportedLocales() {\n\n return (supportedLocales);\n\n }", "String getLang();", "public static void main(String[] args){\r\n Language myLang = new Language(\"Willish\", 5, \"Mars\", \"verb-noun-verb-adjective\");\r\n Mayan mayan = new Mayan(\"Ki'che'\", 2330000);\r\n SinoTibetan sino1 = new SinoTibetan(\"Chinese Tibetan\", 100000);\r\n SinoTibetan sino2 = new SinoTibetan(\"Tibetan\", 200000);\r\n ArrayList<Language> langList = new ArrayList<Language>();\r\n langList.add(myLang);\r\n langList.add(mayan);\r\n langList.add(sino1);\r\n langList.add(sino2);\r\n \r\n for (Language allLangs : langList){\r\n allLangs.getInfo();\r\n }\r\n }", "String[] getLanguageList(InputStream inputStream) throws CaptionConverterException;", "public static void menuEN() {\r\n\t\tSystem.out.println(\"\\n****Welcome****\");\r\n\t\tSystem.out.println(\"\\n1- Play\\n2- Choose Language\\n3- How To Play\\n4- Exit\");\r\n\t\tint num = check();\r\n\t\tswitch (num) {\t\t\t\t\t// izbor opcije\r\n\t\t\tcase 1: crapsEN(); break;\r\n\t\t\tcase 2: chooseLangEN(); break;\r\n\t\t\tcase 3: howToEN(); break;\r\n\t\t\tcase 4: System.exit(0);\r\n\t\t}\r\n\t}", "public void language(String system) {\n String language=\"c语言\";\n this.output.output(system, language);\n //System.out.println(\"C语言编程!\\n\");\n }", "public String[] getLanguage() {\n return mSelf.getLanguage();\n }", "private Language askForLanguage() {\r\n // Build a message\r\n String message = \"Which language ? \\n\";\r\n for (int i = 0; i < listLanguages.size(); i++) {\r\n message += \"\\t\" + i + \"\\\\ \" + listLanguages.get(i).getName() + \"\\n\";\r\n }\r\n // Ask for number and get the correct Language\r\n return listLanguages.get(new Integer(askForLine(message)));\r\n }", "com.clarifai.grpc.api.ConceptLanguage getConceptLanguages(int index);", "public Future<String> getLanguage() throws DynamicCallException, ExecutionException {\n return call(\"getLanguage\");\n }", "public static void main(String[] args) {\n\t\tLocale loc = Locale.getDefault();\r\n\t \r\n\t\tSystem.out.println (\"O Idioma do seu sistema ť \" + loc.getDisplayLanguage()); // imprime \"PortuguÍs\"\r\n\t \r\n\t\tSystem.out.println (\"O Idioma do seu sistema abreviado \" + loc.getLanguage()); // imprime \"pt\"\r\n\t }", "public List<Language> getDownloadableLanguage() {\n\t\tList<Language> languages = languageManager.getAllAvailable();\n\t\tList<Language> result = new ArrayList<Language>();\n\t\tfor(Language language : languages){\n\t\t\tif(language.getBasePackages() != null &&\n\t\t\t\t\tlanguage.getBasePackages().size() != 0){\n\t\t\t\tresult.add(language);\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "public LanguageList getLanguageList() {\r\n return languageList;\r\n }", "public String getLanguage() throws DynamicCallException, ExecutionException {\n return (String)call(\"getLanguage\").get();\n }", "@DISPID(-2147413012)\n @PropGet\n java.lang.String language();", "public String getCurrentLanguage() {\n return getStringData(Key.APP_CURRENT_LANGUAGE + \"\", \"zh\");\n }", "@Override\r\n\t\tpublic String toString() {\r\n\t\t\t\r\n\t\t\tStringBuilder sb = new StringBuilder();\r\n\t\t\t\r\n\t\t\tint langCount = 0;\r\n\t\t\tint kmerCount = 0;\r\n\t\t\tSet<Language> keys = getDb().keySet();\r\n\t\t\tfor (Language lang : keys) {\r\n\t\t\t\tlangCount++;\r\n\t\t\t\tsb.append(lang.name() + \"->\\n\");\r\n\t\t\t\t \r\n\t\t\t\t Collection<LanguageEntry> m = new TreeSet<>(getDb().get(lang).values());\r\n\t\t\t\t kmerCount += m.size();\r\n\t\t\t\t for (LanguageEntry le : m) {\r\n\t\t\t\t\t sb.append(\"\\t\" + le + \"\\n\");\r\n\t\t\t\t }\r\n\t\t\t}\r\n\t\t\tsb.append(kmerCount + \" total k-mers in \" + langCount + \" languages\"); \r\n\t\t\treturn sb.toString();\r\n\t\t\t}", "public static List<String> getLanguages() {\n\t\treturn Stream.of(values()).map(v -> v.getLanguage()).sorted((lang1, lang2) -> lang1.toLowerCase().compareTo(lang2.toLowerCase()))\n\t\t\t\t.collect(Collectors.toList());\n\t}", "private JSONObject languageMenu(JSONObject base) {\n JSONObject lang = base.getJSONObject(\"language\");\n try {\n } catch (Exception e) {\n e.printStackTrace();\n }\n while (true) {\n String input = \"\";\n try {\n visual.renderSettings(lang, \"Language Settings\");\n visual.renderMessage(\"Write the option to change: \");\n input = visual.getInput();\n } catch (Exception e) {\n e.printStackTrace();\n }\n LanguageHandler langhan = LanguageHandler.getInstance();\n JSONObject opt = null;\n LanguageInfo info = null;\n switch (input) {\n case (\"name\"):\n opt = new JSONObject();\n opt.put(\"value\", lang.getString(\"name\"));\n opt.put(\"options\", new JSONArray(langhan.getLanguages()));\n try {\n visual.renderSettings(opt, \"Language\");\n String in = visual.getInput();\n if (langhan.getLanguages().contains(in)) {\n lang.put(\"name\", in);\n info = langhan.getLanguageInfo(in);\n lang.put(\"size\", info.getDimensions().get(0));\n lang.put(\"dictionary\", info.getDictionaries().get(0));\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n break;\n case (\"size\"):\n opt = new JSONObject();\n info = langhan.getLanguageInfo(lang.getString(\"name\"));\n opt.put(\"value\", lang.getString(\"size\"));\n opt.put(\"options\", new JSONArray(info.getDimensions()));\n try {\n visual.renderSettings(opt, \"Size\");\n String in = visual.getInput();\n if (info.getDimensions().contains(in)) {\n lang.put(\"size\", in);\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n break;\n case (\"dictionary\"):\n opt = new JSONObject();\n info = langhan.getLanguageInfo(lang.getString(\"name\"));\n opt.put(\"value\", lang.getString(\"dictionary\"));\n opt.put(\"options\", new JSONArray(info.getDictionaries()));\n try {\n visual.renderSettings(opt, \"Dictionary\");\n String in = visual.getInput();\n if (info.getDictionaries().contains(in)) {\n lang.put(\"dictionary\", in);\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n break;\n case (\"back\"):\n return lang;\n }\n }\n }", "public ReactorResult<java.lang.String> getAllOntologies20070510nid3Language_as() {\r\n\t\treturn Base.getAll_as(this.model, this.getResource(), ONTOLOGIES20070510NID3LANGUAGE, java.lang.String.class);\r\n\t}", "public String getAfinnFrenchLibrary(){\n String output = \"\";\n for (String key : afinnFrenchLibrary.keySet())\n {\n String value = afinnFrenchLibrary.get(key).toString();\n output += (\"\\n\" +key+\": \"+value);\n }\n output += (\"\\nWords: \"+ afinnFrenchLibrary.size());\n return output; \n }", "private void showLanguageSelectionMenu(Layer layer) {\n if (layer.isMapsForge()) {\n if (layer.getLanguages() != null)\n if (layer.getLanguages().length > 1) {\n final Menu lsm = new Menu(\"MapViewLayerSelectLanguageTitle\");\n for (String lang : layer.getLanguages()) {\n lsm.addMenuItem(\"\", lang, null, (v, x, y, pointer, button) -> {\n lsm.close();\n String selectedLanguage = ((MenuItem) v).getTitle();\n Settings.preferredMapLanguage.setValue(selectedLanguage);\n Settings.getInstance().acceptChanges();\n return true;\n });\n }\n lsm.show();\n // hasLanguage = true;\n }\n }\n }", "public List<Locale> getTranslationLocales(String edition);", "@DISPID(-2147413103)\n @PropGet\n java.lang.String lang();", "com.google.protobuf.ByteString\n getLanguageBytes();", "com.google.protobuf.ByteString\n getLanguageBytes();", "@Override\n public String returnlanguage() {\n name =\"Java\";\n return name;\n }", "public static void main(String[] args){\n\tint numLanguages = in.nextInt();\n\t\n\t//map every language to its vocabulary\n\tfor(int i = 0; i < numLanguages; i++){\n\t String[] words = in.nextLine().split(\" \");\n\t String language = words[0];\n\t for(String s: words){\n\t\tlanguages.put(s.toLowerCase(), language);\n\t }\n\t}\n\n\t//get rid of blank line\n\tin.nextLine();\n\t\n\t//for each sentence, print out the language associated with it\n\twhile(in.hasNextLine()){\n\t String[] sentence = in.nextLine().split(\" \");\n\t for(String s: sentence){\n\t\tString language = null;\n\t\tif((language = languages.get(s.toLowerCase())) != null){\n\t\t System.out.println(language);\n\t\t break;\n\t\t}\n\t\t\n\t }\n\t}\n\n }", "public void displayEnglish(){\r\n\t\t\r\n\t\tctx.get\r\n\t\t\r\n\t\twhile (true) {\r\n\r\n\t\t\t\r\n\t\t\tSystem.out.println();\r\n\t\t\tSystem.out.println(\"**********************************\"); \r\n\t\t\tSystem.out.println(title);\t\t\t\t \r\n\t\t\tSystem.out.println(\"***********************************\");\r\n\t\t\tSystem.out.println(service1); \r\n\t\t\tSystem.out.println(service2);\t\t\r\n\t\t\tSystem.out.println(service3); \r\n\r\n\t\t\tSystem.out.print(\"\\n Enter the choice : \"); \r\n\r\n\t\t\t// accepting the choice\r\n\t\t\tString choice = acceptString();\r\n\t\t\tint option = 0;\r\n\t\t\ttry {\r\n\t\t\t\t// parsing the accepted option into integer\r\n\t\t\t\toption = Integer.parseInt(choice);\r\n\t\t\t\t// choosing the right module\r\n\t\t\t\tswitch (option) {\r\n\t\t\t\tcase 1:\r\n\t\t\t\t\tdonateAmount();\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 2:\r\n\t\t\t\t\tviewDonatedDetails();\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 3:\r\n\t\t\t\t\tSystem.out.println(\"Exiting the application!!!\");\r\n\t\t\t\t\tSystem.exit(0);\r\n\t\t\t\tdefault:\r\n\t\t\t\t\tSystem.out.println(\"Please enter a Valid input i.e 1/2/3\");\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t} catch (Exception exception) {\r\n\t\t\t\tSystem.out\r\n\t\t\t\t\t\t.println(\"\\n\\nThis is an error message from Starter Class - \\nDetails of exception : \"\r\n\t\t\t\t\t\t\t\t+ exception);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t}", "com.google.protobuf.ByteString\n getLanguageBytes();", "public String getLocale () throws java.io.IOException, com.linar.jintegra.AutomationException;", "@Test(priority=6)\n\tpublic void verifyRemaininglanguagedisplaysOnclickingLanguageDropdown() throws Exception {\n\t\tOverviewTradusPROPage overviewObj=new OverviewTradusPROPage(driver);\n\t\texplicitWaitFortheElementTobeVisible(driver,overviewObj.overviewPageVerificationElement);\n\t\tclick(overviewObj.languageAtHeader);\n\t\tString[] expectedLangOptions= {\"Deutsch\",\"English\",\"Español\",\"Français\",\"Italiano\",\"Nederlands\",\"Polski\",\"Português\",\"Română\",\"Русский\"};\n\t\tList<WebElement> availableLangOptions=overviewObj.languageDropdownOptionsList;\n\t\tfor(int i=0;i<expectedLangOptions.length;i++) {\n\t\t\tAssert.assertTrue(expectedLangOptions[i].equals(availableLangOptions.get(i).getText().trim()),\n\t\t\t\t\texpectedLangOptions[i]+\" is not present in lang dropdown\");\n\t\t}\n\t}", "int getConceptLanguagesCount();", "public static void readFolder() {\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_en_US.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_af_ZA.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_ar_SA.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_ca_ES.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_cs_CZ.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_da_DK.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_de_DE.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_el_GR.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_es_ES.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_fi_FI.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_fr_FR.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_he_IL.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_hu_HU.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_it_IT.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_ja_JP.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_ko_KR.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_nl_NL.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_no_NO.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_pl_PL.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_pt_BR.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_pt_PT.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_ro_RO.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_ru_RU.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_sr_SP.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_sv_SE.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_tr_TR.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_uk_UA.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_vi_VN.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_zh_CN.yml\", true);\n\t\t PluginManager.getPlugin(PluginManager.class).saveResource(\"language_zh_TW.yml\", true);\n\t }", "public static ULocale[] getAvailableLocales() {\n/* 212 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public static String[] getAvailableLocaleStrings() {\n\t\tLocale[] availableLocales = getAvailableLocales();\n\t\tString[] result = new String[availableLocales.length];\n\t\tfor (int i = 0; i < availableLocales.length; i++) {\n\t\t\tresult[i] = availableLocales[i].toString();\n\t\t}\n\t\treturn result;\n\t}", "public Set<Locale> getAvailableLocales () {;\n\t\treturn Collections.unmodifiableSet(serviceProvider.getDictionariesManager().getLocaleDictionaries().keySet());\n\t}", "public List<Locale> getSupportedLocales() {\n return this.supportedLocales;\n }", "List<Locale> getSupportedLocales() {\n return Collections.unmodifiableList(mSupportedLocales);\n }", "public String getDisplayLanguage() {\n/* 501 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public boolean allElementsInEng() {\n if (!allMenuCommandsInLang(\"Eng\")) return false;\n return true;\n }", "public String getLanguage() {\r\n return language;\r\n }", "@objid (\"8b3ba8b8-4d09-4d8e-9064-983191cc6b26\")\n @Override\n public String getLanguage() {\n String language = Platform.getNL();\n if (language.contains(\"_\")) {\n return Platform.getNL().substring(0, language.lastIndexOf(\"_\"));\n }\n return Platform.getNL();\n }", "public String getLanguage() {\n return language;\n }", "public String getLanguage() {\n return language;\n }", "CLanguage getClanguage();", "public ArrayList<Language> listLanguages(){\n\t\t\t\n\t\t\tconnectToDatabase();\n\t\t\tArrayList<Language> languageArray = new ArrayList<Language>();\n\t\t\ttry {\n\t\t\t\tStatement create = connection.createStatement();\n\t\t\t\tResultSet result = create.executeQuery(\"Select languages.ID as id, languages.Name AS language FROM languages;\");\n\n\t\t\t\twhile(result.next()){\n\t\t\t\t\t\n\t\t\t\t\tLanguage newLanguage = new Language(result.getInt(\"id\"), result.getString(\"language\"));\n\t\t\t\t\tlanguageArray.add(newLanguage);\n\t\t\t\t}\n\t\t\t\treturn languageArray;\n\t\t\t} catch (SQLException e) {\n\t\t\t\tSystem.out.println(\"An error occurred when retrieving languages from the database.\");\n\t\t\t\te.printStackTrace();\n\t\t\t\treturn languageArray;\n\t\t\t}\n\t\t\t\n\t\t}", "@PermitAll\n @Override\n public List<Language> getLanguages(String lang) {\n Map params = new HashMap<String, Object>();\n if (lang != null) {\n params.put(CommonSqlProvider.PARAM_LANGUAGE_CODE, lang);\n }\n params.put(CommonSqlProvider.PARAM_ORDER_BY_PART, \"item_order\");\n return getRepository().getEntityList(Language.class, params);\n }", "public java.lang.String getLanguage() {\n return language;\n }", "public java.lang.String getLanguage() {\n return language;\n }", "public String getLanguage() {\n return _language;\n }", "public static String[] getISOLanguages() {\n/* 229 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public String getLanguage() {\n return this.language;\n }", "private String getSystemLanguage() {\n String language;\n if (System.getProperty(COUNTRY) == null) {\n language = System.getProperty(LANGUAGE);\n } else {\n language = System.getProperty(LANGUAGE) + \"-\"\n + System.getProperty(COUNTRY).toLowerCase(Locale.ENGLISH);\n }\n return language;\n }", "public String printPlatform() {\n String str = new String();\n for (int i = 0; i < platform.size() - 1; i++) {\n str += platform.get(i) + \", \";\n }\n str+= platform.get(platform.size() - 1);\n return str;\n }", "public static String getLanguage() {\n return language;\n }", "public static final ULocale[] getAvailableULocales()\n/* */ {\n/* 440 */ return getAvailableULocales(\"com/ibm/icu/impl/data/icudt48b\", ICU_DATA_CLASS_LOADER);\n/* */ }", "private void init() {\n\t\t\n\t\tPropertiesManager propertiesManager = PropertiesManager.getInstance();\n\t\tFile localeDirectory = new File(propertiesManager.getProperty(\"locale.directory\", LOCALE_DIRECTORY));\n\n\t\tlocales = new ArrayList<Locale>();\n\n\t\ttry {\n\t\t\t\n\t\t\tClassUtils.addClassPathFile(localeDirectory);\n\t\t\t\n\t\t\t// Находим все доступные локали\n\t\t\tlocales = findAvailableLocales(localeDirectory);\n\n\t\t} catch(Exception ignore) {}\n\n\t\tfallbackLocale = Locale.ENGLISH;\n\t\tcontrol = new Control();\n\n\t\tif(!locales.contains(Locale.ENGLISH)) {\n\t\t\tlocales.add(0, fallbackLocale);\n\t\t}\n\n\t\tdefaultLocale = locales.get(locales.indexOf(Locale.ENGLISH));\n\t\t\n\t\tString language = propertiesManager.getProperty(\"locale.language\", \"\");\n\t\tString country = propertiesManager.getProperty(\"locale.country\", \"\");\n\t\tString variant = propertiesManager.getProperty(\"locale.variant\", \"\");\n\t\t\n\t\tLocale locale = new Locale(language, country, variant);\n\t\t\n\t\tif(locales.contains(locale)) {\n\t\t\tlocale = locales.get(locales.indexOf(locale));\n\t\t} else {\n\t\t\tlocale = defaultLocale;\n\t\t}\n\n\t\tsetLocale(locale);\n\t\t\n\t\tif(FontEditor.DEBUG) {\n\t\t\t\n\t\t\tfor(Locale l : locales) {\n\t\t\t\tSystem.out.println(\"locale found -> \" + l.getDisplayLanguage(Locale.ENGLISH));\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"Total locale(s) found: \" + locales.size());\n\t\t\tSystem.out.println();\n\t\t}\n//System.out.println(\">>> \" + getValue(\"shitd\"));\n\t}", "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}" ]
[ "0.824645", "0.6892323", "0.6812932", "0.6796683", "0.66099775", "0.6492234", "0.64854246", "0.64671624", "0.63838667", "0.6277369", "0.6245232", "0.62184465", "0.61328197", "0.6103768", "0.60879296", "0.60587144", "0.6052712", "0.5950212", "0.5950212", "0.5950212", "0.59279746", "0.5888645", "0.5873583", "0.5857787", "0.58566546", "0.58566546", "0.58292633", "0.582819", "0.5768533", "0.5765201", "0.5758153", "0.57545936", "0.5743364", "0.5686441", "0.5684627", "0.5683094", "0.5666575", "0.56487286", "0.564015", "0.56384116", "0.56327736", "0.5608722", "0.5607565", "0.5592923", "0.55856687", "0.5559549", "0.55543464", "0.55477536", "0.5538837", "0.5524004", "0.55092454", "0.5486034", "0.54795885", "0.5447133", "0.54452384", "0.5392468", "0.5391774", "0.53774697", "0.5358038", "0.53484666", "0.5326624", "0.532318", "0.5309155", "0.5300724", "0.52842", "0.5275824", "0.52666575", "0.5262711", "0.52583545", "0.52492934", "0.52432674", "0.52342314", "0.5233808", "0.52328587", "0.52198946", "0.52157867", "0.5207911", "0.520659", "0.5205104", "0.52019274", "0.52017206", "0.51912904", "0.5177488", "0.5172131", "0.51716703", "0.51716703", "0.51557505", "0.51392984", "0.51354617", "0.5134707", "0.5134707", "0.51339275", "0.51314443", "0.512684", "0.51257855", "0.51235235", "0.51227427", "0.5116649", "0.51154405", "0.5109269" ]
0.6866185
2
Changes the parameters of the voice. For now, it is only possible to reset the voice speed.
public Future<Void> resetSpeed() throws DynamicCallException, ExecutionException{ return call("resetSpeed"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setSpeed(RobotSpeedValue newSpeed);", "private void configureVoice(Voice voice) {\n voice.setPitch(configurator.getPitch());\n voice.setVolume(configurator.getVolume());\n voice.setRate(configurator.getRate());\n }", "void setPlaybackSpeed(float speed);", "public void setCurrentSpeed (double speed);", "public void changeSpeed(int speed);", "private void setSpeed() {\n double cVel = cAccel*0.1;\n speed += round(mpsToMph(cVel), 2);\n speedOutput.setText(String.valueOf(speed));\n }", "private void setSynthesizerParam(SettingParams params) {\n if (mSynthesizer == null)\n return;\n //清除所有参数\n mSynthesizer.setParameter(SpeechConstant.PARAMS, null);\n //设置合成引擎\n mSynthesizer.setParameter(SpeechConstant.ENGINE_TYPE, SpeechConstant.TYPE_CLOUD);\n //设置音调\n mSynthesizer.setParameter(SpeechConstant.PITCH, \"50\");\n //设置播放器音频流类型\n mSynthesizer.setParameter(SpeechConstant.STREAM_TYPE, \"3\");\n //设置播放合成音频打断音乐播放,默认为true\n mSynthesizer.setParameter(SpeechConstant.KEY_REQUEST_FOCUS, \"true\");\n //设置合成发言人\n mSynthesizer.setParameter(SpeechConstant.VOICE_NAME, params.getVoiceName());\n //设置语速\n mSynthesizer.setParameter(SpeechConstant.SPEED, params.getVoiceSpeed() + \"\");\n //设置音量\n mSynthesizer.setParameter(SpeechConstant.VOLUME, params.getVoiceVolume() + \"\");\n }", "void changeUpdateSpeed();", "public void setSpeed(float val) {speed = val;}", "public abstract void setSpeed(int sp);", "void changeSpeed(int speed) {\n\n this.speed = speed;\n }", "public void setSpeed(int newSpeed)\n {\n speed = newSpeed;\n }", "public void SetSpeedRaw(double speed)\n {\n Motors.Set(speed);\n }", "@Override\n\tpublic void setSpeed(float speed) {\n\t\t\n\t}", "public void setVelocity () {\n\t\t\tfb5.getCommunicationModule().setClientHandler(null);\n\t\t\tif(state == BotMove.SHARP_RIGHT){\n\t\t\t\tfb5.setVelocity((byte)200,(byte)0);\n\t\t\t}\n\t\t\telse if(state == BotMove.LEFT){\n\t\t\t\tfb5.setVelocity((byte)100,(byte)200);\n\t\t\t}\n\t\t\telse if(state == BotMove.SOFT_RIGHT){\n\t\t\t\tfb5.setVelocity((byte)200,(byte)100);\n\t\t\t}\n\t\t\telse if(state == BotMove.FORWARD){\n\t\t\t\twt.turning = false;\n\t\t\t\tLog.d(TAG,\"Setting forward velocity\");\n\t\t\t\tfb5.setVelocity((byte)150,(byte)150);\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(state == BotMove.STOP){\n\t\t\t\twt.turning = false;\n\t\t\t\tfb5.setVelocity((byte)0,(byte)0);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tfb5.moveForward();\n\t\t\tfb5.accModifiedStart();\n\t\t}", "public void setSpeed() {\n //assigns the speed based on the shuffleboard with a default value of zero\n double tempSpeed = setpoint.getDouble(0.0);\n\n //runs the proportional control system based on the aquired speed\n controlRotator.proportionalSpeedSetter(tempSpeed);\n }", "@Override\n\tpublic void setSpeed(double speed) {\n\n\t}", "private void changeSpeed() {\n\t\tint t = ((JSlider)components.get(\"speedSlider\")).getValue();\n\t\tsim.setRunSpeed(t);\n\t}", "@Override\n @Deprecated // Deprecated so developer does not accidentally use\n public void setSpeed(int speed) {\n }", "public void set(double speed) {\n if ((getRawAngle() < Constants.Hood.MIN_RAW_ANGLE && speed > 0)\n || (getRawAngle() > Constants.Hood.MAX_RAW_ANGLE && speed < 0)) {\n stop();\n } else {\n m_servo.setSpeed(speed);\n }\n }", "public void setSpeed(double speed) {\n \tthis.speed = speed;\n }", "public void setSpeed(int wpm);", "public void setFrequency(float speed) { \n \tmouseJointDef.frequencyHz = speed; \n }", "public void setSpeed(int s){\r\n\t\tspeed = s;\r\n\t}", "public void setSpeed(double speed)\r\n {\r\n this.speed = speed;\r\n }", "private void setRecognizerParam(SettingParams params) {\n if (mRecognizer == null)\n return;\n //清空所以参数\n mRecognizer.setParameter(SpeechConstant.PARAMS, null);\n //设置听写引擎\n mRecognizer.setParameter(SpeechConstant.ENGINE_TYPE, SpeechConstant.TYPE_CLOUD);\n //设置返回结果格式\n mRecognizer.setParameter(SpeechConstant.RESULT_TYPE, \"json\");\n //设置标点符号 0:无标点 1:有标点\n mRecognizer.setParameter(SpeechConstant.ASR_PTT, \"0\");\n //设置语言\n mRecognizer.setParameter(SpeechConstant.LANGUAGE, params.getRecognizerLanguage());\n //设置发音\n mRecognizer.setParameter(SpeechConstant.ACCENT, params.getRecognizerAccent());\n //设置语音前端点:静音超时时间,即用户多长时间不说话则当做超时处理\n mRecognizer.setParameter(SpeechConstant.VAD_BOS, params.getRecognizerBOS() + \"\");\n //设置语音后端点:后端点静音检测时间,即用户停止说话多长时间内即认为不再输入, 自动停止录音\n mRecognizer.setParameter(SpeechConstant.VAD_EOS, params.getRecognizerEOS() + \"\");\n\n //open translate in english mode\n if (isEnglishEnvironment) {\n mRecognizer.setParameter(SpeechConstant.ASR_SCH, \"0\");\n mRecognizer.setParameter(SpeechConstant.ADD_CAP, \"translate\");\n mRecognizer.setParameter(SpeechConstant.TRS_SRC, \"its\");\n mRecognizer.setParameter(SpeechConstant.ORI_LANG, \"en\");\n mRecognizer.setParameter(SpeechConstant.TRANS_LANG, \"cn\");\n }\n }", "public void setSpeed(int newSpeed)\n\t{\n\t\tspeed = newSpeed;\n\t}", "public void setSpeed( Vector2 sp ) { speed = sp; }", "public void setSpeed(double multiplier);", "public void setVoice (Voice voice)\r\n {\r\n // Already done?\r\n if (this.voice == null) {\r\n final String contextString = getContextString();\r\n logger.debug(\"{} Ch#{} setVoice {}\",\r\n contextString, id, voice.getId());\r\n\r\n this.voice = voice;\r\n\r\n // Update the voice entity\r\n if (!isWholeDuration()) {\r\n if (slot != null) {\r\n voice.setSlotInfo(\r\n slot,\r\n new VoiceChord(this, Voice.Status.BEGIN));\r\n }\r\n\r\n // Extend this info to other grouped chords if any\r\n BeamGroup group = getBeamGroup();\r\n\r\n if (group != null) {\r\n logger.debug(\r\n \"{} Ch#{} extending voice#{} to group#{}\",\r\n contextString, id, voice.getId(), group.getId());\r\n\r\n group.setVoice(voice);\r\n }\r\n\r\n // Extend to the following tied chords as well\r\n List<Chord> tied = getFollowingTiedChords();\r\n\r\n for (Chord chord : tied) {\r\n logger.debug(\"{} tied to {}\", this, chord);\r\n\r\n // Check the tied chords belong to the same measure\r\n if (this.getMeasure() == chord.getMeasure()) {\r\n logger.debug(\r\n \"{} Ch#{} extending voice#{} to tied chord#{}\",\r\n contextString, id, voice.getId(), chord.getId());\r\n\r\n chord.setVoice(voice);\r\n } else {\r\n // Chords tied across measure boundary\r\n logger.debug(\"{} Cross tie {} -> {}\",\r\n contextString,\r\n toShortString(), chord.toShortString());\r\n }\r\n }\r\n }\r\n } else if (this.voice != voice) {\r\n addError(\r\n \"Chord. Attempt to reassign voice from \" + this.voice.\r\n getId()\r\n + \" to \" + voice.getId() + \" in \" + this);\r\n } else {\r\n if (!isWholeDuration()) {\r\n if (slot != null) {\r\n voice.setSlotInfo(\r\n slot,\r\n new VoiceChord(this, Voice.Status.BEGIN));\r\n }\r\n }\r\n }\r\n }", "public static void setMotorSpeed(double speed){\n setLeftMotorSpeed(speed);\n setRightMotorSpeed(speed);\n }", "public void setFrontSpeed(double speed) { \r\n fmMotor.set(speed);\r\n }", "public void setWavelength(float wavelength) {\n/* 61 */ this.wavelength = wavelength;\n/* */ }", "public void setSpeed(int newSpeed){\n\t\tmyVaisseau=Isep.getListeVaisseau();\n\t\tspeed=newSpeed;\t\t\n\t}", "public void setArmSpeed(double speed) {\n if (frontSwitch.get()) {\n encoder.reset();\n }\n if (armIsOnLimitSwitchOrHardstop(speed)) {\n OI.secondaryController.setRumble(GenericHID.RumbleType.kLeftRumble, 0.2);\n speed = 0;\n } else {\n OI.secondaryController.setRumble(GenericHID.RumbleType.kLeftRumble, 0);\n }\n double feedforward = 0.06 * Math.cos(getArmRadians());\n speed = speed + feedforward;\n //speed = predictiveCurrentLimiting.getVoltage(speed * 12, getRPM()) / 12;\n armMotorOne.set(speed);\n\n armSpeed.setDouble(speed);\n }", "void setPWMRate(double rate);", "@Override\n\tpublic void set(double speed) {\n\t\tsuper.changeControlMode(TalonControlMode.PercentVbus);\n\t\tsuper.set(speed);\n\t\tsuper.enableControl();\n\t}", "public void setSpeed(float speed) {\n this.speed = speed;\n }", "public void setSpeed(float speed) {\n this.speed = speed;\n }", "public void setSpeed(float speed) {\n this.speed = (int) speed * 13;\n }", "private void updateMotors() {\n\t\t//Pass filtered values to ChopperStatus.\n\t\tmStatus.setMotorFields(mMotorSpeed);\n\t\tString logline = Long.toString(System.currentTimeMillis()) + \" \" + mMotorSpeed[0] + \" \" + mMotorSpeed[1] + \" \" + mMotorSpeed[2] + \" \" + mMotorSpeed[3] + \"\\n\";\n\t\ttry {\n\t\t\tif (logfile != null) {\n\t\t\t\tlogfile.write(logline);\n\t\t\t\tlogfile.flush();\n\t\t\t}\n\t\t}\n\t\tcatch (IOException e) {\n\t\t\t//Log.e(TAG, \"Cannot write to logfile\");\n\t\t}\n\t\t//Pass motor values to motor controller!\n\t\tMessage msg = Message.obtain();\n\t\tmsg.what = SEND_MOTOR_SPEEDS;\n\t\tmsg.obj = mMotorSpeed;\n\t\tmBt.sendMessageToHandler(msg);\n\t\t//Log.i(TAG, \"Guidance sending message.\");\n\t\t\n\t}", "public void setEditSpeedPressed() {\n String value = JOptionPane.showInputDialog(this, this.applicationDelayText, this.setApplicationDelayText, 3);\n if (value != null) {\n int newSpeed = Integer.parseInt(value.toString());\n this.setSpeed(newSpeed);\n }\n }", "public void setAudioPort(int port);", "public void setSpeed(double speed) {\n this.speed = speed;\n }", "public void setSpeed(double speed) {\n this.speed = speed;\n }", "public void setVibrationOn() {\n\n }", "@Override\n public void setSpeed(double speed, int rpm, int measurementsType) {\n speedText.setText(String.format(\"%.1f\", speed));\n if (measurementsType == ThunderBoardPreferences.UNIT_METRIC) {\n speedUnitsText.setText(getString(R.string.motion_meters_per_second));\n } else {\n speedUnitsText.setText(getString(R.string.motion_feet_per_second));\n }\n rpmText.setText(String.valueOf(rpm));\n }", "static void resetVelocity(){currentVelocity = INITIAL_SPEED;}", "public void setPitch(int pitch);", "public void setAmplitude(float amplitude) {\n/* 79 */ this.amplitude = amplitude;\n/* */ }", "public void setSyntheticSpeechAttributes(String message,JLabel statuslbl,JProgressBar progressBar, String voice, double rate, int pitchStart, int pitchEnd){\n\t\tthis.message = message;\n\t\tthis.progressBar=progressBar;\n\t\tthis.statuslbl=statuslbl;\n\t\tthis.voice=voice;\n\t\tthis.rate=rate;\n\t\tthis.pitchStart=pitchStart;\n\t\tthis.pitchEnd=pitchEnd;\n\t}", "public void setSpeed(int speed) {\n this.speed = speed;\n }", "public void set(float signal);", "public void set(double speed) {\n\t\tcurrentSpeed = speed;\n\t\tmotor.set(speed);\n\t}", "public void setVoice(String pVoiceID) throws DynamicCallException, ExecutionException{\n call(\"setVoice\", pVoiceID).get();\n }", "void OnSpeedChanges(float speed);", "public void setWalkSpeed(int n)\n{\n walkSpeed = n;\n}", "public void updateParameters(){\n\t\tp = RunEnvironment.getInstance().getParameters();\n\t\tmaxFlowerNectar = (double)p.getValue(\"maxFlowerNectar\");\n\t\tlowMetabolicRate = (double)p.getValue(\"lowMetabolicRate\");\n\t\thighMetabolicRate = (double)p.getValue(\"highMetabolicRate\");\n\t\tcolonySize = (int)p.getValue(\"colonySize\");\n\t}", "public void setSpeed(float speed_)\n\t{\n\t\tthis.speed=speed_;\n\t}", "protected void execute() {\n //pitch.setSpeed(translator.getValue());\n }", "public void setSpeechRate(int speechRate) {\n mSelf.setSpeechRate(speechRate);\n }", "public void accelerationSet(double speed){\n\t\tdouble currentDelta = Math.abs(currentSpeed - speed);\r\n\t\tif(currentDelta > maxDelta){\r\n\t\t\tif(speed > currentSpeed){\r\n\t\t\t\tspeed = currentSpeed + maxDelta;\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tspeed = currentSpeed - maxDelta;\r\n\t\t\t}\r\n\t\t}\r\n\t//\tSystem.out.println(\"Speed:\" + speed);\r\n\t\tcurrentSpeed = speed;\r\n\t\tsuper.set(speed * motorDirection);\r\n\t}", "@Override\r\n protected void execute() {\n driveSubsystem.setSpeed(speed, speed);\r\n }", "public static void setSpeed(int speed) {\n leftMotor.setSpeed(speed);\n rightMotor.setSpeed(speed);\n }", "public void setSpeed() {\r\n\t\tint delay = 0;\r\n\t\tint value = h.getS(\"speed\").getValue();\r\n\t\t\r\n\t\tif(value == 0) {\r\n\t\t\ttimer.stop();\r\n\t\t} else if(value >= 1 && value < 50) {\r\n\t\t\tif(!timer.isRunning()) {\r\n\t\t\t\ttimer.start();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t//exponential function. value (1) == delay (5000). value (50) == delay (25)\r\n\t\t\tdelay = (int)(a1 * (Math.pow(25/5000.0000, value / 49.0000)));\r\n\t\t} else if(value >= 50 && value <= 100) {\r\n\t\t\tif(!timer.isRunning()) {\r\n\t\t\t\ttimer.start();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t//exponential function. value (50) == delay(25). value (100) == delay (1)\r\n\t\t\tdelay = (int)(a2 * (Math.pow(1/25.0000, value/50.0000)));\r\n\t\t}\r\n\t\ttimer.setDelay(delay);\r\n\t}", "public void startEngine(){\n currentSpeed = 0.1;\n }", "void setFastSpeed () {\n if (stepDelay == fastSpeed)\n return;\n stepDelay = fastSpeed;\n step();\n resetLoop();\n }", "public void setSpeed(int value) {\n this.speed = value;\n }", "public void setContactVoice(String contactVoice) {\n this.contactVoice = contactVoice;\n }", "public void PIDSpeed(double rpm) {\n\t\tsuper.enableControl();\n\t\tPIDTargetSpeed = rpm;\n\t\t// double speed = rpm * (4096.0 / 6000.0);\n\n\t\t// SmartDashboard.sendData(this.getChannel() + \"RPM\", rpm);\n\t\t// SmartDashboard.sendData(this.getChannel() + \"Speed\", speed);\n\t\tsuper.changeControlMode(TalonControlMode.Speed);\n\t\tsuper.set(rpm);\n\t\t// SmartDashboard.sendData(\"Talon \" + this.getChannel() + \" Speed\",\n\t\t// getSpeed());\n\t}", "public void setWaveSpeed(int waveSpeed) {\n if (mWaveSpeed <= 0) {\n return;\n }\n this.mWaveSpeed = waveSpeed;\n }", "public void setSpeed(double left, double right){\n leftMasterVictor.setSpeed(left);\n rightMasterVictor.setSpeed(-right);\n }", "public void setSpeed(final double speed) {\n m_X.set(ControlMode.PercentOutput, speed); \n }", "public static void changeSpeed(int speed) {\n AtlantisConfig.GAME_SPEED = speed;\n getBwapi().setGameSpeed(AtlantisConfig.GAME_SPEED);\n }", "public interface Voice {\n\n\t/**\n\t * Plays the specified text as synthesized audio.\n\t * @param text The text to speak.\n\t */\n\tpublic void speak(String text);\n\n\t/**\n\t * Sets the pitch of the voice.\n\t * @param pitch The new voice pitch.\n\t * @throws IllegalArgumentException If the specified voice\n\t * pitch is less than <tt>0</tt>.\n\t */\n\tpublic void setPitch(int pitch);\n\n\t/**\n\t * Sets the volume of the voice.\n\t * @param volume The new volume.\n\t * @throws IllegalArgumentException If the specified voice\n\t * volume is less than <tt>0</tt> or greater than <tt>100</tt>.\n\t */\n\tpublic void setVolume(int volume);\n\n\t/**\n\t * Sets the talk speed of the voice.\n\t * @param wpm The new talk speed in words per minute.\n\t * @throws IllegalArgumentException If the specified voice\n\t * speed is less than <tt>0</tt> or greater than <tt>999</tt>.\n\t */\n\tpublic void setSpeed(int wpm);\n\n}", "void setNormalSpeed () {\n if (stepDelay == normalSpeed)\n return;\n stepDelay = normalSpeed;\n resetLoop();\n }", "@Override\n public void start() {\n\n runtime.reset();\n currentSpeedRight = 0.0;\n currentSpeedLeft = 0.0;\n // currentSpeedArm = 0.0;\n currentLiftSpeed = 0.0;\n robot.rearTouch.setMode(DigitalChannel.Mode.INPUT);\n }", "public void setSpeed(final int speed) {\n mSpeed = speed;\n }", "@Override\n\tprotected void sampleRateChanged()\n\t{\n\t\ttimeStepSize = 1/sampleRate();\n\t}", "@Override\n\tprotected void sampleRateChanged()\n\t{\n\t\ttimeStepSize = 1/sampleRate();\n\t}", "public <T extends Number> void setSpeedPerFrame(T speed){\r\n\t\tif(speed.doubleValue() <= 0){\r\n\t\t\tthis.speed = 1;\r\n\t\t\tSystem.err.println(\"Negative Speed, resulting to a speed of 1!\");\r\n\t\t}else{\r\n\t\t\tthis.speed = speed.doubleValue();\r\n\t\t}\r\n\t}", "public void setDriveSpeeds(double strafe, double forward, double rotate, double angle)\n {\n \tRobotMap.robotDrive.mecanumDrive_Cartesian(strafe, forward, rotate, angle);\n \tRobotMap.robotDrive.setInvertedMotor(RobotDrive.MotorType.kFrontLeft, true);\n \tRobotMap.robotDrive.setInvertedMotor(RobotDrive.MotorType.kRearLeft, true);\n\t\n }", "public void setVelocity(double velocity) {\n m_motor.set(ControlMode.Velocity, toEncoderPulsesPer100ms(velocity));\n }", "public void setSpeed(int speed) {\n\t\tthis.speed = speed;\n\t}", "public void setSpeed(int speed) {\n\t\tthis.speed = speed;\n\t}", "public void setSpeed(int speed) {\n\t\tthis.speed = speed;\n\t}", "private void setAudioProfilModem() {\n int ringerMode = mAudioManager.getRingerModeInternal();\n ContentResolver mResolver = mContext.getContentResolver();\n Vibrator vibrator = (Vibrator) mContext\n .getSystemService(Context.VIBRATOR_SERVICE);\n boolean hasVibrator = vibrator == null ? false : vibrator.hasVibrator();\n if (AudioManager.RINGER_MODE_SILENT == ringerMode) {\n if (hasVibrator) {\n Settings.System.putInt(mResolver,\n Settings.System.SOUND_EFFECTS_ENABLED, 0);\n /* SPRD: fixbug454214 The status bar scene mode button is not synchronized with the button set up the scene mode. @{ */\n //mAudioManager.setRingerMode(AudioManager.RINGER_MODE_VIBRATE);\n mAudioManager.setRingerModeInternal(AudioManager.RINGER_MODE_VIBRATE);\n /* @} */\n mAudioManager.setVibrateSetting(\n AudioManager.VIBRATE_TYPE_RINGER,\n AudioManager.VIBRATE_SETTING_ON);\n mAudioManager.setVibrateSetting(\n AudioManager.VIBRATE_TYPE_NOTIFICATION,\n AudioManager.VIBRATE_SETTING_ON);\n } else {\n Settings.System.putInt(mResolver,\n Settings.System.SOUND_EFFECTS_ENABLED, 1);\n /* SPRD: fixbug454214 The status bar scene mode button is not synchronized with the button set up the scene mode. @{ */\n //mAudioManager.setRingerMode(AudioManager.RINGER_MODE_NORMAL);\n mAudioManager.setRingerModeInternal(AudioManager.RINGER_MODE_NORMAL);\n /* @} */\n }\n } else if (AudioManager.RINGER_MODE_VIBRATE == ringerMode) {\n Settings.System.putInt(mResolver,\n Settings.System.SOUND_EFFECTS_ENABLED, 1);\n /* SPRD: fixbug454214 The status bar scene mode button is not synchronized with the button set up the scene mode. @{ */\n //mAudioManager.setRingerMode(AudioManager.RINGER_MODE_NORMAL);\n mAudioManager.setRingerModeInternal(AudioManager.RINGER_MODE_OUTDOOR);\n /* @} */\n }else if (AudioManager.RINGER_MODE_OUTDOOR == ringerMode) {//add by wanglei for outdoor mode\n Settings.System.putInt(mResolver,Settings.System.SOUND_EFFECTS_ENABLED, 1);\n mAudioManager.setRingerModeInternal(AudioManager.RINGER_MODE_NORMAL);\n }else {\n Settings.System.putInt(mResolver,\n Settings.System.SOUND_EFFECTS_ENABLED, 0);\n /* SPRD: fixbug454214 The status bar scene mode button is not synchronized with the button set up the scene mode. @{ */\n //mAudioManager.setRingerMode(AudioManager.RINGER_MODE_SILENT);\n mAudioManager.setRingerModeInternal(AudioManager.RINGER_MODE_SILENT);\n /* @} */\n if (hasVibrator) {\n mAudioManager.setVibrateSetting(\n AudioManager.VIBRATE_TYPE_RINGER,\n AudioManager.VIBRATE_SETTING_OFF);\n mAudioManager.setVibrateSetting(\n AudioManager.VIBRATE_TYPE_NOTIFICATION,\n AudioManager.VIBRATE_SETTING_OFF);\n }\n }\n }", "public void setSpeed(double speed) {\r\n\t\tthis.speed = speed;\r\n\t\tthis.period = (int) (1000 / speed);\r\n\t}", "public void setVibrationOff() {\n\n }", "public void setSpeed(int speed) {\n thread.setSpeed(speed);\n }", "public synchronized void set (double speed){\n m_liftSpeed = speed;\n if (m_liftSpeed < 0 && isLowerLimit() == false) {\n m_liftMotor.set(m_liftSpeed);\n } else if (m_liftSpeed > 0 && isUpperLimit() == false){\n m_liftMotor.set(m_liftSpeed);\n } else {\n m_liftSpeed = 0;\n m_liftMotor.set(0); \n }\n }", "public void drive(double direction, double speed) {\n if (mode != SwerveMode.Disabled) {\n for (SwerveModule mod: modules) {\n mod.setSetpoint(direction);\n }\n \t\tmodules.get(0).setSpeed(speed * -1);\n \t\tmodules.get(1).setSpeed(speed);\n \t\tmodules.get(2).setSpeed(speed * -1);\n \t\tmodules.get(3).setSpeed(speed);\n\n\n }\n\n}", "public void start() {\n rfMotor.setPower(1);\n rrMotor.setPower(1);\n lfMotor.setPower(1);\n lrMotor.setPower(1);\n }", "public SendVoice() {\n super();\n }", "private void changeVoice(String voice) throws IOException{\r\n\t\tFile failed = new File(\".festivalrc\");\r\n\t\t//If file does not exist, create new file\r\n\t\tif(!failed.exists()) {\r\n\t\t\tfailed.createNewFile();\r\n\t\t} \r\n\r\n\t\t//Appending the word to the file\r\n\t\tWriter output;\r\n\t\toutput = new BufferedWriter(new FileWriter(failed,false)); \r\n\t\toutput.append(\"(set! voice_default '\"+voice +\")\");\r\n\t\toutput.close();\r\n\t}", "void updateAudioRoute() {\n if (mode != -1) {\n updateAudioRoute(mode, false);\n }\n }", "public void setSpeed(int speed) {\n this.movementSpeed = speed;\n }", "public void setParameters( float maxAmp, float attTime, float decTime, float susLvl, float relTime, float befAmp, float aftAmp)\n\t{\n\t\tmaxAmplitude = maxAmp;\n\t\tattackTime = attTime;\n\t\tdecayTime = decTime;\n\t\tsustainLevel = susLvl;\n\t\treleaseTime = relTime;\n\t\tbeforeAmplitude = befAmp;\n\t\tafterAmplitude = aftAmp;\n\t}", "public void driveRaw (double speed) {\n leftBackMotor.set(speed);\n leftMiddleMotor.set(speed);\n leftFrontMotor.set(speed);\n rightBackMotor.set(speed);\n rightMiddleMotor.set(speed);\n rightFrontMotor.set(speed);\n }", "public Builder setSpeed(int value) {\n bitField0_ |= 0x00000800;\n speed_ = value;\n onChanged();\n return this;\n }", "void setValueMixerSound(int value);" ]
[ "0.67725736", "0.67510486", "0.6647054", "0.66427493", "0.6559685", "0.64159757", "0.63892233", "0.63694596", "0.63578236", "0.63495886", "0.6261078", "0.6240113", "0.61875737", "0.6153115", "0.6135073", "0.6118707", "0.6091385", "0.6087972", "0.6077971", "0.6034068", "0.603046", "0.59720975", "0.59718615", "0.59635514", "0.59513533", "0.5946272", "0.5934543", "0.5931588", "0.59288037", "0.5908359", "0.5890066", "0.5857837", "0.5845063", "0.5835098", "0.58335537", "0.5825258", "0.57944643", "0.57878834", "0.57878834", "0.5779641", "0.5770118", "0.57569665", "0.5752694", "0.57488984", "0.57488984", "0.5748286", "0.573528", "0.57291865", "0.572199", "0.57178175", "0.5680251", "0.56763524", "0.5671567", "0.56697965", "0.5663101", "0.56608915", "0.56583196", "0.5649416", "0.56342196", "0.56206846", "0.5615021", "0.5594317", "0.55919284", "0.5579572", "0.55726904", "0.5569382", "0.5568375", "0.5567019", "0.5548698", "0.55274713", "0.5522935", "0.5522106", "0.5519647", "0.5518913", "0.55171245", "0.5515828", "0.5494644", "0.5493747", "0.54769194", "0.54769194", "0.54681766", "0.5460743", "0.54604167", "0.5456602", "0.5456602", "0.5456602", "0.5446736", "0.5446135", "0.5445914", "0.5445802", "0.54272455", "0.5424778", "0.5424375", "0.54207546", "0.54194206", "0.5414893", "0.54145205", "0.54092455", "0.5404037", "0.54023296", "0.5383663" ]
0.0
-1
Changes the parameters of the voice. The available parameters are: pitchShift: applies a pitch shifting to the voice. The value indicates the ratio between the new fundamental frequencies and the old ones (examples: 2.0: an octave above, 1.5: a quint above). Correct range is (1.0 4), or 0 to disable effect. doubleVoice: adds a second voice to the first one. The value indicates the ratio between the second voice fundamental frequency and the first one. Correct range is (1.0 4), or 0 to disable effect doubleVoiceLevel: the corresponding value is the level of the double voice (1.0: equal to the main voice one). Correct range is (0 4). doubleVoiceTimeShift: the corresponding value is the delay between the double voice and the main one. Correct range is (0 0.5) If the effect value is not available, the effect parameter remains unchanged.
public Future<Void> setParameter(String pEffectName, Float pEffectValue) throws DynamicCallException, ExecutionException{ return call("setParameter", pEffectName, pEffectValue); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void configureVoice(Voice voice) {\n voice.setPitch(configurator.getPitch());\n voice.setVolume(configurator.getVolume());\n voice.setRate(configurator.getRate());\n }", "public void setVoiceEffect(int effectIndex) {\n mRtcEngine.setAudioEffectPreset(VOICE_EFFECTS[effectIndex]);\n }", "public void setVoice (Voice voice)\r\n {\r\n // Already done?\r\n if (this.voice == null) {\r\n final String contextString = getContextString();\r\n logger.debug(\"{} Ch#{} setVoice {}\",\r\n contextString, id, voice.getId());\r\n\r\n this.voice = voice;\r\n\r\n // Update the voice entity\r\n if (!isWholeDuration()) {\r\n if (slot != null) {\r\n voice.setSlotInfo(\r\n slot,\r\n new VoiceChord(this, Voice.Status.BEGIN));\r\n }\r\n\r\n // Extend this info to other grouped chords if any\r\n BeamGroup group = getBeamGroup();\r\n\r\n if (group != null) {\r\n logger.debug(\r\n \"{} Ch#{} extending voice#{} to group#{}\",\r\n contextString, id, voice.getId(), group.getId());\r\n\r\n group.setVoice(voice);\r\n }\r\n\r\n // Extend to the following tied chords as well\r\n List<Chord> tied = getFollowingTiedChords();\r\n\r\n for (Chord chord : tied) {\r\n logger.debug(\"{} tied to {}\", this, chord);\r\n\r\n // Check the tied chords belong to the same measure\r\n if (this.getMeasure() == chord.getMeasure()) {\r\n logger.debug(\r\n \"{} Ch#{} extending voice#{} to tied chord#{}\",\r\n contextString, id, voice.getId(), chord.getId());\r\n\r\n chord.setVoice(voice);\r\n } else {\r\n // Chords tied across measure boundary\r\n logger.debug(\"{} Cross tie {} -> {}\",\r\n contextString,\r\n toShortString(), chord.toShortString());\r\n }\r\n }\r\n }\r\n } else if (this.voice != voice) {\r\n addError(\r\n \"Chord. Attempt to reassign voice from \" + this.voice.\r\n getId()\r\n + \" to \" + voice.getId() + \" in \" + this);\r\n } else {\r\n if (!isWholeDuration()) {\r\n if (slot != null) {\r\n voice.setSlotInfo(\r\n slot,\r\n new VoiceChord(this, Voice.Status.BEGIN));\r\n }\r\n }\r\n }\r\n }", "public interface Voice {\n\n\t/**\n\t * Plays the specified text as synthesized audio.\n\t * @param text The text to speak.\n\t */\n\tpublic void speak(String text);\n\n\t/**\n\t * Sets the pitch of the voice.\n\t * @param pitch The new voice pitch.\n\t * @throws IllegalArgumentException If the specified voice\n\t * pitch is less than <tt>0</tt>.\n\t */\n\tpublic void setPitch(int pitch);\n\n\t/**\n\t * Sets the volume of the voice.\n\t * @param volume The new volume.\n\t * @throws IllegalArgumentException If the specified voice\n\t * volume is less than <tt>0</tt> or greater than <tt>100</tt>.\n\t */\n\tpublic void setVolume(int volume);\n\n\t/**\n\t * Sets the talk speed of the voice.\n\t * @param wpm The new talk speed in words per minute.\n\t * @throws IllegalArgumentException If the specified voice\n\t * speed is less than <tt>0</tt> or greater than <tt>999</tt>.\n\t */\n\tpublic void setSpeed(int wpm);\n\n}", "private void changeVoice(String voice) throws IOException{\r\n\t\tFile failed = new File(\".festivalrc\");\r\n\t\t//If file does not exist, create new file\r\n\t\tif(!failed.exists()) {\r\n\t\t\tfailed.createNewFile();\r\n\t\t} \r\n\r\n\t\t//Appending the word to the file\r\n\t\tWriter output;\r\n\t\toutput = new BufferedWriter(new FileWriter(failed,false)); \r\n\t\toutput.append(\"(set! voice_default '\"+voice +\")\");\r\n\t\toutput.close();\r\n\t}", "public void setVoice(String pVoiceID) throws DynamicCallException, ExecutionException{\n call(\"setVoice\", pVoiceID).get();\n }", "public void setRemainingVoice(int value) {\n this.remainingVoice = value;\n }", "void setValueMixerSound(int value);", "public void setContactVoice(String contactVoice) {\n this.contactVoice = contactVoice;\n }", "public void RepeatWithVoiceSwitchTest(){\n testMaterialConstructor();\n ArrayList<String> voiceNames = new ArrayList<String>();\n voiceNames.add(\"Aziz\");\n voiceNames.add(\"Muneeza\");\n \n ArrayList<BarLineObject> objs = new ArrayList<BarLineObject>();\n objs.add(toAziz);\n objs.add(C);\n objs.add(E);\n objs.add(toMuneeza);\n objs.add(MC1);\n objs.add(toAziz);\n objs.add(C);\n objs.add(toMuneeza);\n objs.add(plainBar);\n objs.add(MC2);\n objs.add(endBar);\n objs.add(toAziz);\n objs.add(G);\n objs.add(repeatBar);\n \n Parser2 myParser2 = new Parser2(voiceNames,1,1);\n myParser2.parse(objs);\n ArrayList<Voice> voices = myParser2.getVoices();\n Song lalala = new Song(voices);\n SequencePlayer sqPlayer;\n try {\n sqPlayer = new SequencePlayer(140, lalala.getMinTicksPerQuarter());\n myPlayer MrAhmed = new myPlayer(\"C\", sqPlayer);\n lalala.addToPlayer(MrAhmed);\n sqPlayer.play(); \n } catch (MidiUnavailableException e) {\n e.printStackTrace();\n } catch (InvalidMidiDataException e) {\n e.printStackTrace();\n }\n }", "public void voiceEvent(Voice voice)\r\n {\r\n voiceValue = voice.getVoice();\r\n\r\n getReturnPattern().addElement(voice);\r\n }", "public void onVoiceStart(int sampleRates) {\n }", "public SoundEffect adjust(float volume, float pitch) {\n \t\treturn new SoundEffect(this, volume, pitch);\n \t}", "public void setPitch(int pitch);", "public void updatePreferences(float musicVol, boolean musicEnabled, float soundVol, boolean soundEnabled) {\n if (musicEnabled) { this.musicVol = musicVol; }\r\n else { this.musicVol = 0; }\r\n if (soundEnabled) { this.soundFxVol = soundVol; }\r\n else { soundFxVol = 0; }\r\n }", "public void recordVoice() {\n\t\t\n\t\t//String command = \"ffmpeg -f alsa -i hw:0 -t 2 -acodec pcm_s16le -ar 16000 -ac 1 foo.wav\"\n\t\tString command = \"arecord -d 2 -r 22050 -c 1 -i -t wav -f s16_LE foo.wav\";\n\t\t\n\t\tProcessBuilder pb = new ProcessBuilder(\"bash\" , \"-c\" , command );\n\t\ttry {\n\t\t\t\n\t\t\tProcess recordProcess = pb.start();\n\t\t\t\n\t\t\trecordProcess.waitFor();\n\t\t\t\n\t\t\trecordProcess.destroy();\n\t\n\t\t\t\n\t\t}catch (IOException ioe) {\n\t\t\tioe.printStackTrace();\n\t\t\t\n\t\t}catch (InterruptedException ie) {\n\t\t\tie.printStackTrace();\n\t\t}\n\t\t\n\t}", "@Override\n\t\t\tpublic void actionPerformed(final ActionEvent evt) {\n\t\t\t\tdoSendOn(440, 1001);\n\t\t\t\tsecondSynthButtonOn.setEnabled(false);\n\t\t\t\tsecondSynthButtonOff.setEnabled(true);\n\t\t\t\tslider2.setEnabled(true);\n\t\t\t\tslider2.setValue(2050);\n\t\t\t\ttextBox2.setEnabled(true);\n\t\t\t\ttextBox2.setText(\"440.0\");\n\t\t\t}", "@Override\n\t\t\tpublic void actionPerformed(final ActionEvent evt) {\n\t\t\t\tdoSendOn(440, 1002);\n\t\t\t\tthirdSynthButtonOn.setEnabled(false);\n\t\t\t\tthirdSynthButtonOff.setEnabled(true);\n\t\t\t\tslider3.setEnabled(true);\n\t\t\t\tslider3.setValue(2050);\n\t\t\t\ttextBox3.setEnabled(true);\n\t\t\t\ttextBox3.setText(\"440.0\");\n\t\t\t}", "public void setDigitalVoiceValue(String value) {\n setBootenv(ENV_DIGIT_AUDIO, value);\n\n if (PCM.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"0\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_mute\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_on\");\n } else if (RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"1\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_off\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_unmute\");\n } else if (SPDIF_RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"1\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_off\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_unmute\");\n } else if (HDMI_RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"2\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_mute\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_on\");\n }\n }", "private void setupChangeVoice() {\n\t\tFestivalVoice[] voices={FestivalVoice.Kiwi, FestivalVoice.British, FestivalVoice.American};\n\t\tfinal JComboBox voice_chooser = new JComboBox(voices);\n\t\tvoice_chooser.setFont(new Font(\"Arial\", Font.PLAIN, 20));\n\t\tvoice_chooser.setForeground(Color.BLACK);\n\t\tvoice_chooser.setBackground(Color.WHITE);\n\n\t\t//set shown item to be the current voice\n\t\tvoice_chooser.setSelectedItem(parent_frame.getFestival().getFestivalVoice());\n\t\tvoice_chooser.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tinput_from_user.requestFocusInWindow();//gets focus back to the spell here field\n\t\t\t\tif((FestivalVoice)voice_chooser.getSelectedItem()!=null){\n\t\t\t\t\tparent_frame.getFestival().setFestivalVoice((FestivalVoice)voice_chooser.getSelectedItem());\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tvoice_chooser.setBounds(919, 600, 154, 40);\n\t\tadd(voice_chooser);\n\t}", "public void setVibrationOn() {\n\n }", "public void ChangeMusic(int musicnum, boolean looping);", "void setSpeed(RobotSpeedValue newSpeed);", "public void setWavelength(float wavelength) {\n/* 61 */ this.wavelength = wavelength;\n/* */ }", "@Override\n public void valueChanged(double control_val) {\n samplePlayer.setPosition(control_val);\n setAudioTextPosition(control_val);\n // Write your DynamicControl code above this line \n }", "@Override\n\t\t\tpublic void actionPerformed(final ActionEvent evt) {\n\t\t\t\tdoSendOn(440, 1000);\n\t\t\t\tfirstSynthButtonOn.setEnabled(false);\n\t\t\t\tfirstSynthButtonOff.setEnabled(true);\n\t\t\t\ttextBox.setText(\"440.0\");\n\t\t\t\ttextBox.setEnabled(true);\n\t\t\t\tslider.setValue(2050);\n\t\t\t\tslider.setEnabled(true);\n\t\t\t}", "public void setAmplitude(float amplitude) {\n/* 79 */ this.amplitude = amplitude;\n/* */ }", "public static final void control(float args_cmd_forward, float args_cmd_turn,\r\n\t\t\tfloat args_gyro, float args_gyro_offset, float args_theta_m_l,\r\n\t\t\tfloat args_theta_m_r, float args_battery) {\r\n\t\tfloat tmp_theta;\r\n\t\tfloat tmp_theta_lpf;\r\n\t\tfloat tmp_pwm_r_limiter;\r\n\t\tfloat tmp_psidot;\r\n\t\tfloat tmp_pwm_turn;\r\n\t\tfloat tmp_pwm_l_limiter;\r\n\t\tfloat tmp_thetadot_cmd_lpf;\r\n\t\tint tmp_0;\r\n\r\n\t\t/*\r\n\t\t * Sum: '<S8>/Sum' incorporates: Constant: '<S3>/Constant6' Constant:\r\n\t\t * '<S8>/Constant' Constant: '<S8>/Constant1' Gain: '<S3>/Gain1' Gain:\r\n\t\t * '<S8>/Gain2' Inport: '<Root>/cmd_forward' Product: '<S3>/Divide'\r\n\t\t * Product: '<S8>/Product' Sum: '<S8>/Sum1' UnitDelay: '<S8>/Unit Delay'\r\n\t\t */\r\n\t\ttmp_thetadot_cmd_lpf = (((args_cmd_forward / CMD_MAX) * K_THETADOT) * (1.0F - A_R))\r\n\t\t\t\t+ (A_R * ud_thetadot_cmd_lpf);\r\n\r\n\t\t/*\r\n\t\t * Gain: '<S4>/Gain' incorporates: Gain: '<S4>/deg2rad' Gain:\r\n\t\t * '<S4>/deg2rad1' Inport: '<Root>/theta_m_l' Inport: '<Root>/theta_m_r'\r\n\t\t * Sum: '<S4>/Sum1' Sum: '<S4>/Sum4' Sum: '<S4>/Sum6' UnitDelay:\r\n\t\t * '<S10>/Unit Delay'\r\n\t\t */\r\n\t\ttmp_theta = (((DEG2RAD * args_theta_m_l) + ud_psi) + ((DEG2RAD * args_theta_m_r) + ud_psi)) * 0.5F;\r\n\r\n\t\t/*\r\n\t\t * Sum: '<S11>/Sum' incorporates: Constant: '<S11>/Constant' Constant:\r\n\t\t * '<S11>/Constant1' Gain: '<S11>/Gain2' Product: '<S11>/Product' Sum:\r\n\t\t * '<S11>/Sum1' UnitDelay: '<S11>/Unit Delay'\r\n\t\t */\r\n\t\ttmp_theta_lpf = ((1.0F - A_D) * tmp_theta) + (A_D * ud_theta_lpf);\r\n\r\n\t\t/*\r\n\t\t * Gain: '<S4>/deg2rad2' incorporates: Inport: '<Root>/gyro'\r\n\t\t * Sum: '<S4>/Sum2'\r\n\t\t */\r\n\t\ttmp_psidot = (args_gyro - args_gyro_offset) * DEG2RAD;\r\n\r\n\t\t/*\r\n\t\t * Gain: '<S2>/Gain' incorporates: Constant: '<S3>/Constant2' Constant:\r\n\t\t * '<S3>/Constant3' Constant: '<S6>/Constant' Constant: '<S9>/Constant'\r\n\t\t * Gain: '<S1>/FeedbackGain' Gain: '<S1>/IntegralGain' Gain:\r\n\t\t * '<S6>/Gain3' Inport: '<Root>/battery' Product: '<S2>/Product'\r\n\t\t * Product: '<S9>/Product' Sum: '<S1>/Sum2' Sum: '<S1>/sum_err' Sum:\r\n\t\t * '<S6>/Sum2' Sum: '<S9>/Sum' UnitDelay: '<S10>/Unit Delay' UnitDelay:\r\n\t\t * '<S11>/Unit Delay' UnitDelay: '<S5>/Unit Delay' UnitDelay: '<S7>/Unit\r\n\t\t * Delay'\r\n\t\t */\r\n\t\ttmp[0] = ud_theta_ref;\r\n\t\ttmp[1] = 0.0F;\r\n\t\ttmp[2] = tmp_thetadot_cmd_lpf;\r\n\t\ttmp[3] = 0.0F;\r\n\t\ttmp_theta_0[0] = tmp_theta;\r\n\t\ttmp_theta_0[1] = ud_psi;\r\n\t\ttmp_theta_0[2] = (tmp_theta_lpf - ud_theta_lpf) / EXEC_PERIOD;\r\n\t\ttmp_theta_0[3] = tmp_psidot;\r\n\t\ttmp_pwm_r_limiter = 0.0F;\r\n\t\tfor (tmp_0 = 0; tmp_0 < 4; tmp_0++) {\r\n\t\t\ttmp_pwm_r_limiter += (tmp[tmp_0] - tmp_theta_0[tmp_0])\r\n\t\t\t\t\t* K_F[(tmp_0)];\r\n\t\t}\r\n\r\n\t\ttmp_pwm_r_limiter = (((K_I * ud_err_theta) + tmp_pwm_r_limiter) / ((BATTERY_GAIN * args_battery) - BATTERY_OFFSET)) * 100.0F;\r\n\r\n\t\t/*\r\n\t\t * Gain: '<S3>/Gain2' incorporates: Constant: '<S3>/Constant1' Inport:\r\n\t\t * '<Root>/cmd_turn' Product: '<S3>/Divide1'\r\n\t\t */\r\n\t\ttmp_pwm_turn = (args_cmd_turn / CMD_MAX) * K_PHIDOT;\r\n\r\n\t\t/* Sum: '<S2>/Sum' */\r\n\t\ttmp_pwm_l_limiter = tmp_pwm_r_limiter + tmp_pwm_turn;\r\n\r\n\t\t/* Saturate: '<S2>/pwm_l_limiter' */\r\n\t\ttmp_pwm_l_limiter = rt_SATURATE(tmp_pwm_l_limiter, -100.0F, 100.0F);\r\n\r\n\t\t/*\r\n\t\t * Outport: '<Root>/pwm_l' incorporates: DataTypeConversion: '<S1>/Data\r\n\t\t * Type Conversion'\r\n\t\t */\r\n\t\tpwm_l = (int) tmp_pwm_l_limiter;\r\n\r\n\t\t/* Sum: '<S2>/Sum1' */\r\n\t\ttmp_pwm_r_limiter -= tmp_pwm_turn;\r\n\r\n\t\t/* Saturate: '<S2>/pwm_r_limiter' */\r\n\t\ttmp_pwm_r_limiter = rt_SATURATE(tmp_pwm_r_limiter, -100.0F, 100.0F);\r\n\r\n\t\t/*\r\n\t\t * Outport: '<Root>/pwm_r' incorporates: DataTypeConversion: '<S1>/Data\r\n\t\t * Type Conversion6'\r\n\t\t */\r\n\t\tpwm_r = (int) tmp_pwm_r_limiter;\r\n\r\n\t\t/*\r\n\t\t * Sum: '<S7>/Sum' incorporates: Gain: '<S7>/Gain' UnitDelay: '<S7>/Unit\r\n\t\t * Delay'\r\n\t\t */\r\n\t\ttmp_pwm_l_limiter = (EXEC_PERIOD * tmp_thetadot_cmd_lpf) + ud_theta_ref;\r\n\r\n\t\t/*\r\n\t\t * Sum: '<S10>/Sum' incorporates: Gain: '<S10>/Gain' UnitDelay:\r\n\t\t * '<S10>/Unit Delay'\r\n\t\t */\r\n\t\ttmp_pwm_turn = (EXEC_PERIOD * tmp_psidot) + ud_psi;\r\n\r\n\t\t/*\r\n\t\t * Sum: '<S5>/Sum' incorporates: Gain: '<S5>/Gain' Sum: '<S1>/Sum1'\r\n\t\t * UnitDelay: '<S5>/Unit Delay' UnitDelay: '<S7>/Unit Delay'\r\n\t\t */\r\n\t\ttmp_pwm_r_limiter = ((ud_theta_ref - tmp_theta) * EXEC_PERIOD)\r\n\t\t\t\t+ ud_err_theta;\r\n\r\n\t\t/* user code (Update function Body) */\r\n\t\t/* System '<Root>' */\r\n\t\t/* 次回演算用状態量保存処理 */\r\n\r\n\t\t/* Update for UnitDelay: '<S5>/Unit Delay' */\r\n\t\tud_err_theta = tmp_pwm_r_limiter;\r\n\r\n\t\t/* Update for UnitDelay: '<S7>/Unit Delay' */\r\n\t\tud_theta_ref = tmp_pwm_l_limiter;\r\n\r\n\t\t/* Update for UnitDelay: '<S8>/Unit Delay' */\r\n\t\tud_thetadot_cmd_lpf = tmp_thetadot_cmd_lpf;\r\n\r\n\t\t/* Update for UnitDelay: '<S10>/Unit Delay' */\r\n\t\tud_psi = tmp_pwm_turn;\r\n\r\n\t\t/* Update for UnitDelay: '<S11>/Unit Delay' */\r\n\t\tud_theta_lpf = tmp_theta_lpf;\r\n\t}", "public void changeVolume(double volume){\n\t\tsynth.changeVolume(volume);\n\t}", "private void applyEffect(Event.Effect effect) {\n\t\tint change = (int) effect.getValue();\n\t\t\n\t\tswitch(effect.getType()) {\t\t\n\t\tcase INCREASE_MONEY:\n\t\t\tplayer.setMoney(player.getMoney() + change);\n\t\t\tbreak;\n\t\tcase DECREASE_MONEY:\n\t\t\tplayer.setMoney(player.getMoney() - change);\n\t\t\tbreak;\n\t\tcase INCREASE_AGENTS:\n\t\t\tplayer.setAgentNumber(player.getAgentNumber() + change);\n\t\t\tbreak;\n\t\tcase DECREASE_AGENTS:\n\t\t\tplayer.setAgentNumber(player.getAgentNumber() - change);\n\t\t\tbreak;\n\t\tcase INCREASE_AGENT_SKILL:\n\t\t\tplayer.setAgentSkill(player.getAgentSkill() + change);\n\t\t\tbreak;\n\t\tcase DECREASE_AGENT_SKILL:\n\t\t\tplayer.setAgentSkill(player.getAgentSkill() - change);\t\t\t\n\t\t\tbreak;\n\t\tcase INCREASE_MEDIA_REACH:\n\t\t\tplayer.setMediaReach(player.getMediaReach() + change);\n\t\t\tbreak;\n\t\tcase DECREASE_MEDIA_REACH:\n\t\t\tplayer.setMediaReach(player.getMediaReach() - change);\t\t\t\n\t\t\tbreak;\n\t\tcase INCREASE_MEDIA_INFLUENCE:\n\t\t\tplayer.setMediaPerception(player.getMediaPerception() + change);\n\t\t\tbreak;\n\t\tcase DECREASE_MEDIA_INFLUENCE:\n\t\t\tplayer.setMediaPerception(player.getMediaPerception() - change);\t\t\t\n\t\t\tbreak;\n\t\tdefault:\n\t\t\t// TODO handle error\n\t\t}\n\t\t\n\t}", "public final void setIsVoipAudioMode(java.lang.String r1, boolean r2) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: android.telecom.ConnectionServiceAdapterServant.2.setIsVoipAudioMode(java.lang.String, boolean):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.telecom.ConnectionServiceAdapterServant.2.setIsVoipAudioMode(java.lang.String, boolean):void\");\n }", "public static void enableSound() {\n\t\tvelocity = 127;\n\t}", "void onAudioLevel(float level);", "void setPWMRate(double rate);", "public abstract void newSpeechFeedback(long ms, int n);", "public void pitch(float amount)\r\n {\r\n //increment the pitch by the amount param\r\n pitch -= amount;\r\n }", "public static void setSoundEffectsVolume(final double sfxVolume) {\n if (sfxVolume >= 0 && sfxVolume <= 1) {\n SoundEffect.sfxVolume = sfxVolume;\n }\n }", "private void setSynthesizerParam(SettingParams params) {\n if (mSynthesizer == null)\n return;\n //清除所有参数\n mSynthesizer.setParameter(SpeechConstant.PARAMS, null);\n //设置合成引擎\n mSynthesizer.setParameter(SpeechConstant.ENGINE_TYPE, SpeechConstant.TYPE_CLOUD);\n //设置音调\n mSynthesizer.setParameter(SpeechConstant.PITCH, \"50\");\n //设置播放器音频流类型\n mSynthesizer.setParameter(SpeechConstant.STREAM_TYPE, \"3\");\n //设置播放合成音频打断音乐播放,默认为true\n mSynthesizer.setParameter(SpeechConstant.KEY_REQUEST_FOCUS, \"true\");\n //设置合成发言人\n mSynthesizer.setParameter(SpeechConstant.VOICE_NAME, params.getVoiceName());\n //设置语速\n mSynthesizer.setParameter(SpeechConstant.SPEED, params.getVoiceSpeed() + \"\");\n //设置音量\n mSynthesizer.setParameter(SpeechConstant.VOLUME, params.getVoiceVolume() + \"\");\n }", "public void ResultVoiceIn(EventVoice event);", "private void setAudioProfilModem() {\n int ringerMode = mAudioManager.getRingerModeInternal();\n ContentResolver mResolver = mContext.getContentResolver();\n Vibrator vibrator = (Vibrator) mContext\n .getSystemService(Context.VIBRATOR_SERVICE);\n boolean hasVibrator = vibrator == null ? false : vibrator.hasVibrator();\n if (AudioManager.RINGER_MODE_SILENT == ringerMode) {\n if (hasVibrator) {\n Settings.System.putInt(mResolver,\n Settings.System.SOUND_EFFECTS_ENABLED, 0);\n /* SPRD: fixbug454214 The status bar scene mode button is not synchronized with the button set up the scene mode. @{ */\n //mAudioManager.setRingerMode(AudioManager.RINGER_MODE_VIBRATE);\n mAudioManager.setRingerModeInternal(AudioManager.RINGER_MODE_VIBRATE);\n /* @} */\n mAudioManager.setVibrateSetting(\n AudioManager.VIBRATE_TYPE_RINGER,\n AudioManager.VIBRATE_SETTING_ON);\n mAudioManager.setVibrateSetting(\n AudioManager.VIBRATE_TYPE_NOTIFICATION,\n AudioManager.VIBRATE_SETTING_ON);\n } else {\n Settings.System.putInt(mResolver,\n Settings.System.SOUND_EFFECTS_ENABLED, 1);\n /* SPRD: fixbug454214 The status bar scene mode button is not synchronized with the button set up the scene mode. @{ */\n //mAudioManager.setRingerMode(AudioManager.RINGER_MODE_NORMAL);\n mAudioManager.setRingerModeInternal(AudioManager.RINGER_MODE_NORMAL);\n /* @} */\n }\n } else if (AudioManager.RINGER_MODE_VIBRATE == ringerMode) {\n Settings.System.putInt(mResolver,\n Settings.System.SOUND_EFFECTS_ENABLED, 1);\n /* SPRD: fixbug454214 The status bar scene mode button is not synchronized with the button set up the scene mode. @{ */\n //mAudioManager.setRingerMode(AudioManager.RINGER_MODE_NORMAL);\n mAudioManager.setRingerModeInternal(AudioManager.RINGER_MODE_OUTDOOR);\n /* @} */\n }else if (AudioManager.RINGER_MODE_OUTDOOR == ringerMode) {//add by wanglei for outdoor mode\n Settings.System.putInt(mResolver,Settings.System.SOUND_EFFECTS_ENABLED, 1);\n mAudioManager.setRingerModeInternal(AudioManager.RINGER_MODE_NORMAL);\n }else {\n Settings.System.putInt(mResolver,\n Settings.System.SOUND_EFFECTS_ENABLED, 0);\n /* SPRD: fixbug454214 The status bar scene mode button is not synchronized with the button set up the scene mode. @{ */\n //mAudioManager.setRingerMode(AudioManager.RINGER_MODE_SILENT);\n mAudioManager.setRingerModeInternal(AudioManager.RINGER_MODE_SILENT);\n /* @} */\n if (hasVibrator) {\n mAudioManager.setVibrateSetting(\n AudioManager.VIBRATE_TYPE_RINGER,\n AudioManager.VIBRATE_SETTING_OFF);\n mAudioManager.setVibrateSetting(\n AudioManager.VIBRATE_TYPE_NOTIFICATION,\n AudioManager.VIBRATE_SETTING_OFF);\n }\n }\n }", "public void setSyntheticSpeechAttributes(String message,JLabel statuslbl,JProgressBar progressBar, String voice, double rate, int pitchStart, int pitchEnd){\n\t\tthis.message = message;\n\t\tthis.progressBar=progressBar;\n\t\tthis.statuslbl=statuslbl;\n\t\tthis.voice=voice;\n\t\tthis.rate=rate;\n\t\tthis.pitchStart=pitchStart;\n\t\tthis.pitchEnd=pitchEnd;\n\t}", "@Override\n public void playTone(Waveform waveform, double frequency, double duration, double volume)\n {\n final String funcName = \"playTone\";\n\n if (debugEnabled)\n {\n dbgTrace.traceEnter(funcName, TrcDbgTrace.TraceLevel.API,\n \"waveform=%s,freq=%.0f,dur=%.3f,vol=%.1f\",\n waveform.toString(), frequency, duration, volume);\n }\n\n if (volume < 0.0 || volume > 1.0)\n {\n throw new IllegalArgumentException(\"Volume must be in the range 0.0 to 1.0.\");\n }\n\n if (frequency < 0.0)\n {\n throw new IllegalArgumentException(\"Frequency cannot be negative.\");\n }\n\n if (duration < 0.0)\n {\n throw new IllegalArgumentException(\"Duration cannot be negative.\");\n }\n\n byte outputMode = 0;\n switch (waveform)\n {\n case SINE_WAVE:\n outputMode = 1;\n break;\n\n case SQUARE_WAVE:\n outputMode = 2;\n break;\n\n case TRIANGLE_WAVE:\n outputMode = 3;\n break;\n }\n\n analogOut.setAnalogOutputMode(outputMode);\n analogOut.setAnalogOutputFrequency((int)frequency);\n analogOut.setAnalogOutputVoltage((int)(MAX_VOLTAGE*volume));\n expiredTime = TrcUtil.getCurrentTime() + duration;\n playing = true;\n setTaskEnabled(true);\n\n if (debugEnabled)\n {\n dbgTrace.traceInfo(funcName,\n \"mode=%d,freq=%d,dur=%.3f,vol=%.1f\", outputMode, (int)frequency, duration, volume);\n dbgTrace.traceExit(funcName, TrcDbgTrace.TraceLevel.API);\n }\n }", "@Override\n public void runEffect(double[] fft) {\n\n\n for(int i = fft.length - 1; i - pitchMove >= 0; i--)\n {\n fft[i] = fft[i - pitchMove];\n }\n for(int i = 0; i < pitchMove; i++)\n fft[i] = fft[i]*0.5;\n// for(int i = 0, k = 0; i < fft.length; i+=2)\n// {\n// if(i < fft.length/2) {\n// fft2[fft.length / 2 + k - 1] = (fft[fft.length / 2 + i] + fft[fft.length / 2 + i]) / 2;\n// fft2[fft.length / 2 - k - 1] = (fft[fft.length / 2 - i] + fft[fft.length / 2 - i]) / 2;\n// }\n// //fft2[k] = 0;\n// //fft2[fft2.length - k -1] = 0;\n// k++;\n// }\n /*for(int i = 0; i < fft.length; i++)\n {\n fft[i] = Math.abs(fft[i]);\n if(fft[i] < 2){\n fft[i] = 0;\n }\n //Log.d(\"Log\", fft[i] + \" \");\n }*/\n }", "public void pauseMusic() {\n\t\talSourcePause(musicSourceIndex);\n\t\talSourcePause(reverseSourceIndex);\n\t\talSourcePause(flangeSourceIndex);\n\t\talSourcePause(revFlangeSourceIndex);\n\t\talSourcePause(wahSourceIndex);\n\t\talSourcePause(revWahSourceIndex);\n\t\talSourcePause(wahFlangeSourceIndex);\n\t\talSourcePause(revWahFlangeSourceIndex);\n\t\talSourcePause(distortSourceIndex);\n\t\talSourcePause(revDistortSourceIndex);\n\t\talSourcePause(distortFlangeSourceIndex);\n\t\talSourcePause(revDistortFlangeSourceIndex);\n\t\talSourcePause(wahDistortSourceIndex);\n\t\talSourcePause(revWahDistortSourceIndex);\n\t\talSourcePause(wahDistortFlangeSourceIndex);\n\t\talSourcePause(revWahDistortFlangeSourceIndex);\n\t}", "private void setRecognizerParam(SettingParams params) {\n if (mRecognizer == null)\n return;\n //清空所以参数\n mRecognizer.setParameter(SpeechConstant.PARAMS, null);\n //设置听写引擎\n mRecognizer.setParameter(SpeechConstant.ENGINE_TYPE, SpeechConstant.TYPE_CLOUD);\n //设置返回结果格式\n mRecognizer.setParameter(SpeechConstant.RESULT_TYPE, \"json\");\n //设置标点符号 0:无标点 1:有标点\n mRecognizer.setParameter(SpeechConstant.ASR_PTT, \"0\");\n //设置语言\n mRecognizer.setParameter(SpeechConstant.LANGUAGE, params.getRecognizerLanguage());\n //设置发音\n mRecognizer.setParameter(SpeechConstant.ACCENT, params.getRecognizerAccent());\n //设置语音前端点:静音超时时间,即用户多长时间不说话则当做超时处理\n mRecognizer.setParameter(SpeechConstant.VAD_BOS, params.getRecognizerBOS() + \"\");\n //设置语音后端点:后端点静音检测时间,即用户停止说话多长时间内即认为不再输入, 自动停止录音\n mRecognizer.setParameter(SpeechConstant.VAD_EOS, params.getRecognizerEOS() + \"\");\n\n //open translate in english mode\n if (isEnglishEnvironment) {\n mRecognizer.setParameter(SpeechConstant.ASR_SCH, \"0\");\n mRecognizer.setParameter(SpeechConstant.ADD_CAP, \"translate\");\n mRecognizer.setParameter(SpeechConstant.TRS_SRC, \"its\");\n mRecognizer.setParameter(SpeechConstant.ORI_LANG, \"en\");\n mRecognizer.setParameter(SpeechConstant.TRANS_LANG, \"cn\");\n }\n }", "public Future<Void> setVoice(String pVoiceID) throws DynamicCallException, ExecutionException{\n return call(\"setVoice\", pVoiceID);\n }", "public void ResultVoiceDialog(EventVoice event);", "public Voice getVoice ()\r\n {\r\n return voice;\r\n }", "public void setFrequency(float speed) { \n \tmouseJointDef.frequencyHz = speed; \n }", "public void setPitchShift(int pitchShift) {\r\n\r\n\t\t// Values are in half steps (semitones) in the \r\n\t\t// range -12..0..+12 corresponding to -/+ 1 octave for\r\n\t\t// a range of 2 octaves.\r\n\r\n\t\t// Determine which direction the sweep is going\r\n\t\tsweepUp = (pitchShift >= 0);\r\n\r\n\t\tsetIndices();\r\n\r\n\t\tdouble newStep = 1.0;\r\n\r\n\t\t// If pitch shift is 0 short circuit calculations\r\n\t\tif (pitchShift == 0)\r\n\t\t\tstep = 0;\r\n\r\n\t\telse\t{\r\n\t\t\t// Step is rate at which samples read out\r\n\t\t\tfor (int i=0; i < Math.abs(pitchShift); i++) {\r\n\t\t\t\tif (pitchShift > 0)\r\n\t\t\t\t\tnewStep *= twelvethRootOfTwo;\r\n\t\t\t\telse\r\n\t\t\t\t\tnewStep /= twelvethRootOfTwo;\r\n\t\t\t}\r\n\t\t\tstep = Math.abs(newStep - 1.0);\r\n\t\t}\r\n\t\t// Reset the following values whenever pitch shift value changes\r\n\t\tsweep = 0.0;\r\n\t\tcrossFadeCount = 0;\r\n\t\tactiveSampleCount = numberOfDelaySamples - \r\n\t\t\t(int)(numberOfCrossFadeSamples * (newStep - 1.0) - 2); \r\n\t}", "public void adjustVolume(double volume) {\n try {\n controller.setGain(volume);\n this.volume = volume;\n } catch (BasicPlayerException e) {\n e.printStackTrace();\n }\n }", "@FXML\n\tpublic void recorderPauseAudio() {\n\t\tcontroller.recorderTimerCancel();\n\t\trecorderButtonPlay.setDisable(false);\n\t\trecorderButtonPause.setDisable(true);\n\t\trecorderButtonStop.setDisable(false);\n\t\tcontroller.audioRecorderPauseAudio();\n\t}", "public void setUpSound() {\n try {\n generateTone();\n setFrequencyLabel();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }", "@Override\n\tpublic void OnForwardCommand() {\n\t\tsuper.OnForwardCommand();\n\t\tSoundManage.playSound(forwordSound1);\n\t}", "public void setAudioPort(int port);", "public void setWavelength(double newValue) {\n double oldValue = getWavelength();\n if (oldValue != newValue) {\n _centralWavelength = newValue;\n firePropertyChange(WAVELENGTH_PROP.getName(), oldValue, newValue);\n }\n }", "void Init(int sfxVolume, int musicVolume);", "public void changeSamplerateTo(int samplerate) {\n\t\tm_samplerate = samplerate;\n\t\tif( m_privateNotification != null ) {\n\t\t\tString content = \"changeSamplerate:\"+Integer.toString(samplerate)+\";\";\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 public void valueChanged(double control_val) {\n float current_audio_position = (float)samplePlayer.getPosition();\n\n if (current_audio_position < control_val){\n samplePlayer.setPosition(control_val);\n }\n loop_start.setValue((float)control_val);\n // Write your DynamicControl code above this line \n }", "public void setPitchRange(float range) {\n\tthis.range = range;\n }", "@Override\n public void valueChanged(double control_val) {\n playbackRate.setValue((float)control_val);\n // Write your DynamicControl code above this line\n }", "public void setAudioDscp(int dscp);", "public abstract SoundPlayer setVolume(int volume);", "public void ResultVoiceCoincidence(EventVoice event);", "public void setSpeechRate(int speechRate) {\n mSelf.setSpeechRate(speechRate);\n }", "public void movePower(String movement, double power, double duration)\n {\n double startTime = getRuntime();\n switch(movement)\n {\n case \"forward\":\n runtime.reset();\n while (runtime.seconds() < duration)\n {\n robot.FL_drive.setPower(power);\n robot.FR_drive.setPower(power * -1);\n robot.BL_drive.setPower(power);\n robot.BR_drive.setPower(power * -1);\n }\n break;\n\n case \"backward\":\n runtime.reset();\n while (runtime.seconds() < duration)\n {\n robot.FL_drive.setPower(power * -1);\n robot.FR_drive.setPower(power);\n robot.BL_drive.setPower(power * -1);\n robot.BR_drive.setPower(power);\n }\n break;\n\n case \"right\":\n runtime.reset();\n while (runtime.seconds() < duration)\n {\n robot.FL_drive.setPower(power);\n robot.FR_drive.setPower(power);\n robot.BL_drive.setPower(power * -1);\n robot.BR_drive.setPower(power * -1);\n }\n break;\n\n case \"left\":\n runtime.reset();\n while (runtime.seconds() < duration)\n {\n robot.FL_drive.setPower(power * -1);\n robot.FR_drive.setPower(power * -1);\n robot.BL_drive.setPower(power);\n robot.BR_drive.setPower(power);\n }\n break;\n\n case \"leftTurn\":\n runtime.reset();\n while (runtime.seconds() < duration)\n {\n robot.FL_drive.setPower(power);\n robot.FR_drive.setPower(power);\n robot.BL_drive.setPower(power);\n robot.BR_drive.setPower(power);\n }\n break;\n\n case \"rightTurn\":\n runtime.reset();\n while (runtime.seconds() < duration)\n {\n robot.FL_drive.setPower(power * -1);\n robot.FR_drive.setPower(power * -1);\n robot.BL_drive.setPower(power * -1);\n robot.BR_drive.setPower(power * -1);\n }\n break;\n }\n stop();\n }", "public void setCurrentSpeed (double speed);", "public abstract void updateMixer();", "public interface VolumeControl\n{\n /**\n * The name of the configuration property which specifies the volume level\n * of audio input.\n */\n public final static String CAPTURE_VOLUME_LEVEL_PROPERTY_NAME\n = \"net.java.sip.communicator.service.media.CAPTURE_VOLUME_LEVEL\";\n\n /**\n * The name of the configuration property which specifies the volume level\n * of audio output.\n */\n public final static String PLAYBACK_VOLUME_LEVEL_PROPERTY_NAME\n = \"net.java.sip.communicator.service.media.PLAYBACK_VOLUME_LEVEL\";\n\n /**\n * Current volume value.\n * @return the current volume level.\n */\n public float getVolume();\n\n /**\n * Returns the minimum allowed volume value.\n * @return the minimum allowed volume value.\n */\n public float getMinValue();\n\n /**\n * Returns the maximum allowed volume value.\n * @return the maximum allowed volume value.\n */\n public float getMaxValue();\n\n /**\n * Changes volume level.\n * @param value the new level to set.\n * @return the actual level which was set.\n */\n public float setVolume(float value);\n\n /**\n * Mutes current sound playback.\n * @param mute mutes/unmutes playback.\n */\n public void setMute(boolean mute);\n\n /**\n * Get mute state of sound playback.\n * @return mute state of sound playback.\n */\n public boolean getMute();\n\n /**\n * Adds a <tt>VolumeChangeListener</tt> to be informed for any change\n * in the volume levels.\n *\n * @param listener volume change listener.\n */\n public void addVolumeChangeListener(VolumeChangeListener listener);\n\n /**\n * Removes a <tt>VolumeChangeListener</tt>.\n * @param listener the volume change listener to be removed.\n */\n public void removeVolumeChangeListener(VolumeChangeListener listener);\n}", "public void wave() {\n leanRight = !leanRight;\n }", "void setPlaybackSpeed(float speed);", "public void manualControl(double power){\n leftMotor.set(power);\n rightMotor.set(power);\n }", "public void ReproduceAudio() { \r\n\t\ttry {\r\n\t\t\t//en caso de que como nombre pongas \"undertale\" la musica sera diferente.\r\n\t\t\tif (Menu.jugador.equals(\"undertale\") || Menu.jugador.equals(\"Undertale\")) {\r\n\t\t\t\trepro.AbrirFichero(\"C:\\\\Temp\\\\Sonidos\\\\undertale.wav\");\r\n\t\t\t\t//emppieza la musica\r\n\t\t\t\trepro.Play();\r\n\t\t\t//musica por defecto\r\n\t\t\t} else {\r\n\t\t\t\trepro.AbrirFichero(\"C:\\\\Temp\\\\Sonidos\\\\tetris.mp3\");\r\n\t\t\t\trepro.Play();\r\n\t\t\t}\t\r\n\t\t} catch (Exception ex) {\r\n\t\t\tSystem.out.println(\"Error: \" + ex.getMessage());\r\n\t\t}\r\n\t}", "public void addVoice(String theOrderToAdd){\n System.out.println(\"Méthode à implémenter pour ajouter les voices\");\r\n\r\n }", "public void changeSpeed(int speed);", "public interface VoiceManager {\n\n void speak(int requestCode, int speechResourceId, Object... formatArgs);\n\n void speak(int requestCode, int speechResourceId);\n\n void listen(int requestCode);\n\n void shutdown();\n\n void setVoiceManagerListener(VoiceManagerImpl.VoiceManagerListener listener);\n}", "void changeUpdateSpeed();", "public void setSoundPitch(float soundPitch) {\n _soundPitch = soundPitch;\n }", "protected void playStepSound(int par1, int par2, int par3, int par4)\n {\n this.playSound(\"mob.spider.step\", 0.15F, 1.0F);\n }", "public void setDecayRate(double newDecayRate ){\n\n decayRate= newDecayRate;\n}", "public void changeWaveform(Toggle waveform) {\n\t\tsynth.disconnectInstrument();\n\t\t// Retrieve the waveform ID and set the waveform of the instrument\n\t\tint selectedWaveformID = Integer.parseInt(waveform.getUserData().toString());\n\t\tsynth.getSelectedInstrument().setWaveform(selectedWaveformID);\n\n\t\tsynth.connectInstrument();\n\t}", "public void setEffect(int effectIndex, int filterIndex) {\n\t\talSource3i(musicSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(musicSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(reverseSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(reverseSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(flangeSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(flangeSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(revFlangeSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(revFlangeSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(wahSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(wahSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(revWahSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(revWahSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(wahFlangeSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(wahFlangeSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(revWahFlangeSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(revWahFlangeSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(distortSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(distortSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(revDistortSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(revDistortSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(distortFlangeSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(distortFlangeSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(revDistortFlangeSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(revDistortFlangeSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(wahDistortSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(wahDistortSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(revWahDistortSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(revWahDistortSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(wahDistortFlangeSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(wahDistortFlangeSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t\talSource3i(revWahDistortFlangeSourceIndex, AL_AUXILIARY_SEND_FILTER, effectIndex, 0, AL_FILTER_NULL);\n\t\talSourcei(revWahDistortFlangeSourceIndex, AL_DIRECT_FILTER, filterIndex);\n\t}", "void changeMusic(AudioTrack newSong);", "public void activate(float a, int which, float freq, int wf) {\n if (wf == MultiWave.VARIABLE)\n if (freq > highCutoff) {\n mixingCoefficients[which][MultiWave.SINE] = 1.0;\n mixingCoefficients[which][MultiWave.SAW] = mixingCoefficients[which][MultiWave.SQUARE] = mixingCoefficients[which][MultiWave.TRIANGLE] = 0.0;\n } else if (freq < lowCutoff) {\n mixingCoefficients[which][MultiWave.SAW] = 0.5;\n mixingCoefficients[which][MultiWave.TRIANGLE] = 1.0;\n mixingCoefficients[which][MultiWave.SINE] = mixingCoefficients[which][MultiWave.SQUARE] = 0.0;\n } else {\n mixingCoefficients[which][MultiWave.SINE] = (freq - lowCutoff)/(highCutoff - lowCutoff);\n mixingCoefficients[which][MultiWave.TRIANGLE] = 1.0 - mixingCoefficients[which][MultiWave.SINE];\n if (freq < midCutoff) {\n mixingCoefficients[which][MultiWave.SAW] = 0.5*(midCutoff - freq)/(midCutoff - lowCutoff);\n } else\n mixingCoefficients[which][MultiWave.SAW] = 0.0;\n }\n\n if (!isActive[which]) {\n numActive++;\n isActive[which] = true;\n } // end if\n\n frequencies[which] = freq;\n amplitudes[which] = a;\n whichWaveForm[which] = wf;\n deltaPhases[which] = TWO_PI * freq / frameRate;\n }", "@SuppressWarnings(\"unchecked\")\n\tpublic void setEffectsVolume(float volume){\n\t\tvolume = volume / 100;\n\t\tif (volume < 0){\n\t\t\tvolume = 0;\n\t\t}\t\n\t\tif (volume > 1){\n\t\t\tvolume = 1;\n\t\t}\n\t\t\n\t\tthis.mLeftVolume = this.mRightVolume = volume;\n\t\t\n\t\t// change the volume of playing sounds\n\t\tIterator<?> iter = this.mSoundIdStreamIdMap.entrySet().iterator();\n\t\twhile (iter.hasNext()){\n\t\t\tMap.Entry<Integer, Integer> entry = (Map.Entry<Integer, Integer>)iter.next();\n\t\t\tthis.mSoundPool.setVolume(entry.getValue(), mLeftVolume, mRightVolume);\n\t\t}\n\t}", "public void setVibrationOff() {\n\n }", "void setSampleGain(float gain) {\n if (debugFlag)\n debugPrint(\"JSChannel: setSampleGain must be overridden\");\n }", "public void updateVolume(){\r\n if(currentLoop0) backgroundMusicLoop0.gainControl.setValue(Window.musicVolume);\r\n else backgroundMusicLoop1.gainControl.setValue(Window.musicVolume);\r\n }", "public void setPitchShift(float shift) {\n\tthis.pitchShift = shift;\n }", "@Override\n\t\t\tpublic void actionPerformed(final ActionEvent evt) {\n\t\t\t\tdoSendOff(1002);\n\t\t\t\tthirdSynthButtonOn.setEnabled(true);\n\t\t\t\tthirdSynthButtonOff.setEnabled(false);\n\t\t\t\tslider3.setEnabled(false);\n\t\t\t\tslider3.setValue(0);\n\t\t\t\ttextBox3.setEnabled(false);\n\t\t\t\ttextBox3.setText(\"0\");\n\t\t\t}", "void controlVehicle(KeyEvent e) {\n\t\tswitch (e.getKeyCode()) {\n\t\tcase KeyEvent.VK_LEFT:\n\t\t\tss.move(-1);\n\t\t\tif(!mute)\t\t\t\t\t\t\t\t\t\t\t\t//play audio when not mute\n\t\t\t\tnew AudioLoader(\"audios/ding.wav\");\t\t\t\t\t//play now audio when spaceship as Vehicle\n\t\t\tbreak;\n\t\tcase KeyEvent.VK_RIGHT:\n\t\t\tss.move(1);\n\t\t\tif(!mute)\t\t\t\t\t\t\t\t\t\t\t\t//play audio when not mute\n\t\t\t\tnew AudioLoader(\"audios/ding.wav\");\t\t\t\t\t//play now audio when spaceship as Vehicle\n\t\t\tbreak;\n\t\tcase KeyEvent.VK_UP:\n\t\t\tss.move(-2);\n\t\t\tif(!mute)\t\t\t\t\t\t\t\t\t\t\t\t//play audio when not mute\n\t\t\t\tnew AudioLoader(\"audios/ding.wav\");\t\t\t\t\t//play now audio when spaceship as Vehicle\n\t\t\tbreak;\n\t\tcase KeyEvent.VK_DOWN:\n\t\t\tss.move(2);\n\t\t\tif(!mute)\t\t\t\t\t\t\t\t\t\t\t\t//play audio when not mute\n\t\t\t\tnew AudioLoader(\"audios/ding.wav\");\t\t\t\t\t//play now audio when spaceship as Vehicle\n\t\t\tbreak;\t\t\n\t\tcase KeyEvent.VK_END :\n\t\t\tSystem.exit(0);\t\t\t\t\t\t\t\t\t\t//press key End to exit \n\t\t\tbreak;\n\t\tcase KeyEvent.VK_M:\n\t\t\tmute = !mute;\n\t\t\tbreak;\n\t\t}\n\t}", "public interface ISoundEffect {\n\n ResourceReference getSoundReference();\n\n boolean canRepeat();\n\n int getRepeatDelay();\n\n float getVolume();\n\n float getPitch();\n\n Vect3d getPosition();\n\n AttenuationType getAttenuationType();\n\n default void play() {\n Game.getClientHandler().getSoundHandler().playSound(this);\n }\n\n enum AttenuationType {\n NONE(0),\n LINEAR(2);\n\n private int type;\n\n AttenuationType(int type) {\n this.type = type;\n }\n\n public int getType() {\n return this.type;\n }\n }\n}", "public static void setForwardAcceleration(int acc) {\n LEFT_MOTOR.setAcceleration(acc);\n RIGHT_MOTOR.setAcceleration(acc);\n }", "public void setAudioDescriptor( AudioDescriptor audioDescriptor );", "@Override\n\tprotected void uGenerate(float[] channels) \n\t{\n\t\tif (!isTurnedOn)\n\t\t{\n\t\t\tfor(int i = 0; i < channelCount(); i++)\n\t\t\t{\n\t\t\t\tchannels[i] = beforeAmplitude*audio.getLastValues()[i];\n\t\t\t}\n\t\t}\n\t\t// after the envelope, just output the afterAmplitude*audio\n\t\telse if (timeFromOff > releaseTime)\n\t\t{\n\t\t\tfor(int i = 0; i < channelCount(); i++)\n\t\t\t{\n\t\t\t\tchannels[i] = afterAmplitude*audio.getLastValues()[i];\n\t\t\t}\t\n\t\t\tif ( unpatchAfterRelease )\n\t\t\t{\n\t\t\t if ( output != null )\n\t\t\t {\n\t\t\t unpatch( output );\n\t\t\t output = null;\n\t\t\t }\n\t\t\t if ( ugenOutput != null )\n\t\t\t {\n\t\t\t unpatch( ugenOutput );\n\t\t\t ugenOutput = null;\n\t\t\t }\n\t\t\t unpatchAfterRelease = false;\n\t\t\t}\n\t\t}\n\t\t// inside the envelope\n\t\telse\n\t\t{\n\t\t\tif ((isTurnedOn) && (!isTurnedOff))\n\t\t\t{\n\t\t\t\t// ATTACK\n\t\t\t\tif (timeFromOn <= attackTime)\n\t\t\t\t{\n\t\t\t\t\t// use time remaining until maxAmplitude to change amplitude\n\t\t\t\t\tfloat timeRemain = (attackTime - timeFromOn);\n\t\t\t\t\tamplitude += (maxAmplitude - amplitude)*timeStepSize/timeRemain;\t\t\t\t\n\t\t\t\t}\n\t\t\t\t// DECAY\n\t\t\t\telse if ((timeFromOn > attackTime) && (timeFromOn <= (attackTime+decayTime)))\n\t\t\t\t{\n\t\t\t\t\t// use time remaining until sustain to change to sustain level\n\t\t\t\t\tfloat timeRemain = (attackTime + decayTime - timeFromOn);\n\t\t\t\t\tamplitude += (sustainLevel*maxAmplitude - amplitude)*timeStepSize/timeRemain;\t\t\t\n\t\t\t\t}\n\t\t\t\t// SUSTAIN\n\t\t\t\telse if (timeFromOn > (attackTime+decayTime))\n\t\t\t\t{\n\t\t\t\t\t// hold the sustain level\n\t\t\t\t\tamplitude = sustainLevel*maxAmplitude;\n\t\t\t\t}\n\t\t\t\ttimeFromOn += timeStepSize;\n\t\t\t}\n\t\t\t// RELEASE\n\t\t\telse //isTurnedOn and isTurnedOFF and timeFromOff < releaseTime\n\t\t\t{\n\t\t\t\t// use remaining time to get to afterAmplitude\n\t\t\t\tfloat timeRemain = (releaseTime - timeFromOff);\n\t\t\t\tamplitude += (afterAmplitude - amplitude)*timeStepSize/timeRemain;\n\t\t\t\ttimeFromOff += timeStepSize;\n\t\t\t}\n\t\t\t// finally multiply the input audio to generate the output\n\t\t\tfor(int i = 0; i < channelCount(); i++)\n\t\t\t{\n\t\t\t\tchannels[i] = amplitude*audio.getLastValues()[i];\n\t\t\t}\t\t\n\t\t}\n\t}", "public void setSpeechDrpr(Float speechDrpr) {\n this.speechDrpr = speechDrpr;\n }", "public void generateTone()\n throws LineUnavailableException {\n if ( clip!=null ) {\n clip.stop();\n clip.close();\n } else {\n clip = AudioSystem.getClip();\n }\n boolean addHarmonic = harmonic.isSelected();\n\n int intSR = ((Integer)sampleRate.getSelectedItem()).intValue();\n int intFPW = framesPerWavelength.getValue();\n\n float sampleRate = (float)intSR;\n\n // oddly, the sound does not loop well for less than\n // around 5 or so, wavelengths\n int wavelengths = 20;\n byte[] buf = new byte[2*intFPW*wavelengths];\n AudioFormat af = new AudioFormat(\n sampleRate,\n 8, // sample size in bits\n 2, // channels\n true, // signed\n false // bigendian\n );\n\n int maxVol = 127;\n for(int i=0; i<intFPW*wavelengths; i++){\n double angle = ((float)(i*2)/((float)intFPW))*(Math.PI);\n buf[i*2]=getByteValue(angle);\n if(addHarmonic) {\n buf[(i*2)+1]=getByteValue(2*angle);\n } else {\n buf[(i*2)+1] = buf[i*2];\n }\n }\n\n try {\n byte[] b = buf;\n AudioInputStream ais = new AudioInputStream(\n new ByteArrayInputStream(b),\n af,\n buf.length/2 );\n\n clip.open( ais );\n } catch(Exception e) {\n e.printStackTrace();\n }\n }", "public void applyAngularImpulse (float impulse, boolean wake) {\n\t\tbody.applyAngularImpulse(impulse);\n\t}", "public abstract void voiceMessage(Message m);", "public void setMotorBehaviors(){\n motors = new ArrayList<>();\n motors.add(rf);\n motors.add(rb);\n motors.add(lf);\n motors.add(lb);\n\n //reset motor encoders\n rf.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n rb.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n lf.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n lb.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n lift.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n relic_extension.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n\n //Set motor behaviors\n rf.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n rf.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n rb.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n rb.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n lf.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n lf.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n lb.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n lb.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n rf.setDirection(DcMotorSimple.Direction.REVERSE);\n rb.setDirection(DcMotorSimple.Direction.REVERSE);\n relic_extension.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n relic_extension.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n relic_extension.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n lift.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n lift.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n lift.setMode(DcMotor.RunMode.RUN_TO_POSITION);\n lift.setDirection(DcMotorSimple.Direction.REVERSE);\n\n //Set servo behaviors\n leftWheel2.setDirection(DcMotorSimple.Direction.REVERSE);\n rightWheel1.setDirection(DcMotorSimple.Direction.REVERSE);\n\n }", "public void setHandThrowDamage(short handThrowDamage);" ]
[ "0.61772174", "0.58489436", "0.5737683", "0.57021004", "0.5674018", "0.5342813", "0.5318733", "0.52872187", "0.5258321", "0.52499527", "0.51687205", "0.51367134", "0.51179457", "0.507519", "0.5059849", "0.504313", "0.50372165", "0.50187206", "0.4989198", "0.49606565", "0.49472144", "0.49243295", "0.491641", "0.49036008", "0.4890488", "0.4880954", "0.4877976", "0.4868306", "0.4866082", "0.48651728", "0.48445916", "0.4834895", "0.48280516", "0.4825567", "0.48225805", "0.48076513", "0.48017406", "0.4776537", "0.4767212", "0.4762762", "0.47501576", "0.47495386", "0.47113684", "0.47056466", "0.4704263", "0.47016442", "0.46971115", "0.46937236", "0.46789286", "0.46721485", "0.46618754", "0.46584457", "0.46511915", "0.46483248", "0.46460903", "0.46438015", "0.46402213", "0.46304813", "0.46260825", "0.46218565", "0.46209642", "0.46168754", "0.46166128", "0.46086988", "0.4607235", "0.46069416", "0.46053353", "0.4582461", "0.45817417", "0.45803407", "0.45749292", "0.45731235", "0.45688012", "0.45676357", "0.45570996", "0.45562854", "0.4553904", "0.45513853", "0.45444518", "0.4536398", "0.45287973", "0.4525968", "0.45226008", "0.4521592", "0.45210296", "0.4519976", "0.45143747", "0.45069295", "0.4503515", "0.45024768", "0.4502013", "0.45017648", "0.4501617", "0.44894662", "0.4486121", "0.44827428", "0.44778484", "0.44725767", "0.44707194", "0.44702885", "0.44626102" ]
0.0
-1
Returns the value of one of the voice parameters. The available parameters are: "pitchShift", "doubleVoice","doubleVoiceLevel" and "doubleVoiceTimeShift"
public Future<Float> getParameter(String pParameterName) throws DynamicCallException, ExecutionException { return call("getParameter", pParameterName); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getVoice() throws DynamicCallException, ExecutionException {\n return (String)call(\"getVoice\").get();\n }", "public Voice getVoice ()\r\n {\r\n return voice;\r\n }", "public Future<String> getVoice() throws DynamicCallException, ExecutionException {\n return call(\"getVoice\");\n }", "public interface Voice {\n\n\t/**\n\t * Plays the specified text as synthesized audio.\n\t * @param text The text to speak.\n\t */\n\tpublic void speak(String text);\n\n\t/**\n\t * Sets the pitch of the voice.\n\t * @param pitch The new voice pitch.\n\t * @throws IllegalArgumentException If the specified voice\n\t * pitch is less than <tt>0</tt>.\n\t */\n\tpublic void setPitch(int pitch);\n\n\t/**\n\t * Sets the volume of the voice.\n\t * @param volume The new volume.\n\t * @throws IllegalArgumentException If the specified voice\n\t * volume is less than <tt>0</tt> or greater than <tt>100</tt>.\n\t */\n\tpublic void setVolume(int volume);\n\n\t/**\n\t * Sets the talk speed of the voice.\n\t * @param wpm The new talk speed in words per minute.\n\t * @throws IllegalArgumentException If the specified voice\n\t * speed is less than <tt>0</tt> or greater than <tt>999</tt>.\n\t */\n\tpublic void setSpeed(int wpm);\n\n}", "public void ResultVoiceIn(EventVoice event);", "speech.multilang.Params.OutputControllerParams getOutputParams();", "double getPitch();", "speech.multilang.Params.ScoringControllerParams.Type getType();", "speech.multilang.Params.OutputControllerParams.Type getType();", "public void ResultVoiceDialog(EventVoice event);", "public void voiceEvent(Voice voice)\r\n {\r\n voiceValue = voice.getVoice();\r\n\r\n getReturnPattern().addElement(voice);\r\n }", "float getPitch();", "float getPitch();", "speech.multilang.Params.ScoringControllerParams getScoringParams();", "public void setContactVoice(String contactVoice) {\n this.contactVoice = contactVoice;\n }", "public abstract void startVoiceRecognition(String language);", "public void ResultVoiceCoincidence(EventVoice event);", "speech.multilang.Params.ForwardingControllerParams.Type getType();", "speech.multilang.Params.DecisionPointParams.Type getType();", "void onAudioLevel(float level);", "int getInputVoltageRaw();", "public String speak(){\n speechOutput.clear();\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Just speak normally into your phone\");\n intent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, 10);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.ENGLISH);\n try {\n startActivityForResult(intent, VOICE_RECOGNITION);\n } catch (ActivityNotFoundException e) {\n e.printStackTrace();\n }\n\n\n return speechResult;\n }", "public String getSpeech() {\n\t\treturn speech;\n\t}", "public int getRemainingVoice() {\n return remainingVoice;\n }", "@DISPID(3) //= 0x3. The runtime will prefer the VTID if present\r\n @VTID(9)\r\n speech.types.SpeechAudioState state();", "public void setVoice(String pVoiceID) throws DynamicCallException, ExecutionException{\n call(\"setVoice\", pVoiceID).get();\n }", "speech.multilang.Params.DecisionPointParams getDecisionPointParams();", "private void setRecognizerParam(SettingParams params) {\n if (mRecognizer == null)\n return;\n //清空所以参数\n mRecognizer.setParameter(SpeechConstant.PARAMS, null);\n //设置听写引擎\n mRecognizer.setParameter(SpeechConstant.ENGINE_TYPE, SpeechConstant.TYPE_CLOUD);\n //设置返回结果格式\n mRecognizer.setParameter(SpeechConstant.RESULT_TYPE, \"json\");\n //设置标点符号 0:无标点 1:有标点\n mRecognizer.setParameter(SpeechConstant.ASR_PTT, \"0\");\n //设置语言\n mRecognizer.setParameter(SpeechConstant.LANGUAGE, params.getRecognizerLanguage());\n //设置发音\n mRecognizer.setParameter(SpeechConstant.ACCENT, params.getRecognizerAccent());\n //设置语音前端点:静音超时时间,即用户多长时间不说话则当做超时处理\n mRecognizer.setParameter(SpeechConstant.VAD_BOS, params.getRecognizerBOS() + \"\");\n //设置语音后端点:后端点静音检测时间,即用户停止说话多长时间内即认为不再输入, 自动停止录音\n mRecognizer.setParameter(SpeechConstant.VAD_EOS, params.getRecognizerEOS() + \"\");\n\n //open translate in english mode\n if (isEnglishEnvironment) {\n mRecognizer.setParameter(SpeechConstant.ASR_SCH, \"0\");\n mRecognizer.setParameter(SpeechConstant.ADD_CAP, \"translate\");\n mRecognizer.setParameter(SpeechConstant.TRS_SRC, \"its\");\n mRecognizer.setParameter(SpeechConstant.ORI_LANG, \"en\");\n mRecognizer.setParameter(SpeechConstant.TRANS_LANG, \"cn\");\n }\n }", "public void setDigitalVoiceValue(String value) {\n setBootenv(ENV_DIGIT_AUDIO, value);\n\n if (PCM.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"0\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_mute\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_on\");\n } else if (RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"1\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_off\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_unmute\");\n } else if (SPDIF_RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"1\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_off\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_unmute\");\n } else if (HDMI_RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"2\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_mute\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_on\");\n }\n }", "speech.multilang.Params.ForwardingControllerParams getForwardingParams();", "int getInputVoltage();", "public interface VoiceManager {\n\n void speak(int requestCode, int speechResourceId, Object... formatArgs);\n\n void speak(int requestCode, int speechResourceId);\n\n void listen(int requestCode);\n\n void shutdown();\n\n void setVoiceManagerListener(VoiceManagerImpl.VoiceManagerListener listener);\n}", "public float getWavelength() {\n/* 52 */ return this.wavelength;\n/* */ }", "public synchronized float getVoltage(){\n\t\t getData(REG_MMXCOMMAND, buf, 1);\n\t\t // 37 is the constant given by Mindsensors support 5/2011 to return millivolts. KPT\n return (37f*(buf[0]&0xff))*.001f;\n\t}", "public Rational getAudioSampleRate();", "public int getAudioDscp();", "public void onVoiceStart(int sampleRates) {\n }", "public String getPitch()\n\t{\n\t\treturn pitch.getText();\n\t}", "private void checkVoiceCommandPermission()\n {\n // Android 6 er uporer version gula te voice neoar capability ache, and they require permissions.\n // that's why we check first the SDK version is above 6 or not\n if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.M)\n {\n // jodi persmission pai voice er then\n if(!(ContextCompat.checkSelfPermission(SmartPlayerActivity.this, Manifest.permission.RECORD_AUDIO) == PackageManager.PERMISSION_GRANTED))\n {\n // we can start the activity\n Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS, Uri.parse(\"package:\" + getPackageName()));\n startActivity(intent);\n finish();\n }\n }\n }", "public int getAudioPort();", "boolean getRecordAudioPref();", "public void recordVoice() {\n\t\t\n\t\t//String command = \"ffmpeg -f alsa -i hw:0 -t 2 -acodec pcm_s16le -ar 16000 -ac 1 foo.wav\"\n\t\tString command = \"arecord -d 2 -r 22050 -c 1 -i -t wav -f s16_LE foo.wav\";\n\t\t\n\t\tProcessBuilder pb = new ProcessBuilder(\"bash\" , \"-c\" , command );\n\t\ttry {\n\t\t\t\n\t\t\tProcess recordProcess = pb.start();\n\t\t\t\n\t\t\trecordProcess.waitFor();\n\t\t\t\n\t\t\trecordProcess.destroy();\n\t\n\t\t\t\n\t\t}catch (IOException ioe) {\n\t\t\tioe.printStackTrace();\n\t\t\t\n\t\t}catch (InterruptedException ie) {\n\t\t\tie.printStackTrace();\n\t\t}\n\t\t\n\t}", "java.lang.String getParameterValue();", "public String getPitchAsString(){ return Integer.toString(this.pitch);}", "public int getAudioJittcomp();", "public Integer getSpeechmode() {\n return speechmode;\n }", "public Float getSpeechDrpr() {\n return speechDrpr;\n }", "@UML(identifier=\"voice\", obligation=OPTIONAL, specification=ISO_19115)\n Collection<String> getVoices();", "public String speak() {\n return \"WOOF\";\n }", "private void speak() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM) ;\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Speak the Item\");\n\n startActivityForResult(intent, SPEECH_REQUEST_CODE);\n\n }", "private void configureVoice(Voice voice) {\n voice.setPitch(configurator.getPitch());\n voice.setVolume(configurator.getVolume());\n voice.setRate(configurator.getRate());\n }", "private void setSynthesizerParam(SettingParams params) {\n if (mSynthesizer == null)\n return;\n //清除所有参数\n mSynthesizer.setParameter(SpeechConstant.PARAMS, null);\n //设置合成引擎\n mSynthesizer.setParameter(SpeechConstant.ENGINE_TYPE, SpeechConstant.TYPE_CLOUD);\n //设置音调\n mSynthesizer.setParameter(SpeechConstant.PITCH, \"50\");\n //设置播放器音频流类型\n mSynthesizer.setParameter(SpeechConstant.STREAM_TYPE, \"3\");\n //设置播放合成音频打断音乐播放,默认为true\n mSynthesizer.setParameter(SpeechConstant.KEY_REQUEST_FOCUS, \"true\");\n //设置合成发言人\n mSynthesizer.setParameter(SpeechConstant.VOICE_NAME, params.getVoiceName());\n //设置语速\n mSynthesizer.setParameter(SpeechConstant.SPEED, params.getVoiceSpeed() + \"\");\n //设置音量\n mSynthesizer.setParameter(SpeechConstant.VOLUME, params.getVoiceVolume() + \"\");\n }", "public String interact() {\n return sound;\n }", "public String getContourRepresentaionOfVoice(final Voice voice);", "public void setWavelength(float wavelength) {\n/* 61 */ this.wavelength = wavelength;\n/* */ }", "public void ResultVoiceOut(EventVoice event);", "public abstract void voiceMessage(Message m);", "public void speak(int word) {\n\t\n\tconditionLock.acquire();\n\t \n\t\twhile(speakerReady == true){\n\t\t\tcondLock.sleep();\n\t\t}\n\t\t//~ else{\n\t\t\tspeakerReady = true;\n\t\t\tdata = word;\n\t\t\n\t\t\tif(listenerReady){\n\t\t\t\n\t\t\t\tdata = word;\n\t\t\t\t\n\t\t\t\t//~ speakerReady = false;\n\t\t\t\t\n\t\t\t\tcondLock.wakeAll();\n\t\t\t}\n\t\t\telse{\n\t\t\t\tcondLock.sleep();\n\t\t\t\t\n\t\t\t\tdata = word;\n\t\t\t\t//~ speakerReady = false;\n\t\t\t}\n\t\t//~ }\n\t\t\n\t \n\tconditionLock.release();\n\t \n\t\n }", "public int getVoltage ()\n {\n return _voltage;\n }", "speech.multilang.Params.MultiRecognizerGrammarMatchList.MultiRecognizerGrammarMatch getGrammarMatch(int index);", "public Float getSpeechShoSrOut() {\n return speechShoSrOut;\n }", "public interface IEventVoiceHandler {\n /**\n * Retorna el resultado del evento VOICE_RESULT_DIALOG\n * @param event objeto de tipo EventVoice\n */\n public void ResultVoiceDialog(EventVoice event);\n /**\n * Retorna el resultado del evento VOICE_RESULT_OUT\n * @param event objeto de tipo EventVoice\n */\n public void ResultVoiceOut(EventVoice event);\n /**\n * Retorna el resultado del evento VOICE_RESULT_IN\n * @param event objeto de tipo EventVoice\n */\n public void ResultVoiceIn(EventVoice event);\n /**\n * Retorna el resultado del evento VOICE_RESULT_COINCIDENCE\n * @param event objeto de tipo EventVoice\n */\n public void ResultVoiceCoincidence(EventVoice event);\n}", "public void makeDecision(String speech , List<WordResult> speechWords) {\r\n\t\tVoiceManager vm =VoiceManager.getInstance();\r\n\t\tVoice voice;\r\n\t\tvoice=vm.getVoice(\"mbrola_us3\");\r\n\t\tvoice.allocate();\r\n\t\tSystem.out.println(speech);\r\n\t\t//System.out.println(speech+\"fdsf\");\r\n\t\t if(speech.equalsIgnoreCase(\"shutdown computer\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\" Shuting down the computer\");\r\n\t\t \tRuntime rm=Runtime.getRuntime();\r\n\t\t\t\ttry{\r\n\t\t\t\t\tProcess proc=rm.exec(\"shutdown -s -t 0\");\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e)\r\n\t\t\t\t{}\r\n\t\t\t\t\r\n\r\n\t\t \t}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"restart computer\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"restarting the computer\");\r\n\t\t \tRuntime rm=Runtime.getRuntime();\r\n\t\t\t\ttry{\r\n\t\t\t\t\tProcess proc=rm.exec(\"shutdown -r -t 0\");\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e)\r\n\t\t\t\t{}\r\n\t\t\t\t\r\n\t\t \t}\r\n\t\t \tcatch(Exception e)\r\n\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\t else if(speech.equalsIgnoreCase(\"who is smart\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"Abhay bhadouriya is smartest person alive in this world\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who is ugly\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"your sister and friends are the most ugliest persons in the world \");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"what is time\"))\r\n\t\t {\r\n\t\t \tDate dm=new Date();\r\n\t\t \tint h=dm.getHours();\r\n\t\t \tint m=dm.getMinutes();\r\n\t\t \tif(h>12)\r\n\t\t \t{\r\n\t\t \t\th=h-12;\r\n\t\t \t}\r\n\t\t \t\r\n\t\t \ttry {voice.speak(\"TIME is\"+h+\"Hour\"+m+\"Minutes\" );}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"say hello \"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"Hello this is your computer\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"please sleep\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"no i don't wont to sleep\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open facebook\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"facebook\");\r\n\t\t \t FUNC.facebook();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open google\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"google\");\r\n\t\t \t FUNC.google();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open youtube\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"youtube\");\r\n\t\t \t FUNC.youtube();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open gmail\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"gmail\");\r\n\t\t \t FUNC.gmail();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"play music\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"music\");\r\n\t\t \t FUNC.pmusic();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"volume up\"))\r\n\t\t {\r\n\t\t \tvoice.speak(\"volume increasing by 10\");\r\n\t\t \t\tvolume.up();\r\n\t\t \t\t\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"volume down\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t\t voice.speak(\"volume decreasing by 10\");\r\n\t \t\tvolume.down();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"show desktop\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"Showing desktop\");\r\n\t\t\t FUNC.desktop();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"how are you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"i'm fine and you \");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"what day is today\"))\r\n\t\t {\r\n\t\t\t Date dd=new Date();\r\n\t\t\t int i=dd.getDay();\r\n\t\t\t\tif(i==0)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is sunday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==1)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is monday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==2)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is tuesday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==3)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is wednesday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==4)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is thursday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==5)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is friday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==6)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is saturday\");\r\n\t\t\t\t}\r\n\t\t\t \r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to right\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.right();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to left\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.left();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to up\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t emotion.up();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to down\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.down();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"select this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.select();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"view its property\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.property();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"view item menu\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.viewmenu();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on mouse by keyboard\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.turnon();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close this window tab\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.close();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"switch window tab\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.switcht();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"ok dude take some rest\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t voice.speak(\"have a nice day\");\r\n\t\t\t voice.speak(\"i'm very lucky to have a master like you sir \");\r\n\t\t\t voice.speak(\"good night my suprier great master\");\r\n\t\t\t System.exit(0);\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn off wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on bluetooth\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t try{\r\n\t \t\t Process p ;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c fsquirt\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the notepad\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start notepad\");\r\n\t \t\t // System.out.println(\"inside\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t } else if(speech.equalsIgnoreCase(\"close the notepad\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im notepad.exe /f\");\r\n\t \t\t // System.out.println(\"inside\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the command\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t\t\tProcess p;\r\n\t \t\t\t\tp = Runtime.getRuntime().exec(\"cmd /c start cmd\");\t\t\t\t\r\n\t \t\t\t\t}catch(Exception er)\r\n\t \t\t\t\t{}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the command\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im cmd.exe /f\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the browser\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start chrome.exe\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the browser\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im chrome.exe /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the control panel\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c control\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the control panel\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c control taskkill /im control /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the paint\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start mspaint\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the paint\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im mspaint.exe /f\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the task manager\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start taskmgr.exe\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the task manager\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t \tp = Runtime.getRuntime().exec(\"cmd /c start taskkill /im taskmgr.exe /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open power option\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c powercfg.cpl\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open windows security center\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c wscui.cpl\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"copy this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok item is copied\");\r\n\t\t\t basiccontrolls.copy();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"paste here selected item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"item is pasted\");\r\n\t\t\t basiccontrolls.paste();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"cut this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok item is cut\");\r\n\t\t\t basiccontrolls.cut();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"go back\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok going to previous page\");\r\n\t\t\t basiccontrolls.back();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"show me my beautiful face\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"you look like a donkey\");\r\n\t\t\t basiccontrolls.camera();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who the hell are you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"hello\");\r\n\t\t\t voice.speak(\"i am computer \");\r\n\t\t\t voice.speak(\"here i'm assist by you \");\r\n\t\t\t voice.speak(\"i will do anything what ever you told me todo and \"+\" \"+\" what instruction are feeded in my dictionary\");\r\n\t\t\t voice.speak(\"Thank you for asking \");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who loves you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"no one loves me \");\r\n\t\t\t voice.speak(\"except my charger \");\r\n\t\t\t voice.speak(\"but more impoertantly i looks far handsome than you \");\r\n\t\t\t voice.speak(\"you peace of shit \");\r\n\t\t\t voice.speak(\"your face is look like a monkey\");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"do you like engineering\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"no\");\r\n\t\t\t voice.speak(\"I hate engineering\");\r\n\t\t\t voice.speak(\"you ruined my life \");\r\n\t\t }\r\n\t\t/* else if(speech.equalsIgnoreCase(\"turn off wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }*/\r\n\r\n\t}", "@java.lang.Override\n public int getSpeechEventTypeValue() {\n return speechEventType_;\n }", "int getOutputVoltageRaw();", "@Override\n public String speak()\n {\n return \"Neigh\";\n }", "public java.lang.Short getSipParamType() {\r\n return sipParamType;\r\n }", "public String getWavelength() {\n InstPhoenix inst = (InstPhoenix) _oe.getInstrument();\n return inst.getGratingWavelengthAsString();\n }", "public int /* sound_sample */output() {\n\t\treturn Vo;\n\t}", "public Voice(String name){\r\n this.name = name;\r\n }", "public float getPlaybackGainDb();", "@Override\n\tpublic String addVoice(String voiceFileName) throws Exception {\n\t\treturn null;\n\t}", "double getPlaybackSpeed();", "void speechToTextFuncVoiceForPurchase(Context context, EditText editText, int dataType, ImageView micImage, int valueforValidate) {\n if (Utility.getInstance().isOnline(mContext)) {\n int value = checkPermission(mContext, Manifest.permission.RECORD_AUDIO, RECORD_AUDIO_PERMISSION_REQUEST_CODE);\n if (value == 1) {\n mSpeechRecognizer = SpeechRecognizer.createSpeechRecognizer(mContext);\n mSpeechRecognizerIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n mSpeechRecognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n String languageCode = Utility.getInstance().getLanguage(mContext);\n // Locale current = getResources().getConfiguration().locale;\n if (languageCode.matches(langaugeCodeEnglish)) {\n mSpeechRecognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, \"en_US\");\n } else if (languageCode.matches(languageCodeMarathi)) {\n mSpeechRecognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, \"mr_IN\");\n } else {\n mSpeechRecognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, \"en_US\");\n setError(\"BaseFragmnet : speechToTextFunc Has problem\");\n }\n mSpeechRecognizer.setRecognitionListener(new RecognitionListener() {\n @Override\n public void onReadyForSpeech(Bundle params) {\n if (isVisible()) {\n micImage.setColorFilter(getResources().getColor(android.R.color.holo_green_light), PorterDuff.Mode.SRC_IN);\n if (editText != null) {\n editText.getBackground().setColorFilter(getResources().getColor(android.R.color.holo_green_light),\n PorterDuff.Mode.SRC_ATOP);\n }\n }\n }\n\n @Override\n public void onBeginningOfSpeech() {\n\n }\n\n @Override\n public void onRmsChanged(float rmsdB) {\n\n }\n\n @Override\n public void onBufferReceived(byte[] buffer) {\n\n }\n\n @Override\n public void onEndOfSpeech() {\n if (isVisible()) {\n micImage.setColorFilter(getResources().getColor(android.R.color.black), PorterDuff.Mode.SRC_IN);\n if (editText != null) {\n editText.getBackground().setColorFilter(getResources().getColor(android.R.color.black),\n PorterDuff.Mode.SRC_ATOP);\n }\n }\n }\n\n @Override\n public void onError(int error) {\n\n }\n\n @Override\n public void onResults(Bundle results) {\n if (isVisible()) {\n ArrayList<String> matches = results.getStringArrayList(SpeechRecognizer.RESULTS_RECOGNITION);\n if (matches.get(0).toString().toLowerCase().contains(getString(R.string.save).toString().toLowerCase())) {\n boolean valueStatus = validatePuchase();\n if (valueStatus) {\n createPurchaseRequest(flowpurchaseReceivedOrPaid);\n }\n } else if (matches.get(0).toString().toLowerCase().contains(getString(R.string.cancel_two).toString().toLowerCase())) {\n dialog.dismiss();\n dialog.dismiss();\n dialog.dismiss();\n if (textToSpeech != null) {\n textToSpeech.stop();\n }\n Toast.makeText(mContext, getString(R.string.transaction_cancelled), Toast.LENGTH_SHORT).show();\n speak(getString(R.string.transaction_cancelled), \"\");\n }\n if (editText != null) {\n if (dataType == 1) {\n editText.setText(matches.get(0));\n } else {\n for (int i = 0; i < matches.size(); i++) {\n if (matches.get(i).matches(\"^[0-9]*$\")) {\n editText.setText(matches.get(i));\n }\n }\n }\n\n\n //Ankur\n boolean valueValidate = validatePuchase();\n if (valueValidate) {\n speak(getString(R.string.please_say_save_or_cancel), \"\");\n new Handler().postDelayed(() -> {\n speechToTextFuncVoiceForPurchase(mContext, null, 3, imageviewMicSaveCancel, 2);\n }, 3000);\n }\n\n }\n }\n }\n\n @Override\n public void onPartialResults(Bundle partialResults) {\n\n }\n\n @Override\n public void onEvent(int eventType, Bundle params) {\n\n }\n });\n\n if (dialog.isShowing()) {\n mSpeechRecognizer.startListening(mSpeechRecognizerIntent);\n }\n } else if (value == 2) {\n displayNeverAskAgainDialog(mContext, getString(R.string.We_need_permission_Audio));\n }\n } else {\n Toast.makeText(context, getString(R.string.please_check_internet), Toast.LENGTH_SHORT).show();\n }\n }", "int getOutputVoltage();", "public Integer getSpeechThreshold() {\n return this.speechThreshold;\n }", "int getTelecommutePreferenceValue();", "private void ConvertTextToSpeech(String voice1) {\n text=voice1;\n //text = et.getText().toString();\n if (text == null || \"\".equals(text)) {\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n } else\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", "@Override\n public void valueChanged(String control_val) {\n if (samplePlayer.isPaused()) {\n // our string will be hh:mm:ss.m\n try {\n String[] units = control_val.split(\":\"); //will break the string up into an array\n int hours = Integer.parseInt(units[0]); //first element\n int minutes = Integer.parseInt(units[1]); //second element\n float seconds = Float.parseFloat(units[2]); // thirsd element\n float audio_seconds = 360 * hours + 60 * minutes + seconds; //add up our values\n\n float audio_position = audio_seconds * 1000;\n setAudioSliderPosition(audio_position);\n } catch (Exception ex) {\n }\n }\n // Write your DynamicControl code above this line \n }", "public void speakModeHint()\n {\n // speak hint text\n if (getHintsEnabled()) {\n if (mCurrentMode) {\n AudioService.getInstance().speak(getResources().getString(R.string.read_mode_hint_general));\n }\n else {\n AudioService.getInstance().speak(getResources().getString(R.string.search_mode_hint_general));\n }\n }\n }", "protected abstract void getPotentiometerValue(int value, int channelNo);", "@Override\n public String speak()\n {\n return \"peep\";\n }", "@Override\n public void onGetVoicePackage(byte[] pack, String getArgs) {\n }", "void playSpeech(String rawText);", "public String getSpeechResult(String hypothesis){\n\n\n String[] arrayOfStrings = hypothesis.split(\"text\\\" :\");\n String textPredicted = arrayOfStrings[1];\n\n arrayOfStrings = textPredicted.split(\"\\\"\");\n textPredicted = arrayOfStrings[1];\n\n return textPredicted;\n }", "Parameter getParameter();", "public String getParameter(String name) throws IllegalArgumentException {\n\t if ( LogWriter.needsLogging(LogWriter.TRACE_DEBUG))\n LogWriter.logMessage(LogWriter.TRACE_DEBUG, \"getParameter() \" \n\t\t+ name);\n Via via=(Via)sipHeader;\n \n if (name == null) throw new\n IllegalArgumentException(\"JAIN-EXCEPTION: null argument\");\n return via.getParameter(name);\n }", "String sound();", "String getOscTarget();", "public float getMicGainDb();", "double getPWMRate();", "public String getParameterValue(String key) {\n\t\treturn libraryParameter.get(key);\n\t}", "private AudioFormat getAudioFormat(String s)\n\t{\n float sampleRate = 16000.0F;\n int sampleSizeBits = 16;\n int channels = 1;\n boolean signed = true;\n boolean bigEndian = false;\n\n \n \n //examples:\n //swimwater1.wav: PCM_SIGNED 22050.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian\n //test.wav: PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian\n \n //store different aspects in differents strings\n String lastValue=\"\";\n String sampleRateString=\"\";\n String sampleSizeBitsString=\"\";\n String channelsString=\"\";\n String signedString=\"\";\n String bigEndianString=\"\";\n \n for (char ch : s.toCharArray())\n {\n //System.out.print(ch);\n \n if(ch!=',')//komma= nächste wert\n {\n \tif(ch!=' ')\n \t\tlastValue+=ch;\n }\n else\n {\n \tif(sampleRateString.isEmpty()) sampleRateString=lastValue;\n \telse if(sampleSizeBitsString.isEmpty()) sampleSizeBitsString=lastValue;\n \telse if(channelsString.isEmpty()) channelsString=lastValue;\n \telse if(signedString.isEmpty()) signedString=lastValue;\n \t\n \tlastValue=\"\";\n }\n }\n if(bigEndianString.isEmpty()) bigEndianString=lastValue;\n\n //interpret those strings\n\n //sampleRate\n String temp=\"\";\n for (char ch : sampleRateString.toCharArray())\n {\n if((ch>='0' && ch<='9'))\n {\n \ttemp+=ch;\n }\n else if(ch=='.')\n \tbreak;\n }\n sampleRate=(float)Integer.parseInt(temp);\n\n //sampleSizeBits\n temp=\"\";\n for (char ch : sampleSizeBitsString.toCharArray())\n {\n if(ch>='0' && ch<='9')\n {\n \ttemp+=ch;\n }\n }\n sampleSizeBits=Integer.parseInt(temp);\n\n //channels\n if(channelsString.contains(\"mono\"))\n \tchannels=1;\n else if(channelsString.contains(\"stereo\"))\n \tchannels=2;\n \n //signed\n signed=true;\n \n //bigEndian\n if(bigEndianString.contains(\"little-endian\"))\n \tbigEndian=false;\n else bigEndian=true;\n \n \n /*System.out.println();\n System.out.println(sampleRate);\n System.out.println(sampleSizeBits);\n System.out.println(channels);\n System.out.println(signed);\n System.out.println(bigEndian);*/\n \n return new AudioFormat(sampleRate, sampleSizeBits, channels, signed, bigEndian);\n }", "public Future<Void> setVoice(String pVoiceID) throws DynamicCallException, ExecutionException{\n return call(\"setVoice\", pVoiceID);\n }", "public Chord getPreviousChordInVoice ()\r\n {\r\n return voice.getPreviousChord(this);\r\n }", "public void setVibrationOn() {\n\n }", "public interface VolumeControl\n{\n /**\n * The name of the configuration property which specifies the volume level\n * of audio input.\n */\n public final static String CAPTURE_VOLUME_LEVEL_PROPERTY_NAME\n = \"net.java.sip.communicator.service.media.CAPTURE_VOLUME_LEVEL\";\n\n /**\n * The name of the configuration property which specifies the volume level\n * of audio output.\n */\n public final static String PLAYBACK_VOLUME_LEVEL_PROPERTY_NAME\n = \"net.java.sip.communicator.service.media.PLAYBACK_VOLUME_LEVEL\";\n\n /**\n * Current volume value.\n * @return the current volume level.\n */\n public float getVolume();\n\n /**\n * Returns the minimum allowed volume value.\n * @return the minimum allowed volume value.\n */\n public float getMinValue();\n\n /**\n * Returns the maximum allowed volume value.\n * @return the maximum allowed volume value.\n */\n public float getMaxValue();\n\n /**\n * Changes volume level.\n * @param value the new level to set.\n * @return the actual level which was set.\n */\n public float setVolume(float value);\n\n /**\n * Mutes current sound playback.\n * @param mute mutes/unmutes playback.\n */\n public void setMute(boolean mute);\n\n /**\n * Get mute state of sound playback.\n * @return mute state of sound playback.\n */\n public boolean getMute();\n\n /**\n * Adds a <tt>VolumeChangeListener</tt> to be informed for any change\n * in the volume levels.\n *\n * @param listener volume change listener.\n */\n public void addVolumeChangeListener(VolumeChangeListener listener);\n\n /**\n * Removes a <tt>VolumeChangeListener</tt>.\n * @param listener the volume change listener to be removed.\n */\n public void removeVolumeChangeListener(VolumeChangeListener listener);\n}", "public void speak(String text);", "public abstract void grantVoice(String nickname);", "@java.lang.Override\n public int getSpeechEventTypeValue() {\n return speechEventType_;\n }", "String getExampleParameters();" ]
[ "0.64604443", "0.6097669", "0.58465827", "0.57223", "0.5670699", "0.54806066", "0.5443312", "0.54135567", "0.5405417", "0.53891444", "0.5386275", "0.5339111", "0.5339111", "0.52850467", "0.5250201", "0.52111924", "0.5205253", "0.51885444", "0.51863426", "0.51690143", "0.51576155", "0.5126461", "0.51184976", "0.51056737", "0.5095253", "0.508286", "0.5079059", "0.50782955", "0.5045067", "0.5030424", "0.5009463", "0.5007728", "0.49946854", "0.49878156", "0.49873015", "0.49618906", "0.49589622", "0.49586675", "0.4952984", "0.4947057", "0.4940295", "0.4927738", "0.4907574", "0.48991504", "0.48867062", "0.4876282", "0.48746485", "0.48641387", "0.48624173", "0.4854124", "0.48522004", "0.48458946", "0.48292735", "0.4809748", "0.48095694", "0.47935927", "0.47920075", "0.47590813", "0.4737919", "0.47369257", "0.4736746", "0.4736577", "0.47282374", "0.47009504", "0.46966103", "0.46866378", "0.46847615", "0.46775436", "0.46773815", "0.46715263", "0.46629608", "0.46589458", "0.46575648", "0.46543205", "0.46503705", "0.4648484", "0.4648356", "0.46479437", "0.46413144", "0.46395162", "0.4638922", "0.46352312", "0.46244067", "0.46170017", "0.46155548", "0.46124646", "0.45979667", "0.459277", "0.45872772", "0.4587164", "0.4577569", "0.4565719", "0.4562741", "0.45588318", "0.4552165", "0.45518678", "0.45517308", "0.45516488", "0.4545932", "0.45447257", "0.4543792" ]
0.0
-1
Changes the voice used by the texttospeech engine. The voice identifier must belong to the installed voices, that can be listed using the 'getAvailableVoices' method. If the voice is not available, it remains unchanged. No exception is thrown in this case. For the time being, only two voices are available by default : Kenny22Enhanced (English voice) and Julie22Enhanced (French voice)
public Future<Void> setVoice(String pVoiceID) throws DynamicCallException, ExecutionException{ return call("setVoice", pVoiceID); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void changeVoice(String voice) throws IOException{\r\n\t\tFile failed = new File(\".festivalrc\");\r\n\t\t//If file does not exist, create new file\r\n\t\tif(!failed.exists()) {\r\n\t\t\tfailed.createNewFile();\r\n\t\t} \r\n\r\n\t\t//Appending the word to the file\r\n\t\tWriter output;\r\n\t\toutput = new BufferedWriter(new FileWriter(failed,false)); \r\n\t\toutput.append(\"(set! voice_default '\"+voice +\")\");\r\n\t\toutput.close();\r\n\t}", "public void setVoice(String pVoiceID) throws DynamicCallException, ExecutionException{\n call(\"setVoice\", pVoiceID).get();\n }", "public void setVoice (Voice voice)\r\n {\r\n // Already done?\r\n if (this.voice == null) {\r\n final String contextString = getContextString();\r\n logger.debug(\"{} Ch#{} setVoice {}\",\r\n contextString, id, voice.getId());\r\n\r\n this.voice = voice;\r\n\r\n // Update the voice entity\r\n if (!isWholeDuration()) {\r\n if (slot != null) {\r\n voice.setSlotInfo(\r\n slot,\r\n new VoiceChord(this, Voice.Status.BEGIN));\r\n }\r\n\r\n // Extend this info to other grouped chords if any\r\n BeamGroup group = getBeamGroup();\r\n\r\n if (group != null) {\r\n logger.debug(\r\n \"{} Ch#{} extending voice#{} to group#{}\",\r\n contextString, id, voice.getId(), group.getId());\r\n\r\n group.setVoice(voice);\r\n }\r\n\r\n // Extend to the following tied chords as well\r\n List<Chord> tied = getFollowingTiedChords();\r\n\r\n for (Chord chord : tied) {\r\n logger.debug(\"{} tied to {}\", this, chord);\r\n\r\n // Check the tied chords belong to the same measure\r\n if (this.getMeasure() == chord.getMeasure()) {\r\n logger.debug(\r\n \"{} Ch#{} extending voice#{} to tied chord#{}\",\r\n contextString, id, voice.getId(), chord.getId());\r\n\r\n chord.setVoice(voice);\r\n } else {\r\n // Chords tied across measure boundary\r\n logger.debug(\"{} Cross tie {} -> {}\",\r\n contextString,\r\n toShortString(), chord.toShortString());\r\n }\r\n }\r\n }\r\n } else if (this.voice != voice) {\r\n addError(\r\n \"Chord. Attempt to reassign voice from \" + this.voice.\r\n getId()\r\n + \" to \" + voice.getId() + \" in \" + this);\r\n } else {\r\n if (!isWholeDuration()) {\r\n if (slot != null) {\r\n voice.setSlotInfo(\r\n slot,\r\n new VoiceChord(this, Voice.Status.BEGIN));\r\n }\r\n }\r\n }\r\n }", "public interface Voice {\n\n\t/**\n\t * Plays the specified text as synthesized audio.\n\t * @param text The text to speak.\n\t */\n\tpublic void speak(String text);\n\n\t/**\n\t * Sets the pitch of the voice.\n\t * @param pitch The new voice pitch.\n\t * @throws IllegalArgumentException If the specified voice\n\t * pitch is less than <tt>0</tt>.\n\t */\n\tpublic void setPitch(int pitch);\n\n\t/**\n\t * Sets the volume of the voice.\n\t * @param volume The new volume.\n\t * @throws IllegalArgumentException If the specified voice\n\t * volume is less than <tt>0</tt> or greater than <tt>100</tt>.\n\t */\n\tpublic void setVolume(int volume);\n\n\t/**\n\t * Sets the talk speed of the voice.\n\t * @param wpm The new talk speed in words per minute.\n\t * @throws IllegalArgumentException If the specified voice\n\t * speed is less than <tt>0</tt> or greater than <tt>999</tt>.\n\t */\n\tpublic void setSpeed(int wpm);\n\n}", "public void setContactVoice(String contactVoice) {\n this.contactVoice = contactVoice;\n }", "public interface VoiceManager {\n\n void speak(int requestCode, int speechResourceId, Object... formatArgs);\n\n void speak(int requestCode, int speechResourceId);\n\n void listen(int requestCode);\n\n void shutdown();\n\n void setVoiceManagerListener(VoiceManagerImpl.VoiceManagerListener listener);\n}", "private void setupChangeVoice() {\n\t\tFestivalVoice[] voices={FestivalVoice.Kiwi, FestivalVoice.British, FestivalVoice.American};\n\t\tfinal JComboBox voice_chooser = new JComboBox(voices);\n\t\tvoice_chooser.setFont(new Font(\"Arial\", Font.PLAIN, 20));\n\t\tvoice_chooser.setForeground(Color.BLACK);\n\t\tvoice_chooser.setBackground(Color.WHITE);\n\n\t\t//set shown item to be the current voice\n\t\tvoice_chooser.setSelectedItem(parent_frame.getFestival().getFestivalVoice());\n\t\tvoice_chooser.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tinput_from_user.requestFocusInWindow();//gets focus back to the spell here field\n\t\t\t\tif((FestivalVoice)voice_chooser.getSelectedItem()!=null){\n\t\t\t\t\tparent_frame.getFestival().setFestivalVoice((FestivalVoice)voice_chooser.getSelectedItem());\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tvoice_chooser.setBounds(919, 600, 154, 40);\n\t\tadd(voice_chooser);\n\t}", "private void ConvertTextToSpeech(String voice1) {\n text=voice1;\n //text = et.getText().toString();\n if (text == null || \"\".equals(text)) {\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n } else\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", "private void configureVoice(Voice voice) {\n voice.setPitch(configurator.getPitch());\n voice.setVolume(configurator.getVolume());\n voice.setRate(configurator.getRate());\n }", "public void startVoiceRecognition() {\n startVoiceRecognition(null);\n }", "public abstract void startVoiceRecognition(String language);", "public void setRemainingVoice(int value) {\n this.remainingVoice = value;\n }", "public Voice getVoice ()\r\n {\r\n return voice;\r\n }", "private void speak() {\n if(textToSpeech != null && textToSpeech.isSpeaking()) {\n textToSpeech.stop();\n }else{\n textToSpeech = new TextToSpeech(activity, this);\n }\n }", "public String getVoice() throws DynamicCallException, ExecutionException {\n return (String)call(\"getVoice\").get();\n }", "public abstract void grantVoice(String nickname);", "private void setTextTospeech() {\n textToSpeech = new TextToSpeech(mContext, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n Set<Locale> languages = textToSpeech.getAvailableLanguages();\n if (language.toLowerCase().contains(langaugeCodeEnglish)) {\n int result = textToSpeech.setLanguage(new Locale(\"en\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n //Toast.makeText(mContext, result + \" is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n }\n } else {\n int result = textToSpeech.setLanguage(new Locale(\"hi\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n result = textToSpeech.setLanguage(Locale.forLanguageTag(\"hin\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n\n // Toast.makeText(mContext, result + \"Language is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \"Language is not supported\");\n }\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n if (result == TextToSpeech.LANG_NOT_SUPPORTED) {\n showTtsLanuageNSDialog();\n }\n }\n }\n }\n });\n }", "public Future<String> getVoice() throws DynamicCallException, ExecutionException {\n return call(\"getVoice\");\n }", "private void speak() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM) ;\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Speak the Item\");\n\n startActivityForResult(intent, SPEECH_REQUEST_CODE);\n\n }", "public void setDigitalVoiceValue(String value) {\n setBootenv(ENV_DIGIT_AUDIO, value);\n\n if (PCM.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"0\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_mute\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_on\");\n } else if (RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"1\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_off\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_unmute\");\n } else if (SPDIF_RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"1\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_off\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_unmute\");\n } else if (HDMI_RAW.equals(value)) {\n writeSysfs(SYS_DIGITAL_RAW, \"2\");\n writeSysfs(SYS_AUIDO_SPDIF, \"spdif_mute\");\n writeSysfs(SYS_AUIDO_HDMI, \"audio_on\");\n }\n }", "@Override\n\tpublic String addVoice(String voiceFileName) throws Exception {\n\t\treturn null;\n\t}", "private void startVoiceRecognitionActivity() {\n\t\t// Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\t\t// intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n\t\t// RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n\t\t// intent.putExtra(RecognizerIntent.EXTRA_PROMPT,\n\t\t// \"Diga o valor do produto\");\n\t\t// intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_PREFERENCE, \"pt-BR\");\n\t\t// // intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_PREFERENCE,\n\t\t// \"en-US\");\n\t\t// intent.putExtra(RecognizerIntent.EXTRA_ONLY_RETURN_LANGUAGE_PREFERENCE,\n\t\t// true);\n\t\t// startActivityForResult(intent, VOICE_RECOGNITION_REQUEST_CODE);\n\t\tUtils.startVoiceRecognitionActivity(this, Utils.nomeProdutoMessage);\n\t}", "public ApplicationCreator setVoiceUrl(final String voiceUrl) {\n return setVoiceUrl(Promoter.uriFromString(voiceUrl));\n }", "private void ConvertTextToSpeech() {\n if (properties.get(selectedStateOrCountry) != null) {\n tts.speak(String.format(\"This is %s %s\", selectedStateOrCountry, properties.get(selectedStateOrCountry)),\n TextToSpeech.QUEUE_FLUSH, null);\n\n } else if (countryCapitalMap.get(selectedStateOrCountry) != null) {\n tts.speak(countryCapitalMap.get(selectedStateOrCountry), TextToSpeech.QUEUE_FLUSH, null);\n } else {\n tts.speak(selectedStateOrCountry, TextToSpeech.QUEUE_FLUSH, null);\n }\n }", "public static void speak(Context context, final String text) {\n Log.d(TAG, \"Speak : \" + text);\n if (mTTSEngine == null) {\n mTTSEngine = new TextToSpeech(context, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int i) {\n if (i == TextToSpeech.SUCCESS) {\n mTTSEngine.setLanguage(Locale.US);\n mTTSEngine.setPitch(1f);\n mTTSEngine.setSpeechRate(1f);\n\n mTTSEngine.speak(text, TextToSpeech.QUEUE_ADD, null, UTTERANCE_ID);\n } else {\n mTTSEngine = null;\n }\n }\n });\n } else {\n mTTSEngine.speak(text, TextToSpeech.QUEUE_ADD, null, UTTERANCE_ID);\n }\n }", "public void addSentVoice(Voice voice) {\n this.getState().sentVoice(voice);\n }", "public void onSpeak(View v)\n\t{\n\t\tstartVoiceRecognitionActivity();\n\t}", "public void ResultVoiceIn(EventVoice event);", "public Voice(String name){\r\n this.name = name;\r\n }", "private void startVoiceRecognitionActivity() {\n\t\tIntent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\t\tintent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n\t\tintent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"What food are you stocking right now?\");\n\t\tstartActivityForResult(intent, SPEECH_REQCODE);\n\t}", "public void setApplicationContext(Context cx)\n {\n context = new WeakReference<>(cx);\n\n if(context.get() != null && voices == null)\n {\n // Create an array with uri:s\n voices = new Uri[VoiceID.VID_MAX_NUM_ENUMS.ordinal()];\n\n // And create these only once\n voices[VoiceID.VID_WELCOME_TO_THE_NEWSPAPER.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p001);\n voices[VoiceID.VID_ONE_MOMENT_NEWSPAPER_LOADING.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p002);\n voices[VoiceID.VID_CONTINUING.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p004);\n voices[VoiceID.VID_PAUSING.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p005);\n voices[VoiceID.VID_NEXT_ARTICLE.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p006);\n voices[VoiceID.VID_PREVIOUS_ARTICLE.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p007);\n voices[VoiceID.VID_NEXT_NEWSPAPER.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p008);\n voices[VoiceID.VID_PREVIOUS_NEWSPAPER.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p009);\n voices[VoiceID.VID_YOU_HAVE_REACHED_THE_END_OF_THE_NEWSPAPER.ordinal()] = Uri.parse(\"android.resource://\" + context.get().getPackageName() + \"/\" + R.raw.p013);\n }\n }", "public void onClick(View v) {\n speechRecognizer.startListening(speechRecognizerIntent);\n Toast.makeText( getActivity(),\"Voice\", Toast.LENGTH_SHORT).show();\n }", "@Override\n public void onClick(View v) {\n text_to_speech = set_voice(text_to_speech);\n int len = ar.length;\n for (int i = 0; i < len; i++){\n speak(text_to_speech,ar[i]);\n }\n }", "private void convertTextToSpeech(String text) {\n if (null == text || \"\".equals(text)) {\n text = \"Please give some input.\";\n }\n m_tts.speak(text, TextToSpeech.QUEUE_ADD, null);\n }", "public void ResultVoiceDialog(EventVoice event);", "public interface ITextToSpeech {\n\n /* loaded from: classes.dex */\n public interface TextToSpeechCallback {\n void onFailure();\n\n void onSuccess();\n }\n\n boolean isInitialized();\n\n int isLanguageAvailable(Locale locale);\n\n void onDestroy();\n\n void onResume();\n\n void onStop();\n\n void setPitch(float f);\n\n void setSpeechRate(float f);\n\n void speak(String str, Locale locale);\n}", "public String speak(){\n speechOutput.clear();\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Just speak normally into your phone\");\n intent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, 10);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.ENGLISH);\n try {\n startActivityForResult(intent, VOICE_RECOGNITION);\n } catch (ActivityNotFoundException e) {\n e.printStackTrace();\n }\n\n\n return speechResult;\n }", "public Future<Void> setLanguageDefaultVoice(String Language, String Voice) throws DynamicCallException, ExecutionException{\n return call(\"setLanguageDefaultVoice\", Language, Voice);\n }", "public void speakButtonClicked(View v)\n {\n startVoiceRecognitionActivity();\n }", "public void addSentVoice(Voice voice) {\n\t\taddCommunicationSent(voice);\n\t}", "public ApplicationCreator setVoiceUrl(final URI voiceUrl) {\n this.voiceUrl = voiceUrl;\n return this;\n }", "private void init() {\n if (!isInitiated) {\n //Voices use by freeTTS, we define where they are, currently in the java en_us.jar\n //add the package\n addToSystemesPropetites(this.configurator.getLocation());\n\n // The VoiceManager manages all the voices for FreeTTS.\n voiceManager = VoiceManager.getInstance();\n\n this.defaultVoice = voiceManager.getVoice(this.configurator.getName());\n\n configureVoice(this.defaultVoice);\n\n // Allocates the resources for the voice.\n this.defaultVoice.allocate();\n isInitiated = true;\n }\n }", "public void setVoiceEffect(int effectIndex) {\n mRtcEngine.setAudioEffectPreset(VOICE_EFFECTS[effectIndex]);\n }", "private void updateVoiceNumberField() {\n if (mSubMenuVoicemailSettings == null) {\n return;\n }\n \n mOldVmNumber = mPhone.getVoiceMailNumber();\n if (mOldVmNumber == null) {\n mOldVmNumber = \"\";\n }\n mSubMenuVoicemailSettings.setPhoneNumber(mOldVmNumber);\n final String summary = (mOldVmNumber.length() > 0) ? mOldVmNumber :\n getString(R.string.voicemail_number_not_set);\n mSubMenuVoicemailSettings.setSummary(summary);\n }", "@UML(identifier=\"voice\", obligation=OPTIONAL, specification=ISO_19115)\n Collection<String> getVoices();", "void playSpeech(String rawText);", "public void speak(String text);", "private void listenVoiceCall() {\n final String username = MyAccount.getInstance().getName();\n final String topic = String.format(\"voice/%s\", username);\n new Subscriber(topic, username)\n .setNewMessageListener(new SubscribedTopicListener() {\n @Override\n public void onReceive(DataTransfer message) {\n String action = message.data.toString();\n switch (action) {\n case Constants.VOICE_REQUEST:\n onReceiveVoiceRequest(message);\n break;\n\n case Constants.VOICE_ACCEPT:\n hideCallingPane();\n onReceiveVoiceAccept(message);\n break;\n\n case Constants.VOICE_REJECT:\n hideCallingPane();\n onReceiveVoiceReject(message);\n break;\n\n case Constants.VOICE_QUIT:\n onReceiveVoiceQuit(message);\n\n }\n }\n })\n .listen();\n }", "public void makeDecision(String speech , List<WordResult> speechWords) {\r\n\t\tVoiceManager vm =VoiceManager.getInstance();\r\n\t\tVoice voice;\r\n\t\tvoice=vm.getVoice(\"mbrola_us3\");\r\n\t\tvoice.allocate();\r\n\t\tSystem.out.println(speech);\r\n\t\t//System.out.println(speech+\"fdsf\");\r\n\t\t if(speech.equalsIgnoreCase(\"shutdown computer\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\" Shuting down the computer\");\r\n\t\t \tRuntime rm=Runtime.getRuntime();\r\n\t\t\t\ttry{\r\n\t\t\t\t\tProcess proc=rm.exec(\"shutdown -s -t 0\");\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e)\r\n\t\t\t\t{}\r\n\t\t\t\t\r\n\r\n\t\t \t}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"restart computer\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"restarting the computer\");\r\n\t\t \tRuntime rm=Runtime.getRuntime();\r\n\t\t\t\ttry{\r\n\t\t\t\t\tProcess proc=rm.exec(\"shutdown -r -t 0\");\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e)\r\n\t\t\t\t{}\r\n\t\t\t\t\r\n\t\t \t}\r\n\t\t \tcatch(Exception e)\r\n\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\t else if(speech.equalsIgnoreCase(\"who is smart\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"Abhay bhadouriya is smartest person alive in this world\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who is ugly\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"your sister and friends are the most ugliest persons in the world \");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"what is time\"))\r\n\t\t {\r\n\t\t \tDate dm=new Date();\r\n\t\t \tint h=dm.getHours();\r\n\t\t \tint m=dm.getMinutes();\r\n\t\t \tif(h>12)\r\n\t\t \t{\r\n\t\t \t\th=h-12;\r\n\t\t \t}\r\n\t\t \t\r\n\t\t \ttry {voice.speak(\"TIME is\"+h+\"Hour\"+m+\"Minutes\" );}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"say hello \"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"Hello this is your computer\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"please sleep\"))\r\n\t\t {\r\n\t\t \ttry {voice.speak(\"no i don't wont to sleep\");}\r\n\t\t \tcatch(Exception e)\r\n\t\t \t{\r\n\t\t \t\t\r\n\t\t \t}\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open facebook\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"facebook\");\r\n\t\t \t FUNC.facebook();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open google\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"google\");\r\n\t\t \t FUNC.google();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open youtube\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"youtube\");\r\n\t\t \t FUNC.youtube();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open gmail\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"gmail\");\r\n\t\t \t FUNC.gmail();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"play music\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t \t\tvoice.speak(\"music\");\r\n\t\t \t FUNC.pmusic();\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"volume up\"))\r\n\t\t {\r\n\t\t \tvoice.speak(\"volume increasing by 10\");\r\n\t\t \t\tvolume.up();\r\n\t\t \t\t\r\n\t\t \t\r\n\t\t \t\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"volume down\"))\r\n\t\t {\r\n\t\t \t\r\n\t\t\t voice.speak(\"volume decreasing by 10\");\r\n\t \t\tvolume.down();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"show desktop\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"Showing desktop\");\r\n\t\t\t FUNC.desktop();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"how are you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"i'm fine and you \");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"what day is today\"))\r\n\t\t {\r\n\t\t\t Date dd=new Date();\r\n\t\t\t int i=dd.getDay();\r\n\t\t\t\tif(i==0)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is sunday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==1)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is monday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==2)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is tuesday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==3)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is wednesday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==4)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is thursday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==5)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is friday\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(i==6)\r\n\t\t\t\t{\r\n\t\t\t\t\tvoice.speak(\"today is saturday\");\r\n\t\t\t\t}\r\n\t\t\t \r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to right\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.right();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to left\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.left();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to up\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t emotion.up();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"move to down\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.down();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"select this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.select();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"view its property\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.property();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"view item menu\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.viewmenu();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on mouse by keyboard\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.turnon();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close this window tab\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.close();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"switch window tab\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t emotion.switcht();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"ok dude take some rest\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t voice.speak(\"have a nice day\");\r\n\t\t\t voice.speak(\"i'm very lucky to have a master like you sir \");\r\n\t\t\t voice.speak(\"good night my suprier great master\");\r\n\t\t\t System.exit(0);\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn off wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"turn on bluetooth\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t try{\r\n\t \t\t Process p ;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c fsquirt\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the notepad\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start notepad\");\r\n\t \t\t // System.out.println(\"inside\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t } else if(speech.equalsIgnoreCase(\"close the notepad\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t//resultText=\"\";\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im notepad.exe /f\");\r\n\t \t\t // System.out.println(\"inside\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the command\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t\t\tProcess p;\r\n\t \t\t\t\tp = Runtime.getRuntime().exec(\"cmd /c start cmd\");\t\t\t\t\r\n\t \t\t\t\t}catch(Exception er)\r\n\t \t\t\t\t{}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the command\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\t\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im cmd.exe /f\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the browser\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start chrome.exe\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the browser\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im chrome.exe /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the control panel\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c control\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the control panel\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c control taskkill /im control /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the paint\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start mspaint\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"close the paint\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c start taskkill /im mspaint.exe /f\");\r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the task manager\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t p = Runtime.getRuntime().exec(\"cmd /c start taskmgr.exe\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open the task manager\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t\t\t Process p;\r\n\t\t\t \tp = Runtime.getRuntime().exec(\"cmd /c start taskkill /im taskmgr.exe /f\");\r\n\t\t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open power option\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c powercfg.cpl\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"open windows security center\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t try{\r\n\t \t\t Process p;\r\n\t \t\t p = Runtime.getRuntime().exec(\"cmd /c wscui.cpl\");\r\n\t \t\t \r\n\t \t\t }catch(Exception ae){}\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"copy this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok item is copied\");\r\n\t\t\t basiccontrolls.copy();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"paste here selected item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"item is pasted\");\r\n\t\t\t basiccontrolls.paste();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"cut this item\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok item is cut\");\r\n\t\t\t basiccontrolls.cut();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"go back\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok going to previous page\");\r\n\t\t\t basiccontrolls.back();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"show me my beautiful face\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"you look like a donkey\");\r\n\t\t\t basiccontrolls.camera();\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who the hell are you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"hello\");\r\n\t\t\t voice.speak(\"i am computer \");\r\n\t\t\t voice.speak(\"here i'm assist by you \");\r\n\t\t\t voice.speak(\"i will do anything what ever you told me todo and \"+\" \"+\" what instruction are feeded in my dictionary\");\r\n\t\t\t voice.speak(\"Thank you for asking \");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"who loves you\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"no one loves me \");\r\n\t\t\t voice.speak(\"except my charger \");\r\n\t\t\t voice.speak(\"but more impoertantly i looks far handsome than you \");\r\n\t\t\t voice.speak(\"you peace of shit \");\r\n\t\t\t voice.speak(\"your face is look like a monkey\");\r\n\t\t }\r\n\t\t else if(speech.equalsIgnoreCase(\"do you like engineering\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"no\");\r\n\t\t\t voice.speak(\"I hate engineering\");\r\n\t\t\t voice.speak(\"you ruined my life \");\r\n\t\t }\r\n\t\t/* else if(speech.equalsIgnoreCase(\"turn off wifi\"))\r\n\t\t {\r\n\t\t\t voice.speak(\"ok\");\r\n\t\t\t volume.wifi();\r\n\t\t }*/\r\n\r\n\t}", "public void setReportVoice(boolean reportVoice) {\n\t\tthis.reportVoice = reportVoice;\n\t}", "public void setLanguageDefaultVoice(String Language, String Voice) throws DynamicCallException, ExecutionException{\n call(\"setLanguageDefaultVoice\", Language, Voice).get();\n }", "protected void setupAudio(Engine engine, SceneManager sceneManager, Invocable invocableEngine) {\n\t\tsetupAudio = new File(\"setupAudio.js\");\n\t\tjsEngine.put(\"currentSong\", currentSong);\n\t\tjsEngine.put(\"music\", music);\n\t\tjsEngine.put(\"sfx\", sfx);\n\t\tthis.runScript(jsEngine, setupAudio);\n\t\ttry {\n\t\t\tinvocableEngine.invokeFunction(\"setupAudio\", this);\n\n\t\t} catch (ScriptException e1) {\n\t\t\tSystem.out.println(\"ScriptException in \" + setupAudio + e1);\n\t\t} catch (NoSuchMethodException e2) {\n\t\t\tSystem.out.println(\"No such method in \" + setupAudio + e2);\n\t\t} catch (NullPointerException e3) {\n\t\t\tSystem.out.println(\"Null pointer exception reading \" + setupAudio + e3);\n\t\t}\n\t\tmusic = (Sound[]) jsEngine.get(\"music\");\n\t\tsfx = (Sound[]) jsEngine.get(\"sfx\");\n\t}", "@ReactMethod\n public void setAudioDevice(final String device) {\n runInAudioThread(new Runnable() {\n @Override\n public void run() {\n if (!availableDevices.contains(device)) {\n JitsiMeetLogger.w(TAG + \" Audio device not available: \" + device);\n userSelectedDevice = null;\n return;\n }\n\n if (mode != -1) {\n JitsiMeetLogger.i(TAG + \" User selected device set to: \" + device);\n userSelectedDevice = device;\n updateAudioRoute(mode, false);\n }\n }\n });\n }", "public interface VoiceActivityDetectorListener {\n void onVoiceActivityDetected();\n void onNoVoiceActivityDetected();\n}", "public void addVoice(String theOrderToAdd){\n System.out.println(\"Méthode à implémenter pour ajouter les voices\");\r\n\r\n }", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent(\n\t\t\t\t\t\tRecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\n\t\t\t\tintent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, \"en-US\");\n\n\t\t\t\ttry {\n\t\t\t\t\tstartActivityForResult(intent, RESULT_SPEECH);\n\t\t\t\t\tet1.setText(\"\");\n\t\t\t\t} catch (ActivityNotFoundException a) {\n\t\t\t\t\tToast t = Toast.makeText(getApplicationContext(),\n\t\t\t\t\t\t\t\"Opps! Your device doesn't support Speech to Text\",\n\t\t\t\t\t\t\tToast.LENGTH_SHORT);\n\t\t\t\t\tt.show();\n\t\t\t\t}\n\t\t\t\t\n\n\t\t\t}", "void onVoiceImeEnabledStatusChange();", "public abstract void revokeVoice(String nickname);", "public interface IEventVoiceHandler {\n /**\n * Retorna el resultado del evento VOICE_RESULT_DIALOG\n * @param event objeto de tipo EventVoice\n */\n public void ResultVoiceDialog(EventVoice event);\n /**\n * Retorna el resultado del evento VOICE_RESULT_OUT\n * @param event objeto de tipo EventVoice\n */\n public void ResultVoiceOut(EventVoice event);\n /**\n * Retorna el resultado del evento VOICE_RESULT_IN\n * @param event objeto de tipo EventVoice\n */\n public void ResultVoiceIn(EventVoice event);\n /**\n * Retorna el resultado del evento VOICE_RESULT_COINCIDENCE\n * @param event objeto de tipo EventVoice\n */\n public void ResultVoiceCoincidence(EventVoice event);\n}", "public static void voice(NetSocket socket) {\n String data = \"CS01*868807049006736*0008*VOICE,20190814114414I4021,3,3\";\n String deviceId = \"868807049006736\";\n send(socket, data, deviceId);\n }", "private void speak() {\n String s = textArea.getText();\n String s5=\"images\\\\\";\n String s4=\".jpeg\";\n String obj=s5+s+s4;\n ImageIcon ic1=new ImageIcon(obj);\n Image image1=ic1.getImage().getScaledInstance(image.getWidth(),image.getHeight(),Image.SCALE_AREA_AVERAGING);\n ImageIcon icon1=new ImageIcon(image1);\n image.setIcon(icon1);\n int i = textArea.getCaretPosition();\n int k = s.length();\n for (int j = i; j <= k - 1; j++) {\n char c = s.charAt(j);\n String s3 = Character.toString(c);\n s2 = s2 + s3;\n }\n VoiceManager voiceManager = VoiceManager.getInstance();\n helloVoice = voiceManager.getVoice(\"kevin16\");\n helloVoice.allocate();\n helloVoice.speak(s2);\n helloVoice.deallocate();\n playB.setText(\"PLAY\");\n }", "@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)\n private void speakWords(String speech) {\n myTTS.speak (speech, TextToSpeech.QUEUE_FLUSH, null,\"1\");\n\n }", "public void addReceivedVoice(Voice voice) {\n this.getState().receivedVoice(voice);\n }", "private void speak(String s, String text) {\n if (Utility.getInstance().isOnline(mContext)) {\n try {\n float pitch = (float) 0.62;\n float speed = (float) 0.86;\n textToSpeech.setSpeechRate(speed);\n textToSpeech.setPitch(pitch);\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n Bundle bundle = new Bundle();\n bundle.putInt(TextToSpeech.Engine.KEY_PARAM_STREAM, AudioManager.STREAM_MUSIC);\n textToSpeech.speak(s, TextToSpeech.QUEUE_FLUSH, bundle, null);\n textToSpeech.speak(text, TextToSpeech.QUEUE_ADD, bundle, null);\n } else {\n HashMap<String, String> param = new HashMap<>();\n param.put(TextToSpeech.Engine.KEY_PARAM_STREAM, String.valueOf(AudioManager.STREAM_MUSIC));\n textToSpeech.speak(s, TextToSpeech.QUEUE_FLUSH, param);\n textToSpeech.speak(text, TextToSpeech.QUEUE_ADD, param);\n }\n } catch (Exception ae) {\n ae.printStackTrace();\n }\n } else {\n Toast.makeText(mContext, getString(R.string.please_check_internet), Toast.LENGTH_SHORT).show();\n }\n }", "public ApplicationCreator setVoiceMethod(final HttpMethod voiceMethod) {\n this.voiceMethod = voiceMethod;\n return this;\n }", "public void voiceEvent(Voice voice)\r\n {\r\n voiceValue = voice.getVoice();\r\n\r\n getReturnPattern().addElement(voice);\r\n }", "public void onVoiceEnd() {\n }", "private void startVoiceRecognitionActivity()\n\t{\n\t\tSystem.out.println(\"Starting activity lel\");\n\t\tIntent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\t\tintent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n\t\t\t\tRecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n\t\tintent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Voice recognition Demo...\");\n\t\tstartActivityForResult(intent, VOICE_REQUEST_CODE);\n\t}", "private void startVoiceRecognitionActivity()\n {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Voice recognition Demo...\");\n startActivityForResult(intent, REQUEST_CODE);\n }", "public void speakText(String text) {\n mTTS.setPitch(1);\n mTTS.setSpeechRate(1);\n mTTS.speak(String.format(\"Okay! Searching for %s\", text),\n TextToSpeech.QUEUE_FLUSH, null);\n }", "private void checkVoiceCommandPermission()\n {\n // Android 6 er uporer version gula te voice neoar capability ache, and they require permissions.\n // that's why we check first the SDK version is above 6 or not\n if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.M)\n {\n // jodi persmission pai voice er then\n if(!(ContextCompat.checkSelfPermission(SmartPlayerActivity.this, Manifest.permission.RECORD_AUDIO) == PackageManager.PERMISSION_GRANTED))\n {\n // we can start the activity\n Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS, Uri.parse(\"package:\" + getPackageName()));\n startActivity(intent);\n finish();\n }\n }\n }", "public void ResultVoiceCoincidence(EventVoice event);", "@Override\n\tpublic void canSpeak() {\n\t\t\n\t}", "public void speakClicked(View v)\n {\n EditText editText = (EditText) findViewById(R.id.inputText);\n\n mTts.speak(editText.getText().toString(),\n TextToSpeech.QUEUE_FLUSH, // Drop all pending entries in the playback queue.\n null,\n null);\n }", "public void speak(String outputSpeak) \n {\n speaker.speaker(outputSpeak);\n }", "public void addReceivedVoice(Voice voice) {\n\t\taddCommunicationReceived(voice);\n\t}", "void changeMusic(AudioTrack newSong);", "public SendVoice() {\n super();\n }", "void speechToTextFuncVoiceForPurchase(Context context, EditText editText, int dataType, ImageView micImage, int valueforValidate) {\n if (Utility.getInstance().isOnline(mContext)) {\n int value = checkPermission(mContext, Manifest.permission.RECORD_AUDIO, RECORD_AUDIO_PERMISSION_REQUEST_CODE);\n if (value == 1) {\n mSpeechRecognizer = SpeechRecognizer.createSpeechRecognizer(mContext);\n mSpeechRecognizerIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n mSpeechRecognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n String languageCode = Utility.getInstance().getLanguage(mContext);\n // Locale current = getResources().getConfiguration().locale;\n if (languageCode.matches(langaugeCodeEnglish)) {\n mSpeechRecognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, \"en_US\");\n } else if (languageCode.matches(languageCodeMarathi)) {\n mSpeechRecognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, \"mr_IN\");\n } else {\n mSpeechRecognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, \"en_US\");\n setError(\"BaseFragmnet : speechToTextFunc Has problem\");\n }\n mSpeechRecognizer.setRecognitionListener(new RecognitionListener() {\n @Override\n public void onReadyForSpeech(Bundle params) {\n if (isVisible()) {\n micImage.setColorFilter(getResources().getColor(android.R.color.holo_green_light), PorterDuff.Mode.SRC_IN);\n if (editText != null) {\n editText.getBackground().setColorFilter(getResources().getColor(android.R.color.holo_green_light),\n PorterDuff.Mode.SRC_ATOP);\n }\n }\n }\n\n @Override\n public void onBeginningOfSpeech() {\n\n }\n\n @Override\n public void onRmsChanged(float rmsdB) {\n\n }\n\n @Override\n public void onBufferReceived(byte[] buffer) {\n\n }\n\n @Override\n public void onEndOfSpeech() {\n if (isVisible()) {\n micImage.setColorFilter(getResources().getColor(android.R.color.black), PorterDuff.Mode.SRC_IN);\n if (editText != null) {\n editText.getBackground().setColorFilter(getResources().getColor(android.R.color.black),\n PorterDuff.Mode.SRC_ATOP);\n }\n }\n }\n\n @Override\n public void onError(int error) {\n\n }\n\n @Override\n public void onResults(Bundle results) {\n if (isVisible()) {\n ArrayList<String> matches = results.getStringArrayList(SpeechRecognizer.RESULTS_RECOGNITION);\n if (matches.get(0).toString().toLowerCase().contains(getString(R.string.save).toString().toLowerCase())) {\n boolean valueStatus = validatePuchase();\n if (valueStatus) {\n createPurchaseRequest(flowpurchaseReceivedOrPaid);\n }\n } else if (matches.get(0).toString().toLowerCase().contains(getString(R.string.cancel_two).toString().toLowerCase())) {\n dialog.dismiss();\n dialog.dismiss();\n dialog.dismiss();\n if (textToSpeech != null) {\n textToSpeech.stop();\n }\n Toast.makeText(mContext, getString(R.string.transaction_cancelled), Toast.LENGTH_SHORT).show();\n speak(getString(R.string.transaction_cancelled), \"\");\n }\n if (editText != null) {\n if (dataType == 1) {\n editText.setText(matches.get(0));\n } else {\n for (int i = 0; i < matches.size(); i++) {\n if (matches.get(i).matches(\"^[0-9]*$\")) {\n editText.setText(matches.get(i));\n }\n }\n }\n\n\n //Ankur\n boolean valueValidate = validatePuchase();\n if (valueValidate) {\n speak(getString(R.string.please_say_save_or_cancel), \"\");\n new Handler().postDelayed(() -> {\n speechToTextFuncVoiceForPurchase(mContext, null, 3, imageviewMicSaveCancel, 2);\n }, 3000);\n }\n\n }\n }\n }\n\n @Override\n public void onPartialResults(Bundle partialResults) {\n\n }\n\n @Override\n public void onEvent(int eventType, Bundle params) {\n\n }\n });\n\n if (dialog.isShowing()) {\n mSpeechRecognizer.startListening(mSpeechRecognizerIntent);\n }\n } else if (value == 2) {\n displayNeverAskAgainDialog(mContext, getString(R.string.We_need_permission_Audio));\n }\n } else {\n Toast.makeText(context, getString(R.string.please_check_internet), Toast.LENGTH_SHORT).show();\n }\n }", "public void onVoiceStart(int sampleRates) {\n }", "private void addVoiceApp() {\n\t\tApplicationInfo application = new ApplicationInfo();\r\n\t\tapplication.title = \"Camera\";\r\n application.icon = context.getResources().getDrawable(R.drawable.ic_camera_50);\r\n Intent intent=new Intent(context,CameraActivity.class);\r\n application.voiceTag=true;\r\n application.setIntent(intent);\r\n mApplications.add(application);\r\n application.setIndex(mApplications.size()-1); \r\n \r\n\t\tapplication = new ApplicationInfo();\r\n\t\tapplication.title = \"Google\";\r\n\t\tintent=new Intent(\"com.google.glass.action.START_VOICE_SEARCH_ACTIVITY\");\r\n\t\tapplication.setIntent(intent);\r\n\t\tapplication.voiceTag=true;\r\n\t\tapplication.icon = context.getResources().getDrawable(R.drawable.ic_search_50);\r\n mApplications.add(application);\r\n application.setIndex(mApplications.size()-1); \r\n\t}", "private void when_clickButtonVoice() {\n onView(withId(R.id.buttonVoice))\n .perform(click());\n }", "public void setSpeechmode(Integer speechmode) {\n this.speechmode = speechmode;\n }", "public void startVoiceRecognition(String language) {\n if (mTrigger != null) {\n mTrigger.startVoiceRecognition(language);\n }\n }", "public void speak(String speech)\n\t{\n\t\tif (ttsReady)\n\t\t{\n\t\t\ttts.speak(speech, TextToSpeech.QUEUE_FLUSH, null);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tUtils.makeLog(\"Tried to speak before TTS was ready\");\n\t\t}\n\t}", "public void speak(int word) {\n\t\t\n\t\tboolean flag=Machine.interrupt().disable();\n\t\tspeakerNum++;\n\t\tif(hasSpoken||speakerNum!=1)\n\t\t{\n\t\t\twaitToSpeak.waitForAccess(KThread.currentThread());\n\t\t\tKThread.sleep();\n\t\t}\n\t\thasSpoken=true;\n\t\tthis.word=word;\n\t\tKThread thread=null;\n\t\tif((thread=waitToListen.nextThread())!=null)\n\t\t\tthread.ready();\n\t\tspeakerNum--;\n\t//\tSystem.out.println(\"speak:\"+word+\" \"+KThread.currentThread().toString());\n\t\tMachine.interrupt().setStatus(flag);\n\n\t\treturn ;\n\t}", "public interface Text2Speech {\n\t\n\t/**\n\t * Supported formats.\n\t */\n\tenum OutputFormat {\n\t\t/**\n\t\t * MP3 format.\n\t\t */\n\t\tMP3,\n\t\t/**\n\t\t * Ogg-vorbis format.\n\t\t */\n\t\tOGG\n\t}\n\t\n\t/**\n\t * Produce MP3 with specified phrase.\n\t * \n\t * @param phrase Some sentence.\n\t * @return MP3 stream (may be network bound, close afterwards)\n\t */\n\tInputStream synthesize(String phrase, OutputFormat fmt) throws IOException;\n}", "public void setSpeakEnable(boolean enable) {\n this.speakEnable = enable;\n if (speakEnable && mSynthesizer == null) {\n mSynthesizer = SpeechSynthesizer.createSynthesizer(context, this);\n setSynthesizerParam(params);\n }\n }", "private void initializeTextToSpeech() {\n myTTS = new TextToSpeech(this, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int i) {\n if(myTTS.getEngines().size() ==0){\n Toast.makeText(MainActivity.this, \"There is no Text to Speech engine on your device\", Toast.LENGTH_LONG).show();\n finish();\n }\n else {\n myTTS.setLanguage(Locale.US);\n speak(\"Hello! Welcome to the workout app\");\n\n }\n }\n });\n }", "public void showSpeechInput(View v) {\n\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Say something\");\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n\n try {\n startActivityForResult(intent, REQ_CODE_SPEECH_INPUT);\n } catch (ActivityNotFoundException a) {\n Toast.makeText(this, \"Speech To Text not supported\", Toast.LENGTH_LONG).show();\n }\n }", "private void changeLanguage(String newLanguage){\n\tif (newLanguage.contentEquals(\"FR\")){\n\t\t((GameActivity) activity).setStringPreferences(\"language\", \"1\");\n\t} else if (newLanguage.contentEquals(\"UK\")){\n\t\t((GameActivity) activity).setStringPreferences(\"language\", \"2\");\n\t}\n\t\n\t/*\n\tprefLanguage = ((GameActivity) activity).getPreference(\"language\", \"1\");\n\tif (prefLanguage.contentEquals(\"1\")){\n\t\tresourcesManager.tts.setLanguage(Locale.FRENCH);\n\t} else if (prefLanguage.contentEquals(\"2\")){\n\t\tresourcesManager.tts.setLanguage(Locale.ENGLISH);\t\n\t}\n\t*/\n\t\n\t\n\t\n\t/*\n\tif (newLanguage.contentEquals(\"FR\")){\n\t\tresourcesManager.tts.setLanguage(Locale.FRENCH);\n\t\tlocalLanguage=0;\n\t} else if (newLanguage.contentEquals(\"UK\")){\n\t\tresourcesManager.tts.setLanguage(Locale.ENGLISH);\t\n\t\tlocalLanguage=1;\n\t}\n\t*/\n\t\n}", "@Override\n public void onInit(int status) {\n\t \n\tif (status == TextToSpeech.SUCCESS) {\n\t\t \n int result = mTts.setLanguage(Locale.US);\n if (result != TextToSpeech.LANG_MISSING_DATA && result != TextToSpeech.LANG_NOT_SUPPORTED) {\n \tspokenText += spokenText+\"\"+spokenText+\"\";\n // mTts.speak(\"Dear sir your class is finished!! Dear sir your class is finished!! Dear sir your class is finished!!\", TextToSpeech.QUEUE_FLUSH, null);\n mTts.speak(spokenText, TextToSpeech.QUEUE_FLUSH, null);\n } \n } \n\t \n}", "private void sayHello() {\n\n\t\tmTts.speak(translatedText, TextToSpeech.QUEUE_FLUSH, // Drop allpending\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// entries in\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// the playback\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// queue.\n\t\t\t\tnull);\n\t}", "public void RepeatWithVoiceSwitchTest(){\n testMaterialConstructor();\n ArrayList<String> voiceNames = new ArrayList<String>();\n voiceNames.add(\"Aziz\");\n voiceNames.add(\"Muneeza\");\n \n ArrayList<BarLineObject> objs = new ArrayList<BarLineObject>();\n objs.add(toAziz);\n objs.add(C);\n objs.add(E);\n objs.add(toMuneeza);\n objs.add(MC1);\n objs.add(toAziz);\n objs.add(C);\n objs.add(toMuneeza);\n objs.add(plainBar);\n objs.add(MC2);\n objs.add(endBar);\n objs.add(toAziz);\n objs.add(G);\n objs.add(repeatBar);\n \n Parser2 myParser2 = new Parser2(voiceNames,1,1);\n myParser2.parse(objs);\n ArrayList<Voice> voices = myParser2.getVoices();\n Song lalala = new Song(voices);\n SequencePlayer sqPlayer;\n try {\n sqPlayer = new SequencePlayer(140, lalala.getMinTicksPerQuarter());\n myPlayer MrAhmed = new myPlayer(\"C\", sqPlayer);\n lalala.addToPlayer(MrAhmed);\n sqPlayer.play(); \n } catch (MidiUnavailableException e) {\n e.printStackTrace();\n } catch (InvalidMidiDataException e) {\n e.printStackTrace();\n }\n }", "public void stopSpeak() {\n if (mSynthesizer != null && mSynthesizer.isSpeaking()) {\n mSynthesizer.stopSpeaking();\n }\n }", "private void addSpeech(String text, String packageName, int resId) {\n mUtterances.put(text, new SoundResource(packageName, resId));\n }", "public void sayText(String normal, String altered){\n\t\tvoiceGen.sayText(normal, altered);\n\t}", "private String setSpeechFXLanguage(String language){\n String lang;\n if (!mSpeechFXon) {\n lang = language;\n } else if (mTts == null) {\n\t\t\tLog.i(TAG, \"TTS IS NULL!\");\n\t\t\tlang = language;\n\t\t} else {\n\t\t\tlang = Languages.setSpeechLanguage(language, mDefaultSpeechLang, mTts.ttsengine());\n\t\t\tif (mTts != null && lang != null && !lang.equals(\"\")) {\n\t\t\t\tLog.i(TAG, \"TTS set speech engine language: \" + lang);\n\t\t\t\tmTts.ttsengine().setLanguage(Languages.stringToLocale(lang));\n\t\t\t} else {\n\t\t\t\t// Unchanged, so return the pilot language\n\t\t\t\tlang = language;\n\t\t\t}\n\t\t\tLog.i(TAG, \"TTS LANG: \" + lang);\n\t\t}\n\n\t\treturn lang;\n\t}", "public void onVoiceSearchClick(View v) {\n \ttry{\n \t\tAppMeasurementWrapper.getInstance().initialize(\n\t\t\t\t\tgetApplication());\n\t\t\tAppMeasurementWrapper\n\t\t\t\t\t.getInstance()\n\t\t\t\t\t.storeTransitionSrcPoint(\n\t\t\t\t\t\t\tAppEffectClickPointEnum.HOME_VOICESEARCH);\n \t\t\t\tPackageManager pm = getPackageManager();\n\t\t\t\t\t\n\t\t\t\t\tList<ResolveInfo> activities = pm.queryIntentActivities(\n\t\t\t new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH), 0);\n\t\t\t\t\t//check if the device supports voice search\n\t\t\t\t\tif (activities.size() != 0) {\n\t\t\t\t\t\t\n\t\t\t\t\t\tIntent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\t\t\t\t intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n\t\t\t\t RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n\t\t\t\t intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE,\n\t\t\t\t Locale.getDefault());\n\t\t\t\t intent.putExtra(RecognizerIntent.EXTRA_PROMPT, getResources().getString(R.string.voice_search_prompt));\n\t\t\t\t \n\t\t\t\t startActivityForResult(intent,VOICE_RECOGNITION_REQUEST_CODE);\n\t\t\n\t\t\t\t\t}else {\n\t\t\t\t\t\tToast.makeText(RakutenHomeController.this, R.string.no_voice_search, 1).show();\n\t\t\t\t\t}\n\n \t} catch (Exception e) {\n\t\t\tLogUtils.getInstance().d(LOG_TAG, \"[onVoiceSearchClick] error: \", e);\n\t\t}\n }", "public int getRemainingVoice() {\n return remainingVoice;\n }" ]
[ "0.66835034", "0.66329986", "0.65805477", "0.63960314", "0.62805015", "0.6205794", "0.6187601", "0.6165323", "0.59747493", "0.5768438", "0.575953", "0.5755225", "0.5710489", "0.5670536", "0.5644226", "0.5639666", "0.56265897", "0.55638766", "0.5509833", "0.5469456", "0.5442521", "0.5400783", "0.53803295", "0.5379581", "0.5366048", "0.53561795", "0.5342011", "0.534018", "0.5308922", "0.5298138", "0.5294369", "0.5292922", "0.5292467", "0.52908695", "0.52643275", "0.5254309", "0.52209294", "0.5213372", "0.5209127", "0.52015346", "0.51952547", "0.51598406", "0.5144311", "0.51439553", "0.5138754", "0.5131238", "0.51195616", "0.5103768", "0.5102916", "0.5099676", "0.50848943", "0.50768244", "0.50615525", "0.505665", "0.505428", "0.5049251", "0.5034659", "0.5032986", "0.5030914", "0.50251263", "0.50137", "0.50085217", "0.50004613", "0.49964547", "0.49816984", "0.49762326", "0.49726525", "0.49612954", "0.49430925", "0.49380037", "0.49315718", "0.4918057", "0.49016616", "0.48936635", "0.489284", "0.4884454", "0.488444", "0.488139", "0.4879449", "0.48784873", "0.4877255", "0.4856546", "0.48517784", "0.48473787", "0.48425686", "0.4834822", "0.4832948", "0.48289067", "0.48282087", "0.48255485", "0.48127967", "0.47901982", "0.47885755", "0.47788906", "0.47749656", "0.47739288", "0.47738805", "0.47649047", "0.47619954", "0.4756015" ]
0.62408435
5
Returns the voice currently used by the texttospeech engine.
public Future<String> getVoice() throws DynamicCallException, ExecutionException { return call("getVoice"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getVoice() throws DynamicCallException, ExecutionException {\n return (String)call(\"getVoice\").get();\n }", "public String getSpeech() {\n\t\treturn speech;\n\t}", "public Voice getVoice ()\r\n {\r\n return voice;\r\n }", "public Integer getSpeechmode() {\n return speechmode;\n }", "static SpeechKit getSpeechKit()\n {\n return _speechKit;\n }", "com.google.cloud.speech.v2.Recognizer getRecognizer();", "@DISPID(3) //= 0x3. The runtime will prefer the VTID if present\r\n @VTID(9)\r\n speech.types.SpeechAudioState state();", "public int getRemainingVoice() {\n return remainingVoice;\n }", "public Integer getSpeechThreshold() {\n return this.speechThreshold;\n }", "public float getSpeechRate() {\n SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(this);\n return Float.valueOf(preferences.getString(\"speech_rate\", \"\"));\n }", "public String speak(){\n speechOutput.clear();\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Just speak normally into your phone\");\n intent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, 10);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.ENGLISH);\n try {\n startActivityForResult(intent, VOICE_RECOGNITION);\n } catch (ActivityNotFoundException e) {\n e.printStackTrace();\n }\n\n\n return speechResult;\n }", "private static Synthesizer getSynthesizer(){\n\t\ttry{\n\t\t\treturn MidiSystem.getSynthesizer();\n\t\t}catch(Exception e){}\n\t\treturn null;\n\t}", "public int getAudioMode() {\n AudioManager audio = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE);\n return audio.getMode(); //MODE_NORMAL, MODE_RINGTONE, MODE_IN_CALL, MODE_IN_COMMUNICATION\n }", "public String speak() {\n return \"WOOF\";\n }", "public Float getSpeechShoSrOut() {\n return speechShoSrOut;\n }", "public boolean isVoiceDetectionActivated() {\n return voiceDetectionActivated;\n }", "public String getHomeworkVoicePath() {\n return homeworkVoicePath;\n }", "public Float getSpeechTraff() {\n return speechTraff;\n }", "@Override\n\tpublic String getSpeechResult() {\n\t\treturn null;\n\t}", "public Chord getPreviousChordInVoice ()\r\n {\r\n return voice.getPreviousChord(this);\r\n }", "public interface Voice {\n\n\t/**\n\t * Plays the specified text as synthesized audio.\n\t * @param text The text to speak.\n\t */\n\tpublic void speak(String text);\n\n\t/**\n\t * Sets the pitch of the voice.\n\t * @param pitch The new voice pitch.\n\t * @throws IllegalArgumentException If the specified voice\n\t * pitch is less than <tt>0</tt>.\n\t */\n\tpublic void setPitch(int pitch);\n\n\t/**\n\t * Sets the volume of the voice.\n\t * @param volume The new volume.\n\t * @throws IllegalArgumentException If the specified voice\n\t * volume is less than <tt>0</tt> or greater than <tt>100</tt>.\n\t */\n\tpublic void setVolume(int volume);\n\n\t/**\n\t * Sets the talk speed of the voice.\n\t * @param wpm The new talk speed in words per minute.\n\t * @throws IllegalArgumentException If the specified voice\n\t * speed is less than <tt>0</tt> or greater than <tt>999</tt>.\n\t */\n\tpublic void setSpeed(int wpm);\n\n}", "private void speak() {\n if(textToSpeech != null && textToSpeech.isSpeaking()) {\n textToSpeech.stop();\n }else{\n textToSpeech = new TextToSpeech(activity, this);\n }\n }", "public String getGrammarText();", "public Speakers getSpeaker(){\n int speaker_id = getIntent().getExtras().getInt(AppController.SPEAKER_ID);\n DatabaseHandler dh = new DatabaseHandler(this);\n return dh.getSpeaker(speaker_id);\n }", "public interface VoiceManager {\n\n void speak(int requestCode, int speechResourceId, Object... formatArgs);\n\n void speak(int requestCode, int speechResourceId);\n\n void listen(int requestCode);\n\n void shutdown();\n\n void setVoiceManagerListener(VoiceManagerImpl.VoiceManagerListener listener);\n}", "private SpeechRecognitionMode getMode() {\n\n return SpeechRecognitionMode.LongDictation;\n }", "public Integer getHomeworkVoiceId() {\n return homeworkVoiceId;\n }", "public abstract void startVoiceRecognition(String language);", "public interface ITextToSpeech {\n\n /* loaded from: classes.dex */\n public interface TextToSpeechCallback {\n void onFailure();\n\n void onSuccess();\n }\n\n boolean isInitialized();\n\n int isLanguageAvailable(Locale locale);\n\n void onDestroy();\n\n void onResume();\n\n void onStop();\n\n void setPitch(float f);\n\n void setSpeechRate(float f);\n\n void speak(String str, Locale locale);\n}", "public String getSoundFont() {\n\t\treturn soundFont;\n\t}", "public AudioManager getAudioManager() {\r\n return audioManager;\r\n }", "private void ConvertTextToSpeech(String voice1) {\n text=voice1;\n //text = et.getText().toString();\n if (text == null || \"\".equals(text)) {\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n } else\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", "String getOscTarget();", "speech.multilang.Params.ScoringControllerParams.Type getType();", "public String interact() {\n return sound;\n }", "public void startVoiceRecognition() {\n startVoiceRecognition(null);\n }", "public int getAudioPort();", "public DTDGrammar getActiveGrammar() {\r\n return this.fActiveGrammar;\r\n }", "public AudioFormat getClientAudioFormat() {\n\t\t\n\t\treturn clientAudioFormat;\n\t\n\t}", "public String getVoiceConnectorId() {\n return this.voiceConnectorId;\n }", "public boolean getVoiceSearchEnabled() {\n/* 170 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public void setContactVoice(String contactVoice) {\n this.contactVoice = contactVoice;\n }", "public String getPlaybackDevice();", "public static String getWord() {\r\n\t\treturn Text;\r\n\t}", "@Override // kotlin.jvm.functions.Function0\n public IAudioDeviceManager invoke() {\n return Voximplant.getAudioDeviceManager();\n }", "public String getAudioCode() {\n return audioCode;\n }", "public static ISpeler getSpeler() {\n\t\treturn speler;\n\t}", "speech.multilang.Params.OutputControllerParams.Type getType();", "public boolean getAudioEnabled() {\n SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);\n return prefs.getBoolean(\"audio_output_switch\", true);\n }", "public String getAssistant() {\r\n\t\treturn assistant;\r\n\t}", "public String getEngine() {\n return this.engine;\n }", "@Override\n public double getEngineSound() {\n return decoratedEngine.getEngineSound() * .6;\n }", "public ArrayList<Voice> getSentVoiceCalls() {\n ArrayList<Voice> sentVoiceCalls = new ArrayList<Voice>();\n for (Communication communication : getCommunicationSent())\n if (communication instanceof Voice) {\n sentVoiceCalls.add((Voice) communication);\n }\n return sentVoiceCalls;\n }", "public final String getSound( ) {\n\t\treturn sound;\n\t}", "@java.lang.Override\n public int getSpeechEventTypeValue() {\n return speechEventType_;\n }", "@Override\n\tpublic String speak() {\n\t\treturn null;\n\t}", "public ArrayList<Voice> getSentVoiceCalls() {\n\t\tArrayList<Voice> sentVoiceCalls = new ArrayList<Voice>();\n\t\tfor (Communication communication : getCommunicationSent())\n\t\t\tif (communication instanceof Voice) {\n\t\t\t\tsentVoiceCalls.add((Voice) communication);\n\t\t\t}\n\t\treturn sentVoiceCalls;\n\t}", "private void speak() {\n Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n RecognizerIntent.LANGUAGE_MODEL_FREE_FORM) ;\n intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());\n intent.putExtra(RecognizerIntent.EXTRA_PROMPT, \"Speak the Item\");\n\n startActivityForResult(intent, SPEECH_REQUEST_CODE);\n\n }", "public ArrayList<Voice> getAllVoiceCalls() {\n\t\tArrayList<Voice> allVoiceCalls = new ArrayList<Voice>();\n\t\tallVoiceCalls.addAll(getSentVoiceCalls());\n\t\tallVoiceCalls.addAll(getReceivedVoiceCalls());\n\n\t\treturn allVoiceCalls;\n\t}", "public boolean checkVoiceRecognition() {\n\t\tPackageManager pm = context.getPackageManager();\n\t\tList<ResolveInfo> activities = pm.queryIntentActivities(new Intent(\n\t\t\t\tRecognizerIntent.ACTION_RECOGNIZE_SPEECH), 0);\n\t\tif (activities.size() == 0) {\n\t\t\tToast.makeText(context, \"Voice recognizer not present\",\n\t\t\t\t\tToast.LENGTH_SHORT).show();\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "private void initializeTextToSpeech() {\n myTTS = new TextToSpeech(this, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int i) {\n if(myTTS.getEngines().size() ==0){\n Toast.makeText(MainActivity.this, \"There is no Text to Speech engine on your device\", Toast.LENGTH_LONG).show();\n finish();\n }\n else {\n myTTS.setLanguage(Locale.US);\n speak(\"Hello! Welcome to the workout app\");\n\n }\n }\n });\n }", "public static JSchText get() {\n\t\treturn NLS.getBundleFor(JSchText.class);\n\t}", "private void loadSpeechActivity() {\n PackageManager pm = getPackageManager();\n List<ResolveInfo> activities = pm.queryIntentActivities(\n new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH), 0);\n if (activities.size() == 0)\n {\n voiceSupport=0;\n }\n\t\t\n\t}", "private void setTextTospeech() {\n textToSpeech = new TextToSpeech(mContext, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int status) {\n if (status == TextToSpeech.SUCCESS) {\n Set<Locale> languages = textToSpeech.getAvailableLanguages();\n if (language.toLowerCase().contains(langaugeCodeEnglish)) {\n int result = textToSpeech.setLanguage(new Locale(\"en\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n //Toast.makeText(mContext, result + \" is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n }\n } else {\n int result = textToSpeech.setLanguage(new Locale(\"hi\", \"IN\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n result = textToSpeech.setLanguage(Locale.forLanguageTag(\"hin\"));\n if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n\n // Toast.makeText(mContext, result + \"Language is not supported\", Toast.LENGTH_SHORT).show();\n Log.e(\"Text2SpeechWidget\", result + \"Language is not supported\");\n }\n Log.e(\"Text2SpeechWidget\", result + \" is not supported\");\n } else {\n SharedPreferences sharedPreferences = Utility.getInstance().getSharedPReference(mContext);\n int applicationLoginCount = sharedPreferences.getInt(TTSDIALOGUECOUNT, 1);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n if (!sharedPreferences.getBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true)) {\n editor.putBoolean(LANGUAGEAVAILABILITYFIRSTTIME, true);\n // Utility.getInstance().ttsLanguageDialogue(mContext,getString(R.string.marathi_language_Available_update));\n }\n applicationLoginCount++;\n // editor.putInt(TTSDIALOGUECOUNT, applicationLoginCount);\n editor.commit();\n }\n if (result == TextToSpeech.LANG_NOT_SUPPORTED) {\n showTtsLanuageNSDialog();\n }\n }\n }\n }\n });\n }", "public void stopSpeak() {\n if (mSynthesizer != null && mSynthesizer.isSpeaking()) {\n mSynthesizer.stopSpeaking();\n }\n }", "@Override\r\n\tpublic SoundsApi getSoundsApi() {\r\n\t\treturn this;\r\n\t}", "public int getmAudioResourceId() {\n\n return mAudioResourceId;\n }", "public ArrayList<Voice> getAllVoiceCalls() {\n ArrayList<Voice> allVoiceCalls = new ArrayList<Voice>();\n allVoiceCalls.addAll(getSentVoiceCalls());\n allVoiceCalls.addAll(getReceivedVoiceCalls());\n\n return allVoiceCalls;\n }", "@java.lang.Override\n public int getSpeechEventTypeValue() {\n return speechEventType_;\n }", "com.google.cloud.speech.v2.RecognizerOrBuilder getRecognizerOrBuilder();", "@ApiModelProperty(required = true, value = \"The model used for the voice synthesis. The model could be a basic tts model or a customized tts model\")\n public ModelIdentity getModel() {\n return model;\n }", "public String getCurrentWaveID() {\n\t\treturn null;\r\n\t}", "public int getAudioSessionId() {\n\t\treturn mPlayer.getAudioSessionId();\n\t}", "public static AudioPlayer getDEFAULTSHOOTSOUND() {\r\n\t\treturn DEFAULTSHOOTSOUND;\r\n\t}", "protected final String getSynthName() {\n return device.getSynthName();\n }", "public String getSpelling() {\n\t\t\treturn this.spelling;\n\t\t}", "public TextTrack getTrack();", "@Override\n\tpublic String addVoice(String voiceFileName) throws Exception {\n\t\treturn null;\n\t}", "public boolean getAcceptsAudio() {\n\n return m_acceptsAudio;\n }", "public String getSpelling() {\n\t\treturn this.spelling;\n\t}", "public static void speak(Context context, final String text) {\n Log.d(TAG, \"Speak : \" + text);\n if (mTTSEngine == null) {\n mTTSEngine = new TextToSpeech(context, new TextToSpeech.OnInitListener() {\n @Override\n public void onInit(int i) {\n if (i == TextToSpeech.SUCCESS) {\n mTTSEngine.setLanguage(Locale.US);\n mTTSEngine.setPitch(1f);\n mTTSEngine.setSpeechRate(1f);\n\n mTTSEngine.speak(text, TextToSpeech.QUEUE_ADD, null, UTTERANCE_ID);\n } else {\n mTTSEngine = null;\n }\n }\n });\n } else {\n mTTSEngine.speak(text, TextToSpeech.QUEUE_ADD, null, UTTERANCE_ID);\n }\n }", "public Voice() {\n /* Make the utteranceProcessors a synchronized list to avoid\n * some threading issues.\n */\n utteranceProcessors = Collections.synchronizedList(new ArrayList());\n\tfeatures = new FeatureSetImpl();\n\tfeatureProcessors = new HashMap();\n\n\ttry {\n\t nominalRate = Float.parseFloat(\n\t\t Utilities.getProperty(PROP_PREFIX + \"speakingRate\",\"150\"));\n\t pitch = Float.parseFloat(\n\t\t Utilities.getProperty(PROP_PREFIX + \"pitch\",\"100\"));\n\t range = Float.parseFloat(\n\t\t Utilities.getProperty(PROP_PREFIX + \"range\",\"10\"));\n\t volume = Float.parseFloat(\n\t\t Utilities.getProperty(PROP_PREFIX + \"volume\",\"1.0\"));\n\t} catch (SecurityException se) {\n\t // can't get properties, just use defaults\n\t}\n outputQueue = null;\n audioPlayer = null;\n defaultAudioPlayer = null;\n }", "public DataSource getAudioSource();", "void playSpeech(String rawText);", "public int getVoiceLanguageModeId() {\n/* 195 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public edu.jhu.hlt.concrete.AudioSpan getAudioSpan() {\n return this.audioSpan;\n }", "public String getMixer() {\n return _avTable.get(ATTR_MIXER);\n }", "public interface Text2Speech {\n\t\n\t/**\n\t * Supported formats.\n\t */\n\tenum OutputFormat {\n\t\t/**\n\t\t * MP3 format.\n\t\t */\n\t\tMP3,\n\t\t/**\n\t\t * Ogg-vorbis format.\n\t\t */\n\t\tOGG\n\t}\n\t\n\t/**\n\t * Produce MP3 with specified phrase.\n\t * \n\t * @param phrase Some sentence.\n\t * @return MP3 stream (may be network bound, close afterwards)\n\t */\n\tInputStream synthesize(String phrase, OutputFormat fmt) throws IOException;\n}", "public void ResultVoiceIn(EventVoice event);", "public java.lang.CharSequence getGLINTERFACE() {\n return GL_INTERFACE;\n }", "public Mixer.Info getMixer() {\n return mixer;\n }", "public GameEngine getEngine() {\n\t\treturn engine;\n\t}", "private AudioFormat getAudioFormat() {\n float sampleRate = 16000.0F;\n int sampleSizeInBits = 16;\n int channels = 1;\n boolean signed = true;\n boolean bigEndian = false;\n return new AudioFormat(sampleRate, sampleSizeInBits, channels, signed, bigEndian);\n }", "public String getModuleInfo() {\r\n return \"PlayAudio\";\r\n }", "speech.multilang.Params.MultiRecognizerGrammarMatchList getGrammarList();", "public Sword getCurrentSword() {\n return currentSword;\n\t}", "public SendVoice() {\n super();\n }", "public java.lang.CharSequence getGLINTERFACE() {\n return GL_INTERFACE;\n }", "public String getGrammar(){\r\n return grammar;\r\n }", "@Override\n public String speak()\n {\n return \"Neigh\";\n }" ]
[ "0.7253468", "0.69512236", "0.6773174", "0.6595864", "0.6253067", "0.60061026", "0.5966842", "0.5959058", "0.5949836", "0.58415943", "0.5759695", "0.56308407", "0.56279355", "0.562466", "0.5607293", "0.559354", "0.5589681", "0.55660236", "0.5542689", "0.5539092", "0.5526333", "0.5521165", "0.5471949", "0.5423835", "0.5420005", "0.54147065", "0.53944224", "0.5363769", "0.5359948", "0.53510624", "0.53482527", "0.5345545", "0.5332434", "0.53192335", "0.5294396", "0.52903026", "0.5270237", "0.5265199", "0.52617764", "0.5253798", "0.52408195", "0.52394927", "0.5220549", "0.5213617", "0.52125627", "0.5204469", "0.5203823", "0.51980835", "0.51889175", "0.51882213", "0.5169742", "0.51668763", "0.5160497", "0.5157516", "0.514755", "0.51320535", "0.51229477", "0.5113929", "0.5104393", "0.510273", "0.50959086", "0.50898236", "0.50868744", "0.5064633", "0.50538284", "0.50525343", "0.50507885", "0.50404763", "0.5035278", "0.5034808", "0.5026243", "0.5012716", "0.5011526", "0.50095963", "0.5006619", "0.50052124", "0.49991256", "0.49986765", "0.49884808", "0.4983292", "0.49770108", "0.4973961", "0.49730334", "0.49660745", "0.4949176", "0.49466917", "0.49434626", "0.49418402", "0.49393612", "0.4935351", "0.49333382", "0.49241045", "0.49209362", "0.49201748", "0.49188754", "0.49167746", "0.4911656", "0.49081495", "0.49075872", "0.49040768" ]
0.68332976
2
Outputs the available voices. The returned list contains the voice IDs.
public Future<List<String>> getAvailableVoices() throws DynamicCallException, ExecutionException { return call("getAvailableVoices"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<String> getAvailableVoices() throws DynamicCallException, ExecutionException {\n return (List<String>)call(\"getAvailableVoices\").get();\n }", "@UML(identifier=\"voice\", obligation=OPTIONAL, specification=ISO_19115)\n Collection<String> getVoices();", "public ArrayList<Voice> getAllVoiceCalls() {\n ArrayList<Voice> allVoiceCalls = new ArrayList<Voice>();\n allVoiceCalls.addAll(getSentVoiceCalls());\n allVoiceCalls.addAll(getReceivedVoiceCalls());\n\n return allVoiceCalls;\n }", "public ArrayList<Voice> getAllVoiceCalls() {\n\t\tArrayList<Voice> allVoiceCalls = new ArrayList<Voice>();\n\t\tallVoiceCalls.addAll(getSentVoiceCalls());\n\t\tallVoiceCalls.addAll(getReceivedVoiceCalls());\n\n\t\treturn allVoiceCalls;\n\t}", "Collection<String> getVoicedCommandList();", "public String[] getSoundDevicesList();", "@Override\r\n\tpublic List<EchoSound> getEchoSoundAll() {\n\t\treturn echoSoundMapper.getEchoSoundAll();\r\n\t}", "public Future<String> getVoice() throws DynamicCallException, ExecutionException {\n return call(\"getVoice\");\n }", "public ArrayList<Voice> getSentVoiceCalls() {\n ArrayList<Voice> sentVoiceCalls = new ArrayList<Voice>();\n for (Communication communication : getCommunicationSent())\n if (communication instanceof Voice) {\n sentVoiceCalls.add((Voice) communication);\n }\n return sentVoiceCalls;\n }", "public List<String> getVoters(Long pollId) {\n List<String> result = new ArrayList<>();\n pollRepository.findById(pollId).ifPresent(poll -> {\n poll.getAnswers().forEach(answer -> result.addAll(answer.getSelectedByUsers()));\n });\n return result;\n }", "public char[] voltages_GET()\n {return voltages_GET(new char[10], 0);}", "public String getVoice() throws DynamicCallException, ExecutionException {\n return (String)call(\"getVoice\").get();\n }", "public ArrayList<Voice> getReceivedVoiceCalls() {\n ArrayList<Voice> receivedVoiceCalls = new ArrayList<Voice>();\n for (Communication communication : getCommunicationReceived())\n if (communication instanceof Voice) {\n receivedVoiceCalls.add((Voice) communication);\n }\n return receivedVoiceCalls;\n }", "public ArrayList<Voice> getSentVoiceCalls() {\n\t\tArrayList<Voice> sentVoiceCalls = new ArrayList<Voice>();\n\t\tfor (Communication communication : getCommunicationSent())\n\t\t\tif (communication instanceof Voice) {\n\t\t\t\tsentVoiceCalls.add((Voice) communication);\n\t\t\t}\n\t\treturn sentVoiceCalls;\n\t}", "private void getVoices() throws Exception{\r\n\r\n\t\tFestival f = new Festival(\"\",\"1\");\r\n\t\t_voices = f.listOfVoices();\r\n\r\n\t}", "public List<String> getNames(VariantContext variantContext);", "public ArrayList<Voice> getReceivedVoiceCalls() {\n\t\tArrayList<Voice> receivedVoiceCalls = new ArrayList<Voice>();\n\t\tfor (Communication communication : getCommunicationReceived())\n\t\t\tif (communication instanceof Voice) {\n\t\t\t\treceivedVoiceCalls.add((Voice) communication);\n\t\t\t}\n\t\treturn receivedVoiceCalls;\n\t}", "public List getResults() {\r\n List<Candidate> list = new ArrayList<>();\r\n list = getCurrentVoting().getCandidates();\r\n list.sort(Comparator.comparingInt(Candidate::getVoices));\r\n return list;\r\n }", "public List<Aviao> getListAvioes() {\n return avioes;\n }", "public List<String> getServices() throws IOException;", "public String[] getVideoDevicesList();", "public List<String> audiences() {\n return this.innerProperties() == null ? null : this.innerProperties().audiences();\n }", "private String[] displayOptions() throws IOException {\n StringBuilder deckCollection = new StringBuilder(TerminalLauncher.DELIMITER_MAIN + \"deck selection:\\n\");\n String[] decknames = AnkiConnector.getDeckNames();\n String deckname_format = \" * %d: %s\\n\";\n for (int i = 0; i < decknames.length; i++) {\n deckCollection.append(String.format(deckname_format, i + 1, decknames[i]));\n }\n deckCollection.append(String.format(deckname_format, decknames.length + 1, \"create new deck\"));\n deckCollection.append(TerminalLauncher.DELIMITER_SEC + \"input: \");\n System.out.print(deckCollection);\n\n return decknames;\n }", "@Override\n\tpublic List<Vendor> listVendors() {\n\t\treturn new ArrayList<>(vendors.values());\n\t}", "public void showVehicles() {\n\t\tfor (Vehicle vehicle : vehicles) {\n\t\t\tSystem.out.println(vehicle);\n\t\t}\n\t}", "public Voice getVoice ()\r\n {\r\n return voice;\r\n }", "public Vector<String> getConferenceRooms() {\n return conferenceRooms;\n }", "public void listAllSongs()\n {\n for(int i = 0; i < songs.size(); i++) {\n System.out.print((i+1) + \"- \");\n listSong(i);\n }\n }", "public int getNumSpeakers() { return numSpeakers; }", "public static Set<String> getGamesList() {\n\t\treturn arcade.findPlayableIds();\n\t}", "public static Collection<String> getSubscriberIdentifiers(final Context context, final CRMSpid spid)\r\n throws HomeException\r\n {\r\n return getSubscriberIdentifiers(context, spid.getId());\r\n }", "public List<CharSequence> getSpeakableText() {\n return Collections.emptyList();\n }", "public static void subscriptions() {\n\t\ttry {\n\t\t\tList<Subscription> subscriptions = PlatformClient\n\t\t\t\t\t.subscriptions(getUser());\n\t\t\trender(subscriptions);\n\t\t} catch (ApplicationException e) {\n\t\t\te.printStackTrace();\n\t\t\tflash.error(\"Can not get subscriptions : %s\", e.getMessage());\n\t\t\trender();\n\t\t}\n\t}", "public String[] listItems() {\n \n\t\tif (itemCount==0) {\n\t\t\tSystem.out.println(\"\\tNo items available.\\n\");\n\t\t}\n\t\telse {\n\t\t\tfor(int index = 1; index<=itemCount; index++) {\n VendItem s = stock[index-1];\n itemList[index-1]=(s.getName());\n\t\t\t}\n System.out.println();\n \n }\n return itemList;\n\n }", "@ManagedAttribute(description = \"Retrieves the list of Registered Services in a slightly friendlier output.\")\n public final List<String> getRegisteredServicesAsStrings() {\n final List<String> services = new ArrayList<>();\n\n for (final RegisteredService r : this.servicesManager.getAllServices()) {\n services.add(new StringBuilder().append(\"id: \").append(r.getId())\n .append(\" name: \").append(r.getName())\n .append(\" serviceId: \").append(r.getServiceId())\n .toString());\n }\n\n return services;\n }", "@Override\n\tpublic ArrayList<String> getChoices() {\n\t\t// TODO Auto-generated method stub\n\t\treturn this.choices;\n\t}", "Collection<Subscription> getSubscriptions();", "@Override\r\n\tpublic List<Vendor> listVendors() {\n\t\treturn dao.listVendors();\r\n\t}", "public QueryResult<Variant> getAllVariants(QueryOptions options);", "public List<String> getSpectrumIdList()\r\n\t{\r\n\t\t/*\r\n\t\t * Return list of spectrum id values.\r\n\t\t */\r\n\t\treturn fetchSpectrumIds();\r\n\t}", "public List<Speaker> selectAll() {\n\t\treturn dao.selectAll();\r\n\t}", "public static String[] getAvailableIDs();", "public String printAllInventory(){\r\n\r\n String returnString = \"Items:\";\r\n for(Item item : playerItem){\r\n returnString += \" \" + item.getName(); \r\n }\r\n return returnString;\r\n }", "public ArrayList<String> getListSongs() {\n\t\tArrayList<String> ret = new ArrayList<String>();\n\t\tList<Song> songs = controller.getSongs();\n\t\tfor (Iterator<Song> it = songs.iterator(); it.hasNext(); ) {\n\t\t\tSong song = it.next();\n\t\t\tret.add(song.getTitle() + \" - \" + song.getArtist());\n\t\t}\n\t\treturn ret;\n\t}", "public List<String> subscriptions() {\n return this.subscriptions;\n }", "public static void showAllVilla(){\n ArrayList<Villa> villaList = getListFromCSV(FuncGeneric.EntityType.VILLA);\n displayList(villaList);\n showServices();\n }", "private String[] getGamesList() {\n\n\t\tGames games = new Games();\n\n\t\tint maxRecords = games.count();\n\t\tArrayList<Game> records = games.findAll(maxRecords, 0);\n\t\tIterator<Game> it = records.iterator();\n\n\t\tString[] output = new String[maxRecords];\n\t\tint i = 0;\n\n\t\twhile (it.hasNext()) {\n\n\t\t\tGame game = it.next();\n\t\t\toutput[i] = \"[\" + game.getId() + \"] \" + game.getName();\n\t\t\ti++;\n\n\t\t}\n\n\t\treturn output;\n\n\t}", "@Test\n public void listAllAvailableLanguages() throws IOException {\n System.out.println(\n \"Language preprocessing components for the following languages are available:\\n \"\n + String.join(\", \", LanguageComponents.languages()));\n }", "@Override\r\n\tpublic List<Speaker> findAllSpeaker() {\n\t\treturn sm.selectByExample(null);\r\n\t}", "public List<Invoice> listInvoices() throws IOException,\n\t\t\tClassNotFoundException {\n\t\treturn list(Invoice.class);\n\t}", "@Override\n public void onClick(View v) {\n text_to_speech = set_voice(text_to_speech);\n int len = ar.length;\n for (int i = 0; i < len; i++){\n speak(text_to_speech,ar[i]);\n }\n }", "public Collection<String> listDevices();", "public String getChoices() {\r\n\t\tString choice = \"\";\r\n\t\tfor(int i = 0; i < 4; i++) {\r\n\t\t\tchoice += i + 1 + \") \" + choices[i].getChoice() + \"\\n\";\r\n\t\t}\r\n\t\treturn choice;\r\n\t}", "private void listenVoiceCall() {\n final String username = MyAccount.getInstance().getName();\n final String topic = String.format(\"voice/%s\", username);\n new Subscriber(topic, username)\n .setNewMessageListener(new SubscribedTopicListener() {\n @Override\n public void onReceive(DataTransfer message) {\n String action = message.data.toString();\n switch (action) {\n case Constants.VOICE_REQUEST:\n onReceiveVoiceRequest(message);\n break;\n\n case Constants.VOICE_ACCEPT:\n hideCallingPane();\n onReceiveVoiceAccept(message);\n break;\n\n case Constants.VOICE_REJECT:\n hideCallingPane();\n onReceiveVoiceReject(message);\n break;\n\n case Constants.VOICE_QUIT:\n onReceiveVoiceQuit(message);\n\n }\n }\n })\n .listen();\n }", "public interface VoiceManager {\n\n void speak(int requestCode, int speechResourceId, Object... formatArgs);\n\n void speak(int requestCode, int speechResourceId);\n\n void listen(int requestCode);\n\n void shutdown();\n\n void setVoiceManagerListener(VoiceManagerImpl.VoiceManagerListener listener);\n}", "public String[] getSubscribedLines() {// otan patas unsubscribe sto menu , print lista me ta lines pou eisai subscribed\n int length = subscribedLists.size();\n\n if (length == 0) {\n return null;\n } else {\n String[] array = new String[length];\n\n int i = 0;\n\n for (Map.Entry<Integer, String> pair : databaseLineIDToTitle.entrySet()) {\n if (subscribedLists.contains(pair.getKey())) {\n array[i++] = String.format(\"%03d - %s \\n \", pair.getKey(), pair.getValue());\n }\n }\n\n return array;\n }\n }", "public String[] getChoices()\n\t{\n\t\treturn choices;\n\t}", "public ArrayList<Choice> getChoices() {\n return mChoices;\n }", "public Object[] getList() {\n\t\treturn new Object[]{pitch, duration, velocity};\n\t}", "public static ArrayList getAllCustomVendorIds()\n throws EnvoyServletException\n {\n try\n {\n return ServerProxy.getVendorManagement().getCustomVendorIds();\n }\n catch (Exception e)\n {\n throw new EnvoyServletException(e);\n }\n }", "public java.util.List<com.google.cloud.speech.v2.StreamingRecognitionResult.Builder>\n getResultsBuilderList() {\n return getResultsFieldBuilder().getBuilderList();\n }", "public List<Spectator> findAllSpectators(){\n\t\treturn spectatorRepository.findAll();\n\t}", "public void listSubscribers()\n\t{\n\t\tString str = \"Name\\tSurname\\tMail\\tPassword\\tId\\n\";\n\n\t\tList<Customer> customers = this.company.getSubs();\n\n\t\tfor(int i=0; i<customers.length(); i++)\n\t\t{\n\t\t\tstr += customers.get(i).getName() + \"\\t\" + customers.get(i).getSurname() + \"\\t\" + customers.get(i).getMail() + \"\\t\" + customers.get(i).getPassword() + \"\\t\" + customers.get(i).getId() + \"\\n\";\n\n\t\t}\n\t\t\n\t\tSystem.out.println(str);\n\n\n\t}", "public static void listVehicles() {\n\t\tSystem.out.println(\"-----------------\");\n\t\tSystem.out.println(\"Listing Vehicles\");\n\t\tSystem.out.println(\"-----------------\");\n\t\t\n\t\tfor (int i = 0; i < owners.size(); i++) {\n\t\t\tfor (Vehicle v : owners.get(i).getVehicles()) {\n\t\t\t\t\n\t\t\t\tSystem.out.println((owners.get(i).getName() + \"'s \" + v.toString()));\n\t\t\t\t\n\t\t\t}\n\n\t\t}\n\t\t\n\t}", "public String[] showStock() {\n \tString[] stock = new String[5];\n \tstock[0] = Integer.toString(this.getId());\n \tstock[1] = this.getName();\n \tstock[2] = Integer.toString(this.getAvailableNumber());\n \tstock[3] = Double.toString(this.getBuyPrice().getAmount());\n \tstock[4] = Double.toString(this.getSellPrice().getAmount());\n \treturn stock;\n }", "public List<String> listRoomsNames() {\n return chatRooms.stream().map(ChatRoom::getChatName).collect(Collectors.toList());\n }", "public List<String> allClients() throws IOException {\n String httpResponse = httpGet(baseUrl.resolve(\"/automation/v2/clients\"));\n return mapper.readValue(httpResponse, new TypeReference<List<String>>() {\n });\n }", "public String toString() {\r\n\r\n\tString out = \"\";\r\n\r\n\tfor (int i = 0; i < this.getNumberChoices(); i++) {\r\n\t MenuChoice thisChoice = this.getChoices().get(i);\r\n\t out += thisChoice.getIndex() + \") \" + thisChoice.getValue() + \"\\n\";\r\n\t}\r\n\r\n\treturn out;\r\n }", "private void listCurrencies() {\r\n\t\t// Test whether we already have currencies\r\n\t\tif (currencies == null) {\r\n\t\t\t// No, so complain and return\r\n\t\t\tSystem.out.println(\"There are currently no currencies in the system.\");\r\n\t\t\tSystem.out.println(\"Please add at least one currency.\");\r\n\t\t\tSystem.out.println();\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t// Reset the index into the currencies list\r\n\t\tcurrencies.reset();\r\n\t\tCurrency currency;\r\n\t\t// Output all currencies\r\n\t\twhile ((currency = currencies.next()) != null) {\r\n\t\t\tSystem.out.println(currency.getCode());\t\t\t\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}", "public void getAllAvengers(HttpServletResponse resp) throws IOException {\n\t\tList<Avenger> list = avService.avengersAssemble();\n\n\t\t// Convert Java object into a JSON string that can be written to the body of an\n\t\t// HTTP response\n\t\tString json = om.writeValueAsString(list);\n\t\tSystem.out.println(json);\n\t\tPrintWriter pw = resp.getWriter();\n\t\tpw.print(json);\n\t\tresp.setStatus(200);\n\t}", "public List<VariantDto> getAllVariants() {\n return variantRepository.findAll()\n .stream()\n .map(q -> mapper.toDto(q))\n .collect(Collectors.toList());\n }", "public List<String> getOptionsNames();", "@java.lang.Override\n public java.util.List<com.google.cloud.speech.v2.StreamingRecognitionResult> getResultsList() {\n return results_;\n }", "java.util.List<org.auvua.utils.protobuffer.AUVprotocol.AUVCommand.Output> \n getOutputsList();", "public List<String> emitGenotype() {\n\t\tList<String> genotype = new ArrayList<String>();\n\t\tfor (int i = 0; i < 2; i++) {\n\t\t\tdouble random = Math.random();\n\t\t\tif (random < 0.0005) {\n\t\t\t\tgenotype.add(\"1\");\n\t\t\t} else {\n\t\t\t\tgenotype.add(\"0\");\n\t\t\t}\n\t\t}\n\t\treturn(genotype);\n\t}", "public String getSubs(List<Channel> subs)\n {\n subs.clear();\n return accessData.getSubSequential(subs);\n }", "public void list(){\n //loop through all inventory items\n for(int i=0; i<this.items.size(); i++){\n //print listing of each item\n System.out.printf(this.items.get(i).getListing()+\"\\n\");\n }\n }", "public List<ChoiceItemDTO> getChoices() {\r\n\t\treturn choices;\r\n\t}", "public void recordVoice() {\n\t\t\n\t\t//String command = \"ffmpeg -f alsa -i hw:0 -t 2 -acodec pcm_s16le -ar 16000 -ac 1 foo.wav\"\n\t\tString command = \"arecord -d 2 -r 22050 -c 1 -i -t wav -f s16_LE foo.wav\";\n\t\t\n\t\tProcessBuilder pb = new ProcessBuilder(\"bash\" , \"-c\" , command );\n\t\ttry {\n\t\t\t\n\t\t\tProcess recordProcess = pb.start();\n\t\t\t\n\t\t\trecordProcess.waitFor();\n\t\t\t\n\t\t\trecordProcess.destroy();\n\t\n\t\t\t\n\t\t}catch (IOException ioe) {\n\t\t\tioe.printStackTrace();\n\t\t\t\n\t\t}catch (InterruptedException ie) {\n\t\t\tie.printStackTrace();\n\t\t}\n\t\t\n\t}", "public Voice(List<Bar> voices){\n List<Bar> temp= new ArrayList<>();\n temp.addAll(voices);\n this.voices=temp;\n }", "public static Collection<String> getSubscriberIdentifiers(final Context context, final int spid)\r\n throws HomeException\r\n {\r\n final Collection<String> subscriberIdentifiers = new ArrayList<String>();\r\n\r\n final XDB xdb = (XDB) context.get(XDB.class);\r\n\r\n final XStatement sql = new XStatement()\r\n {\r\n\r\n private static final long serialVersionUID = 1L;\r\n\r\n\r\n public String createStatement(final Context ctx)\r\n {\r\n return \" select ID from Subscriber where SPID = ? \";\r\n }\r\n\r\n\r\n public void set(final Context ctx, final XPreparedStatement ps) throws SQLException\r\n {\r\n ps.setInt(spid);\r\n }\r\n };\r\n\r\n xdb.forEach(context, new Visitor()\r\n {\r\n\r\n private static final long serialVersionUID = 1L;\r\n\r\n\r\n public void visit(final Context ctx, final Object obj) throws AgentException, AbortVisitException\r\n {\r\n try\r\n {\r\n subscriberIdentifiers.add(((XResultSet) obj).getString(1));\r\n }\r\n catch (final SQLException e)\r\n {\r\n throw new AgentException(e);\r\n }\r\n }\r\n }, sql);\r\n\r\n return subscriberIdentifiers;\r\n }", "public void showPhoneBook(){\n System.out.println(phoneBooks);\n}", "public ArrayList<SongInfo> getSongInfoList()\n {\n return songInfos;\n }", "public String ls()\n\t{\n\t\tString toReturn = \"\";\n\t\tIterable<Position<FileElement>> kids = fileSystem.children(currentFileElement);\n\t\tif (kids == null) return \"Nothing to list\";\n\t\t{\n\t\t\tfor (Position<FileElement> fe : kids)\n\t\t\t{\n\t\t\t\ttoReturn += fe.toString() + \", \";\n\t\t\t}\n\t\t}\n\t\treturn toReturn;\n\t}", "public static ArrayList<String> getPlayerInformation() {\n clearScreen();\n ArrayList<String> Names = new ArrayList<String>();\n for (int i = 1; i < 3; i++) {\n System.out.println(\"Player \" + i + \"'s Name:\");\n Names.add(Input.nextLine());\n clearScreen();\n }\n return Names;\n }", "public static List<Genre> get() throws IOException {\n return get(null);\n }", "public List<Subscription> subscriptions() {\n return this.subscriptions;\n }", "java.util.List<com.message.EquipmentProto.PlayerEquipmentMsg> \n getListPlayerEquipmentsList();", "@Override\n\tpublic List<Veiculo> listar() {\n\t\treturn null;\n\t}", "@IcalProperty(pindex = PropertyInfoIndex.VVOTER,\n vpollProperty = true\n )\n @NoProxy\n public Set<String> getVoters() {\n final List<BwXproperty> props = getXproperties(BwXproperty.pollVoter);\n\n if (Util.isEmpty(props)) {\n return null;\n }\n\n final Set<String> vals = new TreeSet<>();\n\n for (final BwXproperty p: props) {\n vals.add(p.getValue());\n }\n\n return vals;\n }", "private void deliverOptions()\n {\n int counter = 0;\n for(Option choice : options){\n counter++;\n System.out.println(\"#\" + counter + \" \" + choice.getText());\n }\n }", "public List<V1Volume> getVolumes() {\n return volumes;\n }", "public static void listMainMenuOptions(){\n\t\tSystem.out.println(\"\\nWelcome to Vet Clinic Program. Please choose an option from the list below.\\n\");\n\t\tSystem.out.println(\"1: List all staff.\");\n\t\tSystem.out.println(\"2: List staff by category.\");\n\t\tSystem.out.println(\"3: List admin Staff performing a task.\");\n\t\tSystem.out.println(\"4: Search for a specific member of staff by name.\");\n\t\tSystem.out.println(\"5: List all animals.\");\n\t\tSystem.out.println(\"6: List animals by type.\");\n\t\tSystem.out.println(\"7: Search for a specific animal by name.\");\n\t\tSystem.out.println(\"8: See the Queue to the Veterinary\");\n\t\tSystem.out.println(\"9: Exit\");\n\t}", "public abstract List<String> getInventory();", "java.util.List<com.google.speech.logs.MicrophoneChannelStatistics> \n getChannelStatisticsList();", "public List<String> getAvailableLanguages() throws DynamicCallException, ExecutionException {\n return (List<String>)call(\"getAvailableLanguages\").get();\n }", "public ArrayList<PurchaseVO> showPurchase() {\n\t\treturn purchase.show();\r\n\t}", "public ArrayList getSubscriptions(){\n\t return subscriptions;\n\t}", "public Set<Speaker<? extends E>> getSpeakers();", "public ArrayList<String> getChoix() {\n return choix;\n }" ]
[ "0.72459716", "0.7232695", "0.6038796", "0.6000239", "0.54260916", "0.5387859", "0.5308967", "0.52963686", "0.52735937", "0.52607816", "0.52332217", "0.5224644", "0.52006334", "0.5196457", "0.51907563", "0.5121848", "0.5116093", "0.5068287", "0.50505567", "0.49996522", "0.4972215", "0.49640867", "0.49097425", "0.49070427", "0.48945352", "0.48434612", "0.4837301", "0.48243064", "0.48204017", "0.48195133", "0.4818893", "0.48176074", "0.4806842", "0.48044732", "0.47948304", "0.4787872", "0.47857004", "0.47836384", "0.4775624", "0.47668052", "0.47665992", "0.47637773", "0.47576827", "0.47421134", "0.47135755", "0.4708595", "0.46929076", "0.4686131", "0.4684987", "0.4679795", "0.46658903", "0.46630535", "0.465733", "0.46447957", "0.4641311", "0.4627489", "0.46230862", "0.46149513", "0.45989585", "0.45880678", "0.4585583", "0.45789614", "0.45779136", "0.45731288", "0.45695034", "0.45693493", "0.4566323", "0.45648852", "0.45642775", "0.45628515", "0.45490605", "0.45482448", "0.4537166", "0.45355", "0.45309415", "0.45254967", "0.45229402", "0.45228454", "0.45185554", "0.45174307", "0.45067704", "0.45064107", "0.45002365", "0.4497859", "0.44969454", "0.44861078", "0.44792104", "0.44739026", "0.44736215", "0.4469624", "0.4467568", "0.44649372", "0.4458454", "0.44559383", "0.44524547", "0.44504666", "0.444919", "0.44466895", "0.44436678", "0.4435652" ]
0.6991889
2