Interface SimpleValue

    • Method Detail

      • instanceType

        SchemaType instanceType()
        The same as getSchemaType unless this is a union instance or nil value.

        For unions, this returns the non-union consituent type of this instance. This type may change if setters are called that cause the instance to change to another constituent type of the union.

        For nil values, this returns null.

      • getStringValue

        String getStringValue()
        Returns the value as a String.
      • getBooleanValue

        boolean getBooleanValue()
        Returns the value as a boolean.
      • getByteValue

        byte getByteValue()
        Returns the value as a byte.
      • getShortValue

        short getShortValue()
        Returns the value as a short.
      • getIntValue

        int getIntValue()
        Returns the value as an int.
      • getLongValue

        long getLongValue()
        Returns the value as a long.
      • getFloatValue

        float getFloatValue()
        Returns the value as a float.
      • getDoubleValue

        double getDoubleValue()
        Returns the value as a double.
      • getByteArrayValue

        byte[] getByteArrayValue()
        Returns the value as a byte array.
      • getCalendarValue

        Calendar getCalendarValue()
        Returns the value as a Calendar.
      • getDateValue

        Date getDateValue()
        Returns the value as a Date.
      • getGDateValue

        GDate getGDateValue()
        Returns the value as a GDate.
      • getQNameValue

        QName getQNameValue()
        Returns the value as a QName.
      • getListValue

        List<?> getListValue()
        Returns the value as a List of friendly Java objects (String, Integer, Byte, Short, Long, BigInteger, Decimal, Float, Double, byte[], Calendar, GDuration).
      • xgetListValue

        List<? extends XmlAnySimpleType> xgetListValue()
        Returns the value as a List of XmlAnySimpleType objects.
      • getObjectValue

        Object getObjectValue()
        Returns a union value as a its natural friendly Java object (String, Integer, Byte, Short, Long, BigInteger, Decimal, Float, Double, byte[], Calendar, GDuration).
      • setStringValue

        void setStringValue​(String obj)
        Sets the value as a String.
      • setBooleanValue

        void setBooleanValue​(boolean v)
        Sets the value as a boolean.
      • setByteValue

        void setByteValue​(byte v)
        Sets the value as a byte.
      • setShortValue

        void setShortValue​(short v)
        Sets the value as a short.
      • setIntValue

        void setIntValue​(int v)
        Sets the value as an int.
      • setLongValue

        void setLongValue​(long v)
        Sets the value as a long.
      • setFloatValue

        void setFloatValue​(float v)
        Sets the value as a float.
      • setDoubleValue

        void setDoubleValue​(double v)
        Sets the value as a double.
      • setByteArrayValue

        void setByteArrayValue​(byte[] obj)
        Sets the value as a byte array.
      • setCalendarValue

        void setCalendarValue​(Calendar obj)
        Sets the value as a Calendar.
      • setDateValue

        void setDateValue​(Date obj)
        Sets the value as a Date.
      • setGDateValue

        void setGDateValue​(GDate obj)
        Sets the value as a GDate.
      • setGDurationValue

        void setGDurationValue​(GDuration obj)
        Sets the value as a GDuration.
      • setQNameValue

        void setQNameValue​(QName obj)
        Sets the value as a QName.
      • setListValue

        void setListValue​(List<?> obj)
        Sets the value as a List.
      • setObjectValue

        void setObjectValue​(Object obj)
        Sets the value as an arbitrary Object.