Class ChildB

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

    @Valid
    public class ChildB
    extends ParentClass
    Multi
    line
    class
    comment
    Version:
    JEAF Release 1.6.x
    Author:
    JEAF Generator
    See Also:
    Serialized Form
    • Constructor Detail

      • ChildB

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

        protected ChildB​(ChildB.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 ChildB.Builder builder()
        Method returns a new builder.
        Returns:
        ChildB.Builder New builder that can be used to create new ChildB objects.
      • builder

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

        public static ChildB.Builder builder​(java.lang.String pParentAttribute)
        Method creates a new builder and initializes it with the passed attributes.
      • getChildBAttribute

        public boolean[] getChildBAttribute()
        Method returns attribute childBAttribute.
        A child attribute
        Returns:
        boolean Value to which childBAttribute is set.
      • setChildBAttribute

        public void setChildBAttribute​(boolean[] pChildBAttribute)
        Method sets attribute childBAttribute.
        A child attribute
        Parameters:
        pChildBAttribute - Value to which childBAttribute should be set.
      • getComposition

        public java.util.Set<ParentClass> getComposition()
        Method returns association composition.
        the composition
        Returns:
        Set Value to which composition is set. The method never returns null and the returned collection is modifiable.
      • addToComposition

        public void addToComposition​(ParentClass pComposition)
        Method adds the passed object to composition.
        Parameters:
        pComposition - Object that should be added to composition. The parameter must not be null.
      • addToComposition

        public void addToComposition​(java.util.Collection<ParentClass> pComposition)
        Method adds all passed objects to composition.
        Parameters:
        pComposition - Collection with all objects that should be added to composition. The parameter must not be null.
      • removeFromComposition

        public void removeFromComposition​(ParentClass pComposition)
        Method removes the passed object from composition.
        Parameters:
        pComposition - Object that should be removed from composition. The parameter must not be null.
      • clearComposition

        public void clearComposition()
        Method removes all objects from composition.
      • 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.
        Overrides:
        toStringBuilder in class ParentClass
        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 ParentClass
        Returns:
        String String representation of this object. The method never returns null.