Package eu.mihosoft.devcom.impl
Class DeviceInfoImpl
java.lang.Object
eu.mihosoft.devcom.impl.DeviceInfoImpl
- All Implemented Interfaces:
DeviceInfo
,eu.mihosoft.vmf.runtime.core.Immutable
,eu.mihosoft.vmf.runtime.core.internal.VObjectInternal
,eu.mihosoft.vmf.runtime.core.ObservableObject
,eu.mihosoft.vmf.runtime.core.VObject
,Cloneable
public class DeviceInfoImpl
extends Object
implements DeviceInfo, eu.mihosoft.vmf.runtime.core.VObject, eu.mihosoft.vmf.runtime.core.internal.VObjectInternal
An implementation of the immutable model object
eu.mihosoft.devcom.DeviceInfo
.-
Nested Class Summary
Nested classes/interfaces inherited from interface eu.mihosoft.devcom.DeviceInfo
DeviceInfo.Builder
Nested classes/interfaces inherited from interface eu.mihosoft.vmf.runtime.core.internal.VObjectInternal
eu.mihosoft.vmf.runtime.core.internal.VObjectInternal.EqualsPair
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
__vmf_toString
(StringBuilder sb, IdentityHashMap<Object, ?> _vmf_fToStringChecker) _vmf_deepCopy
(IdentityHashMap<Object, Object> identityMap) boolean
List<eu.mihosoft.vmf.runtime.core.Annotation>
int[]
_vmf_getDefaultValueById
(int propertyId) int[]
int[]
int[]
int[]
List<eu.mihosoft.vmf.runtime.core.Annotation>
_vmf_getPropertyAnnotationsById
(int propertyId) int
_vmf_getPropertyIdByName
(String propertyName) String[]
String[]
int[]
_vmf_getPropertyValueById
(int propertyId) String[]
eu.mihosoft.vmf.runtime.core.Type
int
int
boolean
_vmf_isSetById
(int propertyId) eu.mihosoft.vcollections.VList<eu.mihosoft.vmf.runtime.core.VObject>
eu.mihosoft.vcollections.VList<eu.mihosoft.vmf.runtime.core.VObject>
void
_vmf_setDefaultValueById
(int propertyId, Object defaultValue) void
_vmf_setThreadLocalEquals
(ThreadLocal<Map<eu.mihosoft.vmf.runtime.core.internal.VObjectInternal.EqualsPair, ?>> threadlocalMap) _vmf_shallowCopy
(IdentityHashMap<Object, Object> identityMap) void
Returns a read-only wrapper of 'DeviceInfo
'.clone()
Returns a deep clone of this object.Returns the value of the 'device' property.Returns the value of the 'deviceClass' property.Returns the value of the 'mCUType' property.Returns the value of the 'serialNumber' property.void
toString()
eu.mihosoft.vmf.runtime.core.VMF
vmf()
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface eu.mihosoft.vmf.runtime.core.internal.VObjectInternal
_vmf_getContainer, _vmf_getMutableObject, _vmf_isReadOnly
-
Field Details
-
_VMF_TYPE_ID
public static final int _VMF_TYPE_ID- See Also:
-
-
Method Details
-
getDevice
Description copied from interface:DeviceInfo
Returns the value of the 'device' property.Returns the device
- Specified by:
getDevice
in interfaceDeviceInfo
- Returns:
- the value of the 'device' property.
-
getDeviceClass
Description copied from interface:DeviceInfo
Returns the value of the 'deviceClass' property.Returns the device class
- Specified by:
getDeviceClass
in interfaceDeviceInfo
- Returns:
- the value of the 'deviceClass' property.
-
getMCUType
Description copied from interface:DeviceInfo
Returns the value of the 'mCUType' property.Returns the MCU type used by this device
- Specified by:
getMCUType
in interfaceDeviceInfo
- Returns:
- the value of the 'mCUType' property.
-
getSerialNumber
Description copied from interface:DeviceInfo
Returns the value of the 'serialNumber' property.Returns the serial number of the device
- Specified by:
getSerialNumber
in interfaceDeviceInfo
- Returns:
- the value of the 'serialNumber' property.
-
toString
-
__vmf_toString
- Specified by:
__vmf_toString
in interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_equals
- Specified by:
_vmf_equals
in interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_hashCode
public int _vmf_hashCode()- Specified by:
_vmf_hashCode
in interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_setThreadLocalEquals
public void _vmf_setThreadLocalEquals(ThreadLocal<Map<eu.mihosoft.vmf.runtime.core.internal.VObjectInternal.EqualsPair, ?>> threadlocalMap) - Specified by:
_vmf_setThreadLocalEquals
in interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
clone
Description copied from interface:DeviceInfo
Returns a deep clone of this object.- Specified by:
clone
in interfaceDeviceInfo
- Specified by:
clone
in interfaceeu.mihosoft.vmf.runtime.core.VObject
- Overrides:
clone
in classObject
- Returns:
- a deep clone of this object
-
addPropertyChangeListener
- Specified by:
addPropertyChangeListener
in interfaceeu.mihosoft.vmf.runtime.core.ObservableObject
-
removePropertyChangeListener
- Specified by:
removePropertyChangeListener
in interfaceeu.mihosoft.vmf.runtime.core.ObservableObject
-
_vmf_deepCopy
-
_vmf_shallowCopy
-
vmf
public eu.mihosoft.vmf.runtime.core.VMF vmf()- Specified by:
vmf
in interfaceeu.mihosoft.vmf.runtime.core.VObject
-
asReadOnly
Description copied from interface:DeviceInfo
Returns a read-only wrapper of 'DeviceInfo
'. Since this model object is immutable this method does not perform any conversion and returns this object in unmodified form.- Specified by:
asReadOnly
in interfaceDeviceInfo
- Specified by:
asReadOnly
in interfaceeu.mihosoft.vmf.runtime.core.VObject
- Returns:
- a read-only wrapper of '
DeviceInfo
'
-
_vmf_getType
public eu.mihosoft.vmf.runtime.core.Type _vmf_getType()- Specified by:
_vmf_getType
in interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getTypeId
public int _vmf_getTypeId()- Specified by:
_vmf_getTypeId
in interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getSuperTypeNames
- Specified by:
_vmf_getSuperTypeNames
in interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getPropertyNames
- Specified by:
_vmf_getPropertyNames
in interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getPropertyTypes
public int[] _vmf_getPropertyTypes()- Specified by:
_vmf_getPropertyTypes
in interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getPropertyTypeNames
- Specified by:
_vmf_getPropertyTypeNames
in interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getIndicesOfPropertiesWithModelTypes
public int[] _vmf_getIndicesOfPropertiesWithModelTypes()- Specified by:
_vmf_getIndicesOfPropertiesWithModelTypes
in interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getIndicesOfPropertiesWithModelElementTypes
public int[] _vmf_getIndicesOfPropertiesWithModelElementTypes()- Specified by:
_vmf_getIndicesOfPropertiesWithModelElementTypes
in interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getIndicesOfPropertiesWithModelTypeOrElementTypes
public int[] _vmf_getIndicesOfPropertiesWithModelTypeOrElementTypes()- Specified by:
_vmf_getIndicesOfPropertiesWithModelTypeOrElementTypes
in interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getChildrenIndices
public int[] _vmf_getChildrenIndices()- Specified by:
_vmf_getChildrenIndices
in interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getParentIndices
public int[] _vmf_getParentIndices()- Specified by:
_vmf_getParentIndices
in interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getPropertyValueById
- Specified by:
_vmf_getPropertyValueById
in interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getPropertyIdByName
- Specified by:
_vmf_getPropertyIdByName
in interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getDefaultValueById
- Specified by:
_vmf_getDefaultValueById
in interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_setDefaultValueById
- Specified by:
_vmf_setDefaultValueById
in interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_isSetById
public boolean _vmf_isSetById(int propertyId) - Specified by:
_vmf_isSetById
in interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getPropertyAnnotationsById
public List<eu.mihosoft.vmf.runtime.core.Annotation> _vmf_getPropertyAnnotationsById(int propertyId) - Specified by:
_vmf_getPropertyAnnotationsById
in interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getAnnotations
- Specified by:
_vmf_getAnnotations
in interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_referencedBy
public eu.mihosoft.vcollections.VList<eu.mihosoft.vmf.runtime.core.VObject> _vmf_referencedBy()- Specified by:
_vmf_referencedBy
in interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_references
public eu.mihosoft.vcollections.VList<eu.mihosoft.vmf.runtime.core.VObject> _vmf_references()- Specified by:
_vmf_references
in interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-