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.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 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:
getTargetRev
in interfaceorg.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 interfaceXBMSpecDef
- Parameters:
target
- revision
-
getSpec
@Nonnull public org.exbin.xbup.core.catalog.base.XBCSpec getSpec()
- Specified by:
getSpec
in interfaceorg.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 interfaceXBMSpecDef
- Parameters:
spec
- specification
-
getType
@Nonnull public org.exbin.xbup.core.block.definition.XBParamType getType()
- Specified by:
getType
in interfaceorg.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 interfaceXBMSpecDef
- Parameters:
type
- specification definition's type
-
-