-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e342b9b
commit 95f250c
Showing
79 changed files
with
14,212 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm | ||
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 | ||
|
||
# User-specific stuff: | ||
.idea/workspace.xml | ||
.idea/tasks.xml | ||
.idea/dictionaries | ||
.idea/vcs.xml | ||
.idea/jsLibraryMappings.xml | ||
|
||
# Sensitive or high-churn files: | ||
.idea/dataSources.ids | ||
.idea/dataSources.xml | ||
.idea/dataSources.local.xml | ||
.idea/sqlDataSources.xml | ||
.idea/dynamic.xml | ||
.idea/uiDesigner.xml | ||
|
||
# Gradle: | ||
.idea/gradle.xml | ||
.idea/libraries | ||
|
||
# Mongo Explorer plugin: | ||
.idea/mongoSettings.xml | ||
|
||
## File-based project format: | ||
*.iws | ||
|
||
## Plugin-specific files: | ||
|
||
# IntelliJ | ||
/out/ | ||
|
||
# mpeltonen/sbt-idea plugin | ||
.idea_modules/ | ||
|
||
# JIRA plugin | ||
atlassian-ide-plugin.xml | ||
|
||
# Crashlytics plugin (for Android Studio and IntelliJ) | ||
com_crashlytics_export_strings.xml | ||
crashlytics.properties | ||
crashlytics-build.properties | ||
fabric.properties | ||
|
||
config.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
language: java | ||
jdk: | ||
- oraclejdk8 | ||
script: | ||
- mvn test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4"> | ||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8" inherit-compiler-output="false"> | ||
<output url="file://$MODULE_DIR$/target/classes" /> | ||
<output-test url="file://$MODULE_DIR$/target/test-classes" /> | ||
<content url="file://$MODULE_DIR$"> | ||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> | ||
<excludeFolder url="file://$MODULE_DIR$/target" /> | ||
</content> | ||
<orderEntry type="inheritedJdk" /> | ||
<orderEntry type="sourceFolder" forTests="false" /> | ||
</component> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,18 @@ | ||
# KPI-ML4j | ||
|
||
[![Build Status](https://travis-ci.org/jpdillingham/KPI-ML4j.svg?branch=master)](https://travis-ci.org/jpdillingham/KPI-ML4j) | ||
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/jpdillingham/KPI-ML.NET/blob/master/LICENSE) | ||
|
||
A Java Package containing an implementation of the MESA International standard KPI-ML. | ||
|
||
Generated with the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 from the KPI-ML V01 schema available from the MESA website [here](https://services.mesa.org/ResourceLibrary/ShowResource/8c814090-51b7-476c-8e64-3d0b3ae7ced2). | ||
|
||
# About KPI-ML | ||
|
||
From the MESA website: | ||
|
||
> KPI-ML is an XML implementation of the ISO 22400 standard, Automation systems integration - Key performance indicators (KPIs) for manufacturing operations management. KPI-ML consists of a set of XML schemas written using the World Wide Web Consortium's XML Schema language (XSD) that implement the data models in the ISO 22400 standard. | ||
> Companies interested in following ISO 22400 for integration projects may use KPI-ML to exchange KPI definitions and values between manufacturing systems such as control systems and manufacturing execution systems and IT systems, as well as visualization systems such as dashboards. Any company may use KPI-ML royalty free, provided credit is given to MESA. | ||
> V0100 is the first version of KPI-ML. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>org.mesa.xml.kpi_ml4j</groupId> | ||
<artifactId>KPI-ML4j</artifactId> | ||
<version>1.0.0</version> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<maven.compiler.source>1.8</maven.compiler.source> | ||
<maven.compiler.target>1.8</maven.compiler.target> | ||
</properties> | ||
|
||
<build> | ||
<directory>target</directory> | ||
<outputDirectory>target/classes</outputDirectory> | ||
<finalName>${project.artifactId}-${project.version}</finalName> | ||
<sourceDirectory>src</sourceDirectory> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<phase>package</phase> | ||
</execution> | ||
</executions> | ||
<configuration> | ||
<archive> | ||
<manifest> | ||
<addClasspath>true</addClasspath> | ||
</manifest> | ||
</archive> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
260 changes: 260 additions & 0 deletions
260
src/org/mesa/xml/kpi_ml4j/AcknowledgeKPIDefinitionType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,260 @@ | ||
// | ||
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 | ||
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> | ||
// Any modifications to this file will be lost upon recompilation of the source schema. | ||
// Generated on: 2017.01.28 at 11:16:59 AM CST | ||
// | ||
|
||
|
||
package org.mesa.xml.kpi_ml4j; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
import javax.xml.bind.annotation.XmlAccessType; | ||
import javax.xml.bind.annotation.XmlAccessorType; | ||
import javax.xml.bind.annotation.XmlAttribute; | ||
import javax.xml.bind.annotation.XmlElement; | ||
import javax.xml.bind.annotation.XmlSchemaType; | ||
import javax.xml.bind.annotation.XmlType; | ||
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; | ||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; | ||
|
||
|
||
/** | ||
* <p>Java class for AcknowledgeKPIDefinitionType complex type. | ||
* | ||
* <p>The following schema fragment specifies the expected content contained within this class. | ||
* | ||
* <pre> | ||
* <complexType name="AcknowledgeKPIDefinitionType"> | ||
* <complexContent> | ||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | ||
* <sequence> | ||
* <element name="ApplicationArea" type="{http://www.mesa.org/xml/KPI-ML-V01}TransApplicationAreaType"/> | ||
* <element name="DataArea"> | ||
* <complexType> | ||
* <complexContent> | ||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | ||
* <sequence> | ||
* <element name="Acknowledge" type="{http://www.mesa.org/xml/KPI-ML-V01}TransAcknowledgeType"/> | ||
* <element name="KPIDefinition" type="{http://www.mesa.org/xml/KPI-ML-V01}KPIDefinitionType" maxOccurs="unbounded"/> | ||
* </sequence> | ||
* </restriction> | ||
* </complexContent> | ||
* </complexType> | ||
* </element> | ||
* </sequence> | ||
* <attribute name="releaseID" use="required" type="{http://www.w3.org/2001/XMLSchema}normalizedString" /> | ||
* <attribute name="versionID" type="{http://www.w3.org/2001/XMLSchema}normalizedString" /> | ||
* </restriction> | ||
* </complexContent> | ||
* </complexType> | ||
* </pre> | ||
* | ||
* | ||
*/ | ||
@XmlAccessorType(XmlAccessType.FIELD) | ||
@XmlType(name = "AcknowledgeKPIDefinitionType", propOrder = { | ||
"applicationArea", | ||
"dataArea" | ||
}) | ||
public class AcknowledgeKPIDefinitionType { | ||
|
||
@XmlElement(name = "ApplicationArea", required = true) | ||
protected TransApplicationAreaType applicationArea; | ||
@XmlElement(name = "DataArea", required = true) | ||
protected AcknowledgeKPIDefinitionType.DataArea dataArea; | ||
@XmlAttribute(name = "releaseID", required = true) | ||
@XmlJavaTypeAdapter(NormalizedStringAdapter.class) | ||
@XmlSchemaType(name = "normalizedString") | ||
protected String releaseID; | ||
@XmlAttribute(name = "versionID") | ||
@XmlJavaTypeAdapter(NormalizedStringAdapter.class) | ||
@XmlSchemaType(name = "normalizedString") | ||
protected String versionID; | ||
|
||
/** | ||
* Gets the value of the applicationArea property. | ||
* | ||
* @return | ||
* possible object is | ||
* {@link TransApplicationAreaType } | ||
* | ||
*/ | ||
public TransApplicationAreaType getApplicationArea() { | ||
return applicationArea; | ||
} | ||
|
||
/** | ||
* Sets the value of the applicationArea property. | ||
* | ||
* @param value | ||
* allowed object is | ||
* {@link TransApplicationAreaType } | ||
* | ||
*/ | ||
public void setApplicationArea(TransApplicationAreaType value) { | ||
this.applicationArea = value; | ||
} | ||
|
||
/** | ||
* Gets the value of the dataArea property. | ||
* | ||
* @return | ||
* possible object is | ||
* {@link AcknowledgeKPIDefinitionType.DataArea } | ||
* | ||
*/ | ||
public AcknowledgeKPIDefinitionType.DataArea getDataArea() { | ||
return dataArea; | ||
} | ||
|
||
/** | ||
* Sets the value of the dataArea property. | ||
* | ||
* @param value | ||
* allowed object is | ||
* {@link AcknowledgeKPIDefinitionType.DataArea } | ||
* | ||
*/ | ||
public void setDataArea(AcknowledgeKPIDefinitionType.DataArea value) { | ||
this.dataArea = value; | ||
} | ||
|
||
/** | ||
* Gets the value of the releaseID property. | ||
* | ||
* @return | ||
* possible object is | ||
* {@link String } | ||
* | ||
*/ | ||
public String getReleaseID() { | ||
return releaseID; | ||
} | ||
|
||
/** | ||
* Sets the value of the releaseID property. | ||
* | ||
* @param value | ||
* allowed object is | ||
* {@link String } | ||
* | ||
*/ | ||
public void setReleaseID(String value) { | ||
this.releaseID = value; | ||
} | ||
|
||
/** | ||
* Gets the value of the versionID property. | ||
* | ||
* @return | ||
* possible object is | ||
* {@link String } | ||
* | ||
*/ | ||
public String getVersionID() { | ||
return versionID; | ||
} | ||
|
||
/** | ||
* Sets the value of the versionID property. | ||
* | ||
* @param value | ||
* allowed object is | ||
* {@link String } | ||
* | ||
*/ | ||
public void setVersionID(String value) { | ||
this.versionID = value; | ||
} | ||
|
||
|
||
/** | ||
* <p>Java class for anonymous complex type. | ||
* | ||
* <p>The following schema fragment specifies the expected content contained within this class. | ||
* | ||
* <pre> | ||
* <complexType> | ||
* <complexContent> | ||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | ||
* <sequence> | ||
* <element name="Acknowledge" type="{http://www.mesa.org/xml/KPI-ML-V01}TransAcknowledgeType"/> | ||
* <element name="KPIDefinition" type="{http://www.mesa.org/xml/KPI-ML-V01}KPIDefinitionType" maxOccurs="unbounded"/> | ||
* </sequence> | ||
* </restriction> | ||
* </complexContent> | ||
* </complexType> | ||
* </pre> | ||
* | ||
* | ||
*/ | ||
@XmlAccessorType(XmlAccessType.FIELD) | ||
@XmlType(name = "", propOrder = { | ||
"acknowledge", | ||
"kpiDefinition" | ||
}) | ||
public static class DataArea { | ||
|
||
@XmlElement(name = "Acknowledge", required = true) | ||
protected TransAcknowledgeType acknowledge; | ||
@XmlElement(name = "KPIDefinition", required = true) | ||
protected List<KPIDefinitionType> kpiDefinition; | ||
|
||
/** | ||
* Gets the value of the acknowledge property. | ||
* | ||
* @return | ||
* possible object is | ||
* {@link TransAcknowledgeType } | ||
* | ||
*/ | ||
public TransAcknowledgeType getAcknowledge() { | ||
return acknowledge; | ||
} | ||
|
||
/** | ||
* Sets the value of the acknowledge property. | ||
* | ||
* @param value | ||
* allowed object is | ||
* {@link TransAcknowledgeType } | ||
* | ||
*/ | ||
public void setAcknowledge(TransAcknowledgeType value) { | ||
this.acknowledge = value; | ||
} | ||
|
||
/** | ||
* Gets the value of the kpiDefinition property. | ||
* | ||
* <p> | ||
* This accessor method returns a reference to the live list, | ||
* not a snapshot. Therefore any modification you make to the | ||
* returned list will be present inside the JAXB object. | ||
* This is why there is not a <CODE>set</CODE> method for the kpiDefinition property. | ||
* | ||
* <p> | ||
* For example, to add a new item, do as follows: | ||
* <pre> | ||
* getKPIDefinition().add(newItem); | ||
* </pre> | ||
* | ||
* | ||
* <p> | ||
* Objects of the following type(s) are allowed in the list | ||
* {@link KPIDefinitionType } | ||
* | ||
* | ||
*/ | ||
public List<KPIDefinitionType> getKPIDefinition() { | ||
if (kpiDefinition == null) { | ||
kpiDefinition = new ArrayList<KPIDefinitionType>(); | ||
} | ||
return this.kpiDefinition; | ||
} | ||
|
||
} | ||
|
||
} |
Oops, something went wrong.