Feature#

class ansys.sam.sysml2.meta_model.feature.Feature(id: str)#

Bases: ansys.sam.sysml2.meta_model.type_.Type

Java class ‘com.ansys.medini.metamodel.sysml.Feature’.

Overview#

inherited

Get the inherited property.

type_

Get the type_ property.

default_value

Get the default value property.

inherited_type

Get the inherited type property.

inheriting_type

Get the inheriting type property.

is_composite

Get the is composite property.

is_end

Get the is end property.

declaration

Get the declaration property.

owned_subsetting

Get the owned subsetting property.

direction

Get the direction property.

chaining_feature

Get the chaining feature property.

valuation

Get the valuation property.

owned_typing

Get the owned typing property.

set_is_composite

Get the set is composite property.

set_direction

Get the set direction property.

is_ordered

Get the is ordered property.

is_unique

Get the is unique property.

set_is_ordered

Get the set is ordered property.

set_is_unique

Get the set is unique property.

set_default_value

Get the set default value property.

set_valuation

Get the set valuation property.

referenced_feature

Get the referenced feature property.

feature_value_expression

Get the feature value expression property.

owned_reference_subsetting

Get the owned reference subsetting property.

owned_redefinition

Get the owned redefinition property.

owned_type_featuring

Get the owned type featuring property.

owning_feature_membership

Get the owning feature membership property.

subsetted_feature

Get the subsetted feature property.

redefined_feature

Get the redefined feature property.

set_feature_value_expression

Get the set feature value expression property.

all_redefinitions

Get the all redefinitions property.

Import detail#

from ansys.sam.sysml2.meta_model.feature import Feature

Property detail#

property Feature.inherited: bool#

Get the inherited property.

Returns:
bool

Value of property inherited.

property Feature.type_: List[ansys.sam.sysml2.meta_model.type_.Type]#

Get the type_ property.

Returns:
List[“Type”]

Value of property type_.

property Feature.default_value: Expression#

Get the default value property.

Returns:
“Expression”

Value of property default value.

property Feature.inherited_type: List[ansys.sam.sysml2.meta_model.type_.Type]#

Get the inherited type property.

Returns:
List[“Type”]

Value of property inherited type.

property Feature.inheriting_type: ansys.sam.sysml2.meta_model.type_.Type#

Get the inheriting type property.

Returns:
“Type”

Value of property inheriting type.

property Feature.is_composite: bool#

Get the is composite property.

Returns:
bool

Value of property is composite.

property Feature.is_end: bool#

Get the is end property.

Returns:
bool

Value of property is end.

property Feature.declaration: Feature#

Get the declaration property.

Returns:
“Feature”

Value of property declaration.

property Feature.owned_subsetting: List[Subsetting]#

Get the owned subsetting property.

Returns:
List[“Subsetting”]

Value of property owned subsetting.

property Feature.direction: FeatureDirectionKind#

Get the direction property.

Returns:
“FeatureDirectionKind”

Value of property direction.

property Feature.chaining_feature: List[Feature]#

Get the chaining feature property.

Returns:
List[“Feature”]

Value of property chaining feature.

property Feature.valuation: FeatureValue#

Get the valuation property.

Returns:
“FeatureValue”

Value of property valuation.

property Feature.owned_typing: List[FeatureTyping]#

Get the owned typing property.

Returns:
List[“FeatureTyping”]

Value of property owned typing.

property Feature.set_is_composite: bool#

Get the set is composite property.

Returns:
bool

Value of property set is composite.

property Feature.set_direction: bool#

Get the set direction property.

Returns:
bool

Value of property set direction.

property Feature.is_ordered: None#

Get the is ordered property.

Returns:
None

Value of property is ordered.

property Feature.is_unique: bool#

Get the is unique property.

Returns:
bool

Value of property is unique.

property Feature.set_is_ordered: bool#

Get the set is ordered property.

Returns:
bool

Value of property set is ordered.

property Feature.set_is_unique: bool#

Get the set is unique property.

Returns:
bool

Value of property set is unique.

property Feature.set_default_value: bool#

Get the set default value property.

Returns:
bool

Value of property set default value.

property Feature.set_valuation: bool#

Get the set valuation property.

Returns:
bool

Value of property set valuation.

property Feature.referenced_feature: List[Feature]#

Get the referenced feature property.

Returns:
List[“Feature”]

Value of property referenced feature.

property Feature.feature_value_expression: Expression#

Get the feature value expression property.

Returns:
“Expression”

Value of property feature value expression.

property Feature.owned_reference_subsetting: List[ReferenceSubsetting]#

Get the owned reference subsetting property.

Returns:
List[“ReferenceSubsetting”]

Value of property owned reference subsetting.

property Feature.owned_redefinition: List[Redefinition]#

Get the owned redefinition property.

Returns:
List[“Redefinition”]

Value of property owned redefinition.

property Feature.owned_type_featuring: List[TypeFeaturing]#

Get the owned type featuring property.

Returns:
List[“TypeFeaturing”]

Value of property owned type featuring.

property Feature.owning_feature_membership: FeatureMembership#

Get the owning feature membership property.

Returns:
“FeatureMembership”

Value of property owning feature membership.

property Feature.subsetted_feature: List[Feature]#

Get the subsetted feature property.

Returns:
List[“Feature”]

Value of property subsetted feature.

property Feature.redefined_feature: List[Feature]#

Get the redefined feature property.

Returns:
List[“Feature”]

Value of property redefined feature.

property Feature.set_feature_value_expression: bool#

Get the set feature value expression property.

Returns:
bool

Value of property set feature value expression.

property Feature.all_redefinitions: List[Feature]#

Get the all redefinitions property.

Returns:
List[“Feature”]

Value of property all redefinitions.