You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2019/06/11 12:59:57 UTC
[airavata] 01/02: Regenerated thrift stubs
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata.git
commit bf3c1a8809c287d35cdb3569188a10478793d2d5
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Mon Jun 10 15:55:17 2019 -0400
Regenerated thrift stubs
---
.../java/org/apache/airavata/base/api/BaseAPI.java | 33 +++----
.../airavata/sharing/registry/models/Domain.java | 60 ++++++------
.../registry/models/DuplicateEntryException.java | 45 +++++----
.../airavata/sharing/registry/models/Entity.java | 103 +++++++++------------
.../sharing/registry/models/EntitySearchField.java | 33 +++----
.../sharing/registry/models/EntityType.java | 65 ++++++-------
.../sharing/registry/models/GroupAdmin.java | 50 +++++-----
.../sharing/registry/models/GroupCardinality.java | 33 +++----
.../sharing/registry/models/GroupChildType.java | 33 +++----
.../sharing/registry/models/GroupMembership.java | 69 ++++++--------
.../sharing/registry/models/GroupType.java | 33 +++----
.../sharing/registry/models/PermissionType.java | 65 ++++++-------
.../sharing/registry/models/SearchCondition.java | 33 +++----
.../sharing/registry/models/SearchCriteria.java | 58 +++++-------
.../airavata/sharing/registry/models/Sharing.java | 79 +++++++---------
.../registry/models/SharingRegistryException.java | 45 +++++----
.../sharing/registry/models/SharingType.java | 33 +++----
.../airavata/sharing/registry/models/User.java | 83 +++++++----------
.../sharing/registry/models/UserGroup.java | 93 ++++++++-----------
.../registry/models/sharing_modelsConstants.java | 33 +++----
20 files changed, 490 insertions(+), 589 deletions(-)
diff --git a/airavata-api/airavata-base-api/src/main/java/org/apache/airavata/base/api/BaseAPI.java b/airavata-api/airavata-base-api/src/main/java/org/apache/airavata/base/api/BaseAPI.java
index 5cf8573..b15445b 100644
--- a/airavata-api/airavata-base-api/src/main/java/org/apache/airavata/base/api/BaseAPI.java
+++ b/airavata-api/airavata-base-api/src/main/java/org/apache/airavata/base/api/BaseAPI.java
@@ -1,19 +1,20 @@
- /*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.10.0)
*
diff --git a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/Domain.java b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/Domain.java
index ac40583..1b0fdd9 100644
--- a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/Domain.java
+++ b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/Domain.java
@@ -1,19 +1,20 @@
- /*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.10.0)
*
@@ -47,11 +48,11 @@ public class Domain implements org.apache.thrift.TBase<Domain, Domain._Fields>,
private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new DomainStandardSchemeFactory();
private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new DomainTupleSchemeFactory();
- public java.lang.String domainId; // optional
- public java.lang.String name; // optional
- public java.lang.String description; // optional
- public long createdTime; // optional
- public long updatedTime; // optional
+ private java.lang.String domainId; // optional
+ private java.lang.String name; // optional
+ private java.lang.String description; // optional
+ private long createdTime; // optional
+ private long updatedTime; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
@@ -188,9 +189,8 @@ public class Domain implements org.apache.thrift.TBase<Domain, Domain._Fields>,
return this.domainId;
}
- public Domain setDomainId(java.lang.String domainId) {
+ public void setDomainId(java.lang.String domainId) {
this.domainId = domainId;
- return this;
}
public void unsetDomainId() {
@@ -212,9 +212,8 @@ public class Domain implements org.apache.thrift.TBase<Domain, Domain._Fields>,
return this.name;
}
- public Domain setName(java.lang.String name) {
+ public void setName(java.lang.String name) {
this.name = name;
- return this;
}
public void unsetName() {
@@ -236,9 +235,8 @@ public class Domain implements org.apache.thrift.TBase<Domain, Domain._Fields>,
return this.description;
}
- public Domain setDescription(java.lang.String description) {
+ public void setDescription(java.lang.String description) {
this.description = description;
- return this;
}
public void unsetDescription() {
@@ -260,10 +258,9 @@ public class Domain implements org.apache.thrift.TBase<Domain, Domain._Fields>,
return this.createdTime;
}
- public Domain setCreatedTime(long createdTime) {
+ public void setCreatedTime(long createdTime) {
this.createdTime = createdTime;
setCreatedTimeIsSet(true);
- return this;
}
public void unsetCreatedTime() {
@@ -283,10 +280,9 @@ public class Domain implements org.apache.thrift.TBase<Domain, Domain._Fields>,
return this.updatedTime;
}
- public Domain setUpdatedTime(long updatedTime) {
+ public void setUpdatedTime(long updatedTime) {
this.updatedTime = updatedTime;
setUpdatedTimeIsSet(true);
- return this;
}
public void unsetUpdatedTime() {
@@ -689,8 +685,6 @@ public class Domain implements org.apache.thrift.TBase<Domain, Domain._Fields>,
iprot.readFieldEnd();
}
iprot.readStructEnd();
-
- // check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
diff --git a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/DuplicateEntryException.java b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/DuplicateEntryException.java
index 88a03bf..e8ef517 100644
--- a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/DuplicateEntryException.java
+++ b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/DuplicateEntryException.java
@@ -1,19 +1,20 @@
- /*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.10.0)
*
@@ -39,7 +40,7 @@ public class DuplicateEntryException extends org.apache.thrift.TException implem
private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new DuplicateEntryExceptionStandardSchemeFactory();
private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new DuplicateEntryExceptionTupleSchemeFactory();
- public java.lang.String message; // required
+ private java.lang.String message; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
@@ -141,9 +142,8 @@ public class DuplicateEntryException extends org.apache.thrift.TException implem
return this.message;
}
- public DuplicateEntryException setMessage(java.lang.String message) {
+ public void setMessage(java.lang.String message) {
this.message = message;
- return this;
}
public void unsetMessage() {
@@ -285,9 +285,10 @@ public class DuplicateEntryException extends org.apache.thrift.TException implem
public void validate() throws org.apache.thrift.TException {
// check for required fields
- if (message == null) {
- throw new org.apache.thrift.protocol.TProtocolException("Required field 'message' was not present! Struct: " + toString());
+ if (!isSetMessage()) {
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'message' is unset! Struct:" + toString());
}
+
// check for sub-struct validity
}
@@ -339,8 +340,6 @@ public class DuplicateEntryException extends org.apache.thrift.TException implem
iprot.readFieldEnd();
}
iprot.readStructEnd();
-
- // check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
diff --git a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/Entity.java b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/Entity.java
index 35475e4..5f9bab5 100644
--- a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/Entity.java
+++ b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/Entity.java
@@ -1,19 +1,20 @@
- /*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.10.0)
*
@@ -61,19 +62,19 @@ public class Entity implements org.apache.thrift.TBase<Entity, Entity._Fields>,
private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new EntityStandardSchemeFactory();
private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new EntityTupleSchemeFactory();
- public java.lang.String entityId; // optional
- public java.lang.String domainId; // optional
- public java.lang.String entityTypeId; // optional
- public java.lang.String ownerId; // optional
- public java.lang.String parentEntityId; // optional
- public java.lang.String name; // optional
- public java.lang.String description; // optional
- public java.nio.ByteBuffer binaryData; // optional
- public java.lang.String fullText; // optional
- public long sharedCount; // optional
- public long originalEntityCreationTime; // optional
- public long createdTime; // optional
- public long updatedTime; // optional
+ private java.lang.String entityId; // optional
+ private java.lang.String domainId; // optional
+ private java.lang.String entityTypeId; // optional
+ private java.lang.String ownerId; // optional
+ private java.lang.String parentEntityId; // optional
+ private java.lang.String name; // optional
+ private java.lang.String description; // optional
+ private java.nio.ByteBuffer binaryData; // optional
+ private java.lang.String fullText; // optional
+ private long sharedCount; // optional
+ private long originalEntityCreationTime; // optional
+ private long createdTime; // optional
+ private long updatedTime; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
@@ -281,9 +282,8 @@ public class Entity implements org.apache.thrift.TBase<Entity, Entity._Fields>,
return this.entityId;
}
- public Entity setEntityId(java.lang.String entityId) {
+ public void setEntityId(java.lang.String entityId) {
this.entityId = entityId;
- return this;
}
public void unsetEntityId() {
@@ -305,9 +305,8 @@ public class Entity implements org.apache.thrift.TBase<Entity, Entity._Fields>,
return this.domainId;
}
- public Entity setDomainId(java.lang.String domainId) {
+ public void setDomainId(java.lang.String domainId) {
this.domainId = domainId;
- return this;
}
public void unsetDomainId() {
@@ -329,9 +328,8 @@ public class Entity implements org.apache.thrift.TBase<Entity, Entity._Fields>,
return this.entityTypeId;
}
- public Entity setEntityTypeId(java.lang.String entityTypeId) {
+ public void setEntityTypeId(java.lang.String entityTypeId) {
this.entityTypeId = entityTypeId;
- return this;
}
public void unsetEntityTypeId() {
@@ -353,9 +351,8 @@ public class Entity implements org.apache.thrift.TBase<Entity, Entity._Fields>,
return this.ownerId;
}
- public Entity setOwnerId(java.lang.String ownerId) {
+ public void setOwnerId(java.lang.String ownerId) {
this.ownerId = ownerId;
- return this;
}
public void unsetOwnerId() {
@@ -377,9 +374,8 @@ public class Entity implements org.apache.thrift.TBase<Entity, Entity._Fields>,
return this.parentEntityId;
}
- public Entity setParentEntityId(java.lang.String parentEntityId) {
+ public void setParentEntityId(java.lang.String parentEntityId) {
this.parentEntityId = parentEntityId;
- return this;
}
public void unsetParentEntityId() {
@@ -401,9 +397,8 @@ public class Entity implements org.apache.thrift.TBase<Entity, Entity._Fields>,
return this.name;
}
- public Entity setName(java.lang.String name) {
+ public void setName(java.lang.String name) {
this.name = name;
- return this;
}
public void unsetName() {
@@ -425,9 +420,8 @@ public class Entity implements org.apache.thrift.TBase<Entity, Entity._Fields>,
return this.description;
}
- public Entity setDescription(java.lang.String description) {
+ public void setDescription(java.lang.String description) {
this.description = description;
- return this;
}
public void unsetDescription() {
@@ -454,14 +448,12 @@ public class Entity implements org.apache.thrift.TBase<Entity, Entity._Fields>,
return org.apache.thrift.TBaseHelper.copyBinary(binaryData);
}
- public Entity setBinaryData(byte[] binaryData) {
+ public void setBinaryData(byte[] binaryData) {
this.binaryData = binaryData == null ? (java.nio.ByteBuffer)null : java.nio.ByteBuffer.wrap(binaryData.clone());
- return this;
}
- public Entity setBinaryData(java.nio.ByteBuffer binaryData) {
+ public void setBinaryData(java.nio.ByteBuffer binaryData) {
this.binaryData = org.apache.thrift.TBaseHelper.copyBinary(binaryData);
- return this;
}
public void unsetBinaryData() {
@@ -483,9 +475,8 @@ public class Entity implements org.apache.thrift.TBase<Entity, Entity._Fields>,
return this.fullText;
}
- public Entity setFullText(java.lang.String fullText) {
+ public void setFullText(java.lang.String fullText) {
this.fullText = fullText;
- return this;
}
public void unsetFullText() {
@@ -507,10 +498,9 @@ public class Entity implements org.apache.thrift.TBase<Entity, Entity._Fields>,
return this.sharedCount;
}
- public Entity setSharedCount(long sharedCount) {
+ public void setSharedCount(long sharedCount) {
this.sharedCount = sharedCount;
setSharedCountIsSet(true);
- return this;
}
public void unsetSharedCount() {
@@ -530,10 +520,9 @@ public class Entity implements org.apache.thrift.TBase<Entity, Entity._Fields>,
return this.originalEntityCreationTime;
}
- public Entity setOriginalEntityCreationTime(long originalEntityCreationTime) {
+ public void setOriginalEntityCreationTime(long originalEntityCreationTime) {
this.originalEntityCreationTime = originalEntityCreationTime;
setOriginalEntityCreationTimeIsSet(true);
- return this;
}
public void unsetOriginalEntityCreationTime() {
@@ -553,10 +542,9 @@ public class Entity implements org.apache.thrift.TBase<Entity, Entity._Fields>,
return this.createdTime;
}
- public Entity setCreatedTime(long createdTime) {
+ public void setCreatedTime(long createdTime) {
this.createdTime = createdTime;
setCreatedTimeIsSet(true);
- return this;
}
public void unsetCreatedTime() {
@@ -576,10 +564,9 @@ public class Entity implements org.apache.thrift.TBase<Entity, Entity._Fields>,
return this.updatedTime;
}
- public Entity setUpdatedTime(long updatedTime) {
+ public void setUpdatedTime(long updatedTime) {
this.updatedTime = updatedTime;
setUpdatedTimeIsSet(true);
- return this;
}
public void unsetUpdatedTime() {
@@ -1410,8 +1397,6 @@ public class Entity implements org.apache.thrift.TBase<Entity, Entity._Fields>,
iprot.readFieldEnd();
}
iprot.readStructEnd();
-
- // check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
diff --git a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/EntitySearchField.java b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/EntitySearchField.java
index c9418e2..84fb0a4 100644
--- a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/EntitySearchField.java
+++ b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/EntitySearchField.java
@@ -1,19 +1,20 @@
- /*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.10.0)
*
diff --git a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/EntityType.java b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/EntityType.java
index e84959c..1536760 100644
--- a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/EntityType.java
+++ b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/EntityType.java
@@ -1,19 +1,20 @@
- /*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.10.0)
*
@@ -47,12 +48,12 @@ public class EntityType implements org.apache.thrift.TBase<EntityType, EntityTyp
private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new EntityTypeStandardSchemeFactory();
private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new EntityTypeTupleSchemeFactory();
- public java.lang.String entityTypeId; // optional
- public java.lang.String domainId; // optional
- public java.lang.String name; // optional
- public java.lang.String description; // optional
- public long createdTime; // optional
- public long updatedTime; // optional
+ private java.lang.String entityTypeId; // optional
+ private java.lang.String domainId; // optional
+ private java.lang.String name; // optional
+ private java.lang.String description; // optional
+ private long createdTime; // optional
+ private long updatedTime; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
@@ -195,9 +196,8 @@ public class EntityType implements org.apache.thrift.TBase<EntityType, EntityTyp
return this.entityTypeId;
}
- public EntityType setEntityTypeId(java.lang.String entityTypeId) {
+ public void setEntityTypeId(java.lang.String entityTypeId) {
this.entityTypeId = entityTypeId;
- return this;
}
public void unsetEntityTypeId() {
@@ -219,9 +219,8 @@ public class EntityType implements org.apache.thrift.TBase<EntityType, EntityTyp
return this.domainId;
}
- public EntityType setDomainId(java.lang.String domainId) {
+ public void setDomainId(java.lang.String domainId) {
this.domainId = domainId;
- return this;
}
public void unsetDomainId() {
@@ -243,9 +242,8 @@ public class EntityType implements org.apache.thrift.TBase<EntityType, EntityTyp
return this.name;
}
- public EntityType setName(java.lang.String name) {
+ public void setName(java.lang.String name) {
this.name = name;
- return this;
}
public void unsetName() {
@@ -267,9 +265,8 @@ public class EntityType implements org.apache.thrift.TBase<EntityType, EntityTyp
return this.description;
}
- public EntityType setDescription(java.lang.String description) {
+ public void setDescription(java.lang.String description) {
this.description = description;
- return this;
}
public void unsetDescription() {
@@ -291,10 +288,9 @@ public class EntityType implements org.apache.thrift.TBase<EntityType, EntityTyp
return this.createdTime;
}
- public EntityType setCreatedTime(long createdTime) {
+ public void setCreatedTime(long createdTime) {
this.createdTime = createdTime;
setCreatedTimeIsSet(true);
- return this;
}
public void unsetCreatedTime() {
@@ -314,10 +310,9 @@ public class EntityType implements org.apache.thrift.TBase<EntityType, EntityTyp
return this.updatedTime;
}
- public EntityType setUpdatedTime(long updatedTime) {
+ public void setUpdatedTime(long updatedTime) {
this.updatedTime = updatedTime;
setUpdatedTimeIsSet(true);
- return this;
}
public void unsetUpdatedTime() {
@@ -774,8 +769,6 @@ public class EntityType implements org.apache.thrift.TBase<EntityType, EntityTyp
iprot.readFieldEnd();
}
iprot.readStructEnd();
-
- // check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
diff --git a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/GroupAdmin.java b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/GroupAdmin.java
index 088667e..d970719 100644
--- a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/GroupAdmin.java
+++ b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/GroupAdmin.java
@@ -1,19 +1,20 @@
- /*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.10.0)
*
@@ -34,9 +35,9 @@ public class GroupAdmin implements org.apache.thrift.TBase<GroupAdmin, GroupAdmi
private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new GroupAdminStandardSchemeFactory();
private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new GroupAdminTupleSchemeFactory();
- public java.lang.String groupId; // optional
- public java.lang.String domainId; // optional
- public java.lang.String adminId; // optional
+ private java.lang.String groupId; // optional
+ private java.lang.String domainId; // optional
+ private java.lang.String adminId; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
@@ -150,9 +151,8 @@ public class GroupAdmin implements org.apache.thrift.TBase<GroupAdmin, GroupAdmi
return this.groupId;
}
- public GroupAdmin setGroupId(java.lang.String groupId) {
+ public void setGroupId(java.lang.String groupId) {
this.groupId = groupId;
- return this;
}
public void unsetGroupId() {
@@ -174,9 +174,8 @@ public class GroupAdmin implements org.apache.thrift.TBase<GroupAdmin, GroupAdmi
return this.domainId;
}
- public GroupAdmin setDomainId(java.lang.String domainId) {
+ public void setDomainId(java.lang.String domainId) {
this.domainId = domainId;
- return this;
}
public void unsetDomainId() {
@@ -198,9 +197,8 @@ public class GroupAdmin implements org.apache.thrift.TBase<GroupAdmin, GroupAdmi
return this.adminId;
}
- public GroupAdmin setAdminId(java.lang.String adminId) {
+ public void setAdminId(java.lang.String adminId) {
this.adminId = adminId;
- return this;
}
public void unsetAdminId() {
@@ -503,8 +501,6 @@ public class GroupAdmin implements org.apache.thrift.TBase<GroupAdmin, GroupAdmi
iprot.readFieldEnd();
}
iprot.readStructEnd();
-
- // check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
diff --git a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/GroupCardinality.java b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/GroupCardinality.java
index c038951..772b4c1 100644
--- a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/GroupCardinality.java
+++ b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/GroupCardinality.java
@@ -1,19 +1,20 @@
- /*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.10.0)
*
diff --git a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/GroupChildType.java b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/GroupChildType.java
index 3a08598..acb421f 100644
--- a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/GroupChildType.java
+++ b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/GroupChildType.java
@@ -1,19 +1,20 @@
- /*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.10.0)
*
diff --git a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/GroupMembership.java b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/GroupMembership.java
index 2c938383..2f37788 100644
--- a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/GroupMembership.java
+++ b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/GroupMembership.java
@@ -1,19 +1,20 @@
- /*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.10.0)
*
@@ -41,16 +42,12 @@ public class GroupMembership implements org.apache.thrift.TBase<GroupMembership,
private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new GroupMembershipStandardSchemeFactory();
private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new GroupMembershipTupleSchemeFactory();
- public java.lang.String parentId; // optional
- public java.lang.String childId; // optional
- public java.lang.String domainId; // optional
- /**
- *
- * @see GroupChildType
- */
- public GroupChildType childType; // optional
- public long createdTime; // optional
- public long updatedTime; // optional
+ private java.lang.String parentId; // optional
+ private java.lang.String childId; // optional
+ private java.lang.String domainId; // optional
+ private GroupChildType childType; // optional
+ private long createdTime; // optional
+ private long updatedTime; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
@@ -197,9 +194,8 @@ public class GroupMembership implements org.apache.thrift.TBase<GroupMembership,
return this.parentId;
}
- public GroupMembership setParentId(java.lang.String parentId) {
+ public void setParentId(java.lang.String parentId) {
this.parentId = parentId;
- return this;
}
public void unsetParentId() {
@@ -221,9 +217,8 @@ public class GroupMembership implements org.apache.thrift.TBase<GroupMembership,
return this.childId;
}
- public GroupMembership setChildId(java.lang.String childId) {
+ public void setChildId(java.lang.String childId) {
this.childId = childId;
- return this;
}
public void unsetChildId() {
@@ -245,9 +240,8 @@ public class GroupMembership implements org.apache.thrift.TBase<GroupMembership,
return this.domainId;
}
- public GroupMembership setDomainId(java.lang.String domainId) {
+ public void setDomainId(java.lang.String domainId) {
this.domainId = domainId;
- return this;
}
public void unsetDomainId() {
@@ -277,9 +271,8 @@ public class GroupMembership implements org.apache.thrift.TBase<GroupMembership,
*
* @see GroupChildType
*/
- public GroupMembership setChildType(GroupChildType childType) {
+ public void setChildType(GroupChildType childType) {
this.childType = childType;
- return this;
}
public void unsetChildType() {
@@ -301,10 +294,9 @@ public class GroupMembership implements org.apache.thrift.TBase<GroupMembership,
return this.createdTime;
}
- public GroupMembership setCreatedTime(long createdTime) {
+ public void setCreatedTime(long createdTime) {
this.createdTime = createdTime;
setCreatedTimeIsSet(true);
- return this;
}
public void unsetCreatedTime() {
@@ -324,10 +316,9 @@ public class GroupMembership implements org.apache.thrift.TBase<GroupMembership,
return this.updatedTime;
}
- public GroupMembership setUpdatedTime(long updatedTime) {
+ public void setUpdatedTime(long updatedTime) {
this.updatedTime = updatedTime;
setUpdatedTimeIsSet(true);
- return this;
}
public void unsetUpdatedTime() {
@@ -784,8 +775,6 @@ public class GroupMembership implements org.apache.thrift.TBase<GroupMembership,
iprot.readFieldEnd();
}
iprot.readStructEnd();
-
- // check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
diff --git a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/GroupType.java b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/GroupType.java
index e4d9ef3..3cb1527 100644
--- a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/GroupType.java
+++ b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/GroupType.java
@@ -1,19 +1,20 @@
- /*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.10.0)
*
diff --git a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/PermissionType.java b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/PermissionType.java
index 212defd..96df5d3 100644
--- a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/PermissionType.java
+++ b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/PermissionType.java
@@ -1,19 +1,20 @@
- /*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.10.0)
*
@@ -47,12 +48,12 @@ public class PermissionType implements org.apache.thrift.TBase<PermissionType, P
private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new PermissionTypeStandardSchemeFactory();
private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new PermissionTypeTupleSchemeFactory();
- public java.lang.String permissionTypeId; // optional
- public java.lang.String domainId; // optional
- public java.lang.String name; // optional
- public java.lang.String description; // optional
- public long createdTime; // optional
- public long updatedTime; // optional
+ private java.lang.String permissionTypeId; // optional
+ private java.lang.String domainId; // optional
+ private java.lang.String name; // optional
+ private java.lang.String description; // optional
+ private long createdTime; // optional
+ private long updatedTime; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
@@ -195,9 +196,8 @@ public class PermissionType implements org.apache.thrift.TBase<PermissionType, P
return this.permissionTypeId;
}
- public PermissionType setPermissionTypeId(java.lang.String permissionTypeId) {
+ public void setPermissionTypeId(java.lang.String permissionTypeId) {
this.permissionTypeId = permissionTypeId;
- return this;
}
public void unsetPermissionTypeId() {
@@ -219,9 +219,8 @@ public class PermissionType implements org.apache.thrift.TBase<PermissionType, P
return this.domainId;
}
- public PermissionType setDomainId(java.lang.String domainId) {
+ public void setDomainId(java.lang.String domainId) {
this.domainId = domainId;
- return this;
}
public void unsetDomainId() {
@@ -243,9 +242,8 @@ public class PermissionType implements org.apache.thrift.TBase<PermissionType, P
return this.name;
}
- public PermissionType setName(java.lang.String name) {
+ public void setName(java.lang.String name) {
this.name = name;
- return this;
}
public void unsetName() {
@@ -267,9 +265,8 @@ public class PermissionType implements org.apache.thrift.TBase<PermissionType, P
return this.description;
}
- public PermissionType setDescription(java.lang.String description) {
+ public void setDescription(java.lang.String description) {
this.description = description;
- return this;
}
public void unsetDescription() {
@@ -291,10 +288,9 @@ public class PermissionType implements org.apache.thrift.TBase<PermissionType, P
return this.createdTime;
}
- public PermissionType setCreatedTime(long createdTime) {
+ public void setCreatedTime(long createdTime) {
this.createdTime = createdTime;
setCreatedTimeIsSet(true);
- return this;
}
public void unsetCreatedTime() {
@@ -314,10 +310,9 @@ public class PermissionType implements org.apache.thrift.TBase<PermissionType, P
return this.updatedTime;
}
- public PermissionType setUpdatedTime(long updatedTime) {
+ public void setUpdatedTime(long updatedTime) {
this.updatedTime = updatedTime;
setUpdatedTimeIsSet(true);
- return this;
}
public void unsetUpdatedTime() {
@@ -774,8 +769,6 @@ public class PermissionType implements org.apache.thrift.TBase<PermissionType, P
iprot.readFieldEnd();
}
iprot.readStructEnd();
-
- // check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
diff --git a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/SearchCondition.java b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/SearchCondition.java
index 2090c19..865fa88 100644
--- a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/SearchCondition.java
+++ b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/SearchCondition.java
@@ -1,19 +1,20 @@
- /*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.10.0)
*
diff --git a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/SearchCriteria.java b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/SearchCriteria.java
index ee8d933..8afaf8e 100644
--- a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/SearchCriteria.java
+++ b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/SearchCriteria.java
@@ -1,19 +1,20 @@
- /*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.10.0)
*
@@ -41,17 +42,9 @@ public class SearchCriteria implements org.apache.thrift.TBase<SearchCriteria, S
private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new SearchCriteriaStandardSchemeFactory();
private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new SearchCriteriaTupleSchemeFactory();
- /**
- *
- * @see EntitySearchField
- */
- public EntitySearchField searchField; // optional
- public java.lang.String value; // optional
- /**
- *
- * @see SearchCondition
- */
- public SearchCondition searchCondition; // optional
+ private EntitySearchField searchField; // optional
+ private java.lang.String value; // optional
+ private SearchCondition searchCondition; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
@@ -181,9 +174,8 @@ public class SearchCriteria implements org.apache.thrift.TBase<SearchCriteria, S
*
* @see EntitySearchField
*/
- public SearchCriteria setSearchField(EntitySearchField searchField) {
+ public void setSearchField(EntitySearchField searchField) {
this.searchField = searchField;
- return this;
}
public void unsetSearchField() {
@@ -205,9 +197,8 @@ public class SearchCriteria implements org.apache.thrift.TBase<SearchCriteria, S
return this.value;
}
- public SearchCriteria setValue(java.lang.String value) {
+ public void setValue(java.lang.String value) {
this.value = value;
- return this;
}
public void unsetValue() {
@@ -237,9 +228,8 @@ public class SearchCriteria implements org.apache.thrift.TBase<SearchCriteria, S
*
* @see SearchCondition
*/
- public SearchCriteria setSearchCondition(SearchCondition searchCondition) {
+ public void setSearchCondition(SearchCondition searchCondition) {
this.searchCondition = searchCondition;
- return this;
}
public void unsetSearchCondition() {
@@ -542,8 +532,6 @@ public class SearchCriteria implements org.apache.thrift.TBase<SearchCriteria, S
iprot.readFieldEnd();
}
iprot.readStructEnd();
-
- // check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
diff --git a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/Sharing.java b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/Sharing.java
index 6645f42..e5c956c 100644
--- a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/Sharing.java
+++ b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/Sharing.java
@@ -1,19 +1,20 @@
- /*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.10.0)
*
@@ -43,18 +44,14 @@ public class Sharing implements org.apache.thrift.TBase<Sharing, Sharing._Fields
private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new SharingStandardSchemeFactory();
private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new SharingTupleSchemeFactory();
- public java.lang.String permissionTypeId; // optional
- public java.lang.String entityId; // optional
- public java.lang.String groupId; // optional
- /**
- *
- * @see SharingType
- */
- public SharingType sharingType; // optional
- public java.lang.String domainId; // optional
- public java.lang.String inheritedParentId; // optional
- public long createdTime; // optional
- public long updatedTime; // optional
+ private java.lang.String permissionTypeId; // optional
+ private java.lang.String entityId; // optional
+ private java.lang.String groupId; // optional
+ private SharingType sharingType; // optional
+ private java.lang.String domainId; // optional
+ private java.lang.String inheritedParentId; // optional
+ private long createdTime; // optional
+ private long updatedTime; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
@@ -219,9 +216,8 @@ public class Sharing implements org.apache.thrift.TBase<Sharing, Sharing._Fields
return this.permissionTypeId;
}
- public Sharing setPermissionTypeId(java.lang.String permissionTypeId) {
+ public void setPermissionTypeId(java.lang.String permissionTypeId) {
this.permissionTypeId = permissionTypeId;
- return this;
}
public void unsetPermissionTypeId() {
@@ -243,9 +239,8 @@ public class Sharing implements org.apache.thrift.TBase<Sharing, Sharing._Fields
return this.entityId;
}
- public Sharing setEntityId(java.lang.String entityId) {
+ public void setEntityId(java.lang.String entityId) {
this.entityId = entityId;
- return this;
}
public void unsetEntityId() {
@@ -267,9 +262,8 @@ public class Sharing implements org.apache.thrift.TBase<Sharing, Sharing._Fields
return this.groupId;
}
- public Sharing setGroupId(java.lang.String groupId) {
+ public void setGroupId(java.lang.String groupId) {
this.groupId = groupId;
- return this;
}
public void unsetGroupId() {
@@ -299,9 +293,8 @@ public class Sharing implements org.apache.thrift.TBase<Sharing, Sharing._Fields
*
* @see SharingType
*/
- public Sharing setSharingType(SharingType sharingType) {
+ public void setSharingType(SharingType sharingType) {
this.sharingType = sharingType;
- return this;
}
public void unsetSharingType() {
@@ -323,9 +316,8 @@ public class Sharing implements org.apache.thrift.TBase<Sharing, Sharing._Fields
return this.domainId;
}
- public Sharing setDomainId(java.lang.String domainId) {
+ public void setDomainId(java.lang.String domainId) {
this.domainId = domainId;
- return this;
}
public void unsetDomainId() {
@@ -347,9 +339,8 @@ public class Sharing implements org.apache.thrift.TBase<Sharing, Sharing._Fields
return this.inheritedParentId;
}
- public Sharing setInheritedParentId(java.lang.String inheritedParentId) {
+ public void setInheritedParentId(java.lang.String inheritedParentId) {
this.inheritedParentId = inheritedParentId;
- return this;
}
public void unsetInheritedParentId() {
@@ -371,10 +362,9 @@ public class Sharing implements org.apache.thrift.TBase<Sharing, Sharing._Fields
return this.createdTime;
}
- public Sharing setCreatedTime(long createdTime) {
+ public void setCreatedTime(long createdTime) {
this.createdTime = createdTime;
setCreatedTimeIsSet(true);
- return this;
}
public void unsetCreatedTime() {
@@ -394,10 +384,9 @@ public class Sharing implements org.apache.thrift.TBase<Sharing, Sharing._Fields
return this.updatedTime;
}
- public Sharing setUpdatedTime(long updatedTime) {
+ public void setUpdatedTime(long updatedTime) {
this.updatedTime = updatedTime;
setUpdatedTimeIsSet(true);
- return this;
}
public void unsetUpdatedTime() {
@@ -962,8 +951,6 @@ public class Sharing implements org.apache.thrift.TBase<Sharing, Sharing._Fields
iprot.readFieldEnd();
}
iprot.readStructEnd();
-
- // check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
diff --git a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/SharingRegistryException.java b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/SharingRegistryException.java
index 953a42a..4bad273 100644
--- a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/SharingRegistryException.java
+++ b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/SharingRegistryException.java
@@ -1,19 +1,20 @@
- /*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.10.0)
*
@@ -36,7 +37,7 @@ public class SharingRegistryException extends org.apache.thrift.TException imple
private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new SharingRegistryExceptionStandardSchemeFactory();
private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new SharingRegistryExceptionTupleSchemeFactory();
- public java.lang.String message; // required
+ private java.lang.String message; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
@@ -138,9 +139,8 @@ public class SharingRegistryException extends org.apache.thrift.TException imple
return this.message;
}
- public SharingRegistryException setMessage(java.lang.String message) {
+ public void setMessage(java.lang.String message) {
this.message = message;
- return this;
}
public void unsetMessage() {
@@ -282,9 +282,10 @@ public class SharingRegistryException extends org.apache.thrift.TException imple
public void validate() throws org.apache.thrift.TException {
// check for required fields
- if (message == null) {
- throw new org.apache.thrift.protocol.TProtocolException("Required field 'message' was not present! Struct: " + toString());
+ if (!isSetMessage()) {
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'message' is unset! Struct:" + toString());
}
+
// check for sub-struct validity
}
@@ -336,8 +337,6 @@ public class SharingRegistryException extends org.apache.thrift.TException imple
iprot.readFieldEnd();
}
iprot.readStructEnd();
-
- // check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
diff --git a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/SharingType.java b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/SharingType.java
index 03910fa..8048352 100644
--- a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/SharingType.java
+++ b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/SharingType.java
@@ -1,19 +1,20 @@
- /*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.10.0)
*
diff --git a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/User.java b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/User.java
index 4c453c5..2ad188b 100644
--- a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/User.java
+++ b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/User.java
@@ -1,19 +1,20 @@
- /*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.10.0)
*
@@ -54,15 +55,15 @@ public class User implements org.apache.thrift.TBase<User, User._Fields>, java.i
private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new UserStandardSchemeFactory();
private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new UserTupleSchemeFactory();
- public java.lang.String userId; // optional
- public java.lang.String domainId; // optional
- public java.lang.String userName; // optional
- public java.lang.String firstName; // optional
- public java.lang.String lastName; // optional
- public java.lang.String email; // optional
- public java.nio.ByteBuffer icon; // optional
- public long createdTime; // optional
- public long updatedTime; // optional
+ private java.lang.String userId; // optional
+ private java.lang.String domainId; // optional
+ private java.lang.String userName; // optional
+ private java.lang.String firstName; // optional
+ private java.lang.String lastName; // optional
+ private java.lang.String email; // optional
+ private java.nio.ByteBuffer icon; // optional
+ private long createdTime; // optional
+ private long updatedTime; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
@@ -232,9 +233,8 @@ public class User implements org.apache.thrift.TBase<User, User._Fields>, java.i
return this.userId;
}
- public User setUserId(java.lang.String userId) {
+ public void setUserId(java.lang.String userId) {
this.userId = userId;
- return this;
}
public void unsetUserId() {
@@ -256,9 +256,8 @@ public class User implements org.apache.thrift.TBase<User, User._Fields>, java.i
return this.domainId;
}
- public User setDomainId(java.lang.String domainId) {
+ public void setDomainId(java.lang.String domainId) {
this.domainId = domainId;
- return this;
}
public void unsetDomainId() {
@@ -280,9 +279,8 @@ public class User implements org.apache.thrift.TBase<User, User._Fields>, java.i
return this.userName;
}
- public User setUserName(java.lang.String userName) {
+ public void setUserName(java.lang.String userName) {
this.userName = userName;
- return this;
}
public void unsetUserName() {
@@ -304,9 +302,8 @@ public class User implements org.apache.thrift.TBase<User, User._Fields>, java.i
return this.firstName;
}
- public User setFirstName(java.lang.String firstName) {
+ public void setFirstName(java.lang.String firstName) {
this.firstName = firstName;
- return this;
}
public void unsetFirstName() {
@@ -328,9 +325,8 @@ public class User implements org.apache.thrift.TBase<User, User._Fields>, java.i
return this.lastName;
}
- public User setLastName(java.lang.String lastName) {
+ public void setLastName(java.lang.String lastName) {
this.lastName = lastName;
- return this;
}
public void unsetLastName() {
@@ -352,9 +348,8 @@ public class User implements org.apache.thrift.TBase<User, User._Fields>, java.i
return this.email;
}
- public User setEmail(java.lang.String email) {
+ public void setEmail(java.lang.String email) {
this.email = email;
- return this;
}
public void unsetEmail() {
@@ -381,14 +376,12 @@ public class User implements org.apache.thrift.TBase<User, User._Fields>, java.i
return org.apache.thrift.TBaseHelper.copyBinary(icon);
}
- public User setIcon(byte[] icon) {
+ public void setIcon(byte[] icon) {
this.icon = icon == null ? (java.nio.ByteBuffer)null : java.nio.ByteBuffer.wrap(icon.clone());
- return this;
}
- public User setIcon(java.nio.ByteBuffer icon) {
+ public void setIcon(java.nio.ByteBuffer icon) {
this.icon = org.apache.thrift.TBaseHelper.copyBinary(icon);
- return this;
}
public void unsetIcon() {
@@ -410,10 +403,9 @@ public class User implements org.apache.thrift.TBase<User, User._Fields>, java.i
return this.createdTime;
}
- public User setCreatedTime(long createdTime) {
+ public void setCreatedTime(long createdTime) {
this.createdTime = createdTime;
setCreatedTimeIsSet(true);
- return this;
}
public void unsetCreatedTime() {
@@ -433,10 +425,9 @@ public class User implements org.apache.thrift.TBase<User, User._Fields>, java.i
return this.updatedTime;
}
- public User setUpdatedTime(long updatedTime) {
+ public void setUpdatedTime(long updatedTime) {
this.updatedTime = updatedTime;
setUpdatedTimeIsSet(true);
- return this;
}
public void unsetUpdatedTime() {
@@ -1059,8 +1050,6 @@ public class User implements org.apache.thrift.TBase<User, User._Fields>, java.i
iprot.readFieldEnd();
}
iprot.readStructEnd();
-
- // check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
diff --git a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/UserGroup.java b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/UserGroup.java
index 35aa942..4641405 100644
--- a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/UserGroup.java
+++ b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/UserGroup.java
@@ -1,19 +1,20 @@
- /*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.10.0)
*
@@ -55,24 +56,16 @@ public class UserGroup implements org.apache.thrift.TBase<UserGroup, UserGroup._
private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new UserGroupStandardSchemeFactory();
private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new UserGroupTupleSchemeFactory();
- public java.lang.String groupId; // optional
- public java.lang.String domainId; // optional
- public java.lang.String name; // optional
- public java.lang.String description; // optional
- public java.lang.String ownerId; // optional
- /**
- *
- * @see GroupType
- */
- public GroupType groupType; // optional
- /**
- *
- * @see GroupCardinality
- */
- public GroupCardinality groupCardinality; // optional
- public long createdTime; // optional
- public long updatedTime; // optional
- public java.util.List<GroupAdmin> groupAdmins; // optional
+ private java.lang.String groupId; // optional
+ private java.lang.String domainId; // optional
+ private java.lang.String name; // optional
+ private java.lang.String description; // optional
+ private java.lang.String ownerId; // optional
+ private GroupType groupType; // optional
+ private GroupCardinality groupCardinality; // optional
+ private long createdTime; // optional
+ private long updatedTime; // optional
+ private java.util.List<GroupAdmin> groupAdmins; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
@@ -264,9 +257,8 @@ public class UserGroup implements org.apache.thrift.TBase<UserGroup, UserGroup._
return this.groupId;
}
- public UserGroup setGroupId(java.lang.String groupId) {
+ public void setGroupId(java.lang.String groupId) {
this.groupId = groupId;
- return this;
}
public void unsetGroupId() {
@@ -288,9 +280,8 @@ public class UserGroup implements org.apache.thrift.TBase<UserGroup, UserGroup._
return this.domainId;
}
- public UserGroup setDomainId(java.lang.String domainId) {
+ public void setDomainId(java.lang.String domainId) {
this.domainId = domainId;
- return this;
}
public void unsetDomainId() {
@@ -312,9 +303,8 @@ public class UserGroup implements org.apache.thrift.TBase<UserGroup, UserGroup._
return this.name;
}
- public UserGroup setName(java.lang.String name) {
+ public void setName(java.lang.String name) {
this.name = name;
- return this;
}
public void unsetName() {
@@ -336,9 +326,8 @@ public class UserGroup implements org.apache.thrift.TBase<UserGroup, UserGroup._
return this.description;
}
- public UserGroup setDescription(java.lang.String description) {
+ public void setDescription(java.lang.String description) {
this.description = description;
- return this;
}
public void unsetDescription() {
@@ -360,9 +349,8 @@ public class UserGroup implements org.apache.thrift.TBase<UserGroup, UserGroup._
return this.ownerId;
}
- public UserGroup setOwnerId(java.lang.String ownerId) {
+ public void setOwnerId(java.lang.String ownerId) {
this.ownerId = ownerId;
- return this;
}
public void unsetOwnerId() {
@@ -392,9 +380,8 @@ public class UserGroup implements org.apache.thrift.TBase<UserGroup, UserGroup._
*
* @see GroupType
*/
- public UserGroup setGroupType(GroupType groupType) {
+ public void setGroupType(GroupType groupType) {
this.groupType = groupType;
- return this;
}
public void unsetGroupType() {
@@ -424,9 +411,8 @@ public class UserGroup implements org.apache.thrift.TBase<UserGroup, UserGroup._
*
* @see GroupCardinality
*/
- public UserGroup setGroupCardinality(GroupCardinality groupCardinality) {
+ public void setGroupCardinality(GroupCardinality groupCardinality) {
this.groupCardinality = groupCardinality;
- return this;
}
public void unsetGroupCardinality() {
@@ -448,10 +434,9 @@ public class UserGroup implements org.apache.thrift.TBase<UserGroup, UserGroup._
return this.createdTime;
}
- public UserGroup setCreatedTime(long createdTime) {
+ public void setCreatedTime(long createdTime) {
this.createdTime = createdTime;
setCreatedTimeIsSet(true);
- return this;
}
public void unsetCreatedTime() {
@@ -471,10 +456,9 @@ public class UserGroup implements org.apache.thrift.TBase<UserGroup, UserGroup._
return this.updatedTime;
}
- public UserGroup setUpdatedTime(long updatedTime) {
+ public void setUpdatedTime(long updatedTime) {
this.updatedTime = updatedTime;
setUpdatedTimeIsSet(true);
- return this;
}
public void unsetUpdatedTime() {
@@ -509,9 +493,8 @@ public class UserGroup implements org.apache.thrift.TBase<UserGroup, UserGroup._
return this.groupAdmins;
}
- public UserGroup setGroupAdmins(java.util.List<GroupAdmin> groupAdmins) {
+ public void setGroupAdmins(java.util.List<GroupAdmin> groupAdmins) {
this.groupAdmins = groupAdmins;
- return this;
}
public void unsetGroupAdmins() {
@@ -1197,8 +1180,6 @@ public class UserGroup implements org.apache.thrift.TBase<UserGroup, UserGroup._
iprot.readFieldEnd();
}
iprot.readStructEnd();
-
- // check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
diff --git a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/sharing_modelsConstants.java b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/sharing_modelsConstants.java
index 8f33a5c..4390099 100644
--- a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/sharing_modelsConstants.java
+++ b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/models/sharing_modelsConstants.java
@@ -1,19 +1,20 @@
- /*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.10.0)
*