org.omg.uml.ParameterDirectionKind Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.09.13 at 12:06:48 PM EST
//
package org.omg.uml;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ParameterDirectionKind.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="ParameterDirectionKind">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="in"/>
* <enumeration value="inout"/>
* <enumeration value="out"/>
* <enumeration value="return"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "ParameterDirectionKind")
@XmlEnum
public enum ParameterDirectionKind {
/**
* Indicates that parameter values are passed into the behavioral element by the caller.
*
*/
@XmlEnumValue("in")
IN("in"),
/**
* Indicates that parameter values are passed into a behavioral element by the caller and then back out to the caller from the behavioral element.
*
*/
@XmlEnumValue("inout")
INOUT("inout"),
@XmlEnumValue("out")
OUT("out"),
/**
* Indicates that parameter values are passed as return values from a behavioral element back to the caller.
*
*/
@XmlEnumValue("return")
RETURN("return");
private final String value;
ParameterDirectionKind(String v) {
value = v;
}
public String value() {
return value;
}
public static ParameterDirectionKind fromValue(String v) {
for (ParameterDirectionKind c: ParameterDirectionKind.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy