Class EdgeTypeImpl

java.lang.Object
org.apache.xmlbeans.impl.values.XmlObjectBase
org.apache.xmlbeans.impl.values.XmlComplexContentImpl
com.yworks.xml.graphml.impl.EdgeTypeImpl
All Implemented Interfaces:
EdgeType, Serializable, org.apache.xmlbeans.impl.values.TypeStoreUser, org.apache.xmlbeans.SimpleValue, org.apache.xmlbeans.XmlObject, org.apache.xmlbeans.XmlTokenSource
Direct Known Subclasses:
ArcEdgeTypeImpl, GenericEdgeTypeImpl, PolyLineEdgeTypeImpl, QuadCurveEdgeTypeImpl

public class EdgeTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements EdgeType
An XML Edge.type(@http://www.yworks.com/xml/graphml). This is a complex type.
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    An XML Arrows(@http://www.yworks.com/xml/graphml).

    Nested classes/interfaces inherited from interface com.yworks.xml.graphml.EdgeType

    EdgeType.Arrows, EdgeType.Factory

    Nested classes/interfaces inherited from interface org.apache.xmlbeans.XmlObject

    org.apache.xmlbeans.XmlObject.Factory
  • Field Summary

    Fields inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase

    _voorVc, KIND_SETTERHELPER_ARRAYITEM, KIND_SETTERHELPER_SINGLETON, MAJOR_VERSION_NUMBER, MINOR_VERSION_NUMBER

    Fields inherited from interface com.yworks.xml.graphml.EdgeType

    type

    Fields inherited from interface org.apache.xmlbeans.XmlObject

    EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL, type
  • Constructor Summary

    Constructors
    Constructor
    Description
    EdgeTypeImpl(org.apache.xmlbeans.SchemaType sType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Appends and returns a new empty "Arrows" element
    Appends and returns a new empty value (as xml) as the last "EdgeLabel" element
    Appends and returns a new empty "LineStyle" element
    Appends and returns a new empty "Path" element
    Appends and returns a new empty "SourcePort" element
    Appends and returns a new empty "TargetPort" element
    Gets the "Arrows" element
    Gets array of all "EdgeLabel" elements
    Gets ith "EdgeLabel" element
    Gets the "LineStyle" element
    Gets the "Path" element
    boolean
    Gets the "selected" attribute
    Gets the "SourcePort" element
    Gets the "TargetPort" element
    Inserts and returns a new empty value (as xml) as the ith "EdgeLabel" element
    boolean
    True if has "Arrows" element
    boolean
    True if has "LineStyle" element
    boolean
    True if has "Path" element
    boolean
    True if has "selected" attribute
    boolean
    True if has "SourcePort" element
    boolean
    True if has "TargetPort" element
    void
    Removes the ith "EdgeLabel" element
    void
    Sets the "Arrows" element
    void
    setEdgeLabelArray(int i, EdgeLabelType edgeLabel)
    Sets ith "EdgeLabel" element
    void
    setEdgeLabelArray(EdgeLabelType[] edgeLabelArray)
    Sets array of all "EdgeLabel" element
    void
    Sets the "LineStyle" element
    void
    Sets the "Path" element
    void
    setSelected(boolean selected)
    Sets the "selected" attribute
    void
    Sets the "SourcePort" element
    void
    Sets the "TargetPort" element
    int
    Returns number of "EdgeLabel" element
    void
    Unsets the "Arrows" element
    void
    Unsets the "LineStyle" element
    void
    Unsets the "Path" element
    void
    Unsets the "selected" attribute
    void
    Unsets the "SourcePort" element
    void
    Unsets the "TargetPort" element
    org.apache.xmlbeans.XmlBoolean
    Gets (as xml) the "selected" attribute
    void
    xsetSelected(org.apache.xmlbeans.XmlBoolean selected)
    Sets (as xml) the "selected" attribute

    Methods inherited from class org.apache.xmlbeans.impl.values.XmlComplexContentImpl

    arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, compute_text, equal_to, get_default_attribute_text, get_default_element_text, get_elementflags, is_child_element_order_sensitive, new_visitor, schemaType, set_nil, set_String, set_text, unionArraySetterHelper, unionArraySetterHelper, update_from_complex_content, value_hash_code

    Methods inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase

    _copy, _copy, _isComplexContent, _isComplexType, _set, _validateOnSet, attach_store, bigDecimalValue, bigIntegerValue, booleanValue, build_nil, build_text, byteArrayValue, byteValue, calendarValue, changeType, check_dated, check_orphaned, compare_to, compareTo, compareValue, copy, copy, create_attribute_user, create_element_user, dateValue, disconnect_store, documentProperties, doubleValue, dump, elementFlags, enumValue, equals, execQuery, execQuery, floatValue, gDateValue, gDurationValue, generatedSetterHelperImpl, get_attribute_field, get_attribute_type, get_attributeflags, get_default_attribute_value, get_element_ending_delimiters, get_element_type, get_schema_type, get_store, get_wscanon_rule, get_wscanon_text, getBigDecimalValue, getBigIntegerValue, getBooleanValue, getByteArrayValue, getByteValue, getCalendarValue, getDateValue, getDomNode, getDoubleValue, getEnumValue, getFloatValue, getGDateValue, getGDurationValue, getIntValue, getListValue, getLongValue, getObjectValue, getQNameValue, getShortValue, getStringValue, getXmlLocale, has_store, hashCode, init_flags, initComplexType, instanceType, intValue, invalidate_element_order, invalidate_nilvalue, invalidate_value, is_defaultable_ws, is_orphaned, isDefault, isDefaultable, isFixed, isImmutable, isInstanceOf, isNil, isNillable, java_value, listValue, longValue, monitor, newCursor, newCursorForce, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, objectSet, objectValue, qNameValue, save, save, save, save, save, save, save, save, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set_b64, set_BigDecimal, set_BigInteger, set_boolean, set_byte, set_ByteArray, set_Calendar, set_char, set_ComplexXml, set_Date, set_double, set_enum, set_float, set_GDate, set_GDuration, set_hex, set_int, set_list, set_long, set_newValue, set_notation, set_QName, set_short, set_xmlanysimple, setBigDecimalValue, setBigIntegerValue, setBooleanValue, setByteArrayValue, setByteValue, setCalendarValue, setDateValue, setDoubleValue, setEnumValue, setFloatValue, setGDateValue, setGDateValue, setGDurationValue, setGDurationValue, setImmutable, setIntValue, setListValue, setLongValue, setNil, setObjectValue, setQNameValue, setShortValue, setStringValue, setValidateOnSet, shortValue, stringValue, substitute, toString, uses_invalidate_value, validate, validate, validate_now, validate_simpleval, valueEquals, valueHashCode, writeReplace, xgetListValue, xlistValue, xmlText, xmlText

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.xmlbeans.XmlObject

    changeType, compareTo, compareValue, copy, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, setNil, substitute, toString, validate, validate, valueEquals, valueHashCode

    Methods inherited from interface org.apache.xmlbeans.XmlTokenSource

    documentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
  • Constructor Details

    • EdgeTypeImpl

      public EdgeTypeImpl(org.apache.xmlbeans.SchemaType sType)
  • Method Details

    • getPath

      public PathType getPath()
      Gets the "Path" element
      Specified by:
      getPath in interface EdgeType
    • isSetPath

      public boolean isSetPath()
      True if has "Path" element
      Specified by:
      isSetPath in interface EdgeType
    • setPath

      public void setPath(PathType path)
      Sets the "Path" element
      Specified by:
      setPath in interface EdgeType
    • addNewPath

      public PathType addNewPath()
      Appends and returns a new empty "Path" element
      Specified by:
      addNewPath in interface EdgeType
    • unsetPath

      public void unsetPath()
      Unsets the "Path" element
      Specified by:
      unsetPath in interface EdgeType
    • getLineStyle

      public LineStyleType getLineStyle()
      Gets the "LineStyle" element
      Specified by:
      getLineStyle in interface EdgeType
    • isSetLineStyle

      public boolean isSetLineStyle()
      True if has "LineStyle" element
      Specified by:
      isSetLineStyle in interface EdgeType
    • setLineStyle

      public void setLineStyle(LineStyleType lineStyle)
      Sets the "LineStyle" element
      Specified by:
      setLineStyle in interface EdgeType
    • addNewLineStyle

      public LineStyleType addNewLineStyle()
      Appends and returns a new empty "LineStyle" element
      Specified by:
      addNewLineStyle in interface EdgeType
    • unsetLineStyle

      public void unsetLineStyle()
      Unsets the "LineStyle" element
      Specified by:
      unsetLineStyle in interface EdgeType
    • getArrows

      public EdgeType.Arrows getArrows()
      Gets the "Arrows" element
      Specified by:
      getArrows in interface EdgeType
    • isSetArrows

      public boolean isSetArrows()
      True if has "Arrows" element
      Specified by:
      isSetArrows in interface EdgeType
    • setArrows

      public void setArrows(EdgeType.Arrows arrows)
      Sets the "Arrows" element
      Specified by:
      setArrows in interface EdgeType
    • addNewArrows

      public EdgeType.Arrows addNewArrows()
      Appends and returns a new empty "Arrows" element
      Specified by:
      addNewArrows in interface EdgeType
    • unsetArrows

      public void unsetArrows()
      Unsets the "Arrows" element
      Specified by:
      unsetArrows in interface EdgeType
    • getEdgeLabelArray

      public EdgeLabelType[] getEdgeLabelArray()
      Gets array of all "EdgeLabel" elements
      Specified by:
      getEdgeLabelArray in interface EdgeType
    • getEdgeLabelArray

      public EdgeLabelType getEdgeLabelArray(int i)
      Gets ith "EdgeLabel" element
      Specified by:
      getEdgeLabelArray in interface EdgeType
    • sizeOfEdgeLabelArray

      public int sizeOfEdgeLabelArray()
      Returns number of "EdgeLabel" element
      Specified by:
      sizeOfEdgeLabelArray in interface EdgeType
    • setEdgeLabelArray

      public void setEdgeLabelArray(EdgeLabelType[] edgeLabelArray)
      Sets array of all "EdgeLabel" element
      Specified by:
      setEdgeLabelArray in interface EdgeType
    • setEdgeLabelArray

      public void setEdgeLabelArray(int i, EdgeLabelType edgeLabel)
      Sets ith "EdgeLabel" element
      Specified by:
      setEdgeLabelArray in interface EdgeType
    • insertNewEdgeLabel

      public EdgeLabelType insertNewEdgeLabel(int i)
      Inserts and returns a new empty value (as xml) as the ith "EdgeLabel" element
      Specified by:
      insertNewEdgeLabel in interface EdgeType
    • addNewEdgeLabel

      public EdgeLabelType addNewEdgeLabel()
      Appends and returns a new empty value (as xml) as the last "EdgeLabel" element
      Specified by:
      addNewEdgeLabel in interface EdgeType
    • removeEdgeLabel

      public void removeEdgeLabel(int i)
      Removes the ith "EdgeLabel" element
      Specified by:
      removeEdgeLabel in interface EdgeType
    • getSourcePort

      public EdgePortType getSourcePort()
      Gets the "SourcePort" element
      Specified by:
      getSourcePort in interface EdgeType
    • isSetSourcePort

      public boolean isSetSourcePort()
      True if has "SourcePort" element
      Specified by:
      isSetSourcePort in interface EdgeType
    • setSourcePort

      public void setSourcePort(EdgePortType sourcePort)
      Sets the "SourcePort" element
      Specified by:
      setSourcePort in interface EdgeType
    • addNewSourcePort

      public EdgePortType addNewSourcePort()
      Appends and returns a new empty "SourcePort" element
      Specified by:
      addNewSourcePort in interface EdgeType
    • unsetSourcePort

      public void unsetSourcePort()
      Unsets the "SourcePort" element
      Specified by:
      unsetSourcePort in interface EdgeType
    • getTargetPort

      public EdgePortType getTargetPort()
      Gets the "TargetPort" element
      Specified by:
      getTargetPort in interface EdgeType
    • isSetTargetPort

      public boolean isSetTargetPort()
      True if has "TargetPort" element
      Specified by:
      isSetTargetPort in interface EdgeType
    • setTargetPort

      public void setTargetPort(EdgePortType targetPort)
      Sets the "TargetPort" element
      Specified by:
      setTargetPort in interface EdgeType
    • addNewTargetPort

      public EdgePortType addNewTargetPort()
      Appends and returns a new empty "TargetPort" element
      Specified by:
      addNewTargetPort in interface EdgeType
    • unsetTargetPort

      public void unsetTargetPort()
      Unsets the "TargetPort" element
      Specified by:
      unsetTargetPort in interface EdgeType
    • getSelected

      public boolean getSelected()
      Gets the "selected" attribute
      Specified by:
      getSelected in interface EdgeType
    • xgetSelected

      public org.apache.xmlbeans.XmlBoolean xgetSelected()
      Gets (as xml) the "selected" attribute
      Specified by:
      xgetSelected in interface EdgeType
    • isSetSelected

      public boolean isSetSelected()
      True if has "selected" attribute
      Specified by:
      isSetSelected in interface EdgeType
    • setSelected

      public void setSelected(boolean selected)
      Sets the "selected" attribute
      Specified by:
      setSelected in interface EdgeType
    • xsetSelected

      public void xsetSelected(org.apache.xmlbeans.XmlBoolean selected)
      Sets (as xml) the "selected" attribute
      Specified by:
      xsetSelected in interface EdgeType
    • unsetSelected

      public void unsetSelected()
      Unsets the "selected" attribute
      Specified by:
      unsetSelected in interface EdgeType