Class PGPDataType.Builder<_B>

  • All Implemented Interfaces:
    com.kscs.util.jaxb.Buildable
    Enclosing class:
    PGPDataType

    public static class PGPDataType.Builder<_B>
    extends Object
    implements com.kscs.util.jaxb.Buildable
    • Field Detail

      • _parentBuilder

        protected final _B _parentBuilder
      • _storedValue

        protected final PGPDataType _storedValue
    • Constructor Detail

      • Builder

        public Builder​(_B _parentBuilder,
                       PGPDataType _other,
                       boolean _copy)
      • Builder

        public Builder​(_B _parentBuilder,
                       PGPDataType _other,
                       boolean _copy,
                       com.kscs.util.jaxb.PropertyTree _propertyTree,
                       com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
    • Method Detail

      • end

        public _B end()
      • init

        protected <_P extends PGPDataType> _P init​(_P _product)
      • addContent

        public PGPDataType.Builder<_B> addContent​(Iterable<?> content)
        Adds the given items to the value of "content"
        Parameters:
        content - Items to add to the value of the "content" property
      • withContent

        public PGPDataType.Builder<_B> withContent​(Iterable<?> content)
        Sets the new value of "content" (any previous value will be replaced)
        Parameters:
        content - New value of the "content" property.
      • addContent

        public PGPDataType.Builder<_B> addContent​(Object... content)
        Adds the given items to the value of "content"
        Parameters:
        content - Items to add to the value of the "content" property
      • withContent

        public PGPDataType.Builder<_B> withContent​(Object... content)
        Sets the new value of "content" (any previous value will be replaced)
        Parameters:
        content - New value of the "content" property.
      • addPGPKeyID

        public PGPDataType.Builder<_B> addPGPKeyID​(Iterable<? extends javax.xml.bind.JAXBElement<byte[]>> pgpKeyID_)
        Adds the given items to the value of "pgpKeyID_"
        Parameters:
        pgpKeyID_ - Items to add to the value of the "pgpKeyID_" property
      • addPGPKeyID

        public PGPDataType.Builder<_B> addPGPKeyID​(javax.xml.bind.JAXBElement<byte[]>... pgpKeyID_)
        Adds the given items to the value of "pgpKeyID_"
        Parameters:
        pgpKeyID_ - Items to add to the value of the "pgpKeyID_" property
      • addPGPKeyPacket

        public PGPDataType.Builder<_B> addPGPKeyPacket​(Iterable<? extends javax.xml.bind.JAXBElement<byte[]>> pgpKeyPacket_)
        Adds the given items to the value of "pgpKeyPacket_"
        Parameters:
        pgpKeyPacket_ - Items to add to the value of the "pgpKeyPacket_" property
      • addPGPKeyPacket

        public PGPDataType.Builder<_B> addPGPKeyPacket​(javax.xml.bind.JAXBElement<byte[]>... pgpKeyPacket_)
        Adds the given items to the value of "pgpKeyPacket_"
        Parameters:
        pgpKeyPacket_ - Items to add to the value of the "pgpKeyPacket_" property
      • build

        public PGPDataType build()
        Specified by:
        build in interface com.kscs.util.jaxb.Buildable