Class XBESpecDef

  • All Implemented Interfaces:
    java.io.Serializable, XBMBase, XBMItem, XBMSpecDef, org.exbin.xbup.core.catalog.base.XBCBase, org.exbin.xbup.core.catalog.base.XBCItem, org.exbin.xbup.core.catalog.base.XBCSpecDef
    Direct Known Subclasses:
    XBEConsDef, XBEJoinDef

    @ParametersAreNonnullByDefault
    public class XBESpecDef
    extends XBEItem
    implements java.io.Serializable, XBMSpecDef
    Specification definition database entity.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.exbin.xbup.catalog.entity.XBEItem

        id
    • Constructor Summary

      Constructors 
      Constructor Description
      XBESpecDef()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.exbin.xbup.core.catalog.base.XBCSpec getSpec()  
      java.util.Optional<org.exbin.xbup.core.catalog.base.XBCRev> getTargetRev()  
      org.exbin.xbup.core.block.definition.XBParamType getType()  
      void setSpec​(org.exbin.xbup.core.catalog.base.XBCSpec spec)
      Sets specification which is also owner.
      void setTargetRev​(org.exbin.xbup.core.catalog.base.XBCRev target)
      Sets target specification.
      void setType​(org.exbin.xbup.core.block.definition.XBParamType type)
      Sets specification definition's type.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.exbin.xbup.core.catalog.base.XBCBase

        getId
      • Methods inherited from interface org.exbin.xbup.core.catalog.base.XBCItem

        getParentItem, getXBIndex
    • Constructor Detail

      • XBESpecDef

        public XBESpecDef()
    • Method Detail

      • getTargetRev

        @Nonnull
        public java.util.Optional<org.exbin.xbup.core.catalog.base.XBCRev> getTargetRev()
        Specified by:
        getTargetRev in interface org.exbin.xbup.core.catalog.base.XBCSpecDef
      • setTargetRev

        public void setTargetRev​(@Nullable
                                 org.exbin.xbup.core.catalog.base.XBCRev target)
        Description copied from interface: XBMSpecDef
        Sets target specification.
        Specified by:
        setTargetRev in interface XBMSpecDef
        Parameters:
        target - revision
      • getSpec

        @Nonnull
        public org.exbin.xbup.core.catalog.base.XBCSpec getSpec()
        Specified by:
        getSpec in interface org.exbin.xbup.core.catalog.base.XBCSpecDef
      • setSpec

        public void setSpec​(org.exbin.xbup.core.catalog.base.XBCSpec spec)
        Description copied from interface: XBMSpecDef
        Sets specification which is also owner.
        Specified by:
        setSpec in interface XBMSpecDef
        Parameters:
        spec - specification
      • getType

        @Nonnull
        public org.exbin.xbup.core.block.definition.XBParamType getType()
        Specified by:
        getType in interface org.exbin.xbup.core.catalog.base.XBCSpecDef
      • setType

        public void setType​(org.exbin.xbup.core.block.definition.XBParamType type)
        Description copied from interface: XBMSpecDef
        Sets specification definition's type.
        Specified by:
        setType in interface XBMSpecDef
        Parameters:
        type - specification definition's type