List<Object> list = new ArrayList<Object>(); boolean present_type = true && (isSetType()); list.add(present_type); if (present_type)
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case TYPE: return isSetType(); case EVENT_ID: return isSetEventId(); case EVENT: return isSetEvent(); case ROUTE: return isSetRoute(); case USER_ROUTE: return isSetUserRoute(); case ENDPOINT_ROUTE_UPDATE: return isSetEndpointRouteUpdate(); case ENDPOINT_STATE_UPDATE: return isSetEndpointStateUpdate(); } throw new IllegalStateException(); }
/** * Performs a deep copy on <i>other</i>. */ public Message(Message other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetType()) { this.type = other.type; } this.eventId = other.eventId; if (other.isSetEvent()) { this.event = new Event(other.event); } if (other.isSetRoute()) { this.route = new EventRoute(other.route); } if (other.isSetUserRoute()) { this.userRoute = new UserRouteInfo(other.userRoute); } if (other.isSetEndpointRouteUpdate()) { this.endpointRouteUpdate = new EndpointRouteUpdate(other.endpointRouteUpdate); } if (other.isSetEndpointStateUpdate()) { this.endpointStateUpdate = new EndpointStateUpdate(other.endpointStateUpdate); } }