Package org.w3.xlink

Class ArcType.Builder<_B>

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

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

      • _parentBuilder

        protected final _B _parentBuilder
      • _storedValue

        protected final ArcType _storedValue
    • Constructor Detail

      • Builder

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

        public Builder​(_B _parentBuilder,
                       ArcType _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 ArcType> _P init​(_P _product)
      • addTitle

        public ArcType.Builder<_B> addTitle​(Iterable<? extends TitleEltType> title)
        Adds the given items to the value of "title"
        Parameters:
        title - Items to add to the value of the "title" property
      • withTitle

        public ArcType.Builder<_B> withTitle​(Iterable<? extends TitleEltType> title)
        Sets the new value of "title" (any previous value will be replaced)
        Parameters:
        title - New value of the "title" property.
      • addTitle

        public ArcType.Builder<_B> addTitle​(TitleEltType... title)
        Adds the given items to the value of "title"
        Parameters:
        title - Items to add to the value of the "title" property
      • withTitle

        public ArcType.Builder<_B> withTitle​(TitleEltType... title)
        Sets the new value of "title" (any previous value will be replaced)
        Parameters:
        title - New value of the "title" property.
      • withType

        public ArcType.Builder<_B> withType​(TypeType type)
        Sets the new value of "type" (any previous value will be replaced)
        Parameters:
        type - New value of the "type" property.
      • withArcrole

        public ArcType.Builder<_B> withArcrole​(String arcrole)
        Sets the new value of "arcrole" (any previous value will be replaced)
        Parameters:
        arcrole - New value of the "arcrole" property.
      • withArcTitle

        public ArcType.Builder<_B> withArcTitle​(String arcTitle)
        Sets the new value of "arcTitle" (any previous value will be replaced)
        Parameters:
        arcTitle - New value of the "arcTitle" property.
      • withShow

        public ArcType.Builder<_B> withShow​(ShowType show)
        Sets the new value of "show" (any previous value will be replaced)
        Parameters:
        show - New value of the "show" property.
      • withActuate

        public ArcType.Builder<_B> withActuate​(ActuateType actuate)
        Sets the new value of "actuate" (any previous value will be replaced)
        Parameters:
        actuate - New value of the "actuate" property.
      • withFrom

        public ArcType.Builder<_B> withFrom​(String from)
        Sets the new value of "from" (any previous value will be replaced)
        Parameters:
        from - New value of the "from" property.
      • withTo

        public ArcType.Builder<_B> withTo​(String to)
        Sets the new value of "to" (any previous value will be replaced)
        Parameters:
        to - New value of the "to" property.
      • build

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