@Override public void clear() { this.name = null; setEnabledIsSet(false); this.enabled = false; this.repositoryName = null; this.query = null; this.comment = null; }
public NamedQuery setEnabled(boolean enabled) { this.enabled = enabled; setEnabledIsSet(true); return this; }
@Override public void clear() { this.name = null; setEnabledIsSet(false); this.enabled = false; this.repositoryName = null; this.query = null; this.comment = null; }
public NamedQuery setEnabled(boolean enabled) { this.enabled = enabled; setEnabledIsSet(true); return this; }
public NamedQuery( String name, boolean enabled, String repositoryName, Query query) { this(); this.name = name; this.enabled = enabled; setEnabledIsSet(true); this.repositoryName = repositoryName; this.query = query; }
public NamedQuery( String name, boolean enabled, String repositoryName, Query query) { this(); this.name = name; this.enabled = enabled; setEnabledIsSet(true); this.repositoryName = repositoryName; this.query = query; }
if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { struct.enabled = iprot.readBool(); struct.setEnabledIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { struct.enabled = iprot.readBool(); struct.setEnabledIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, NamedQuery struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.name = iprot.readString(); struct.setNameIsSet(true); struct.enabled = iprot.readBool(); struct.setEnabledIsSet(true); struct.repositoryName = iprot.readString(); struct.setRepositoryNameIsSet(true); struct.query = new Query(); struct.query.read(iprot); struct.setQueryIsSet(true); BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.comment = new Comment(); struct.comment.read(iprot); struct.setCommentIsSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, NamedQuery struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.name = iprot.readString(); struct.setNameIsSet(true); struct.enabled = iprot.readBool(); struct.setEnabledIsSet(true); struct.repositoryName = iprot.readString(); struct.setRepositoryNameIsSet(true); struct.query = new Query(); struct.query.read(iprot); struct.setQueryIsSet(true); BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.comment = new Comment(); struct.comment.read(iprot); struct.setCommentIsSet(true); } } }