list.add(roleName); boolean present_principalName = true && (isSetPrincipalName()); list.add(present_principalName); if (present_principalName)
lastComparison = Boolean.valueOf(isSetPrincipalName()).compareTo(other.isSetPrincipalName()); if (lastComparison != 0) { return lastComparison; if (isSetPrincipalName()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principalName, other.principalName); if (lastComparison != 0) {
/** 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 ROLE_NAME: return isSetRoleName(); case PRINCIPAL_NAME: return isSetPrincipalName(); case PRINCIPAL_TYPE: return isSetPrincipalType(); case GRANT_OPTION: return isSetGrantOption(); case GRANT_TIME: return isSetGrantTime(); case GRANTOR_NAME: return isSetGrantorName(); case GRANTOR_PRINCIPAL_TYPE: return isSetGrantorPrincipalType(); } throw new IllegalStateException(); }
/** * Performs a deep copy on <i>other</i>. */ public RolePrincipalGrant(RolePrincipalGrant other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetRoleName()) { this.roleName = other.roleName; } if (other.isSetPrincipalName()) { this.principalName = other.principalName; } if (other.isSetPrincipalType()) { this.principalType = other.principalType; } this.grantOption = other.grantOption; this.grantTime = other.grantTime; if (other.isSetGrantorName()) { this.grantorName = other.grantorName; } if (other.isSetGrantorPrincipalType()) { this.grantorPrincipalType = other.grantorPrincipalType; } }
boolean this_present_principalName = true && this.isSetPrincipalName(); boolean that_present_principalName = true && that.isSetPrincipalName(); if (this_present_principalName || that_present_principalName) { if (!(this_present_principalName && that_present_principalName))
optionals.set(0); if (struct.isSetPrincipalName()) { optionals.set(1); oprot.writeString(struct.roleName); if (struct.isSetPrincipalName()) { oprot.writeString(struct.principalName);
builder.append(roleName); boolean present_principalName = true && (isSetPrincipalName()); builder.append(present_principalName); if (present_principalName)
list.add(roleName); boolean present_principalName = true && (isSetPrincipalName()); list.add(present_principalName); if (present_principalName)
/** 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 ROLE_NAME: return isSetRoleName(); case PRINCIPAL_NAME: return isSetPrincipalName(); case PRINCIPAL_TYPE: return isSetPrincipalType(); case GRANT_OPTION: return isSetGrantOption(); case GRANT_TIME: return isSetGrantTime(); case GRANTOR_NAME: return isSetGrantorName(); case GRANTOR_PRINCIPAL_TYPE: return isSetGrantorPrincipalType(); } throw new IllegalStateException(); }
/** 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 ROLE_NAME: return isSetRoleName(); case PRINCIPAL_NAME: return isSetPrincipalName(); case PRINCIPAL_TYPE: return isSetPrincipalType(); case GRANT_OPTION: return isSetGrantOption(); case GRANT_TIME: return isSetGrantTime(); case GRANTOR_NAME: return isSetGrantorName(); case GRANTOR_PRINCIPAL_TYPE: return isSetGrantorPrincipalType(); } throw new IllegalStateException(); }
/** 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 ROLE_NAME: return isSetRoleName(); case PRINCIPAL_NAME: return isSetPrincipalName(); case PRINCIPAL_TYPE: return isSetPrincipalType(); case GRANT_OPTION: return isSetGrantOption(); case GRANT_TIME: return isSetGrantTime(); case GRANTOR_NAME: return isSetGrantorName(); case GRANTOR_PRINCIPAL_TYPE: return isSetGrantorPrincipalType(); } throw new IllegalStateException(); }
/** * Performs a deep copy on <i>other</i>. */ public RolePrincipalGrant(RolePrincipalGrant other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetRoleName()) { this.roleName = other.roleName; } if (other.isSetPrincipalName()) { this.principalName = other.principalName; } if (other.isSetPrincipalType()) { this.principalType = other.principalType; } this.grantOption = other.grantOption; this.grantTime = other.grantTime; if (other.isSetGrantorName()) { this.grantorName = other.grantorName; } if (other.isSetGrantorPrincipalType()) { this.grantorPrincipalType = other.grantorPrincipalType; } }
/** * Performs a deep copy on <i>other</i>. */ public RolePrincipalGrant(RolePrincipalGrant other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetRoleName()) { this.roleName = other.roleName; } if (other.isSetPrincipalName()) { this.principalName = other.principalName; } if (other.isSetPrincipalType()) { this.principalType = other.principalType; } this.grantOption = other.grantOption; this.grantTime = other.grantTime; if (other.isSetGrantorName()) { this.grantorName = other.grantorName; } if (other.isSetGrantorPrincipalType()) { this.grantorPrincipalType = other.grantorPrincipalType; } }
/** * Performs a deep copy on <i>other</i>. */ public RolePrincipalGrant(RolePrincipalGrant other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetRoleName()) { this.roleName = other.roleName; } if (other.isSetPrincipalName()) { this.principalName = other.principalName; } if (other.isSetPrincipalType()) { this.principalType = other.principalType; } this.grantOption = other.grantOption; this.grantTime = other.grantTime; if (other.isSetGrantorName()) { this.grantorName = other.grantorName; } if (other.isSetGrantorPrincipalType()) { this.grantorPrincipalType = other.grantorPrincipalType; } }
boolean this_present_principalName = true && this.isSetPrincipalName(); boolean that_present_principalName = true && that.isSetPrincipalName(); if (this_present_principalName || that_present_principalName) { if (!(this_present_principalName && that_present_principalName))
boolean this_present_principalName = true && this.isSetPrincipalName(); boolean that_present_principalName = true && that.isSetPrincipalName(); if (this_present_principalName || that_present_principalName) { if (!(this_present_principalName && that_present_principalName))
optionals.set(0); if (struct.isSetPrincipalName()) { optionals.set(1); oprot.writeString(struct.roleName); if (struct.isSetPrincipalName()) { oprot.writeString(struct.principalName);
optionals.set(0); if (struct.isSetPrincipalName()) { optionals.set(1); oprot.writeString(struct.roleName); if (struct.isSetPrincipalName()) { oprot.writeString(struct.principalName);
optionals.set(0); if (struct.isSetPrincipalName()) { optionals.set(1); oprot.writeString(struct.roleName); if (struct.isSetPrincipalName()) { oprot.writeString(struct.principalName);
builder.append(roleName); boolean present_principalName = true && (isSetPrincipalName()); builder.append(present_principalName); if (present_principalName)