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
The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.07.01 at 02:31:06 PM MST
//
package org.plasma.metamodel;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.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;
}
}