org.plasma.metamodel.EnumerationConstraint 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.10.06 at 02:19:48 PM MST
//
package org.plasma.metamodel;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* This stereotype constrains a UML property by means of a given UML enumeration. It enables use of UML Enumerations which are part of the UML model when specifying a constraint on class properties. UML Enumerations used with this stereotype must be tagged with the SDOEnumeration stereotype.
*
* Java class for EnumerationConstraint complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="EnumerationConstraint">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="value" type="{http://plasma.org/metamodel}EnumerationRef"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "EnumerationConstraint", propOrder = {
"value"
})
@XmlRootElement(name = "EnumerationConstraint")
public class EnumerationConstraint {
@XmlElement(required = true)
protected EnumerationRef value;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link EnumerationRef }
*
*/
public EnumerationRef getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link EnumerationRef }
*
*/
public void setValue(EnumerationRef value) {
this.value = value;
}
}