org.plasma.metamodel.CodingStrength Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plasma-metamodel Show documentation
Show all versions of plasma-metamodel Show documentation
The Plasma Metamodel Module
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.09.11 at 01:59:49 PM MST
//
package org.plasma.metamodel;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for CodingStrength.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="CodingStrength">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="CNE"/>
* <enumeration value="CWE"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "CodingStrength")
@XmlEnum
public enum CodingStrength {
/**
* If not null, the element must be coded and must be drawn from the value set specified in the binding
*
*/
CNE,
/**
* If not null, the element must be coded if there is an appropriate value in the value set specified in the binding. If no appropriate code is available, a local code may be used, or the value may be populated with only original text.
*
*/
CWE;
public String value() {
return name();
}
public static CodingStrength fromValue(String v) {
return valueOf(v);
}
}