Class MultiValuedDataType

  • All Implemented Interfaces:
    com.anaptecs.jeaf.core.api.ServiceObject, java.io.Serializable

    @Valid
    public class MultiValuedDataType
    extends java.lang.Object
    implements com.anaptecs.jeaf.core.api.ServiceObject
    See Also:
    Serialized Form
    • Constructor Detail

      • MultiValuedDataType

        protected MultiValuedDataType()
        Default constructor is only intended to be used for deserialization by tools like Jackson for JSON. For "normal" object creation builder should be used instead.
      • MultiValuedDataType

        protected MultiValuedDataType​(MultiValuedDataType.Builder pBuilder)
        Initialize object using the passed builder.
        Parameters:
        pBuilder - Builder that should be used to initialize this object. The parameter must not be null.
    • Method Detail

      • builder

        public static MultiValuedDataType.Builder builder​(MultiValuedDataType pObject)
        Method creates a new builder and initialize it with the data from the passed object.
        Parameters:
        pObject - Object that should be used to initialize the builder. The parameter may be null.
        Returns:
        MultiValuedDataType.Builder New builder that can be used to create new MultiValuedDataType objects. The method never returns null.
      • builder

        public static MultiValuedDataType.Builder builder​(java.lang.String pStringProperty,
                                                          long pLongValues)
        Method creates a new builder and initializes it with the passed attributes.
      • getStringCodeHeader

        public java.util.List<StringCode> getStringCodeHeader()
        Method returns association stringCodeHeader.
        This is my multivalued test header
        Returns:
        List Value to which stringCodeHeader is set. The method never returns null and the returned collection is modifiable.
      • addToStringCodeHeader

        public void addToStringCodeHeader​(StringCode pStringCodeHeader)
        Method adds the passed object to stringCodeHeader.
        Parameters:
        pStringCodeHeader - Object that should be added to stringCodeHeader. The parameter must not be null.
      • addToStringCodeHeader

        public void addToStringCodeHeader​(java.util.Collection<StringCode> pStringCodeHeader)
        Method adds all passed objects to stringCodeHeader.
        Parameters:
        pStringCodeHeader - Collection with all objects that should be added to stringCodeHeader. The parameter must not be null.
      • removeFromStringCodeHeader

        public void removeFromStringCodeHeader​(StringCode pStringCodeHeader)
        Method removes the passed object from stringCodeHeader.
        Parameters:
        pStringCodeHeader - Object that should be removed from stringCodeHeader. The parameter must not be null.
      • clearStringCodeHeader

        public void clearStringCodeHeader()
        Method removes all objects from stringCodeHeader.
      • getLongCodeQueryParam

        public java.util.List<LongCode> getLongCodeQueryParam()
        Method returns association longCodeQueryParam.
        Multivalued query param
        Returns:
        List Value to which longCodeQueryParam is set. The method never returns null and the returned collection is modifiable.
      • addToLongCodeQueryParam

        public void addToLongCodeQueryParam​(LongCode pLongCodeQueryParam)
        Method adds the passed object to longCodeQueryParam.
        Parameters:
        pLongCodeQueryParam - Object that should be added to longCodeQueryParam. The parameter must not be null.
      • addToLongCodeQueryParam

        public void addToLongCodeQueryParam​(java.util.Collection<LongCode> pLongCodeQueryParam)
        Method adds all passed objects to longCodeQueryParam.
        Parameters:
        pLongCodeQueryParam - Collection with all objects that should be added to longCodeQueryParam. The parameter must not be null.
      • removeFromLongCodeQueryParam

        public void removeFromLongCodeQueryParam​(LongCode pLongCodeQueryParam)
        Method removes the passed object from longCodeQueryParam.
        Parameters:
        pLongCodeQueryParam - Object that should be removed from longCodeQueryParam. The parameter must not be null.
      • clearLongCodeQueryParam

        public void clearLongCodeQueryParam()
        Method removes all objects from longCodeQueryParam.
      • getLiterals

        public java.util.List<BooleanLiteralsEnum> getLiterals()
        Method returns association literals.
        so many literals are possible
        Returns:
        List Value to which literals is set. The method never returns null and the returned collection is modifiable.
      • addToLiterals

        public void addToLiterals​(BooleanLiteralsEnum pLiterals)
        Method adds the passed object to literals.
        Parameters:
        pLiterals - Object that should be added to literals. The parameter must not be null.
      • addToLiterals

        public void addToLiterals​(java.util.Collection<BooleanLiteralsEnum> pLiterals)
        Method adds all passed objects to literals.
        Parameters:
        pLiterals - Collection with all objects that should be added to literals. The parameter must not be null.
      • removeFromLiterals

        public void removeFromLiterals​(BooleanLiteralsEnum pLiterals)
        Method removes the passed object from literals.
        Parameters:
        pLiterals - Object that should be removed from literals. The parameter must not be null.
      • clearLiterals

        public void clearLiterals()
        Method removes all objects from literals.
      • getStringProperty

        public java.lang.String getStringProperty()
        Method returns attribute stringProperty.
        Returns:
        String Value to which stringProperty is set.
      • setStringProperty

        public void setStringProperty​(java.lang.String pStringProperty)
        Method sets attribute stringProperty.
        Parameters:
        pStringProperty - Value to which stringProperty should be set.
      • getLongValues

        public long getLongValues()
        Method returns attribute longValues.
        long values as multivalued header
        Returns:
        long Value to which longValues is set.
      • setLongValues

        public void setLongValues​(long pLongValues)
        Method sets attribute longValues.
        long values as multivalued header
        Parameters:
        pLongValues - Value to which longValues should be set.
      • toStringBuilder

        public java.lang.StringBuilder toStringBuilder​(java.lang.String pIndent)
        Method returns a StringBuilder that can be used to create a String representation of this object. The returned StringBuilder also takes care about attributes of super classes.
        Returns:
        StringBuilder StringBuilder representing this object. The method never returns null.
      • toString

        public java.lang.String toString()
        Method creates a new String with the values of all attributes of this class. All references to other objects will be ignored.
        Overrides:
        toString in class java.lang.Object
        Returns:
        String String representation of this object. The method never returns null.