Package jetbrains.mps.persistence
Class ModelCreationOptions
- java.lang.Object
 - 
- jetbrains.mps.persistence.ModelCreationOptions
 
 
- 
public final class ModelCreationOptions extends Object
OPTIONAL parameters for theModelFactorymethods. Supposed to be a cosier version of theMapparameters in theModelFactory#create(DataSource, Map)methods group. Currently I suggest that the set of these parameters is not extended on the client side though this can easily be changed. Use staticstartBuilding()to start construction via Builder pattern. Finish construction with theModelCreationOptions.Builder.finishBuilding()invocation. Use non-staticprototype()if you would like to construct a new instance of parameters based on the COPY of the existing version of parameters. Created by apyshkin on 12/14/16. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModelCreationOptions.BuilderCreate via staticstartBuilding()if you want to construct a new instance of parameters. 
- 
Field Summary
Fields Modifier and Type Field Description static ModelCreationOptionsDEFAULT 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelLoadingOption[]convertToLoadingOptions()StringgetModelName()booleanisContentOnly()ModelCreationOptions.Builderprototype()static ModelCreationOptions.BuilderstartBuilding() 
 - 
 
- 
- 
Field Detail
- 
DEFAULT
public static final ModelCreationOptions DEFAULT
 
 - 
 
- 
Method Detail
- 
isContentOnly
public boolean isContentOnly()
 
- 
getModelName
public String getModelName()
 
- 
convertToLoadingOptions
@NotNull public ModelLoadingOption[] convertToLoadingOptions()
 
- 
startBuilding
@NotNull public static ModelCreationOptions.Builder startBuilding()
 
- 
prototype
@NotNull public ModelCreationOptions.Builder prototype()
 
 - 
 
 -