generated.docs.javadoc.org.eclipse.dawnsci.nexus.builder.data.impl.PrimaryDataDeviceImpl.html Maven / Gradle / Ivy
PrimaryDataDeviceImpl (h5jan API)
org.eclipse.dawnsci.nexus.builder.data.impl
Class PrimaryDataDeviceImpl<N extends NXobject>
- java.lang.Object
-
- org.eclipse.dawnsci.nexus.builder.data.impl.DataDeviceImpl<N>
-
- org.eclipse.dawnsci.nexus.builder.data.impl.PrimaryDataDeviceImpl<N>
-
- All Implemented Interfaces:
- DataDevice<N>, PrimaryDataDevice<N>
public class PrimaryDataDeviceImpl<N extends NXobject>
extends DataDeviceImpl<N>
implements PrimaryDataDevice<N>
-
-
Constructor Summary
Constructors
Constructor and Description
PrimaryDataDeviceImpl(N nexusObject,
DataFieldModel signalFieldModel)
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
protected void
appendFields(java.lang.StringBuilder sb)
java.lang.String
getDestinationFieldName(java.lang.String sourceFieldName)
int
getFieldRank(java.lang.String sourceFieldName)
Returns the rank of the source field with the given name
java.lang.String
getSignalFieldSourceName()
-
Methods inherited from class org.eclipse.dawnsci.nexus.builder.data.impl.DataDeviceImpl
addAxisField, getAxisFieldNames, getDefaultAxisDimension, getDimensionMappings, getFieldNode, getNexusObject, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.dawnsci.nexus.builder.data.PrimaryDataDevice
isPrimary
-
Methods inherited from interface org.eclipse.dawnsci.nexus.builder.data.DataDevice
getAxisFieldNames, getDefaultAxisDimension, getDimensionMappings, getFieldNode, getNexusObject
-
-
Constructor Detail
-
PrimaryDataDeviceImpl
public PrimaryDataDeviceImpl(N nexusObject,
DataFieldModel signalFieldModel)
-
Method Detail
-
getSignalFieldSourceName
public java.lang.String getSignalFieldSourceName()
- Specified by:
getSignalFieldSourceName
in interface PrimaryDataDevice<N extends NXobject>
-
getFieldRank
public int getFieldRank(java.lang.String sourceFieldName)
Description copied from interface: DataDevice
Returns the rank of the source field with the given name
- Specified by:
getFieldRank
in interface DataDevice<N extends NXobject>
- Overrides:
getFieldRank
in class DataDeviceImpl<N extends NXobject>
- Parameters:
sourceFieldName
- field name in the existing NXobject
- Returns:
- rank of the field with the given name
-
getDestinationFieldName
public java.lang.String getDestinationFieldName(java.lang.String sourceFieldName)
Description copied from interface: DataDevice
Returns the name that the field with the given name in the NXobject
should be
given in the NXdata
group when added (i.e. linked to).
- Specified by:
getDestinationFieldName
in interface DataDevice<N extends NXobject>
- Overrides:
getDestinationFieldName
in class DataDeviceImpl<N extends NXobject>
- Parameters:
sourceFieldName
- field name in the existing NXobject
- Returns:
- destination name
-
appendFields
protected void appendFields(java.lang.StringBuilder sb)
- Overrides:
appendFields
in class DataDeviceImpl<N extends NXobject>