Interface KerMLElementsFactory
- All Superinterfaces:
com.dassault_systemes.modeler.kerml.model.InitializingElementsFactory
- All Known Subinterfaces:
ElementsFactory,ElementsFactory,SysMLElementsFactory
@OpenApiAll
public interface KerMLElementsFactory
extends com.dassault_systemes.modeler.kerml.model.InitializingElementsFactory
Core factory for creating KerML model elements.
Provides methods to instantiate all standard KerML element types. Each created element is automatically initialized and ready to be added to the model.
This is the low-level factory used by higher-level APIs (e.g., SysML).
In most cases, you will obtain it via ElementsFactory.get(project).
Typical usage:
ElementsFactory factory = ElementsFactory.get(project);
Class clazz = factory.createClass();
This API is available to Open API clients.
-
Method Summary
Modifier and TypeMethodDescriptiondefault <T extends Element>
Tdefault AnnotatingElementReturns a new object of class 'Annotating Element'.default AnnotationReturns a new object of class 'Annotation'.default AssociationReturns a new object of class 'Association'.default AssociationStructureReturns a new object of class 'Association Structure'.default BehaviorReturns a new object of class 'Behavior'.default BindingConnectorReturns a new object of class 'Binding Connector'.default BooleanExpressionReturns a new object of class 'Boolean Expression'.default ClassReturns a new object of class 'Class'.default ClassifierReturns a new object of class 'Classifier'.default CollectExpressionReturns a new object of class 'Collect Expression'.default CommentReturns a new object of class 'Comment'.default ConjugationReturns a new object of class 'Conjugation'.default ConnectorReturns a new object of class 'Connector'.default ConstructorExpressionReturns a new object of class 'Constructor Expression'.default CrossSubsettingReturns a new object of class 'Cross Subsetting'.default DataTypeReturns a new object of class 'Data Type'.default DependencyReturns a new object of class 'Dependency'.default DifferencingReturns a new object of class 'Differencing'.default DisjoiningReturns a new object of class 'Disjoining'.default DocumentationReturns a new object of class 'Documentation'.default ElementFilterMembershipReturns a new object of class 'Element Filter Membership'.default EndFeatureMembershipReturns a new object of class 'End Feature Membership'.default ExpressionReturns a new object of class 'Expression'.default FeatureReturns a new object of class 'Feature'.default FeatureChainExpressionReturns a new object of class 'Feature Chain Expression'.default FeatureChainingReturns a new object of class 'Feature Chaining'.default FeatureInvertingReturns a new object of class 'Feature Inverting'.default FeatureMembershipReturns a new object of class 'Feature Membership'.default FeatureReferenceExpressionReturns a new object of class 'Feature Reference Expression'.default FeatureTypingReturns a new object of class 'Feature Typing'.default FeatureValueReturns a new object of class 'Feature Value'.default FlowReturns a new object of class 'Flow'.default FlowEndReturns a new object of class 'Flow End'.default FunctionReturns a new object of class 'Function'.default IndexExpressionReturns a new object of class 'Index Expression'.default InteractionReturns a new object of class 'Interaction'.default IntersectingReturns a new object of class 'Intersecting'.default InvariantReturns a new object of class 'Invariant'.default InvocationExpressionReturns a new object of class 'Invocation Expression'.default LibraryPackageReturns a new object of class 'Library Package'.default LiteralBooleanReturns a new object of class 'Literal Boolean'.default LiteralExpressionReturns a new object of class 'Literal Expression'.default LiteralInfinityReturns a new object of class 'Literal Infinity'.default LiteralIntegerReturns a new object of class 'Literal Integer'.default LiteralRationalReturns a new object of class 'Literal Rational'.default LiteralStringReturns a new object of class 'Literal String'.default MembershipReturns a new object of class 'Membership'.default MembershipImportReturns a new object of class 'Membership Import'.default MetaclassReturns a new object of class 'Metaclass'.default MetadataAccessExpressionReturns a new object of class 'Metadata Access Expression'.default MetadataFeatureReturns a new object of class 'Metadata Feature'.default MultiplicityReturns a new object of class 'Multiplicity'.default MultiplicityRangeReturns a new object of class 'Multiplicity Range'.default NamespaceReturns a new object of class 'Namespace'.default NamespaceImportReturns a new object of class 'Namespace Import'.default NullExpressionReturns a new object of class 'Null Expression'.default OperatorExpressionReturns a new object of class 'Operator Expression'.default OwningMembershipReturns a new object of class 'Owning Membership'.default PackageReturns a new object of class 'Package'.default ParameterMembershipReturns a new object of class 'Parameter Membership'.default PayloadFeatureReturns a new object of class 'Payload Feature'.default PredicateReturns a new object of class 'Predicate'.default RedefinitionReturns a new object of class 'Redefinition'.default ReferenceSubsettingReturns a new object of class 'Reference Subsetting'.default ResultExpressionMembershipReturns a new object of class 'Result Expression Membership'.default ReturnParameterMembershipReturns a new object of class 'Return Parameter Membership'.default SelectExpressionReturns a new object of class 'Select Expression'.default SpecializationReturns a new object of class 'Specialization'.default StepReturns a new object of class 'Step'.default StructureReturns a new object of class 'Structure'.default SubclassificationReturns a new object of class 'Subclassification'.default SubsettingReturns a new object of class 'Subsetting'.default SuccessionReturns a new object of class 'Succession'.default SuccessionFlowReturns a new object of class 'Succession Flow'.default TextualRepresentationReturns a new object of class 'Textual Representation'.default TypeReturns a new object of class 'Type'.default TypeFeaturingReturns a new object of class 'Type Featuring'.default UnioningReturns a new object of class 'Unioning'.Methods inherited from interface com.dassault_systemes.modeler.kerml.model.InitializingElementsFactory
create, initializeElement
-
Method Details
-
createAnnotatingElement
Returns a new object of class 'Annotating Element'.- Returns:
- a new object of class 'Annotating Element'.
-
createAnnotation
Returns a new object of class 'Annotation'.- Returns:
- a new object of class 'Annotation'.
-
createAssociation
Returns a new object of class 'Association'.- Returns:
- a new object of class 'Association'.
-
createAssociationStructure
Returns a new object of class 'Association Structure'.- Returns:
- a new object of class 'Association Structure'.
-
createBehavior
Returns a new object of class 'Behavior'.- Returns:
- a new object of class 'Behavior'.
-
createBindingConnector
Returns a new object of class 'Binding Connector'.- Returns:
- a new object of class 'Binding Connector'.
-
createBooleanExpression
Returns a new object of class 'Boolean Expression'.- Returns:
- a new object of class 'Boolean Expression'.
-
createClass
Returns a new object of class 'Class'.- Returns:
- a new object of class 'Class'.
-
createClassifier
Returns a new object of class 'Classifier'.- Returns:
- a new object of class 'Classifier'.
-
createCollectExpression
Returns a new object of class 'Collect Expression'.- Returns:
- a new object of class 'Collect Expression'.
-
createComment
Returns a new object of class 'Comment'.- Returns:
- a new object of class 'Comment'.
-
createConjugation
Returns a new object of class 'Conjugation'.- Returns:
- a new object of class 'Conjugation'.
-
createConnector
Returns a new object of class 'Connector'.- Returns:
- a new object of class 'Connector'.
-
createConstructorExpression
Returns a new object of class 'Constructor Expression'.- Returns:
- a new object of class 'Constructor Expression'.
-
createCrossSubsetting
Returns a new object of class 'Cross Subsetting'.- Returns:
- a new object of class 'Cross Subsetting'.
-
createDataType
Returns a new object of class 'Data Type'.- Returns:
- a new object of class 'Data Type'.
-
createDependency
Returns a new object of class 'Dependency'.- Returns:
- a new object of class 'Dependency'.
-
createDifferencing
Returns a new object of class 'Differencing'.- Returns:
- a new object of class 'Differencing'.
-
createDisjoining
Returns a new object of class 'Disjoining'.- Returns:
- a new object of class 'Disjoining'.
-
createDocumentation
Returns a new object of class 'Documentation'.- Returns:
- a new object of class 'Documentation'.
-
createElementFilterMembership
Returns a new object of class 'Element Filter Membership'.- Returns:
- a new object of class 'Element Filter Membership'.
-
createEndFeatureMembership
Returns a new object of class 'End Feature Membership'.- Returns:
- a new object of class 'End Feature Membership'.
-
createExpression
Returns a new object of class 'Expression'.- Returns:
- a new object of class 'Expression'.
-
createFeature
Returns a new object of class 'Feature'.- Returns:
- a new object of class 'Feature'.
-
createFeatureChainExpression
Returns a new object of class 'Feature Chain Expression'.- Returns:
- a new object of class 'Feature Chain Expression'.
-
createFeatureChaining
Returns a new object of class 'Feature Chaining'.- Returns:
- a new object of class 'Feature Chaining'.
-
createFeatureInverting
Returns a new object of class 'Feature Inverting'.- Returns:
- a new object of class 'Feature Inverting'.
-
createFeatureMembership
Returns a new object of class 'Feature Membership'.- Returns:
- a new object of class 'Feature Membership'.
-
createFeatureReferenceExpression
Returns a new object of class 'Feature Reference Expression'.- Returns:
- a new object of class 'Feature Reference Expression'.
-
createFeatureTyping
Returns a new object of class 'Feature Typing'.- Returns:
- a new object of class 'Feature Typing'.
-
createFeatureValue
Returns a new object of class 'Feature Value'.- Returns:
- a new object of class 'Feature Value'.
-
createFlow
Returns a new object of class 'Flow'.- Returns:
- a new object of class 'Flow'.
-
createFlowEnd
Returns a new object of class 'Flow End'.- Returns:
- a new object of class 'Flow End'.
-
createFunction
Returns a new object of class 'Function'.- Returns:
- a new object of class 'Function'.
-
createIndexExpression
Returns a new object of class 'Index Expression'.- Returns:
- a new object of class 'Index Expression'.
-
createInteraction
Returns a new object of class 'Interaction'.- Returns:
- a new object of class 'Interaction'.
-
createIntersecting
Returns a new object of class 'Intersecting'.- Returns:
- a new object of class 'Intersecting'.
-
createInvariant
Returns a new object of class 'Invariant'.- Returns:
- a new object of class 'Invariant'.
-
createInvocationExpression
Returns a new object of class 'Invocation Expression'.- Returns:
- a new object of class 'Invocation Expression'.
-
createLibraryPackage
Returns a new object of class 'Library Package'.- Returns:
- a new object of class 'Library Package'.
-
createLiteralBoolean
Returns a new object of class 'Literal Boolean'.- Returns:
- a new object of class 'Literal Boolean'.
-
createLiteralExpression
Returns a new object of class 'Literal Expression'.- Returns:
- a new object of class 'Literal Expression'.
-
createLiteralInfinity
Returns a new object of class 'Literal Infinity'.- Returns:
- a new object of class 'Literal Infinity'.
-
createLiteralInteger
Returns a new object of class 'Literal Integer'.- Returns:
- a new object of class 'Literal Integer'.
-
createLiteralRational
Returns a new object of class 'Literal Rational'.- Returns:
- a new object of class 'Literal Rational'.
-
createLiteralString
Returns a new object of class 'Literal String'.- Returns:
- a new object of class 'Literal String'.
-
createMembership
Returns a new object of class 'Membership'.- Returns:
- a new object of class 'Membership'.
-
createMembershipImport
Returns a new object of class 'Membership Import'.- Returns:
- a new object of class 'Membership Import'.
-
createMetaclass
Returns a new object of class 'Metaclass'.- Returns:
- a new object of class 'Metaclass'.
-
createMetadataAccessExpression
Returns a new object of class 'Metadata Access Expression'.- Returns:
- a new object of class 'Metadata Access Expression'.
-
createMetadataFeature
Returns a new object of class 'Metadata Feature'.- Returns:
- a new object of class 'Metadata Feature'.
-
createMultiplicity
Returns a new object of class 'Multiplicity'.- Returns:
- a new object of class 'Multiplicity'.
-
createMultiplicityRange
Returns a new object of class 'Multiplicity Range'.- Returns:
- a new object of class 'Multiplicity Range'.
-
createNamespace
Returns a new object of class 'Namespace'.- Returns:
- a new object of class 'Namespace'.
-
createNamespaceImport
Returns a new object of class 'Namespace Import'.- Returns:
- a new object of class 'Namespace Import'.
-
createNullExpression
Returns a new object of class 'Null Expression'.- Returns:
- a new object of class 'Null Expression'.
-
createOperatorExpression
Returns a new object of class 'Operator Expression'.- Returns:
- a new object of class 'Operator Expression'.
-
createOwningMembership
Returns a new object of class 'Owning Membership'.- Returns:
- a new object of class 'Owning Membership'.
-
createPackage
Returns a new object of class 'Package'.- Returns:
- a new object of class 'Package'.
-
createParameterMembership
Returns a new object of class 'Parameter Membership'.- Returns:
- a new object of class 'Parameter Membership'.
-
createPayloadFeature
Returns a new object of class 'Payload Feature'.- Returns:
- a new object of class 'Payload Feature'.
-
createPredicate
Returns a new object of class 'Predicate'.- Returns:
- a new object of class 'Predicate'.
-
createRedefinition
Returns a new object of class 'Redefinition'.- Returns:
- a new object of class 'Redefinition'.
-
createReferenceSubsetting
Returns a new object of class 'Reference Subsetting'.- Returns:
- a new object of class 'Reference Subsetting'.
-
createResultExpressionMembership
Returns a new object of class 'Result Expression Membership'.- Returns:
- a new object of class 'Result Expression Membership'.
-
createReturnParameterMembership
Returns a new object of class 'Return Parameter Membership'.- Returns:
- a new object of class 'Return Parameter Membership'.
-
createSelectExpression
Returns a new object of class 'Select Expression'.- Returns:
- a new object of class 'Select Expression'.
-
createSpecialization
Returns a new object of class 'Specialization'.- Returns:
- a new object of class 'Specialization'.
-
createStep
Returns a new object of class 'Step'.- Returns:
- a new object of class 'Step'.
-
createStructure
Returns a new object of class 'Structure'.- Returns:
- a new object of class 'Structure'.
-
createSubclassification
Returns a new object of class 'Subclassification'.- Returns:
- a new object of class 'Subclassification'.
-
createSubsetting
Returns a new object of class 'Subsetting'.- Returns:
- a new object of class 'Subsetting'.
-
createSuccession
Returns a new object of class 'Succession'.- Returns:
- a new object of class 'Succession'.
-
createSuccessionFlow
Returns a new object of class 'Succession Flow'.- Returns:
- a new object of class 'Succession Flow'.
-
createTextualRepresentation
Returns a new object of class 'Textual Representation'.- Returns:
- a new object of class 'Textual Representation'.
-
createType
Returns a new object of class 'Type'.- Returns:
- a new object of class 'Type'.
-
createTypeFeaturing
Returns a new object of class 'Type Featuring'.- Returns:
- a new object of class 'Type Featuring'.
-
createUnioning
Returns a new object of class 'Unioning'.- Returns:
- a new object of class 'Unioning'.
-
create
-