
com.yworks.xml.graphml.impl.ColumnNodeLabelModelParameterDocumentImpl Maven / Gradle / Ivy
The newest version!
/*
* An XML document type.
* Localname: ColumnNodeLabelModelParameter
* Namespace: http://www.yworks.com/xml/graphml
* Java type: com.yworks.xml.graphml.ColumnNodeLabelModelParameterDocument
*
* Automatically generated - do not modify.
*/
package com.yworks.xml.graphml.impl;
/*-
* #%L
* GraphWalker Input/Output
* %%
* Copyright (C) 2005 - 2024 GraphWalker
* %%
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
* #L%
*/
/**
* A document containing one ColumnNodeLabelModelParameter(@http://www.yworks.com/xml/graphml) element.
*
* This is a complex type.
*/
public class ColumnNodeLabelModelParameterDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.yworks.xml.graphml.ColumnNodeLabelModelParameterDocument
{
private static final long serialVersionUID = 1L;
public ColumnNodeLabelModelParameterDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName COLUMNNODELABELMODELPARAMETER$0 =
new javax.xml.namespace.QName("http://www.yworks.com/xml/graphml", "ColumnNodeLabelModelParameter");
/**
* Gets the "ColumnNodeLabelModelParameter" element
*/
public com.yworks.xml.graphml.ColumnNodeLabelModelParameterDocument.ColumnNodeLabelModelParameter getColumnNodeLabelModelParameter()
{
synchronized (monitor())
{
check_orphaned();
com.yworks.xml.graphml.ColumnNodeLabelModelParameterDocument.ColumnNodeLabelModelParameter target = null;
target = (com.yworks.xml.graphml.ColumnNodeLabelModelParameterDocument.ColumnNodeLabelModelParameter)get_store().find_element_user(COLUMNNODELABELMODELPARAMETER$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "ColumnNodeLabelModelParameter" element
*/
public void setColumnNodeLabelModelParameter(com.yworks.xml.graphml.ColumnNodeLabelModelParameterDocument.ColumnNodeLabelModelParameter columnNodeLabelModelParameter)
{
synchronized (monitor())
{
check_orphaned();
com.yworks.xml.graphml.ColumnNodeLabelModelParameterDocument.ColumnNodeLabelModelParameter target = null;
target = (com.yworks.xml.graphml.ColumnNodeLabelModelParameterDocument.ColumnNodeLabelModelParameter)get_store().find_element_user(COLUMNNODELABELMODELPARAMETER$0, 0);
if (target == null)
{
target = (com.yworks.xml.graphml.ColumnNodeLabelModelParameterDocument.ColumnNodeLabelModelParameter)get_store().add_element_user(COLUMNNODELABELMODELPARAMETER$0);
}
target.set(columnNodeLabelModelParameter);
}
}
/**
* Appends and returns a new empty "ColumnNodeLabelModelParameter" element
*/
public com.yworks.xml.graphml.ColumnNodeLabelModelParameterDocument.ColumnNodeLabelModelParameter addNewColumnNodeLabelModelParameter()
{
synchronized (monitor())
{
check_orphaned();
com.yworks.xml.graphml.ColumnNodeLabelModelParameterDocument.ColumnNodeLabelModelParameter target = null;
target = (com.yworks.xml.graphml.ColumnNodeLabelModelParameterDocument.ColumnNodeLabelModelParameter)get_store().add_element_user(COLUMNNODELABELMODELPARAMETER$0);
return target;
}
}
/**
* An XML ColumnNodeLabelModelParameter(@http://www.yworks.com/xml/graphml).
*
* This is a complex type.
*/
public static class ColumnNodeLabelModelParameterImpl extends com.yworks.xml.graphml.impl.TableNodeLabelModelParameterTypeImpl implements com.yworks.xml.graphml.ColumnNodeLabelModelParameterDocument.ColumnNodeLabelModelParameter
{
private static final long serialVersionUID = 1L;
public ColumnNodeLabelModelParameterImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName VERTICALPOSITION$0 =
new javax.xml.namespace.QName("", "verticalPosition");
/**
* Gets the "verticalPosition" attribute
*/
public double getVerticalPosition()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VERTICALPOSITION$0);
if (target == null)
{
return 0.0;
}
return target.getDoubleValue();
}
}
/**
* Gets (as xml) the "verticalPosition" attribute
*/
public org.apache.xmlbeans.XmlDouble xgetVerticalPosition()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlDouble target = null;
target = (org.apache.xmlbeans.XmlDouble)get_store().find_attribute_user(VERTICALPOSITION$0);
return target;
}
}
/**
* True if has "verticalPosition" attribute
*/
public boolean isSetVerticalPosition()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(VERTICALPOSITION$0) != null;
}
}
/**
* Sets the "verticalPosition" attribute
*/
public void setVerticalPosition(double verticalPosition)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VERTICALPOSITION$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(VERTICALPOSITION$0);
}
target.setDoubleValue(verticalPosition);
}
}
/**
* Sets (as xml) the "verticalPosition" attribute
*/
public void xsetVerticalPosition(org.apache.xmlbeans.XmlDouble verticalPosition)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlDouble target = null;
target = (org.apache.xmlbeans.XmlDouble)get_store().find_attribute_user(VERTICALPOSITION$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlDouble)get_store().add_attribute_user(VERTICALPOSITION$0);
}
target.set(verticalPosition);
}
}
/**
* Unsets the "verticalPosition" attribute
*/
public void unsetVerticalPosition()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(VERTICALPOSITION$0);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy