Class SchemaPropertyImpl

    • Constructor Detail

      • SchemaPropertyImpl

        public SchemaPropertyImpl()
    • Method Detail

      • setImmutable

        public void setImmutable()
      • setContainerTypeRef

        public void setContainerTypeRef​(SchemaType.Ref typeref)
      • getName

        public javax.xml.namespace.QName getName()
        Description copied from interface: SchemaProperty
        The name of this element or attribute
        Specified by:
        getName in interface SchemaProperty
      • setName

        public void setName​(javax.xml.namespace.QName name)
      • getJavaPropertyName

        public java.lang.String getJavaPropertyName()
        Description copied from interface: SchemaProperty
        The Java name for this property. For example, if the method to access this property is called getFirstName, then this method returns the string "FirstName". May be null if the schema type has not been compiled to Java.
        Specified by:
        getJavaPropertyName in interface SchemaProperty
      • setJavaPropertyName

        public void setJavaPropertyName​(java.lang.String name)
      • setAttribute

        public void setAttribute​(boolean isAttribute)
      • javaBasedOnType

        public SchemaType javaBasedOnType()
        Description copied from interface: SchemaProperty
        The schema type returned from the Java getter for this property. Applies only to types that have been code generated to Java; may be a base type of getType().
        Specified by:
        javaBasedOnType in interface SchemaProperty
      • extendsJavaArray

        public boolean extendsJavaArray()
        Description copied from interface: SchemaProperty
        True if there is a Java getter that returns an array.
        Specified by:
        extendsJavaArray in interface SchemaProperty
      • extendsJavaOption

        public boolean extendsJavaOption()
        Description copied from interface: SchemaProperty
        True if there is an Java isSet method that tests for presence.
        Specified by:
        extendsJavaOption in interface SchemaProperty
      • setExtendsJava

        public void setExtendsJava​(SchemaType.Ref javaBasedOnTypeRef,
                                   boolean singleton,
                                   boolean option,
                                   boolean array)
      • getJavaSetterDelimiter

        public QNameSet getJavaSetterDelimiter()
        Description copied from interface: SchemaProperty
        Returns the set of element names which should appear strictly after all occurences of the elements described by this property. For element properties only.
        Specified by:
        getJavaSetterDelimiter in interface SchemaProperty
      • acceptedNames

        public javax.xml.namespace.QName[] acceptedNames()
        Description copied from interface: SchemaProperty
        For element properties the set of names that are accepted for this property if this element is the head of a substitution group. This will always have at least one element, ie, the property's name.
        Specified by:
        acceptedNames in interface SchemaProperty
      • setAcceptedNames

        public void setAcceptedNames​(java.util.Set set)
      • setAcceptedNames

        public void setAcceptedNames​(QNameSet set)
      • getMinOccurs

        public java.math.BigInteger getMinOccurs()
        Description copied from interface: SchemaProperty
        Returns a summarized minimum occurrance number. For example, a sequence containing a nonoptional singleton element repeated twice will result in a property getMinOccurs() of 2.
        Specified by:
        getMinOccurs in interface SchemaProperty
      • setMinOccurs

        public void setMinOccurs​(java.math.BigInteger min)
      • getMaxOccurs

        public java.math.BigInteger getMaxOccurs()
        Description copied from interface: SchemaProperty
        Returns a summarized minimum occurrance number. For example, a sequence containing a nonoptional singleton element repeated twice will result in a property getMaxOccurs() of 2.
        Specified by:
        getMaxOccurs in interface SchemaProperty
      • setMaxOccurs

        public void setMaxOccurs​(java.math.BigInteger max)
      • setNillable

        public void setNillable​(int when)
      • setDefault

        public void setDefault​(int when)
      • setFixed

        public void setFixed​(int when)
      • setDefaultText

        public void setDefaultText​(java.lang.String val)
      • setDefaultValue

        public void setDefaultValue​(XmlValueRef defaultRef)
      • getJavaTypeCode

        public int getJavaTypeCode()
        Description copied from interface: SchemaProperty
        Returns the natural Java type for this property. Returns either XML_OBJECT (for complex types) or one of the JAVA_* constants described in this interface.
        Specified by:
        getJavaTypeCode in interface SchemaProperty
      • setJavaTypeCode

        public void setJavaTypeCode​(int code)