public class Resource
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Modifier | Constructor and Description |
---|---|
protected |
Resource(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
protected void |
finalize() |
LmmConstraint |
getConstraint() |
protected static long |
getCPtr(Resource obj) |
Model |
getModel() |
java.lang.String |
getName() |
XbtDict |
getProperties() |
ResourceState |
getState() |
boolean |
isUsed() |
void |
updateState(TmgrTraceEvent event_type,
double value,
double date)
Update the state of the Resource
|
protected static long getCPtr(Resource obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public java.lang.String getName()
public boolean isUsed()
public Model getModel()
public ResourceState getState()
ResourceState
public LmmConstraint getConstraint()
public XbtDict getProperties()
public void updateState(TmgrTraceEvent event_type, double value, double date)
event_type
- value
- date
-