Class CodeTypeUsageTest

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

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

      • CodeTypeUsageTest

        protected CodeTypeUsageTest()
        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.
      • CodeTypeUsageTest

        protected CodeTypeUsageTest​(CodeTypeUsageTest.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 CodeTypeUsageTest.Builder builder​(CodeTypeUsageTest 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:
        CodeTypeUsageTest.Builder New builder that can be used to create new CodeTypeUsageTest objects. The method never returns null.
      • addToBooleanCodeAssociation

        public void addToBooleanCodeAssociation​(BooleanCodeType pBooleanCodeAssociation)
        Method adds the passed object to booleanCodeAssociation.
        Parameters:
        pBooleanCodeAssociation - Object that should be added to booleanCodeAssociation. The parameter must not be null.
      • addToBooleanCodeAssociation

        public void addToBooleanCodeAssociation​(java.util.Collection<BooleanCodeType> pBooleanCodeAssociation)
        Method adds all passed objects to booleanCodeAssociation.
        Parameters:
        pBooleanCodeAssociation - Collection with all objects that should be added to booleanCodeAssociation. The parameter must not be null.
      • removeFromBooleanCodeAssociation

        public void removeFromBooleanCodeAssociation​(BooleanCodeType pBooleanCodeAssociation)
        Method removes the passed object from booleanCodeAssociation.
        Parameters:
        pBooleanCodeAssociation - Object that should be removed from booleanCodeAssociation. The parameter must not be null.
      • clearBooleanCodeAssociation

        public void clearBooleanCodeAssociation()
        Method removes all objects from booleanCodeAssociation.
      • addToShortCodeTypeAssociation

        public void addToShortCodeTypeAssociation​(ShortCodeType pShortCodeTypeAssociation)
        Method adds the passed object to shortCodeTypeAssociation.
        Parameters:
        pShortCodeTypeAssociation - Object that should be added to shortCodeTypeAssociation. The parameter must not be null.
      • addToShortCodeTypeAssociation

        public void addToShortCodeTypeAssociation​(java.util.Collection<ShortCodeType> pShortCodeTypeAssociation)
        Method adds all passed objects to shortCodeTypeAssociation.
        Parameters:
        pShortCodeTypeAssociation - Collection with all objects that should be added to shortCodeTypeAssociation. The parameter must not be null.
      • removeFromShortCodeTypeAssociation

        public void removeFromShortCodeTypeAssociation​(ShortCodeType pShortCodeTypeAssociation)
        Method removes the passed object from shortCodeTypeAssociation.
        Parameters:
        pShortCodeTypeAssociation - Object that should be removed from shortCodeTypeAssociation. The parameter must not be null.
      • clearShortCodeTypeAssociation

        public void clearShortCodeTypeAssociation()
        Method removes all objects from shortCodeTypeAssociation.
      • setStringCode

        public void setStringCode​(StringCodeType pStringCode)
        Method sets attribute stringCode.
        Parameters:
        pStringCode - Value to which stringCode should be set.
      • setShortCode

        public void setShortCode​(ShortCode pShortCode)
        Method sets association shortCode.
        Parameters:
        pShortCode - Value to which shortCode should be set.
      • unsetShortCode

        public final void unsetShortCode()
        Method unsets shortCode.
      • 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.