Package com.nomagic.magicdraw.sysml.util
Enum MDCustomizationForSysMLProfile.SourceKindEnum
- java.lang.Object
-
- java.lang.Enum<MDCustomizationForSysMLProfile.SourceKindEnum>
-
- com.nomagic.magicdraw.sysml.util.MDCustomizationForSysMLProfile.SourceKindEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MDCustomizationForSysMLProfile.SourceKindEnum>
- Enclosing class:
- MDCustomizationForSysMLProfile
public static enum MDCustomizationForSysMLProfile.SourceKindEnum extends java.lang.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.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MDCustomizationForSysMLProfile.SourceKindEnum
from(java.lang.Object o)
java.lang.String
getText()
static MDCustomizationForSysMLProfile.SourceKindEnum
toEnum(EnumerationLiteral literal)
static EnumerationLiteral
toEnumerationLiteral(MDCustomizationForSysMLProfile profile, MDCustomizationForSysMLProfile.SourceKindEnum anEnum)
static MDCustomizationForSysMLProfile.SourceKindEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MDCustomizationForSysMLProfile.SourceKindEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TABLE
public static final MDCustomizationForSysMLProfile.SourceKindEnum TABLE
-
EXCEL
public static final MDCustomizationForSysMLProfile.SourceKindEnum EXCEL
-
SUBTYPES
public static final MDCustomizationForSysMLProfile.SourceKindEnum SUBTYPES
-
-
Method Detail
-
values
public static MDCustomizationForSysMLProfile.SourceKindEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MDCustomizationForSysMLProfile.SourceKindEnum c : MDCustomizationForSysMLProfile.SourceKindEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MDCustomizationForSysMLProfile.SourceKindEnum valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getText
public java.lang.String getText()
-
from
@CheckForNull public static MDCustomizationForSysMLProfile.SourceKindEnum from(@CheckForNull java.lang.Object o)
-
toEnum
@CheckForNull public static MDCustomizationForSysMLProfile.SourceKindEnum toEnum(EnumerationLiteral literal)
-
toEnumerationLiteral
@CheckForNull public static EnumerationLiteral toEnumerationLiteral(MDCustomizationForSysMLProfile profile, MDCustomizationForSysMLProfile.SourceKindEnum anEnum)
-
-