Package org.exbin.xbup.catalog.entity
Class XBESpecDef
- java.lang.Object
-
- org.exbin.xbup.catalog.entity.XBEItem
-
- org.exbin.xbup.catalog.entity.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
-
-
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.XBCSpecgetSpec()java.util.Optional<org.exbin.xbup.core.catalog.base.XBCRev>getTargetRev()org.exbin.xbup.core.block.definition.XBParamTypegetType()voidsetSpec(org.exbin.xbup.core.catalog.base.XBCSpec spec)Sets specification which is also owner.voidsetTargetRev(org.exbin.xbup.core.catalog.base.XBCRev target)Sets target specification.voidsetType(org.exbin.xbup.core.block.definition.XBParamType type)Sets specification definition's type.-
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.XBMItem
setParentItem, setXBIndex
-
-
-
-
Method Detail
-
getTargetRev
@Nonnull public java.util.Optional<org.exbin.xbup.core.catalog.base.XBCRev> getTargetRev()
- Specified by:
getTargetRevin interfaceorg.exbin.xbup.core.catalog.base.XBCSpecDef
-
setTargetRev
public void setTargetRev(@Nullable org.exbin.xbup.core.catalog.base.XBCRev target)Description copied from interface:XBMSpecDefSets target specification.- Specified by:
setTargetRevin interfaceXBMSpecDef- Parameters:
target- revision
-
getSpec
@Nonnull public org.exbin.xbup.core.catalog.base.XBCSpec getSpec()
- Specified by:
getSpecin interfaceorg.exbin.xbup.core.catalog.base.XBCSpecDef
-
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 interfaceXBMSpecDef- Parameters:
spec- specification
-
getType
@Nonnull public org.exbin.xbup.core.block.definition.XBParamType getType()
- Specified by:
getTypein interfaceorg.exbin.xbup.core.catalog.base.XBCSpecDef
-
setType
public void setType(org.exbin.xbup.core.block.definition.XBParamType type)
Description copied from interface:XBMSpecDefSets specification definition's type.- Specified by:
setTypein interfaceXBMSpecDef- Parameters:
type- specification definition's type
-
-