Package eu.mihosoft.devcom.impl
Class PortInfoImpl
java.lang.Object
eu.mihosoft.devcom.impl.PortInfoImpl
- All Implemented Interfaces:
PortInfo,ReadOnlyWithExtendedName,ReadOnlyWithName,WithExtendedName,WithName,eu.mihosoft.vmf.runtime.core.Immutable,eu.mihosoft.vmf.runtime.core.internal.VObjectInternal,eu.mihosoft.vmf.runtime.core.ObservableObject,eu.mihosoft.vmf.runtime.core.ReadOnly,eu.mihosoft.vmf.runtime.core.VObject,Cloneable
public class PortInfoImpl
extends Object
implements PortInfo, eu.mihosoft.vmf.runtime.core.VObject, eu.mihosoft.vmf.runtime.core.internal.VObjectInternal
An implementation of the immutable model object
eu.mihosoft.devcom.PortInfo.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface eu.mihosoft.devcom.PortInfo
PortInfo.BuilderNested classes/interfaces inherited from interface eu.mihosoft.vmf.runtime.core.internal.VObjectInternal
eu.mihosoft.vmf.runtime.core.internal.VObjectInternal.EqualsPairNested classes/interfaces inherited from interface eu.mihosoft.devcom.WithExtendedName
WithExtendedName.BehaviorNested classes/interfaces inherited from interface eu.mihosoft.devcom.WithName
WithName.Behavior -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid__vmf_toString(StringBuilder sb, IdentityHashMap<Object, ?> _vmf_fToStringChecker) _vmf_deepCopy(IdentityHashMap<Object, Object> identityMap) booleanList<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.Typeintintboolean_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) voidReturns a read-only wrapper of 'PortInfo'.clone()Returns a deep clone of this object.booleanReturns the value of the 'description' property.Returns the value of the 'extendedName' property.Returns the value of the 'location' property.getName()Returns the value of the 'name' property.inthashCode()voidtoString()eu.mihosoft.vmf.runtime.core.VMFvmf()Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface eu.mihosoft.vmf.runtime.core.ReadOnly
asModifiableMethods 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
-
getDescription
Description copied from interface:PortInfoReturns the value of the 'description' property.The port description. Some devices add the serial number (e.g. FTDI chips).
- Specified by:
getDescriptionin interfacePortInfo- Returns:
- the value of the 'description' property.
-
getExtendedName
Description copied from interface:PortInfoReturns the value of the 'extendedName' property.The extended port name, e.g., 'COM3 - Arduino UNO'
- Specified by:
getExtendedNamein interfacePortInfo- Specified by:
getExtendedNamein interfaceReadOnlyWithExtendedName- Specified by:
getExtendedNamein interfaceWithExtendedName- Returns:
- the value of the 'extendedName' property.
- See Also:
-
eu.mihosoft.devcom.WithExtendedName#setExtendedName(java.lang.String)
-
getLocation
Description copied from interface:PortInfoReturns the value of the 'location' property.The port location.
- Specified by:
getLocationin interfacePortInfo- Returns:
- the value of the 'location' property.
-
getName
Description copied from interface:PortInfoReturns the value of the 'name' property.The port name used to identify the port, e.g. 'COM3'.
-
toString
-
__vmf_toString
- Specified by:
__vmf_toStringin interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_equals
- Specified by:
_vmf_equalsin interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_hashCode
public int _vmf_hashCode()- Specified by:
_vmf_hashCodein 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_setThreadLocalEqualsin interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
equals
-
hashCode
public int hashCode() -
clone
Description copied from interface:PortInfoReturns a deep clone of this object.- Specified by:
clonein interfacePortInfo- Specified by:
clonein interfaceReadOnlyWithExtendedName- Specified by:
clonein interfaceReadOnlyWithName- Specified by:
clonein interfaceeu.mihosoft.vmf.runtime.core.VObject- Specified by:
clonein interfaceWithExtendedName- Specified by:
clonein interfaceWithName- Overrides:
clonein classObject- Returns:
- a deep clone of this object
-
addPropertyChangeListener
- Specified by:
addPropertyChangeListenerin interfaceeu.mihosoft.vmf.runtime.core.ObservableObject
-
removePropertyChangeListener
- Specified by:
removePropertyChangeListenerin interfaceeu.mihosoft.vmf.runtime.core.ObservableObject
-
_vmf_deepCopy
-
_vmf_shallowCopy
-
vmf
public eu.mihosoft.vmf.runtime.core.VMF vmf()- Specified by:
vmfin interfaceeu.mihosoft.vmf.runtime.core.VObject
-
asReadOnly
Description copied from interface:PortInfoReturns a read-only wrapper of 'PortInfo'. Since this model object is immutable this method does not perform any conversion and returns this object in unmodified form.- Specified by:
asReadOnlyin interfacePortInfo- Specified by:
asReadOnlyin interfaceReadOnlyWithExtendedName- Specified by:
asReadOnlyin interfaceReadOnlyWithName- Specified by:
asReadOnlyin interfaceeu.mihosoft.vmf.runtime.core.VObject- Specified by:
asReadOnlyin interfaceWithExtendedName- Specified by:
asReadOnlyin interfaceWithName- Returns:
- a read-only wrapper of '
PortInfo'
-
_vmf_getType
public eu.mihosoft.vmf.runtime.core.Type _vmf_getType()- Specified by:
_vmf_getTypein interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getTypeId
public int _vmf_getTypeId()- Specified by:
_vmf_getTypeIdin interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getSuperTypeNames
- Specified by:
_vmf_getSuperTypeNamesin interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getPropertyNames
- Specified by:
_vmf_getPropertyNamesin interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getPropertyTypes
public int[] _vmf_getPropertyTypes()- Specified by:
_vmf_getPropertyTypesin interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getPropertyTypeNames
- Specified by:
_vmf_getPropertyTypeNamesin interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getIndicesOfPropertiesWithModelTypes
public int[] _vmf_getIndicesOfPropertiesWithModelTypes()- Specified by:
_vmf_getIndicesOfPropertiesWithModelTypesin interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getIndicesOfPropertiesWithModelElementTypes
public int[] _vmf_getIndicesOfPropertiesWithModelElementTypes()- Specified by:
_vmf_getIndicesOfPropertiesWithModelElementTypesin interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getIndicesOfPropertiesWithModelTypeOrElementTypes
public int[] _vmf_getIndicesOfPropertiesWithModelTypeOrElementTypes()- Specified by:
_vmf_getIndicesOfPropertiesWithModelTypeOrElementTypesin interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getChildrenIndices
public int[] _vmf_getChildrenIndices()- Specified by:
_vmf_getChildrenIndicesin interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getParentIndices
public int[] _vmf_getParentIndices()- Specified by:
_vmf_getParentIndicesin interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getPropertyValueById
- Specified by:
_vmf_getPropertyValueByIdin interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getPropertyIdByName
- Specified by:
_vmf_getPropertyIdByNamein interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getDefaultValueById
- Specified by:
_vmf_getDefaultValueByIdin interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_setDefaultValueById
- Specified by:
_vmf_setDefaultValueByIdin interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_isSetById
public boolean _vmf_isSetById(int propertyId) - Specified by:
_vmf_isSetByIdin interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getPropertyAnnotationsById
public List<eu.mihosoft.vmf.runtime.core.Annotation> _vmf_getPropertyAnnotationsById(int propertyId) - Specified by:
_vmf_getPropertyAnnotationsByIdin interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-
_vmf_getAnnotations
- Specified by:
_vmf_getAnnotationsin 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_referencedByin 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_referencesin interfaceeu.mihosoft.vmf.runtime.core.internal.VObjectInternal
-