AllocationDefinition SysML
- class AllocationDefinition
Implementation of
AllocationDefinitiondefined in the SysML specification.Specification:
An
AllocationDefinitionis aConnectionDefinitionthat specifies that some or all of the responsibility to realize the intent of thesourceis allocated to thetargetinstances. Such allocations define mappings across the various structures and hierarchies of a system model, perhaps as a precursor to more rigorous specifications and implementations. AnAllocationDefinitioncan itself be refined using nestedallocationsthat give a finer-grained decomposition of the containing allocation mapping.For language description, see section 7.15.2 of the SysML specification. For more details on the model, see section 8.3.15.2 of the SysML specification.
Members defined in
AllocationDefinition(2 members)
R
RThe
AllocationUsagesthat refine the allocation mapping defined by thisAllocationDefinition.Members inherited from
ConnectionDefinition(12 members)
RThe
featuresof theAssociationthat identify the things that can be related by it. A concreteAssociationmust have at least twoassociation_ends. When it has exactly two, theAssociationis called a binaryAssociation.
RThe
Usagesthat define the things related by theConnectionDefinition.
RWWhether this Relationship was generated by tooling to meet semantic rules, rather than being directly created by a modeler.
RThe related_elements of this Relationship that are owned by the Relationship.
RThe related_element of this Relationship that owns the Relationship, if any.
RThe Elements that are related by this Relationship, derived as the union of the
sourceandtargetElements of the Relationship.
RThe
typesof theassociation_endsof theAssociation, which are therelated_elementsof theAssociationconsidered as aRelationship.
RThe
related_elements from which this Relationship is considered to be directed.
RThe source
related_typefor thisAssociation. It is the firstrelated_typeof theAssociation.
RThe
related_elements from which this Relationship is considered to be directed.
RThe target
related_typesfor thisAssociation. This includes all therelated_typesother than thesource_type.
RThe
related_elementsto which this Relationship is considered to be directed.Members inherited from
PartDefinition(0 members)Members inherited from
ItemDefinition(0 members)Members inherited from
OccurrenceDefinition(2 members)
RWWhether this OccurrenceDefinition is constrained to represent single individual.
RIf
is_individualis true, aLifeClassthat specializes thisOccurrenceDefinition, restricting it to represent an individual.Members inherited from
Definition(31 members)
RThe
usagesof thisDefinitionthat aredirected_features.
RW- Whether this
Definitionis for a variation point or not. If true, then all the
membershipsof theDefinitionmust beVariantMemberships.
RThe
ActionUsagesthat areowned_usagesof thisDefinition.
RThe
AllocationUsagesthat areowned_usagesof thisDefinition.
RThe
AttributeUsagesthat areowned_usagesof thisDefinition.
RThe
CalculationUsagesthat areowned_usagesof thisDefinition.
RThe code>CaseUsages that are
owned_usagesof thisDefinition.
RThe
ConcernUsagesthat areowned_usagesof thisDefinition.
RThe
ConnectorAsUsagesthat areowned_usagesof thisDefinition. Note that this list includesBindingConnectorAsUsages,SuccessionAsUsages, andFlowConnectionUsagesbecause these areConnectorAsUsageseven though they are notConnectionUsages.
RThe
ConstraintUsagesthat areowned_usagesof thisDefinition.
RThe
EnumerationUsagesthat areowned_usagesof thisDefinition.
RThe
FlowConnectionUsagesthat areowned_usagesof thisDefinition.
RThe
InterfaceUsagesthat areowned_usagesof thisDefinition.
RThe
ItemUsagesthat areowned_usagesof thisDefinition.
RThe
MetadataUsagesthat areowned_usagesof thisDefinition.
RThe
OccurrenceUsagesthat areowned_usagesof thisDefinition.
RThe
PartUsagesthat areowned_usagesof thisDefinition.
RThe
PortUsagesthat areowned_usagesof thisDefinition.
RThe
ReferenceUsagesthat areowned_usagesof thisDefinition.
RThe
RenderingUsagesthat areowned_usagesof thisDefinition.
RThe
StateUsagesthat areowned_usagesof thisDefinition.
RThe
TransitionUsagesthat areowned_usagesof thisDefinition.
RThe
Usagesthat areowned_featuresof thisDefinition.
RThe
UseCaseUsagesthat areowned_usagesof thisDefinition.
RThe
VerificationCaseUsagesthat areowned_usagesof thisDefinition.
RThe
ViewpointUsagesthat areowned_usagesof thisDefinition.
RThe
ViewUsagesthat areowned_usagesof thisDefinition.
RThe
Usagesthat arefeaturesof thisDefinition(not necessarily owned).
RThe
owned_membershipsof thisDefinitionthat areVariantMemberships. Ifis_variation= true, then this must be allowned_membershipsof theDefinition. Ifis_variation= false, thenvariant_membershipmust be empty.
RThe
Usageswhich represent the variants of thisDefinitionas a variation pointDefinition, ifis_variation= true. Ifis_variation = false, the there must be novariants.
Members inherited from
Classifier(2 members)
RThe
Classifiersrelated to thisClassifierbyowned_subclassifications.
RThe
owned_specializationsof thisClassifierthat areSubclassifications, for which thisClassifieris thesubclassifier.Members inherited from
Type(36 members)
RThe owned multiplicity that is declared before the children block in the textual syntax.
RSysIDE specific accessor for manipulating
declared_multiplicity.
RThe interpretations of a
Typewithdifferencing_typesare asserted to be those of the first of thoseTypes, but not including those of the remainingTypes. For example, aClassifiermight be the difference of aClassifierfor people and another for people of a particular nationality, leaving people who are not of that nationality. Similarly, a feature of people might be the difference between a feature for their children and aClassifierfor people of a particular sex, identifying their children not of that sex (because the interpretations of the childrenFeaturethat identify those of that sex are also interpretations of theClassifierfor that sex).
RThe
featuresof thisTypethat have a non-nulldirection.
RThe types that related to this
Typethroughowned_disjoinings.
RAll
featuresof thisTypewithis_end = true.
RThe
FeatureMembershipsforfeaturesof thisType, which include allowned_feature_membershipsand thoseinherited_membershipsthat areFeatureMemberships(but does not include anyimported_memberships).
RThe
owned_member_featuresof thefeature_membershipsof thisType.
RThe specializations and conjugations owned by this
Type.
RAll the
member_featuresof theinherited_membershipsof thisTypethat areFeatureMemberships.
RAll
Membershipsinherited by thisTypeviaSpecializationorConjugation. These are included in the derived union for themembershipsof theType.
RAll
featuresrelated to thisTypebyFeatureMembershipsthat havedirectioninorinout.
RThe interpretations of a
Typewithintersecting_typesare asserted to be those in common among theintersecting_types, which are theTypesderived from theintersecting_typeof theowned_intersectingsof thisType. For example, aClassifiermight be an intersection ofClassifiersfor people of a particular sex and of a particular nationality. Similarly, a feature for people’s children of a particular sex might be the intersection of aFeaturefor their children and aClassifierfor people of that sex (because the interpretations of the childrenFeaturethat identify those of that sex are also interpretations of the Classifier for that sex).
RWIndicates whether instances of this
Typemust also be instances of at least one of its specializedTypes.
RIndicates whether this
Typehas anowned_conjugator.
RWWhether all things that meet the classification conditions of this
Typemust be classified by theType.
RReturns
Trueif thisTypewas declared assufficientin the textual syntax.
RAn
owned_memberof thisTypethat is aMultiplicity, which constraints the cardinality of theType. If there is no suchowned_member, then the cardinality of thisTypeis constrained by all theMultiplicityconstraints applicable to any direct supertypes.
RAll
featuresrelated to thisTypebyFeatureMembershipsthat havedirectionoutorinout.
RA
Conjugationowned by thisTypefor which theTypeis theoriginal_type.
RThe
owned_relationshipsof thisTypethat areDifferencings, having thisTypeas theirtype_differenced.
RThe
directed_featuresthat are owned by thisType.
RThe
owned_relationshipsof thisTypethat areDisjoinings, for which theTypeis thetype_disjoinedType.
RAll
end_featuresof thisTypethat areowned_features.
RThe
owned_membershipsof thisTypethat areFeatureMemberships, for which theTypeis theowning_type. Each suchFeatureMembershipidentifies anowned_featureof theType.
RThe
owned_member_featuresof theowned_feature_membershipsof thisType.
RThe
inputsthat are owned by thisType.
RThe
owned_relationshipsof thisTypethat areIntersectings, have theTypeas theirtype_intersected.
RThe
outputsthat are owned by thisType.
RThe
owned_relationshipsof thisTypethat areSpecializations, for which theTypeis thespecificType.
RThe
owned_relationshipsof thisTypethat areUnionings, having theTypeas theirtype_unioned.
RThe other type, feature relationships and
FeatureChainingsowned by thisType.
RThe interpretations of a
Typewithunioning_typesare asserted to be the same as those of all theunioning_typestogether, which are theTypesderived from theunioning_typeof theowned_unioningsof thisType. For example, aClassifierfor people might be the union ofClassifiersfor all the sexes. Similarly, a feature for people’s children might be the union of features dividing them in the same ways as people in general.
Members inherited from
Namespace(10 members)
RThe elements enclosed by curly brackets in textual syntax.
RThe set of all member
Elementsof thisNamespace, which are themember_elementsof allmembershipsof theNamespace.
RAll
Membershipsin thisNamespace, including (at least) the union ofowned_membershipsandimported_memberships.
RThe
owned_relationshipsof thisNamespacethat areImports, for which theNamespaceis theimport_owning_namespace.
RThe owned
membersof thisNamespace, which are theowned_member_elementsof theowned_membershipsof theNamespace.
RThe
owned_relationshipsof thisNamespacethat areMemberships, for which theNamespaceis themembership_owning_namespace.
RMetadata prefixes, prefixed with
#in textual syntax.
Members inherited from
Element(23 members)
RThe owned
Commentsrelated byowned_relationships.
RWThe declared name of this
Element.
RWAn optional alternative name for the
Elementthat is intended to be shorter or in some way more succinct than its primaryname. It may act as a modeler-specified identifier for theElement, though it is then the responsibility of the modeler to maintain the uniqueness of this identifier within a model or relative to some other context.
RThe Documentation owned by this Element.
RW- The globally unique identifier for this Element. This is intended to be
set by tooling, and it must not change during the lifetime of the Element.
RWhether all necessary implied Relationships have been included in the
owned_relationshipsof this Element. This property may be true, even if there are not actually anyowned_relationshipswithis_implied = true, meaning that no such Relationships are actually implied for this Element. However, if it is false, thenowned_relationshipsmay not contain any implied Relationships. That is, either all required implied Relationships must be included, or none of them.
RWhether this Element is contained in the ownership tree of a library model.
RThe owned metadata related by
owned_relationships.
RThe name to be used for this
Elementduring name resolution within itsowning_namespace. This is derived using theeffective_name()operation. By default, it is the same as thedeclared_name, but this is overridden for certain kinds ofElementsto compute anameeven when thedeclared_nameis null.
RThe
owned_relationshipsof thisElementthat areAnnotations, for which thisElementis theannotated_element.
RThe Elements owned by this Element, derived as the owned_related_elements of the owned_relationships of this Element.
RThe Relationships for which this Element is the owning_related_element.
RThe owner of this Element, derived as the
owning_related_elementof theowning_relationshipof this Element, if any.
RThe
owning_relationshipof thisElement, if thatRelationshipis aMembership.
RThe
Namespacethat owns thisElement, which is themembership_owning_namespaceof theowning_membershipof thisElement, if any.
RThe Relationship for which this Element is an owned_related_element, if any.
RThe full ownership-qualified name of this
Element, represented in a form that is valid according to the KerML textual concrete syntax for qualified names (including use of unrestricted name notation and escaped characters, as necessary). Thequalified_nameis null if thisElementhas noowning_namespaceor if there is not a complete ownership chain of namedNamespacesfrom a rootNamespaceto thisElement.
RThe owner of this
Elementas the parent ofowning_membershiporowning_relationshipotherwise.
RWThe state of semantic resolution for this
Element. Based on this, sema may skip elements to avoid duplicate work, e.g. when resolving elements in a group of related documents.
RThe short name to be used for this
Elementduring name resolution within itsowning_namespace. This is derived using theeffective_short_name()operation. By default, it is the same as thedeclared_short_name, but this is overridden for certain kinds ofElementsto compute ashort_nameeven when thedeclared_nameis null.
RThe
TextualRepresentationsthat annotate thisElement.
Members inherited from
AstNode(7 members) Attributes
- STD: tuple[type[syside.AllocationDefinition], ...] = ()
- property allocations: syside.LazyIterator[syside.AllocationUsage]
The
AllocationUsagesthat refine the allocation mapping defined by thisAllocationDefinition.
- Whether this