Class EdgeTypeImpl

java.lang.Object
org.apache.xmlbeans.impl.values.XmlObjectBase
org.apache.xmlbeans.impl.values.XmlComplexContentImpl
org.graphdrawing.graphml.xmlns.impl.EdgeTypeImpl
All Implemented Interfaces:
Serializable, org.apache.xmlbeans.impl.values.TypeStoreUser, org.apache.xmlbeans.SimpleValue, org.apache.xmlbeans.XmlObject, org.apache.xmlbeans.XmlTokenSource, EdgeType

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

    Nested classes/interfaces inherited from interface org.graphdrawing.graphml.xmlns.EdgeType

    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 org.graphdrawing.graphml.xmlns.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 value (as xml) as the last "data" element
    Appends and returns a new empty "graph" element
    Gets array of all "data" elements
    getDataArray(int i)
    Gets ith "data" element
    Gets the "desc" element
    boolean
    Gets the "directed" attribute
    Gets the "graph" element
    Gets the "id" attribute
    Gets the "source" attribute
    Gets the "sourceport" attribute
    Gets the "target" attribute
    Gets the "targetport" attribute
    Inserts and returns a new empty value (as xml) as the ith "data" element
    boolean
    True if has "desc" element
    boolean
    True if has "directed" attribute
    boolean
    True if has "graph" element
    boolean
    True if has "id" attribute
    boolean
    True if has "sourceport" attribute
    boolean
    True if has "targetport" attribute
    void
    removeData(int i)
    Removes the ith "data" element
    void
    setDataArray(int i, DataType data)
    Sets ith "data" element
    void
    setDataArray(DataType[] dataArray)
    Sets array of all "data" element
    void
    Sets the "desc" element
    void
    setDirected(boolean directed)
    Sets the "directed" attribute
    void
    Sets the "graph" element
    void
    Sets the "id" attribute
    void
    setSource(String source)
    Sets the "source" attribute
    void
    setSourceport(String sourceport)
    Sets the "sourceport" attribute
    void
    setTarget(String targetValue)
    Sets the "target" attribute
    void
    setTargetport(String targetport)
    Sets the "targetport" attribute
    int
    Returns number of "data" element
    void
    Unsets the "desc" element
    void
    Unsets the "directed" attribute
    void
    Unsets the "graph" element
    void
    Unsets the "id" attribute
    void
    Unsets the "sourceport" attribute
    void
    Unsets the "targetport" attribute
    org.apache.xmlbeans.XmlString
    Gets (as xml) the "desc" element
    org.apache.xmlbeans.XmlBoolean
    Gets (as xml) the "directed" attribute
    org.apache.xmlbeans.XmlNMTOKEN
    Gets (as xml) the "id" attribute
    org.apache.xmlbeans.XmlNMTOKEN
    Gets (as xml) the "source" attribute
    org.apache.xmlbeans.XmlNMTOKEN
    Gets (as xml) the "sourceport" attribute
    org.apache.xmlbeans.XmlNMTOKEN
    Gets (as xml) the "target" attribute
    org.apache.xmlbeans.XmlNMTOKEN
    Gets (as xml) the "targetport" attribute
    void
    xsetDesc(org.apache.xmlbeans.XmlString desc)
    Sets (as xml) the "desc" element
    void
    xsetDirected(org.apache.xmlbeans.XmlBoolean directed)
    Sets (as xml) the "directed" attribute
    void
    xsetId(org.apache.xmlbeans.XmlNMTOKEN id)
    Sets (as xml) the "id" attribute
    void
    xsetSource(org.apache.xmlbeans.XmlNMTOKEN source)
    Sets (as xml) the "source" attribute
    void
    xsetSourceport(org.apache.xmlbeans.XmlNMTOKEN sourceport)
    Sets (as xml) the "sourceport" attribute
    void
    xsetTarget(org.apache.xmlbeans.XmlNMTOKEN targetValue)
    Sets (as xml) the "target" attribute
    void
    xsetTargetport(org.apache.xmlbeans.XmlNMTOKEN targetport)
    Sets (as xml) the "targetport" 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

    • getDesc

      public String getDesc()
      Gets the "desc" element
      Specified by:
      getDesc in interface EdgeType
    • xgetDesc

      public org.apache.xmlbeans.XmlString xgetDesc()
      Gets (as xml) the "desc" element
      Specified by:
      xgetDesc in interface EdgeType
    • isSetDesc

      public boolean isSetDesc()
      True if has "desc" element
      Specified by:
      isSetDesc in interface EdgeType
    • setDesc

      public void setDesc(String desc)
      Sets the "desc" element
      Specified by:
      setDesc in interface EdgeType
    • xsetDesc

      public void xsetDesc(org.apache.xmlbeans.XmlString desc)
      Sets (as xml) the "desc" element
      Specified by:
      xsetDesc in interface EdgeType
    • unsetDesc

      public void unsetDesc()
      Unsets the "desc" element
      Specified by:
      unsetDesc in interface EdgeType
    • getDataArray

      public DataType[] getDataArray()
      Gets array of all "data" elements
      Specified by:
      getDataArray in interface EdgeType
    • getDataArray

      public DataType getDataArray(int i)
      Gets ith "data" element
      Specified by:
      getDataArray in interface EdgeType
    • sizeOfDataArray

      public int sizeOfDataArray()
      Returns number of "data" element
      Specified by:
      sizeOfDataArray in interface EdgeType
    • setDataArray

      public void setDataArray(DataType[] dataArray)
      Sets array of all "data" element
      Specified by:
      setDataArray in interface EdgeType
    • setDataArray

      public void setDataArray(int i, DataType data)
      Sets ith "data" element
      Specified by:
      setDataArray in interface EdgeType
    • insertNewData

      public DataType insertNewData(int i)
      Inserts and returns a new empty value (as xml) as the ith "data" element
      Specified by:
      insertNewData in interface EdgeType
    • addNewData

      public DataType addNewData()
      Appends and returns a new empty value (as xml) as the last "data" element
      Specified by:
      addNewData in interface EdgeType
    • removeData

      public void removeData(int i)
      Removes the ith "data" element
      Specified by:
      removeData in interface EdgeType
    • getGraph

      public GraphType getGraph()
      Gets the "graph" element
      Specified by:
      getGraph in interface EdgeType
    • isSetGraph

      public boolean isSetGraph()
      True if has "graph" element
      Specified by:
      isSetGraph in interface EdgeType
    • setGraph

      public void setGraph(GraphType graph)
      Sets the "graph" element
      Specified by:
      setGraph in interface EdgeType
    • addNewGraph

      public GraphType addNewGraph()
      Appends and returns a new empty "graph" element
      Specified by:
      addNewGraph in interface EdgeType
    • unsetGraph

      public void unsetGraph()
      Unsets the "graph" element
      Specified by:
      unsetGraph in interface EdgeType
    • getId

      public String getId()
      Gets the "id" attribute
      Specified by:
      getId in interface EdgeType
    • xgetId

      public org.apache.xmlbeans.XmlNMTOKEN xgetId()
      Gets (as xml) the "id" attribute
      Specified by:
      xgetId in interface EdgeType
    • isSetId

      public boolean isSetId()
      True if has "id" attribute
      Specified by:
      isSetId in interface EdgeType
    • setId

      public void setId(String id)
      Sets the "id" attribute
      Specified by:
      setId in interface EdgeType
    • xsetId

      public void xsetId(org.apache.xmlbeans.XmlNMTOKEN id)
      Sets (as xml) the "id" attribute
      Specified by:
      xsetId in interface EdgeType
    • unsetId

      public void unsetId()
      Unsets the "id" attribute
      Specified by:
      unsetId in interface EdgeType
    • getDirected

      public boolean getDirected()
      Gets the "directed" attribute
      Specified by:
      getDirected in interface EdgeType
    • xgetDirected

      public org.apache.xmlbeans.XmlBoolean xgetDirected()
      Gets (as xml) the "directed" attribute
      Specified by:
      xgetDirected in interface EdgeType
    • isSetDirected

      public boolean isSetDirected()
      True if has "directed" attribute
      Specified by:
      isSetDirected in interface EdgeType
    • setDirected

      public void setDirected(boolean directed)
      Sets the "directed" attribute
      Specified by:
      setDirected in interface EdgeType
    • xsetDirected

      public void xsetDirected(org.apache.xmlbeans.XmlBoolean directed)
      Sets (as xml) the "directed" attribute
      Specified by:
      xsetDirected in interface EdgeType
    • unsetDirected

      public void unsetDirected()
      Unsets the "directed" attribute
      Specified by:
      unsetDirected in interface EdgeType
    • getSource

      public String getSource()
      Gets the "source" attribute
      Specified by:
      getSource in interface EdgeType
    • xgetSource

      public org.apache.xmlbeans.XmlNMTOKEN xgetSource()
      Gets (as xml) the "source" attribute
      Specified by:
      xgetSource in interface EdgeType
    • setSource

      public void setSource(String source)
      Sets the "source" attribute
      Specified by:
      setSource in interface EdgeType
    • xsetSource

      public void xsetSource(org.apache.xmlbeans.XmlNMTOKEN source)
      Sets (as xml) the "source" attribute
      Specified by:
      xsetSource in interface EdgeType
    • getTarget

      public String getTarget()
      Gets the "target" attribute
      Specified by:
      getTarget in interface EdgeType
    • xgetTarget

      public org.apache.xmlbeans.XmlNMTOKEN xgetTarget()
      Gets (as xml) the "target" attribute
      Specified by:
      xgetTarget in interface EdgeType
    • setTarget

      public void setTarget(String targetValue)
      Sets the "target" attribute
      Specified by:
      setTarget in interface EdgeType
    • xsetTarget

      public void xsetTarget(org.apache.xmlbeans.XmlNMTOKEN targetValue)
      Sets (as xml) the "target" attribute
      Specified by:
      xsetTarget in interface EdgeType
    • getSourceport

      public String getSourceport()
      Gets the "sourceport" attribute
      Specified by:
      getSourceport in interface EdgeType
    • xgetSourceport

      public org.apache.xmlbeans.XmlNMTOKEN xgetSourceport()
      Gets (as xml) the "sourceport" attribute
      Specified by:
      xgetSourceport in interface EdgeType
    • isSetSourceport

      public boolean isSetSourceport()
      True if has "sourceport" attribute
      Specified by:
      isSetSourceport in interface EdgeType
    • setSourceport

      public void setSourceport(String sourceport)
      Sets the "sourceport" attribute
      Specified by:
      setSourceport in interface EdgeType
    • xsetSourceport

      public void xsetSourceport(org.apache.xmlbeans.XmlNMTOKEN sourceport)
      Sets (as xml) the "sourceport" attribute
      Specified by:
      xsetSourceport in interface EdgeType
    • unsetSourceport

      public void unsetSourceport()
      Unsets the "sourceport" attribute
      Specified by:
      unsetSourceport in interface EdgeType
    • getTargetport

      public String getTargetport()
      Gets the "targetport" attribute
      Specified by:
      getTargetport in interface EdgeType
    • xgetTargetport

      public org.apache.xmlbeans.XmlNMTOKEN xgetTargetport()
      Gets (as xml) the "targetport" attribute
      Specified by:
      xgetTargetport in interface EdgeType
    • isSetTargetport

      public boolean isSetTargetport()
      True if has "targetport" attribute
      Specified by:
      isSetTargetport in interface EdgeType
    • setTargetport

      public void setTargetport(String targetport)
      Sets the "targetport" attribute
      Specified by:
      setTargetport in interface EdgeType
    • xsetTargetport

      public void xsetTargetport(org.apache.xmlbeans.XmlNMTOKEN targetport)
      Sets (as xml) the "targetport" attribute
      Specified by:
      xsetTargetport in interface EdgeType
    • unsetTargetport

      public void unsetTargetport()
      Unsets the "targetport" attribute
      Specified by:
      unsetTargetport in interface EdgeType