Class CipUTIME
- java.lang.Object
-
- com.automation_pros.odva.cip.data.BaseDataType<java.sql.Timestamp>
-
- com.automation_pros.odva.cip.data.BaseTimestamp
-
- com.automation_pros.odva.cip.data.CipUTIME
-
public class CipUTIME extends BaseTimestamp
-
-
Field Summary
-
Fields inherited from class com.automation_pros.odva.cip.data.BaseTimestamp
billion, max64, million, thousand
-
Fields inherited from class com.automation_pros.odva.cip.data.BaseDataType
dimensions, memberOffsets, sLogger, variantContext, varyingDimension
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CipUTIME
copy()
Produce a deep clone of the object.java.lang.String
crcName()
Obtain the name of this type as used for computing structure CRCs.DataDefinitionSeg
getNestingDef()
Return the element (not including array) type definition as a Path Segment, using the abbreviated form if a composite data type.java.math.BigInteger
longValue(int... indices)
For data types 64-bits wide or less, return the best available 64-bit representation.void
setLong(long val, int... indices)
For data types 64-bits wide or less, set the appropriate bits from a 64-bit representation.CipUTIME
wrap(int[] indices)
Application-side wrapper for inner dimensions.-
Methods inherited from class com.automation_pros.odva.cip.data.BaseTimestamp
bytesEach, bytesImpl, coerceDate, copyToImpl, copyToImpl, fromInstant, fromMicros, fromNanos, get, putPayloadImpl, set, setDimensions, setFromTokenImpl, setPayloadImpl, singleToString, structCRCString, toInstant, toMicros, toNanos
-
Methods inherited from class com.automation_pros.odva.cip.data.BaseDataType
alignment, browseInner, browseInnerImpl, bytes, checkDimensions, chkAbbrevType, concatIndices, conditionalSuffix, copyTo, CRC16, CRC16, CRC16, dim2linear, dim2linear, dim2qty, dim2suffix, dimensionToString, doubleValue, extendIntArray, fillIntArray, get, getCompleteDef, getDimensions, getMemberOffsets, getSymbolType, getTypeCode, getVariantContext, getVaryingDimension, hasOffset, incIdx, intArray, intValue, linear2dim, linear2dim, makeInstance, maxEach, minEach, nestedBytes, nestedBytesEach, nestedBytesImpl, nestedPutPayload, nestedPutPayloadImpl, nestedSetPayload, nestedSetPayloadImpl, putAbbrevType, putPayload, range2suffix, rawCRC16, set, setFromTokenizer, setFromTokenizerImpl, setFromTokenString, setInt, setMemberOffsets, setPayload, setupTokenizer, setVariantContext, setVariantDimension, setVariantDimension, sliceTo, toString
-
-
-
-
Constructor Detail
-
CipUTIME
public CipUTIME(int[] dimensions)
-
CipUTIME
protected CipUTIME(CipUTIME other, int[] indices)
-
-
Method Detail
-
getNestingDef
public DataDefinitionSeg getNestingDef()
Description copied from class:BaseDataType
Return the element (not including array) type definition as a Path Segment, using the abbreviated form if a composite data type.- Specified by:
getNestingDef
in classBaseDataType<java.sql.Timestamp>
-
crcName
public java.lang.String crcName()
Description copied from class:BaseDataType
Obtain the name of this type as used for computing structure CRCs. Can be different from the name(s) used by the CipPath parser.- Overrides:
crcName
in classBaseDataType<java.sql.Timestamp>
- Returns:
-
longValue
public java.math.BigInteger longValue(int... indices)
Description copied from class:BaseDataType
For data types 64-bits wide or less, return the best available 64-bit representation. If the subscripts are incomplete, return the element with the remaining subscripts set to zero.- Overrides:
longValue
in classBaseDataType<java.sql.Timestamp>
- Parameters:
indices
- Array subscripts.- Returns:
-
setLong
public void setLong(long val, int... indices)
Description copied from class:BaseDataType
For data types 64-bits wide or less, set the appropriate bits from a 64-bit representation. If the subscripts are incomplete, set the element with the remaining subscripts set to zero.- Overrides:
setLong
in classBaseDataType<java.sql.Timestamp>
- Parameters:
val
- New value, truncated to 8, 16, or 32 bits if needed.indices
- Array subscripts.
-
wrap
public CipUTIME wrap(int[] indices)
Description copied from class:BaseDataType
Application-side wrapper for inner dimensions. Implementations must update memberOffsets if not not using the protected constructor.- Specified by:
wrap
in classBaseDataType<java.sql.Timestamp>
- Parameters:
indices
- Array subscripts. Missing subscripts are allowed.
-
copy
public CipUTIME copy()
Description copied from class:BaseDataType
Produce a deep clone of the object.- Specified by:
copy
in classBaseDataType<java.sql.Timestamp>
-
-