All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.okworx.ilcd.validation.common.Constants Maven / Gradle / Ivy

Go to download

A Java library for performing technical validation of data in ILCD data format.

There is a newer version: 2.7.2
Show newest version
package com.okworx.ilcd.validation.common;

/**
 * 

Constants class.

* * @author oliver.kusche * @version $Id: $Id */ public class Constants { public static final String DEFAULT_PROFILE_JAR = "profiles/ILCD-1.1-1.8.3.jar"; public static final String[] DEFAULT_SECONDARY_PROFILE_JARS = { "profiles/ILCD-1.1-EL-1.0.7.jar", "profiles/EF-1.0-1.0.11.jar", "profiles/EF-2.0-2.0.10.jar", "profiles/EF-3.0-3.3.1.jar", "profiles/EF-3.1-3.2.3.jar" }; /* * paths */ /** Constant ILCD_PATH_PREFIX="eu/europa/ec/jrc/lca/ilcd/" */ public static final String ILCD_PATH_PREFIX = "eu/europa/ec/jrc/lca/ilcd/"; /** Constant ILCD_SCHEMAS_PATH_PREFIX="ILCD_PATH_PREFIX + schemas/" */ public static final String ILCD_SCHEMAS_PATH_PREFIX = ILCD_PATH_PREFIX + "schemas/"; /** Constant STYLESHEETS_PATH_PREFIX="ILCD_PATH_PREFIX + stylesheets/" */ public static final String STYLESHEETS_PATH_PREFIX = ILCD_PATH_PREFIX + "stylesheets/"; /** Constant VALIDATE_STYLESHEET_NAME="validate.xsl" */ public static final String VALIDATE_STYLESHEET_NAME = "validate.xsl"; /** Constant VALIDATE_STYLESHEET="STYLESHEETS_PATH_PREFIX + validate.xsl" */ public static final String VALIDATE_STYLESHEET = STYLESHEETS_PATH_PREFIX + "validate.xsl"; /** Constant DEFAULT_ILCD_LOCATIONS_NAME="ILCDLocations.xml" */ public static final String DEFAULT_ILCD_LOCATIONS_NAME = "ILCDLocations.xml"; /** Constant DEFAULT_ILCD_LCIA_METHODOLOGIES_NAME="ILCDLCIAMethodologies.xml" */ public static final String DEFAULT_ILCD_LCIA_METHODOLOGIES_NAME = "ILCDLCIAMethodologies.xml"; /** Constant DEFAULT_ILCD_CATEGORIES_NAME="ILCDClassification.xml" */ public static final String DEFAULT_ILCD_CATEGORIES_NAME = "ILCDClassification.xml"; /** Constant DEFAULT_ILCD_FLOW_CATEGORIES_NAME="ILCDFlowCategorization.xml" */ public static final String DEFAULT_ILCD_FLOW_CATEGORIES_NAME = "ILCDFlowCategorization.xml"; /** Constant REFERENCE_CATEGORIES_FILE_NAME="ILCDClassification_Reference.xml" */ public static final String REFERENCE_CATEGORIES_FILE_NAME = "ILCDClassification_Reference.xml"; /** Constant REFERENCE_FLOW_CATEGORIES_FILE_NAME="ILCDFlowCategorization_Reference.xml" */ public static final String REFERENCE_FLOW_CATEGORIES_FILE_NAME = "ILCDFlowCategorization_Reference.xml"; /** Constant REFERENCE_CATEGORIES="STYLESHEETS_PATH_PREFIX + REFERENCE_CAT"{trunked} */ public static final String REFERENCE_CATEGORIES = STYLESHEETS_PATH_PREFIX + REFERENCE_CATEGORIES_FILE_NAME; /** Constant REFERENCE_LOCATIONS_FILE_NAME="ILCDLocations_Reference.xml" */ public static final String REFERENCE_LOCATIONS_FILE_NAME = "ILCDLocations_Reference.xml"; /** Constant REFERENCE_LOCATIONS="STYLESHEETS_PATH_PREFIX + REFERENCE_LOC"{trunked} */ public static final String REFERENCE_LOCATIONS = STYLESHEETS_PATH_PREFIX + REFERENCE_LOCATIONS_FILE_NAME; /** Constant REFERENCE_LCIA_METHODOLOGIES_FILE_NAME="ILCDLCIAMethodologies_Reference.xml" */ public static final String REFERENCE_LCIA_METHODOLOGIES_FILE_NAME = "ILCDLCIAMethodologies_Reference.xml"; /** Constant REFERENCE_LCIA_METHODOLOGIES="STYLESHEETS_PATH_PREFIX+ REFERENCE_LCIA"{trunked} */ public static final String REFERENCE_LCIA_METHODOLOGIES = STYLESHEETS_PATH_PREFIX + REFERENCE_LCIA_METHODOLOGIES_FILE_NAME; /* * namespaces */ /** Constant NS_SCHEMA_INSTANCE="http://www.w3.org/2001/XMLSchema-instan"{trunked} */ public static final String NS_SCHEMA_INSTANCE = "http://www.w3.org/2001/XMLSchema-instance"; /** Constant NS_PROCESS="http://lca.jrc.it/ILCD/Process" */ public static final String NS_PROCESS = "http://lca.jrc.it/ILCD/Process"; /** Constant NS_LCIAMETHOD="http://lca.jrc.it/ILCD/LCIAMethod" */ public static final String NS_LCIAMETHOD = "http://lca.jrc.it/ILCD/LCIAMethod"; /** Constant NS_FLOW="http://lca.jrc.it/ILCD/Flow" */ public static final String NS_FLOW = "http://lca.jrc.it/ILCD/Flow"; /** Constant NS_FLOWPROPERTY="http://lca.jrc.it/ILCD/FlowProperty" */ public static final String NS_FLOWPROPERTY = "http://lca.jrc.it/ILCD/FlowProperty"; /** Constant NS_UNITGROUP="http://lca.jrc.it/ILCD/UnitGroup" */ public static final String NS_UNITGROUP = "http://lca.jrc.it/ILCD/UnitGroup"; /** Constant NS_SOURCE="http://lca.jrc.it/ILCD/Source" */ public static final String NS_SOURCE = "http://lca.jrc.it/ILCD/Source"; /** Constant NS_CONTACT="http://lca.jrc.it/ILCD/Contact" */ public static final String NS_CONTACT = "http://lca.jrc.it/ILCD/Contact"; /** Constant NS_LCMODEL="http://eplca.jrc.ec.europa.eu/ILCD/LifeCycleModel/2017" */ public static final String NS_LCMODEL = "http://eplca.jrc.ec.europa.eu/ILCD/LifeCycleModel/2017"; /** Constant NS_COMMON="http://lca.jrc.it/ILCD/Common" */ public static final String NS_COMMON = "http://lca.jrc.it/ILCD/Common"; /* * root elements */ /** Constant LOCATIONS_ROOT_ELEMENT_NAME="ILCDLocations" */ public static final String LOCATIONS_ROOT_ELEMENT_NAME = "ILCDLocations"; /** Constant LCIAMETHODOLOGIES_ROOT_ELEMENT_NAME="ILCDLCIAMethodologies" */ public static final String LCIAMETHODOLOGIES_ROOT_ELEMENT_NAME = "ILCDLCIAMethodologies"; /** Constant CATEGORIES_ROOT_ELEMENT_NAME="CategorySystem" */ public static final String CATEGORIES_ROOT_ELEMENT_NAME = "CategorySystem"; /** Constant LCIAMETHOD_ROOT_ELEMENT_NAME="LCIAMethodDataSet" */ public static final String LCIAMETHOD_ROOT_ELEMENT_NAME = "LCIAMethodDataSet"; /** Constant CONTACT_ROOT_ELEMENT_NAME="contactDataSet" */ public static final String CONTACT_ROOT_ELEMENT_NAME = "contactDataSet"; /** Constant SOURCE_ROOT_ELEMENT_NAME="sourceDataSet" */ public static final String SOURCE_ROOT_ELEMENT_NAME = "sourceDataSet"; /** Constant UNIT_GROUP_ROOT_ELEMENT_NAME="unitGroupDataSet" */ public static final String UNIT_GROUP_ROOT_ELEMENT_NAME = "unitGroupDataSet"; /** Constant FLOW_PROPERTY_ROOT_ELEMENT_NAME="flowPropertyDataSet" */ public static final String FLOW_PROPERTY_ROOT_ELEMENT_NAME = "flowPropertyDataSet"; /** Constant FLOW_ROOT_ELEMENT_NAME="flowDataSet" */ public static final String FLOW_ROOT_ELEMENT_NAME = "flowDataSet"; /** Constant PROCESS_ROOT_ELEMENT_NAME="processDataSet" */ public static final String PROCESS_ROOT_ELEMENT_NAME = "processDataSet"; /** Constant LCMODEL_ROOT_ELEMENT_NAME="lifeCycleModelDataSet" */ public static final String LCMODEL_ROOT_ELEMENT_NAME = "lifeCycleModelDataSet"; /* * folder names */ /** Constant FOLDER_NAME_ARCHIVE_ROOT="ILCD" */ public static final String FOLDER_NAME_ARCHIVE_ROOT = "ILCD"; /** Constant FOLDER_NAME_CONTACT="contacts" */ public static final String FOLDER_NAME_CONTACT = "contacts"; /** Constant FOLDER_NAME_SOURCE="sources" */ public static final String FOLDER_NAME_SOURCE = "sources"; /** Constant FOLDER_NAME_UNIT_GROUP="unitgroups" */ public static final String FOLDER_NAME_UNIT_GROUP = "unitgroups"; /** Constant FOLDER_NAME_FLOW_PROPERTY="flowproperties" */ public static final String FOLDER_NAME_FLOW_PROPERTY = "flowproperties"; /** Constant FOLDER_NAME_FLOW="flows" */ public static final String FOLDER_NAME_FLOW = "flows"; /** Constant FOLDER_NAME_LCIA_METHOD="lciamethods" */ public static final String FOLDER_NAME_LCIA_METHOD = "lciamethods"; /** Constant FOLDER_NAME_PROCESS="processes" */ public static final String FOLDER_NAME_PROCESS = "processes"; /** Constant FOLDER_NAME_LCMODEL="lifecyclemodels" */ public static final String FOLDER_NAME_LCMODEL = "lifecyclemodels"; /* * schema names */ /** Constant PROCESS_SCHEMA_NAME="ILCD_ProcessDataSet.xsd" */ public static final String PROCESS_SCHEMA_NAME = "ILCD_ProcessDataSet.xsd"; /** Constant LCIAMETHOD_SCHEMA_NAME="ILCD_LCIAMethodDataSet.xsd" */ public static final String LCIAMETHOD_SCHEMA_NAME = "ILCD_LCIAMethodDataSet.xsd"; /** Constant FLOW_SCHEMA_NAME="ILCD_FlowDataSet.xsd" */ public static final String FLOW_SCHEMA_NAME = "ILCD_FlowDataSet.xsd"; /** Constant FLOW_PROPERTY_SCHEMA_NAME="ILCD_FlowPropertyDataSet.xsd" */ public static final String FLOW_PROPERTY_SCHEMA_NAME = "ILCD_FlowPropertyDataSet.xsd"; /** Constant UNIT_GROUP_SCHEMA_NAME="ILCD_UnitGroupDataSet.xsd" */ public static final String UNIT_GROUP_SCHEMA_NAME = "ILCD_UnitGroupDataSet.xsd"; /** Constant SOURCE_SCHEMA_NAME="ILCD_SourceDataSet.xsd" */ public static final String SOURCE_SCHEMA_NAME = "ILCD_SourceDataSet.xsd"; /** Constant CONTACT_SCHEMA_NAME="ILCD_ContactDataSet.xsd" */ public static final String CONTACT_SCHEMA_NAME = "ILCD_ContactDataSet.xsd"; /** Constant LCMODEL_SCHEMA_NAME="ILCD_LifeCycleModelDataSet.xsd" */ public static final String LCMODEL_SCHEMA_NAME = "ILCD_LifeCycleModelDataSet.xsd"; /* * schemas */ /** Constant PROCESS_SCHEMA="ILCD_SCHEMAS_PATH_PREFIX + PROCESS_SCHE"{trunked} */ public static final String PROCESS_SCHEMA = ILCD_SCHEMAS_PATH_PREFIX + PROCESS_SCHEMA_NAME; /** Constant LCIAMETHOD_SCHEMA="ILCD_SCHEMAS_PATH_PREFIX + LCIAMETHOD_S"{trunked} */ public static final String LCIAMETHOD_SCHEMA = ILCD_SCHEMAS_PATH_PREFIX + LCIAMETHOD_SCHEMA_NAME; /** Constant FLOW_SCHEMA="ILCD_SCHEMAS_PATH_PREFIX + FLOW_SCHEMA_"{trunked} */ public static final String FLOW_SCHEMA = ILCD_SCHEMAS_PATH_PREFIX + FLOW_SCHEMA_NAME; /** Constant FLOW_PROPERTY_SCHEMA="ILCD_SCHEMAS_PATH_PREFIX + FLOW_PROPERT"{trunked} */ public static final String FLOW_PROPERTY_SCHEMA = ILCD_SCHEMAS_PATH_PREFIX + FLOW_PROPERTY_SCHEMA_NAME; /** Constant UNIT_GROUP_SCHEMA="ILCD_SCHEMAS_PATH_PREFIX + UNIT_GROUP_S"{trunked} */ public static final String UNIT_GROUP_SCHEMA = ILCD_SCHEMAS_PATH_PREFIX + UNIT_GROUP_SCHEMA_NAME; /** Constant SOURCE_SCHEMA="ILCD_SCHEMAS_PATH_PREFIX + SOURCE_SCHEM"{trunked} */ public static final String SOURCE_SCHEMA = ILCD_SCHEMAS_PATH_PREFIX + SOURCE_SCHEMA_NAME; /** Constant CONTACT_SCHEMA="ILCD_SCHEMAS_PATH_PREFIX + CONTACT_SCHE"{trunked} */ public static final String CONTACT_SCHEMA = ILCD_SCHEMAS_PATH_PREFIX + CONTACT_SCHEMA_NAME; /** Constant LCMODEL_SCHEMA="ILCD_SCHEMAS_PATH_PREFIX + LCMODEL_SCHEMA"{trunked} */ public static final String LCMODEL_SCHEMA = ILCD_SCHEMAS_PATH_PREFIX + LCMODEL_SCHEMA_NAME; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy