Class XBEBlockCons

  • All Implemented Interfaces:
    java.io.Serializable, XBMBase, XBMBlockCons, XBMConsDef, XBMItem, XBMSpecDef, org.exbin.xbup.core.catalog.base.XBCBase, org.exbin.xbup.core.catalog.base.XBCBlockCons, org.exbin.xbup.core.catalog.base.XBCConsDef, org.exbin.xbup.core.catalog.base.XBCItem, org.exbin.xbup.core.catalog.base.XBCSpecDef

    @ParametersAreNonnullByDefault
    public class XBEBlockCons
    extends XBEConsDef
    implements XBMBlockCons
    Block consist database entity.
    See Also:
    Serialized Form
    • Field Summary

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

        id
    • Constructor Summary

      Constructors 
      Constructor Description
      XBEBlockCons()  
    • Constructor Detail

      • XBEBlockCons

        public XBEBlockCons()
    • Method Detail

      • getSpec

        public org.exbin.xbup.core.catalog.base.XBCBlockSpec getSpec()
        Description copied from interface: XBMConsDef
        Gets specification which is also owner.
        Specified by:
        getSpec in interface org.exbin.xbup.core.catalog.base.XBCBlockCons
        Specified by:
        getSpec in interface org.exbin.xbup.core.catalog.base.XBCConsDef
        Specified by:
        getSpec in interface org.exbin.xbup.core.catalog.base.XBCSpecDef
        Specified by:
        getSpec in interface XBMConsDef
        Overrides:
        getSpec in class XBEConsDef
        Returns:
        specification
      • 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 XBMBlockCons
        Specified by:
        setSpec in interface XBMSpecDef
        Overrides:
        setSpec in class XBESpecDef
        Parameters:
        spec - specification
      • getTarget

        public java.util.Optional<org.exbin.xbup.core.catalog.base.XBCBlockRev> getTarget()
        Specified by:
        getTarget in interface org.exbin.xbup.core.catalog.base.XBCBlockCons
      • setTarget

        public void setTarget​(@Nullable
                              XBMBlockRev blockRev)
        Description copied from interface: XBMBlockCons
        Sets target specification.
        Specified by:
        setTarget in interface XBMBlockCons
        Parameters:
        blockRev - revision
      • getType

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