Package org.exbin.xbup.catalog.entity
Class XBEBlockCons
- java.lang.Object
-
- org.exbin.xbup.catalog.entity.XBEItem
-
- org.exbin.xbup.catalog.entity.XBESpecDef
-
- org.exbin.xbup.catalog.entity.XBEConsDef
-
- org.exbin.xbup.catalog.entity.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
-
-
Constructor Summary
Constructors Constructor Description XBEBlockCons()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.exbin.xbup.core.catalog.base.XBCBlockSpecgetSpec()Gets specification which is also owner.java.util.Optional<org.exbin.xbup.core.catalog.base.XBCBlockRev>getTarget()org.exbin.xbup.core.block.definition.XBParamTypegetType()voidsetSpec(org.exbin.xbup.core.catalog.base.XBCSpec spec)Sets specification which is also owner.voidsetTarget(XBMBlockRev blockRev)Sets target specification.-
Methods inherited from class org.exbin.xbup.catalog.entity.XBESpecDef
getTargetRev, setTargetRev, setType
-
Methods inherited from class org.exbin.xbup.catalog.entity.XBEItem
equals, getId, getParentItem, getXBIndex, hashCode, setParentItem, setXBIndex, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.exbin.xbup.catalog.modifiable.XBMConsDef
getTargetRev
-
Methods inherited from interface org.exbin.xbup.catalog.modifiable.XBMItem
setParentItem, setXBIndex
-
Methods inherited from interface org.exbin.xbup.catalog.modifiable.XBMSpecDef
setTargetRev, setType
-
-
-
-
Method Detail
-
getSpec
public org.exbin.xbup.core.catalog.base.XBCBlockSpec getSpec()
Description copied from interface:XBMConsDefGets specification which is also owner.- Specified by:
getSpecin interfaceorg.exbin.xbup.core.catalog.base.XBCBlockCons- Specified by:
getSpecin interfaceorg.exbin.xbup.core.catalog.base.XBCConsDef- Specified by:
getSpecin interfaceorg.exbin.xbup.core.catalog.base.XBCSpecDef- Specified by:
getSpecin interfaceXBMConsDef- Overrides:
getSpecin classXBEConsDef- Returns:
- specification
-
setSpec
public void setSpec(org.exbin.xbup.core.catalog.base.XBCSpec spec)
Description copied from interface:XBMSpecDefSets specification which is also owner.- Specified by:
setSpecin interfaceXBMBlockCons- Specified by:
setSpecin interfaceXBMSpecDef- Overrides:
setSpecin classXBESpecDef- Parameters:
spec- specification
-
getTarget
public java.util.Optional<org.exbin.xbup.core.catalog.base.XBCBlockRev> getTarget()
- Specified by:
getTargetin interfaceorg.exbin.xbup.core.catalog.base.XBCBlockCons
-
setTarget
public void setTarget(@Nullable XBMBlockRev blockRev)Description copied from interface:XBMBlockConsSets target specification.- Specified by:
setTargetin interfaceXBMBlockCons- Parameters:
blockRev- revision
-
getType
@Nonnull public org.exbin.xbup.core.block.definition.XBParamType getType()
- Specified by:
getTypein interfaceorg.exbin.xbup.core.catalog.base.XBCSpecDef- Overrides:
getTypein classXBEConsDef
-
-