public class Resource extends Object implements org.apache.thrift.TBase<Resource,Resource._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
Resource._Fields |
Modifier and Type | Field and Description |
---|---|
int |
id |
String |
location |
static Map<Resource._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
Resource() |
Resource(int id,
String location) |
Resource(Resource other) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(Resource other) |
Resource |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(Resource that) |
Resource._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(Resource._Fields field) |
int |
getId() |
String |
getLocation() |
int |
hashCode() |
boolean |
isSet(Resource._Fields field) |
boolean |
isSetId() |
boolean |
isSetLocation() |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(Resource._Fields field,
Object value) |
Resource |
setId(int id) |
void |
setIdIsSet(boolean value) |
Resource |
setLocation(String location) |
void |
setLocationIsSet(boolean value) |
String |
toString() |
void |
unsetId() |
void |
unsetLocation() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public int id
public String location
public static final Map<Resource._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Resource()
public Resource(int id, String location)
public Resource(Resource other)
public Resource deepCopy()
public void clear()
public int getId()
public Resource setId(int id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public String getLocation()
public void unsetLocation()
public boolean isSetLocation()
public void setLocationIsSet(boolean value)
public void setFieldValue(Resource._Fields field, Object value)
public Object getFieldValue(Resource._Fields field)
public boolean isSet(Resource._Fields field)
public boolean equals(Object that)
public boolean equals(Resource that)
public int hashCode()
public int compareTo(Resource other)
public Resource._Fields fieldForId(int fieldId)
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
public String toString()
public void validate() throws org.apache.thrift.TException
Copyright © 2016 The Open Web Application Security Project (OWASP). All rights reserved.