public class ChannelMetadataRecord
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
ChannelMetadataRecord.Builder
RecordBuilder for ChannelMetadataRecord instances.
|
Modifier and Type | Field and Description |
---|---|
long |
channelId
Deprecated.
|
CharSequence |
channelName
Deprecated.
|
CharSequence |
channelUri
Deprecated.
|
CharSequence |
contentType
Deprecated.
|
Map<CharSequence,DataValue> |
customData
Deprecated.
|
CharSequence |
dataType
Deprecated.
|
CharSequence |
description
Deprecated.
|
DataObject |
domainObject
Deprecated.
|
Long |
endIndex
Deprecated.
|
List<IndexMetadataRecord> |
indexes
Deprecated.
|
CharSequence |
measureClass
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
CharSequence |
source
Deprecated.
|
Long |
startIndex
Deprecated.
|
ChannelStatuses |
status
Deprecated.
|
CharSequence |
uom
Deprecated.
|
CharSequence |
uuid
Deprecated.
|
Constructor and Description |
---|
ChannelMetadataRecord()
Default constructor.
|
ChannelMetadataRecord(CharSequence channelUri,
Long channelId,
List<IndexMetadataRecord> indexes,
CharSequence channelName,
CharSequence dataType,
CharSequence uom,
Long startIndex,
Long endIndex,
CharSequence description,
ChannelStatuses status,
CharSequence contentType,
CharSequence source,
CharSequence measureClass,
CharSequence uuid,
Map<CharSequence,DataValue> customData,
DataObject domainObject)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
Long |
getChannelId()
Gets the value of the 'channelId' field.
|
CharSequence |
getChannelName()
Gets the value of the 'channelName' field.
|
CharSequence |
getChannelUri()
Gets the value of the 'channelUri' field.
|
static org.apache.avro.Schema |
getClassSchema() |
CharSequence |
getContentType()
Gets the value of the 'contentType' field.
|
Map<CharSequence,DataValue> |
getCustomData()
Gets the value of the 'customData' field.
|
CharSequence |
getDataType()
Gets the value of the 'dataType' field.
|
CharSequence |
getDescription()
Gets the value of the 'description' field.
|
DataObject |
getDomainObject()
Gets the value of the 'domainObject' field.
|
Long |
getEndIndex()
Gets the value of the 'endIndex' field.
|
List<IndexMetadataRecord> |
getIndexes()
Gets the value of the 'indexes' field.
|
CharSequence |
getMeasureClass()
Gets the value of the 'measureClass' field.
|
org.apache.avro.Schema |
getSchema() |
CharSequence |
getSource()
Gets the value of the 'source' field.
|
Long |
getStartIndex()
Gets the value of the 'startIndex' field.
|
ChannelStatuses |
getStatus()
Gets the value of the 'status' field.
|
CharSequence |
getUom()
Gets the value of the 'uom' field.
|
CharSequence |
getUuid()
Gets the value of the 'uuid' field.
|
static ChannelMetadataRecord.Builder |
newBuilder()
Creates a new ChannelMetadataRecord RecordBuilder
|
static ChannelMetadataRecord.Builder |
newBuilder(ChannelMetadataRecord.Builder other)
Creates a new ChannelMetadataRecord RecordBuilder by copying an existing Builder
|
static ChannelMetadataRecord.Builder |
newBuilder(ChannelMetadataRecord other)
Creates a new ChannelMetadataRecord RecordBuilder by copying an existing ChannelMetadataRecord instance
|
void |
put(int field$,
Object value$) |
void |
setChannelId(Long value)
Sets the value of the 'channelId' field.
|
void |
setChannelName(CharSequence value)
Sets the value of the 'channelName' field.
|
void |
setChannelUri(CharSequence value)
Sets the value of the 'channelUri' field.
|
void |
setContentType(CharSequence value)
Sets the value of the 'contentType' field.
|
void |
setCustomData(Map<CharSequence,DataValue> value)
Sets the value of the 'customData' field.
|
void |
setDataType(CharSequence value)
Sets the value of the 'dataType' field.
|
void |
setDescription(CharSequence value)
Sets the value of the 'description' field.
|
void |
setDomainObject(DataObject value)
Sets the value of the 'domainObject' field.
|
void |
setEndIndex(Long value)
Sets the value of the 'endIndex' field.
|
void |
setIndexes(List<IndexMetadataRecord> value)
Sets the value of the 'indexes' field.
|
void |
setMeasureClass(CharSequence value)
Sets the value of the 'measureClass' field.
|
void |
setSource(CharSequence value)
Sets the value of the 'source' field.
|
void |
setStartIndex(Long value)
Sets the value of the 'startIndex' field.
|
void |
setStatus(ChannelStatuses value)
Sets the value of the 'status' field.
|
void |
setUom(CharSequence value)
Sets the value of the 'uom' field.
|
void |
setUuid(CharSequence value)
Sets the value of the 'uuid' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public CharSequence channelUri
@Deprecated public long channelId
@Deprecated public List<IndexMetadataRecord> indexes
@Deprecated public CharSequence channelName
@Deprecated public CharSequence dataType
@Deprecated public CharSequence uom
@Deprecated public Long startIndex
@Deprecated public Long endIndex
@Deprecated public CharSequence description
@Deprecated public ChannelStatuses status
@Deprecated public CharSequence contentType
@Deprecated public CharSequence source
@Deprecated public CharSequence measureClass
@Deprecated public CharSequence uuid
@Deprecated public Map<CharSequence,DataValue> customData
@Deprecated public DataObject domainObject
public ChannelMetadataRecord()
newBuilder()
.public ChannelMetadataRecord(CharSequence channelUri, Long channelId, List<IndexMetadataRecord> indexes, CharSequence channelName, CharSequence dataType, CharSequence uom, Long startIndex, Long endIndex, CharSequence description, ChannelStatuses status, CharSequence contentType, CharSequence source, CharSequence measureClass, CharSequence uuid, Map<CharSequence,DataValue> customData, DataObject domainObject)
public static org.apache.avro.Schema getClassSchema()
public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
getSchema
in class org.apache.avro.specific.SpecificRecordBase
public Object get(int field$)
get
in interface org.apache.avro.generic.IndexedRecord
get
in class org.apache.avro.specific.SpecificRecordBase
public void put(int field$, Object value$)
put
in interface org.apache.avro.generic.IndexedRecord
put
in class org.apache.avro.specific.SpecificRecordBase
public CharSequence getChannelUri()
public void setChannelUri(CharSequence value)
value
- the value to set.public Long getChannelId()
public void setChannelId(Long value)
value
- the value to set.public List<IndexMetadataRecord> getIndexes()
public void setIndexes(List<IndexMetadataRecord> value)
value
- the value to set.public CharSequence getChannelName()
public void setChannelName(CharSequence value)
value
- the value to set.public CharSequence getDataType()
public void setDataType(CharSequence value)
value
- the value to set.public CharSequence getUom()
public void setUom(CharSequence value)
value
- the value to set.public Long getStartIndex()
public void setStartIndex(Long value)
value
- the value to set.public Long getEndIndex()
public void setEndIndex(Long value)
value
- the value to set.public CharSequence getDescription()
public void setDescription(CharSequence value)
value
- the value to set.public ChannelStatuses getStatus()
public void setStatus(ChannelStatuses value)
value
- the value to set.public CharSequence getContentType()
public void setContentType(CharSequence value)
value
- the value to set.public CharSequence getSource()
public void setSource(CharSequence value)
value
- the value to set.public CharSequence getMeasureClass()
public void setMeasureClass(CharSequence value)
value
- the value to set.public CharSequence getUuid()
public void setUuid(CharSequence value)
value
- the value to set.public Map<CharSequence,DataValue> getCustomData()
public void setCustomData(Map<CharSequence,DataValue> value)
value
- the value to set.public DataObject getDomainObject()
public void setDomainObject(DataObject value)
value
- the value to set.public static ChannelMetadataRecord.Builder newBuilder()
public static ChannelMetadataRecord.Builder newBuilder(ChannelMetadataRecord.Builder other)
public static ChannelMetadataRecord.Builder newBuilder(ChannelMetadataRecord other)
Copyright © 2023 Petroware AS - https://petroware.no