Package com.nomagic.magicdraw.sysml.util
Enum Class MDCustomizationForSysMLProfile.SourceKindEnum
java.lang.Object
java.lang.Enum<MDCustomizationForSysMLProfile.SourceKindEnum>
com.nomagic.magicdraw.sysml.util.MDCustomizationForSysMLProfile.SourceKindEnum
- All Implemented Interfaces:
Serializable
,Comparable<MDCustomizationForSysMLProfile.SourceKindEnum>
,Constable
- Enclosing class:
- MDCustomizationForSysMLProfile
public static enum MDCustomizationForSysMLProfile.SourceKindEnum
extends Enum<MDCustomizationForSysMLProfile.SourceKindEnum>
For each alternatives , “source” tags depends on “kind” tags.
- TABLE: “source” must be an instance table which is the same classifier as the “AlternativeProperty”. Sorting of rows in the table is not necessary.
- SUBTYPES: “source” must be a parent block of subtypes which is the same type as the “AlternativeProperty”. Also, the parent block will NOT be evaluated as well as any blocks which have “Is Abstract” = true.
- EXCEL: “source” must be a instance/generic table link to an excel file, and table columns have been mapped to excel/CSV columns. “Excel Import” plugin is required for this feature, but the user doesn’t have to use the “Read from File” menu.
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetText()
toEnum
(EnumerationLiteral literal) static EnumerationLiteral
toEnumerationLiteral
(MDCustomizationForSysMLProfile profile, MDCustomizationForSysMLProfile.SourceKindEnum anEnum) Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TABLE
-
EXCEL
-
SUBTYPES
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getText
-
from
@CheckForNull public static MDCustomizationForSysMLProfile.SourceKindEnum from(@CheckForNull Object o) -
toEnum
@CheckForNull public static MDCustomizationForSysMLProfile.SourceKindEnum toEnum(EnumerationLiteral literal) -
toEnumerationLiteral
@CheckForNull public static EnumerationLiteral toEnumerationLiteral(MDCustomizationForSysMLProfile profile, MDCustomizationForSysMLProfile.SourceKindEnum anEnum)
-