Package com.nomagic.magicdraw.mof
Class MofDescriptor
- java.lang.Object
-
- com.nomagic.magicdraw.mof.MofDescriptor
-
@OpenApiAll public final class MofDescriptor extends java.lang.Object
MOF type description.
-
-
Field Summary
Fields Modifier and Type Field Description static MofDescriptor
CMOF
CMOFstatic MofDescriptor
EMOF
EMOF
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.filechooser.FileFilter
getFilter()
Returns file filter.java.lang.String
getType()
Get MOF type.java.lang.String
getTypeString(boolean lowerCase)
Get MOF type.
-
-
-
Field Detail
-
EMOF
public static final MofDescriptor EMOF
EMOF
-
CMOF
public static final MofDescriptor CMOF
CMOF
-
-
Method Detail
-
getType
public java.lang.String getType()
Get MOF type.
-
getTypeString
public java.lang.String getTypeString(boolean lowerCase)
Get MOF type.- Parameters:
lowerCase
- indicates type character case (e.g. "emof" or "EMOF")- Returns:
- type of the MOF.
-
getFilter
public javax.swing.filechooser.FileFilter getFilter()
Returns file filter. Filters the files according MOf type.- Returns:
- file filter.
-
-