java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.VRecord
com.blackhillsoftware.dcollect.DcollectRecord
- Direct Known Subclasses:
ActiveDataset
,AggregateGroup
,BackupDataset
,BaseConfiguration
,CacheNames
,DasdCapacityPlanning
,DataClass
,Drive
,Library
,ManagementClass
,MigratedDataset
,SmsAccountingInformation
,SmsVolume
,StorageClass
,StorageGroup
,TapeCapacityPlanning
,Volume
,VsamAssociation
Common information for all DCOLLECT records
-
Constructor Summary
ConstructorDescriptionDcollectRecord
(byte[] data) Constructs an DcollectRecord from the specified byte array.DcollectRecord
(VRecord record) Constructs a new DcollectRecord from an existing variable length record. -
Method Summary
Modifier and TypeMethodDescriptiondateTime()
Record date timeA friendly name for the DCOLLECT record typedcudate()
DCUDATE as a LocalDate.int
DCUDATE raw value.int
dculeng()
DCULENG value.dcurctyp()
DCURCTYP value.static DcollectType
dcurctyp
(byte[] data) DCURCTYP value.DCURCTYP raw value.dcusysid()
DCUSYSID value.dcutime()
DCUTIME as a LocalTime.long
DCUTIME raw valuedcutmstp()
DCUTMSTP value (same asdateTime()
).int
dcuvers()
DCUVERS value.static DcollectRecord
Create a DCOLLECT record from a VRecord.Methods inherited from class com.blackhillsoftware.smf.VRecord
recordLength, recordLength
-
Constructor Details
-
DcollectRecord
public DcollectRecord(byte[] data) Constructs an DcollectRecord from the specified byte array.- Parameters:
data
- a byte array containing the DCOLLECT record data
-
DcollectRecord
Constructs a new DcollectRecord from an existing variable length record. The 2 records share the same data byte array.- Parameters:
record
- an existing VRecord
-
-
Method Details
-
from
Create a DCOLLECT record from a VRecord. This will return a specialized record i.e.ActiveDataset
,SmsVolume
if thedcurctyp()
is recognized.- Parameters:
record
- the input VRecord containing the DCOLLECT record- Returns:
- a DcollectRecord of the specialized type according to the
dcurctyp()
value.
-
dateTime
Record date time- Returns:
- LocalDateTime the date and time of this DCOLLECT record
-
dcutmstp
DCUTMSTP value (same asdateTime()
).- Returns:
- LocalDateTime DCUTMSTP value
-
dcollectType
A friendly name for the DCOLLECT record type- Returns:
- String the DCOLLECT Record type
-
dculeng
public int dculeng()DCULENG value.- Returns:
- int DCULENG value
-
dcurctyp
DCURCTYP value.- Returns:
- DcollectType DCURCTYP value
-
dcurctyp
DCURCTYP value.- Returns:
- DcollectType DCURCTYP value
-
dcurctypRawValue
DCURCTYP raw value.- Returns:
- String DCURCTYP value
-
dcuvers
public int dcuvers()DCUVERS value.- Returns:
- int DCUVERS value
-
dcusysid
DCUSYSID value.- Returns:
- String DCUSYSID value
-
dcutime
DCUTIME as a LocalTime.- Returns:
- LocalTime DCUTIME Time
- See Also:
-
dcutimeRawValue
public long dcutimeRawValue()DCUTIME raw value- Returns:
- long DCUTIME value
-
dcudate
DCUDATE as a LocalDate.- Returns:
- LocalDate DCUDATE Date
- See Also:
-
dcudateRawValue
public int dcudateRawValue()DCUDATE raw value.- Returns:
- int DCUDATE value
-