Class Struct
- java.lang.Object
-
- org.eclipse.epsilon.emc.simulink.types.AbstractType
-
- org.eclipse.epsilon.emc.simulink.types.Struct
-
- All Implemented Interfaces:
ISimulinkModelElement
,IModelElement
public class Struct extends AbstractType
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
CONTAINS_KEY_METHOD
protected static String
CONTAINS_VALUE_METHOD
protected Method
containsKeyMethod
protected Method
containsValueMethod
protected static String
ENTRY_SET_METHOD
protected Method
entrySetMethod
protected static String
EQUALS_METHOD
protected Method
equalsMethod
protected static String
GET_METHOD
protected Method
getMethod
protected static String
HASH_CODE_METHOD
protected Method
hashCodeMethod
protected static String
IS_EMPTY_METHOD
protected Method
isEmptyMethod
protected static String
KEY_SET_METHOD
protected Method
keySetMethod
protected HashMap<String,Object>
keyValues
protected static String
SIZE_METHOD
protected Method
sizeMethod
protected static String
STRUCT_MATLAB_CLASS
protected static String
VALUES_METHOD
protected Method
valuesMethod
-
Fields inherited from class org.eclipse.epsilon.emc.simulink.types.AbstractType
engine, object
-
-
Constructor Summary
Constructors Constructor Description Struct(Object struct)
Struct(MatlabEngine struct)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
containsKey(Object key)
Boolean
containsValue(Object value)
Set<?>
entrySet()
boolean
equals(Object obj)
Object
get(Object key)
protected static Class<?>
getMatlabClass()
protected Object
getObject()
Object
getProperty(String property)
int
hashCode()
protected void
init()
static boolean
is(Object obj)
Boolean
isEmpty()
Set<?>
keySet()
void
setProperty(String property, Object value)
Integer
size()
String
toString()
Set<?>
values()
-
Methods inherited from class org.eclipse.epsilon.emc.simulink.types.AbstractType
deleteElementInModel, getAllTypeNamesOf, getEngine, getHandle, getOwningModel, getType
-
-
-
-
Field Detail
-
STRUCT_MATLAB_CLASS
protected static final String STRUCT_MATLAB_CLASS
- See Also:
- Constant Field Values
-
CONTAINS_KEY_METHOD
protected static final String CONTAINS_KEY_METHOD
- See Also:
- Constant Field Values
-
CONTAINS_VALUE_METHOD
protected static final String CONTAINS_VALUE_METHOD
- See Also:
- Constant Field Values
-
EQUALS_METHOD
protected static final String EQUALS_METHOD
- See Also:
- Constant Field Values
-
GET_METHOD
protected static final String GET_METHOD
- See Also:
- Constant Field Values
-
ENTRY_SET_METHOD
protected static final String ENTRY_SET_METHOD
- See Also:
- Constant Field Values
-
HASH_CODE_METHOD
protected static final String HASH_CODE_METHOD
- See Also:
- Constant Field Values
-
IS_EMPTY_METHOD
protected static final String IS_EMPTY_METHOD
- See Also:
- Constant Field Values
-
KEY_SET_METHOD
protected static final String KEY_SET_METHOD
- See Also:
- Constant Field Values
-
SIZE_METHOD
protected static final String SIZE_METHOD
- See Also:
- Constant Field Values
-
VALUES_METHOD
protected static final String VALUES_METHOD
- See Also:
- Constant Field Values
-
containsKeyMethod
protected Method containsKeyMethod
-
containsValueMethod
protected Method containsValueMethod
-
equalsMethod
protected Method equalsMethod
-
getMethod
protected Method getMethod
-
entrySetMethod
protected Method entrySetMethod
-
hashCodeMethod
protected Method hashCodeMethod
-
isEmptyMethod
protected Method isEmptyMethod
-
keySetMethod
protected Method keySetMethod
-
sizeMethod
protected Method sizeMethod
-
valuesMethod
protected Method valuesMethod
-
-
Constructor Detail
-
Struct
public Struct(Object struct)
-
Struct
public Struct(MatlabEngine struct)
-
-
Method Detail
-
is
public static boolean is(Object obj)
-
getMatlabClass
protected static Class<?> getMatlabClass()
-
init
protected void init()
- Specified by:
init
in classAbstractType
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfaceISimulinkModelElement
- Overrides:
equals
in classObject
-
entrySet
public Set<?> entrySet()
-
isEmpty
public Boolean isEmpty()
-
keySet
public Set<?> keySet()
-
size
public Integer size()
-
values
public Set<?> values()
-
getProperty
public Object getProperty(String property) throws EolRuntimeException
- Throws:
EolRuntimeException
-
setProperty
public void setProperty(String property, Object value) throws EolRuntimeException
- Throws:
EolRuntimeException
-
getObject
protected Object getObject()
- Specified by:
getObject
in classAbstractType
-
-