All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.plasma.metamodel.Property Maven / Gradle / Ivy

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 java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;


/**
 * A property definition
 * 
 * 

Java class for Property complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="Property">
 *   <complexContent>
 *     <extension base="{http://plasma.org/metamodel}NamedElement">
 *       <sequence>
 *         <element ref="{http://plasma.org/metamodel}Documentation" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{http://plasma.org/metamodel}PropertyProvisioning" minOccurs="0"/>
 *         <element name="type" type="{http://plasma.org/metamodel}TypeRef"/>
 *         <element ref="{http://plasma.org/metamodel}Key" minOccurs="0"/>
 *         <element ref="{http://plasma.org/metamodel}Concurrent" minOccurs="0"/>
 *         <element ref="{http://plasma.org/metamodel}UniqueConstraint" minOccurs="0"/>
 *         <element ref="{http://plasma.org/metamodel}ValueConstraint" minOccurs="0"/>
 *         <element ref="{http://plasma.org/metamodel}EnumerationConstraint" minOccurs="0"/>
 *         <element ref="{http://plasma.org/metamodel}ValueSetConstraint" minOccurs="0"/>
 *         <element ref="{http://plasma.org/metamodel}Sort" minOccurs="0"/>
 *         <element ref="{http://plasma.org/metamodel}XmlProperty" minOccurs="0"/>
 *         <element ref="{http://plasma.org/metamodel}Increment" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="visibility" use="required" type="{http://plasma.org/metamodel}VisibilityType" />
 *       <attribute name="nullable" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="many" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="derived" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="opposite" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="containment" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="readOnly" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Property", propOrder = { "documentations", "propertyProvisioning", "type", "key", "concurrent", "uniqueConstraint", "valueConstraint", "enumerationConstraint", "valueSetConstraint", "sort", "xmlProperty", "increment" }) @XmlRootElement(name = "Property") public class Property extends NamedElement { @XmlElement(name = "Documentation") protected List documentations; @XmlElement(name = "PropertyProvisioning") protected PropertyProvisioning propertyProvisioning; @XmlElement(required = true) protected TypeRef type; @XmlElement(name = "Key") protected Key key; @XmlElement(name = "Concurrent") protected Concurrent concurrent; @XmlElement(name = "UniqueConstraint") protected UniqueConstraint uniqueConstraint; @XmlElement(name = "ValueConstraint") protected ValueConstraint valueConstraint; @XmlElement(name = "EnumerationConstraint") protected EnumerationConstraint enumerationConstraint; @XmlElement(name = "ValueSetConstraint") protected ValueSetConstraint valueSetConstraint; @XmlElement(name = "Sort") protected Sort sort; @XmlElement(name = "XmlProperty") protected XmlProperty xmlProperty; @XmlElement(name = "Increment") protected Increment increment; @XmlAttribute(name = "visibility", required = true) protected VisibilityType visibility; @XmlAttribute(name = "nullable", required = true) protected boolean nullable; @XmlAttribute(name = "many", required = true) protected boolean many; @XmlAttribute(name = "derived") protected Boolean derived; @XmlAttribute(name = "opposite") protected String opposite; @XmlAttribute(name = "containment") protected Boolean containment; @XmlAttribute(name = "readOnly") protected Boolean readOnly; /** * Gets the value of the documentations property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the Jakarta XML Binding object. * This is why there is not a set method for the documentations property. * *

* For example, to add a new item, do as follows: *

     *    getDocumentations().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Documentation } * * */ public List getDocumentations() { if (documentations == null) { documentations = new ArrayList(); } return this.documentations; } /** * Gets the value of the propertyProvisioning property. * * @return * possible object is * {@link PropertyProvisioning } * */ public PropertyProvisioning getPropertyProvisioning() { return propertyProvisioning; } /** * Sets the value of the propertyProvisioning property. * * @param value * allowed object is * {@link PropertyProvisioning } * */ public void setPropertyProvisioning(PropertyProvisioning value) { this.propertyProvisioning = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link TypeRef } * */ public TypeRef getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link TypeRef } * */ public void setType(TypeRef value) { this.type = value; } /** * Gets the value of the key property. * * @return * possible object is * {@link Key } * */ public Key getKey() { return key; } /** * Sets the value of the key property. * * @param value * allowed object is * {@link Key } * */ public void setKey(Key value) { this.key = value; } /** * Gets the value of the concurrent property. * * @return * possible object is * {@link Concurrent } * */ public Concurrent getConcurrent() { return concurrent; } /** * Sets the value of the concurrent property. * * @param value * allowed object is * {@link Concurrent } * */ public void setConcurrent(Concurrent value) { this.concurrent = value; } /** * Gets the value of the uniqueConstraint property. * * @return * possible object is * {@link UniqueConstraint } * */ public UniqueConstraint getUniqueConstraint() { return uniqueConstraint; } /** * Sets the value of the uniqueConstraint property. * * @param value * allowed object is * {@link UniqueConstraint } * */ public void setUniqueConstraint(UniqueConstraint value) { this.uniqueConstraint = value; } /** * Gets the value of the valueConstraint property. * * @return * possible object is * {@link ValueConstraint } * */ public ValueConstraint getValueConstraint() { return valueConstraint; } /** * Sets the value of the valueConstraint property. * * @param value * allowed object is * {@link ValueConstraint } * */ public void setValueConstraint(ValueConstraint value) { this.valueConstraint = value; } /** * Gets the value of the enumerationConstraint property. * * @return * possible object is * {@link EnumerationConstraint } * */ public EnumerationConstraint getEnumerationConstraint() { return enumerationConstraint; } /** * Sets the value of the enumerationConstraint property. * * @param value * allowed object is * {@link EnumerationConstraint } * */ public void setEnumerationConstraint(EnumerationConstraint value) { this.enumerationConstraint = value; } /** * Gets the value of the valueSetConstraint property. * * @return * possible object is * {@link ValueSetConstraint } * */ public ValueSetConstraint getValueSetConstraint() { return valueSetConstraint; } /** * Sets the value of the valueSetConstraint property. * * @param value * allowed object is * {@link ValueSetConstraint } * */ public void setValueSetConstraint(ValueSetConstraint value) { this.valueSetConstraint = value; } /** * Gets the value of the sort property. * * @return * possible object is * {@link Sort } * */ public Sort getSort() { return sort; } /** * Sets the value of the sort property. * * @param value * allowed object is * {@link Sort } * */ public void setSort(Sort value) { this.sort = value; } /** * Gets the value of the xmlProperty property. * * @return * possible object is * {@link XmlProperty } * */ public XmlProperty getXmlProperty() { return xmlProperty; } /** * Sets the value of the xmlProperty property. * * @param value * allowed object is * {@link XmlProperty } * */ public void setXmlProperty(XmlProperty value) { this.xmlProperty = value; } /** * Gets the value of the increment property. * * @return * possible object is * {@link Increment } * */ public Increment getIncrement() { return increment; } /** * Sets the value of the increment property. * * @param value * allowed object is * {@link Increment } * */ public void setIncrement(Increment value) { this.increment = value; } /** * Gets the value of the visibility property. * * @return * possible object is * {@link VisibilityType } * */ public VisibilityType getVisibility() { return visibility; } /** * Sets the value of the visibility property. * * @param value * allowed object is * {@link VisibilityType } * */ public void setVisibility(VisibilityType value) { this.visibility = value; } /** * Gets the value of the nullable property. * */ public boolean isNullable() { return nullable; } /** * Sets the value of the nullable property. * */ public void setNullable(boolean value) { this.nullable = value; } /** * Gets the value of the many property. * */ public boolean isMany() { return many; } /** * Sets the value of the many property. * */ public void setMany(boolean value) { this.many = value; } /** * Gets the value of the derived property. * * @return * possible object is * {@link Boolean } * */ public Boolean isDerived() { return derived; } /** * Sets the value of the derived property. * * @param value * allowed object is * {@link Boolean } * */ public void setDerived(Boolean value) { this.derived = value; } /** * Gets the value of the opposite property. * * @return * possible object is * {@link String } * */ public String getOpposite() { return opposite; } /** * Sets the value of the opposite property. * * @param value * allowed object is * {@link String } * */ public void setOpposite(String value) { this.opposite = value; } /** * Gets the value of the containment property. * * @return * possible object is * {@link Boolean } * */ public Boolean isContainment() { return containment; } /** * Sets the value of the containment property. * * @param value * allowed object is * {@link Boolean } * */ public void setContainment(Boolean value) { this.containment = value; } /** * Gets the value of the readOnly property. * * @return * possible object is * {@link Boolean } * */ public Boolean isReadOnly() { return readOnly; } /** * Sets the value of the readOnly property. * * @param value * allowed object is * {@link Boolean } * */ public void setReadOnly(Boolean value) { this.readOnly = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy