AnyLogic AnyLogic
Expand
Font size
  • java.lang.Object
    • com.anylogic.engine.ModelProperties

@AnyLogicInternalAPI
public class ModelProperties
extends java.lang.Object
This class is internal and shouldn't be called by user.
it may be removed/renamed in future.
Author:
AnyLogic North America, LLC https://anylogic.com

Field Summary

Fields 
static java.lang.String FILE_NAME  
Modifier and Type Field Description

Constructor Summary

Constructors 
ModelProperties()  
Constructor Description

Method Summary

All Methods Instance Methods Concrete Methods 
boolean getBooleanProperty​(java.lang.Object propertyName)  
java.util.EnumSet<LoggingType> getLoggingTypes​(Engine engine)  
java.lang.String getStringProperty​(java.lang.Object propertyName)  
void load​(java.lang.Class<?> c)  
void setBooleanProperty​(java.lang.Object propertyName, boolean value)  
void setStringProperty​(java.lang.Object propertyName, java.lang.String value)  
void store​(java.io.OutputStream stream)  
Modifier and Type Method Description

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

FILE_NAME

public static final java.lang.String FILE_NAME
See Also:
Constant Field Values

Constructor Detail

ModelProperties

public ModelProperties()

Method Detail

load

public void load​(java.lang.Class<?> c)
          throws java.io.IOException
Throws:
java.io.IOException

store

public void store​(java.io.OutputStream stream)
           throws java.io.IOException
Throws:
java.io.IOException

getStringProperty

public java.lang.String getStringProperty​(java.lang.Object propertyName)

setStringProperty

public void setStringProperty​(java.lang.Object propertyName,
                              java.lang.String value)

getBooleanProperty

public boolean getBooleanProperty​(java.lang.Object propertyName)

setBooleanProperty

public void setBooleanProperty​(java.lang.Object propertyName,
                               boolean value)

getLoggingTypes

public java.util.EnumSet<LoggingType> getLoggingTypes​(Engine engine)
How can we improve this article?