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

org.plasma.xml.sdox.Property Maven / Gradle / Ivy

There is a newer version: 2.2.1
Show newest version
/**
 *         PlasmaSDO™ License
 * 
 * This is a community release of PlasmaSDO™, a dual-license 
 * Service Data Object (SDO) 2.1 implementation. 
 * This particular copy of the software is released under the 
 * version 2 of the GNU General Public License. PlasmaSDO™ was developed by 
 * TerraMeta Software, Inc.
 * 
 * Copyright (c) 2013, TerraMeta Software, Inc. All rights reserved.
 * 
 * General License information can be found below.
 * 
 * This distribution may include materials developed by third
 * parties. For license and attribution notices for these
 * materials, please refer to the documentation that accompanies
 * this distribution (see the "Licenses for Third-Party Components"
 * appendix) or view the online documentation at 
 * .
 *  
 */
package org.plasma.xml.sdox;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;

import org.w3c.dom.Element;


/**
 * 

Java class for Property complex type. * *

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

 * <complexType name="Property">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="aliasName" type="{commonj.sdo}String" maxOccurs="unbounded" minOccurs="0"/>
 *         <any/>
 *       </sequence>
 *       <attribute name="name" type="{commonj.sdo}String" />
 *       <attribute name="many" type="{commonj.sdo}Boolean" />
 *       <attribute name="containment" type="{commonj.sdo}Boolean" />
 *       <attribute name="default" type="{commonj.sdo}String" />
 *       <attribute name="readOnly" type="{commonj.sdo}Boolean" />
 *       <attribute name="type" type="{commonj.sdo}URI" />
 *       <attribute name="opposite" type="{commonj.sdo}URI" />
 *       <attribute name="nullable" type="{commonj.sdo}Boolean" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Property", propOrder = { "aliasNames", "anies" }) public class Property { @XmlElement(name = "aliasName") protected List aliasNames; @XmlAnyElement protected List anies; @XmlAttribute protected String name; @XmlAttribute protected Boolean many; @XmlAttribute protected Boolean containment; @XmlAttribute(name = "default") protected String _default; @XmlAttribute protected Boolean readOnly; @XmlAttribute protected String type; @XmlAttribute protected String opposite; @XmlAttribute protected Boolean nullable; @XmlAnyAttribute private Map otherAttributes = new HashMap(); /** * Gets the value of the aliasNames 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 JAXB object. * This is why there is not a set method for the aliasNames property. * *

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

     *    getAliasNames().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getAliasNames() { if (aliasNames == null) { aliasNames = new ArrayList(); } return this.aliasNames; } /** * Gets the value of the anies 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 JAXB object. * This is why there is not a set method for the anies property. * *

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

     *    getAnies().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Element } * * */ public List getAnies() { if (anies == null) { anies = new ArrayList(); } return this.anies; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the many property. * * @return * possible object is * {@link Boolean } * */ public Boolean isMany() { return many; } /** * Sets the value of the many property. * * @param value * allowed object is * {@link Boolean } * */ public void setMany(Boolean value) { this.many = 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 default property. * * @return * possible object is * {@link String } * */ public String getDefault() { return _default; } /** * Sets the value of the default property. * * @param value * allowed object is * {@link String } * */ public void setDefault(String value) { this._default = 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; } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = 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 nullable property. * * @return * possible object is * {@link Boolean } * */ public Boolean isNullable() { return nullable; } /** * Sets the value of the nullable property. * * @param value * allowed object is * {@link Boolean } * */ public void setNullable(Boolean value) { this.nullable = value; } /** * Gets a map that contains attributes that aren't bound to any typed property on this class. * *

* the map is keyed by the name of the attribute and * the value is the string value of the attribute. * * the map returned by this method is live, and you can add new attribute * by updating the map directly. Because of this design, there's no setter. * * * @return * always non-null */ public Map getOtherAttributes() { return otherAttributes; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy