Class CreateSubConclusion
java.lang.Object
ca.mcscert.jpipe.commands.RegularCommand
ca.mcscert.jpipe.commands.creation.CreateSubConclusion
- All Implemented Interfaces:
Command, ElementCreationCommand, ElementView
Creates a
SubConclusion inside a justification.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final Stringprotected final Stringprotected final SourceLocation -
Constructor Summary
ConstructorsConstructorDescriptionCreateSubConclusion(String container, String identifier, String label) CreateSubConclusion(String container, String identifier, String label, SourceLocation location) -
Method Summary
Modifier and TypeMethodDescriptionName of the model this command adds an element to.voidId assigned to the new element.label()Display label of the new element.location()Source location of the element declaration.toString()Returns a copy of this command withnewIdas the element identifier.Methods inherited from class RegularCommand
executeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ElementCreationCommand
id
-
Field Details
-
container
-
identifier
-
label
-
location
-
-
Constructor Details
-
CreateSubConclusion
-
CreateSubConclusion
public CreateSubConclusion(String container, String identifier, String label, SourceLocation location)
-
-
Method Details
-
withId
Description copied from interface:ElementCreationCommandReturns a copy of this command withnewIdas the element identifier. The container, label, and location are preserved. -
doExecute
- Specified by:
doExecutein classRegularCommand
-
toString
-
container
Description copied from interface:ElementCreationCommandName of the model this command adds an element to.- Specified by:
containerin interfaceElementCreationCommand
-
identifier
Description copied from interface:ElementCreationCommandId assigned to the new element.- Specified by:
identifierin interfaceElementCreationCommand
-
label
Description copied from interface:ElementCreationCommandDisplay label of the new element.- Specified by:
labelin interfaceElementCreationCommand- Specified by:
labelin interfaceElementView
-
location
Description copied from interface:ElementCreationCommandSource location of the element declaration.- Specified by:
locationin interfaceElementCreationCommand
-