Class BaseOperationArgs<A extends io.github.mmm.code.api.arg.CodeOperationArg>
java.lang.Object
io.github.mmm.code.base.item.BaseItem
io.github.mmm.code.base.item.BaseMutableItem
io.github.mmm.code.base.node.BaseNodeItem
io.github.mmm.code.base.node.BaseNodeItemContainer<A>
io.github.mmm.code.base.node.BaseNodeItemContainerFlat<A>
io.github.mmm.code.base.arg.BaseOperationArgs<A>
- Type Parameters:
A- type of the containedBaseOperationArgs.
- All Implemented Interfaces:
io.github.mmm.code.api.arg.CodeOperationArgs<A>, io.github.mmm.code.api.CodeWithContext, io.github.mmm.code.api.item.CodeItem, io.github.mmm.code.api.item.CodeItemWithDeclaringType, io.github.mmm.code.api.item.CodeMutableItem, io.github.mmm.code.api.node.CodeNode, io.github.mmm.code.api.node.CodeNodeContainer<A>, io.github.mmm.code.api.node.CodeNodeItem, io.github.mmm.code.api.node.CodeNodeItemContainer<A>, io.github.mmm.code.api.node.CodeNodeItemContainerFlat<A>, io.github.mmm.code.api.object.CodeMutable, Iterable<A>
- Direct Known Subclasses:
BaseExceptions, BaseParameters
public abstract class BaseOperationArgs<A extends io.github.mmm.code.api.arg.CodeOperationArg>
extends BaseNodeItemContainerFlat<A>
implements io.github.mmm.code.api.arg.CodeOperationArgs<A>
Base implementation of
CodeOperationArgs.- Since:
- 1.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
-
Field Summary
Fields inherited from interface io.github.mmm.code.api.item.CodeItem
DEFAULT_INDENT, DEFAULT_NEWLINE -
Constructor Summary
ConstructorsConstructorDescriptionBaseOperationArgs(BaseOperationArgs<A> template, io.github.mmm.code.api.copy.CodeCopyMapper mapper) The copy-constructor.BaseOperationArgs(BaseOperation parent) The constructor. -
Method Summary
Modifier and TypeMethodDescriptionabstract BaseOperationArgs<A> copy()abstract io.github.mmm.code.api.arg.CodeOperationArgs<A> Methods inherited from class BaseNodeItemContainer
add, addInternal, clear, doSetImmutable, ensureParent, getByName, getDeclared, getItemCopyType, getKey, getList, getMap, isKeepListView, isNamed, isSystemImmutable, remove, renameMethods inherited from class BaseNodeItem
doInitialize, getContainerItem, getContainerItemDeclared, getContext, getLanguage, getSource, toPathStringMethods inherited from class BaseMutableItem
doCopyNode, doCopyNodeUnsafe, doMapList, doneInitialize, getDefaultCopyMapper, getDefaultEncoding, getReflectiveObject, initialize, initialize, isImmutable, isInitialized, isInitializing, isSystemImmutable, makeImmutable, makeImmutable, setImmutable, setImmutableIfNotSystemImmutable, verifyMutalbe, writeItemMethods inherited from class BaseItem
doWrite, getOwningType, getSourceCode, getSpaces, toString, writeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.github.mmm.code.api.item.CodeItem
getLanguage, getSourceCode, write, write, write, write, write, writeMethods inherited from interface io.github.mmm.code.api.object.CodeMutable
isImmutable, isMutableMethods inherited from interface io.github.mmm.code.api.item.CodeMutableItem
getReflectiveObject, setImmutableMethods inherited from interface io.github.mmm.code.api.node.CodeNodeContainer
getDeclared, isEmpty, iteratorMethods inherited from interface io.github.mmm.code.api.node.CodeNodeItemContainer
copy, removeMethods inherited from interface io.github.mmm.code.api.CodeWithContext
getContext, getSourceMethods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
BaseOperationArgs
-
BaseOperationArgs
public BaseOperationArgs(BaseOperationArgs<A> template, io.github.mmm.code.api.copy.CodeCopyMapper mapper) The copy-constructor.- Parameters:
template- theBaseOperationArgsto copy.mapper- theCodeCopyMapper.
-
-
Method Details
-
getParent
- Specified by:
getParentin interfaceio.github.mmm.code.api.node.CodeNode- Specified by:
getParentin interfaceio.github.mmm.code.api.node.CodeNodeItemContainer<A extends io.github.mmm.code.api.arg.CodeOperationArg>- Specified by:
getParentin interfaceio.github.mmm.code.api.arg.CodeOperationArgs<A extends io.github.mmm.code.api.arg.CodeOperationArg>
-
getDeclaringType
- Specified by:
getDeclaringTypein interfaceio.github.mmm.code.api.item.CodeItemWithDeclaringType
-
getSourceCodeObject
- Overrides:
getSourceCodeObjectin classBaseMutableItem- Returns:
- the optional internal
CodeItemrepresenting the source-code (to merge). Otherwisenull. This is an internal API. Do not use or rely on it from outside.
-
copy
- Specified by:
copyin interfaceio.github.mmm.code.api.item.CodeMutableItem- Specified by:
copyin interfaceio.github.mmm.code.api.node.CodeNodeItem- Specified by:
copyin interfaceio.github.mmm.code.api.node.CodeNodeItemContainer<A extends io.github.mmm.code.api.arg.CodeOperationArg>- Specified by:
copyin interfaceio.github.mmm.code.api.node.CodeNodeItemContainerFlat<A extends io.github.mmm.code.api.arg.CodeOperationArg>- Specified by:
copyin interfaceio.github.mmm.code.api.arg.CodeOperationArgs<A extends io.github.mmm.code.api.arg.CodeOperationArg>
-