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
EMOFprivate javax.swing.filechooser.FileFilter
mFilter
File filter.private java.lang.String
mType
MOF type.
-
Constructor Summary
Constructors Modifier Constructor Description private
MofDescriptor(java.lang.String type)
-
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
-
mType
private final java.lang.String mType
MOF type.
-
mFilter
private final javax.swing.filechooser.FileFilter mFilter
File filter.
-
-
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.
-
-