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 CipUTIMEcopy()Produce a deep clone of the object.java.lang.StringcrcName()Obtain the name of this type as used for computing structure CRCs.DataDefinitionSeggetNestingDef()Return the element (not including array) type definition as a Path Segment, using the abbreviated form if a composite data type.java.math.BigIntegerlongValue(int... indices)For data types 64-bits wide or less, return the best available 64-bit representation.voidsetLong(long val, int... indices)For data types 64-bits wide or less, set the appropriate bits from a 64-bit representation.CipUTIMEwrap(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:BaseDataTypeReturn the element (not including array) type definition as a Path Segment, using the abbreviated form if a composite data type.- Specified by:
getNestingDefin classBaseDataType<java.sql.Timestamp>
-
crcName
public java.lang.String crcName()
Description copied from class:BaseDataTypeObtain the name of this type as used for computing structure CRCs. Can be different from the name(s) used by the CipPath parser.- Overrides:
crcNamein classBaseDataType<java.sql.Timestamp>- Returns:
-
longValue
public java.math.BigInteger longValue(int... indices)
Description copied from class:BaseDataTypeFor 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:
longValuein classBaseDataType<java.sql.Timestamp>- Parameters:
indices- Array subscripts.- Returns:
-
setLong
public void setLong(long val, int... indices)Description copied from class:BaseDataTypeFor 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:
setLongin 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:BaseDataTypeApplication-side wrapper for inner dimensions. Implementations must update memberOffsets if not not using the protected constructor.- Specified by:
wrapin classBaseDataType<java.sql.Timestamp>- Parameters:
indices- Array subscripts. Missing subscripts are allowed.
-
copy
public CipUTIME copy()
Description copied from class:BaseDataTypeProduce a deep clone of the object.- Specified by:
copyin classBaseDataType<java.sql.Timestamp>
-
-