Class PortTypeImpl

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

public class PortTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements PortType
An XML port.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.PortType

    PortType.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.PortType

    type

    Fields inherited from interface org.apache.xmlbeans.XmlObject

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

    Constructors
    Constructor
    Description
    PortTypeImpl(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 value (as xml) as the last "port" element
    Gets array of all "data" elements
    getDataArray(int i)
    Gets ith "data" element
    Gets the "desc" element
    Gets the "name" attribute
    Gets array of all "port" elements
    getPortArray(int i)
    Gets ith "port" element
    Inserts and returns a new empty value (as xml) as the ith "data" element
    Inserts and returns a new empty value (as xml) as the ith "port" element
    boolean
    True if has "desc" element
    void
    removeData(int i)
    Removes the ith "data" element
    void
    removePort(int i)
    Removes the ith "port" 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
    Sets the "name" attribute
    void
    setPortArray(int i, PortType port)
    Sets ith "port" element
    void
    setPortArray(PortType[] portArray)
    Sets array of all "port" element
    int
    Returns number of "data" element
    int
    Returns number of "port" element
    void
    Unsets the "desc" element
    org.apache.xmlbeans.XmlString
    Gets (as xml) the "desc" element
    org.apache.xmlbeans.XmlNMTOKEN
    Gets (as xml) the "name" attribute
    void
    xsetDesc(org.apache.xmlbeans.XmlString desc)
    Sets (as xml) the "desc" element
    void
    xsetName(org.apache.xmlbeans.XmlNMTOKEN name)
    Sets (as xml) the "name" 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

    • PortTypeImpl

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

    • getDesc

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

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

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

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

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

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

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

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

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

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

      public void setDataArray(int i, DataType data)
      Sets ith "data" element
      Specified by:
      setDataArray in interface PortType
    • 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 PortType
    • addNewData

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

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

      public PortType[] getPortArray()
      Gets array of all "port" elements
      Specified by:
      getPortArray in interface PortType
    • getPortArray

      public PortType getPortArray(int i)
      Gets ith "port" element
      Specified by:
      getPortArray in interface PortType
    • sizeOfPortArray

      public int sizeOfPortArray()
      Returns number of "port" element
      Specified by:
      sizeOfPortArray in interface PortType
    • setPortArray

      public void setPortArray(PortType[] portArray)
      Sets array of all "port" element
      Specified by:
      setPortArray in interface PortType
    • setPortArray

      public void setPortArray(int i, PortType port)
      Sets ith "port" element
      Specified by:
      setPortArray in interface PortType
    • insertNewPort

      public PortType insertNewPort(int i)
      Inserts and returns a new empty value (as xml) as the ith "port" element
      Specified by:
      insertNewPort in interface PortType
    • addNewPort

      public PortType addNewPort()
      Appends and returns a new empty value (as xml) as the last "port" element
      Specified by:
      addNewPort in interface PortType
    • removePort

      public void removePort(int i)
      Removes the ith "port" element
      Specified by:
      removePort in interface PortType
    • getName

      public String getName()
      Gets the "name" attribute
      Specified by:
      getName in interface PortType
    • xgetName

      public org.apache.xmlbeans.XmlNMTOKEN xgetName()
      Gets (as xml) the "name" attribute
      Specified by:
      xgetName in interface PortType
    • setName

      public void setName(String name)
      Sets the "name" attribute
      Specified by:
      setName in interface PortType
    • xsetName

      public void xsetName(org.apache.xmlbeans.XmlNMTOKEN name)
      Sets (as xml) the "name" attribute
      Specified by:
      xsetName in interface PortType