public class TimingRepeat
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
TimingRepeat.Builder
RecordBuilder for TimingRepeat instances.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
TimingRepeat()
Default constructor.
|
TimingRepeat(String id,
ChoiceDurationPeriodRange bounds,
Integer count,
Integer countMax,
BigDecimal duration,
BigDecimal durationMax,
String durationUnit,
Integer frequency,
Integer frequencyMax,
BigDecimal period,
BigDecimal periodMax,
String periodUnit,
List<String> dayOfWeek,
List<String> timeOfDay,
List<String> when,
Integer offset)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.avro.message.BinaryMessageDecoder<TimingRepeat> |
createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore. |
static TimingRepeat |
fromByteBuffer(ByteBuffer b)
Deserializes a TimingRepeat from a ByteBuffer.
|
Object |
get(int field$) |
ChoiceDurationPeriodRange |
getBounds()
Gets the value of the 'bounds' field.
|
static org.apache.avro.Schema |
getClassSchema() |
Integer |
getCount()
Gets the value of the 'count' field.
|
Integer |
getCountMax()
Gets the value of the 'countMax' field.
|
List<String> |
getDayOfWeek()
Gets the value of the 'dayOfWeek' field.
|
static org.apache.avro.message.BinaryMessageDecoder<TimingRepeat> |
getDecoder()
Return the BinaryMessageDecoder instance used by this class.
|
BigDecimal |
getDuration()
Gets the value of the 'duration' field.
|
BigDecimal |
getDurationMax()
Gets the value of the 'durationMax' field.
|
String |
getDurationUnit()
Gets the value of the 'durationUnit' field.
|
Integer |
getFrequency()
Gets the value of the 'frequency' field.
|
Integer |
getFrequencyMax()
Gets the value of the 'frequencyMax' field.
|
String |
getId()
Gets the value of the 'id' field.
|
Integer |
getOffset()
Gets the value of the 'offset' field.
|
BigDecimal |
getPeriod()
Gets the value of the 'period' field.
|
BigDecimal |
getPeriodMax()
Gets the value of the 'periodMax' field.
|
String |
getPeriodUnit()
Gets the value of the 'periodUnit' field.
|
org.apache.avro.Schema |
getSchema() |
List<String> |
getTimeOfDay()
Gets the value of the 'timeOfDay' field.
|
List<String> |
getWhen()
Gets the value of the 'when' field.
|
static TimingRepeat.Builder |
newBuilder()
Creates a new TimingRepeat RecordBuilder.
|
static TimingRepeat.Builder |
newBuilder(TimingRepeat.Builder other)
Creates a new TimingRepeat RecordBuilder by copying an existing Builder.
|
static TimingRepeat.Builder |
newBuilder(TimingRepeat other)
Creates a new TimingRepeat RecordBuilder by copying an existing TimingRepeat instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setBounds(ChoiceDurationPeriodRange value)
Sets the value of the 'bounds' field.
|
void |
setCount(Integer value)
Sets the value of the 'count' field.
|
void |
setCountMax(Integer value)
Sets the value of the 'countMax' field.
|
void |
setDayOfWeek(List<String> value)
Sets the value of the 'dayOfWeek' field.
|
void |
setDuration(BigDecimal value)
Sets the value of the 'duration' field.
|
void |
setDurationMax(BigDecimal value)
Sets the value of the 'durationMax' field.
|
void |
setDurationUnit(String value)
Sets the value of the 'durationUnit' field.
|
void |
setFrequency(Integer value)
Sets the value of the 'frequency' field.
|
void |
setFrequencyMax(Integer value)
Sets the value of the 'frequencyMax' field.
|
void |
setId(String value)
Sets the value of the 'id' field.
|
void |
setOffset(Integer value)
Sets the value of the 'offset' field.
|
void |
setPeriod(BigDecimal value)
Sets the value of the 'period' field.
|
void |
setPeriodMax(BigDecimal value)
Sets the value of the 'periodMax' field.
|
void |
setPeriodUnit(String value)
Sets the value of the 'periodUnit' field.
|
void |
setTimeOfDay(List<String> value)
Sets the value of the 'timeOfDay' field.
|
void |
setWhen(List<String> value)
Sets the value of the 'when' field.
|
ByteBuffer |
toByteBuffer()
Serializes this TimingRepeat to a ByteBuffer.
|
void |
writeExternal(ObjectOutput out) |
public TimingRepeat()
newBuilder().public TimingRepeat(String id, ChoiceDurationPeriodRange bounds, Integer count, Integer countMax, BigDecimal duration, BigDecimal durationMax, String durationUnit, Integer frequency, Integer frequencyMax, BigDecimal period, BigDecimal periodMax, String periodUnit, List<String> dayOfWeek, List<String> timeOfDay, List<String> when, Integer offset)
id - Field for FHIR property idbounds - Field for FHIR property boundscount - Field for FHIR property countcountMax - Field for FHIR property countMaxduration - Field for FHIR property durationdurationMax - Field for FHIR property durationMaxdurationUnit - Field for FHIR property durationUnitfrequency - Field for FHIR property frequencyfrequencyMax - Field for FHIR property frequencyMaxperiod - Field for FHIR property periodperiodMax - Field for FHIR property periodMaxperiodUnit - Field for FHIR property periodUnitdayOfWeek - Field for FHIR property dayOfWeektimeOfDay - Field for FHIR property timeOfDaywhen - Field for FHIR property whenoffset - Field for FHIR property offsetpublic static org.apache.avro.Schema getClassSchema()
public static org.apache.avro.message.BinaryMessageDecoder<TimingRepeat> getDecoder()
public static org.apache.avro.message.BinaryMessageDecoder<TimingRepeat> createDecoder(org.apache.avro.message.SchemaStore resolver)
SchemaStore.resolver - a SchemaStore used to find schemas by fingerprintpublic ByteBuffer toByteBuffer() throws IOException
IOExceptionpublic static TimingRepeat fromByteBuffer(ByteBuffer b) throws IOException
IOExceptionpublic org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainergetSchema in class org.apache.avro.specific.SpecificRecordBasepublic Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBasepublic void put(int field$,
Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic String getId()
public void setId(String value)
value - the value to set.public ChoiceDurationPeriodRange getBounds()
public void setBounds(ChoiceDurationPeriodRange value)
value - the value to set.public Integer getCount()
public void setCount(Integer value)
value - the value to set.public Integer getCountMax()
public void setCountMax(Integer value)
value - the value to set.public BigDecimal getDuration()
public void setDuration(BigDecimal value)
value - the value to set.public BigDecimal getDurationMax()
public void setDurationMax(BigDecimal value)
value - the value to set.public String getDurationUnit()
public void setDurationUnit(String value)
value - the value to set.public Integer getFrequency()
public void setFrequency(Integer value)
value - the value to set.public Integer getFrequencyMax()
public void setFrequencyMax(Integer value)
value - the value to set.public BigDecimal getPeriod()
public void setPeriod(BigDecimal value)
value - the value to set.public BigDecimal getPeriodMax()
public void setPeriodMax(BigDecimal value)
value - the value to set.public String getPeriodUnit()
public void setPeriodUnit(String value)
value - the value to set.public List<String> getDayOfWeek()
public void setDayOfWeek(List<String> value)
value - the value to set.public List<String> getTimeOfDay()
public void setTimeOfDay(List<String> value)
value - the value to set.public List<String> getWhen()
public void setWhen(List<String> value)
value - the value to set.public Integer getOffset()
public void setOffset(Integer value)
value - the value to set.public static TimingRepeat.Builder newBuilder()
public static TimingRepeat.Builder newBuilder(TimingRepeat.Builder other)
other - The existing builder to copy.public static TimingRepeat.Builder newBuilder(TimingRepeat other)
other - The existing instance to copy.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class org.apache.avro.specific.SpecificRecordBaseIOExceptionpublic void readExternal(ObjectInput in) throws IOException
readExternal in interface ExternalizablereadExternal in class org.apache.avro.specific.SpecificRecordBaseIOExceptionCopyright © 2020. All rights reserved.