Class SampleParentWithDerived

  • All Implemented Interfaces:
    java.io.Serializable

    public final class SampleParentWithDerived
    extends java.lang.Object
    implements java.io.Serializable
    A SampleParentWithDerived encapsulates a Sample (the parent) and its derived Samples.
    See Also:
    Serialized Form
    • Constructor Detail

      • SampleParentWithDerived

        public SampleParentWithDerived()
      • SampleParentWithDerived

        public SampleParentWithDerived​(Sample parent,
                                       Sample[] derived)
    • Method Detail

      • getDerived

        public final Sample[] getDerived()
        Never returns null but could return an empty array.
      • setDerived

        public final void setDerived​(Sample[] generated)
      • getParent

        public final Sample getParent()
      • setParent

        public final void setParent​(Sample generator)