Package com.nomagic.magicdraw.mof
Class MofDescriptor
- java.lang.Object
-
- com.nomagic.magicdraw.mof.MofDescriptor
-
@OpenApiAll public final class MofDescriptor extends java.lang.ObjectMOF type description.
-
-
Field Summary
Fields Modifier and Type Field Description static MofDescriptorCMOFCMOFstatic MofDescriptorEMOFEMOFprivate javax.swing.filechooser.FileFiltermFilterFile filter.private java.lang.StringmTypeMOF type.
-
Constructor Summary
Constructors Modifier Constructor Description privateMofDescriptor(java.lang.String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.filechooser.FileFiltergetFilter()Returns file filter.java.lang.StringgetType()Get MOF type.java.lang.StringgetTypeString(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.
-
-