public class RoleHistoryHeader
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
RoleHistoryHeader.Builder
RecordBuilder for RoleHistoryHeader instances.
|
| Modifier and Type | Field and Description |
|---|---|
int |
roles
Deprecated.
|
long |
saved
Deprecated.
|
CharSequence |
savedate
Deprecated.
|
CharSequence |
savedx
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
int |
version
Deprecated.
|
| Constructor and Description |
|---|
RoleHistoryHeader()
Default constructor.
|
RoleHistoryHeader(Integer version,
Long saved,
CharSequence savedx,
CharSequence savedate,
Integer roles)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
Integer |
getRoles()
Gets the value of the 'roles' field.
|
Long |
getSaved()
Gets the value of the 'saved' field.
|
CharSequence |
getSavedate()
Gets the value of the 'savedate' field.
|
CharSequence |
getSavedx()
Gets the value of the 'savedx' field.
|
org.apache.avro.Schema |
getSchema() |
Integer |
getVersion()
Gets the value of the 'version' field.
|
static RoleHistoryHeader.Builder |
newBuilder()
Creates a new RoleHistoryHeader RecordBuilder
|
static RoleHistoryHeader.Builder |
newBuilder(RoleHistoryHeader.Builder other)
Creates a new RoleHistoryHeader RecordBuilder by copying an existing Builder
|
static RoleHistoryHeader.Builder |
newBuilder(RoleHistoryHeader other)
Creates a new RoleHistoryHeader RecordBuilder by copying an existing RoleHistoryHeader instance
|
void |
put(int field$,
Object value$) |
void |
setRoles(Integer value)
Sets the value of the 'roles' field.
|
void |
setSaved(Long value)
Sets the value of the 'saved' field.
|
void |
setSavedate(CharSequence value)
Sets the value of the 'savedate' field.
|
void |
setSavedx(CharSequence value)
Sets the value of the 'savedx' field.
|
void |
setVersion(Integer value)
Sets the value of the 'version' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public int version
@Deprecated public long saved
@Deprecated public CharSequence savedx
@Deprecated public CharSequence savedate
@Deprecated public int roles
public RoleHistoryHeader()
public RoleHistoryHeader(Integer version, Long saved, CharSequence savedx, CharSequence savedate, Integer roles)
public static org.apache.avro.Schema getClassSchema()
public 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 Integer getVersion()
public void setVersion(Integer value)
value - the value to set.public Long getSaved()
public void setSaved(Long value)
value - the value to set.public CharSequence getSavedx()
public void setSavedx(CharSequence value)
value - the value to set.public CharSequence getSavedate()
public void setSavedate(CharSequence value)
value - the value to set.public Integer getRoles()
public void setRoles(Integer value)
value - the value to set.public static RoleHistoryHeader.Builder newBuilder()
public static RoleHistoryHeader.Builder newBuilder(RoleHistoryHeader.Builder other)
public static RoleHistoryHeader.Builder newBuilder(RoleHistoryHeader other)
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.