/**
* Copyright 2013 European Parliament
*
* Licensed under the EUPL, Version 1.1 or - as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence");
* You may not use this work except in compliance with the Licence.
* You may obtain a copy of the Licence at:
*
* http://joinup.ec.europa.eu/software/page/eupl
*
* Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the Licence for the specific language governing permissions and limitations under the Licence.
*/
package org.nsesa.editor.gwt.an.common.client.ui.overlay.document.gen.akomantoso20;
/**
* The simple type LegalSystemMods lists all the types of modifications in the legal system as values for the type attribute of the LegalSystemMod element.* This file is generated. Rather than changing this file, correct the template called <tt>overlayEnum.ftl</tt>.
*/
public enum LegalSystemModsSimpleType {
// ENUM VALUES ------------------
STATICREFERENCE("staticReference"),
IMPLEMENTATION("implementation"),
RATIFICATION("ratification"),
APPLICATION("application"),
LEGISLATIVEDELEGATION("legislativeDelegation"),
DEREGULATION("deregulation"),
CONVERSION("conversion"),
EXPIRATION("expiration"),
REITERATION("reiteration"),
REMAKING("remaking"),
REPUBLICATION("republication"),
COORDINATION("coordination");
private final String value;
/**
* Create an instance of LegalSystemModsSimpleType class with the given String
*/
LegalSystemModsSimpleType(String v) {
value = v;
}
/**
* Return the value of the instance
*
* @return value as String
*/
public String value() {
return value;
}
/**
* Return an Enum based on the given input text or null if it does not fit
*
* @param text the String representation of the enum
* @return LegalSystemModsSimpleType or <code>null</code>
*/
public static LegalSystemModsSimpleType fromString(String text) {
if (text == null) return null;
for (LegalSystemModsSimpleType en : LegalSystemModsSimpleType.values()) {
if (text.equalsIgnoreCase(en.value())) {
return en;
}
}
return null;
}
private static final String namespaceURI = "http://www.akomantoso.org/2.0";
public static String getNamespaceURI() {
return namespaceURI;
}
}