Compare commits

...

30 Commits

Author SHA1 Message Date
e5cb8e7517 Merge branch 'develop' into stable 2021-09-01 14:41:53 -04:00
e6de135012 repo ids 2021-09-01 14:41:47 -04:00
94f3de6386 v1.1.1 pom 2021-09-01 14:41:18 -04:00
41f74eddc9 removed v1; moved distman from tiles 2021-09-01 14:39:56 -04:00
a258ccf045 v1.1.x pom 2021-08-31 14:59:32 -04:00
a3ab8a5c08 Merge branch 'develop' into stable 2021-08-31 13:28:40 -04:00
5399a77993 updated for commons-rest-api v1.1.x 2021-08-31 13:27:33 -04:00
78f006849f v1.0.3-v1 pom & common v1.0.1 2021-07-07 11:10:36 -04:00
3d0cb56680 Merge branch 'develop' into stable 2021-07-07 11:09:59 -04:00
d34d95ae42 added test oauth props 2021-07-07 11:09:46 -04:00
e791bdb1fa refactored junit test classes 2021-06-25 09:29:42 -04:00
6dbb73fa17 using common v1.0.0 2021-06-16 16:10:27 -04:00
7c0dfe919e v1.0.2-v1 pom 2021-06-16 16:03:17 -04:00
8c31f098d4 Merge branch 'develop' into stable 2021-06-16 16:02:42 -04:00
baf2e0ebb6 fixed compile issues 2021-06-07 23:34:18 -04:00
b388ffb9ed refactored using 'common-rest-api' 2021-06-07 23:04:16 -04:00
e2b6ed6177 fixed junit conditional execution 2021-06-05 17:28:38 -04:00
8f1300b097 added URL logging 2021-06-05 17:28:18 -04:00
fe41dbef76 v1.0.1-v1 pom 2021-06-04 13:36:28 -04:00
4fe407de0f Merge branch 'develop' into stable 2021-06-04 13:36:05 -04:00
4fb9724d07 massive refactoring for jaxrs 2021-06-04 13:35:19 -04:00
f7ad93797e Merge branch 'develop' into stable 2021-06-03 21:18:31 -04:00
410013c762 pom refactoring 2021-06-03 21:17:00 -04:00
ff8f84954c renamed project 2021-06-03 21:16:47 -04:00
aad2ed6406 Merge branch 'develop' into stable 2021-06-02 14:46:29 -04:00
2dc0024a1f removed jersey dependency 2021-06-02 14:46:16 -04:00
3609199b4b crlf 2021-06-02 14:45:30 -04:00
6125c6b92e Merge branch 'develop' into stable 2021-05-18 21:49:20 -04:00
4216bc2006 changed versioning scheme 2021-05-18 21:48:20 -04:00
7d432d7410 removed raml for cleaner narrower impl 2021-05-18 21:46:36 -04:00
529 changed files with 3109 additions and 57606 deletions

22
.gitignore vendored
View File

@@ -1,11 +1,11 @@
# Maven
target
pom.xml.versionsBackup
# Eclipse
.project
.classpath
.settings
# Visual Studio Code
.vscode
# Maven
target
pom.xml.versionsBackup
# Eclipse
.project
.classpath
.settings
# Visual Studio Code
.vscode

147
pom.xml
View File

@@ -1,10 +1,10 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.inteligr8</groupId>
<artifactId>activiti-java-enterprise-api</artifactId>
<version>1.11-v2</version>
<groupId>com.inteligr8.alfresco</groupId>
<artifactId>aps-public-rest-api</artifactId>
<version>1.1.1</version>
<name>Alfresco Process Services ReST API Client for Java</name>
<properties>
@@ -16,42 +16,52 @@
installation -->
<aps.baseUrl>https://activiti.alfresco.com</aps.baseUrl>
<junit.version>5.7.2</junit.version>
<spring.version>5.2.14.RELEASE</spring.version>
<spring-boot.version>2.3.10.RELEASE</spring-boot.version>
<jersey.version>2.34</jersey.version>
<cxf.version>3.3.2</cxf.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
<groupId>com.inteligr8</groupId>
<artifactId>common-rest-api</artifactId>
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.ext</groupId>
<artifactId>jersey-proxy-client</artifactId>
<version>${jersey.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-rs-client</artifactId>
<version>${cxf.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-client</artifactId>
<version>${jersey.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.inject</groupId>
<artifactId>jersey-hk2</artifactId>
<version>${jersey.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-json-jackson</artifactId>
<version>${jersey.version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.security</groupId>
<artifactId>oauth2-client</artifactId>
<version>${jersey.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.7.2</version>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
@@ -60,6 +70,12 @@
<version>${spring.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.9</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
@@ -71,21 +87,20 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.7.2</version>
<version>${junit.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>io.repaint.maven</groupId>
<artifactId>tiles-maven-plugin</artifactId>
<version>2.21</version>
<extensions>true</extensions>
<configuration>
<filtering>true</filtering>
<tiles>
<tile>com.inteligr8:maven-public-deploy-tile:[1.0.0,2.0.0)</tile>
</tiles>
</configuration>
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.0.0-M5</version>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
@@ -95,7 +110,7 @@
<profile>
<id>openapi-codegen</id>
</profile>
<!-- RAML seems legacy, but works -->
<!-- RAML seems legacy, but sometimes works -->
<profile>
<id>raml-codegen</id>
<properties>
@@ -116,6 +131,24 @@
</fileset>
</filesets>
</configuration>
<executions>
<execution>
<id>delete-extras</id>
<phase>process-sources</phase>
<goals><goal>clean</goal></goals>
<configuration>
<excludeDefaultDirectories>true</excludeDefaultDirectories>
<filesets>
<fileset>
<directory>${project.build.directory}/ramlgen/java</directory>
<includes>
<include>com/inteligr8/alfresco/activiti/raml/**/*__*.java</include>
</includes>
</fileset>
</filesets>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
@@ -168,6 +201,30 @@
</regexes>
</configuration>
</execution>
<execution>
<id>fix-dupclasses</id>
<phase>process-sources</phase>
<goals>
<goal>replace-file</goal>
</goals>
<configuration>
<filesets>
<fileset>
<directory>${project.build.directory}/ramlgen/java</directory>
<includes>
<include>**/*.java</include>
</includes>
<outputDirectory>src/main/java</outputDirectory>
</fileset>
</filesets>
<regexes>
<regex>
<pattern>([A-Z][A-Za-z0-9]*)__[0-9]+</pattern>
<replacement>$1</replacement>
</regex>
</regexes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
@@ -185,7 +242,7 @@
<basePackage>com.inteligr8.alfresco.activiti.raml</basePackage>
<ramlFile>${project.build.directory}/regexed/activiti.raml</ramlFile>
<includeAdditionalProperties>false</includeAdditionalProperties>
<outputDir>${basedir}/src/main/java</outputDir>
<outputDir>${project.build.directory}/ramlgen/java</outputDir>
<outputVersion>v2</outputVersion>
</configuration>
</execution>
@@ -193,16 +250,28 @@
</plugin>
</plugins>
</build>
<pluginRepositories>
<pluginRepository>
<id>mulesoft-releases</id>
<url>https://repository.mulesoft.org/releases</url>
</pluginRepository>
<pluginRepository>
<id>inteligr8-public</id>
<url>http://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
</project>
<pluginRepositories>
<pluginRepository>
<id>mulesoft-releases</id>
<url>https://repository.mulesoft.org/releases</url>
</pluginRepository>
<pluginRepository>
<id>inteligr8-public</id>
<url>https://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
</pluginRepository>
</pluginRepositories>
<distributionManagement>
<repository>
<id>inteligr8-releases</id>
<url>https://repos.inteligr8.com/nexus/repository/inteligr8-public</url>
</repository>
<snapshotRepository>
<id>inteligr8-snapshots</id>
<url>https://repos.inteligr8.com/nexus/repository/inteligr8-snapshots</url>
</snapshotRepository>
</distributionManagement>
</project>

View File

@@ -0,0 +1,105 @@
package com.inteligr8.alfresco.activiti;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import com.inteligr8.rs.ClientCxfConfiguration;
import com.inteligr8.rs.ClientJerseyConfiguration;
@Configuration
@ComponentScan
public class ApsClientConfiguration implements ClientCxfConfiguration, ClientJerseyConfiguration {
@Value("${process.service.baseUrl:http://localhost:8080/activiti-app}")
private String baseUrl;
@Value("${process.service.security.basicAuth.username:admin@app.activiti.com}")
private String basicAuthUsername;
@Value("${process.service.security.basicAuth.password:admin}")
private String basicAuthPassword;
@Value("${process.service.security.accessToken:#{null}}")
private String accessToken;
@Value("${process.service.security.oauth.tokenUrl:#{null}}")
private String oAuthTokenUrl;
@Value("${process.service.security.oauth.clientId:#{null}}")
private String oAuthClientId;
@Value("${process.service.security.oauth.clientSecret:#{null}}")
private String oAuthClientSecret;
@Value("${process.service.security.oauth.authCode:#{null}}")
private String oAuthAuthCode;
@Value("${process.service.security.oauth.authRedirectUri:#{null}}")
private String oAuthAuthRedirectUri;
@Value("${process.service.security.oauth.grantUsername:#{null}}")
private String oAuthUsername;
@Value("${process.service.security.oauth.grantPassword:#{null}}")
private String oAuthPassword;
@Value("${process.service.cxf.defaultBusEnabled:true}")
private boolean defaultBusEnabled;
@Value("${process.service.jersey.putBodyRequired:true}")
private boolean putBodyRequired;
public String getBaseUrl() {
return this.baseUrl;
}
public String getBasicAuthUsername() {
return this.basicAuthUsername;
}
public String getBasicAuthPassword() {
return this.basicAuthPassword;
}
public String getAccessToken() {
return this.accessToken;
}
public String getOAuthTokenUrl() {
return this.oAuthTokenUrl;
}
public String getOAuthClientId() {
return this.oAuthClientId;
}
public String getOAuthClientSecret() {
return this.oAuthClientSecret;
}
public String getOAuthAuthCode() {
return this.oAuthAuthCode;
}
public String getOAuthAuthRedirectUri() {
return this.oAuthAuthRedirectUri;
}
public String getOAuthUsername() {
return this.oAuthUsername;
}
public String getOAuthPassword() {
return this.oAuthPassword;
}
public boolean isDefaultBusEnabled() {
return this.defaultBusEnabled;
}
public boolean isPutBodyRequired() {
return this.putBodyRequired;
}
}

View File

@@ -0,0 +1,25 @@
package com.inteligr8.alfresco.activiti;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;
import com.inteligr8.rs.ClientCxfConfiguration;
import com.inteligr8.rs.ClientCxfImpl;
/**
* Configured JAX-RS Client & WebTarget for APS & CXF
*/
@Component("aps.client.cxf")
@Lazy
public class ApsClientCxfImpl extends ClientCxfImpl {
@Autowired
private ApsClientConfiguration config;
@Override
protected ClientCxfConfiguration getConfig() {
return this.config;
}
}

View File

@@ -0,0 +1,25 @@
package com.inteligr8.alfresco.activiti;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;
import com.inteligr8.rs.ClientJerseyConfiguration;
import com.inteligr8.rs.ClientJerseyImpl;
/**
* Configured JAX-RS Client & WebTarget for APS & Jersey
*/
@Component("aps.client.jersey")
@Lazy
public class ApsClientJerseyImpl extends ClientJerseyImpl {
@Autowired
private ApsClientConfiguration config;
@Override
protected ClientJerseyConfiguration getConfig() {
return this.config;
}
}

View File

@@ -0,0 +1,39 @@
package com.inteligr8.alfresco.activiti;
import com.inteligr8.alfresco.activiti.api.AdminApi;
import com.inteligr8.alfresco.activiti.api.AppVersionApi;
import com.inteligr8.alfresco.activiti.api.ProcessInstancesApi;
import com.inteligr8.alfresco.activiti.api.ProfileApi;
import com.inteligr8.alfresco.activiti.api.TasksApi;
import com.inteligr8.rs.ClientConfiguration;
/**
* Alfresco Process Services Spring-ready API
*/
public abstract class ApsPublicRestApi {
protected abstract ClientConfiguration getConfig();
protected abstract <T> T getApi(Class<T> apiClass);
public AdminApi getAdminApi() {
return this.getApi(AdminApi.class);
}
public AppVersionApi getAppVersionApi() {
return this.getApi(AppVersionApi.class);
}
public ProcessInstancesApi getProcessInstancesApi() {
return this.getApi(ProcessInstancesApi.class);
}
public ProfileApi getProfileApi() {
return this.getApi(ProfileApi.class);
}
public TasksApi getTasksApi() {
return this.getApi(TasksApi.class);
}
}

View File

@@ -0,0 +1,29 @@
package com.inteligr8.alfresco.activiti;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;
import com.inteligr8.rs.ClientConfiguration;
/**
* Alfresco Process Services Spring-ready API for CXF
*/
@Component("aps.api.cxf")
@Lazy
public class ApsPublicRestApiCxfImpl extends ApsPublicRestApi {
@Autowired
private ApsClientCxfImpl client;
@Override
protected ClientConfiguration getConfig() {
return this.client.getConfig();
}
@Override
protected <T> T getApi(Class<T> apiClass) {
return this.client.getApi(apiClass);
}
}

View File

@@ -0,0 +1,29 @@
package com.inteligr8.alfresco.activiti;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;
import com.inteligr8.rs.ClientConfiguration;
/**
* Alfresco Process Services Spring-ready API for Jersey
*/
@Component("aps.api.jersey")
@Lazy
public class ApsPublicRestApiJerseyImpl extends ApsPublicRestApi {
@Autowired
private ApsClientJerseyImpl client;
@Override
protected ClientConfiguration getConfig() {
return this.client.getConfig();
}
@Override
protected <T> T getApi(Class<T> apiClass) {
return this.client.getApi(apiClass);
}
}

View File

@@ -1,39 +0,0 @@
package com.inteligr8.alfresco.activiti;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.core.Feature;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.inteligr8.alfresco.activiti.raml.resource.enterprise.Enterprise;
/**
* Afresco Process Services Spring Client
*/
@Component
public class Client {
private static final Client INSTANCE = new Client();
public static Client getInstance() {
return Client.INSTANCE;
}
@Autowired
private ClientConfiguration config;
public Enterprise getEnterpriseApi() {
javax.ws.rs.client.Client client = ClientBuilder
.newClient();
Feature feature = this.config.getAuthorizationFeature();
if (feature != null)
client.register(feature);
return new Enterprise(this.config.getBaseUrl() + "/api", client);
}
}

View File

@@ -1,41 +0,0 @@
package com.inteligr8.alfresco.activiti;
import javax.ws.rs.core.Feature;
import org.glassfish.jersey.client.authentication.HttpAuthenticationFeature;
import org.glassfish.jersey.client.oauth2.OAuth2ClientSupport;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@Configuration
@ComponentScan
public class ClientConfiguration {
@Value("${process.service.baseUrl}")
private String baseUrl;
@Value("${process.service.security.basicAuth.username}")
private String basicAuthUsername;
@Value("${process.service.security.basicAuth.password}")
private String basicAuthPassword;
@Value("${process.service.security.accessToken}")
private String accessToken;
public String getBaseUrl() {
return this.baseUrl;
}
public Feature getAuthorizationFeature() {
if (this.basicAuthUsername != null) {
return HttpAuthenticationFeature.basic(this.basicAuthUsername, this.basicAuthPassword);
} else if (this.accessToken != null) {
return OAuth2ClientSupport.feature(this.accessToken);
}
return null;
}
}

View File

@@ -0,0 +1,22 @@
package com.inteligr8.alfresco.activiti.api;
import java.util.List;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import com.inteligr8.alfresco.activiti.model.Tenant;
@Path("/api/enterprise/admin")
public interface AdminApi {
@GET
@Path("/tenants")
@Consumes({ "application/json" })
@Produces({ "application/json" })
public List<Tenant> getTenants();
}

View File

@@ -0,0 +1,17 @@
package com.inteligr8.alfresco.activiti.api;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import com.inteligr8.alfresco.activiti.model.AppVersion;
@Path("/api/enterprise/app-version")
public interface AppVersionApi {
@GET
@Produces({ "application/json" })
public AppVersion get();
}

View File

@@ -0,0 +1,72 @@
package com.inteligr8.alfresco.activiti.api;
import java.util.List;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import com.inteligr8.alfresco.activiti.model.CreateProcessInstance;
import com.inteligr8.alfresco.activiti.model.ProcessInstance;
import com.inteligr8.alfresco.activiti.model.Variable;
@Path("/api/enterprise/process-instances")
public interface ProcessInstancesApi {
@POST
@Consumes({ "application/json" })
@Produces({ "application/json" })
ProcessInstance create(CreateProcessInstance processInstance);
@GET
@Path("{processInstanceId}")
@Produces({ "application/json" })
ProcessInstance get(@PathParam("processInstanceId") String processInstanceId);
@DELETE
@Path("{processInstanceId}")
void delete(@PathParam("processInstanceId") String processInstanceId);
@PUT
@Path("{processInstanceId}/activate")
@Produces({ "application/json" })
ProcessInstance activate(@PathParam("processInstanceId") String processInstanceId);
@PUT
@Path("{processInstanceId}/suspend")
@Produces({ "application/json" })
ProcessInstance suspend(@PathParam("processInstanceId") String processInstanceId);
@GET
@Path("{processInstanceId}/variables")
@Produces({ "application/json" })
List<Variable> getVariables(@PathParam("processInstanceId") String processInstanceId);
@PUT
@Path("{processInstanceId}/variables")
@Consumes({ "application/json" })
@Produces({ "application/json" })
List<Variable> setVariables(@PathParam("processInstanceId") String processInstanceId, List<Variable> variables);
@GET
@Path("{processInstanceId}/variables/{variableName}")
@Produces({ "application/json" })
Variable getVariable(@PathParam("processInstanceId") String processInstanceId, @PathParam("variableName") String variableName);
@PUT
@Path("{processInstanceId}/variables/{variableName}")
@Consumes({ "application/json" })
@Produces({ "application/json" })
Variable setVariable(@PathParam("processInstanceId") String processInstanceId, @PathParam("variableName") String variableName, Variable variable);
@DELETE
@Path("{processInstanceId}/variables/{variableName}")
void deleteVariable(@PathParam("processInstanceId") String processInstanceId, @PathParam("variableName") String variableName);
}

View File

@@ -0,0 +1,17 @@
package com.inteligr8.alfresco.activiti.api;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import com.inteligr8.alfresco.activiti.model.User;
@Path("/api/enterprise/profile")
public interface ProfileApi {
@GET
@Produces({ "application/json" })
User get();
}

View File

@@ -0,0 +1,54 @@
package com.inteligr8.alfresco.activiti.api;
import java.util.List;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import com.inteligr8.alfresco.activiti.model.Task;
import com.inteligr8.alfresco.activiti.model.TaskUpdate;
import com.inteligr8.alfresco.activiti.model.Variable;
@Path("/api/enterprise/tasks")
public interface TasksApi {
@PUT
@Path("{taskId}")
@Consumes({ "application/json" })
@Produces({ "application/json" })
public Task update(@PathParam("taskId") String taskId, TaskUpdate taskUpdate);
@GET
@Path("{taskId}/variables")
@Produces({ "application/json" })
List<Variable> getVariables(@PathParam("taskId") String taskId, @QueryParam("scope") String scope);
@PUT
@Path("{taskId}/variables")
@Consumes({ "application/json" })
@Produces({ "application/json" })
List<Variable> setVariables(@PathParam("taskId") String taskId, List<Variable> variables);
@GET
@Path("{taskId}/variables/{variableName}")
@Produces({ "application/json" })
Variable getVariable(@PathParam("taskId") String taskId, @PathParam("variableName") String variableName, @QueryParam("scope") String scope);
@PUT
@Path("{taskId}/variables/{variableName}")
@Consumes({ "application/json" })
@Produces({ "application/json" })
Variable setVariable(@PathParam("taskId") String taskId, @PathParam("variableName") String variableName, Variable variable);
@DELETE
@Path("{taskId}/variables/{variableName}")
void deleteVariable(@PathParam("taskId") String taskId, @PathParam("variableName") String variableName, @QueryParam("scope") String scope);
}

View File

@@ -0,0 +1,100 @@
package com.inteligr8.alfresco.activiti.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"description",
"icon",
"id",
"name",
"theme"
})
public class AppLight {
@JsonProperty("description")
private String description;
@JsonProperty("icon")
private String icon;
@JsonProperty("id")
private Long id;
@JsonProperty("name")
private String name;
@JsonProperty("theme")
private String theme;
/**
* No args constructor for use in serialization
*/
public AppLight() {
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public AppLight withDescription(String description) {
this.description = description;
return this;
}
public String getIcon() {
return icon;
}
public void setIcon(String icon) {
this.icon = icon;
}
public AppLight withIcon(String icon) {
this.icon = icon;
return this;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public AppLight withId(Long id) {
this.id = id;
return this;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public AppLight withName(String name) {
this.name = name;
return this;
}
public String getTheme() {
return theme;
}
public void setTheme(String theme) {
this.theme = theme;
}
public AppLight withTheme(String theme) {
this.theme = theme;
return this;
}
}

View File

@@ -0,0 +1,99 @@
package com.inteligr8.alfresco.activiti.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"revisionVersion",
"edition",
"type",
"majorVersion",
"minorVersion"
})
public class AppVersion {
@JsonProperty("revisionVersion")
private String revisionVersion;
@JsonProperty("edition")
private String edition;
@JsonProperty("type")
private String type;
@JsonProperty("majorVersion")
private String majorVersion;
@JsonProperty("minorVersion")
private String minorVersion;
/**
* No args constructor for use in serialization
*/
public AppVersion() {
}
public String getRevisionVersion() {
return revisionVersion;
}
public void setRevisionVersion(String revisionVersion) {
this.revisionVersion = revisionVersion;
}
public AppVersion withRevisionVersion(String revisionVersion) {
this.setRevisionVersion(revisionVersion);
return this;
}
public String getEdition() {
return edition;
}
public void setEdition(String edition) {
this.edition = edition;
}
public AppVersion withEdition(String edition) {
this.setEdition(edition);
return this;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public AppVersion withType(String type) {
this.setType(type);
return this;
}
public String getMajorVersion() {
return majorVersion;
}
public void setMajorVersion(String majorVersion) {
this.majorVersion = majorVersion;
}
public AppVersion withMajorVersion(String majorVersion) {
this.setMajorVersion(majorVersion);
return this;
}
public String getMinorVersion() {
return minorVersion;
}
public void setMinorVersion(String minorVersion) {
this.minorVersion = minorVersion;
}
public AppVersion withMinorVersion(String minorVersion) {
this.setMinorVersion(minorVersion);
return this;
}
}

View File

@@ -0,0 +1,136 @@
package com.inteligr8.alfresco.activiti.model;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"businessKey",
"name",
"outcome",
"processDefinitionId",
"processDefinitionKey",
"values",
"variables"
})
public class CreateProcessInstance {
@JsonProperty("businessKey")
private String businessKey;
@JsonProperty("name")
private String name;
@JsonProperty("outcome")
private String outcome;
@JsonProperty("processDefinitionId")
private String processDefinitionId;
@JsonProperty("processDefinitionKey")
private String processDefinitionKey;
@JsonProperty("values")
private Object values;
@JsonProperty("variables")
private List<Variable> variables = new ArrayList<Variable>();
/**
* No args constructor for use in serialization
*/
public CreateProcessInstance() {
}
public String getBusinessKey() {
return businessKey;
}
public void setBusinessKey(String businessKey) {
this.businessKey = businessKey;
}
public CreateProcessInstance withBusinessKey(String businessKey) {
this.businessKey = businessKey;
return this;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public CreateProcessInstance withName(String name) {
this.name = name;
return this;
}
public String getOutcome() {
return outcome;
}
public void setOutcome(String outcome) {
this.outcome = outcome;
}
public CreateProcessInstance withOutcome(String outcome) {
this.outcome = outcome;
return this;
}
public String getProcessDefinitionId() {
return processDefinitionId;
}
public void setProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
}
public CreateProcessInstance withProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
return this;
}
public String getProcessDefinitionKey() {
return processDefinitionKey;
}
public void setProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
}
public CreateProcessInstance withProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
return this;
}
public Object getValues() {
return values;
}
public void setValues(Object values) {
this.values = values;
}
public CreateProcessInstance withValues(Object values) {
this.values = values;
return this;
}
public List<Variable> getVariables() {
return variables;
}
public void setVariables(List<Variable> variables) {
this.variables = variables;
}
public CreateProcessInstance withVariables(List<Variable> variables) {
this.variables = variables;
return this;
}
}

View File

@@ -0,0 +1,231 @@
package com.inteligr8.alfresco.activiti.model;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"capabilities",
"externalId",
"groups",
"id",
"lastSyncTimeStamp",
"manager",
"name",
"parentGroupId",
"status",
"tenantId",
"type",
"userCount",
"users"
})
public class Group {
@JsonProperty("capabilities")
private List<GroupCapability> capabilities = new ArrayList<GroupCapability>();
@JsonProperty("externalId")
private String externalId;
@JsonProperty("groups")
private List<Group> groups = new ArrayList<Group>();
@JsonProperty("id")
private Long id;
@JsonProperty("lastSyncTimeStamp")
private String lastSyncTimeStamp;
@JsonProperty("manager")
private User manager;
@JsonProperty("name")
private String name;
@JsonProperty("parentGroupId")
private Long parentGroupId;
@JsonProperty("status")
private String status;
@JsonProperty("tenantId")
private Long tenantId;
@JsonProperty("type")
private Long type;
@JsonProperty("userCount")
private Long userCount;
@JsonProperty("users")
private List<User> users;
/**
* No args constructor for use in serialization
*/
public Group() {
}
public List<GroupCapability> getCapabilities() {
return capabilities;
}
public void setCapabilities(List<GroupCapability> capabilities) {
this.capabilities = capabilities;
}
public Group withCapabilities(List<GroupCapability> capabilities) {
this.capabilities = capabilities;
return this;
}
public String getExternalId() {
return externalId;
}
public void setExternalId(String externalId) {
this.externalId = externalId;
}
public Group withExternalId(String externalId) {
this.externalId = externalId;
return this;
}
public List<Group> getGroups() {
return groups;
}
public void setGroups(List<Group> groups) {
this.groups = groups;
}
public Group withGroups(List<Group> groups) {
this.groups = groups;
return this;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Group withId(Long id) {
this.id = id;
return this;
}
public String getLastSyncTimeStamp() {
return lastSyncTimeStamp;
}
public void setLastSyncTimeStamp(String lastSyncTimeStamp) {
this.lastSyncTimeStamp = lastSyncTimeStamp;
}
public Group withLastSyncTimeStamp(String lastSyncTimeStamp) {
this.lastSyncTimeStamp = lastSyncTimeStamp;
return this;
}
public User getManager() {
return manager;
}
public void setManager(User manager) {
this.manager = manager;
}
public Group withManager(User manager) {
this.manager = manager;
return this;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Group withName(String name) {
this.name = name;
return this;
}
public Long getParentGroupId() {
return parentGroupId;
}
public void setParentGroupId(Long parentGroupId) {
this.parentGroupId = parentGroupId;
}
public Group withParentGroupId(Long parentGroupId) {
this.parentGroupId = parentGroupId;
return this;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public Group withStatus(String status) {
this.status = status;
return this;
}
public Long getTenantId() {
return tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
public Group withTenantId(Long tenantId) {
this.tenantId = tenantId;
return this;
}
public Long getType() {
return type;
}
public void setType(Long type) {
this.type = type;
}
public Group withType(Long type) {
this.type = type;
return this;
}
public Long getUserCount() {
return userCount;
}
public void setUserCount(Long userCount) {
this.userCount = userCount;
}
public Group withUserCount(Long userCount) {
this.userCount = userCount;
return this;
}
public List<User> getUsers() {
return users;
}
public void setUsers(List<User> users) {
this.users = users;
}
public Group withUsers(List<User> users) {
this.setUsers(users);
return this;
}
}

View File

@@ -0,0 +1,57 @@
package com.inteligr8.alfresco.activiti.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"id",
"name"
})
public class GroupCapability {
@JsonProperty("id")
private Long id;
@JsonProperty("name")
private String name;
/**
* No args constructor for use in serialization
*/
public GroupCapability() {
}
public GroupCapability(Long id, String name) {
this.id = id;
this.name = name;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public GroupCapability withId(Long id) {
this.id = id;
return this;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public GroupCapability withName(String name) {
this.name = name;
return this;
}
}

View File

@@ -0,0 +1,312 @@
package com.inteligr8.alfresco.activiti.model;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"businessKey",
"ended",
"graphicalNotationDefined",
"id",
"name",
"processDefinitionCategory",
"processDefinitionDeploymentId",
"processDefinitionDescription",
"processDefinitionId",
"processDefinitionKey",
"processDefinitionName",
"processDefinitionVersion",
"startFormDefined",
"started",
"startedBy",
"suspended",
"tenantId",
"variables"
})
public class ProcessInstance {
@JsonProperty("businessKey")
private String businessKey;
@JsonProperty("ended")
private String ended;
@JsonProperty("graphicalNotationDefined")
private Boolean graphicalNotationDefined;
@JsonProperty("id")
private String id;
@JsonProperty("name")
private String name;
@JsonProperty("processDefinitionCategory")
private String processDefinitionCategory;
@JsonProperty("processDefinitionDeploymentId")
private String processDefinitionDeploymentId;
@JsonProperty("processDefinitionDescription")
private String processDefinitionDescription;
@JsonProperty("processDefinitionId")
private String processDefinitionId;
@JsonProperty("processDefinitionKey")
private String processDefinitionKey;
@JsonProperty("processDefinitionName")
private String processDefinitionName;
@JsonProperty("processDefinitionVersion")
private Long processDefinitionVersion;
@JsonProperty("startFormDefined")
private Boolean startFormDefined;
@JsonProperty("started")
private String started;
@JsonProperty("startedBy")
private UserLight startedBy;
@JsonProperty("suspended")
private Boolean suspended;
@JsonProperty("tenantId")
private String tenantId;
@JsonProperty("variables")
private List<Variable> variables = new ArrayList<Variable>();
/**
* No args constructor for use in serialization
*/
public ProcessInstance() {
}
public String getBusinessKey() {
return businessKey;
}
public void setBusinessKey(String businessKey) {
this.businessKey = businessKey;
}
public ProcessInstance withBusinessKey(String businessKey) {
this.businessKey = businessKey;
return this;
}
public String getEnded() {
return ended;
}
public void setEnded(String ended) {
this.ended = ended;
}
public ProcessInstance withEnded(String ended) {
this.ended = ended;
return this;
}
public Boolean getGraphicalNotationDefined() {
return graphicalNotationDefined;
}
public void setGraphicalNotationDefined(Boolean graphicalNotationDefined) {
this.graphicalNotationDefined = graphicalNotationDefined;
}
public ProcessInstance withGraphicalNotationDefined(Boolean graphicalNotationDefined) {
this.graphicalNotationDefined = graphicalNotationDefined;
return this;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public ProcessInstance withId(String id) {
this.id = id;
return this;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public ProcessInstance withName(String name) {
this.name = name;
return this;
}
public String getProcessDefinitionCategory() {
return processDefinitionCategory;
}
public void setProcessDefinitionCategory(String processDefinitionCategory) {
this.processDefinitionCategory = processDefinitionCategory;
}
public ProcessInstance withProcessDefinitionCategory(String processDefinitionCategory) {
this.processDefinitionCategory = processDefinitionCategory;
return this;
}
public String getProcessDefinitionDeploymentId() {
return processDefinitionDeploymentId;
}
public void setProcessDefinitionDeploymentId(String processDefinitionDeploymentId) {
this.processDefinitionDeploymentId = processDefinitionDeploymentId;
}
public ProcessInstance withProcessDefinitionDeploymentId(String processDefinitionDeploymentId) {
this.processDefinitionDeploymentId = processDefinitionDeploymentId;
return this;
}
public String getProcessDefinitionDescription() {
return processDefinitionDescription;
}
public void setProcessDefinitionDescription(String processDefinitionDescription) {
this.processDefinitionDescription = processDefinitionDescription;
}
public ProcessInstance withProcessDefinitionDescription(String processDefinitionDescription) {
this.processDefinitionDescription = processDefinitionDescription;
return this;
}
public String getProcessDefinitionId() {
return processDefinitionId;
}
public void setProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
}
public ProcessInstance withProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
return this;
}
public String getProcessDefinitionKey() {
return processDefinitionKey;
}
public void setProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
}
public ProcessInstance withProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
return this;
}
public String getProcessDefinitionName() {
return processDefinitionName;
}
public void setProcessDefinitionName(String processDefinitionName) {
this.processDefinitionName = processDefinitionName;
}
public ProcessInstance withProcessDefinitionName(String processDefinitionName) {
this.processDefinitionName = processDefinitionName;
return this;
}
public Long getProcessDefinitionVersion() {
return processDefinitionVersion;
}
public void setProcessDefinitionVersion(Long processDefinitionVersion) {
this.processDefinitionVersion = processDefinitionVersion;
}
public ProcessInstance withProcessDefinitionVersion(Long processDefinitionVersion) {
this.processDefinitionVersion = processDefinitionVersion;
return this;
}
public Boolean getStartFormDefined() {
return startFormDefined;
}
public void setStartFormDefined(Boolean startFormDefined) {
this.startFormDefined = startFormDefined;
}
public ProcessInstance withStartFormDefined(Boolean startFormDefined) {
this.startFormDefined = startFormDefined;
return this;
}
public String getStarted() {
return started;
}
public void setStarted(String started) {
this.started = started;
}
public ProcessInstance withStarted(String started) {
this.started = started;
return this;
}
public UserLight getStartedBy() {
return startedBy;
}
public void setStartedBy(UserLight startedBy) {
this.startedBy = startedBy;
}
public ProcessInstance withStartedBy(UserLight startedBy) {
this.startedBy = startedBy;
return this;
}
public Boolean getSuspended() {
return suspended;
}
public void setSuspended(Boolean suspended) {
this.suspended = suspended;
}
public ProcessInstance withSuspended(Boolean suspended) {
this.suspended = suspended;
return this;
}
public String getTenantId() {
return tenantId;
}
public void setTenantId(String tenantId) {
this.tenantId = tenantId;
}
public ProcessInstance withTenantId(String tenantId) {
this.tenantId = tenantId;
return this;
}
public List<Variable> getVariables() {
return variables;
}
public void setVariables(List<Variable> variables) {
this.variables = variables;
}
public ProcessInstance withVariables(List<Variable> variables) {
this.variables = variables;
return this;
}
}

View File

@@ -0,0 +1,24 @@
package com.inteligr8.alfresco.activiti.model;
import java.util.HashMap;
public class QuickMap<K, V> extends HashMap<K, V> {
private static final long serialVersionUID = 6480454666954785899L;
public QuickMap(int initialCapacity) {
super(initialCapacity);
}
public QuickMap<K, V> with(K key, V value) {
if (value != null)
this.put(key, value);
return this;
}
public QuickMap<K, V> withNull(K key, V value) {
this.put(key, value);
return this;
}
}

View File

@@ -0,0 +1,535 @@
package com.inteligr8.alfresco.activiti.model;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"adhocTaskCanBeReassigned",
"assignee",
"category",
"created",
"description",
"dueDate",
"duration",
"endDate",
"executionId",
"formKey",
"id",
"initiatorCanCompleteTask",
"involvedPeople",
"managerOfCandidateGroup",
"memberOfCandidateGroup",
"memberOfCandidateUsers",
"name",
"parentTaskId",
"parentTaskName",
"priority",
"processDefinitionCategory",
"processDefinitionDeploymentId",
"processDefinitionDescription",
"processDefinitionId",
"processDefinitionKey",
"processDefinitionName",
"processDefinitionVersion",
"processInstanceId",
"processInstanceName",
"processInstanceStartUserId",
"taskDefinitionKey",
"variables"
})
public class Task {
@JsonProperty("adhocTaskCanBeReassigned")
private Boolean adhocTaskCanBeReassigned;
@JsonProperty("assignee")
private UserLight assignee;
@JsonProperty("category")
private String category;
@JsonProperty("created")
private String created;
@JsonProperty("description")
private String description;
@JsonProperty("dueDate")
private String dueDate;
@JsonProperty("duration")
private Long duration;
@JsonProperty("endDate")
private String endDate;
@JsonProperty("executionId")
private String executionId;
@JsonProperty("formKey")
private String formKey;
@JsonProperty("id")
private String id;
@JsonProperty("initiatorCanCompleteTask")
private Boolean initiatorCanCompleteTask;
@JsonProperty("involvedPeople")
private List<UserLight> involvedPeople = new ArrayList<UserLight>();
@JsonProperty("managerOfCandidateGroup")
private Boolean managerOfCandidateGroup;
@JsonProperty("memberOfCandidateGroup")
private Boolean memberOfCandidateGroup;
@JsonProperty("memberOfCandidateUsers")
private Boolean memberOfCandidateUsers;
@JsonProperty("name")
private String name;
@JsonProperty("parentTaskId")
private String parentTaskId;
@JsonProperty("parentTaskName")
private String parentTaskName;
@JsonProperty("priority")
private Long priority;
@JsonProperty("processDefinitionCategory")
private String processDefinitionCategory;
@JsonProperty("processDefinitionDeploymentId")
private String processDefinitionDeploymentId;
@JsonProperty("processDefinitionDescription")
private String processDefinitionDescription;
@JsonProperty("processDefinitionId")
private String processDefinitionId;
@JsonProperty("processDefinitionKey")
private String processDefinitionKey;
@JsonProperty("processDefinitionName")
private String processDefinitionName;
@JsonProperty("processDefinitionVersion")
private Long processDefinitionVersion;
@JsonProperty("processInstanceId")
private String processInstanceId;
@JsonProperty("processInstanceName")
private String processInstanceName;
@JsonProperty("processInstanceStartUserId")
private String processInstanceStartUserId;
@JsonProperty("taskDefinitionKey")
private String taskDefinitionKey;
@JsonProperty("variables")
private List<Variable> variables = new ArrayList<Variable>();
/**
* No args constructor for use in serialization
*/
public Task() {
}
public Boolean getAdhocTaskCanBeReassigned() {
return adhocTaskCanBeReassigned;
}
public void setAdhocTaskCanBeReassigned(Boolean adhocTaskCanBeReassigned) {
this.adhocTaskCanBeReassigned = adhocTaskCanBeReassigned;
}
public Task withAdhocTaskCanBeReassigned(Boolean adhocTaskCanBeReassigned) {
this.adhocTaskCanBeReassigned = adhocTaskCanBeReassigned;
return this;
}
public UserLight getAssignee() {
return assignee;
}
public void setAssignee(UserLight assignee) {
this.assignee = assignee;
}
public Task withAssignee(UserLight assignee) {
this.assignee = assignee;
return this;
}
public String getCategory() {
return category;
}
public void setCategory(String category) {
this.category = category;
}
public Task withCategory(String category) {
this.category = category;
return this;
}
public String getCreated() {
return created;
}
public void setCreated(String created) {
this.created = created;
}
public Task withCreated(String created) {
this.created = created;
return this;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public Task withDescription(String description) {
this.description = description;
return this;
}
public String getDueDate() {
return dueDate;
}
public void setDueDate(String dueDate) {
this.dueDate = dueDate;
}
public Task withDueDate(String dueDate) {
this.dueDate = dueDate;
return this;
}
public Long getDuration() {
return duration;
}
public void setDuration(Long duration) {
this.duration = duration;
}
public Task withDuration(Long duration) {
this.duration = duration;
return this;
}
public String getEndDate() {
return endDate;
}
public void setEndDate(String endDate) {
this.endDate = endDate;
}
public Task withEndDate(String endDate) {
this.endDate = endDate;
return this;
}
public String getExecutionId() {
return executionId;
}
public void setExecutionId(String executionId) {
this.executionId = executionId;
}
public Task withExecutionId(String executionId) {
this.executionId = executionId;
return this;
}
public String getFormKey() {
return formKey;
}
public void setFormKey(String formKey) {
this.formKey = formKey;
}
public Task withFormKey(String formKey) {
this.formKey = formKey;
return this;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public Task withId(String id) {
this.id = id;
return this;
}
public Boolean getInitiatorCanCompleteTask() {
return initiatorCanCompleteTask;
}
public void setInitiatorCanCompleteTask(Boolean initiatorCanCompleteTask) {
this.initiatorCanCompleteTask = initiatorCanCompleteTask;
}
public Task withInitiatorCanCompleteTask(Boolean initiatorCanCompleteTask) {
this.initiatorCanCompleteTask = initiatorCanCompleteTask;
return this;
}
public List<UserLight> getInvolvedPeople() {
return involvedPeople;
}
public void setInvolvedPeople(List<UserLight> involvedPeople) {
this.involvedPeople = involvedPeople;
}
public Task withInvolvedPeople(List<UserLight> involvedPeople) {
this.involvedPeople = involvedPeople;
return this;
}
public Boolean getManagerOfCandidateGroup() {
return managerOfCandidateGroup;
}
public void setManagerOfCandidateGroup(Boolean managerOfCandidateGroup) {
this.managerOfCandidateGroup = managerOfCandidateGroup;
}
public Task withManagerOfCandidateGroup(Boolean managerOfCandidateGroup) {
this.managerOfCandidateGroup = managerOfCandidateGroup;
return this;
}
public Boolean getMemberOfCandidateGroup() {
return memberOfCandidateGroup;
}
public void setMemberOfCandidateGroup(Boolean memberOfCandidateGroup) {
this.memberOfCandidateGroup = memberOfCandidateGroup;
}
public Task withMemberOfCandidateGroup(Boolean memberOfCandidateGroup) {
this.memberOfCandidateGroup = memberOfCandidateGroup;
return this;
}
public Boolean getMemberOfCandidateUsers() {
return memberOfCandidateUsers;
}
public void setMemberOfCandidateUsers(Boolean memberOfCandidateUsers) {
this.memberOfCandidateUsers = memberOfCandidateUsers;
}
public Task withMemberOfCandidateUsers(Boolean memberOfCandidateUsers) {
this.memberOfCandidateUsers = memberOfCandidateUsers;
return this;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Task withName(String name) {
this.name = name;
return this;
}
public String getParentTaskId() {
return parentTaskId;
}
public void setParentTaskId(String parentTaskId) {
this.parentTaskId = parentTaskId;
}
public Task withParentTaskId(String parentTaskId) {
this.parentTaskId = parentTaskId;
return this;
}
public String getParentTaskName() {
return parentTaskName;
}
public void setParentTaskName(String parentTaskName) {
this.parentTaskName = parentTaskName;
}
public Task withParentTaskName(String parentTaskName) {
this.parentTaskName = parentTaskName;
return this;
}
public Long getPriority() {
return priority;
}
public void setPriority(Long priority) {
this.priority = priority;
}
public Task withPriority(Long priority) {
this.priority = priority;
return this;
}
public String getProcessDefinitionCategory() {
return processDefinitionCategory;
}
public void setProcessDefinitionCategory(String processDefinitionCategory) {
this.processDefinitionCategory = processDefinitionCategory;
}
public Task withProcessDefinitionCategory(String processDefinitionCategory) {
this.processDefinitionCategory = processDefinitionCategory;
return this;
}
public String getProcessDefinitionDeploymentId() {
return processDefinitionDeploymentId;
}
public void setProcessDefinitionDeploymentId(String processDefinitionDeploymentId) {
this.processDefinitionDeploymentId = processDefinitionDeploymentId;
}
public Task withProcessDefinitionDeploymentId(String processDefinitionDeploymentId) {
this.processDefinitionDeploymentId = processDefinitionDeploymentId;
return this;
}
public String getProcessDefinitionDescription() {
return processDefinitionDescription;
}
public void setProcessDefinitionDescription(String processDefinitionDescription) {
this.processDefinitionDescription = processDefinitionDescription;
}
public Task withProcessDefinitionDescription(String processDefinitionDescription) {
this.processDefinitionDescription = processDefinitionDescription;
return this;
}
public String getProcessDefinitionId() {
return processDefinitionId;
}
public void setProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
}
public Task withProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
return this;
}
public String getProcessDefinitionKey() {
return processDefinitionKey;
}
public void setProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
}
public Task withProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
return this;
}
public String getProcessDefinitionName() {
return processDefinitionName;
}
public void setProcessDefinitionName(String processDefinitionName) {
this.processDefinitionName = processDefinitionName;
}
public Task withProcessDefinitionName(String processDefinitionName) {
this.processDefinitionName = processDefinitionName;
return this;
}
public Long getProcessDefinitionVersion() {
return processDefinitionVersion;
}
public void setProcessDefinitionVersion(Long processDefinitionVersion) {
this.processDefinitionVersion = processDefinitionVersion;
}
public Task withProcessDefinitionVersion(Long processDefinitionVersion) {
this.processDefinitionVersion = processDefinitionVersion;
return this;
}
public String getProcessInstanceId() {
return processInstanceId;
}
public void setProcessInstanceId(String processInstanceId) {
this.processInstanceId = processInstanceId;
}
public Task withProcessInstanceId(String processInstanceId) {
this.processInstanceId = processInstanceId;
return this;
}
public String getProcessInstanceName() {
return processInstanceName;
}
public void setProcessInstanceName(String processInstanceName) {
this.processInstanceName = processInstanceName;
}
public Task withProcessInstanceName(String processInstanceName) {
this.processInstanceName = processInstanceName;
return this;
}
public String getProcessInstanceStartUserId() {
return processInstanceStartUserId;
}
public void setProcessInstanceStartUserId(String processInstanceStartUserId) {
this.processInstanceStartUserId = processInstanceStartUserId;
}
public Task withProcessInstanceStartUserId(String processInstanceStartUserId) {
this.processInstanceStartUserId = processInstanceStartUserId;
return this;
}
public String getTaskDefinitionKey() {
return taskDefinitionKey;
}
public void setTaskDefinitionKey(String taskDefinitionKey) {
this.taskDefinitionKey = taskDefinitionKey;
}
public Task withTaskDefinitionKey(String taskDefinitionKey) {
this.taskDefinitionKey = taskDefinitionKey;
return this;
}
public List<Variable> getVariables() {
return variables;
}
public void setVariables(List<Variable> variables) {
this.variables = variables;
}
public Task withVariables(List<Variable> variables) {
this.variables = variables;
return this;
}
}

View File

@@ -0,0 +1,244 @@
package com.inteligr8.alfresco.activiti.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"category",
"categorySet",
"description",
"descriptionSet",
"dueDate",
"dueDateSet",
"formKey",
"formKeySet",
"name",
"nameSet",
"parentTaskId",
"parentTaskIdSet",
"priority",
"prioritySet"
})
public class TaskUpdate {
@JsonProperty("category")
private String category;
@JsonProperty("categorySet")
private Boolean categorySet;
@JsonProperty("description")
private String description;
@JsonProperty("descriptionSet")
private Boolean descriptionSet;
@JsonProperty("dueDate")
private String dueDate;
@JsonProperty("dueDateSet")
private Boolean dueDateSet;
@JsonProperty("formKey")
private String formKey;
@JsonProperty("formKeySet")
private Boolean formKeySet;
@JsonProperty("name")
private String name;
@JsonProperty("nameSet")
private Boolean nameSet;
@JsonProperty("parentTaskId")
private String parentTaskId;
@JsonProperty("parentTaskIdSet")
private Boolean parentTaskIdSet;
@JsonProperty("priority")
private Long priority;
@JsonProperty("prioritySet")
private Boolean prioritySet;
/**
* No args constructor for use in serialization
*/
public TaskUpdate() {
}
public String getCategory() {
return category;
}
public void setCategory(String category) {
this.category = category;
}
public TaskUpdate withCategory(String category) {
this.category = category;
return this;
}
public Boolean getCategorySet() {
return categorySet;
}
public void setCategorySet(Boolean categorySet) {
this.categorySet = categorySet;
}
public TaskUpdate withCategorySet(Boolean categorySet) {
this.categorySet = categorySet;
return this;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public TaskUpdate withDescription(String description) {
this.description = description;
return this;
}
public Boolean getDescriptionSet() {
return descriptionSet;
}
public void setDescriptionSet(Boolean descriptionSet) {
this.descriptionSet = descriptionSet;
}
public TaskUpdate withDescriptionSet(Boolean descriptionSet) {
this.descriptionSet = descriptionSet;
return this;
}
public String getDueDate() {
return dueDate;
}
public void setDueDate(String dueDate) {
this.dueDate = dueDate;
}
public TaskUpdate withDueDate(String dueDate) {
this.dueDate = dueDate;
return this;
}
public Boolean getDueDateSet() {
return dueDateSet;
}
public void setDueDateSet(Boolean dueDateSet) {
this.dueDateSet = dueDateSet;
}
public TaskUpdate withDueDateSet(Boolean dueDateSet) {
this.dueDateSet = dueDateSet;
return this;
}
public String getFormKey() {
return formKey;
}
public void setFormKey(String formKey) {
this.formKey = formKey;
}
public TaskUpdate withFormKey(String formKey) {
this.formKey = formKey;
return this;
}
public Boolean getFormKeySet() {
return formKeySet;
}
public void setFormKeySet(Boolean formKeySet) {
this.formKeySet = formKeySet;
}
public TaskUpdate withFormKeySet(Boolean formKeySet) {
this.formKeySet = formKeySet;
return this;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public TaskUpdate withName(String name) {
this.name = name;
return this;
}
public Boolean getNameSet() {
return nameSet;
}
public void setNameSet(Boolean nameSet) {
this.nameSet = nameSet;
}
public TaskUpdate withNameSet(Boolean nameSet) {
this.nameSet = nameSet;
return this;
}
public String getParentTaskId() {
return parentTaskId;
}
public void setParentTaskId(String parentTaskId) {
this.parentTaskId = parentTaskId;
}
public TaskUpdate withParentTaskId(String parentTaskId) {
this.parentTaskId = parentTaskId;
return this;
}
public Boolean getParentTaskIdSet() {
return parentTaskIdSet;
}
public void setParentTaskIdSet(Boolean parentTaskIdSet) {
this.parentTaskIdSet = parentTaskIdSet;
}
public TaskUpdate withParentTaskIdSet(Boolean parentTaskIdSet) {
this.parentTaskIdSet = parentTaskIdSet;
return this;
}
public Long getPriority() {
return priority;
}
public void setPriority(Long priority) {
this.priority = priority;
}
public TaskUpdate withPriority(Long priority) {
this.priority = priority;
return this;
}
public Boolean getPrioritySet() {
return prioritySet;
}
public void setPrioritySet(Boolean prioritySet) {
this.prioritySet = prioritySet;
}
public TaskUpdate withPrioritySet(Boolean prioritySet) {
this.prioritySet = prioritySet;
return this;
}
}

View File

@@ -0,0 +1,51 @@
package com.inteligr8.alfresco.activiti.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"id",
"name"
})
public class Tenant {
@JsonProperty("id")
private Long id;
@JsonProperty("name")
private String name;
/**
* No args constructor for use in serialization
*/
public Tenant() {
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Tenant withId(Long id) {
this.id = id;
return this;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Tenant withName(String name) {
this.name = name;
return this;
}
}

View File

@@ -0,0 +1,358 @@
package com.inteligr8.alfresco.activiti.model;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"apps",
"capabilities",
"company",
"created",
"email",
"externalId",
"firstName",
"fullname",
"groups",
"id",
"lastName",
"lastUpdate",
"latestSyncTimeStamp",
"password",
"pictureId",
"primaryGroup",
"status",
"tenantId",
"tenantName",
"tenantPictureId",
"type"
})
public class User {
@JsonProperty("apps")
private List<AppLight> apps = new ArrayList<AppLight>();
@JsonProperty("capabilities")
private List<String> capabilities = new ArrayList<String>();
@JsonProperty("company")
private String company;
@JsonProperty("created")
private String created;
@JsonProperty("email")
private String email;
@JsonProperty("externalId")
private String externalId;
@JsonProperty("firstName")
private String firstName;
@JsonProperty("fullname")
private String fullname;
@JsonProperty("groups")
private List<Group> groups = new ArrayList<Group>();
@JsonProperty("id")
private Long id;
@JsonProperty("lastName")
private String lastName;
@JsonProperty("lastUpdate")
private String lastUpdate;
@JsonProperty("latestSyncTimeStamp")
private String latestSyncTimeStamp;
@JsonProperty("password")
private String password;
@JsonProperty("pictureId")
private Long pictureId;
@JsonProperty("primaryGroup")
private Group primaryGroup;
@JsonProperty("status")
private String status;
@JsonProperty("tenantId")
private Long tenantId;
@JsonProperty("tenantName")
private String tenantName;
@JsonProperty("tenantPictureId")
private Long tenantPictureId;
@JsonProperty("type")
private String type;
/**
* No args constructor for use in serialization
*/
public User() {
}
public List<AppLight> getApps() {
return apps;
}
public void setApps(List<AppLight> apps) {
this.apps = apps;
}
public User withApps(List<AppLight> apps) {
this.apps = apps;
return this;
}
public List<String> getCapabilities() {
return capabilities;
}
public void setCapabilities(List<String> capabilities) {
this.capabilities = capabilities;
}
public User withCapabilities(List<String> capabilities) {
this.capabilities = capabilities;
return this;
}
public String getCompany() {
return company;
}
public void setCompany(String company) {
this.company = company;
}
public User withCompany(String company) {
this.company = company;
return this;
}
public String getCreated() {
return created;
}
public void setCreated(String created) {
this.created = created;
}
public User withCreated(String created) {
this.created = created;
return this;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public User withEmail(String email) {
this.email = email;
return this;
}
public String getExternalId() {
return externalId;
}
public void setExternalId(String externalId) {
this.externalId = externalId;
}
public User withExternalId(String externalId) {
this.externalId = externalId;
return this;
}
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public User withFirstName(String firstName) {
this.firstName = firstName;
return this;
}
public String getFullname() {
return fullname;
}
public void setFullname(String fullname) {
this.fullname = fullname;
}
public User withFullname(String fullname) {
this.fullname = fullname;
return this;
}
public List<Group> getGroups() {
return groups;
}
public void setGroups(List<Group> groups) {
this.groups = groups;
}
public User withGroups(List<Group> groups) {
this.groups = groups;
return this;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public User withId(Long id) {
this.id = id;
return this;
}
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
public User withLastName(String lastName) {
this.lastName = lastName;
return this;
}
public String getLastUpdate() {
return lastUpdate;
}
public void setLastUpdate(String lastUpdate) {
this.lastUpdate = lastUpdate;
}
public User withLastUpdate(String lastUpdate) {
this.lastUpdate = lastUpdate;
return this;
}
public String getLatestSyncTimeStamp() {
return latestSyncTimeStamp;
}
public void setLatestSyncTimeStamp(String latestSyncTimeStamp) {
this.latestSyncTimeStamp = latestSyncTimeStamp;
}
public User withLatestSyncTimeStamp(String latestSyncTimeStamp) {
this.latestSyncTimeStamp = latestSyncTimeStamp;
return this;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public User withPassword(String password) {
this.password = password;
return this;
}
public Long getPictureId() {
return pictureId;
}
public void setPictureId(Long pictureId) {
this.pictureId = pictureId;
}
public User withPictureId(Long pictureId) {
this.pictureId = pictureId;
return this;
}
public Group getPrimaryGroup() {
return primaryGroup;
}
public void setPrimaryGroup(Group primaryGroup) {
this.primaryGroup = primaryGroup;
}
public User withPrimaryGroup(Group primaryGroup) {
this.primaryGroup = primaryGroup;
return this;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public User withStatus(String status) {
this.status = status;
return this;
}
public Long getTenantId() {
return tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
public User withTenantId(Long tenantId) {
this.tenantId = tenantId;
return this;
}
public String getTenantName() {
return tenantName;
}
public void setTenantName(String tenantName) {
this.tenantName = tenantName;
}
public User withTenantName(String tenantName) {
this.tenantName = tenantName;
return this;
}
public Long getTenantPictureId() {
return tenantPictureId;
}
public void setTenantPictureId(Long tenantPictureId) {
this.tenantPictureId = tenantPictureId;
}
public User withTenantPictureId(Long tenantPictureId) {
this.tenantPictureId = tenantPictureId;
return this;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public User withType(String type) {
this.type = type;
return this;
}
}

View File

@@ -0,0 +1,131 @@
package com.inteligr8.alfresco.activiti.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"company",
"email",
"externalId",
"firstName",
"id",
"lastName",
"pictureId"
})
public class UserLight {
@JsonProperty("company")
private String company;
@JsonProperty("email")
private String email;
@JsonProperty("externalId")
private String externalId;
@JsonProperty("firstName")
private String firstName;
@JsonProperty("id")
private Long id;
@JsonProperty("lastName")
private String lastName;
@JsonProperty("pictureId")
private Long pictureId;
/**
* No args constructor for use in serialization
*/
public UserLight() {
}
public String getCompany() {
return company;
}
public void setCompany(String company) {
this.company = company;
}
public UserLight withCompany(String company) {
this.setCompany(company);
return this;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public UserLight withEmail(String email) {
this.setEmail(email);
return this;
}
public String getExternalId() {
return externalId;
}
public void setExternalId(String externalId) {
this.externalId = externalId;
}
public UserLight withExternalId(String externalId) {
this.setExternalId(externalId);
return this;
}
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public UserLight withFirstName(String firstName) {
this.setFirstName(firstName);
return this;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public UserLight withId(Long id) {
this.setId(id);
return this;
}
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
public UserLight withLastName(String lastName) {
this.setLastName(lastName);
return this;
}
public Long getPictureId() {
return pictureId;
}
public void setPictureId(Long pictureId) {
this.pictureId = pictureId;
}
public UserLight withPictureId(Long pictureId) {
this.setPictureId(pictureId);
return this;
}
}

View File

@@ -0,0 +1,89 @@
package com.inteligr8.alfresco.activiti.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"name",
"type",
"value"
})
public class Variable {
@JsonProperty("name")
private String name;
@JsonProperty("scope")
private String scope;
@JsonProperty("type")
private String type;
@JsonProperty("value")
private Object value;
/**
* No args constructor for use in serialization
*/
public Variable() {
}
public Variable(String name, String scope, String type, Object value) {
this.name = name;
this.scope = scope;
this.type = type;
this.value = value;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Variable withName(String name) {
this.name = name;
return this;
}
public String getScope() {
return scope;
}
public void setScope(String scope) {
this.scope = scope;
}
public Variable withScope(String scope) {
this.scope = scope;
return this;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public Variable withType(String type) {
this.type = type;
return this;
}
public Object getValue() {
return value;
}
public void setValue(Object value) {
this.value = value;
}
public Variable withValue(Object value) {
this.value = value;
return this;
}
}

View File

@@ -1,43 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.api;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import com.inteligr8.alfresco.activiti.raml.resource.enterprise.Enterprise;
/**
* Afresco Process Services API Documentation
*
*/
public class AfrescoProcessServicesAPIClient {
private String _baseUrl;
public final Enterprise enterprise;
public AfrescoProcessServicesAPIClient(String baseUrl) {
_baseUrl = baseUrl;
enterprise = new Enterprise(getBaseUri(), getClient());
}
public AfrescoProcessServicesAPIClient() {
this("http://localhost:8080/activiti-app/raml/activiti.raml");
}
protected Client getClient() {
return ClientBuilder.newClient();
}
protected String getBaseUri() {
return _baseUrl;
}
public static AfrescoProcessServicesAPIClient create(String baseUrl) {
return new AfrescoProcessServicesAPIClient(baseUrl);
}
public static AfrescoProcessServicesAPIClient create() {
return new AfrescoProcessServicesAPIClient();
}
}

View File

@@ -1,44 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.exceptions;
import javax.ws.rs.core.MultivaluedMap;
import javax.ws.rs.core.Response;
public class AfrescoProcessServicesAPIException
extends RuntimeException
{
private int statusCode;
private String reason;
private MultivaluedMap<String, String> headers;
private Response response;
public AfrescoProcessServicesAPIException(int statusCode, String reason, MultivaluedMap<String, String> headers, Response response) {
super(reason);
this.statusCode = statusCode;
this.reason = reason;
this.headers = headers;
this.response = response;
}
public AfrescoProcessServicesAPIException(int statusCode, String reason) {
this(statusCode, reason, null, null);
}
public int getStatusCode() {
return this.statusCode;
}
public String getReason() {
return this.reason;
}
public MultivaluedMap<String, String> getHeaders() {
return this.headers;
}
public Response getResponse() {
return this.response;
}
}

View File

@@ -1,165 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* AbstractGroupRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"externalId",
"id",
"name",
"status"
})
public class AbstractGroupRepresentation {
@JsonProperty("externalId")
private String externalId;
@JsonProperty("id")
private Long id;
@JsonProperty("name")
private String name;
@JsonProperty("status")
private String status;
/**
* No args constructor for use in serialization
*
*/
public AbstractGroupRepresentation() {
}
/**
*
* @param name
* @param externalId
* @param id
* @param status
*/
public AbstractGroupRepresentation(String externalId, Long id, String name, String status) {
super();
this.externalId = externalId;
this.id = id;
this.name = name;
this.status = status;
}
@JsonProperty("externalId")
public String getExternalId() {
return externalId;
}
@JsonProperty("externalId")
public void setExternalId(String externalId) {
this.externalId = externalId;
}
public AbstractGroupRepresentation withExternalId(String externalId) {
this.externalId = externalId;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public AbstractGroupRepresentation withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public AbstractGroupRepresentation withName(String name) {
this.name = name;
return this;
}
@JsonProperty("status")
public String getStatus() {
return status;
}
@JsonProperty("status")
public void setStatus(String status) {
this.status = status;
}
public AbstractGroupRepresentation withStatus(String status) {
this.status = status;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(AbstractGroupRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("externalId");
sb.append('=');
sb.append(((this.externalId == null)?"<null>":this.externalId));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("status");
sb.append('=');
sb.append(((this.status == null)?"<null>":this.status));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.externalId == null)? 0 :this.externalId.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.status == null)? 0 :this.status.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof AbstractGroupRepresentation) == false) {
return false;
}
AbstractGroupRepresentation rhs = ((AbstractGroupRepresentation) other);
return (((((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.externalId == rhs.externalId)||((this.externalId!= null)&&this.externalId.equals(rhs.externalId))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.status == rhs.status)||((this.status!= null)&&this.status.equals(rhs.status))));
}
}

View File

@@ -1,240 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* AbstractUserRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"company",
"email",
"externalId",
"firstName",
"id",
"lastName",
"pictureId"
})
public class AbstractUserRepresentation {
@JsonProperty("company")
private String company;
@JsonProperty("email")
private String email;
@JsonProperty("externalId")
private String externalId;
@JsonProperty("firstName")
private String firstName;
@JsonProperty("id")
private Long id;
@JsonProperty("lastName")
private String lastName;
@JsonProperty("pictureId")
private Long pictureId;
/**
* No args constructor for use in serialization
*
*/
public AbstractUserRepresentation() {
}
/**
*
* @param firstName
* @param lastName
* @param pictureId
* @param externalId
* @param company
* @param id
* @param email
*/
public AbstractUserRepresentation(String company, String email, String externalId, String firstName, Long id, String lastName, Long pictureId) {
super();
this.company = company;
this.email = email;
this.externalId = externalId;
this.firstName = firstName;
this.id = id;
this.lastName = lastName;
this.pictureId = pictureId;
}
@JsonProperty("company")
public String getCompany() {
return company;
}
@JsonProperty("company")
public void setCompany(String company) {
this.company = company;
}
public AbstractUserRepresentation withCompany(String company) {
this.company = company;
return this;
}
@JsonProperty("email")
public String getEmail() {
return email;
}
@JsonProperty("email")
public void setEmail(String email) {
this.email = email;
}
public AbstractUserRepresentation withEmail(String email) {
this.email = email;
return this;
}
@JsonProperty("externalId")
public String getExternalId() {
return externalId;
}
@JsonProperty("externalId")
public void setExternalId(String externalId) {
this.externalId = externalId;
}
public AbstractUserRepresentation withExternalId(String externalId) {
this.externalId = externalId;
return this;
}
@JsonProperty("firstName")
public String getFirstName() {
return firstName;
}
@JsonProperty("firstName")
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public AbstractUserRepresentation withFirstName(String firstName) {
this.firstName = firstName;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public AbstractUserRepresentation withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("lastName")
public String getLastName() {
return lastName;
}
@JsonProperty("lastName")
public void setLastName(String lastName) {
this.lastName = lastName;
}
public AbstractUserRepresentation withLastName(String lastName) {
this.lastName = lastName;
return this;
}
@JsonProperty("pictureId")
public Long getPictureId() {
return pictureId;
}
@JsonProperty("pictureId")
public void setPictureId(Long pictureId) {
this.pictureId = pictureId;
}
public AbstractUserRepresentation withPictureId(Long pictureId) {
this.pictureId = pictureId;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(AbstractUserRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("company");
sb.append('=');
sb.append(((this.company == null)?"<null>":this.company));
sb.append(',');
sb.append("email");
sb.append('=');
sb.append(((this.email == null)?"<null>":this.email));
sb.append(',');
sb.append("externalId");
sb.append('=');
sb.append(((this.externalId == null)?"<null>":this.externalId));
sb.append(',');
sb.append("firstName");
sb.append('=');
sb.append(((this.firstName == null)?"<null>":this.firstName));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("lastName");
sb.append('=');
sb.append(((this.lastName == null)?"<null>":this.lastName));
sb.append(',');
sb.append("pictureId");
sb.append('=');
sb.append(((this.pictureId == null)?"<null>":this.pictureId));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.firstName == null)? 0 :this.firstName.hashCode()));
result = ((result* 31)+((this.lastName == null)? 0 :this.lastName.hashCode()));
result = ((result* 31)+((this.pictureId == null)? 0 :this.pictureId.hashCode()));
result = ((result* 31)+((this.externalId == null)? 0 :this.externalId.hashCode()));
result = ((result* 31)+((this.company == null)? 0 :this.company.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.email == null)? 0 :this.email.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof AbstractUserRepresentation) == false) {
return false;
}
AbstractUserRepresentation rhs = ((AbstractUserRepresentation) other);
return ((((((((this.firstName == rhs.firstName)||((this.firstName!= null)&&this.firstName.equals(rhs.firstName)))&&((this.lastName == rhs.lastName)||((this.lastName!= null)&&this.lastName.equals(rhs.lastName))))&&((this.pictureId == rhs.pictureId)||((this.pictureId!= null)&&this.pictureId.equals(rhs.pictureId))))&&((this.externalId == rhs.externalId)||((this.externalId!= null)&&this.externalId.equals(rhs.externalId))))&&((this.company == rhs.company)||((this.company!= null)&&this.company.equals(rhs.company))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.email == rhs.email)||((this.email!= null)&&this.email.equals(rhs.email))));
}
}

View File

@@ -1,44 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
})
public class ActivityIdsByCollapsedSubProcessIdMap {
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(ActivityIdsByCollapsedSubProcessIdMap.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof ActivityIdsByCollapsedSubProcessIdMap) == false) {
return false;
}
ActivityIdsByCollapsedSubProcessIdMap rhs = ((ActivityIdsByCollapsedSubProcessIdMap) other);
return true;
}
}

View File

@@ -1,44 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
})
public class ActivityIdsByDecisionTableIdMap {
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(ActivityIdsByDecisionTableIdMap.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof ActivityIdsByDecisionTableIdMap) == false) {
return false;
}
ActivityIdsByDecisionTableIdMap rhs = ((ActivityIdsByDecisionTableIdMap) other);
return true;
}
}

View File

@@ -1,44 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
})
public class ActivityIdsByFormIdMap {
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(ActivityIdsByFormIdMap.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof ActivityIdsByFormIdMap) == false) {
return false;
}
ActivityIdsByFormIdMap rhs = ((ActivityIdsByFormIdMap) other);
return true;
}
}

View File

@@ -1,92 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* AddGroupCapabilitiesRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"capabilities"
})
public class AddGroupCapabilitiesRepresentation {
@JsonProperty("capabilities")
private List<String> capabilities = new ArrayList<String>();
/**
* No args constructor for use in serialization
*
*/
public AddGroupCapabilitiesRepresentation() {
}
/**
*
* @param capabilities
*/
public AddGroupCapabilitiesRepresentation(List<String> capabilities) {
super();
this.capabilities = capabilities;
}
@JsonProperty("capabilities")
public List<String> getCapabilities() {
return capabilities;
}
@JsonProperty("capabilities")
public void setCapabilities(List<String> capabilities) {
this.capabilities = capabilities;
}
public AddGroupCapabilitiesRepresentation withCapabilities(List<String> capabilities) {
this.capabilities = capabilities;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(AddGroupCapabilitiesRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("capabilities");
sb.append('=');
sb.append(((this.capabilities == null)?"<null>":this.capabilities));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.capabilities == null)? 0 :this.capabilities.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof AddGroupCapabilitiesRepresentation) == false) {
return false;
}
AddGroupCapabilitiesRepresentation rhs = ((AddGroupCapabilitiesRepresentation) other);
return ((this.capabilities == rhs.capabilities)||((this.capabilities!= null)&&this.capabilities.equals(rhs.capabilities)));
}
}

View File

@@ -1,190 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* LightAppRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"description",
"icon",
"id",
"name",
"theme"
})
public class App {
@JsonProperty("description")
private String description;
@JsonProperty("icon")
private String icon;
@JsonProperty("id")
private Long id;
@JsonProperty("name")
private String name;
@JsonProperty("theme")
private String theme;
/**
* No args constructor for use in serialization
*
*/
public App() {
}
/**
*
* @param icon
* @param name
* @param description
* @param theme
* @param id
*/
public App(String description, String icon, Long id, String name, String theme) {
super();
this.description = description;
this.icon = icon;
this.id = id;
this.name = name;
this.theme = theme;
}
@JsonProperty("description")
public String getDescription() {
return description;
}
@JsonProperty("description")
public void setDescription(String description) {
this.description = description;
}
public App withDescription(String description) {
this.description = description;
return this;
}
@JsonProperty("icon")
public String getIcon() {
return icon;
}
@JsonProperty("icon")
public void setIcon(String icon) {
this.icon = icon;
}
public App withIcon(String icon) {
this.icon = icon;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public App withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public App withName(String name) {
this.name = name;
return this;
}
@JsonProperty("theme")
public String getTheme() {
return theme;
}
@JsonProperty("theme")
public void setTheme(String theme) {
this.theme = theme;
}
public App withTheme(String theme) {
this.theme = theme;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(App.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("description");
sb.append('=');
sb.append(((this.description == null)?"<null>":this.description));
sb.append(',');
sb.append("icon");
sb.append('=');
sb.append(((this.icon == null)?"<null>":this.icon));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("theme");
sb.append('=');
sb.append(((this.theme == null)?"<null>":this.theme));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.icon == null)? 0 :this.icon.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode()));
result = ((result* 31)+((this.theme == null)? 0 :this.theme.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof App) == false) {
return false;
}
App rhs = ((App) other);
return ((((((this.icon == rhs.icon)||((this.icon!= null)&&this.icon.equals(rhs.icon)))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.theme == rhs.theme)||((this.theme!= null)&&this.theme.equals(rhs.theme))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))));
}
}

View File

@@ -1,290 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"defaultAppId",
"deploymentId",
"description",
"icon",
"id",
"modelId",
"name",
"tenantId",
"theme"
})
public class AppDefinition {
@JsonProperty("defaultAppId")
private String defaultAppId;
@JsonProperty("deploymentId")
private String deploymentId;
@JsonProperty("description")
private String description;
@JsonProperty("icon")
private String icon;
@JsonProperty("id")
private Long id;
@JsonProperty("modelId")
private Long modelId;
@JsonProperty("name")
private String name;
@JsonProperty("tenantId")
private Long tenantId;
@JsonProperty("theme")
private String theme;
/**
* No args constructor for use in serialization
*
*/
public AppDefinition() {
}
/**
*
* @param modelId
* @param deploymentId
* @param icon
* @param name
* @param tenantId
* @param description
* @param theme
* @param id
* @param defaultAppId
*/
public AppDefinition(String defaultAppId, String deploymentId, String description, String icon, Long id, Long modelId, String name, Long tenantId, String theme) {
super();
this.defaultAppId = defaultAppId;
this.deploymentId = deploymentId;
this.description = description;
this.icon = icon;
this.id = id;
this.modelId = modelId;
this.name = name;
this.tenantId = tenantId;
this.theme = theme;
}
@JsonProperty("defaultAppId")
public String getDefaultAppId() {
return defaultAppId;
}
@JsonProperty("defaultAppId")
public void setDefaultAppId(String defaultAppId) {
this.defaultAppId = defaultAppId;
}
public AppDefinition withDefaultAppId(String defaultAppId) {
this.defaultAppId = defaultAppId;
return this;
}
@JsonProperty("deploymentId")
public String getDeploymentId() {
return deploymentId;
}
@JsonProperty("deploymentId")
public void setDeploymentId(String deploymentId) {
this.deploymentId = deploymentId;
}
public AppDefinition withDeploymentId(String deploymentId) {
this.deploymentId = deploymentId;
return this;
}
@JsonProperty("description")
public String getDescription() {
return description;
}
@JsonProperty("description")
public void setDescription(String description) {
this.description = description;
}
public AppDefinition withDescription(String description) {
this.description = description;
return this;
}
@JsonProperty("icon")
public String getIcon() {
return icon;
}
@JsonProperty("icon")
public void setIcon(String icon) {
this.icon = icon;
}
public AppDefinition withIcon(String icon) {
this.icon = icon;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public AppDefinition withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("modelId")
public Long getModelId() {
return modelId;
}
@JsonProperty("modelId")
public void setModelId(Long modelId) {
this.modelId = modelId;
}
public AppDefinition withModelId(Long modelId) {
this.modelId = modelId;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public AppDefinition withName(String name) {
this.name = name;
return this;
}
@JsonProperty("tenantId")
public Long getTenantId() {
return tenantId;
}
@JsonProperty("tenantId")
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
public AppDefinition withTenantId(Long tenantId) {
this.tenantId = tenantId;
return this;
}
@JsonProperty("theme")
public String getTheme() {
return theme;
}
@JsonProperty("theme")
public void setTheme(String theme) {
this.theme = theme;
}
public AppDefinition withTheme(String theme) {
this.theme = theme;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(AppDefinition.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("defaultAppId");
sb.append('=');
sb.append(((this.defaultAppId == null)?"<null>":this.defaultAppId));
sb.append(',');
sb.append("deploymentId");
sb.append('=');
sb.append(((this.deploymentId == null)?"<null>":this.deploymentId));
sb.append(',');
sb.append("description");
sb.append('=');
sb.append(((this.description == null)?"<null>":this.description));
sb.append(',');
sb.append("icon");
sb.append('=');
sb.append(((this.icon == null)?"<null>":this.icon));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("modelId");
sb.append('=');
sb.append(((this.modelId == null)?"<null>":this.modelId));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("tenantId");
sb.append('=');
sb.append(((this.tenantId == null)?"<null>":this.tenantId));
sb.append(',');
sb.append("theme");
sb.append('=');
sb.append(((this.theme == null)?"<null>":this.theme));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.modelId == null)? 0 :this.modelId.hashCode()));
result = ((result* 31)+((this.deploymentId == null)? 0 :this.deploymentId.hashCode()));
result = ((result* 31)+((this.icon == null)? 0 :this.icon.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode()));
result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode()));
result = ((result* 31)+((this.theme == null)? 0 :this.theme.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.defaultAppId == null)? 0 :this.defaultAppId.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof AppDefinition) == false) {
return false;
}
AppDefinition rhs = ((AppDefinition) other);
return ((((((((((this.modelId == rhs.modelId)||((this.modelId!= null)&&this.modelId.equals(rhs.modelId)))&&((this.deploymentId == rhs.deploymentId)||((this.deploymentId!= null)&&this.deploymentId.equals(rhs.deploymentId))))&&((this.icon == rhs.icon)||((this.icon!= null)&&this.icon.equals(rhs.icon))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.theme == rhs.theme)||((this.theme!= null)&&this.theme.equals(rhs.theme))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.defaultAppId == rhs.defaultAppId)||((this.defaultAppId!= null)&&this.defaultAppId.equals(rhs.defaultAppId))));
}
}

View File

@@ -1,115 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* AppDefinitionPublishRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"comment",
"force"
})
public class AppDefinitionPublishRepresentation {
@JsonProperty("comment")
private String comment;
@JsonProperty("force")
private Boolean force;
/**
* No args constructor for use in serialization
*
*/
public AppDefinitionPublishRepresentation() {
}
/**
*
* @param comment
* @param force
*/
public AppDefinitionPublishRepresentation(String comment, Boolean force) {
super();
this.comment = comment;
this.force = force;
}
@JsonProperty("comment")
public String getComment() {
return comment;
}
@JsonProperty("comment")
public void setComment(String comment) {
this.comment = comment;
}
public AppDefinitionPublishRepresentation withComment(String comment) {
this.comment = comment;
return this;
}
@JsonProperty("force")
public Boolean getForce() {
return force;
}
@JsonProperty("force")
public void setForce(Boolean force) {
this.force = force;
}
public AppDefinitionPublishRepresentation withForce(Boolean force) {
this.force = force;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(AppDefinitionPublishRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("comment");
sb.append('=');
sb.append(((this.comment == null)?"<null>":this.comment));
sb.append(',');
sb.append("force");
sb.append('=');
sb.append(((this.force == null)?"<null>":this.force));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.comment == null)? 0 :this.comment.hashCode()));
result = ((result* 31)+((this.force == null)? 0 :this.force.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof AppDefinitionPublishRepresentation) == false) {
return false;
}
AppDefinitionPublishRepresentation rhs = ((AppDefinitionPublishRepresentation) other);
return (((this.comment == rhs.comment)||((this.comment!= null)&&this.comment.equals(rhs.comment)))&&((this.force == rhs.force)||((this.force!= null)&&this.force.equals(rhs.force))));
}
}

View File

@@ -1,290 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"defaultAppId",
"deploymentId",
"description",
"icon",
"id",
"modelId",
"name",
"tenantId",
"theme"
})
public class AppDefinitionRepresentation {
@JsonProperty("defaultAppId")
private String defaultAppId;
@JsonProperty("deploymentId")
private String deploymentId;
@JsonProperty("description")
private String description;
@JsonProperty("icon")
private String icon;
@JsonProperty("id")
private Long id;
@JsonProperty("modelId")
private Long modelId;
@JsonProperty("name")
private String name;
@JsonProperty("tenantId")
private Long tenantId;
@JsonProperty("theme")
private String theme;
/**
* No args constructor for use in serialization
*
*/
public AppDefinitionRepresentation() {
}
/**
*
* @param modelId
* @param deploymentId
* @param icon
* @param name
* @param tenantId
* @param description
* @param theme
* @param id
* @param defaultAppId
*/
public AppDefinitionRepresentation(String defaultAppId, String deploymentId, String description, String icon, Long id, Long modelId, String name, Long tenantId, String theme) {
super();
this.defaultAppId = defaultAppId;
this.deploymentId = deploymentId;
this.description = description;
this.icon = icon;
this.id = id;
this.modelId = modelId;
this.name = name;
this.tenantId = tenantId;
this.theme = theme;
}
@JsonProperty("defaultAppId")
public String getDefaultAppId() {
return defaultAppId;
}
@JsonProperty("defaultAppId")
public void setDefaultAppId(String defaultAppId) {
this.defaultAppId = defaultAppId;
}
public AppDefinitionRepresentation withDefaultAppId(String defaultAppId) {
this.defaultAppId = defaultAppId;
return this;
}
@JsonProperty("deploymentId")
public String getDeploymentId() {
return deploymentId;
}
@JsonProperty("deploymentId")
public void setDeploymentId(String deploymentId) {
this.deploymentId = deploymentId;
}
public AppDefinitionRepresentation withDeploymentId(String deploymentId) {
this.deploymentId = deploymentId;
return this;
}
@JsonProperty("description")
public String getDescription() {
return description;
}
@JsonProperty("description")
public void setDescription(String description) {
this.description = description;
}
public AppDefinitionRepresentation withDescription(String description) {
this.description = description;
return this;
}
@JsonProperty("icon")
public String getIcon() {
return icon;
}
@JsonProperty("icon")
public void setIcon(String icon) {
this.icon = icon;
}
public AppDefinitionRepresentation withIcon(String icon) {
this.icon = icon;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public AppDefinitionRepresentation withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("modelId")
public Long getModelId() {
return modelId;
}
@JsonProperty("modelId")
public void setModelId(Long modelId) {
this.modelId = modelId;
}
public AppDefinitionRepresentation withModelId(Long modelId) {
this.modelId = modelId;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public AppDefinitionRepresentation withName(String name) {
this.name = name;
return this;
}
@JsonProperty("tenantId")
public Long getTenantId() {
return tenantId;
}
@JsonProperty("tenantId")
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
public AppDefinitionRepresentation withTenantId(Long tenantId) {
this.tenantId = tenantId;
return this;
}
@JsonProperty("theme")
public String getTheme() {
return theme;
}
@JsonProperty("theme")
public void setTheme(String theme) {
this.theme = theme;
}
public AppDefinitionRepresentation withTheme(String theme) {
this.theme = theme;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(AppDefinitionRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("defaultAppId");
sb.append('=');
sb.append(((this.defaultAppId == null)?"<null>":this.defaultAppId));
sb.append(',');
sb.append("deploymentId");
sb.append('=');
sb.append(((this.deploymentId == null)?"<null>":this.deploymentId));
sb.append(',');
sb.append("description");
sb.append('=');
sb.append(((this.description == null)?"<null>":this.description));
sb.append(',');
sb.append("icon");
sb.append('=');
sb.append(((this.icon == null)?"<null>":this.icon));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("modelId");
sb.append('=');
sb.append(((this.modelId == null)?"<null>":this.modelId));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("tenantId");
sb.append('=');
sb.append(((this.tenantId == null)?"<null>":this.tenantId));
sb.append(',');
sb.append("theme");
sb.append('=');
sb.append(((this.theme == null)?"<null>":this.theme));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.modelId == null)? 0 :this.modelId.hashCode()));
result = ((result* 31)+((this.deploymentId == null)? 0 :this.deploymentId.hashCode()));
result = ((result* 31)+((this.icon == null)? 0 :this.icon.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode()));
result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode()));
result = ((result* 31)+((this.theme == null)? 0 :this.theme.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.defaultAppId == null)? 0 :this.defaultAppId.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof AppDefinitionRepresentation) == false) {
return false;
}
AppDefinitionRepresentation rhs = ((AppDefinitionRepresentation) other);
return ((((((((((this.modelId == rhs.modelId)||((this.modelId!= null)&&this.modelId.equals(rhs.modelId)))&&((this.deploymentId == rhs.deploymentId)||((this.deploymentId!= null)&&this.deploymentId.equals(rhs.deploymentId))))&&((this.icon == rhs.icon)||((this.icon!= null)&&this.icon.equals(rhs.icon))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.theme == rhs.theme)||((this.theme!= null)&&this.theme.equals(rhs.theme))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.defaultAppId == rhs.defaultAppId)||((this.defaultAppId!= null)&&this.defaultAppId.equals(rhs.defaultAppId))));
}
}

View File

@@ -1,158 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* AppDefinitionSaveRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"appDefinition",
"force",
"publish"
})
public class AppDefinitionSaveRepresentation {
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@JsonProperty("appDefinition")
private AppDefinition__1 appDefinition;
@JsonProperty("force")
private Boolean force;
@JsonProperty("publish")
private Boolean publish;
/**
* No args constructor for use in serialization
*
*/
public AppDefinitionSaveRepresentation() {
}
/**
*
* @param appDefinition
* @param publish
* @param force
*/
public AppDefinitionSaveRepresentation(AppDefinition__1 appDefinition, Boolean force, Boolean publish) {
super();
this.appDefinition = appDefinition;
this.force = force;
this.publish = publish;
}
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@JsonProperty("appDefinition")
public AppDefinition__1 getAppDefinition() {
return appDefinition;
}
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@JsonProperty("appDefinition")
public void setAppDefinition(AppDefinition__1 appDefinition) {
this.appDefinition = appDefinition;
}
public AppDefinitionSaveRepresentation withAppDefinition(AppDefinition__1 appDefinition) {
this.appDefinition = appDefinition;
return this;
}
@JsonProperty("force")
public Boolean getForce() {
return force;
}
@JsonProperty("force")
public void setForce(Boolean force) {
this.force = force;
}
public AppDefinitionSaveRepresentation withForce(Boolean force) {
this.force = force;
return this;
}
@JsonProperty("publish")
public Boolean getPublish() {
return publish;
}
@JsonProperty("publish")
public void setPublish(Boolean publish) {
this.publish = publish;
}
public AppDefinitionSaveRepresentation withPublish(Boolean publish) {
this.publish = publish;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(AppDefinitionSaveRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("appDefinition");
sb.append('=');
sb.append(((this.appDefinition == null)?"<null>":this.appDefinition));
sb.append(',');
sb.append("force");
sb.append('=');
sb.append(((this.force == null)?"<null>":this.force));
sb.append(',');
sb.append("publish");
sb.append('=');
sb.append(((this.publish == null)?"<null>":this.publish));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.force == null)? 0 :this.force.hashCode()));
result = ((result* 31)+((this.appDefinition == null)? 0 :this.appDefinition.hashCode()));
result = ((result* 31)+((this.publish == null)? 0 :this.publish.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof AppDefinitionSaveRepresentation) == false) {
return false;
}
AppDefinitionSaveRepresentation rhs = ((AppDefinitionSaveRepresentation) other);
return ((((this.force == rhs.force)||((this.force!= null)&&this.force.equals(rhs.force)))&&((this.appDefinition == rhs.appDefinition)||((this.appDefinition!= null)&&this.appDefinition.equals(rhs.appDefinition))))&&((this.publish == rhs.publish)||((this.publish!= null)&&this.publish.equals(rhs.publish))));
}
}

View File

@@ -1,258 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* AppDefinitionUpdateResultRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"appDefinition",
"customData",
"error",
"errorDescription",
"errorType",
"message",
"messageKey"
})
public class AppDefinitionUpdateResultRepresentation {
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@JsonProperty("appDefinition")
private AppDefinition appDefinition;
@JsonProperty("customData")
private CustomData customData;
@JsonProperty("error")
private Boolean error;
@JsonProperty("errorDescription")
private String errorDescription;
@JsonProperty("errorType")
private Long errorType;
@JsonProperty("message")
private String message;
@JsonProperty("messageKey")
private String messageKey;
/**
* No args constructor for use in serialization
*
*/
public AppDefinitionUpdateResultRepresentation() {
}
/**
*
* @param messageKey
* @param appDefinition
* @param errorDescription
* @param errorType
* @param customData
* @param error
* @param message
*/
public AppDefinitionUpdateResultRepresentation(AppDefinition appDefinition, CustomData customData, Boolean error, String errorDescription, Long errorType, String message, String messageKey) {
super();
this.appDefinition = appDefinition;
this.customData = customData;
this.error = error;
this.errorDescription = errorDescription;
this.errorType = errorType;
this.message = message;
this.messageKey = messageKey;
}
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@JsonProperty("appDefinition")
public AppDefinition getAppDefinition() {
return appDefinition;
}
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@JsonProperty("appDefinition")
public void setAppDefinition(AppDefinition appDefinition) {
this.appDefinition = appDefinition;
}
public AppDefinitionUpdateResultRepresentation withAppDefinition(AppDefinition appDefinition) {
this.appDefinition = appDefinition;
return this;
}
@JsonProperty("customData")
public CustomData getCustomData() {
return customData;
}
@JsonProperty("customData")
public void setCustomData(CustomData customData) {
this.customData = customData;
}
public AppDefinitionUpdateResultRepresentation withCustomData(CustomData customData) {
this.customData = customData;
return this;
}
@JsonProperty("error")
public Boolean getError() {
return error;
}
@JsonProperty("error")
public void setError(Boolean error) {
this.error = error;
}
public AppDefinitionUpdateResultRepresentation withError(Boolean error) {
this.error = error;
return this;
}
@JsonProperty("errorDescription")
public String getErrorDescription() {
return errorDescription;
}
@JsonProperty("errorDescription")
public void setErrorDescription(String errorDescription) {
this.errorDescription = errorDescription;
}
public AppDefinitionUpdateResultRepresentation withErrorDescription(String errorDescription) {
this.errorDescription = errorDescription;
return this;
}
@JsonProperty("errorType")
public Long getErrorType() {
return errorType;
}
@JsonProperty("errorType")
public void setErrorType(Long errorType) {
this.errorType = errorType;
}
public AppDefinitionUpdateResultRepresentation withErrorType(Long errorType) {
this.errorType = errorType;
return this;
}
@JsonProperty("message")
public String getMessage() {
return message;
}
@JsonProperty("message")
public void setMessage(String message) {
this.message = message;
}
public AppDefinitionUpdateResultRepresentation withMessage(String message) {
this.message = message;
return this;
}
@JsonProperty("messageKey")
public String getMessageKey() {
return messageKey;
}
@JsonProperty("messageKey")
public void setMessageKey(String messageKey) {
this.messageKey = messageKey;
}
public AppDefinitionUpdateResultRepresentation withMessageKey(String messageKey) {
this.messageKey = messageKey;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(AppDefinitionUpdateResultRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("appDefinition");
sb.append('=');
sb.append(((this.appDefinition == null)?"<null>":this.appDefinition));
sb.append(',');
sb.append("customData");
sb.append('=');
sb.append(((this.customData == null)?"<null>":this.customData));
sb.append(',');
sb.append("error");
sb.append('=');
sb.append(((this.error == null)?"<null>":this.error));
sb.append(',');
sb.append("errorDescription");
sb.append('=');
sb.append(((this.errorDescription == null)?"<null>":this.errorDescription));
sb.append(',');
sb.append("errorType");
sb.append('=');
sb.append(((this.errorType == null)?"<null>":this.errorType));
sb.append(',');
sb.append("message");
sb.append('=');
sb.append(((this.message == null)?"<null>":this.message));
sb.append(',');
sb.append("messageKey");
sb.append('=');
sb.append(((this.messageKey == null)?"<null>":this.messageKey));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.messageKey == null)? 0 :this.messageKey.hashCode()));
result = ((result* 31)+((this.appDefinition == null)? 0 :this.appDefinition.hashCode()));
result = ((result* 31)+((this.errorDescription == null)? 0 :this.errorDescription.hashCode()));
result = ((result* 31)+((this.errorType == null)? 0 :this.errorType.hashCode()));
result = ((result* 31)+((this.customData == null)? 0 :this.customData.hashCode()));
result = ((result* 31)+((this.error == null)? 0 :this.error.hashCode()));
result = ((result* 31)+((this.message == null)? 0 :this.message.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof AppDefinitionUpdateResultRepresentation) == false) {
return false;
}
AppDefinitionUpdateResultRepresentation rhs = ((AppDefinitionUpdateResultRepresentation) other);
return ((((((((this.messageKey == rhs.messageKey)||((this.messageKey!= null)&&this.messageKey.equals(rhs.messageKey)))&&((this.appDefinition == rhs.appDefinition)||((this.appDefinition!= null)&&this.appDefinition.equals(rhs.appDefinition))))&&((this.errorDescription == rhs.errorDescription)||((this.errorDescription!= null)&&this.errorDescription.equals(rhs.errorDescription))))&&((this.errorType == rhs.errorType)||((this.errorType!= null)&&this.errorType.equals(rhs.errorType))))&&((this.customData == rhs.customData)||((this.customData!= null)&&this.customData.equals(rhs.customData))))&&((this.error == rhs.error)||((this.error!= null)&&this.error.equals(rhs.error))))&&((this.message == rhs.message)||((this.message!= null)&&this.message.equals(rhs.message))));
}
}

View File

@@ -1,290 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"defaultAppId",
"deploymentId",
"description",
"icon",
"id",
"modelId",
"name",
"tenantId",
"theme"
})
public class AppDefinition__1 {
@JsonProperty("defaultAppId")
private String defaultAppId;
@JsonProperty("deploymentId")
private String deploymentId;
@JsonProperty("description")
private String description;
@JsonProperty("icon")
private String icon;
@JsonProperty("id")
private Long id;
@JsonProperty("modelId")
private Long modelId;
@JsonProperty("name")
private String name;
@JsonProperty("tenantId")
private Long tenantId;
@JsonProperty("theme")
private String theme;
/**
* No args constructor for use in serialization
*
*/
public AppDefinition__1() {
}
/**
*
* @param modelId
* @param deploymentId
* @param icon
* @param name
* @param tenantId
* @param description
* @param theme
* @param id
* @param defaultAppId
*/
public AppDefinition__1(String defaultAppId, String deploymentId, String description, String icon, Long id, Long modelId, String name, Long tenantId, String theme) {
super();
this.defaultAppId = defaultAppId;
this.deploymentId = deploymentId;
this.description = description;
this.icon = icon;
this.id = id;
this.modelId = modelId;
this.name = name;
this.tenantId = tenantId;
this.theme = theme;
}
@JsonProperty("defaultAppId")
public String getDefaultAppId() {
return defaultAppId;
}
@JsonProperty("defaultAppId")
public void setDefaultAppId(String defaultAppId) {
this.defaultAppId = defaultAppId;
}
public AppDefinition__1 withDefaultAppId(String defaultAppId) {
this.defaultAppId = defaultAppId;
return this;
}
@JsonProperty("deploymentId")
public String getDeploymentId() {
return deploymentId;
}
@JsonProperty("deploymentId")
public void setDeploymentId(String deploymentId) {
this.deploymentId = deploymentId;
}
public AppDefinition__1 withDeploymentId(String deploymentId) {
this.deploymentId = deploymentId;
return this;
}
@JsonProperty("description")
public String getDescription() {
return description;
}
@JsonProperty("description")
public void setDescription(String description) {
this.description = description;
}
public AppDefinition__1 withDescription(String description) {
this.description = description;
return this;
}
@JsonProperty("icon")
public String getIcon() {
return icon;
}
@JsonProperty("icon")
public void setIcon(String icon) {
this.icon = icon;
}
public AppDefinition__1 withIcon(String icon) {
this.icon = icon;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public AppDefinition__1 withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("modelId")
public Long getModelId() {
return modelId;
}
@JsonProperty("modelId")
public void setModelId(Long modelId) {
this.modelId = modelId;
}
public AppDefinition__1 withModelId(Long modelId) {
this.modelId = modelId;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public AppDefinition__1 withName(String name) {
this.name = name;
return this;
}
@JsonProperty("tenantId")
public Long getTenantId() {
return tenantId;
}
@JsonProperty("tenantId")
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
public AppDefinition__1 withTenantId(Long tenantId) {
this.tenantId = tenantId;
return this;
}
@JsonProperty("theme")
public String getTheme() {
return theme;
}
@JsonProperty("theme")
public void setTheme(String theme) {
this.theme = theme;
}
public AppDefinition__1 withTheme(String theme) {
this.theme = theme;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(AppDefinition__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("defaultAppId");
sb.append('=');
sb.append(((this.defaultAppId == null)?"<null>":this.defaultAppId));
sb.append(',');
sb.append("deploymentId");
sb.append('=');
sb.append(((this.deploymentId == null)?"<null>":this.deploymentId));
sb.append(',');
sb.append("description");
sb.append('=');
sb.append(((this.description == null)?"<null>":this.description));
sb.append(',');
sb.append("icon");
sb.append('=');
sb.append(((this.icon == null)?"<null>":this.icon));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("modelId");
sb.append('=');
sb.append(((this.modelId == null)?"<null>":this.modelId));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("tenantId");
sb.append('=');
sb.append(((this.tenantId == null)?"<null>":this.tenantId));
sb.append(',');
sb.append("theme");
sb.append('=');
sb.append(((this.theme == null)?"<null>":this.theme));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.modelId == null)? 0 :this.modelId.hashCode()));
result = ((result* 31)+((this.deploymentId == null)? 0 :this.deploymentId.hashCode()));
result = ((result* 31)+((this.icon == null)? 0 :this.icon.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode()));
result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode()));
result = ((result* 31)+((this.theme == null)? 0 :this.theme.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.defaultAppId == null)? 0 :this.defaultAppId.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof AppDefinition__1) == false) {
return false;
}
AppDefinition__1 rhs = ((AppDefinition__1) other);
return ((((((((((this.modelId == rhs.modelId)||((this.modelId!= null)&&this.modelId.equals(rhs.modelId)))&&((this.deploymentId == rhs.deploymentId)||((this.deploymentId!= null)&&this.deploymentId.equals(rhs.deploymentId))))&&((this.icon == rhs.icon)||((this.icon!= null)&&this.icon.equals(rhs.icon))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.theme == rhs.theme)||((this.theme!= null)&&this.theme.equals(rhs.theme))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.defaultAppId == rhs.defaultAppId)||((this.defaultAppId!= null)&&this.defaultAppId.equals(rhs.defaultAppId))));
}
}

View File

@@ -1,290 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"defaultAppId",
"deploymentId",
"description",
"icon",
"id",
"modelId",
"name",
"tenantId",
"theme"
})
public class AppDefinition__2 {
@JsonProperty("defaultAppId")
private String defaultAppId;
@JsonProperty("deploymentId")
private String deploymentId;
@JsonProperty("description")
private String description;
@JsonProperty("icon")
private String icon;
@JsonProperty("id")
private Long id;
@JsonProperty("modelId")
private Long modelId;
@JsonProperty("name")
private String name;
@JsonProperty("tenantId")
private Long tenantId;
@JsonProperty("theme")
private String theme;
/**
* No args constructor for use in serialization
*
*/
public AppDefinition__2() {
}
/**
*
* @param modelId
* @param deploymentId
* @param icon
* @param name
* @param tenantId
* @param description
* @param theme
* @param id
* @param defaultAppId
*/
public AppDefinition__2(String defaultAppId, String deploymentId, String description, String icon, Long id, Long modelId, String name, Long tenantId, String theme) {
super();
this.defaultAppId = defaultAppId;
this.deploymentId = deploymentId;
this.description = description;
this.icon = icon;
this.id = id;
this.modelId = modelId;
this.name = name;
this.tenantId = tenantId;
this.theme = theme;
}
@JsonProperty("defaultAppId")
public String getDefaultAppId() {
return defaultAppId;
}
@JsonProperty("defaultAppId")
public void setDefaultAppId(String defaultAppId) {
this.defaultAppId = defaultAppId;
}
public AppDefinition__2 withDefaultAppId(String defaultAppId) {
this.defaultAppId = defaultAppId;
return this;
}
@JsonProperty("deploymentId")
public String getDeploymentId() {
return deploymentId;
}
@JsonProperty("deploymentId")
public void setDeploymentId(String deploymentId) {
this.deploymentId = deploymentId;
}
public AppDefinition__2 withDeploymentId(String deploymentId) {
this.deploymentId = deploymentId;
return this;
}
@JsonProperty("description")
public String getDescription() {
return description;
}
@JsonProperty("description")
public void setDescription(String description) {
this.description = description;
}
public AppDefinition__2 withDescription(String description) {
this.description = description;
return this;
}
@JsonProperty("icon")
public String getIcon() {
return icon;
}
@JsonProperty("icon")
public void setIcon(String icon) {
this.icon = icon;
}
public AppDefinition__2 withIcon(String icon) {
this.icon = icon;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public AppDefinition__2 withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("modelId")
public Long getModelId() {
return modelId;
}
@JsonProperty("modelId")
public void setModelId(Long modelId) {
this.modelId = modelId;
}
public AppDefinition__2 withModelId(Long modelId) {
this.modelId = modelId;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public AppDefinition__2 withName(String name) {
this.name = name;
return this;
}
@JsonProperty("tenantId")
public Long getTenantId() {
return tenantId;
}
@JsonProperty("tenantId")
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
public AppDefinition__2 withTenantId(Long tenantId) {
this.tenantId = tenantId;
return this;
}
@JsonProperty("theme")
public String getTheme() {
return theme;
}
@JsonProperty("theme")
public void setTheme(String theme) {
this.theme = theme;
}
public AppDefinition__2 withTheme(String theme) {
this.theme = theme;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(AppDefinition__2 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("defaultAppId");
sb.append('=');
sb.append(((this.defaultAppId == null)?"<null>":this.defaultAppId));
sb.append(',');
sb.append("deploymentId");
sb.append('=');
sb.append(((this.deploymentId == null)?"<null>":this.deploymentId));
sb.append(',');
sb.append("description");
sb.append('=');
sb.append(((this.description == null)?"<null>":this.description));
sb.append(',');
sb.append("icon");
sb.append('=');
sb.append(((this.icon == null)?"<null>":this.icon));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("modelId");
sb.append('=');
sb.append(((this.modelId == null)?"<null>":this.modelId));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("tenantId");
sb.append('=');
sb.append(((this.tenantId == null)?"<null>":this.tenantId));
sb.append(',');
sb.append("theme");
sb.append('=');
sb.append(((this.theme == null)?"<null>":this.theme));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.modelId == null)? 0 :this.modelId.hashCode()));
result = ((result* 31)+((this.deploymentId == null)? 0 :this.deploymentId.hashCode()));
result = ((result* 31)+((this.icon == null)? 0 :this.icon.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode()));
result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode()));
result = ((result* 31)+((this.theme == null)? 0 :this.theme.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.defaultAppId == null)? 0 :this.defaultAppId.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof AppDefinition__2) == false) {
return false;
}
AppDefinition__2 rhs = ((AppDefinition__2) other);
return ((((((((((this.modelId == rhs.modelId)||((this.modelId!= null)&&this.modelId.equals(rhs.modelId)))&&((this.deploymentId == rhs.deploymentId)||((this.deploymentId!= null)&&this.deploymentId.equals(rhs.deploymentId))))&&((this.icon == rhs.icon)||((this.icon!= null)&&this.icon.equals(rhs.icon))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.theme == rhs.theme)||((this.theme!= null)&&this.theme.equals(rhs.theme))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.defaultAppId == rhs.defaultAppId)||((this.defaultAppId!= null)&&this.defaultAppId.equals(rhs.defaultAppId))));
}
}

View File

@@ -1,290 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"defaultAppId",
"deploymentId",
"description",
"icon",
"id",
"modelId",
"name",
"tenantId",
"theme"
})
public class AppDefinition__3 {
@JsonProperty("defaultAppId")
private String defaultAppId;
@JsonProperty("deploymentId")
private String deploymentId;
@JsonProperty("description")
private String description;
@JsonProperty("icon")
private String icon;
@JsonProperty("id")
private Long id;
@JsonProperty("modelId")
private Long modelId;
@JsonProperty("name")
private String name;
@JsonProperty("tenantId")
private Long tenantId;
@JsonProperty("theme")
private String theme;
/**
* No args constructor for use in serialization
*
*/
public AppDefinition__3() {
}
/**
*
* @param modelId
* @param deploymentId
* @param icon
* @param name
* @param tenantId
* @param description
* @param theme
* @param id
* @param defaultAppId
*/
public AppDefinition__3(String defaultAppId, String deploymentId, String description, String icon, Long id, Long modelId, String name, Long tenantId, String theme) {
super();
this.defaultAppId = defaultAppId;
this.deploymentId = deploymentId;
this.description = description;
this.icon = icon;
this.id = id;
this.modelId = modelId;
this.name = name;
this.tenantId = tenantId;
this.theme = theme;
}
@JsonProperty("defaultAppId")
public String getDefaultAppId() {
return defaultAppId;
}
@JsonProperty("defaultAppId")
public void setDefaultAppId(String defaultAppId) {
this.defaultAppId = defaultAppId;
}
public AppDefinition__3 withDefaultAppId(String defaultAppId) {
this.defaultAppId = defaultAppId;
return this;
}
@JsonProperty("deploymentId")
public String getDeploymentId() {
return deploymentId;
}
@JsonProperty("deploymentId")
public void setDeploymentId(String deploymentId) {
this.deploymentId = deploymentId;
}
public AppDefinition__3 withDeploymentId(String deploymentId) {
this.deploymentId = deploymentId;
return this;
}
@JsonProperty("description")
public String getDescription() {
return description;
}
@JsonProperty("description")
public void setDescription(String description) {
this.description = description;
}
public AppDefinition__3 withDescription(String description) {
this.description = description;
return this;
}
@JsonProperty("icon")
public String getIcon() {
return icon;
}
@JsonProperty("icon")
public void setIcon(String icon) {
this.icon = icon;
}
public AppDefinition__3 withIcon(String icon) {
this.icon = icon;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public AppDefinition__3 withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("modelId")
public Long getModelId() {
return modelId;
}
@JsonProperty("modelId")
public void setModelId(Long modelId) {
this.modelId = modelId;
}
public AppDefinition__3 withModelId(Long modelId) {
this.modelId = modelId;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public AppDefinition__3 withName(String name) {
this.name = name;
return this;
}
@JsonProperty("tenantId")
public Long getTenantId() {
return tenantId;
}
@JsonProperty("tenantId")
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
public AppDefinition__3 withTenantId(Long tenantId) {
this.tenantId = tenantId;
return this;
}
@JsonProperty("theme")
public String getTheme() {
return theme;
}
@JsonProperty("theme")
public void setTheme(String theme) {
this.theme = theme;
}
public AppDefinition__3 withTheme(String theme) {
this.theme = theme;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(AppDefinition__3 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("defaultAppId");
sb.append('=');
sb.append(((this.defaultAppId == null)?"<null>":this.defaultAppId));
sb.append(',');
sb.append("deploymentId");
sb.append('=');
sb.append(((this.deploymentId == null)?"<null>":this.deploymentId));
sb.append(',');
sb.append("description");
sb.append('=');
sb.append(((this.description == null)?"<null>":this.description));
sb.append(',');
sb.append("icon");
sb.append('=');
sb.append(((this.icon == null)?"<null>":this.icon));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("modelId");
sb.append('=');
sb.append(((this.modelId == null)?"<null>":this.modelId));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("tenantId");
sb.append('=');
sb.append(((this.tenantId == null)?"<null>":this.tenantId));
sb.append(',');
sb.append("theme");
sb.append('=');
sb.append(((this.theme == null)?"<null>":this.theme));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.modelId == null)? 0 :this.modelId.hashCode()));
result = ((result* 31)+((this.deploymentId == null)? 0 :this.deploymentId.hashCode()));
result = ((result* 31)+((this.icon == null)? 0 :this.icon.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode()));
result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode()));
result = ((result* 31)+((this.theme == null)? 0 :this.theme.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.defaultAppId == null)? 0 :this.defaultAppId.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof AppDefinition__3) == false) {
return false;
}
AppDefinition__3 rhs = ((AppDefinition__3) other);
return ((((((((((this.modelId == rhs.modelId)||((this.modelId!= null)&&this.modelId.equals(rhs.modelId)))&&((this.deploymentId == rhs.deploymentId)||((this.deploymentId!= null)&&this.deploymentId.equals(rhs.deploymentId))))&&((this.icon == rhs.icon)||((this.icon!= null)&&this.icon.equals(rhs.icon))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.theme == rhs.theme)||((this.theme!= null)&&this.theme.equals(rhs.theme))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.defaultAppId == rhs.defaultAppId)||((this.defaultAppId!= null)&&this.defaultAppId.equals(rhs.defaultAppId))));
}
}

View File

@@ -1,251 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* AppDeploymentRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"appDefinition",
"created",
"createdBy",
"deploymentId",
"dmnDeploymentId",
"id"
})
public class AppDeploymentRepresentation {
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@JsonProperty("appDefinition")
private AppDefinition__2 appDefinition;
@JsonProperty("created")
private String created;
/**
* LightUserRepresentation
* <p>
*
*
*/
@JsonProperty("createdBy")
private CreatedBy createdBy;
@JsonProperty("deploymentId")
private String deploymentId;
@JsonProperty("dmnDeploymentId")
private Long dmnDeploymentId;
@JsonProperty("id")
private Long id;
/**
* No args constructor for use in serialization
*
*/
public AppDeploymentRepresentation() {
}
/**
*
* @param appDefinition
* @param createdBy
* @param created
* @param dmnDeploymentId
* @param deploymentId
* @param id
*/
public AppDeploymentRepresentation(AppDefinition__2 appDefinition, String created, CreatedBy createdBy, String deploymentId, Long dmnDeploymentId, Long id) {
super();
this.appDefinition = appDefinition;
this.created = created;
this.createdBy = createdBy;
this.deploymentId = deploymentId;
this.dmnDeploymentId = dmnDeploymentId;
this.id = id;
}
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@JsonProperty("appDefinition")
public AppDefinition__2 getAppDefinition() {
return appDefinition;
}
/**
* AppDefinitionRepresentation
* <p>
*
*
*/
@JsonProperty("appDefinition")
public void setAppDefinition(AppDefinition__2 appDefinition) {
this.appDefinition = appDefinition;
}
public AppDeploymentRepresentation withAppDefinition(AppDefinition__2 appDefinition) {
this.appDefinition = appDefinition;
return this;
}
@JsonProperty("created")
public String getCreated() {
return created;
}
@JsonProperty("created")
public void setCreated(String created) {
this.created = created;
}
public AppDeploymentRepresentation withCreated(String created) {
this.created = created;
return this;
}
/**
* LightUserRepresentation
* <p>
*
*
*/
@JsonProperty("createdBy")
public CreatedBy getCreatedBy() {
return createdBy;
}
/**
* LightUserRepresentation
* <p>
*
*
*/
@JsonProperty("createdBy")
public void setCreatedBy(CreatedBy createdBy) {
this.createdBy = createdBy;
}
public AppDeploymentRepresentation withCreatedBy(CreatedBy createdBy) {
this.createdBy = createdBy;
return this;
}
@JsonProperty("deploymentId")
public String getDeploymentId() {
return deploymentId;
}
@JsonProperty("deploymentId")
public void setDeploymentId(String deploymentId) {
this.deploymentId = deploymentId;
}
public AppDeploymentRepresentation withDeploymentId(String deploymentId) {
this.deploymentId = deploymentId;
return this;
}
@JsonProperty("dmnDeploymentId")
public Long getDmnDeploymentId() {
return dmnDeploymentId;
}
@JsonProperty("dmnDeploymentId")
public void setDmnDeploymentId(Long dmnDeploymentId) {
this.dmnDeploymentId = dmnDeploymentId;
}
public AppDeploymentRepresentation withDmnDeploymentId(Long dmnDeploymentId) {
this.dmnDeploymentId = dmnDeploymentId;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public AppDeploymentRepresentation withId(Long id) {
this.id = id;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(AppDeploymentRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("appDefinition");
sb.append('=');
sb.append(((this.appDefinition == null)?"<null>":this.appDefinition));
sb.append(',');
sb.append("created");
sb.append('=');
sb.append(((this.created == null)?"<null>":this.created));
sb.append(',');
sb.append("createdBy");
sb.append('=');
sb.append(((this.createdBy == null)?"<null>":this.createdBy));
sb.append(',');
sb.append("deploymentId");
sb.append('=');
sb.append(((this.deploymentId == null)?"<null>":this.deploymentId));
sb.append(',');
sb.append("dmnDeploymentId");
sb.append('=');
sb.append(((this.dmnDeploymentId == null)?"<null>":this.dmnDeploymentId));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.appDefinition == null)? 0 :this.appDefinition.hashCode()));
result = ((result* 31)+((this.createdBy == null)? 0 :this.createdBy.hashCode()));
result = ((result* 31)+((this.created == null)? 0 :this.created.hashCode()));
result = ((result* 31)+((this.dmnDeploymentId == null)? 0 :this.dmnDeploymentId.hashCode()));
result = ((result* 31)+((this.deploymentId == null)? 0 :this.deploymentId.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof AppDeploymentRepresentation) == false) {
return false;
}
AppDeploymentRepresentation rhs = ((AppDeploymentRepresentation) other);
return (((((((this.appDefinition == rhs.appDefinition)||((this.appDefinition!= null)&&this.appDefinition.equals(rhs.appDefinition)))&&((this.createdBy == rhs.createdBy)||((this.createdBy!= null)&&this.createdBy.equals(rhs.createdBy))))&&((this.created == rhs.created)||((this.created!= null)&&this.created.equals(rhs.created))))&&((this.dmnDeploymentId == rhs.dmnDeploymentId)||((this.dmnDeploymentId!= null)&&this.dmnDeploymentId.equals(rhs.dmnDeploymentId))))&&((this.deploymentId == rhs.deploymentId)||((this.deploymentId!= null)&&this.deploymentId.equals(rhs.deploymentId))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))));
}
}

View File

@@ -1,117 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* AuditDecisionRuleInfoRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"expressions",
"title"
})
public class AppliedRule {
@JsonProperty("expressions")
private List<Expression> expressions = new ArrayList<Expression>();
@JsonProperty("title")
private String title;
/**
* No args constructor for use in serialization
*
*/
public AppliedRule() {
}
/**
*
* @param title
* @param expressions
*/
public AppliedRule(List<Expression> expressions, String title) {
super();
this.expressions = expressions;
this.title = title;
}
@JsonProperty("expressions")
public List<Expression> getExpressions() {
return expressions;
}
@JsonProperty("expressions")
public void setExpressions(List<Expression> expressions) {
this.expressions = expressions;
}
public AppliedRule withExpressions(List<Expression> expressions) {
this.expressions = expressions;
return this;
}
@JsonProperty("title")
public String getTitle() {
return title;
}
@JsonProperty("title")
public void setTitle(String title) {
this.title = title;
}
public AppliedRule withTitle(String title) {
this.title = title;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(AppliedRule.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("expressions");
sb.append('=');
sb.append(((this.expressions == null)?"<null>":this.expressions));
sb.append(',');
sb.append("title");
sb.append('=');
sb.append(((this.title == null)?"<null>":this.title));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.title == null)? 0 :this.title.hashCode()));
result = ((result* 31)+((this.expressions == null)? 0 :this.expressions.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof AppliedRule) == false) {
return false;
}
AppliedRule rhs = ((AppliedRule) other);
return (((this.title == rhs.title)||((this.title!= null)&&this.title.equals(rhs.title)))&&((this.expressions == rhs.expressions)||((this.expressions!= null)&&this.expressions.equals(rhs.expressions))));
}
}

View File

@@ -1,640 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonValue;
/**
* ArrayNode
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"array",
"bigDecimal",
"bigInteger",
"binary",
"boolean",
"containerNode",
"double",
"float",
"floatingPointNumber",
"int",
"integralNumber",
"long",
"missingNode",
"nodeType",
"null",
"number",
"object",
"pojo",
"short",
"textual",
"valueNode"
})
public class ArrayNode {
@JsonProperty("array")
private Boolean array;
@JsonProperty("bigDecimal")
private Boolean bigDecimal;
@JsonProperty("bigInteger")
private Boolean bigInteger;
@JsonProperty("binary")
private Boolean binary;
@JsonProperty("boolean")
private Boolean _boolean;
@JsonProperty("containerNode")
private Boolean containerNode;
@JsonProperty("double")
private Boolean _double;
@JsonProperty("float")
private Boolean _float;
@JsonProperty("floatingPointNumber")
private Boolean floatingPointNumber;
@JsonProperty("int")
private Boolean _int;
@JsonProperty("integralNumber")
private Boolean integralNumber;
@JsonProperty("long")
private Boolean _long;
@JsonProperty("missingNode")
private Boolean missingNode;
@JsonProperty("nodeType")
private ArrayNode.NodeType nodeType;
@JsonProperty("null")
private Boolean _null;
@JsonProperty("number")
private Boolean number;
@JsonProperty("object")
private Boolean object;
@JsonProperty("pojo")
private Boolean pojo;
@JsonProperty("short")
private Boolean _short;
@JsonProperty("textual")
private Boolean textual;
@JsonProperty("valueNode")
private Boolean valueNode;
/**
* No args constructor for use in serialization
*
*/
public ArrayNode() {
}
/**
*
* @param integralNumber
* @param _boolean
* @param _null
* @param valueNode
* @param bigInteger
* @param floatingPointNumber
* @param nodeType
* @param textual
* @param missingNode
* @param pojo
* @param _float
* @param number
* @param array
* @param _long
* @param binary
* @param _double
* @param containerNode
* @param bigDecimal
* @param _int
* @param _short
* @param object
*/
public ArrayNode(Boolean array, Boolean bigDecimal, Boolean bigInteger, Boolean binary, Boolean _boolean, Boolean containerNode, Boolean _double, Boolean _float, Boolean floatingPointNumber, Boolean _int, Boolean integralNumber, Boolean _long, Boolean missingNode, ArrayNode.NodeType nodeType, Boolean _null, Boolean number, Boolean object, Boolean pojo, Boolean _short, Boolean textual, Boolean valueNode) {
super();
this.array = array;
this.bigDecimal = bigDecimal;
this.bigInteger = bigInteger;
this.binary = binary;
this._boolean = _boolean;
this.containerNode = containerNode;
this._double = _double;
this._float = _float;
this.floatingPointNumber = floatingPointNumber;
this._int = _int;
this.integralNumber = integralNumber;
this._long = _long;
this.missingNode = missingNode;
this.nodeType = nodeType;
this._null = _null;
this.number = number;
this.object = object;
this.pojo = pojo;
this._short = _short;
this.textual = textual;
this.valueNode = valueNode;
}
@JsonProperty("array")
public Boolean getArray() {
return array;
}
@JsonProperty("array")
public void setArray(Boolean array) {
this.array = array;
}
public ArrayNode withArray(Boolean array) {
this.array = array;
return this;
}
@JsonProperty("bigDecimal")
public Boolean getBigDecimal() {
return bigDecimal;
}
@JsonProperty("bigDecimal")
public void setBigDecimal(Boolean bigDecimal) {
this.bigDecimal = bigDecimal;
}
public ArrayNode withBigDecimal(Boolean bigDecimal) {
this.bigDecimal = bigDecimal;
return this;
}
@JsonProperty("bigInteger")
public Boolean getBigInteger() {
return bigInteger;
}
@JsonProperty("bigInteger")
public void setBigInteger(Boolean bigInteger) {
this.bigInteger = bigInteger;
}
public ArrayNode withBigInteger(Boolean bigInteger) {
this.bigInteger = bigInteger;
return this;
}
@JsonProperty("binary")
public Boolean getBinary() {
return binary;
}
@JsonProperty("binary")
public void setBinary(Boolean binary) {
this.binary = binary;
}
public ArrayNode withBinary(Boolean binary) {
this.binary = binary;
return this;
}
@JsonProperty("boolean")
public Boolean getBoolean() {
return _boolean;
}
@JsonProperty("boolean")
public void setBoolean(Boolean _boolean) {
this._boolean = _boolean;
}
public ArrayNode withBoolean(Boolean _boolean) {
this._boolean = _boolean;
return this;
}
@JsonProperty("containerNode")
public Boolean getContainerNode() {
return containerNode;
}
@JsonProperty("containerNode")
public void setContainerNode(Boolean containerNode) {
this.containerNode = containerNode;
}
public ArrayNode withContainerNode(Boolean containerNode) {
this.containerNode = containerNode;
return this;
}
@JsonProperty("double")
public Boolean getDouble() {
return _double;
}
@JsonProperty("double")
public void setDouble(Boolean _double) {
this._double = _double;
}
public ArrayNode withDouble(Boolean _double) {
this._double = _double;
return this;
}
@JsonProperty("float")
public Boolean getFloat() {
return _float;
}
@JsonProperty("float")
public void setFloat(Boolean _float) {
this._float = _float;
}
public ArrayNode withFloat(Boolean _float) {
this._float = _float;
return this;
}
@JsonProperty("floatingPointNumber")
public Boolean getFloatingPointNumber() {
return floatingPointNumber;
}
@JsonProperty("floatingPointNumber")
public void setFloatingPointNumber(Boolean floatingPointNumber) {
this.floatingPointNumber = floatingPointNumber;
}
public ArrayNode withFloatingPointNumber(Boolean floatingPointNumber) {
this.floatingPointNumber = floatingPointNumber;
return this;
}
@JsonProperty("int")
public Boolean getInt() {
return _int;
}
@JsonProperty("int")
public void setInt(Boolean _int) {
this._int = _int;
}
public ArrayNode withInt(Boolean _int) {
this._int = _int;
return this;
}
@JsonProperty("integralNumber")
public Boolean getIntegralNumber() {
return integralNumber;
}
@JsonProperty("integralNumber")
public void setIntegralNumber(Boolean integralNumber) {
this.integralNumber = integralNumber;
}
public ArrayNode withIntegralNumber(Boolean integralNumber) {
this.integralNumber = integralNumber;
return this;
}
@JsonProperty("long")
public Boolean getLong() {
return _long;
}
@JsonProperty("long")
public void setLong(Boolean _long) {
this._long = _long;
}
public ArrayNode withLong(Boolean _long) {
this._long = _long;
return this;
}
@JsonProperty("missingNode")
public Boolean getMissingNode() {
return missingNode;
}
@JsonProperty("missingNode")
public void setMissingNode(Boolean missingNode) {
this.missingNode = missingNode;
}
public ArrayNode withMissingNode(Boolean missingNode) {
this.missingNode = missingNode;
return this;
}
@JsonProperty("nodeType")
public ArrayNode.NodeType getNodeType() {
return nodeType;
}
@JsonProperty("nodeType")
public void setNodeType(ArrayNode.NodeType nodeType) {
this.nodeType = nodeType;
}
public ArrayNode withNodeType(ArrayNode.NodeType nodeType) {
this.nodeType = nodeType;
return this;
}
@JsonProperty("null")
public Boolean getNull() {
return _null;
}
@JsonProperty("null")
public void setNull(Boolean _null) {
this._null = _null;
}
public ArrayNode withNull(Boolean _null) {
this._null = _null;
return this;
}
@JsonProperty("number")
public Boolean getNumber() {
return number;
}
@JsonProperty("number")
public void setNumber(Boolean number) {
this.number = number;
}
public ArrayNode withNumber(Boolean number) {
this.number = number;
return this;
}
@JsonProperty("object")
public Boolean getObject() {
return object;
}
@JsonProperty("object")
public void setObject(Boolean object) {
this.object = object;
}
public ArrayNode withObject(Boolean object) {
this.object = object;
return this;
}
@JsonProperty("pojo")
public Boolean getPojo() {
return pojo;
}
@JsonProperty("pojo")
public void setPojo(Boolean pojo) {
this.pojo = pojo;
}
public ArrayNode withPojo(Boolean pojo) {
this.pojo = pojo;
return this;
}
@JsonProperty("short")
public Boolean getShort() {
return _short;
}
@JsonProperty("short")
public void setShort(Boolean _short) {
this._short = _short;
}
public ArrayNode withShort(Boolean _short) {
this._short = _short;
return this;
}
@JsonProperty("textual")
public Boolean getTextual() {
return textual;
}
@JsonProperty("textual")
public void setTextual(Boolean textual) {
this.textual = textual;
}
public ArrayNode withTextual(Boolean textual) {
this.textual = textual;
return this;
}
@JsonProperty("valueNode")
public Boolean getValueNode() {
return valueNode;
}
@JsonProperty("valueNode")
public void setValueNode(Boolean valueNode) {
this.valueNode = valueNode;
}
public ArrayNode withValueNode(Boolean valueNode) {
this.valueNode = valueNode;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(ArrayNode.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("array");
sb.append('=');
sb.append(((this.array == null)?"<null>":this.array));
sb.append(',');
sb.append("bigDecimal");
sb.append('=');
sb.append(((this.bigDecimal == null)?"<null>":this.bigDecimal));
sb.append(',');
sb.append("bigInteger");
sb.append('=');
sb.append(((this.bigInteger == null)?"<null>":this.bigInteger));
sb.append(',');
sb.append("binary");
sb.append('=');
sb.append(((this.binary == null)?"<null>":this.binary));
sb.append(',');
sb.append("_boolean");
sb.append('=');
sb.append(((this._boolean == null)?"<null>":this._boolean));
sb.append(',');
sb.append("containerNode");
sb.append('=');
sb.append(((this.containerNode == null)?"<null>":this.containerNode));
sb.append(',');
sb.append("_double");
sb.append('=');
sb.append(((this._double == null)?"<null>":this._double));
sb.append(',');
sb.append("_float");
sb.append('=');
sb.append(((this._float == null)?"<null>":this._float));
sb.append(',');
sb.append("floatingPointNumber");
sb.append('=');
sb.append(((this.floatingPointNumber == null)?"<null>":this.floatingPointNumber));
sb.append(',');
sb.append("_int");
sb.append('=');
sb.append(((this._int == null)?"<null>":this._int));
sb.append(',');
sb.append("integralNumber");
sb.append('=');
sb.append(((this.integralNumber == null)?"<null>":this.integralNumber));
sb.append(',');
sb.append("_long");
sb.append('=');
sb.append(((this._long == null)?"<null>":this._long));
sb.append(',');
sb.append("missingNode");
sb.append('=');
sb.append(((this.missingNode == null)?"<null>":this.missingNode));
sb.append(',');
sb.append("nodeType");
sb.append('=');
sb.append(((this.nodeType == null)?"<null>":this.nodeType));
sb.append(',');
sb.append("_null");
sb.append('=');
sb.append(((this._null == null)?"<null>":this._null));
sb.append(',');
sb.append("number");
sb.append('=');
sb.append(((this.number == null)?"<null>":this.number));
sb.append(',');
sb.append("object");
sb.append('=');
sb.append(((this.object == null)?"<null>":this.object));
sb.append(',');
sb.append("pojo");
sb.append('=');
sb.append(((this.pojo == null)?"<null>":this.pojo));
sb.append(',');
sb.append("_short");
sb.append('=');
sb.append(((this._short == null)?"<null>":this._short));
sb.append(',');
sb.append("textual");
sb.append('=');
sb.append(((this.textual == null)?"<null>":this.textual));
sb.append(',');
sb.append("valueNode");
sb.append('=');
sb.append(((this.valueNode == null)?"<null>":this.valueNode));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.integralNumber == null)? 0 :this.integralNumber.hashCode()));
result = ((result* 31)+((this._boolean == null)? 0 :this._boolean.hashCode()));
result = ((result* 31)+((this._null == null)? 0 :this._null.hashCode()));
result = ((result* 31)+((this.valueNode == null)? 0 :this.valueNode.hashCode()));
result = ((result* 31)+((this.bigInteger == null)? 0 :this.bigInteger.hashCode()));
result = ((result* 31)+((this.floatingPointNumber == null)? 0 :this.floatingPointNumber.hashCode()));
result = ((result* 31)+((this.nodeType == null)? 0 :this.nodeType.hashCode()));
result = ((result* 31)+((this.textual == null)? 0 :this.textual.hashCode()));
result = ((result* 31)+((this.missingNode == null)? 0 :this.missingNode.hashCode()));
result = ((result* 31)+((this.pojo == null)? 0 :this.pojo.hashCode()));
result = ((result* 31)+((this._float == null)? 0 :this._float.hashCode()));
result = ((result* 31)+((this.number == null)? 0 :this.number.hashCode()));
result = ((result* 31)+((this.array == null)? 0 :this.array.hashCode()));
result = ((result* 31)+((this._long == null)? 0 :this._long.hashCode()));
result = ((result* 31)+((this.binary == null)? 0 :this.binary.hashCode()));
result = ((result* 31)+((this._double == null)? 0 :this._double.hashCode()));
result = ((result* 31)+((this.containerNode == null)? 0 :this.containerNode.hashCode()));
result = ((result* 31)+((this.bigDecimal == null)? 0 :this.bigDecimal.hashCode()));
result = ((result* 31)+((this._int == null)? 0 :this._int.hashCode()));
result = ((result* 31)+((this._short == null)? 0 :this._short.hashCode()));
result = ((result* 31)+((this.object == null)? 0 :this.object.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof ArrayNode) == false) {
return false;
}
ArrayNode rhs = ((ArrayNode) other);
return ((((((((((((((((((((((this.integralNumber == rhs.integralNumber)||((this.integralNumber!= null)&&this.integralNumber.equals(rhs.integralNumber)))&&((this._boolean == rhs._boolean)||((this._boolean!= null)&&this._boolean.equals(rhs._boolean))))&&((this._null == rhs._null)||((this._null!= null)&&this._null.equals(rhs._null))))&&((this.valueNode == rhs.valueNode)||((this.valueNode!= null)&&this.valueNode.equals(rhs.valueNode))))&&((this.bigInteger == rhs.bigInteger)||((this.bigInteger!= null)&&this.bigInteger.equals(rhs.bigInteger))))&&((this.floatingPointNumber == rhs.floatingPointNumber)||((this.floatingPointNumber!= null)&&this.floatingPointNumber.equals(rhs.floatingPointNumber))))&&((this.nodeType == rhs.nodeType)||((this.nodeType!= null)&&this.nodeType.equals(rhs.nodeType))))&&((this.textual == rhs.textual)||((this.textual!= null)&&this.textual.equals(rhs.textual))))&&((this.missingNode == rhs.missingNode)||((this.missingNode!= null)&&this.missingNode.equals(rhs.missingNode))))&&((this.pojo == rhs.pojo)||((this.pojo!= null)&&this.pojo.equals(rhs.pojo))))&&((this._float == rhs._float)||((this._float!= null)&&this._float.equals(rhs._float))))&&((this.number == rhs.number)||((this.number!= null)&&this.number.equals(rhs.number))))&&((this.array == rhs.array)||((this.array!= null)&&this.array.equals(rhs.array))))&&((this._long == rhs._long)||((this._long!= null)&&this._long.equals(rhs._long))))&&((this.binary == rhs.binary)||((this.binary!= null)&&this.binary.equals(rhs.binary))))&&((this._double == rhs._double)||((this._double!= null)&&this._double.equals(rhs._double))))&&((this.containerNode == rhs.containerNode)||((this.containerNode!= null)&&this.containerNode.equals(rhs.containerNode))))&&((this.bigDecimal == rhs.bigDecimal)||((this.bigDecimal!= null)&&this.bigDecimal.equals(rhs.bigDecimal))))&&((this._int == rhs._int)||((this._int!= null)&&this._int.equals(rhs._int))))&&((this._short == rhs._short)||((this._short!= null)&&this._short.equals(rhs._short))))&&((this.object == rhs.object)||((this.object!= null)&&this.object.equals(rhs.object))));
}
public enum NodeType {
ARRAY("ARRAY"),
BINARY("BINARY"),
BOOLEAN("BOOLEAN"),
MISSING("MISSING"),
NULL("NULL"),
NUMBER("NUMBER"),
OBJECT("OBJECT"),
POJO("POJO"),
STRING("STRING");
private final String value;
private final static Map<String, ArrayNode.NodeType> CONSTANTS = new HashMap<String, ArrayNode.NodeType>();
static {
for (ArrayNode.NodeType c: values()) {
CONSTANTS.put(c.value, c);
}
}
private NodeType(String value) {
this.value = value;
}
@Override
public String toString() {
return this.value;
}
@JsonValue
public String value() {
return this.value;
}
@JsonCreator
public static ArrayNode.NodeType fromValue(String value) {
ArrayNode.NodeType constant = CONSTANTS.get(value);
if (constant == null) {
throw new IllegalArgumentException(value);
} else {
return constant;
}
}
}
}

View File

@@ -1,240 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* LightUserRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"company",
"email",
"externalId",
"firstName",
"id",
"lastName",
"pictureId"
})
public class Assignee {
@JsonProperty("company")
private String company;
@JsonProperty("email")
private String email;
@JsonProperty("externalId")
private String externalId;
@JsonProperty("firstName")
private String firstName;
@JsonProperty("id")
private Long id;
@JsonProperty("lastName")
private String lastName;
@JsonProperty("pictureId")
private Long pictureId;
/**
* No args constructor for use in serialization
*
*/
public Assignee() {
}
/**
*
* @param firstName
* @param lastName
* @param pictureId
* @param externalId
* @param company
* @param id
* @param email
*/
public Assignee(String company, String email, String externalId, String firstName, Long id, String lastName, Long pictureId) {
super();
this.company = company;
this.email = email;
this.externalId = externalId;
this.firstName = firstName;
this.id = id;
this.lastName = lastName;
this.pictureId = pictureId;
}
@JsonProperty("company")
public String getCompany() {
return company;
}
@JsonProperty("company")
public void setCompany(String company) {
this.company = company;
}
public Assignee withCompany(String company) {
this.company = company;
return this;
}
@JsonProperty("email")
public String getEmail() {
return email;
}
@JsonProperty("email")
public void setEmail(String email) {
this.email = email;
}
public Assignee withEmail(String email) {
this.email = email;
return this;
}
@JsonProperty("externalId")
public String getExternalId() {
return externalId;
}
@JsonProperty("externalId")
public void setExternalId(String externalId) {
this.externalId = externalId;
}
public Assignee withExternalId(String externalId) {
this.externalId = externalId;
return this;
}
@JsonProperty("firstName")
public String getFirstName() {
return firstName;
}
@JsonProperty("firstName")
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public Assignee withFirstName(String firstName) {
this.firstName = firstName;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public Assignee withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("lastName")
public String getLastName() {
return lastName;
}
@JsonProperty("lastName")
public void setLastName(String lastName) {
this.lastName = lastName;
}
public Assignee withLastName(String lastName) {
this.lastName = lastName;
return this;
}
@JsonProperty("pictureId")
public Long getPictureId() {
return pictureId;
}
@JsonProperty("pictureId")
public void setPictureId(Long pictureId) {
this.pictureId = pictureId;
}
public Assignee withPictureId(Long pictureId) {
this.pictureId = pictureId;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(Assignee.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("company");
sb.append('=');
sb.append(((this.company == null)?"<null>":this.company));
sb.append(',');
sb.append("email");
sb.append('=');
sb.append(((this.email == null)?"<null>":this.email));
sb.append(',');
sb.append("externalId");
sb.append('=');
sb.append(((this.externalId == null)?"<null>":this.externalId));
sb.append(',');
sb.append("firstName");
sb.append('=');
sb.append(((this.firstName == null)?"<null>":this.firstName));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("lastName");
sb.append('=');
sb.append(((this.lastName == null)?"<null>":this.lastName));
sb.append(',');
sb.append("pictureId");
sb.append('=');
sb.append(((this.pictureId == null)?"<null>":this.pictureId));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.firstName == null)? 0 :this.firstName.hashCode()));
result = ((result* 31)+((this.lastName == null)? 0 :this.lastName.hashCode()));
result = ((result* 31)+((this.pictureId == null)? 0 :this.pictureId.hashCode()));
result = ((result* 31)+((this.externalId == null)? 0 :this.externalId.hashCode()));
result = ((result* 31)+((this.company == null)? 0 :this.company.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.email == null)? 0 :this.email.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof Assignee) == false) {
return false;
}
Assignee rhs = ((Assignee) other);
return ((((((((this.firstName == rhs.firstName)||((this.firstName!= null)&&this.firstName.equals(rhs.firstName)))&&((this.lastName == rhs.lastName)||((this.lastName!= null)&&this.lastName.equals(rhs.lastName))))&&((this.pictureId == rhs.pictureId)||((this.pictureId!= null)&&this.pictureId.equals(rhs.pictureId))))&&((this.externalId == rhs.externalId)||((this.externalId!= null)&&this.externalId.equals(rhs.externalId))))&&((this.company == rhs.company)||((this.company!= null)&&this.company.equals(rhs.company))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.email == rhs.email)||((this.email!= null)&&this.email.equals(rhs.email))));
}
}

View File

@@ -1,140 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* BoxUserAccountCredentialsRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"authenticationURL",
"expireDate",
"ownerEmail"
})
public class BoxUserAccountCredentialsRepresentation {
@JsonProperty("authenticationURL")
private String authenticationURL;
@JsonProperty("expireDate")
private String expireDate;
@JsonProperty("ownerEmail")
private String ownerEmail;
/**
* No args constructor for use in serialization
*
*/
public BoxUserAccountCredentialsRepresentation() {
}
/**
*
* @param expireDate
* @param authenticationURL
* @param ownerEmail
*/
public BoxUserAccountCredentialsRepresentation(String authenticationURL, String expireDate, String ownerEmail) {
super();
this.authenticationURL = authenticationURL;
this.expireDate = expireDate;
this.ownerEmail = ownerEmail;
}
@JsonProperty("authenticationURL")
public String getAuthenticationURL() {
return authenticationURL;
}
@JsonProperty("authenticationURL")
public void setAuthenticationURL(String authenticationURL) {
this.authenticationURL = authenticationURL;
}
public BoxUserAccountCredentialsRepresentation withAuthenticationURL(String authenticationURL) {
this.authenticationURL = authenticationURL;
return this;
}
@JsonProperty("expireDate")
public String getExpireDate() {
return expireDate;
}
@JsonProperty("expireDate")
public void setExpireDate(String expireDate) {
this.expireDate = expireDate;
}
public BoxUserAccountCredentialsRepresentation withExpireDate(String expireDate) {
this.expireDate = expireDate;
return this;
}
@JsonProperty("ownerEmail")
public String getOwnerEmail() {
return ownerEmail;
}
@JsonProperty("ownerEmail")
public void setOwnerEmail(String ownerEmail) {
this.ownerEmail = ownerEmail;
}
public BoxUserAccountCredentialsRepresentation withOwnerEmail(String ownerEmail) {
this.ownerEmail = ownerEmail;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(BoxUserAccountCredentialsRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("authenticationURL");
sb.append('=');
sb.append(((this.authenticationURL == null)?"<null>":this.authenticationURL));
sb.append(',');
sb.append("expireDate");
sb.append('=');
sb.append(((this.expireDate == null)?"<null>":this.expireDate));
sb.append(',');
sb.append("ownerEmail");
sb.append('=');
sb.append(((this.ownerEmail == null)?"<null>":this.ownerEmail));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.expireDate == null)? 0 :this.expireDate.hashCode()));
result = ((result* 31)+((this.authenticationURL == null)? 0 :this.authenticationURL.hashCode()));
result = ((result* 31)+((this.ownerEmail == null)? 0 :this.ownerEmail.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof BoxUserAccountCredentialsRepresentation) == false) {
return false;
}
BoxUserAccountCredentialsRepresentation rhs = ((BoxUserAccountCredentialsRepresentation) other);
return ((((this.expireDate == rhs.expireDate)||((this.expireDate!= null)&&this.expireDate.equals(rhs.expireDate)))&&((this.authenticationURL == rhs.authenticationURL)||((this.authenticationURL!= null)&&this.authenticationURL.equals(rhs.authenticationURL))))&&((this.ownerEmail == rhs.ownerEmail)||((this.ownerEmail!= null)&&this.ownerEmail.equals(rhs.ownerEmail))));
}
}

View File

@@ -1,242 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* BulkUserUpdateRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"accountType",
"password",
"primaryGroupId",
"sendNotifications",
"status",
"tenantId",
"users"
})
public class BulkUserUpdateRepresentation {
@JsonProperty("accountType")
private String accountType;
@JsonProperty("password")
private String password;
@JsonProperty("primaryGroupId")
private Long primaryGroupId;
@JsonProperty("sendNotifications")
private Boolean sendNotifications;
@JsonProperty("status")
private String status;
@JsonProperty("tenantId")
private Long tenantId;
@JsonProperty("users")
private List<Long> users = new ArrayList<Long>();
/**
* No args constructor for use in serialization
*
*/
public BulkUserUpdateRepresentation() {
}
/**
*
* @param password
* @param accountType
* @param primaryGroupId
* @param tenantId
* @param sendNotifications
* @param users
* @param status
*/
public BulkUserUpdateRepresentation(String accountType, String password, Long primaryGroupId, Boolean sendNotifications, String status, Long tenantId, List<Long> users) {
super();
this.accountType = accountType;
this.password = password;
this.primaryGroupId = primaryGroupId;
this.sendNotifications = sendNotifications;
this.status = status;
this.tenantId = tenantId;
this.users = users;
}
@JsonProperty("accountType")
public String getAccountType() {
return accountType;
}
@JsonProperty("accountType")
public void setAccountType(String accountType) {
this.accountType = accountType;
}
public BulkUserUpdateRepresentation withAccountType(String accountType) {
this.accountType = accountType;
return this;
}
@JsonProperty("password")
public String getPassword() {
return password;
}
@JsonProperty("password")
public void setPassword(String password) {
this.password = password;
}
public BulkUserUpdateRepresentation withPassword(String password) {
this.password = password;
return this;
}
@JsonProperty("primaryGroupId")
public Long getPrimaryGroupId() {
return primaryGroupId;
}
@JsonProperty("primaryGroupId")
public void setPrimaryGroupId(Long primaryGroupId) {
this.primaryGroupId = primaryGroupId;
}
public BulkUserUpdateRepresentation withPrimaryGroupId(Long primaryGroupId) {
this.primaryGroupId = primaryGroupId;
return this;
}
@JsonProperty("sendNotifications")
public Boolean getSendNotifications() {
return sendNotifications;
}
@JsonProperty("sendNotifications")
public void setSendNotifications(Boolean sendNotifications) {
this.sendNotifications = sendNotifications;
}
public BulkUserUpdateRepresentation withSendNotifications(Boolean sendNotifications) {
this.sendNotifications = sendNotifications;
return this;
}
@JsonProperty("status")
public String getStatus() {
return status;
}
@JsonProperty("status")
public void setStatus(String status) {
this.status = status;
}
public BulkUserUpdateRepresentation withStatus(String status) {
this.status = status;
return this;
}
@JsonProperty("tenantId")
public Long getTenantId() {
return tenantId;
}
@JsonProperty("tenantId")
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
public BulkUserUpdateRepresentation withTenantId(Long tenantId) {
this.tenantId = tenantId;
return this;
}
@JsonProperty("users")
public List<Long> getUsers() {
return users;
}
@JsonProperty("users")
public void setUsers(List<Long> users) {
this.users = users;
}
public BulkUserUpdateRepresentation withUsers(List<Long> users) {
this.users = users;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(BulkUserUpdateRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("accountType");
sb.append('=');
sb.append(((this.accountType == null)?"<null>":this.accountType));
sb.append(',');
sb.append("password");
sb.append('=');
sb.append(((this.password == null)?"<null>":this.password));
sb.append(',');
sb.append("primaryGroupId");
sb.append('=');
sb.append(((this.primaryGroupId == null)?"<null>":this.primaryGroupId));
sb.append(',');
sb.append("sendNotifications");
sb.append('=');
sb.append(((this.sendNotifications == null)?"<null>":this.sendNotifications));
sb.append(',');
sb.append("status");
sb.append('=');
sb.append(((this.status == null)?"<null>":this.status));
sb.append(',');
sb.append("tenantId");
sb.append('=');
sb.append(((this.tenantId == null)?"<null>":this.tenantId));
sb.append(',');
sb.append("users");
sb.append('=');
sb.append(((this.users == null)?"<null>":this.users));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.password == null)? 0 :this.password.hashCode()));
result = ((result* 31)+((this.accountType == null)? 0 :this.accountType.hashCode()));
result = ((result* 31)+((this.primaryGroupId == null)? 0 :this.primaryGroupId.hashCode()));
result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode()));
result = ((result* 31)+((this.sendNotifications == null)? 0 :this.sendNotifications.hashCode()));
result = ((result* 31)+((this.users == null)? 0 :this.users.hashCode()));
result = ((result* 31)+((this.status == null)? 0 :this.status.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof BulkUserUpdateRepresentation) == false) {
return false;
}
BulkUserUpdateRepresentation rhs = ((BulkUserUpdateRepresentation) other);
return ((((((((this.password == rhs.password)||((this.password!= null)&&this.password.equals(rhs.password)))&&((this.accountType == rhs.accountType)||((this.accountType!= null)&&this.accountType.equals(rhs.accountType))))&&((this.primaryGroupId == rhs.primaryGroupId)||((this.primaryGroupId!= null)&&this.primaryGroupId.equals(rhs.primaryGroupId))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.sendNotifications == rhs.sendNotifications)||((this.sendNotifications!= null)&&this.sendNotifications.equals(rhs.sendNotifications))))&&((this.users == rhs.users)||((this.users!= null)&&this.users.equals(rhs.users))))&&((this.status == rhs.status)||((this.status!= null)&&this.status.equals(rhs.status))));
}
}

View File

@@ -1,115 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* AuditCalculatedValueRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"name",
"value"
})
public class CalculatedValue {
@JsonProperty("name")
private String name;
@JsonProperty("value")
private String value;
/**
* No args constructor for use in serialization
*
*/
public CalculatedValue() {
}
/**
*
* @param name
* @param value
*/
public CalculatedValue(String name, String value) {
super();
this.name = name;
this.value = value;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public CalculatedValue withName(String name) {
this.name = name;
return this;
}
@JsonProperty("value")
public String getValue() {
return value;
}
@JsonProperty("value")
public void setValue(String value) {
this.value = value;
}
public CalculatedValue withValue(String value) {
this.value = value;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(CalculatedValue.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("value");
sb.append('=');
sb.append(((this.value == null)?"<null>":this.value));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof CalculatedValue) == false) {
return false;
}
CalculatedValue rhs = ((CalculatedValue) other);
return (((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value))));
}
}

View File

@@ -1,115 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* GroupCapabilityRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"id",
"name"
})
public class Capability {
@JsonProperty("id")
private Long id;
@JsonProperty("name")
private String name;
/**
* No args constructor for use in serialization
*
*/
public Capability() {
}
/**
*
* @param name
* @param id
*/
public Capability(Long id, String name) {
super();
this.id = id;
this.name = name;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public Capability withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public Capability withName(String name) {
this.name = name;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(Capability.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof Capability) == false) {
return false;
}
Capability rhs = ((Capability) other);
return (((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))));
}
}

View File

@@ -1,115 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* GroupCapabilityRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"id",
"name"
})
public class Capability__1 {
@JsonProperty("id")
private Long id;
@JsonProperty("name")
private String name;
/**
* No args constructor for use in serialization
*
*/
public Capability__1() {
}
/**
*
* @param name
* @param id
*/
public Capability__1(Long id, String name) {
super();
this.id = id;
this.name = name;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public Capability__1 withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public Capability__1 withName(String name) {
this.name = name;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(Capability__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof Capability__1) == false) {
return false;
}
Capability__1 rhs = ((Capability__1) other);
return (((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))));
}
}

View File

@@ -1,115 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* GroupCapabilityRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"id",
"name"
})
public class Capability__2 {
@JsonProperty("id")
private Long id;
@JsonProperty("name")
private String name;
/**
* No args constructor for use in serialization
*
*/
public Capability__2() {
}
/**
*
* @param name
* @param id
*/
public Capability__2(Long id, String name) {
super();
this.id = id;
this.name = name;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public Capability__2 withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public Capability__2 withName(String name) {
this.name = name;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(Capability__2 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof Capability__2) == false) {
return false;
}
Capability__2 rhs = ((Capability__2) other);
return (((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))));
}
}

View File

@@ -1,115 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* ChangePasswordRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"newPassword",
"oldPassword"
})
public class ChangePasswordRepresentation {
@JsonProperty("newPassword")
private String newPassword;
@JsonProperty("oldPassword")
private String oldPassword;
/**
* No args constructor for use in serialization
*
*/
public ChangePasswordRepresentation() {
}
/**
*
* @param oldPassword
* @param newPassword
*/
public ChangePasswordRepresentation(String newPassword, String oldPassword) {
super();
this.newPassword = newPassword;
this.oldPassword = oldPassword;
}
@JsonProperty("newPassword")
public String getNewPassword() {
return newPassword;
}
@JsonProperty("newPassword")
public void setNewPassword(String newPassword) {
this.newPassword = newPassword;
}
public ChangePasswordRepresentation withNewPassword(String newPassword) {
this.newPassword = newPassword;
return this;
}
@JsonProperty("oldPassword")
public String getOldPassword() {
return oldPassword;
}
@JsonProperty("oldPassword")
public void setOldPassword(String oldPassword) {
this.oldPassword = oldPassword;
}
public ChangePasswordRepresentation withOldPassword(String oldPassword) {
this.oldPassword = oldPassword;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(ChangePasswordRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("newPassword");
sb.append('=');
sb.append(((this.newPassword == null)?"<null>":this.newPassword));
sb.append(',');
sb.append("oldPassword");
sb.append('=');
sb.append(((this.oldPassword == null)?"<null>":this.oldPassword));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.newPassword == null)? 0 :this.newPassword.hashCode()));
result = ((result* 31)+((this.oldPassword == null)? 0 :this.oldPassword.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof ChangePasswordRepresentation) == false) {
return false;
}
ChangePasswordRepresentation rhs = ((ChangePasswordRepresentation) other);
return (((this.newPassword == rhs.newPassword)||((this.newPassword!= null)&&this.newPassword.equals(rhs.newPassword)))&&((this.oldPassword == rhs.oldPassword)||((this.oldPassword!= null)&&this.oldPassword.equals(rhs.oldPassword))));
}
}

View File

@@ -1,92 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* ChecklistOrderRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"order"
})
public class ChecklistOrderRepresentation {
@JsonProperty("order")
private List<String> order = new ArrayList<String>();
/**
* No args constructor for use in serialization
*
*/
public ChecklistOrderRepresentation() {
}
/**
*
* @param order
*/
public ChecklistOrderRepresentation(List<String> order) {
super();
this.order = order;
}
@JsonProperty("order")
public List<String> getOrder() {
return order;
}
@JsonProperty("order")
public void setOrder(List<String> order) {
this.order = order;
}
public ChecklistOrderRepresentation withOrder(List<String> order) {
this.order = order;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(ChecklistOrderRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("order");
sb.append('=');
sb.append(((this.order == null)?"<null>":this.order));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.order == null)? 0 :this.order.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof ChecklistOrderRepresentation) == false) {
return false;
}
ChecklistOrderRepresentation rhs = ((ChecklistOrderRepresentation) other);
return ((this.order == rhs.order)||((this.order!= null)&&this.order.equals(rhs.order)));
}
}

View File

@@ -1,115 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* CommentAuditInfo
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"author",
"message"
})
public class Comment {
@JsonProperty("author")
private String author;
@JsonProperty("message")
private String message;
/**
* No args constructor for use in serialization
*
*/
public Comment() {
}
/**
*
* @param author
* @param message
*/
public Comment(String author, String message) {
super();
this.author = author;
this.message = message;
}
@JsonProperty("author")
public String getAuthor() {
return author;
}
@JsonProperty("author")
public void setAuthor(String author) {
this.author = author;
}
public Comment withAuthor(String author) {
this.author = author;
return this;
}
@JsonProperty("message")
public String getMessage() {
return message;
}
@JsonProperty("message")
public void setMessage(String message) {
this.message = message;
}
public Comment withMessage(String message) {
this.message = message;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(Comment.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("author");
sb.append('=');
sb.append(((this.author == null)?"<null>":this.author));
sb.append(',');
sb.append("message");
sb.append('=');
sb.append(((this.message == null)?"<null>":this.message));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.message == null)? 0 :this.message.hashCode()));
result = ((result* 31)+((this.author == null)? 0 :this.author.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof Comment) == false) {
return false;
}
Comment rhs = ((Comment) other);
return (((this.message == rhs.message)||((this.message!= null)&&this.message.equals(rhs.message)))&&((this.author == rhs.author)||((this.author!= null)&&this.author.equals(rhs.author))));
}
}

View File

@@ -1,183 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* CommentRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"created",
"createdBy",
"id",
"message"
})
public class CommentRepresentation {
@JsonProperty("created")
private String created;
/**
* LightUserRepresentation
* <p>
*
*
*/
@JsonProperty("createdBy")
private CreatedBy__2 createdBy;
@JsonProperty("id")
private Long id;
@JsonProperty("message")
private String message;
/**
* No args constructor for use in serialization
*
*/
public CommentRepresentation() {
}
/**
*
* @param createdBy
* @param created
* @param id
* @param message
*/
public CommentRepresentation(String created, CreatedBy__2 createdBy, Long id, String message) {
super();
this.created = created;
this.createdBy = createdBy;
this.id = id;
this.message = message;
}
@JsonProperty("created")
public String getCreated() {
return created;
}
@JsonProperty("created")
public void setCreated(String created) {
this.created = created;
}
public CommentRepresentation withCreated(String created) {
this.created = created;
return this;
}
/**
* LightUserRepresentation
* <p>
*
*
*/
@JsonProperty("createdBy")
public CreatedBy__2 getCreatedBy() {
return createdBy;
}
/**
* LightUserRepresentation
* <p>
*
*
*/
@JsonProperty("createdBy")
public void setCreatedBy(CreatedBy__2 createdBy) {
this.createdBy = createdBy;
}
public CommentRepresentation withCreatedBy(CreatedBy__2 createdBy) {
this.createdBy = createdBy;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public CommentRepresentation withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("message")
public String getMessage() {
return message;
}
@JsonProperty("message")
public void setMessage(String message) {
this.message = message;
}
public CommentRepresentation withMessage(String message) {
this.message = message;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(CommentRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("created");
sb.append('=');
sb.append(((this.created == null)?"<null>":this.created));
sb.append(',');
sb.append("createdBy");
sb.append('=');
sb.append(((this.createdBy == null)?"<null>":this.createdBy));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("message");
sb.append('=');
sb.append(((this.message == null)?"<null>":this.message));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.message == null)? 0 :this.message.hashCode()));
result = ((result* 31)+((this.createdBy == null)? 0 :this.createdBy.hashCode()));
result = ((result* 31)+((this.created == null)? 0 :this.created.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof CommentRepresentation) == false) {
return false;
}
CommentRepresentation rhs = ((CommentRepresentation) other);
return (((((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id)))&&((this.message == rhs.message)||((this.message!= null)&&this.message.equals(rhs.message))))&&((this.createdBy == rhs.createdBy)||((this.createdBy!= null)&&this.createdBy.equals(rhs.createdBy))))&&((this.created == rhs.created)||((this.created!= null)&&this.created.equals(rhs.created))));
}
}

View File

@@ -1,115 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* CompleteFormRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"outcome",
"values"
})
public class CompleteFormRepresentation {
@JsonProperty("outcome")
private String outcome;
@JsonProperty("values")
private Values values;
/**
* No args constructor for use in serialization
*
*/
public CompleteFormRepresentation() {
}
/**
*
* @param values
* @param outcome
*/
public CompleteFormRepresentation(String outcome, Values values) {
super();
this.outcome = outcome;
this.values = values;
}
@JsonProperty("outcome")
public String getOutcome() {
return outcome;
}
@JsonProperty("outcome")
public void setOutcome(String outcome) {
this.outcome = outcome;
}
public CompleteFormRepresentation withOutcome(String outcome) {
this.outcome = outcome;
return this;
}
@JsonProperty("values")
public Values getValues() {
return values;
}
@JsonProperty("values")
public void setValues(Values values) {
this.values = values;
}
public CompleteFormRepresentation withValues(Values values) {
this.values = values;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(CompleteFormRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("outcome");
sb.append('=');
sb.append(((this.outcome == null)?"<null>":this.outcome));
sb.append(',');
sb.append("values");
sb.append('=');
sb.append(((this.values == null)?"<null>":this.values));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.outcome == null)? 0 :this.outcome.hashCode()));
result = ((result* 31)+((this.values == null)? 0 :this.values.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof CompleteFormRepresentation) == false) {
return false;
}
CompleteFormRepresentation rhs = ((CompleteFormRepresentation) other);
return (((this.outcome == rhs.outcome)||((this.outcome!= null)&&this.outcome.equals(rhs.outcome)))&&((this.values == rhs.values)||((this.values!= null)&&this.values.equals(rhs.values))));
}
}

View File

@@ -1,165 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* CreateEndpointBasicAuthRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"name",
"password",
"tenantId",
"username"
})
public class CreateEndpointBasicAuthRepresentation {
@JsonProperty("name")
private String name;
@JsonProperty("password")
private String password;
@JsonProperty("tenantId")
private Long tenantId;
@JsonProperty("username")
private String username;
/**
* No args constructor for use in serialization
*
*/
public CreateEndpointBasicAuthRepresentation() {
}
/**
*
* @param password
* @param name
* @param tenantId
* @param username
*/
public CreateEndpointBasicAuthRepresentation(String name, String password, Long tenantId, String username) {
super();
this.name = name;
this.password = password;
this.tenantId = tenantId;
this.username = username;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public CreateEndpointBasicAuthRepresentation withName(String name) {
this.name = name;
return this;
}
@JsonProperty("password")
public String getPassword() {
return password;
}
@JsonProperty("password")
public void setPassword(String password) {
this.password = password;
}
public CreateEndpointBasicAuthRepresentation withPassword(String password) {
this.password = password;
return this;
}
@JsonProperty("tenantId")
public Long getTenantId() {
return tenantId;
}
@JsonProperty("tenantId")
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
public CreateEndpointBasicAuthRepresentation withTenantId(Long tenantId) {
this.tenantId = tenantId;
return this;
}
@JsonProperty("username")
public String getUsername() {
return username;
}
@JsonProperty("username")
public void setUsername(String username) {
this.username = username;
}
public CreateEndpointBasicAuthRepresentation withUsername(String username) {
this.username = username;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(CreateEndpointBasicAuthRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("password");
sb.append('=');
sb.append(((this.password == null)?"<null>":this.password));
sb.append(',');
sb.append("tenantId");
sb.append('=');
sb.append(((this.tenantId == null)?"<null>":this.tenantId));
sb.append(',');
sb.append("username");
sb.append('=');
sb.append(((this.username == null)?"<null>":this.username));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode()));
result = ((result* 31)+((this.password == null)? 0 :this.password.hashCode()));
result = ((result* 31)+((this.username == null)? 0 :this.username.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof CreateEndpointBasicAuthRepresentation) == false) {
return false;
}
CreateEndpointBasicAuthRepresentation rhs = ((CreateEndpointBasicAuthRepresentation) other);
return (((((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.password == rhs.password)||((this.password!= null)&&this.password.equals(rhs.password))))&&((this.username == rhs.username)||((this.username!= null)&&this.username.equals(rhs.username))));
}
}

View File

@@ -1,242 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* CreateProcessInstanceRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"businessKey",
"name",
"outcome",
"processDefinitionId",
"processDefinitionKey",
"values",
"variables"
})
public class CreateProcessInstanceRepresentation {
@JsonProperty("businessKey")
private String businessKey;
@JsonProperty("name")
private String name;
@JsonProperty("outcome")
private String outcome;
@JsonProperty("processDefinitionId")
private String processDefinitionId;
@JsonProperty("processDefinitionKey")
private String processDefinitionKey;
@JsonProperty("values")
private Values__2 values;
@JsonProperty("variables")
private List<Variable__8> variables = new ArrayList<Variable__8>();
/**
* No args constructor for use in serialization
*
*/
public CreateProcessInstanceRepresentation() {
}
/**
*
* @param processDefinitionId
* @param variables
* @param values
* @param businessKey
* @param name
* @param outcome
* @param processDefinitionKey
*/
public CreateProcessInstanceRepresentation(String businessKey, String name, String outcome, String processDefinitionId, String processDefinitionKey, Values__2 values, List<Variable__8> variables) {
super();
this.businessKey = businessKey;
this.name = name;
this.outcome = outcome;
this.processDefinitionId = processDefinitionId;
this.processDefinitionKey = processDefinitionKey;
this.values = values;
this.variables = variables;
}
@JsonProperty("businessKey")
public String getBusinessKey() {
return businessKey;
}
@JsonProperty("businessKey")
public void setBusinessKey(String businessKey) {
this.businessKey = businessKey;
}
public CreateProcessInstanceRepresentation withBusinessKey(String businessKey) {
this.businessKey = businessKey;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public CreateProcessInstanceRepresentation withName(String name) {
this.name = name;
return this;
}
@JsonProperty("outcome")
public String getOutcome() {
return outcome;
}
@JsonProperty("outcome")
public void setOutcome(String outcome) {
this.outcome = outcome;
}
public CreateProcessInstanceRepresentation withOutcome(String outcome) {
this.outcome = outcome;
return this;
}
@JsonProperty("processDefinitionId")
public String getProcessDefinitionId() {
return processDefinitionId;
}
@JsonProperty("processDefinitionId")
public void setProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
}
public CreateProcessInstanceRepresentation withProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
return this;
}
@JsonProperty("processDefinitionKey")
public String getProcessDefinitionKey() {
return processDefinitionKey;
}
@JsonProperty("processDefinitionKey")
public void setProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
}
public CreateProcessInstanceRepresentation withProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
return this;
}
@JsonProperty("values")
public Values__2 getValues() {
return values;
}
@JsonProperty("values")
public void setValues(Values__2 values) {
this.values = values;
}
public CreateProcessInstanceRepresentation withValues(Values__2 values) {
this.values = values;
return this;
}
@JsonProperty("variables")
public List<Variable__8> getVariables() {
return variables;
}
@JsonProperty("variables")
public void setVariables(List<Variable__8> variables) {
this.variables = variables;
}
public CreateProcessInstanceRepresentation withVariables(List<Variable__8> variables) {
this.variables = variables;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(CreateProcessInstanceRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("businessKey");
sb.append('=');
sb.append(((this.businessKey == null)?"<null>":this.businessKey));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("outcome");
sb.append('=');
sb.append(((this.outcome == null)?"<null>":this.outcome));
sb.append(',');
sb.append("processDefinitionId");
sb.append('=');
sb.append(((this.processDefinitionId == null)?"<null>":this.processDefinitionId));
sb.append(',');
sb.append("processDefinitionKey");
sb.append('=');
sb.append(((this.processDefinitionKey == null)?"<null>":this.processDefinitionKey));
sb.append(',');
sb.append("values");
sb.append('=');
sb.append(((this.values == null)?"<null>":this.values));
sb.append(',');
sb.append("variables");
sb.append('=');
sb.append(((this.variables == null)?"<null>":this.variables));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.processDefinitionId == null)? 0 :this.processDefinitionId.hashCode()));
result = ((result* 31)+((this.variables == null)? 0 :this.variables.hashCode()));
result = ((result* 31)+((this.values == null)? 0 :this.values.hashCode()));
result = ((result* 31)+((this.businessKey == null)? 0 :this.businessKey.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.outcome == null)? 0 :this.outcome.hashCode()));
result = ((result* 31)+((this.processDefinitionKey == null)? 0 :this.processDefinitionKey.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof CreateProcessInstanceRepresentation) == false) {
return false;
}
CreateProcessInstanceRepresentation rhs = ((CreateProcessInstanceRepresentation) other);
return ((((((((this.processDefinitionId == rhs.processDefinitionId)||((this.processDefinitionId!= null)&&this.processDefinitionId.equals(rhs.processDefinitionId)))&&((this.variables == rhs.variables)||((this.variables!= null)&&this.variables.equals(rhs.variables))))&&((this.values == rhs.values)||((this.values!= null)&&this.values.equals(rhs.values))))&&((this.businessKey == rhs.businessKey)||((this.businessKey!= null)&&this.businessKey.equals(rhs.businessKey))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.outcome == rhs.outcome)||((this.outcome!= null)&&this.outcome.equals(rhs.outcome))))&&((this.processDefinitionKey == rhs.processDefinitionKey)||((this.processDefinitionKey!= null)&&this.processDefinitionKey.equals(rhs.processDefinitionKey))));
}
}

View File

@@ -1,190 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* CreateTenantRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"active",
"configuration",
"domain",
"maxUsers",
"name"
})
public class CreateTenantRepresentation {
@JsonProperty("active")
private Boolean active;
@JsonProperty("configuration")
private String configuration;
@JsonProperty("domain")
private String domain;
@JsonProperty("maxUsers")
private Long maxUsers;
@JsonProperty("name")
private String name;
/**
* No args constructor for use in serialization
*
*/
public CreateTenantRepresentation() {
}
/**
*
* @param maxUsers
* @param configuration
* @param domain
* @param name
* @param active
*/
public CreateTenantRepresentation(Boolean active, String configuration, String domain, Long maxUsers, String name) {
super();
this.active = active;
this.configuration = configuration;
this.domain = domain;
this.maxUsers = maxUsers;
this.name = name;
}
@JsonProperty("active")
public Boolean getActive() {
return active;
}
@JsonProperty("active")
public void setActive(Boolean active) {
this.active = active;
}
public CreateTenantRepresentation withActive(Boolean active) {
this.active = active;
return this;
}
@JsonProperty("configuration")
public String getConfiguration() {
return configuration;
}
@JsonProperty("configuration")
public void setConfiguration(String configuration) {
this.configuration = configuration;
}
public CreateTenantRepresentation withConfiguration(String configuration) {
this.configuration = configuration;
return this;
}
@JsonProperty("domain")
public String getDomain() {
return domain;
}
@JsonProperty("domain")
public void setDomain(String domain) {
this.domain = domain;
}
public CreateTenantRepresentation withDomain(String domain) {
this.domain = domain;
return this;
}
@JsonProperty("maxUsers")
public Long getMaxUsers() {
return maxUsers;
}
@JsonProperty("maxUsers")
public void setMaxUsers(Long maxUsers) {
this.maxUsers = maxUsers;
}
public CreateTenantRepresentation withMaxUsers(Long maxUsers) {
this.maxUsers = maxUsers;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public CreateTenantRepresentation withName(String name) {
this.name = name;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(CreateTenantRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("active");
sb.append('=');
sb.append(((this.active == null)?"<null>":this.active));
sb.append(',');
sb.append("configuration");
sb.append('=');
sb.append(((this.configuration == null)?"<null>":this.configuration));
sb.append(',');
sb.append("domain");
sb.append('=');
sb.append(((this.domain == null)?"<null>":this.domain));
sb.append(',');
sb.append("maxUsers");
sb.append('=');
sb.append(((this.maxUsers == null)?"<null>":this.maxUsers));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.active == null)? 0 :this.active.hashCode()));
result = ((result* 31)+((this.maxUsers == null)? 0 :this.maxUsers.hashCode()));
result = ((result* 31)+((this.configuration == null)? 0 :this.configuration.hashCode()));
result = ((result* 31)+((this.domain == null)? 0 :this.domain.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof CreateTenantRepresentation) == false) {
return false;
}
CreateTenantRepresentation rhs = ((CreateTenantRepresentation) other);
return ((((((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.active == rhs.active)||((this.active!= null)&&this.active.equals(rhs.active))))&&((this.maxUsers == rhs.maxUsers)||((this.maxUsers!= null)&&this.maxUsers.equals(rhs.maxUsers))))&&((this.configuration == rhs.configuration)||((this.configuration!= null)&&this.configuration.equals(rhs.configuration))))&&((this.domain == rhs.domain)||((this.domain!= null)&&this.domain.equals(rhs.domain))));
}
}

View File

@@ -1,240 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* LightUserRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"company",
"email",
"externalId",
"firstName",
"id",
"lastName",
"pictureId"
})
public class CreatedBy {
@JsonProperty("company")
private String company;
@JsonProperty("email")
private String email;
@JsonProperty("externalId")
private String externalId;
@JsonProperty("firstName")
private String firstName;
@JsonProperty("id")
private Long id;
@JsonProperty("lastName")
private String lastName;
@JsonProperty("pictureId")
private Long pictureId;
/**
* No args constructor for use in serialization
*
*/
public CreatedBy() {
}
/**
*
* @param firstName
* @param lastName
* @param pictureId
* @param externalId
* @param company
* @param id
* @param email
*/
public CreatedBy(String company, String email, String externalId, String firstName, Long id, String lastName, Long pictureId) {
super();
this.company = company;
this.email = email;
this.externalId = externalId;
this.firstName = firstName;
this.id = id;
this.lastName = lastName;
this.pictureId = pictureId;
}
@JsonProperty("company")
public String getCompany() {
return company;
}
@JsonProperty("company")
public void setCompany(String company) {
this.company = company;
}
public CreatedBy withCompany(String company) {
this.company = company;
return this;
}
@JsonProperty("email")
public String getEmail() {
return email;
}
@JsonProperty("email")
public void setEmail(String email) {
this.email = email;
}
public CreatedBy withEmail(String email) {
this.email = email;
return this;
}
@JsonProperty("externalId")
public String getExternalId() {
return externalId;
}
@JsonProperty("externalId")
public void setExternalId(String externalId) {
this.externalId = externalId;
}
public CreatedBy withExternalId(String externalId) {
this.externalId = externalId;
return this;
}
@JsonProperty("firstName")
public String getFirstName() {
return firstName;
}
@JsonProperty("firstName")
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public CreatedBy withFirstName(String firstName) {
this.firstName = firstName;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public CreatedBy withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("lastName")
public String getLastName() {
return lastName;
}
@JsonProperty("lastName")
public void setLastName(String lastName) {
this.lastName = lastName;
}
public CreatedBy withLastName(String lastName) {
this.lastName = lastName;
return this;
}
@JsonProperty("pictureId")
public Long getPictureId() {
return pictureId;
}
@JsonProperty("pictureId")
public void setPictureId(Long pictureId) {
this.pictureId = pictureId;
}
public CreatedBy withPictureId(Long pictureId) {
this.pictureId = pictureId;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(CreatedBy.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("company");
sb.append('=');
sb.append(((this.company == null)?"<null>":this.company));
sb.append(',');
sb.append("email");
sb.append('=');
sb.append(((this.email == null)?"<null>":this.email));
sb.append(',');
sb.append("externalId");
sb.append('=');
sb.append(((this.externalId == null)?"<null>":this.externalId));
sb.append(',');
sb.append("firstName");
sb.append('=');
sb.append(((this.firstName == null)?"<null>":this.firstName));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("lastName");
sb.append('=');
sb.append(((this.lastName == null)?"<null>":this.lastName));
sb.append(',');
sb.append("pictureId");
sb.append('=');
sb.append(((this.pictureId == null)?"<null>":this.pictureId));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.firstName == null)? 0 :this.firstName.hashCode()));
result = ((result* 31)+((this.lastName == null)? 0 :this.lastName.hashCode()));
result = ((result* 31)+((this.pictureId == null)? 0 :this.pictureId.hashCode()));
result = ((result* 31)+((this.externalId == null)? 0 :this.externalId.hashCode()));
result = ((result* 31)+((this.company == null)? 0 :this.company.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.email == null)? 0 :this.email.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof CreatedBy) == false) {
return false;
}
CreatedBy rhs = ((CreatedBy) other);
return ((((((((this.firstName == rhs.firstName)||((this.firstName!= null)&&this.firstName.equals(rhs.firstName)))&&((this.lastName == rhs.lastName)||((this.lastName!= null)&&this.lastName.equals(rhs.lastName))))&&((this.pictureId == rhs.pictureId)||((this.pictureId!= null)&&this.pictureId.equals(rhs.pictureId))))&&((this.externalId == rhs.externalId)||((this.externalId!= null)&&this.externalId.equals(rhs.externalId))))&&((this.company == rhs.company)||((this.company!= null)&&this.company.equals(rhs.company))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.email == rhs.email)||((this.email!= null)&&this.email.equals(rhs.email))));
}
}

View File

@@ -1,240 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* LightUserRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"company",
"email",
"externalId",
"firstName",
"id",
"lastName",
"pictureId"
})
public class CreatedBy__1 {
@JsonProperty("company")
private String company;
@JsonProperty("email")
private String email;
@JsonProperty("externalId")
private String externalId;
@JsonProperty("firstName")
private String firstName;
@JsonProperty("id")
private Long id;
@JsonProperty("lastName")
private String lastName;
@JsonProperty("pictureId")
private Long pictureId;
/**
* No args constructor for use in serialization
*
*/
public CreatedBy__1() {
}
/**
*
* @param firstName
* @param lastName
* @param pictureId
* @param externalId
* @param company
* @param id
* @param email
*/
public CreatedBy__1(String company, String email, String externalId, String firstName, Long id, String lastName, Long pictureId) {
super();
this.company = company;
this.email = email;
this.externalId = externalId;
this.firstName = firstName;
this.id = id;
this.lastName = lastName;
this.pictureId = pictureId;
}
@JsonProperty("company")
public String getCompany() {
return company;
}
@JsonProperty("company")
public void setCompany(String company) {
this.company = company;
}
public CreatedBy__1 withCompany(String company) {
this.company = company;
return this;
}
@JsonProperty("email")
public String getEmail() {
return email;
}
@JsonProperty("email")
public void setEmail(String email) {
this.email = email;
}
public CreatedBy__1 withEmail(String email) {
this.email = email;
return this;
}
@JsonProperty("externalId")
public String getExternalId() {
return externalId;
}
@JsonProperty("externalId")
public void setExternalId(String externalId) {
this.externalId = externalId;
}
public CreatedBy__1 withExternalId(String externalId) {
this.externalId = externalId;
return this;
}
@JsonProperty("firstName")
public String getFirstName() {
return firstName;
}
@JsonProperty("firstName")
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public CreatedBy__1 withFirstName(String firstName) {
this.firstName = firstName;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public CreatedBy__1 withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("lastName")
public String getLastName() {
return lastName;
}
@JsonProperty("lastName")
public void setLastName(String lastName) {
this.lastName = lastName;
}
public CreatedBy__1 withLastName(String lastName) {
this.lastName = lastName;
return this;
}
@JsonProperty("pictureId")
public Long getPictureId() {
return pictureId;
}
@JsonProperty("pictureId")
public void setPictureId(Long pictureId) {
this.pictureId = pictureId;
}
public CreatedBy__1 withPictureId(Long pictureId) {
this.pictureId = pictureId;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(CreatedBy__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("company");
sb.append('=');
sb.append(((this.company == null)?"<null>":this.company));
sb.append(',');
sb.append("email");
sb.append('=');
sb.append(((this.email == null)?"<null>":this.email));
sb.append(',');
sb.append("externalId");
sb.append('=');
sb.append(((this.externalId == null)?"<null>":this.externalId));
sb.append(',');
sb.append("firstName");
sb.append('=');
sb.append(((this.firstName == null)?"<null>":this.firstName));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("lastName");
sb.append('=');
sb.append(((this.lastName == null)?"<null>":this.lastName));
sb.append(',');
sb.append("pictureId");
sb.append('=');
sb.append(((this.pictureId == null)?"<null>":this.pictureId));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.firstName == null)? 0 :this.firstName.hashCode()));
result = ((result* 31)+((this.lastName == null)? 0 :this.lastName.hashCode()));
result = ((result* 31)+((this.pictureId == null)? 0 :this.pictureId.hashCode()));
result = ((result* 31)+((this.externalId == null)? 0 :this.externalId.hashCode()));
result = ((result* 31)+((this.company == null)? 0 :this.company.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.email == null)? 0 :this.email.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof CreatedBy__1) == false) {
return false;
}
CreatedBy__1 rhs = ((CreatedBy__1) other);
return ((((((((this.firstName == rhs.firstName)||((this.firstName!= null)&&this.firstName.equals(rhs.firstName)))&&((this.lastName == rhs.lastName)||((this.lastName!= null)&&this.lastName.equals(rhs.lastName))))&&((this.pictureId == rhs.pictureId)||((this.pictureId!= null)&&this.pictureId.equals(rhs.pictureId))))&&((this.externalId == rhs.externalId)||((this.externalId!= null)&&this.externalId.equals(rhs.externalId))))&&((this.company == rhs.company)||((this.company!= null)&&this.company.equals(rhs.company))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.email == rhs.email)||((this.email!= null)&&this.email.equals(rhs.email))));
}
}

View File

@@ -1,240 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* LightUserRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"company",
"email",
"externalId",
"firstName",
"id",
"lastName",
"pictureId"
})
public class CreatedBy__2 {
@JsonProperty("company")
private String company;
@JsonProperty("email")
private String email;
@JsonProperty("externalId")
private String externalId;
@JsonProperty("firstName")
private String firstName;
@JsonProperty("id")
private Long id;
@JsonProperty("lastName")
private String lastName;
@JsonProperty("pictureId")
private Long pictureId;
/**
* No args constructor for use in serialization
*
*/
public CreatedBy__2() {
}
/**
*
* @param firstName
* @param lastName
* @param pictureId
* @param externalId
* @param company
* @param id
* @param email
*/
public CreatedBy__2(String company, String email, String externalId, String firstName, Long id, String lastName, Long pictureId) {
super();
this.company = company;
this.email = email;
this.externalId = externalId;
this.firstName = firstName;
this.id = id;
this.lastName = lastName;
this.pictureId = pictureId;
}
@JsonProperty("company")
public String getCompany() {
return company;
}
@JsonProperty("company")
public void setCompany(String company) {
this.company = company;
}
public CreatedBy__2 withCompany(String company) {
this.company = company;
return this;
}
@JsonProperty("email")
public String getEmail() {
return email;
}
@JsonProperty("email")
public void setEmail(String email) {
this.email = email;
}
public CreatedBy__2 withEmail(String email) {
this.email = email;
return this;
}
@JsonProperty("externalId")
public String getExternalId() {
return externalId;
}
@JsonProperty("externalId")
public void setExternalId(String externalId) {
this.externalId = externalId;
}
public CreatedBy__2 withExternalId(String externalId) {
this.externalId = externalId;
return this;
}
@JsonProperty("firstName")
public String getFirstName() {
return firstName;
}
@JsonProperty("firstName")
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public CreatedBy__2 withFirstName(String firstName) {
this.firstName = firstName;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public CreatedBy__2 withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("lastName")
public String getLastName() {
return lastName;
}
@JsonProperty("lastName")
public void setLastName(String lastName) {
this.lastName = lastName;
}
public CreatedBy__2 withLastName(String lastName) {
this.lastName = lastName;
return this;
}
@JsonProperty("pictureId")
public Long getPictureId() {
return pictureId;
}
@JsonProperty("pictureId")
public void setPictureId(Long pictureId) {
this.pictureId = pictureId;
}
public CreatedBy__2 withPictureId(Long pictureId) {
this.pictureId = pictureId;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(CreatedBy__2 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("company");
sb.append('=');
sb.append(((this.company == null)?"<null>":this.company));
sb.append(',');
sb.append("email");
sb.append('=');
sb.append(((this.email == null)?"<null>":this.email));
sb.append(',');
sb.append("externalId");
sb.append('=');
sb.append(((this.externalId == null)?"<null>":this.externalId));
sb.append(',');
sb.append("firstName");
sb.append('=');
sb.append(((this.firstName == null)?"<null>":this.firstName));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("lastName");
sb.append('=');
sb.append(((this.lastName == null)?"<null>":this.lastName));
sb.append(',');
sb.append("pictureId");
sb.append('=');
sb.append(((this.pictureId == null)?"<null>":this.pictureId));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.firstName == null)? 0 :this.firstName.hashCode()));
result = ((result* 31)+((this.lastName == null)? 0 :this.lastName.hashCode()));
result = ((result* 31)+((this.pictureId == null)? 0 :this.pictureId.hashCode()));
result = ((result* 31)+((this.externalId == null)? 0 :this.externalId.hashCode()));
result = ((result* 31)+((this.company == null)? 0 :this.company.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.email == null)? 0 :this.email.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof CreatedBy__2) == false) {
return false;
}
CreatedBy__2 rhs = ((CreatedBy__2) other);
return ((((((((this.firstName == rhs.firstName)||((this.firstName!= null)&&this.firstName.equals(rhs.firstName)))&&((this.lastName == rhs.lastName)||((this.lastName!= null)&&this.lastName.equals(rhs.lastName))))&&((this.pictureId == rhs.pictureId)||((this.pictureId!= null)&&this.pictureId.equals(rhs.pictureId))))&&((this.externalId == rhs.externalId)||((this.externalId!= null)&&this.externalId.equals(rhs.externalId))))&&((this.company == rhs.company)||((this.company!= null)&&this.company.equals(rhs.company))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.email == rhs.email)||((this.email!= null)&&this.email.equals(rhs.email))));
}
}

View File

@@ -1,44 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
})
public class CustomData {
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(CustomData.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof CustomData) == false) {
return false;
}
CustomData rhs = ((CustomData) other);
return true;
}
}

View File

@@ -1,44 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
})
public class CustomStencilVariables {
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(CustomStencilVariables.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof CustomStencilVariables) == false) {
return false;
}
CustomStencilVariables rhs = ((CustomStencilVariables) other);
return true;
}
}

View File

@@ -1,44 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
})
public class Datum {
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(Datum.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof Datum) == false) {
return false;
}
Datum rhs = ((Datum) other);
return true;
}
}

View File

@@ -1,415 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* DecisionAuditRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"activityId",
"activityName",
"auditTrailJson",
"created",
"decisionExecutionFailed",
"decisionKey",
"decisionModelJson",
"decisionName",
"dmnDeploymentId",
"executionId",
"id",
"processDefinitionId",
"processInstanceId",
"renderedVariables"
})
public class DecisionAuditRepresentation {
@JsonProperty("activityId")
private String activityId;
@JsonProperty("activityName")
private String activityName;
@JsonProperty("auditTrailJson")
private String auditTrailJson;
@JsonProperty("created")
private String created;
@JsonProperty("decisionExecutionFailed")
private Boolean decisionExecutionFailed;
@JsonProperty("decisionKey")
private String decisionKey;
@JsonProperty("decisionModelJson")
private String decisionModelJson;
@JsonProperty("decisionName")
private String decisionName;
@JsonProperty("dmnDeploymentId")
private Long dmnDeploymentId;
@JsonProperty("executionId")
private String executionId;
@JsonProperty("id")
private Long id;
@JsonProperty("processDefinitionId")
private String processDefinitionId;
@JsonProperty("processInstanceId")
private String processInstanceId;
@JsonProperty("renderedVariables")
private RenderedVariables renderedVariables;
/**
* No args constructor for use in serialization
*
*/
public DecisionAuditRepresentation() {
}
/**
*
* @param processDefinitionId
* @param processInstanceId
* @param created
* @param activityName
* @param decisionKey
* @param decisionModelJson
* @param auditTrailJson
* @param decisionName
* @param activityId
* @param executionId
* @param dmnDeploymentId
* @param renderedVariables
* @param id
* @param decisionExecutionFailed
*/
public DecisionAuditRepresentation(String activityId, String activityName, String auditTrailJson, String created, Boolean decisionExecutionFailed, String decisionKey, String decisionModelJson, String decisionName, Long dmnDeploymentId, String executionId, Long id, String processDefinitionId, String processInstanceId, RenderedVariables renderedVariables) {
super();
this.activityId = activityId;
this.activityName = activityName;
this.auditTrailJson = auditTrailJson;
this.created = created;
this.decisionExecutionFailed = decisionExecutionFailed;
this.decisionKey = decisionKey;
this.decisionModelJson = decisionModelJson;
this.decisionName = decisionName;
this.dmnDeploymentId = dmnDeploymentId;
this.executionId = executionId;
this.id = id;
this.processDefinitionId = processDefinitionId;
this.processInstanceId = processInstanceId;
this.renderedVariables = renderedVariables;
}
@JsonProperty("activityId")
public String getActivityId() {
return activityId;
}
@JsonProperty("activityId")
public void setActivityId(String activityId) {
this.activityId = activityId;
}
public DecisionAuditRepresentation withActivityId(String activityId) {
this.activityId = activityId;
return this;
}
@JsonProperty("activityName")
public String getActivityName() {
return activityName;
}
@JsonProperty("activityName")
public void setActivityName(String activityName) {
this.activityName = activityName;
}
public DecisionAuditRepresentation withActivityName(String activityName) {
this.activityName = activityName;
return this;
}
@JsonProperty("auditTrailJson")
public String getAuditTrailJson() {
return auditTrailJson;
}
@JsonProperty("auditTrailJson")
public void setAuditTrailJson(String auditTrailJson) {
this.auditTrailJson = auditTrailJson;
}
public DecisionAuditRepresentation withAuditTrailJson(String auditTrailJson) {
this.auditTrailJson = auditTrailJson;
return this;
}
@JsonProperty("created")
public String getCreated() {
return created;
}
@JsonProperty("created")
public void setCreated(String created) {
this.created = created;
}
public DecisionAuditRepresentation withCreated(String created) {
this.created = created;
return this;
}
@JsonProperty("decisionExecutionFailed")
public Boolean getDecisionExecutionFailed() {
return decisionExecutionFailed;
}
@JsonProperty("decisionExecutionFailed")
public void setDecisionExecutionFailed(Boolean decisionExecutionFailed) {
this.decisionExecutionFailed = decisionExecutionFailed;
}
public DecisionAuditRepresentation withDecisionExecutionFailed(Boolean decisionExecutionFailed) {
this.decisionExecutionFailed = decisionExecutionFailed;
return this;
}
@JsonProperty("decisionKey")
public String getDecisionKey() {
return decisionKey;
}
@JsonProperty("decisionKey")
public void setDecisionKey(String decisionKey) {
this.decisionKey = decisionKey;
}
public DecisionAuditRepresentation withDecisionKey(String decisionKey) {
this.decisionKey = decisionKey;
return this;
}
@JsonProperty("decisionModelJson")
public String getDecisionModelJson() {
return decisionModelJson;
}
@JsonProperty("decisionModelJson")
public void setDecisionModelJson(String decisionModelJson) {
this.decisionModelJson = decisionModelJson;
}
public DecisionAuditRepresentation withDecisionModelJson(String decisionModelJson) {
this.decisionModelJson = decisionModelJson;
return this;
}
@JsonProperty("decisionName")
public String getDecisionName() {
return decisionName;
}
@JsonProperty("decisionName")
public void setDecisionName(String decisionName) {
this.decisionName = decisionName;
}
public DecisionAuditRepresentation withDecisionName(String decisionName) {
this.decisionName = decisionName;
return this;
}
@JsonProperty("dmnDeploymentId")
public Long getDmnDeploymentId() {
return dmnDeploymentId;
}
@JsonProperty("dmnDeploymentId")
public void setDmnDeploymentId(Long dmnDeploymentId) {
this.dmnDeploymentId = dmnDeploymentId;
}
public DecisionAuditRepresentation withDmnDeploymentId(Long dmnDeploymentId) {
this.dmnDeploymentId = dmnDeploymentId;
return this;
}
@JsonProperty("executionId")
public String getExecutionId() {
return executionId;
}
@JsonProperty("executionId")
public void setExecutionId(String executionId) {
this.executionId = executionId;
}
public DecisionAuditRepresentation withExecutionId(String executionId) {
this.executionId = executionId;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public DecisionAuditRepresentation withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("processDefinitionId")
public String getProcessDefinitionId() {
return processDefinitionId;
}
@JsonProperty("processDefinitionId")
public void setProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
}
public DecisionAuditRepresentation withProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
return this;
}
@JsonProperty("processInstanceId")
public String getProcessInstanceId() {
return processInstanceId;
}
@JsonProperty("processInstanceId")
public void setProcessInstanceId(String processInstanceId) {
this.processInstanceId = processInstanceId;
}
public DecisionAuditRepresentation withProcessInstanceId(String processInstanceId) {
this.processInstanceId = processInstanceId;
return this;
}
@JsonProperty("renderedVariables")
public RenderedVariables getRenderedVariables() {
return renderedVariables;
}
@JsonProperty("renderedVariables")
public void setRenderedVariables(RenderedVariables renderedVariables) {
this.renderedVariables = renderedVariables;
}
public DecisionAuditRepresentation withRenderedVariables(RenderedVariables renderedVariables) {
this.renderedVariables = renderedVariables;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(DecisionAuditRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("activityId");
sb.append('=');
sb.append(((this.activityId == null)?"<null>":this.activityId));
sb.append(',');
sb.append("activityName");
sb.append('=');
sb.append(((this.activityName == null)?"<null>":this.activityName));
sb.append(',');
sb.append("auditTrailJson");
sb.append('=');
sb.append(((this.auditTrailJson == null)?"<null>":this.auditTrailJson));
sb.append(',');
sb.append("created");
sb.append('=');
sb.append(((this.created == null)?"<null>":this.created));
sb.append(',');
sb.append("decisionExecutionFailed");
sb.append('=');
sb.append(((this.decisionExecutionFailed == null)?"<null>":this.decisionExecutionFailed));
sb.append(',');
sb.append("decisionKey");
sb.append('=');
sb.append(((this.decisionKey == null)?"<null>":this.decisionKey));
sb.append(',');
sb.append("decisionModelJson");
sb.append('=');
sb.append(((this.decisionModelJson == null)?"<null>":this.decisionModelJson));
sb.append(',');
sb.append("decisionName");
sb.append('=');
sb.append(((this.decisionName == null)?"<null>":this.decisionName));
sb.append(',');
sb.append("dmnDeploymentId");
sb.append('=');
sb.append(((this.dmnDeploymentId == null)?"<null>":this.dmnDeploymentId));
sb.append(',');
sb.append("executionId");
sb.append('=');
sb.append(((this.executionId == null)?"<null>":this.executionId));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("processDefinitionId");
sb.append('=');
sb.append(((this.processDefinitionId == null)?"<null>":this.processDefinitionId));
sb.append(',');
sb.append("processInstanceId");
sb.append('=');
sb.append(((this.processInstanceId == null)?"<null>":this.processInstanceId));
sb.append(',');
sb.append("renderedVariables");
sb.append('=');
sb.append(((this.renderedVariables == null)?"<null>":this.renderedVariables));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.processDefinitionId == null)? 0 :this.processDefinitionId.hashCode()));
result = ((result* 31)+((this.processInstanceId == null)? 0 :this.processInstanceId.hashCode()));
result = ((result* 31)+((this.created == null)? 0 :this.created.hashCode()));
result = ((result* 31)+((this.activityName == null)? 0 :this.activityName.hashCode()));
result = ((result* 31)+((this.decisionKey == null)? 0 :this.decisionKey.hashCode()));
result = ((result* 31)+((this.decisionModelJson == null)? 0 :this.decisionModelJson.hashCode()));
result = ((result* 31)+((this.auditTrailJson == null)? 0 :this.auditTrailJson.hashCode()));
result = ((result* 31)+((this.decisionName == null)? 0 :this.decisionName.hashCode()));
result = ((result* 31)+((this.activityId == null)? 0 :this.activityId.hashCode()));
result = ((result* 31)+((this.executionId == null)? 0 :this.executionId.hashCode()));
result = ((result* 31)+((this.dmnDeploymentId == null)? 0 :this.dmnDeploymentId.hashCode()));
result = ((result* 31)+((this.renderedVariables == null)? 0 :this.renderedVariables.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.decisionExecutionFailed == null)? 0 :this.decisionExecutionFailed.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof DecisionAuditRepresentation) == false) {
return false;
}
DecisionAuditRepresentation rhs = ((DecisionAuditRepresentation) other);
return (((((((((((((((this.processDefinitionId == rhs.processDefinitionId)||((this.processDefinitionId!= null)&&this.processDefinitionId.equals(rhs.processDefinitionId)))&&((this.processInstanceId == rhs.processInstanceId)||((this.processInstanceId!= null)&&this.processInstanceId.equals(rhs.processInstanceId))))&&((this.created == rhs.created)||((this.created!= null)&&this.created.equals(rhs.created))))&&((this.activityName == rhs.activityName)||((this.activityName!= null)&&this.activityName.equals(rhs.activityName))))&&((this.decisionKey == rhs.decisionKey)||((this.decisionKey!= null)&&this.decisionKey.equals(rhs.decisionKey))))&&((this.decisionModelJson == rhs.decisionModelJson)||((this.decisionModelJson!= null)&&this.decisionModelJson.equals(rhs.decisionModelJson))))&&((this.auditTrailJson == rhs.auditTrailJson)||((this.auditTrailJson!= null)&&this.auditTrailJson.equals(rhs.auditTrailJson))))&&((this.decisionName == rhs.decisionName)||((this.decisionName!= null)&&this.decisionName.equals(rhs.decisionName))))&&((this.activityId == rhs.activityId)||((this.activityId!= null)&&this.activityId.equals(rhs.activityId))))&&((this.executionId == rhs.executionId)||((this.executionId!= null)&&this.executionId.equals(rhs.executionId))))&&((this.dmnDeploymentId == rhs.dmnDeploymentId)||((this.dmnDeploymentId!= null)&&this.dmnDeploymentId.equals(rhs.dmnDeploymentId))))&&((this.renderedVariables == rhs.renderedVariables)||((this.renderedVariables!= null)&&this.renderedVariables.equals(rhs.renderedVariables))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.decisionExecutionFailed == rhs.decisionExecutionFailed)||((this.decisionExecutionFailed!= null)&&this.decisionExecutionFailed.equals(rhs.decisionExecutionFailed))));
}
}

View File

@@ -1,117 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* AuditDecisionInfoRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"appliedRules",
"calculatedValues"
})
public class DecisionInfo {
@JsonProperty("appliedRules")
private List<AppliedRule> appliedRules = new ArrayList<AppliedRule>();
@JsonProperty("calculatedValues")
private List<CalculatedValue> calculatedValues = new ArrayList<CalculatedValue>();
/**
* No args constructor for use in serialization
*
*/
public DecisionInfo() {
}
/**
*
* @param appliedRules
* @param calculatedValues
*/
public DecisionInfo(List<AppliedRule> appliedRules, List<CalculatedValue> calculatedValues) {
super();
this.appliedRules = appliedRules;
this.calculatedValues = calculatedValues;
}
@JsonProperty("appliedRules")
public List<AppliedRule> getAppliedRules() {
return appliedRules;
}
@JsonProperty("appliedRules")
public void setAppliedRules(List<AppliedRule> appliedRules) {
this.appliedRules = appliedRules;
}
public DecisionInfo withAppliedRules(List<AppliedRule> appliedRules) {
this.appliedRules = appliedRules;
return this;
}
@JsonProperty("calculatedValues")
public List<CalculatedValue> getCalculatedValues() {
return calculatedValues;
}
@JsonProperty("calculatedValues")
public void setCalculatedValues(List<CalculatedValue> calculatedValues) {
this.calculatedValues = calculatedValues;
}
public DecisionInfo withCalculatedValues(List<CalculatedValue> calculatedValues) {
this.calculatedValues = calculatedValues;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(DecisionInfo.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("appliedRules");
sb.append('=');
sb.append(((this.appliedRules == null)?"<null>":this.appliedRules));
sb.append(',');
sb.append("calculatedValues");
sb.append('=');
sb.append(((this.calculatedValues == null)?"<null>":this.calculatedValues));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.appliedRules == null)? 0 :this.appliedRules.hashCode()));
result = ((result* 31)+((this.calculatedValues == null)? 0 :this.calculatedValues.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof DecisionInfo) == false) {
return false;
}
DecisionInfo rhs = ((DecisionInfo) other);
return (((this.appliedRules == rhs.appliedRules)||((this.appliedRules!= null)&&this.appliedRules.equals(rhs.appliedRules)))&&((this.calculatedValues == rhs.calculatedValues)||((this.calculatedValues!= null)&&this.calculatedValues.equals(rhs.calculatedValues))));
}
}

View File

@@ -1,215 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* EndpointBasicAuthRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"created",
"id",
"lastUpdated",
"name",
"tenantId",
"username"
})
public class EndpointBasicAuthRepresentation {
@JsonProperty("created")
private String created;
@JsonProperty("id")
private Long id;
@JsonProperty("lastUpdated")
private String lastUpdated;
@JsonProperty("name")
private String name;
@JsonProperty("tenantId")
private Long tenantId;
@JsonProperty("username")
private String username;
/**
* No args constructor for use in serialization
*
*/
public EndpointBasicAuthRepresentation() {
}
/**
*
* @param lastUpdated
* @param created
* @param name
* @param tenantId
* @param id
* @param username
*/
public EndpointBasicAuthRepresentation(String created, Long id, String lastUpdated, String name, Long tenantId, String username) {
super();
this.created = created;
this.id = id;
this.lastUpdated = lastUpdated;
this.name = name;
this.tenantId = tenantId;
this.username = username;
}
@JsonProperty("created")
public String getCreated() {
return created;
}
@JsonProperty("created")
public void setCreated(String created) {
this.created = created;
}
public EndpointBasicAuthRepresentation withCreated(String created) {
this.created = created;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public EndpointBasicAuthRepresentation withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("lastUpdated")
public String getLastUpdated() {
return lastUpdated;
}
@JsonProperty("lastUpdated")
public void setLastUpdated(String lastUpdated) {
this.lastUpdated = lastUpdated;
}
public EndpointBasicAuthRepresentation withLastUpdated(String lastUpdated) {
this.lastUpdated = lastUpdated;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public EndpointBasicAuthRepresentation withName(String name) {
this.name = name;
return this;
}
@JsonProperty("tenantId")
public Long getTenantId() {
return tenantId;
}
@JsonProperty("tenantId")
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
public EndpointBasicAuthRepresentation withTenantId(Long tenantId) {
this.tenantId = tenantId;
return this;
}
@JsonProperty("username")
public String getUsername() {
return username;
}
@JsonProperty("username")
public void setUsername(String username) {
this.username = username;
}
public EndpointBasicAuthRepresentation withUsername(String username) {
this.username = username;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(EndpointBasicAuthRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("created");
sb.append('=');
sb.append(((this.created == null)?"<null>":this.created));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("lastUpdated");
sb.append('=');
sb.append(((this.lastUpdated == null)?"<null>":this.lastUpdated));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("tenantId");
sb.append('=');
sb.append(((this.tenantId == null)?"<null>":this.tenantId));
sb.append(',');
sb.append("username");
sb.append('=');
sb.append(((this.username == null)?"<null>":this.username));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.lastUpdated == null)? 0 :this.lastUpdated.hashCode()));
result = ((result* 31)+((this.created == null)? 0 :this.created.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.username == null)? 0 :this.username.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof EndpointBasicAuthRepresentation) == false) {
return false;
}
EndpointBasicAuthRepresentation rhs = ((EndpointBasicAuthRepresentation) other);
return (((((((this.lastUpdated == rhs.lastUpdated)||((this.lastUpdated!= null)&&this.lastUpdated.equals(rhs.lastUpdated)))&&((this.created == rhs.created)||((this.created!= null)&&this.created.equals(rhs.created))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.username == rhs.username)||((this.username!= null)&&this.username.equals(rhs.username))));
}
}

View File

@@ -1,215 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* EndpointBasicAuthRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"created",
"id",
"lastUpdated",
"name",
"tenantId",
"username"
})
public class EndpointBasicAuthRepresentationarray {
@JsonProperty("created")
private String created;
@JsonProperty("id")
private Long id;
@JsonProperty("lastUpdated")
private String lastUpdated;
@JsonProperty("name")
private String name;
@JsonProperty("tenantId")
private Long tenantId;
@JsonProperty("username")
private String username;
/**
* No args constructor for use in serialization
*
*/
public EndpointBasicAuthRepresentationarray() {
}
/**
*
* @param lastUpdated
* @param created
* @param name
* @param tenantId
* @param id
* @param username
*/
public EndpointBasicAuthRepresentationarray(String created, Long id, String lastUpdated, String name, Long tenantId, String username) {
super();
this.created = created;
this.id = id;
this.lastUpdated = lastUpdated;
this.name = name;
this.tenantId = tenantId;
this.username = username;
}
@JsonProperty("created")
public String getCreated() {
return created;
}
@JsonProperty("created")
public void setCreated(String created) {
this.created = created;
}
public EndpointBasicAuthRepresentationarray withCreated(String created) {
this.created = created;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public EndpointBasicAuthRepresentationarray withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("lastUpdated")
public String getLastUpdated() {
return lastUpdated;
}
@JsonProperty("lastUpdated")
public void setLastUpdated(String lastUpdated) {
this.lastUpdated = lastUpdated;
}
public EndpointBasicAuthRepresentationarray withLastUpdated(String lastUpdated) {
this.lastUpdated = lastUpdated;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public EndpointBasicAuthRepresentationarray withName(String name) {
this.name = name;
return this;
}
@JsonProperty("tenantId")
public Long getTenantId() {
return tenantId;
}
@JsonProperty("tenantId")
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
public EndpointBasicAuthRepresentationarray withTenantId(Long tenantId) {
this.tenantId = tenantId;
return this;
}
@JsonProperty("username")
public String getUsername() {
return username;
}
@JsonProperty("username")
public void setUsername(String username) {
this.username = username;
}
public EndpointBasicAuthRepresentationarray withUsername(String username) {
this.username = username;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(EndpointBasicAuthRepresentationarray.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("created");
sb.append('=');
sb.append(((this.created == null)?"<null>":this.created));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("lastUpdated");
sb.append('=');
sb.append(((this.lastUpdated == null)?"<null>":this.lastUpdated));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("tenantId");
sb.append('=');
sb.append(((this.tenantId == null)?"<null>":this.tenantId));
sb.append(',');
sb.append("username");
sb.append('=');
sb.append(((this.username == null)?"<null>":this.username));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.lastUpdated == null)? 0 :this.lastUpdated.hashCode()));
result = ((result* 31)+((this.created == null)? 0 :this.created.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.username == null)? 0 :this.username.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof EndpointBasicAuthRepresentationarray) == false) {
return false;
}
EndpointBasicAuthRepresentationarray rhs = ((EndpointBasicAuthRepresentationarray) other);
return (((((((this.lastUpdated == rhs.lastUpdated)||((this.lastUpdated!= null)&&this.lastUpdated.equals(rhs.lastUpdated)))&&((this.created == rhs.created)||((this.created!= null)&&this.created.equals(rhs.created))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.username == rhs.username)||((this.username!= null)&&this.username.equals(rhs.username))));
}
}

View File

@@ -1,317 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* EndpointConfigurationRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"basicAuthId",
"basicAuthName",
"host",
"id",
"name",
"path",
"port",
"protocol",
"requestHeaders",
"tenantId"
})
public class EndpointConfigurationRepresentation {
@JsonProperty("basicAuthId")
private Long basicAuthId;
@JsonProperty("basicAuthName")
private String basicAuthName;
@JsonProperty("host")
private String host;
@JsonProperty("id")
private Long id;
@JsonProperty("name")
private String name;
@JsonProperty("path")
private String path;
@JsonProperty("port")
private String port;
@JsonProperty("protocol")
private String protocol;
@JsonProperty("requestHeaders")
private List<RequestHeader__1> requestHeaders = new ArrayList<RequestHeader__1>();
@JsonProperty("tenantId")
private Long tenantId;
/**
* No args constructor for use in serialization
*
*/
public EndpointConfigurationRepresentation() {
}
/**
*
* @param basicAuthName
* @param path
* @param protocol
* @param requestHeaders
* @param basicAuthId
* @param port
* @param host
* @param name
* @param tenantId
* @param id
*/
public EndpointConfigurationRepresentation(Long basicAuthId, String basicAuthName, String host, Long id, String name, String path, String port, String protocol, List<RequestHeader__1> requestHeaders, Long tenantId) {
super();
this.basicAuthId = basicAuthId;
this.basicAuthName = basicAuthName;
this.host = host;
this.id = id;
this.name = name;
this.path = path;
this.port = port;
this.protocol = protocol;
this.requestHeaders = requestHeaders;
this.tenantId = tenantId;
}
@JsonProperty("basicAuthId")
public Long getBasicAuthId() {
return basicAuthId;
}
@JsonProperty("basicAuthId")
public void setBasicAuthId(Long basicAuthId) {
this.basicAuthId = basicAuthId;
}
public EndpointConfigurationRepresentation withBasicAuthId(Long basicAuthId) {
this.basicAuthId = basicAuthId;
return this;
}
@JsonProperty("basicAuthName")
public String getBasicAuthName() {
return basicAuthName;
}
@JsonProperty("basicAuthName")
public void setBasicAuthName(String basicAuthName) {
this.basicAuthName = basicAuthName;
}
public EndpointConfigurationRepresentation withBasicAuthName(String basicAuthName) {
this.basicAuthName = basicAuthName;
return this;
}
@JsonProperty("host")
public String getHost() {
return host;
}
@JsonProperty("host")
public void setHost(String host) {
this.host = host;
}
public EndpointConfigurationRepresentation withHost(String host) {
this.host = host;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public EndpointConfigurationRepresentation withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public EndpointConfigurationRepresentation withName(String name) {
this.name = name;
return this;
}
@JsonProperty("path")
public String getPath() {
return path;
}
@JsonProperty("path")
public void setPath(String path) {
this.path = path;
}
public EndpointConfigurationRepresentation withPath(String path) {
this.path = path;
return this;
}
@JsonProperty("port")
public String getPort() {
return port;
}
@JsonProperty("port")
public void setPort(String port) {
this.port = port;
}
public EndpointConfigurationRepresentation withPort(String port) {
this.port = port;
return this;
}
@JsonProperty("protocol")
public String getProtocol() {
return protocol;
}
@JsonProperty("protocol")
public void setProtocol(String protocol) {
this.protocol = protocol;
}
public EndpointConfigurationRepresentation withProtocol(String protocol) {
this.protocol = protocol;
return this;
}
@JsonProperty("requestHeaders")
public List<RequestHeader__1> getRequestHeaders() {
return requestHeaders;
}
@JsonProperty("requestHeaders")
public void setRequestHeaders(List<RequestHeader__1> requestHeaders) {
this.requestHeaders = requestHeaders;
}
public EndpointConfigurationRepresentation withRequestHeaders(List<RequestHeader__1> requestHeaders) {
this.requestHeaders = requestHeaders;
return this;
}
@JsonProperty("tenantId")
public Long getTenantId() {
return tenantId;
}
@JsonProperty("tenantId")
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
public EndpointConfigurationRepresentation withTenantId(Long tenantId) {
this.tenantId = tenantId;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(EndpointConfigurationRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("basicAuthId");
sb.append('=');
sb.append(((this.basicAuthId == null)?"<null>":this.basicAuthId));
sb.append(',');
sb.append("basicAuthName");
sb.append('=');
sb.append(((this.basicAuthName == null)?"<null>":this.basicAuthName));
sb.append(',');
sb.append("host");
sb.append('=');
sb.append(((this.host == null)?"<null>":this.host));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("path");
sb.append('=');
sb.append(((this.path == null)?"<null>":this.path));
sb.append(',');
sb.append("port");
sb.append('=');
sb.append(((this.port == null)?"<null>":this.port));
sb.append(',');
sb.append("protocol");
sb.append('=');
sb.append(((this.protocol == null)?"<null>":this.protocol));
sb.append(',');
sb.append("requestHeaders");
sb.append('=');
sb.append(((this.requestHeaders == null)?"<null>":this.requestHeaders));
sb.append(',');
sb.append("tenantId");
sb.append('=');
sb.append(((this.tenantId == null)?"<null>":this.tenantId));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.basicAuthName == null)? 0 :this.basicAuthName.hashCode()));
result = ((result* 31)+((this.path == null)? 0 :this.path.hashCode()));
result = ((result* 31)+((this.protocol == null)? 0 :this.protocol.hashCode()));
result = ((result* 31)+((this.requestHeaders == null)? 0 :this.requestHeaders.hashCode()));
result = ((result* 31)+((this.basicAuthId == null)? 0 :this.basicAuthId.hashCode()));
result = ((result* 31)+((this.port == null)? 0 :this.port.hashCode()));
result = ((result* 31)+((this.host == null)? 0 :this.host.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof EndpointConfigurationRepresentation) == false) {
return false;
}
EndpointConfigurationRepresentation rhs = ((EndpointConfigurationRepresentation) other);
return (((((((((((this.basicAuthName == rhs.basicAuthName)||((this.basicAuthName!= null)&&this.basicAuthName.equals(rhs.basicAuthName)))&&((this.path == rhs.path)||((this.path!= null)&&this.path.equals(rhs.path))))&&((this.protocol == rhs.protocol)||((this.protocol!= null)&&this.protocol.equals(rhs.protocol))))&&((this.requestHeaders == rhs.requestHeaders)||((this.requestHeaders!= null)&&this.requestHeaders.equals(rhs.requestHeaders))))&&((this.basicAuthId == rhs.basicAuthId)||((this.basicAuthId!= null)&&this.basicAuthId.equals(rhs.basicAuthId))))&&((this.port == rhs.port)||((this.port!= null)&&this.port.equals(rhs.port))))&&((this.host == rhs.host)||((this.host!= null)&&this.host.equals(rhs.host))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))));
}
}

View File

@@ -1,317 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* EndpointConfigurationRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"basicAuthId",
"basicAuthName",
"host",
"id",
"name",
"path",
"port",
"protocol",
"requestHeaders",
"tenantId"
})
public class EndpointConfigurationRepresentationarray {
@JsonProperty("basicAuthId")
private Long basicAuthId;
@JsonProperty("basicAuthName")
private String basicAuthName;
@JsonProperty("host")
private String host;
@JsonProperty("id")
private Long id;
@JsonProperty("name")
private String name;
@JsonProperty("path")
private String path;
@JsonProperty("port")
private String port;
@JsonProperty("protocol")
private String protocol;
@JsonProperty("requestHeaders")
private List<RequestHeader> requestHeaders = new ArrayList<RequestHeader>();
@JsonProperty("tenantId")
private Long tenantId;
/**
* No args constructor for use in serialization
*
*/
public EndpointConfigurationRepresentationarray() {
}
/**
*
* @param basicAuthName
* @param path
* @param protocol
* @param requestHeaders
* @param basicAuthId
* @param port
* @param host
* @param name
* @param tenantId
* @param id
*/
public EndpointConfigurationRepresentationarray(Long basicAuthId, String basicAuthName, String host, Long id, String name, String path, String port, String protocol, List<RequestHeader> requestHeaders, Long tenantId) {
super();
this.basicAuthId = basicAuthId;
this.basicAuthName = basicAuthName;
this.host = host;
this.id = id;
this.name = name;
this.path = path;
this.port = port;
this.protocol = protocol;
this.requestHeaders = requestHeaders;
this.tenantId = tenantId;
}
@JsonProperty("basicAuthId")
public Long getBasicAuthId() {
return basicAuthId;
}
@JsonProperty("basicAuthId")
public void setBasicAuthId(Long basicAuthId) {
this.basicAuthId = basicAuthId;
}
public EndpointConfigurationRepresentationarray withBasicAuthId(Long basicAuthId) {
this.basicAuthId = basicAuthId;
return this;
}
@JsonProperty("basicAuthName")
public String getBasicAuthName() {
return basicAuthName;
}
@JsonProperty("basicAuthName")
public void setBasicAuthName(String basicAuthName) {
this.basicAuthName = basicAuthName;
}
public EndpointConfigurationRepresentationarray withBasicAuthName(String basicAuthName) {
this.basicAuthName = basicAuthName;
return this;
}
@JsonProperty("host")
public String getHost() {
return host;
}
@JsonProperty("host")
public void setHost(String host) {
this.host = host;
}
public EndpointConfigurationRepresentationarray withHost(String host) {
this.host = host;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public EndpointConfigurationRepresentationarray withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public EndpointConfigurationRepresentationarray withName(String name) {
this.name = name;
return this;
}
@JsonProperty("path")
public String getPath() {
return path;
}
@JsonProperty("path")
public void setPath(String path) {
this.path = path;
}
public EndpointConfigurationRepresentationarray withPath(String path) {
this.path = path;
return this;
}
@JsonProperty("port")
public String getPort() {
return port;
}
@JsonProperty("port")
public void setPort(String port) {
this.port = port;
}
public EndpointConfigurationRepresentationarray withPort(String port) {
this.port = port;
return this;
}
@JsonProperty("protocol")
public String getProtocol() {
return protocol;
}
@JsonProperty("protocol")
public void setProtocol(String protocol) {
this.protocol = protocol;
}
public EndpointConfigurationRepresentationarray withProtocol(String protocol) {
this.protocol = protocol;
return this;
}
@JsonProperty("requestHeaders")
public List<RequestHeader> getRequestHeaders() {
return requestHeaders;
}
@JsonProperty("requestHeaders")
public void setRequestHeaders(List<RequestHeader> requestHeaders) {
this.requestHeaders = requestHeaders;
}
public EndpointConfigurationRepresentationarray withRequestHeaders(List<RequestHeader> requestHeaders) {
this.requestHeaders = requestHeaders;
return this;
}
@JsonProperty("tenantId")
public Long getTenantId() {
return tenantId;
}
@JsonProperty("tenantId")
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
public EndpointConfigurationRepresentationarray withTenantId(Long tenantId) {
this.tenantId = tenantId;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(EndpointConfigurationRepresentationarray.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("basicAuthId");
sb.append('=');
sb.append(((this.basicAuthId == null)?"<null>":this.basicAuthId));
sb.append(',');
sb.append("basicAuthName");
sb.append('=');
sb.append(((this.basicAuthName == null)?"<null>":this.basicAuthName));
sb.append(',');
sb.append("host");
sb.append('=');
sb.append(((this.host == null)?"<null>":this.host));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("path");
sb.append('=');
sb.append(((this.path == null)?"<null>":this.path));
sb.append(',');
sb.append("port");
sb.append('=');
sb.append(((this.port == null)?"<null>":this.port));
sb.append(',');
sb.append("protocol");
sb.append('=');
sb.append(((this.protocol == null)?"<null>":this.protocol));
sb.append(',');
sb.append("requestHeaders");
sb.append('=');
sb.append(((this.requestHeaders == null)?"<null>":this.requestHeaders));
sb.append(',');
sb.append("tenantId");
sb.append('=');
sb.append(((this.tenantId == null)?"<null>":this.tenantId));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.basicAuthName == null)? 0 :this.basicAuthName.hashCode()));
result = ((result* 31)+((this.path == null)? 0 :this.path.hashCode()));
result = ((result* 31)+((this.protocol == null)? 0 :this.protocol.hashCode()));
result = ((result* 31)+((this.requestHeaders == null)? 0 :this.requestHeaders.hashCode()));
result = ((result* 31)+((this.basicAuthId == null)? 0 :this.basicAuthId.hashCode()));
result = ((result* 31)+((this.port == null)? 0 :this.port.hashCode()));
result = ((result* 31)+((this.host == null)? 0 :this.host.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.tenantId == null)? 0 :this.tenantId.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof EndpointConfigurationRepresentationarray) == false) {
return false;
}
EndpointConfigurationRepresentationarray rhs = ((EndpointConfigurationRepresentationarray) other);
return (((((((((((this.basicAuthName == rhs.basicAuthName)||((this.basicAuthName!= null)&&this.basicAuthName.equals(rhs.basicAuthName)))&&((this.path == rhs.path)||((this.path!= null)&&this.path.equals(rhs.path))))&&((this.protocol == rhs.protocol)||((this.protocol!= null)&&this.protocol.equals(rhs.protocol))))&&((this.requestHeaders == rhs.requestHeaders)||((this.requestHeaders!= null)&&this.requestHeaders.equals(rhs.requestHeaders))))&&((this.basicAuthId == rhs.basicAuthId)||((this.basicAuthId!= null)&&this.basicAuthId.equals(rhs.basicAuthId))))&&((this.port == rhs.port)||((this.port!= null)&&this.port.equals(rhs.port))))&&((this.host == rhs.host)||((this.host!= null)&&this.host.equals(rhs.host))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.tenantId == rhs.tenantId)||((this.tenantId!= null)&&this.tenantId.equals(rhs.tenantId))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))));
}
}

View File

@@ -1,44 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
})
public class EntityVariables {
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(EntityVariables.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof EntityVariables) == false) {
return false;
}
EntityVariables rhs = ((EntityVariables) other);
return true;
}
}

View File

@@ -1,317 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* AuditLogEntryRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"activityId",
"activityName",
"activityType",
"formData",
"index",
"selectedOutcome",
"taskAssignee",
"taskName",
"timestamp",
"type"
})
public class Entry {
@JsonProperty("activityId")
private String activityId;
@JsonProperty("activityName")
private String activityName;
@JsonProperty("activityType")
private String activityType;
@JsonProperty("formData")
private List<FormDatum> formData = new ArrayList<FormDatum>();
@JsonProperty("index")
private Long index;
@JsonProperty("selectedOutcome")
private String selectedOutcome;
@JsonProperty("taskAssignee")
private String taskAssignee;
@JsonProperty("taskName")
private String taskName;
@JsonProperty("timestamp")
private String timestamp;
@JsonProperty("type")
private String type;
/**
* No args constructor for use in serialization
*
*/
public Entry() {
}
/**
*
* @param activityId
* @param selectedOutcome
* @param activityName
* @param index
* @param taskAssignee
* @param formData
* @param taskName
* @param activityType
* @param type
* @param timestamp
*/
public Entry(String activityId, String activityName, String activityType, List<FormDatum> formData, Long index, String selectedOutcome, String taskAssignee, String taskName, String timestamp, String type) {
super();
this.activityId = activityId;
this.activityName = activityName;
this.activityType = activityType;
this.formData = formData;
this.index = index;
this.selectedOutcome = selectedOutcome;
this.taskAssignee = taskAssignee;
this.taskName = taskName;
this.timestamp = timestamp;
this.type = type;
}
@JsonProperty("activityId")
public String getActivityId() {
return activityId;
}
@JsonProperty("activityId")
public void setActivityId(String activityId) {
this.activityId = activityId;
}
public Entry withActivityId(String activityId) {
this.activityId = activityId;
return this;
}
@JsonProperty("activityName")
public String getActivityName() {
return activityName;
}
@JsonProperty("activityName")
public void setActivityName(String activityName) {
this.activityName = activityName;
}
public Entry withActivityName(String activityName) {
this.activityName = activityName;
return this;
}
@JsonProperty("activityType")
public String getActivityType() {
return activityType;
}
@JsonProperty("activityType")
public void setActivityType(String activityType) {
this.activityType = activityType;
}
public Entry withActivityType(String activityType) {
this.activityType = activityType;
return this;
}
@JsonProperty("formData")
public List<FormDatum> getFormData() {
return formData;
}
@JsonProperty("formData")
public void setFormData(List<FormDatum> formData) {
this.formData = formData;
}
public Entry withFormData(List<FormDatum> formData) {
this.formData = formData;
return this;
}
@JsonProperty("index")
public Long getIndex() {
return index;
}
@JsonProperty("index")
public void setIndex(Long index) {
this.index = index;
}
public Entry withIndex(Long index) {
this.index = index;
return this;
}
@JsonProperty("selectedOutcome")
public String getSelectedOutcome() {
return selectedOutcome;
}
@JsonProperty("selectedOutcome")
public void setSelectedOutcome(String selectedOutcome) {
this.selectedOutcome = selectedOutcome;
}
public Entry withSelectedOutcome(String selectedOutcome) {
this.selectedOutcome = selectedOutcome;
return this;
}
@JsonProperty("taskAssignee")
public String getTaskAssignee() {
return taskAssignee;
}
@JsonProperty("taskAssignee")
public void setTaskAssignee(String taskAssignee) {
this.taskAssignee = taskAssignee;
}
public Entry withTaskAssignee(String taskAssignee) {
this.taskAssignee = taskAssignee;
return this;
}
@JsonProperty("taskName")
public String getTaskName() {
return taskName;
}
@JsonProperty("taskName")
public void setTaskName(String taskName) {
this.taskName = taskName;
}
public Entry withTaskName(String taskName) {
this.taskName = taskName;
return this;
}
@JsonProperty("timestamp")
public String getTimestamp() {
return timestamp;
}
@JsonProperty("timestamp")
public void setTimestamp(String timestamp) {
this.timestamp = timestamp;
}
public Entry withTimestamp(String timestamp) {
this.timestamp = timestamp;
return this;
}
@JsonProperty("type")
public String getType() {
return type;
}
@JsonProperty("type")
public void setType(String type) {
this.type = type;
}
public Entry withType(String type) {
this.type = type;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(Entry.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("activityId");
sb.append('=');
sb.append(((this.activityId == null)?"<null>":this.activityId));
sb.append(',');
sb.append("activityName");
sb.append('=');
sb.append(((this.activityName == null)?"<null>":this.activityName));
sb.append(',');
sb.append("activityType");
sb.append('=');
sb.append(((this.activityType == null)?"<null>":this.activityType));
sb.append(',');
sb.append("formData");
sb.append('=');
sb.append(((this.formData == null)?"<null>":this.formData));
sb.append(',');
sb.append("index");
sb.append('=');
sb.append(((this.index == null)?"<null>":this.index));
sb.append(',');
sb.append("selectedOutcome");
sb.append('=');
sb.append(((this.selectedOutcome == null)?"<null>":this.selectedOutcome));
sb.append(',');
sb.append("taskAssignee");
sb.append('=');
sb.append(((this.taskAssignee == null)?"<null>":this.taskAssignee));
sb.append(',');
sb.append("taskName");
sb.append('=');
sb.append(((this.taskName == null)?"<null>":this.taskName));
sb.append(',');
sb.append("timestamp");
sb.append('=');
sb.append(((this.timestamp == null)?"<null>":this.timestamp));
sb.append(',');
sb.append("type");
sb.append('=');
sb.append(((this.type == null)?"<null>":this.type));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.activityId == null)? 0 :this.activityId.hashCode()));
result = ((result* 31)+((this.selectedOutcome == null)? 0 :this.selectedOutcome.hashCode()));
result = ((result* 31)+((this.activityName == null)? 0 :this.activityName.hashCode()));
result = ((result* 31)+((this.index == null)? 0 :this.index.hashCode()));
result = ((result* 31)+((this.taskAssignee == null)? 0 :this.taskAssignee.hashCode()));
result = ((result* 31)+((this.formData == null)? 0 :this.formData.hashCode()));
result = ((result* 31)+((this.taskName == null)? 0 :this.taskName.hashCode()));
result = ((result* 31)+((this.activityType == null)? 0 :this.activityType.hashCode()));
result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode()));
result = ((result* 31)+((this.timestamp == null)? 0 :this.timestamp.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof Entry) == false) {
return false;
}
Entry rhs = ((Entry) other);
return (((((((((((this.activityId == rhs.activityId)||((this.activityId!= null)&&this.activityId.equals(rhs.activityId)))&&((this.selectedOutcome == rhs.selectedOutcome)||((this.selectedOutcome!= null)&&this.selectedOutcome.equals(rhs.selectedOutcome))))&&((this.activityName == rhs.activityName)||((this.activityName!= null)&&this.activityName.equals(rhs.activityName))))&&((this.index == rhs.index)||((this.index!= null)&&this.index.equals(rhs.index))))&&((this.taskAssignee == rhs.taskAssignee)||((this.taskAssignee!= null)&&this.taskAssignee.equals(rhs.taskAssignee))))&&((this.formData == rhs.formData)||((this.formData!= null)&&this.formData.equals(rhs.formData))))&&((this.taskName == rhs.taskName)||((this.taskName!= null)&&this.taskName.equals(rhs.taskName))))&&((this.activityType == rhs.activityType)||((this.activityType!= null)&&this.activityType.equals(rhs.activityType))))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.timestamp == rhs.timestamp)||((this.timestamp!= null)&&this.timestamp.equals(rhs.timestamp))));
}
}

View File

@@ -1,44 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
})
public class ExecutionVariables {
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(ExecutionVariables.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof ExecutionVariables) == false) {
return false;
}
ExecutionVariables rhs = ((ExecutionVariables) other);
return true;
}
}

View File

@@ -1,140 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* AuditDecisionExpressionInfoRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"type",
"value",
"variable"
})
public class Expression {
@JsonProperty("type")
private String type;
@JsonProperty("value")
private Value__13 value;
@JsonProperty("variable")
private String variable;
/**
* No args constructor for use in serialization
*
*/
public Expression() {
}
/**
*
* @param variable
* @param type
* @param value
*/
public Expression(String type, Value__13 value, String variable) {
super();
this.type = type;
this.value = value;
this.variable = variable;
}
@JsonProperty("type")
public String getType() {
return type;
}
@JsonProperty("type")
public void setType(String type) {
this.type = type;
}
public Expression withType(String type) {
this.type = type;
return this;
}
@JsonProperty("value")
public Value__13 getValue() {
return value;
}
@JsonProperty("value")
public void setValue(Value__13 value) {
this.value = value;
}
public Expression withValue(Value__13 value) {
this.value = value;
return this;
}
@JsonProperty("variable")
public String getVariable() {
return variable;
}
@JsonProperty("variable")
public void setVariable(String variable) {
this.variable = variable;
}
public Expression withVariable(String variable) {
this.variable = variable;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(Expression.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("type");
sb.append('=');
sb.append(((this.type == null)?"<null>":this.type));
sb.append(',');
sb.append("value");
sb.append('=');
sb.append(((this.value == null)?"<null>":this.value));
sb.append(',');
sb.append("variable");
sb.append('=');
sb.append(((this.variable == null)?"<null>":this.variable));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.variable == null)? 0 :this.variable.hashCode()));
result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode()));
result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof Expression) == false) {
return false;
}
Expression rhs = ((Expression) other);
return ((((this.variable == rhs.variable)||((this.variable!= null)&&this.variable.equals(rhs.variable)))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value))));
}
}

View File

@@ -1,878 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* FormFieldRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"className",
"col",
"colspan",
"dateDisplayFormat",
"hasEmptyValue",
"id",
"layout",
"maxLength",
"maxValue",
"minLength",
"minValue",
"name",
"optionType",
"options",
"overrideId",
"params",
"placeholder",
"readOnly",
"regexPattern",
"required",
"restIdProperty",
"restLabelProperty",
"restResponsePath",
"restUrl",
"row",
"sizeX",
"sizeY",
"tab",
"type",
"value",
"visibilityCondition"
})
public class Field {
@JsonProperty("className")
private String className;
@JsonProperty("col")
private Long col;
@JsonProperty("colspan")
private Long colspan;
@JsonProperty("dateDisplayFormat")
private String dateDisplayFormat;
@JsonProperty("hasEmptyValue")
private Boolean hasEmptyValue;
@JsonProperty("id")
private String id;
/**
* LayoutRepresentation
* <p>
*
*
*/
@JsonProperty("layout")
private Layout layout;
@JsonProperty("maxLength")
private Long maxLength;
@JsonProperty("maxValue")
private String maxValue;
@JsonProperty("minLength")
private Long minLength;
@JsonProperty("minValue")
private String minValue;
@JsonProperty("name")
private String name;
@JsonProperty("optionType")
private String optionType;
@JsonProperty("options")
private List<Option> options = new ArrayList<Option>();
@JsonProperty("overrideId")
private Boolean overrideId;
@JsonProperty("params")
private Params params;
@JsonProperty("placeholder")
private String placeholder;
@JsonProperty("readOnly")
private Boolean readOnly;
@JsonProperty("regexPattern")
private String regexPattern;
@JsonProperty("required")
private Boolean required;
@JsonProperty("restIdProperty")
private String restIdProperty;
@JsonProperty("restLabelProperty")
private String restLabelProperty;
@JsonProperty("restResponsePath")
private String restResponsePath;
@JsonProperty("restUrl")
private String restUrl;
@JsonProperty("row")
private Long row;
@JsonProperty("sizeX")
private Long sizeX;
@JsonProperty("sizeY")
private Long sizeY;
@JsonProperty("tab")
private String tab;
@JsonProperty("type")
private String type;
@JsonProperty("value")
private Value__1 value;
/**
* ConditionRepresentation
* <p>
*
*
*/
@JsonProperty("visibilityCondition")
private VisibilityCondition visibilityCondition;
/**
* No args constructor for use in serialization
*
*/
public Field() {
}
/**
*
* @param col
* @param minLength
* @param regexPattern
* @param className
* @param type
* @param required
* @param colspan
* @param optionType
* @param restUrl
* @param minValue
* @param tab
* @param dateDisplayFormat
* @param options
* @param id
* @param placeholder
* @param row
* @param value
* @param restResponsePath
* @param maxValue
* @param visibilityCondition
* @param readOnly
* @param params
* @param layout
* @param hasEmptyValue
* @param restLabelProperty
* @param sizeX
* @param name
* @param overrideId
* @param restIdProperty
* @param maxLength
* @param sizeY
*/
public Field(String className, Long col, Long colspan, String dateDisplayFormat, Boolean hasEmptyValue, String id, Layout layout, Long maxLength, String maxValue, Long minLength, String minValue, String name, String optionType, List<Option> options, Boolean overrideId, Params params, String placeholder, Boolean readOnly, String regexPattern, Boolean required, String restIdProperty, String restLabelProperty, String restResponsePath, String restUrl, Long row, Long sizeX, Long sizeY, String tab, String type, Value__1 value, VisibilityCondition visibilityCondition) {
super();
this.className = className;
this.col = col;
this.colspan = colspan;
this.dateDisplayFormat = dateDisplayFormat;
this.hasEmptyValue = hasEmptyValue;
this.id = id;
this.layout = layout;
this.maxLength = maxLength;
this.maxValue = maxValue;
this.minLength = minLength;
this.minValue = minValue;
this.name = name;
this.optionType = optionType;
this.options = options;
this.overrideId = overrideId;
this.params = params;
this.placeholder = placeholder;
this.readOnly = readOnly;
this.regexPattern = regexPattern;
this.required = required;
this.restIdProperty = restIdProperty;
this.restLabelProperty = restLabelProperty;
this.restResponsePath = restResponsePath;
this.restUrl = restUrl;
this.row = row;
this.sizeX = sizeX;
this.sizeY = sizeY;
this.tab = tab;
this.type = type;
this.value = value;
this.visibilityCondition = visibilityCondition;
}
@JsonProperty("className")
public String getClassName() {
return className;
}
@JsonProperty("className")
public void setClassName(String className) {
this.className = className;
}
public Field withClassName(String className) {
this.className = className;
return this;
}
@JsonProperty("col")
public Long getCol() {
return col;
}
@JsonProperty("col")
public void setCol(Long col) {
this.col = col;
}
public Field withCol(Long col) {
this.col = col;
return this;
}
@JsonProperty("colspan")
public Long getColspan() {
return colspan;
}
@JsonProperty("colspan")
public void setColspan(Long colspan) {
this.colspan = colspan;
}
public Field withColspan(Long colspan) {
this.colspan = colspan;
return this;
}
@JsonProperty("dateDisplayFormat")
public String getDateDisplayFormat() {
return dateDisplayFormat;
}
@JsonProperty("dateDisplayFormat")
public void setDateDisplayFormat(String dateDisplayFormat) {
this.dateDisplayFormat = dateDisplayFormat;
}
public Field withDateDisplayFormat(String dateDisplayFormat) {
this.dateDisplayFormat = dateDisplayFormat;
return this;
}
@JsonProperty("hasEmptyValue")
public Boolean getHasEmptyValue() {
return hasEmptyValue;
}
@JsonProperty("hasEmptyValue")
public void setHasEmptyValue(Boolean hasEmptyValue) {
this.hasEmptyValue = hasEmptyValue;
}
public Field withHasEmptyValue(Boolean hasEmptyValue) {
this.hasEmptyValue = hasEmptyValue;
return this;
}
@JsonProperty("id")
public String getId() {
return id;
}
@JsonProperty("id")
public void setId(String id) {
this.id = id;
}
public Field withId(String id) {
this.id = id;
return this;
}
/**
* LayoutRepresentation
* <p>
*
*
*/
@JsonProperty("layout")
public Layout getLayout() {
return layout;
}
/**
* LayoutRepresentation
* <p>
*
*
*/
@JsonProperty("layout")
public void setLayout(Layout layout) {
this.layout = layout;
}
public Field withLayout(Layout layout) {
this.layout = layout;
return this;
}
@JsonProperty("maxLength")
public Long getMaxLength() {
return maxLength;
}
@JsonProperty("maxLength")
public void setMaxLength(Long maxLength) {
this.maxLength = maxLength;
}
public Field withMaxLength(Long maxLength) {
this.maxLength = maxLength;
return this;
}
@JsonProperty("maxValue")
public String getMaxValue() {
return maxValue;
}
@JsonProperty("maxValue")
public void setMaxValue(String maxValue) {
this.maxValue = maxValue;
}
public Field withMaxValue(String maxValue) {
this.maxValue = maxValue;
return this;
}
@JsonProperty("minLength")
public Long getMinLength() {
return minLength;
}
@JsonProperty("minLength")
public void setMinLength(Long minLength) {
this.minLength = minLength;
}
public Field withMinLength(Long minLength) {
this.minLength = minLength;
return this;
}
@JsonProperty("minValue")
public String getMinValue() {
return minValue;
}
@JsonProperty("minValue")
public void setMinValue(String minValue) {
this.minValue = minValue;
}
public Field withMinValue(String minValue) {
this.minValue = minValue;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public Field withName(String name) {
this.name = name;
return this;
}
@JsonProperty("optionType")
public String getOptionType() {
return optionType;
}
@JsonProperty("optionType")
public void setOptionType(String optionType) {
this.optionType = optionType;
}
public Field withOptionType(String optionType) {
this.optionType = optionType;
return this;
}
@JsonProperty("options")
public List<Option> getOptions() {
return options;
}
@JsonProperty("options")
public void setOptions(List<Option> options) {
this.options = options;
}
public Field withOptions(List<Option> options) {
this.options = options;
return this;
}
@JsonProperty("overrideId")
public Boolean getOverrideId() {
return overrideId;
}
@JsonProperty("overrideId")
public void setOverrideId(Boolean overrideId) {
this.overrideId = overrideId;
}
public Field withOverrideId(Boolean overrideId) {
this.overrideId = overrideId;
return this;
}
@JsonProperty("params")
public Params getParams() {
return params;
}
@JsonProperty("params")
public void setParams(Params params) {
this.params = params;
}
public Field withParams(Params params) {
this.params = params;
return this;
}
@JsonProperty("placeholder")
public String getPlaceholder() {
return placeholder;
}
@JsonProperty("placeholder")
public void setPlaceholder(String placeholder) {
this.placeholder = placeholder;
}
public Field withPlaceholder(String placeholder) {
this.placeholder = placeholder;
return this;
}
@JsonProperty("readOnly")
public Boolean getReadOnly() {
return readOnly;
}
@JsonProperty("readOnly")
public void setReadOnly(Boolean readOnly) {
this.readOnly = readOnly;
}
public Field withReadOnly(Boolean readOnly) {
this.readOnly = readOnly;
return this;
}
@JsonProperty("regexPattern")
public String getRegexPattern() {
return regexPattern;
}
@JsonProperty("regexPattern")
public void setRegexPattern(String regexPattern) {
this.regexPattern = regexPattern;
}
public Field withRegexPattern(String regexPattern) {
this.regexPattern = regexPattern;
return this;
}
@JsonProperty("required")
public Boolean getRequired() {
return required;
}
@JsonProperty("required")
public void setRequired(Boolean required) {
this.required = required;
}
public Field withRequired(Boolean required) {
this.required = required;
return this;
}
@JsonProperty("restIdProperty")
public String getRestIdProperty() {
return restIdProperty;
}
@JsonProperty("restIdProperty")
public void setRestIdProperty(String restIdProperty) {
this.restIdProperty = restIdProperty;
}
public Field withRestIdProperty(String restIdProperty) {
this.restIdProperty = restIdProperty;
return this;
}
@JsonProperty("restLabelProperty")
public String getRestLabelProperty() {
return restLabelProperty;
}
@JsonProperty("restLabelProperty")
public void setRestLabelProperty(String restLabelProperty) {
this.restLabelProperty = restLabelProperty;
}
public Field withRestLabelProperty(String restLabelProperty) {
this.restLabelProperty = restLabelProperty;
return this;
}
@JsonProperty("restResponsePath")
public String getRestResponsePath() {
return restResponsePath;
}
@JsonProperty("restResponsePath")
public void setRestResponsePath(String restResponsePath) {
this.restResponsePath = restResponsePath;
}
public Field withRestResponsePath(String restResponsePath) {
this.restResponsePath = restResponsePath;
return this;
}
@JsonProperty("restUrl")
public String getRestUrl() {
return restUrl;
}
@JsonProperty("restUrl")
public void setRestUrl(String restUrl) {
this.restUrl = restUrl;
}
public Field withRestUrl(String restUrl) {
this.restUrl = restUrl;
return this;
}
@JsonProperty("row")
public Long getRow() {
return row;
}
@JsonProperty("row")
public void setRow(Long row) {
this.row = row;
}
public Field withRow(Long row) {
this.row = row;
return this;
}
@JsonProperty("sizeX")
public Long getSizeX() {
return sizeX;
}
@JsonProperty("sizeX")
public void setSizeX(Long sizeX) {
this.sizeX = sizeX;
}
public Field withSizeX(Long sizeX) {
this.sizeX = sizeX;
return this;
}
@JsonProperty("sizeY")
public Long getSizeY() {
return sizeY;
}
@JsonProperty("sizeY")
public void setSizeY(Long sizeY) {
this.sizeY = sizeY;
}
public Field withSizeY(Long sizeY) {
this.sizeY = sizeY;
return this;
}
@JsonProperty("tab")
public String getTab() {
return tab;
}
@JsonProperty("tab")
public void setTab(String tab) {
this.tab = tab;
}
public Field withTab(String tab) {
this.tab = tab;
return this;
}
@JsonProperty("type")
public String getType() {
return type;
}
@JsonProperty("type")
public void setType(String type) {
this.type = type;
}
public Field withType(String type) {
this.type = type;
return this;
}
@JsonProperty("value")
public Value__1 getValue() {
return value;
}
@JsonProperty("value")
public void setValue(Value__1 value) {
this.value = value;
}
public Field withValue(Value__1 value) {
this.value = value;
return this;
}
/**
* ConditionRepresentation
* <p>
*
*
*/
@JsonProperty("visibilityCondition")
public VisibilityCondition getVisibilityCondition() {
return visibilityCondition;
}
/**
* ConditionRepresentation
* <p>
*
*
*/
@JsonProperty("visibilityCondition")
public void setVisibilityCondition(VisibilityCondition visibilityCondition) {
this.visibilityCondition = visibilityCondition;
}
public Field withVisibilityCondition(VisibilityCondition visibilityCondition) {
this.visibilityCondition = visibilityCondition;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(Field.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("className");
sb.append('=');
sb.append(((this.className == null)?"<null>":this.className));
sb.append(',');
sb.append("col");
sb.append('=');
sb.append(((this.col == null)?"<null>":this.col));
sb.append(',');
sb.append("colspan");
sb.append('=');
sb.append(((this.colspan == null)?"<null>":this.colspan));
sb.append(',');
sb.append("dateDisplayFormat");
sb.append('=');
sb.append(((this.dateDisplayFormat == null)?"<null>":this.dateDisplayFormat));
sb.append(',');
sb.append("hasEmptyValue");
sb.append('=');
sb.append(((this.hasEmptyValue == null)?"<null>":this.hasEmptyValue));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("layout");
sb.append('=');
sb.append(((this.layout == null)?"<null>":this.layout));
sb.append(',');
sb.append("maxLength");
sb.append('=');
sb.append(((this.maxLength == null)?"<null>":this.maxLength));
sb.append(',');
sb.append("maxValue");
sb.append('=');
sb.append(((this.maxValue == null)?"<null>":this.maxValue));
sb.append(',');
sb.append("minLength");
sb.append('=');
sb.append(((this.minLength == null)?"<null>":this.minLength));
sb.append(',');
sb.append("minValue");
sb.append('=');
sb.append(((this.minValue == null)?"<null>":this.minValue));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("optionType");
sb.append('=');
sb.append(((this.optionType == null)?"<null>":this.optionType));
sb.append(',');
sb.append("options");
sb.append('=');
sb.append(((this.options == null)?"<null>":this.options));
sb.append(',');
sb.append("overrideId");
sb.append('=');
sb.append(((this.overrideId == null)?"<null>":this.overrideId));
sb.append(',');
sb.append("params");
sb.append('=');
sb.append(((this.params == null)?"<null>":this.params));
sb.append(',');
sb.append("placeholder");
sb.append('=');
sb.append(((this.placeholder == null)?"<null>":this.placeholder));
sb.append(',');
sb.append("readOnly");
sb.append('=');
sb.append(((this.readOnly == null)?"<null>":this.readOnly));
sb.append(',');
sb.append("regexPattern");
sb.append('=');
sb.append(((this.regexPattern == null)?"<null>":this.regexPattern));
sb.append(',');
sb.append("required");
sb.append('=');
sb.append(((this.required == null)?"<null>":this.required));
sb.append(',');
sb.append("restIdProperty");
sb.append('=');
sb.append(((this.restIdProperty == null)?"<null>":this.restIdProperty));
sb.append(',');
sb.append("restLabelProperty");
sb.append('=');
sb.append(((this.restLabelProperty == null)?"<null>":this.restLabelProperty));
sb.append(',');
sb.append("restResponsePath");
sb.append('=');
sb.append(((this.restResponsePath == null)?"<null>":this.restResponsePath));
sb.append(',');
sb.append("restUrl");
sb.append('=');
sb.append(((this.restUrl == null)?"<null>":this.restUrl));
sb.append(',');
sb.append("row");
sb.append('=');
sb.append(((this.row == null)?"<null>":this.row));
sb.append(',');
sb.append("sizeX");
sb.append('=');
sb.append(((this.sizeX == null)?"<null>":this.sizeX));
sb.append(',');
sb.append("sizeY");
sb.append('=');
sb.append(((this.sizeY == null)?"<null>":this.sizeY));
sb.append(',');
sb.append("tab");
sb.append('=');
sb.append(((this.tab == null)?"<null>":this.tab));
sb.append(',');
sb.append("type");
sb.append('=');
sb.append(((this.type == null)?"<null>":this.type));
sb.append(',');
sb.append("value");
sb.append('=');
sb.append(((this.value == null)?"<null>":this.value));
sb.append(',');
sb.append("visibilityCondition");
sb.append('=');
sb.append(((this.visibilityCondition == null)?"<null>":this.visibilityCondition));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.col == null)? 0 :this.col.hashCode()));
result = ((result* 31)+((this.minLength == null)? 0 :this.minLength.hashCode()));
result = ((result* 31)+((this.regexPattern == null)? 0 :this.regexPattern.hashCode()));
result = ((result* 31)+((this.className == null)? 0 :this.className.hashCode()));
result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode()));
result = ((result* 31)+((this.required == null)? 0 :this.required.hashCode()));
result = ((result* 31)+((this.colspan == null)? 0 :this.colspan.hashCode()));
result = ((result* 31)+((this.optionType == null)? 0 :this.optionType.hashCode()));
result = ((result* 31)+((this.restUrl == null)? 0 :this.restUrl.hashCode()));
result = ((result* 31)+((this.minValue == null)? 0 :this.minValue.hashCode()));
result = ((result* 31)+((this.tab == null)? 0 :this.tab.hashCode()));
result = ((result* 31)+((this.dateDisplayFormat == null)? 0 :this.dateDisplayFormat.hashCode()));
result = ((result* 31)+((this.options == null)? 0 :this.options.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.placeholder == null)? 0 :this.placeholder.hashCode()));
result = ((result* 31)+((this.row == null)? 0 :this.row.hashCode()));
result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode()));
result = ((result* 31)+((this.restResponsePath == null)? 0 :this.restResponsePath.hashCode()));
result = ((result* 31)+((this.maxValue == null)? 0 :this.maxValue.hashCode()));
result = ((result* 31)+((this.visibilityCondition == null)? 0 :this.visibilityCondition.hashCode()));
result = ((result* 31)+((this.readOnly == null)? 0 :this.readOnly.hashCode()));
result = ((result* 31)+((this.params == null)? 0 :this.params.hashCode()));
result = ((result* 31)+((this.layout == null)? 0 :this.layout.hashCode()));
result = ((result* 31)+((this.hasEmptyValue == null)? 0 :this.hasEmptyValue.hashCode()));
result = ((result* 31)+((this.restLabelProperty == null)? 0 :this.restLabelProperty.hashCode()));
result = ((result* 31)+((this.sizeX == null)? 0 :this.sizeX.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.overrideId == null)? 0 :this.overrideId.hashCode()));
result = ((result* 31)+((this.restIdProperty == null)? 0 :this.restIdProperty.hashCode()));
result = ((result* 31)+((this.maxLength == null)? 0 :this.maxLength.hashCode()));
result = ((result* 31)+((this.sizeY == null)? 0 :this.sizeY.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof Field) == false) {
return false;
}
Field rhs = ((Field) other);
return ((((((((((((((((((((((((((((((((this.col == rhs.col)||((this.col!= null)&&this.col.equals(rhs.col)))&&((this.minLength == rhs.minLength)||((this.minLength!= null)&&this.minLength.equals(rhs.minLength))))&&((this.regexPattern == rhs.regexPattern)||((this.regexPattern!= null)&&this.regexPattern.equals(rhs.regexPattern))))&&((this.className == rhs.className)||((this.className!= null)&&this.className.equals(rhs.className))))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.required == rhs.required)||((this.required!= null)&&this.required.equals(rhs.required))))&&((this.colspan == rhs.colspan)||((this.colspan!= null)&&this.colspan.equals(rhs.colspan))))&&((this.optionType == rhs.optionType)||((this.optionType!= null)&&this.optionType.equals(rhs.optionType))))&&((this.restUrl == rhs.restUrl)||((this.restUrl!= null)&&this.restUrl.equals(rhs.restUrl))))&&((this.minValue == rhs.minValue)||((this.minValue!= null)&&this.minValue.equals(rhs.minValue))))&&((this.tab == rhs.tab)||((this.tab!= null)&&this.tab.equals(rhs.tab))))&&((this.dateDisplayFormat == rhs.dateDisplayFormat)||((this.dateDisplayFormat!= null)&&this.dateDisplayFormat.equals(rhs.dateDisplayFormat))))&&((this.options == rhs.options)||((this.options!= null)&&this.options.equals(rhs.options))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.placeholder == rhs.placeholder)||((this.placeholder!= null)&&this.placeholder.equals(rhs.placeholder))))&&((this.row == rhs.row)||((this.row!= null)&&this.row.equals(rhs.row))))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value))))&&((this.restResponsePath == rhs.restResponsePath)||((this.restResponsePath!= null)&&this.restResponsePath.equals(rhs.restResponsePath))))&&((this.maxValue == rhs.maxValue)||((this.maxValue!= null)&&this.maxValue.equals(rhs.maxValue))))&&((this.visibilityCondition == rhs.visibilityCondition)||((this.visibilityCondition!= null)&&this.visibilityCondition.equals(rhs.visibilityCondition))))&&((this.readOnly == rhs.readOnly)||((this.readOnly!= null)&&this.readOnly.equals(rhs.readOnly))))&&((this.params == rhs.params)||((this.params!= null)&&this.params.equals(rhs.params))))&&((this.layout == rhs.layout)||((this.layout!= null)&&this.layout.equals(rhs.layout))))&&((this.hasEmptyValue == rhs.hasEmptyValue)||((this.hasEmptyValue!= null)&&this.hasEmptyValue.equals(rhs.hasEmptyValue))))&&((this.restLabelProperty == rhs.restLabelProperty)||((this.restLabelProperty!= null)&&this.restLabelProperty.equals(rhs.restLabelProperty))))&&((this.sizeX == rhs.sizeX)||((this.sizeX!= null)&&this.sizeX.equals(rhs.sizeX))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.overrideId == rhs.overrideId)||((this.overrideId!= null)&&this.overrideId.equals(rhs.overrideId))))&&((this.restIdProperty == rhs.restIdProperty)||((this.restIdProperty!= null)&&this.restIdProperty.equals(rhs.restIdProperty))))&&((this.maxLength == rhs.maxLength)||((this.maxLength!= null)&&this.maxLength.equals(rhs.maxLength))))&&((this.sizeY == rhs.sizeY)||((this.sizeY!= null)&&this.sizeY.equals(rhs.sizeY))));
}
}

View File

@@ -1,44 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
})
public class FieldToVariableMappings {
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(FieldToVariableMappings.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof FieldToVariableMappings) == false) {
return false;
}
FieldToVariableMappings rhs = ((FieldToVariableMappings) other);
return true;
}
}

View File

@@ -1,878 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* FormFieldRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"className",
"col",
"colspan",
"dateDisplayFormat",
"hasEmptyValue",
"id",
"layout",
"maxLength",
"maxValue",
"minLength",
"minValue",
"name",
"optionType",
"options",
"overrideId",
"params",
"placeholder",
"readOnly",
"regexPattern",
"required",
"restIdProperty",
"restLabelProperty",
"restResponsePath",
"restUrl",
"row",
"sizeX",
"sizeY",
"tab",
"type",
"value",
"visibilityCondition"
})
public class Field__1 {
@JsonProperty("className")
private String className;
@JsonProperty("col")
private Long col;
@JsonProperty("colspan")
private Long colspan;
@JsonProperty("dateDisplayFormat")
private String dateDisplayFormat;
@JsonProperty("hasEmptyValue")
private Boolean hasEmptyValue;
@JsonProperty("id")
private String id;
/**
* LayoutRepresentation
* <p>
*
*
*/
@JsonProperty("layout")
private Layout__1 layout;
@JsonProperty("maxLength")
private Long maxLength;
@JsonProperty("maxValue")
private String maxValue;
@JsonProperty("minLength")
private Long minLength;
@JsonProperty("minValue")
private String minValue;
@JsonProperty("name")
private String name;
@JsonProperty("optionType")
private String optionType;
@JsonProperty("options")
private List<Option__1> options = new ArrayList<Option__1>();
@JsonProperty("overrideId")
private Boolean overrideId;
@JsonProperty("params")
private Params__1 params;
@JsonProperty("placeholder")
private String placeholder;
@JsonProperty("readOnly")
private Boolean readOnly;
@JsonProperty("regexPattern")
private String regexPattern;
@JsonProperty("required")
private Boolean required;
@JsonProperty("restIdProperty")
private String restIdProperty;
@JsonProperty("restLabelProperty")
private String restLabelProperty;
@JsonProperty("restResponsePath")
private String restResponsePath;
@JsonProperty("restUrl")
private String restUrl;
@JsonProperty("row")
private Long row;
@JsonProperty("sizeX")
private Long sizeX;
@JsonProperty("sizeY")
private Long sizeY;
@JsonProperty("tab")
private String tab;
@JsonProperty("type")
private String type;
@JsonProperty("value")
private Value__3 value;
/**
* ConditionRepresentation
* <p>
*
*
*/
@JsonProperty("visibilityCondition")
private VisibilityCondition__2 visibilityCondition;
/**
* No args constructor for use in serialization
*
*/
public Field__1() {
}
/**
*
* @param col
* @param minLength
* @param regexPattern
* @param className
* @param type
* @param required
* @param colspan
* @param optionType
* @param restUrl
* @param minValue
* @param tab
* @param dateDisplayFormat
* @param options
* @param id
* @param placeholder
* @param row
* @param value
* @param restResponsePath
* @param maxValue
* @param visibilityCondition
* @param readOnly
* @param params
* @param layout
* @param hasEmptyValue
* @param restLabelProperty
* @param sizeX
* @param name
* @param overrideId
* @param restIdProperty
* @param maxLength
* @param sizeY
*/
public Field__1(String className, Long col, Long colspan, String dateDisplayFormat, Boolean hasEmptyValue, String id, Layout__1 layout, Long maxLength, String maxValue, Long minLength, String minValue, String name, String optionType, List<Option__1> options, Boolean overrideId, Params__1 params, String placeholder, Boolean readOnly, String regexPattern, Boolean required, String restIdProperty, String restLabelProperty, String restResponsePath, String restUrl, Long row, Long sizeX, Long sizeY, String tab, String type, Value__3 value, VisibilityCondition__2 visibilityCondition) {
super();
this.className = className;
this.col = col;
this.colspan = colspan;
this.dateDisplayFormat = dateDisplayFormat;
this.hasEmptyValue = hasEmptyValue;
this.id = id;
this.layout = layout;
this.maxLength = maxLength;
this.maxValue = maxValue;
this.minLength = minLength;
this.minValue = minValue;
this.name = name;
this.optionType = optionType;
this.options = options;
this.overrideId = overrideId;
this.params = params;
this.placeholder = placeholder;
this.readOnly = readOnly;
this.regexPattern = regexPattern;
this.required = required;
this.restIdProperty = restIdProperty;
this.restLabelProperty = restLabelProperty;
this.restResponsePath = restResponsePath;
this.restUrl = restUrl;
this.row = row;
this.sizeX = sizeX;
this.sizeY = sizeY;
this.tab = tab;
this.type = type;
this.value = value;
this.visibilityCondition = visibilityCondition;
}
@JsonProperty("className")
public String getClassName() {
return className;
}
@JsonProperty("className")
public void setClassName(String className) {
this.className = className;
}
public Field__1 withClassName(String className) {
this.className = className;
return this;
}
@JsonProperty("col")
public Long getCol() {
return col;
}
@JsonProperty("col")
public void setCol(Long col) {
this.col = col;
}
public Field__1 withCol(Long col) {
this.col = col;
return this;
}
@JsonProperty("colspan")
public Long getColspan() {
return colspan;
}
@JsonProperty("colspan")
public void setColspan(Long colspan) {
this.colspan = colspan;
}
public Field__1 withColspan(Long colspan) {
this.colspan = colspan;
return this;
}
@JsonProperty("dateDisplayFormat")
public String getDateDisplayFormat() {
return dateDisplayFormat;
}
@JsonProperty("dateDisplayFormat")
public void setDateDisplayFormat(String dateDisplayFormat) {
this.dateDisplayFormat = dateDisplayFormat;
}
public Field__1 withDateDisplayFormat(String dateDisplayFormat) {
this.dateDisplayFormat = dateDisplayFormat;
return this;
}
@JsonProperty("hasEmptyValue")
public Boolean getHasEmptyValue() {
return hasEmptyValue;
}
@JsonProperty("hasEmptyValue")
public void setHasEmptyValue(Boolean hasEmptyValue) {
this.hasEmptyValue = hasEmptyValue;
}
public Field__1 withHasEmptyValue(Boolean hasEmptyValue) {
this.hasEmptyValue = hasEmptyValue;
return this;
}
@JsonProperty("id")
public String getId() {
return id;
}
@JsonProperty("id")
public void setId(String id) {
this.id = id;
}
public Field__1 withId(String id) {
this.id = id;
return this;
}
/**
* LayoutRepresentation
* <p>
*
*
*/
@JsonProperty("layout")
public Layout__1 getLayout() {
return layout;
}
/**
* LayoutRepresentation
* <p>
*
*
*/
@JsonProperty("layout")
public void setLayout(Layout__1 layout) {
this.layout = layout;
}
public Field__1 withLayout(Layout__1 layout) {
this.layout = layout;
return this;
}
@JsonProperty("maxLength")
public Long getMaxLength() {
return maxLength;
}
@JsonProperty("maxLength")
public void setMaxLength(Long maxLength) {
this.maxLength = maxLength;
}
public Field__1 withMaxLength(Long maxLength) {
this.maxLength = maxLength;
return this;
}
@JsonProperty("maxValue")
public String getMaxValue() {
return maxValue;
}
@JsonProperty("maxValue")
public void setMaxValue(String maxValue) {
this.maxValue = maxValue;
}
public Field__1 withMaxValue(String maxValue) {
this.maxValue = maxValue;
return this;
}
@JsonProperty("minLength")
public Long getMinLength() {
return minLength;
}
@JsonProperty("minLength")
public void setMinLength(Long minLength) {
this.minLength = minLength;
}
public Field__1 withMinLength(Long minLength) {
this.minLength = minLength;
return this;
}
@JsonProperty("minValue")
public String getMinValue() {
return minValue;
}
@JsonProperty("minValue")
public void setMinValue(String minValue) {
this.minValue = minValue;
}
public Field__1 withMinValue(String minValue) {
this.minValue = minValue;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public Field__1 withName(String name) {
this.name = name;
return this;
}
@JsonProperty("optionType")
public String getOptionType() {
return optionType;
}
@JsonProperty("optionType")
public void setOptionType(String optionType) {
this.optionType = optionType;
}
public Field__1 withOptionType(String optionType) {
this.optionType = optionType;
return this;
}
@JsonProperty("options")
public List<Option__1> getOptions() {
return options;
}
@JsonProperty("options")
public void setOptions(List<Option__1> options) {
this.options = options;
}
public Field__1 withOptions(List<Option__1> options) {
this.options = options;
return this;
}
@JsonProperty("overrideId")
public Boolean getOverrideId() {
return overrideId;
}
@JsonProperty("overrideId")
public void setOverrideId(Boolean overrideId) {
this.overrideId = overrideId;
}
public Field__1 withOverrideId(Boolean overrideId) {
this.overrideId = overrideId;
return this;
}
@JsonProperty("params")
public Params__1 getParams() {
return params;
}
@JsonProperty("params")
public void setParams(Params__1 params) {
this.params = params;
}
public Field__1 withParams(Params__1 params) {
this.params = params;
return this;
}
@JsonProperty("placeholder")
public String getPlaceholder() {
return placeholder;
}
@JsonProperty("placeholder")
public void setPlaceholder(String placeholder) {
this.placeholder = placeholder;
}
public Field__1 withPlaceholder(String placeholder) {
this.placeholder = placeholder;
return this;
}
@JsonProperty("readOnly")
public Boolean getReadOnly() {
return readOnly;
}
@JsonProperty("readOnly")
public void setReadOnly(Boolean readOnly) {
this.readOnly = readOnly;
}
public Field__1 withReadOnly(Boolean readOnly) {
this.readOnly = readOnly;
return this;
}
@JsonProperty("regexPattern")
public String getRegexPattern() {
return regexPattern;
}
@JsonProperty("regexPattern")
public void setRegexPattern(String regexPattern) {
this.regexPattern = regexPattern;
}
public Field__1 withRegexPattern(String regexPattern) {
this.regexPattern = regexPattern;
return this;
}
@JsonProperty("required")
public Boolean getRequired() {
return required;
}
@JsonProperty("required")
public void setRequired(Boolean required) {
this.required = required;
}
public Field__1 withRequired(Boolean required) {
this.required = required;
return this;
}
@JsonProperty("restIdProperty")
public String getRestIdProperty() {
return restIdProperty;
}
@JsonProperty("restIdProperty")
public void setRestIdProperty(String restIdProperty) {
this.restIdProperty = restIdProperty;
}
public Field__1 withRestIdProperty(String restIdProperty) {
this.restIdProperty = restIdProperty;
return this;
}
@JsonProperty("restLabelProperty")
public String getRestLabelProperty() {
return restLabelProperty;
}
@JsonProperty("restLabelProperty")
public void setRestLabelProperty(String restLabelProperty) {
this.restLabelProperty = restLabelProperty;
}
public Field__1 withRestLabelProperty(String restLabelProperty) {
this.restLabelProperty = restLabelProperty;
return this;
}
@JsonProperty("restResponsePath")
public String getRestResponsePath() {
return restResponsePath;
}
@JsonProperty("restResponsePath")
public void setRestResponsePath(String restResponsePath) {
this.restResponsePath = restResponsePath;
}
public Field__1 withRestResponsePath(String restResponsePath) {
this.restResponsePath = restResponsePath;
return this;
}
@JsonProperty("restUrl")
public String getRestUrl() {
return restUrl;
}
@JsonProperty("restUrl")
public void setRestUrl(String restUrl) {
this.restUrl = restUrl;
}
public Field__1 withRestUrl(String restUrl) {
this.restUrl = restUrl;
return this;
}
@JsonProperty("row")
public Long getRow() {
return row;
}
@JsonProperty("row")
public void setRow(Long row) {
this.row = row;
}
public Field__1 withRow(Long row) {
this.row = row;
return this;
}
@JsonProperty("sizeX")
public Long getSizeX() {
return sizeX;
}
@JsonProperty("sizeX")
public void setSizeX(Long sizeX) {
this.sizeX = sizeX;
}
public Field__1 withSizeX(Long sizeX) {
this.sizeX = sizeX;
return this;
}
@JsonProperty("sizeY")
public Long getSizeY() {
return sizeY;
}
@JsonProperty("sizeY")
public void setSizeY(Long sizeY) {
this.sizeY = sizeY;
}
public Field__1 withSizeY(Long sizeY) {
this.sizeY = sizeY;
return this;
}
@JsonProperty("tab")
public String getTab() {
return tab;
}
@JsonProperty("tab")
public void setTab(String tab) {
this.tab = tab;
}
public Field__1 withTab(String tab) {
this.tab = tab;
return this;
}
@JsonProperty("type")
public String getType() {
return type;
}
@JsonProperty("type")
public void setType(String type) {
this.type = type;
}
public Field__1 withType(String type) {
this.type = type;
return this;
}
@JsonProperty("value")
public Value__3 getValue() {
return value;
}
@JsonProperty("value")
public void setValue(Value__3 value) {
this.value = value;
}
public Field__1 withValue(Value__3 value) {
this.value = value;
return this;
}
/**
* ConditionRepresentation
* <p>
*
*
*/
@JsonProperty("visibilityCondition")
public VisibilityCondition__2 getVisibilityCondition() {
return visibilityCondition;
}
/**
* ConditionRepresentation
* <p>
*
*
*/
@JsonProperty("visibilityCondition")
public void setVisibilityCondition(VisibilityCondition__2 visibilityCondition) {
this.visibilityCondition = visibilityCondition;
}
public Field__1 withVisibilityCondition(VisibilityCondition__2 visibilityCondition) {
this.visibilityCondition = visibilityCondition;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(Field__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("className");
sb.append('=');
sb.append(((this.className == null)?"<null>":this.className));
sb.append(',');
sb.append("col");
sb.append('=');
sb.append(((this.col == null)?"<null>":this.col));
sb.append(',');
sb.append("colspan");
sb.append('=');
sb.append(((this.colspan == null)?"<null>":this.colspan));
sb.append(',');
sb.append("dateDisplayFormat");
sb.append('=');
sb.append(((this.dateDisplayFormat == null)?"<null>":this.dateDisplayFormat));
sb.append(',');
sb.append("hasEmptyValue");
sb.append('=');
sb.append(((this.hasEmptyValue == null)?"<null>":this.hasEmptyValue));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("layout");
sb.append('=');
sb.append(((this.layout == null)?"<null>":this.layout));
sb.append(',');
sb.append("maxLength");
sb.append('=');
sb.append(((this.maxLength == null)?"<null>":this.maxLength));
sb.append(',');
sb.append("maxValue");
sb.append('=');
sb.append(((this.maxValue == null)?"<null>":this.maxValue));
sb.append(',');
sb.append("minLength");
sb.append('=');
sb.append(((this.minLength == null)?"<null>":this.minLength));
sb.append(',');
sb.append("minValue");
sb.append('=');
sb.append(((this.minValue == null)?"<null>":this.minValue));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("optionType");
sb.append('=');
sb.append(((this.optionType == null)?"<null>":this.optionType));
sb.append(',');
sb.append("options");
sb.append('=');
sb.append(((this.options == null)?"<null>":this.options));
sb.append(',');
sb.append("overrideId");
sb.append('=');
sb.append(((this.overrideId == null)?"<null>":this.overrideId));
sb.append(',');
sb.append("params");
sb.append('=');
sb.append(((this.params == null)?"<null>":this.params));
sb.append(',');
sb.append("placeholder");
sb.append('=');
sb.append(((this.placeholder == null)?"<null>":this.placeholder));
sb.append(',');
sb.append("readOnly");
sb.append('=');
sb.append(((this.readOnly == null)?"<null>":this.readOnly));
sb.append(',');
sb.append("regexPattern");
sb.append('=');
sb.append(((this.regexPattern == null)?"<null>":this.regexPattern));
sb.append(',');
sb.append("required");
sb.append('=');
sb.append(((this.required == null)?"<null>":this.required));
sb.append(',');
sb.append("restIdProperty");
sb.append('=');
sb.append(((this.restIdProperty == null)?"<null>":this.restIdProperty));
sb.append(',');
sb.append("restLabelProperty");
sb.append('=');
sb.append(((this.restLabelProperty == null)?"<null>":this.restLabelProperty));
sb.append(',');
sb.append("restResponsePath");
sb.append('=');
sb.append(((this.restResponsePath == null)?"<null>":this.restResponsePath));
sb.append(',');
sb.append("restUrl");
sb.append('=');
sb.append(((this.restUrl == null)?"<null>":this.restUrl));
sb.append(',');
sb.append("row");
sb.append('=');
sb.append(((this.row == null)?"<null>":this.row));
sb.append(',');
sb.append("sizeX");
sb.append('=');
sb.append(((this.sizeX == null)?"<null>":this.sizeX));
sb.append(',');
sb.append("sizeY");
sb.append('=');
sb.append(((this.sizeY == null)?"<null>":this.sizeY));
sb.append(',');
sb.append("tab");
sb.append('=');
sb.append(((this.tab == null)?"<null>":this.tab));
sb.append(',');
sb.append("type");
sb.append('=');
sb.append(((this.type == null)?"<null>":this.type));
sb.append(',');
sb.append("value");
sb.append('=');
sb.append(((this.value == null)?"<null>":this.value));
sb.append(',');
sb.append("visibilityCondition");
sb.append('=');
sb.append(((this.visibilityCondition == null)?"<null>":this.visibilityCondition));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.col == null)? 0 :this.col.hashCode()));
result = ((result* 31)+((this.minLength == null)? 0 :this.minLength.hashCode()));
result = ((result* 31)+((this.regexPattern == null)? 0 :this.regexPattern.hashCode()));
result = ((result* 31)+((this.className == null)? 0 :this.className.hashCode()));
result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode()));
result = ((result* 31)+((this.required == null)? 0 :this.required.hashCode()));
result = ((result* 31)+((this.colspan == null)? 0 :this.colspan.hashCode()));
result = ((result* 31)+((this.optionType == null)? 0 :this.optionType.hashCode()));
result = ((result* 31)+((this.restUrl == null)? 0 :this.restUrl.hashCode()));
result = ((result* 31)+((this.minValue == null)? 0 :this.minValue.hashCode()));
result = ((result* 31)+((this.tab == null)? 0 :this.tab.hashCode()));
result = ((result* 31)+((this.dateDisplayFormat == null)? 0 :this.dateDisplayFormat.hashCode()));
result = ((result* 31)+((this.options == null)? 0 :this.options.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.placeholder == null)? 0 :this.placeholder.hashCode()));
result = ((result* 31)+((this.row == null)? 0 :this.row.hashCode()));
result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode()));
result = ((result* 31)+((this.restResponsePath == null)? 0 :this.restResponsePath.hashCode()));
result = ((result* 31)+((this.maxValue == null)? 0 :this.maxValue.hashCode()));
result = ((result* 31)+((this.visibilityCondition == null)? 0 :this.visibilityCondition.hashCode()));
result = ((result* 31)+((this.readOnly == null)? 0 :this.readOnly.hashCode()));
result = ((result* 31)+((this.params == null)? 0 :this.params.hashCode()));
result = ((result* 31)+((this.layout == null)? 0 :this.layout.hashCode()));
result = ((result* 31)+((this.hasEmptyValue == null)? 0 :this.hasEmptyValue.hashCode()));
result = ((result* 31)+((this.restLabelProperty == null)? 0 :this.restLabelProperty.hashCode()));
result = ((result* 31)+((this.sizeX == null)? 0 :this.sizeX.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.overrideId == null)? 0 :this.overrideId.hashCode()));
result = ((result* 31)+((this.restIdProperty == null)? 0 :this.restIdProperty.hashCode()));
result = ((result* 31)+((this.maxLength == null)? 0 :this.maxLength.hashCode()));
result = ((result* 31)+((this.sizeY == null)? 0 :this.sizeY.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof Field__1) == false) {
return false;
}
Field__1 rhs = ((Field__1) other);
return ((((((((((((((((((((((((((((((((this.col == rhs.col)||((this.col!= null)&&this.col.equals(rhs.col)))&&((this.minLength == rhs.minLength)||((this.minLength!= null)&&this.minLength.equals(rhs.minLength))))&&((this.regexPattern == rhs.regexPattern)||((this.regexPattern!= null)&&this.regexPattern.equals(rhs.regexPattern))))&&((this.className == rhs.className)||((this.className!= null)&&this.className.equals(rhs.className))))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.required == rhs.required)||((this.required!= null)&&this.required.equals(rhs.required))))&&((this.colspan == rhs.colspan)||((this.colspan!= null)&&this.colspan.equals(rhs.colspan))))&&((this.optionType == rhs.optionType)||((this.optionType!= null)&&this.optionType.equals(rhs.optionType))))&&((this.restUrl == rhs.restUrl)||((this.restUrl!= null)&&this.restUrl.equals(rhs.restUrl))))&&((this.minValue == rhs.minValue)||((this.minValue!= null)&&this.minValue.equals(rhs.minValue))))&&((this.tab == rhs.tab)||((this.tab!= null)&&this.tab.equals(rhs.tab))))&&((this.dateDisplayFormat == rhs.dateDisplayFormat)||((this.dateDisplayFormat!= null)&&this.dateDisplayFormat.equals(rhs.dateDisplayFormat))))&&((this.options == rhs.options)||((this.options!= null)&&this.options.equals(rhs.options))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.placeholder == rhs.placeholder)||((this.placeholder!= null)&&this.placeholder.equals(rhs.placeholder))))&&((this.row == rhs.row)||((this.row!= null)&&this.row.equals(rhs.row))))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value))))&&((this.restResponsePath == rhs.restResponsePath)||((this.restResponsePath!= null)&&this.restResponsePath.equals(rhs.restResponsePath))))&&((this.maxValue == rhs.maxValue)||((this.maxValue!= null)&&this.maxValue.equals(rhs.maxValue))))&&((this.visibilityCondition == rhs.visibilityCondition)||((this.visibilityCondition!= null)&&this.visibilityCondition.equals(rhs.visibilityCondition))))&&((this.readOnly == rhs.readOnly)||((this.readOnly!= null)&&this.readOnly.equals(rhs.readOnly))))&&((this.params == rhs.params)||((this.params!= null)&&this.params.equals(rhs.params))))&&((this.layout == rhs.layout)||((this.layout!= null)&&this.layout.equals(rhs.layout))))&&((this.hasEmptyValue == rhs.hasEmptyValue)||((this.hasEmptyValue!= null)&&this.hasEmptyValue.equals(rhs.hasEmptyValue))))&&((this.restLabelProperty == rhs.restLabelProperty)||((this.restLabelProperty!= null)&&this.restLabelProperty.equals(rhs.restLabelProperty))))&&((this.sizeX == rhs.sizeX)||((this.sizeX!= null)&&this.sizeX.equals(rhs.sizeX))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.overrideId == rhs.overrideId)||((this.overrideId!= null)&&this.overrideId.equals(rhs.overrideId))))&&((this.restIdProperty == rhs.restIdProperty)||((this.restIdProperty!= null)&&this.restIdProperty.equals(rhs.restIdProperty))))&&((this.maxLength == rhs.maxLength)||((this.maxLength!= null)&&this.maxLength.equals(rhs.maxLength))))&&((this.sizeY == rhs.sizeY)||((this.sizeY!= null)&&this.sizeY.equals(rhs.sizeY))));
}
}

View File

@@ -1,878 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* FormFieldRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"className",
"col",
"colspan",
"dateDisplayFormat",
"hasEmptyValue",
"id",
"layout",
"maxLength",
"maxValue",
"minLength",
"minValue",
"name",
"optionType",
"options",
"overrideId",
"params",
"placeholder",
"readOnly",
"regexPattern",
"required",
"restIdProperty",
"restLabelProperty",
"restResponsePath",
"restUrl",
"row",
"sizeX",
"sizeY",
"tab",
"type",
"value",
"visibilityCondition"
})
public class Field__2 {
@JsonProperty("className")
private String className;
@JsonProperty("col")
private Long col;
@JsonProperty("colspan")
private Long colspan;
@JsonProperty("dateDisplayFormat")
private String dateDisplayFormat;
@JsonProperty("hasEmptyValue")
private Boolean hasEmptyValue;
@JsonProperty("id")
private String id;
/**
* LayoutRepresentation
* <p>
*
*
*/
@JsonProperty("layout")
private Layout__2 layout;
@JsonProperty("maxLength")
private Long maxLength;
@JsonProperty("maxValue")
private String maxValue;
@JsonProperty("minLength")
private Long minLength;
@JsonProperty("minValue")
private String minValue;
@JsonProperty("name")
private String name;
@JsonProperty("optionType")
private String optionType;
@JsonProperty("options")
private List<Option__2> options = new ArrayList<Option__2>();
@JsonProperty("overrideId")
private Boolean overrideId;
@JsonProperty("params")
private Params__2 params;
@JsonProperty("placeholder")
private String placeholder;
@JsonProperty("readOnly")
private Boolean readOnly;
@JsonProperty("regexPattern")
private String regexPattern;
@JsonProperty("required")
private Boolean required;
@JsonProperty("restIdProperty")
private String restIdProperty;
@JsonProperty("restLabelProperty")
private String restLabelProperty;
@JsonProperty("restResponsePath")
private String restResponsePath;
@JsonProperty("restUrl")
private String restUrl;
@JsonProperty("row")
private Long row;
@JsonProperty("sizeX")
private Long sizeX;
@JsonProperty("sizeY")
private Long sizeY;
@JsonProperty("tab")
private String tab;
@JsonProperty("type")
private String type;
@JsonProperty("value")
private Value__5 value;
/**
* ConditionRepresentation
* <p>
*
*
*/
@JsonProperty("visibilityCondition")
private VisibilityCondition__4 visibilityCondition;
/**
* No args constructor for use in serialization
*
*/
public Field__2() {
}
/**
*
* @param col
* @param minLength
* @param regexPattern
* @param className
* @param type
* @param required
* @param colspan
* @param optionType
* @param restUrl
* @param minValue
* @param tab
* @param dateDisplayFormat
* @param options
* @param id
* @param placeholder
* @param row
* @param value
* @param restResponsePath
* @param maxValue
* @param visibilityCondition
* @param readOnly
* @param params
* @param layout
* @param hasEmptyValue
* @param restLabelProperty
* @param sizeX
* @param name
* @param overrideId
* @param restIdProperty
* @param maxLength
* @param sizeY
*/
public Field__2(String className, Long col, Long colspan, String dateDisplayFormat, Boolean hasEmptyValue, String id, Layout__2 layout, Long maxLength, String maxValue, Long minLength, String minValue, String name, String optionType, List<Option__2> options, Boolean overrideId, Params__2 params, String placeholder, Boolean readOnly, String regexPattern, Boolean required, String restIdProperty, String restLabelProperty, String restResponsePath, String restUrl, Long row, Long sizeX, Long sizeY, String tab, String type, Value__5 value, VisibilityCondition__4 visibilityCondition) {
super();
this.className = className;
this.col = col;
this.colspan = colspan;
this.dateDisplayFormat = dateDisplayFormat;
this.hasEmptyValue = hasEmptyValue;
this.id = id;
this.layout = layout;
this.maxLength = maxLength;
this.maxValue = maxValue;
this.minLength = minLength;
this.minValue = minValue;
this.name = name;
this.optionType = optionType;
this.options = options;
this.overrideId = overrideId;
this.params = params;
this.placeholder = placeholder;
this.readOnly = readOnly;
this.regexPattern = regexPattern;
this.required = required;
this.restIdProperty = restIdProperty;
this.restLabelProperty = restLabelProperty;
this.restResponsePath = restResponsePath;
this.restUrl = restUrl;
this.row = row;
this.sizeX = sizeX;
this.sizeY = sizeY;
this.tab = tab;
this.type = type;
this.value = value;
this.visibilityCondition = visibilityCondition;
}
@JsonProperty("className")
public String getClassName() {
return className;
}
@JsonProperty("className")
public void setClassName(String className) {
this.className = className;
}
public Field__2 withClassName(String className) {
this.className = className;
return this;
}
@JsonProperty("col")
public Long getCol() {
return col;
}
@JsonProperty("col")
public void setCol(Long col) {
this.col = col;
}
public Field__2 withCol(Long col) {
this.col = col;
return this;
}
@JsonProperty("colspan")
public Long getColspan() {
return colspan;
}
@JsonProperty("colspan")
public void setColspan(Long colspan) {
this.colspan = colspan;
}
public Field__2 withColspan(Long colspan) {
this.colspan = colspan;
return this;
}
@JsonProperty("dateDisplayFormat")
public String getDateDisplayFormat() {
return dateDisplayFormat;
}
@JsonProperty("dateDisplayFormat")
public void setDateDisplayFormat(String dateDisplayFormat) {
this.dateDisplayFormat = dateDisplayFormat;
}
public Field__2 withDateDisplayFormat(String dateDisplayFormat) {
this.dateDisplayFormat = dateDisplayFormat;
return this;
}
@JsonProperty("hasEmptyValue")
public Boolean getHasEmptyValue() {
return hasEmptyValue;
}
@JsonProperty("hasEmptyValue")
public void setHasEmptyValue(Boolean hasEmptyValue) {
this.hasEmptyValue = hasEmptyValue;
}
public Field__2 withHasEmptyValue(Boolean hasEmptyValue) {
this.hasEmptyValue = hasEmptyValue;
return this;
}
@JsonProperty("id")
public String getId() {
return id;
}
@JsonProperty("id")
public void setId(String id) {
this.id = id;
}
public Field__2 withId(String id) {
this.id = id;
return this;
}
/**
* LayoutRepresentation
* <p>
*
*
*/
@JsonProperty("layout")
public Layout__2 getLayout() {
return layout;
}
/**
* LayoutRepresentation
* <p>
*
*
*/
@JsonProperty("layout")
public void setLayout(Layout__2 layout) {
this.layout = layout;
}
public Field__2 withLayout(Layout__2 layout) {
this.layout = layout;
return this;
}
@JsonProperty("maxLength")
public Long getMaxLength() {
return maxLength;
}
@JsonProperty("maxLength")
public void setMaxLength(Long maxLength) {
this.maxLength = maxLength;
}
public Field__2 withMaxLength(Long maxLength) {
this.maxLength = maxLength;
return this;
}
@JsonProperty("maxValue")
public String getMaxValue() {
return maxValue;
}
@JsonProperty("maxValue")
public void setMaxValue(String maxValue) {
this.maxValue = maxValue;
}
public Field__2 withMaxValue(String maxValue) {
this.maxValue = maxValue;
return this;
}
@JsonProperty("minLength")
public Long getMinLength() {
return minLength;
}
@JsonProperty("minLength")
public void setMinLength(Long minLength) {
this.minLength = minLength;
}
public Field__2 withMinLength(Long minLength) {
this.minLength = minLength;
return this;
}
@JsonProperty("minValue")
public String getMinValue() {
return minValue;
}
@JsonProperty("minValue")
public void setMinValue(String minValue) {
this.minValue = minValue;
}
public Field__2 withMinValue(String minValue) {
this.minValue = minValue;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public Field__2 withName(String name) {
this.name = name;
return this;
}
@JsonProperty("optionType")
public String getOptionType() {
return optionType;
}
@JsonProperty("optionType")
public void setOptionType(String optionType) {
this.optionType = optionType;
}
public Field__2 withOptionType(String optionType) {
this.optionType = optionType;
return this;
}
@JsonProperty("options")
public List<Option__2> getOptions() {
return options;
}
@JsonProperty("options")
public void setOptions(List<Option__2> options) {
this.options = options;
}
public Field__2 withOptions(List<Option__2> options) {
this.options = options;
return this;
}
@JsonProperty("overrideId")
public Boolean getOverrideId() {
return overrideId;
}
@JsonProperty("overrideId")
public void setOverrideId(Boolean overrideId) {
this.overrideId = overrideId;
}
public Field__2 withOverrideId(Boolean overrideId) {
this.overrideId = overrideId;
return this;
}
@JsonProperty("params")
public Params__2 getParams() {
return params;
}
@JsonProperty("params")
public void setParams(Params__2 params) {
this.params = params;
}
public Field__2 withParams(Params__2 params) {
this.params = params;
return this;
}
@JsonProperty("placeholder")
public String getPlaceholder() {
return placeholder;
}
@JsonProperty("placeholder")
public void setPlaceholder(String placeholder) {
this.placeholder = placeholder;
}
public Field__2 withPlaceholder(String placeholder) {
this.placeholder = placeholder;
return this;
}
@JsonProperty("readOnly")
public Boolean getReadOnly() {
return readOnly;
}
@JsonProperty("readOnly")
public void setReadOnly(Boolean readOnly) {
this.readOnly = readOnly;
}
public Field__2 withReadOnly(Boolean readOnly) {
this.readOnly = readOnly;
return this;
}
@JsonProperty("regexPattern")
public String getRegexPattern() {
return regexPattern;
}
@JsonProperty("regexPattern")
public void setRegexPattern(String regexPattern) {
this.regexPattern = regexPattern;
}
public Field__2 withRegexPattern(String regexPattern) {
this.regexPattern = regexPattern;
return this;
}
@JsonProperty("required")
public Boolean getRequired() {
return required;
}
@JsonProperty("required")
public void setRequired(Boolean required) {
this.required = required;
}
public Field__2 withRequired(Boolean required) {
this.required = required;
return this;
}
@JsonProperty("restIdProperty")
public String getRestIdProperty() {
return restIdProperty;
}
@JsonProperty("restIdProperty")
public void setRestIdProperty(String restIdProperty) {
this.restIdProperty = restIdProperty;
}
public Field__2 withRestIdProperty(String restIdProperty) {
this.restIdProperty = restIdProperty;
return this;
}
@JsonProperty("restLabelProperty")
public String getRestLabelProperty() {
return restLabelProperty;
}
@JsonProperty("restLabelProperty")
public void setRestLabelProperty(String restLabelProperty) {
this.restLabelProperty = restLabelProperty;
}
public Field__2 withRestLabelProperty(String restLabelProperty) {
this.restLabelProperty = restLabelProperty;
return this;
}
@JsonProperty("restResponsePath")
public String getRestResponsePath() {
return restResponsePath;
}
@JsonProperty("restResponsePath")
public void setRestResponsePath(String restResponsePath) {
this.restResponsePath = restResponsePath;
}
public Field__2 withRestResponsePath(String restResponsePath) {
this.restResponsePath = restResponsePath;
return this;
}
@JsonProperty("restUrl")
public String getRestUrl() {
return restUrl;
}
@JsonProperty("restUrl")
public void setRestUrl(String restUrl) {
this.restUrl = restUrl;
}
public Field__2 withRestUrl(String restUrl) {
this.restUrl = restUrl;
return this;
}
@JsonProperty("row")
public Long getRow() {
return row;
}
@JsonProperty("row")
public void setRow(Long row) {
this.row = row;
}
public Field__2 withRow(Long row) {
this.row = row;
return this;
}
@JsonProperty("sizeX")
public Long getSizeX() {
return sizeX;
}
@JsonProperty("sizeX")
public void setSizeX(Long sizeX) {
this.sizeX = sizeX;
}
public Field__2 withSizeX(Long sizeX) {
this.sizeX = sizeX;
return this;
}
@JsonProperty("sizeY")
public Long getSizeY() {
return sizeY;
}
@JsonProperty("sizeY")
public void setSizeY(Long sizeY) {
this.sizeY = sizeY;
}
public Field__2 withSizeY(Long sizeY) {
this.sizeY = sizeY;
return this;
}
@JsonProperty("tab")
public String getTab() {
return tab;
}
@JsonProperty("tab")
public void setTab(String tab) {
this.tab = tab;
}
public Field__2 withTab(String tab) {
this.tab = tab;
return this;
}
@JsonProperty("type")
public String getType() {
return type;
}
@JsonProperty("type")
public void setType(String type) {
this.type = type;
}
public Field__2 withType(String type) {
this.type = type;
return this;
}
@JsonProperty("value")
public Value__5 getValue() {
return value;
}
@JsonProperty("value")
public void setValue(Value__5 value) {
this.value = value;
}
public Field__2 withValue(Value__5 value) {
this.value = value;
return this;
}
/**
* ConditionRepresentation
* <p>
*
*
*/
@JsonProperty("visibilityCondition")
public VisibilityCondition__4 getVisibilityCondition() {
return visibilityCondition;
}
/**
* ConditionRepresentation
* <p>
*
*
*/
@JsonProperty("visibilityCondition")
public void setVisibilityCondition(VisibilityCondition__4 visibilityCondition) {
this.visibilityCondition = visibilityCondition;
}
public Field__2 withVisibilityCondition(VisibilityCondition__4 visibilityCondition) {
this.visibilityCondition = visibilityCondition;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(Field__2 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("className");
sb.append('=');
sb.append(((this.className == null)?"<null>":this.className));
sb.append(',');
sb.append("col");
sb.append('=');
sb.append(((this.col == null)?"<null>":this.col));
sb.append(',');
sb.append("colspan");
sb.append('=');
sb.append(((this.colspan == null)?"<null>":this.colspan));
sb.append(',');
sb.append("dateDisplayFormat");
sb.append('=');
sb.append(((this.dateDisplayFormat == null)?"<null>":this.dateDisplayFormat));
sb.append(',');
sb.append("hasEmptyValue");
sb.append('=');
sb.append(((this.hasEmptyValue == null)?"<null>":this.hasEmptyValue));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("layout");
sb.append('=');
sb.append(((this.layout == null)?"<null>":this.layout));
sb.append(',');
sb.append("maxLength");
sb.append('=');
sb.append(((this.maxLength == null)?"<null>":this.maxLength));
sb.append(',');
sb.append("maxValue");
sb.append('=');
sb.append(((this.maxValue == null)?"<null>":this.maxValue));
sb.append(',');
sb.append("minLength");
sb.append('=');
sb.append(((this.minLength == null)?"<null>":this.minLength));
sb.append(',');
sb.append("minValue");
sb.append('=');
sb.append(((this.minValue == null)?"<null>":this.minValue));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("optionType");
sb.append('=');
sb.append(((this.optionType == null)?"<null>":this.optionType));
sb.append(',');
sb.append("options");
sb.append('=');
sb.append(((this.options == null)?"<null>":this.options));
sb.append(',');
sb.append("overrideId");
sb.append('=');
sb.append(((this.overrideId == null)?"<null>":this.overrideId));
sb.append(',');
sb.append("params");
sb.append('=');
sb.append(((this.params == null)?"<null>":this.params));
sb.append(',');
sb.append("placeholder");
sb.append('=');
sb.append(((this.placeholder == null)?"<null>":this.placeholder));
sb.append(',');
sb.append("readOnly");
sb.append('=');
sb.append(((this.readOnly == null)?"<null>":this.readOnly));
sb.append(',');
sb.append("regexPattern");
sb.append('=');
sb.append(((this.regexPattern == null)?"<null>":this.regexPattern));
sb.append(',');
sb.append("required");
sb.append('=');
sb.append(((this.required == null)?"<null>":this.required));
sb.append(',');
sb.append("restIdProperty");
sb.append('=');
sb.append(((this.restIdProperty == null)?"<null>":this.restIdProperty));
sb.append(',');
sb.append("restLabelProperty");
sb.append('=');
sb.append(((this.restLabelProperty == null)?"<null>":this.restLabelProperty));
sb.append(',');
sb.append("restResponsePath");
sb.append('=');
sb.append(((this.restResponsePath == null)?"<null>":this.restResponsePath));
sb.append(',');
sb.append("restUrl");
sb.append('=');
sb.append(((this.restUrl == null)?"<null>":this.restUrl));
sb.append(',');
sb.append("row");
sb.append('=');
sb.append(((this.row == null)?"<null>":this.row));
sb.append(',');
sb.append("sizeX");
sb.append('=');
sb.append(((this.sizeX == null)?"<null>":this.sizeX));
sb.append(',');
sb.append("sizeY");
sb.append('=');
sb.append(((this.sizeY == null)?"<null>":this.sizeY));
sb.append(',');
sb.append("tab");
sb.append('=');
sb.append(((this.tab == null)?"<null>":this.tab));
sb.append(',');
sb.append("type");
sb.append('=');
sb.append(((this.type == null)?"<null>":this.type));
sb.append(',');
sb.append("value");
sb.append('=');
sb.append(((this.value == null)?"<null>":this.value));
sb.append(',');
sb.append("visibilityCondition");
sb.append('=');
sb.append(((this.visibilityCondition == null)?"<null>":this.visibilityCondition));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.col == null)? 0 :this.col.hashCode()));
result = ((result* 31)+((this.minLength == null)? 0 :this.minLength.hashCode()));
result = ((result* 31)+((this.regexPattern == null)? 0 :this.regexPattern.hashCode()));
result = ((result* 31)+((this.className == null)? 0 :this.className.hashCode()));
result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode()));
result = ((result* 31)+((this.required == null)? 0 :this.required.hashCode()));
result = ((result* 31)+((this.colspan == null)? 0 :this.colspan.hashCode()));
result = ((result* 31)+((this.optionType == null)? 0 :this.optionType.hashCode()));
result = ((result* 31)+((this.restUrl == null)? 0 :this.restUrl.hashCode()));
result = ((result* 31)+((this.minValue == null)? 0 :this.minValue.hashCode()));
result = ((result* 31)+((this.tab == null)? 0 :this.tab.hashCode()));
result = ((result* 31)+((this.dateDisplayFormat == null)? 0 :this.dateDisplayFormat.hashCode()));
result = ((result* 31)+((this.options == null)? 0 :this.options.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.placeholder == null)? 0 :this.placeholder.hashCode()));
result = ((result* 31)+((this.row == null)? 0 :this.row.hashCode()));
result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode()));
result = ((result* 31)+((this.restResponsePath == null)? 0 :this.restResponsePath.hashCode()));
result = ((result* 31)+((this.maxValue == null)? 0 :this.maxValue.hashCode()));
result = ((result* 31)+((this.visibilityCondition == null)? 0 :this.visibilityCondition.hashCode()));
result = ((result* 31)+((this.readOnly == null)? 0 :this.readOnly.hashCode()));
result = ((result* 31)+((this.params == null)? 0 :this.params.hashCode()));
result = ((result* 31)+((this.layout == null)? 0 :this.layout.hashCode()));
result = ((result* 31)+((this.hasEmptyValue == null)? 0 :this.hasEmptyValue.hashCode()));
result = ((result* 31)+((this.restLabelProperty == null)? 0 :this.restLabelProperty.hashCode()));
result = ((result* 31)+((this.sizeX == null)? 0 :this.sizeX.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.overrideId == null)? 0 :this.overrideId.hashCode()));
result = ((result* 31)+((this.restIdProperty == null)? 0 :this.restIdProperty.hashCode()));
result = ((result* 31)+((this.maxLength == null)? 0 :this.maxLength.hashCode()));
result = ((result* 31)+((this.sizeY == null)? 0 :this.sizeY.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof Field__2) == false) {
return false;
}
Field__2 rhs = ((Field__2) other);
return ((((((((((((((((((((((((((((((((this.col == rhs.col)||((this.col!= null)&&this.col.equals(rhs.col)))&&((this.minLength == rhs.minLength)||((this.minLength!= null)&&this.minLength.equals(rhs.minLength))))&&((this.regexPattern == rhs.regexPattern)||((this.regexPattern!= null)&&this.regexPattern.equals(rhs.regexPattern))))&&((this.className == rhs.className)||((this.className!= null)&&this.className.equals(rhs.className))))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.required == rhs.required)||((this.required!= null)&&this.required.equals(rhs.required))))&&((this.colspan == rhs.colspan)||((this.colspan!= null)&&this.colspan.equals(rhs.colspan))))&&((this.optionType == rhs.optionType)||((this.optionType!= null)&&this.optionType.equals(rhs.optionType))))&&((this.restUrl == rhs.restUrl)||((this.restUrl!= null)&&this.restUrl.equals(rhs.restUrl))))&&((this.minValue == rhs.minValue)||((this.minValue!= null)&&this.minValue.equals(rhs.minValue))))&&((this.tab == rhs.tab)||((this.tab!= null)&&this.tab.equals(rhs.tab))))&&((this.dateDisplayFormat == rhs.dateDisplayFormat)||((this.dateDisplayFormat!= null)&&this.dateDisplayFormat.equals(rhs.dateDisplayFormat))))&&((this.options == rhs.options)||((this.options!= null)&&this.options.equals(rhs.options))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.placeholder == rhs.placeholder)||((this.placeholder!= null)&&this.placeholder.equals(rhs.placeholder))))&&((this.row == rhs.row)||((this.row!= null)&&this.row.equals(rhs.row))))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value))))&&((this.restResponsePath == rhs.restResponsePath)||((this.restResponsePath!= null)&&this.restResponsePath.equals(rhs.restResponsePath))))&&((this.maxValue == rhs.maxValue)||((this.maxValue!= null)&&this.maxValue.equals(rhs.maxValue))))&&((this.visibilityCondition == rhs.visibilityCondition)||((this.visibilityCondition!= null)&&this.visibilityCondition.equals(rhs.visibilityCondition))))&&((this.readOnly == rhs.readOnly)||((this.readOnly!= null)&&this.readOnly.equals(rhs.readOnly))))&&((this.params == rhs.params)||((this.params!= null)&&this.params.equals(rhs.params))))&&((this.layout == rhs.layout)||((this.layout!= null)&&this.layout.equals(rhs.layout))))&&((this.hasEmptyValue == rhs.hasEmptyValue)||((this.hasEmptyValue!= null)&&this.hasEmptyValue.equals(rhs.hasEmptyValue))))&&((this.restLabelProperty == rhs.restLabelProperty)||((this.restLabelProperty!= null)&&this.restLabelProperty.equals(rhs.restLabelProperty))))&&((this.sizeX == rhs.sizeX)||((this.sizeX!= null)&&this.sizeX.equals(rhs.sizeX))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.overrideId == rhs.overrideId)||((this.overrideId!= null)&&this.overrideId.equals(rhs.overrideId))))&&((this.restIdProperty == rhs.restIdProperty)||((this.restIdProperty!= null)&&this.restIdProperty.equals(rhs.restIdProperty))))&&((this.maxLength == rhs.maxLength)||((this.maxLength!= null)&&this.maxLength.equals(rhs.maxLength))))&&((this.sizeY == rhs.sizeY)||((this.sizeY!= null)&&this.sizeY.equals(rhs.sizeY))));
}
}

View File

@@ -1,878 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* FormFieldRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"className",
"col",
"colspan",
"dateDisplayFormat",
"hasEmptyValue",
"id",
"layout",
"maxLength",
"maxValue",
"minLength",
"minValue",
"name",
"optionType",
"options",
"overrideId",
"params",
"placeholder",
"readOnly",
"regexPattern",
"required",
"restIdProperty",
"restLabelProperty",
"restResponsePath",
"restUrl",
"row",
"sizeX",
"sizeY",
"tab",
"type",
"value",
"visibilityCondition"
})
public class Field__3 {
@JsonProperty("className")
private String className;
@JsonProperty("col")
private Long col;
@JsonProperty("colspan")
private Long colspan;
@JsonProperty("dateDisplayFormat")
private String dateDisplayFormat;
@JsonProperty("hasEmptyValue")
private Boolean hasEmptyValue;
@JsonProperty("id")
private String id;
/**
* LayoutRepresentation
* <p>
*
*
*/
@JsonProperty("layout")
private Layout__3 layout;
@JsonProperty("maxLength")
private Long maxLength;
@JsonProperty("maxValue")
private String maxValue;
@JsonProperty("minLength")
private Long minLength;
@JsonProperty("minValue")
private String minValue;
@JsonProperty("name")
private String name;
@JsonProperty("optionType")
private String optionType;
@JsonProperty("options")
private List<Option__3> options = new ArrayList<Option__3>();
@JsonProperty("overrideId")
private Boolean overrideId;
@JsonProperty("params")
private Params__3 params;
@JsonProperty("placeholder")
private String placeholder;
@JsonProperty("readOnly")
private Boolean readOnly;
@JsonProperty("regexPattern")
private String regexPattern;
@JsonProperty("required")
private Boolean required;
@JsonProperty("restIdProperty")
private String restIdProperty;
@JsonProperty("restLabelProperty")
private String restLabelProperty;
@JsonProperty("restResponsePath")
private String restResponsePath;
@JsonProperty("restUrl")
private String restUrl;
@JsonProperty("row")
private Long row;
@JsonProperty("sizeX")
private Long sizeX;
@JsonProperty("sizeY")
private Long sizeY;
@JsonProperty("tab")
private String tab;
@JsonProperty("type")
private String type;
@JsonProperty("value")
private Value__8 value;
/**
* ConditionRepresentation
* <p>
*
*
*/
@JsonProperty("visibilityCondition")
private VisibilityCondition__6 visibilityCondition;
/**
* No args constructor for use in serialization
*
*/
public Field__3() {
}
/**
*
* @param col
* @param minLength
* @param regexPattern
* @param className
* @param type
* @param required
* @param colspan
* @param optionType
* @param restUrl
* @param minValue
* @param tab
* @param dateDisplayFormat
* @param options
* @param id
* @param placeholder
* @param row
* @param value
* @param restResponsePath
* @param maxValue
* @param visibilityCondition
* @param readOnly
* @param params
* @param layout
* @param hasEmptyValue
* @param restLabelProperty
* @param sizeX
* @param name
* @param overrideId
* @param restIdProperty
* @param maxLength
* @param sizeY
*/
public Field__3(String className, Long col, Long colspan, String dateDisplayFormat, Boolean hasEmptyValue, String id, Layout__3 layout, Long maxLength, String maxValue, Long minLength, String minValue, String name, String optionType, List<Option__3> options, Boolean overrideId, Params__3 params, String placeholder, Boolean readOnly, String regexPattern, Boolean required, String restIdProperty, String restLabelProperty, String restResponsePath, String restUrl, Long row, Long sizeX, Long sizeY, String tab, String type, Value__8 value, VisibilityCondition__6 visibilityCondition) {
super();
this.className = className;
this.col = col;
this.colspan = colspan;
this.dateDisplayFormat = dateDisplayFormat;
this.hasEmptyValue = hasEmptyValue;
this.id = id;
this.layout = layout;
this.maxLength = maxLength;
this.maxValue = maxValue;
this.minLength = minLength;
this.minValue = minValue;
this.name = name;
this.optionType = optionType;
this.options = options;
this.overrideId = overrideId;
this.params = params;
this.placeholder = placeholder;
this.readOnly = readOnly;
this.regexPattern = regexPattern;
this.required = required;
this.restIdProperty = restIdProperty;
this.restLabelProperty = restLabelProperty;
this.restResponsePath = restResponsePath;
this.restUrl = restUrl;
this.row = row;
this.sizeX = sizeX;
this.sizeY = sizeY;
this.tab = tab;
this.type = type;
this.value = value;
this.visibilityCondition = visibilityCondition;
}
@JsonProperty("className")
public String getClassName() {
return className;
}
@JsonProperty("className")
public void setClassName(String className) {
this.className = className;
}
public Field__3 withClassName(String className) {
this.className = className;
return this;
}
@JsonProperty("col")
public Long getCol() {
return col;
}
@JsonProperty("col")
public void setCol(Long col) {
this.col = col;
}
public Field__3 withCol(Long col) {
this.col = col;
return this;
}
@JsonProperty("colspan")
public Long getColspan() {
return colspan;
}
@JsonProperty("colspan")
public void setColspan(Long colspan) {
this.colspan = colspan;
}
public Field__3 withColspan(Long colspan) {
this.colspan = colspan;
return this;
}
@JsonProperty("dateDisplayFormat")
public String getDateDisplayFormat() {
return dateDisplayFormat;
}
@JsonProperty("dateDisplayFormat")
public void setDateDisplayFormat(String dateDisplayFormat) {
this.dateDisplayFormat = dateDisplayFormat;
}
public Field__3 withDateDisplayFormat(String dateDisplayFormat) {
this.dateDisplayFormat = dateDisplayFormat;
return this;
}
@JsonProperty("hasEmptyValue")
public Boolean getHasEmptyValue() {
return hasEmptyValue;
}
@JsonProperty("hasEmptyValue")
public void setHasEmptyValue(Boolean hasEmptyValue) {
this.hasEmptyValue = hasEmptyValue;
}
public Field__3 withHasEmptyValue(Boolean hasEmptyValue) {
this.hasEmptyValue = hasEmptyValue;
return this;
}
@JsonProperty("id")
public String getId() {
return id;
}
@JsonProperty("id")
public void setId(String id) {
this.id = id;
}
public Field__3 withId(String id) {
this.id = id;
return this;
}
/**
* LayoutRepresentation
* <p>
*
*
*/
@JsonProperty("layout")
public Layout__3 getLayout() {
return layout;
}
/**
* LayoutRepresentation
* <p>
*
*
*/
@JsonProperty("layout")
public void setLayout(Layout__3 layout) {
this.layout = layout;
}
public Field__3 withLayout(Layout__3 layout) {
this.layout = layout;
return this;
}
@JsonProperty("maxLength")
public Long getMaxLength() {
return maxLength;
}
@JsonProperty("maxLength")
public void setMaxLength(Long maxLength) {
this.maxLength = maxLength;
}
public Field__3 withMaxLength(Long maxLength) {
this.maxLength = maxLength;
return this;
}
@JsonProperty("maxValue")
public String getMaxValue() {
return maxValue;
}
@JsonProperty("maxValue")
public void setMaxValue(String maxValue) {
this.maxValue = maxValue;
}
public Field__3 withMaxValue(String maxValue) {
this.maxValue = maxValue;
return this;
}
@JsonProperty("minLength")
public Long getMinLength() {
return minLength;
}
@JsonProperty("minLength")
public void setMinLength(Long minLength) {
this.minLength = minLength;
}
public Field__3 withMinLength(Long minLength) {
this.minLength = minLength;
return this;
}
@JsonProperty("minValue")
public String getMinValue() {
return minValue;
}
@JsonProperty("minValue")
public void setMinValue(String minValue) {
this.minValue = minValue;
}
public Field__3 withMinValue(String minValue) {
this.minValue = minValue;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public Field__3 withName(String name) {
this.name = name;
return this;
}
@JsonProperty("optionType")
public String getOptionType() {
return optionType;
}
@JsonProperty("optionType")
public void setOptionType(String optionType) {
this.optionType = optionType;
}
public Field__3 withOptionType(String optionType) {
this.optionType = optionType;
return this;
}
@JsonProperty("options")
public List<Option__3> getOptions() {
return options;
}
@JsonProperty("options")
public void setOptions(List<Option__3> options) {
this.options = options;
}
public Field__3 withOptions(List<Option__3> options) {
this.options = options;
return this;
}
@JsonProperty("overrideId")
public Boolean getOverrideId() {
return overrideId;
}
@JsonProperty("overrideId")
public void setOverrideId(Boolean overrideId) {
this.overrideId = overrideId;
}
public Field__3 withOverrideId(Boolean overrideId) {
this.overrideId = overrideId;
return this;
}
@JsonProperty("params")
public Params__3 getParams() {
return params;
}
@JsonProperty("params")
public void setParams(Params__3 params) {
this.params = params;
}
public Field__3 withParams(Params__3 params) {
this.params = params;
return this;
}
@JsonProperty("placeholder")
public String getPlaceholder() {
return placeholder;
}
@JsonProperty("placeholder")
public void setPlaceholder(String placeholder) {
this.placeholder = placeholder;
}
public Field__3 withPlaceholder(String placeholder) {
this.placeholder = placeholder;
return this;
}
@JsonProperty("readOnly")
public Boolean getReadOnly() {
return readOnly;
}
@JsonProperty("readOnly")
public void setReadOnly(Boolean readOnly) {
this.readOnly = readOnly;
}
public Field__3 withReadOnly(Boolean readOnly) {
this.readOnly = readOnly;
return this;
}
@JsonProperty("regexPattern")
public String getRegexPattern() {
return regexPattern;
}
@JsonProperty("regexPattern")
public void setRegexPattern(String regexPattern) {
this.regexPattern = regexPattern;
}
public Field__3 withRegexPattern(String regexPattern) {
this.regexPattern = regexPattern;
return this;
}
@JsonProperty("required")
public Boolean getRequired() {
return required;
}
@JsonProperty("required")
public void setRequired(Boolean required) {
this.required = required;
}
public Field__3 withRequired(Boolean required) {
this.required = required;
return this;
}
@JsonProperty("restIdProperty")
public String getRestIdProperty() {
return restIdProperty;
}
@JsonProperty("restIdProperty")
public void setRestIdProperty(String restIdProperty) {
this.restIdProperty = restIdProperty;
}
public Field__3 withRestIdProperty(String restIdProperty) {
this.restIdProperty = restIdProperty;
return this;
}
@JsonProperty("restLabelProperty")
public String getRestLabelProperty() {
return restLabelProperty;
}
@JsonProperty("restLabelProperty")
public void setRestLabelProperty(String restLabelProperty) {
this.restLabelProperty = restLabelProperty;
}
public Field__3 withRestLabelProperty(String restLabelProperty) {
this.restLabelProperty = restLabelProperty;
return this;
}
@JsonProperty("restResponsePath")
public String getRestResponsePath() {
return restResponsePath;
}
@JsonProperty("restResponsePath")
public void setRestResponsePath(String restResponsePath) {
this.restResponsePath = restResponsePath;
}
public Field__3 withRestResponsePath(String restResponsePath) {
this.restResponsePath = restResponsePath;
return this;
}
@JsonProperty("restUrl")
public String getRestUrl() {
return restUrl;
}
@JsonProperty("restUrl")
public void setRestUrl(String restUrl) {
this.restUrl = restUrl;
}
public Field__3 withRestUrl(String restUrl) {
this.restUrl = restUrl;
return this;
}
@JsonProperty("row")
public Long getRow() {
return row;
}
@JsonProperty("row")
public void setRow(Long row) {
this.row = row;
}
public Field__3 withRow(Long row) {
this.row = row;
return this;
}
@JsonProperty("sizeX")
public Long getSizeX() {
return sizeX;
}
@JsonProperty("sizeX")
public void setSizeX(Long sizeX) {
this.sizeX = sizeX;
}
public Field__3 withSizeX(Long sizeX) {
this.sizeX = sizeX;
return this;
}
@JsonProperty("sizeY")
public Long getSizeY() {
return sizeY;
}
@JsonProperty("sizeY")
public void setSizeY(Long sizeY) {
this.sizeY = sizeY;
}
public Field__3 withSizeY(Long sizeY) {
this.sizeY = sizeY;
return this;
}
@JsonProperty("tab")
public String getTab() {
return tab;
}
@JsonProperty("tab")
public void setTab(String tab) {
this.tab = tab;
}
public Field__3 withTab(String tab) {
this.tab = tab;
return this;
}
@JsonProperty("type")
public String getType() {
return type;
}
@JsonProperty("type")
public void setType(String type) {
this.type = type;
}
public Field__3 withType(String type) {
this.type = type;
return this;
}
@JsonProperty("value")
public Value__8 getValue() {
return value;
}
@JsonProperty("value")
public void setValue(Value__8 value) {
this.value = value;
}
public Field__3 withValue(Value__8 value) {
this.value = value;
return this;
}
/**
* ConditionRepresentation
* <p>
*
*
*/
@JsonProperty("visibilityCondition")
public VisibilityCondition__6 getVisibilityCondition() {
return visibilityCondition;
}
/**
* ConditionRepresentation
* <p>
*
*
*/
@JsonProperty("visibilityCondition")
public void setVisibilityCondition(VisibilityCondition__6 visibilityCondition) {
this.visibilityCondition = visibilityCondition;
}
public Field__3 withVisibilityCondition(VisibilityCondition__6 visibilityCondition) {
this.visibilityCondition = visibilityCondition;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(Field__3 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("className");
sb.append('=');
sb.append(((this.className == null)?"<null>":this.className));
sb.append(',');
sb.append("col");
sb.append('=');
sb.append(((this.col == null)?"<null>":this.col));
sb.append(',');
sb.append("colspan");
sb.append('=');
sb.append(((this.colspan == null)?"<null>":this.colspan));
sb.append(',');
sb.append("dateDisplayFormat");
sb.append('=');
sb.append(((this.dateDisplayFormat == null)?"<null>":this.dateDisplayFormat));
sb.append(',');
sb.append("hasEmptyValue");
sb.append('=');
sb.append(((this.hasEmptyValue == null)?"<null>":this.hasEmptyValue));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("layout");
sb.append('=');
sb.append(((this.layout == null)?"<null>":this.layout));
sb.append(',');
sb.append("maxLength");
sb.append('=');
sb.append(((this.maxLength == null)?"<null>":this.maxLength));
sb.append(',');
sb.append("maxValue");
sb.append('=');
sb.append(((this.maxValue == null)?"<null>":this.maxValue));
sb.append(',');
sb.append("minLength");
sb.append('=');
sb.append(((this.minLength == null)?"<null>":this.minLength));
sb.append(',');
sb.append("minValue");
sb.append('=');
sb.append(((this.minValue == null)?"<null>":this.minValue));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("optionType");
sb.append('=');
sb.append(((this.optionType == null)?"<null>":this.optionType));
sb.append(',');
sb.append("options");
sb.append('=');
sb.append(((this.options == null)?"<null>":this.options));
sb.append(',');
sb.append("overrideId");
sb.append('=');
sb.append(((this.overrideId == null)?"<null>":this.overrideId));
sb.append(',');
sb.append("params");
sb.append('=');
sb.append(((this.params == null)?"<null>":this.params));
sb.append(',');
sb.append("placeholder");
sb.append('=');
sb.append(((this.placeholder == null)?"<null>":this.placeholder));
sb.append(',');
sb.append("readOnly");
sb.append('=');
sb.append(((this.readOnly == null)?"<null>":this.readOnly));
sb.append(',');
sb.append("regexPattern");
sb.append('=');
sb.append(((this.regexPattern == null)?"<null>":this.regexPattern));
sb.append(',');
sb.append("required");
sb.append('=');
sb.append(((this.required == null)?"<null>":this.required));
sb.append(',');
sb.append("restIdProperty");
sb.append('=');
sb.append(((this.restIdProperty == null)?"<null>":this.restIdProperty));
sb.append(',');
sb.append("restLabelProperty");
sb.append('=');
sb.append(((this.restLabelProperty == null)?"<null>":this.restLabelProperty));
sb.append(',');
sb.append("restResponsePath");
sb.append('=');
sb.append(((this.restResponsePath == null)?"<null>":this.restResponsePath));
sb.append(',');
sb.append("restUrl");
sb.append('=');
sb.append(((this.restUrl == null)?"<null>":this.restUrl));
sb.append(',');
sb.append("row");
sb.append('=');
sb.append(((this.row == null)?"<null>":this.row));
sb.append(',');
sb.append("sizeX");
sb.append('=');
sb.append(((this.sizeX == null)?"<null>":this.sizeX));
sb.append(',');
sb.append("sizeY");
sb.append('=');
sb.append(((this.sizeY == null)?"<null>":this.sizeY));
sb.append(',');
sb.append("tab");
sb.append('=');
sb.append(((this.tab == null)?"<null>":this.tab));
sb.append(',');
sb.append("type");
sb.append('=');
sb.append(((this.type == null)?"<null>":this.type));
sb.append(',');
sb.append("value");
sb.append('=');
sb.append(((this.value == null)?"<null>":this.value));
sb.append(',');
sb.append("visibilityCondition");
sb.append('=');
sb.append(((this.visibilityCondition == null)?"<null>":this.visibilityCondition));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.col == null)? 0 :this.col.hashCode()));
result = ((result* 31)+((this.minLength == null)? 0 :this.minLength.hashCode()));
result = ((result* 31)+((this.regexPattern == null)? 0 :this.regexPattern.hashCode()));
result = ((result* 31)+((this.className == null)? 0 :this.className.hashCode()));
result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode()));
result = ((result* 31)+((this.required == null)? 0 :this.required.hashCode()));
result = ((result* 31)+((this.colspan == null)? 0 :this.colspan.hashCode()));
result = ((result* 31)+((this.optionType == null)? 0 :this.optionType.hashCode()));
result = ((result* 31)+((this.restUrl == null)? 0 :this.restUrl.hashCode()));
result = ((result* 31)+((this.minValue == null)? 0 :this.minValue.hashCode()));
result = ((result* 31)+((this.tab == null)? 0 :this.tab.hashCode()));
result = ((result* 31)+((this.dateDisplayFormat == null)? 0 :this.dateDisplayFormat.hashCode()));
result = ((result* 31)+((this.options == null)? 0 :this.options.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.placeholder == null)? 0 :this.placeholder.hashCode()));
result = ((result* 31)+((this.row == null)? 0 :this.row.hashCode()));
result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode()));
result = ((result* 31)+((this.restResponsePath == null)? 0 :this.restResponsePath.hashCode()));
result = ((result* 31)+((this.maxValue == null)? 0 :this.maxValue.hashCode()));
result = ((result* 31)+((this.visibilityCondition == null)? 0 :this.visibilityCondition.hashCode()));
result = ((result* 31)+((this.readOnly == null)? 0 :this.readOnly.hashCode()));
result = ((result* 31)+((this.params == null)? 0 :this.params.hashCode()));
result = ((result* 31)+((this.layout == null)? 0 :this.layout.hashCode()));
result = ((result* 31)+((this.hasEmptyValue == null)? 0 :this.hasEmptyValue.hashCode()));
result = ((result* 31)+((this.restLabelProperty == null)? 0 :this.restLabelProperty.hashCode()));
result = ((result* 31)+((this.sizeX == null)? 0 :this.sizeX.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.overrideId == null)? 0 :this.overrideId.hashCode()));
result = ((result* 31)+((this.restIdProperty == null)? 0 :this.restIdProperty.hashCode()));
result = ((result* 31)+((this.maxLength == null)? 0 :this.maxLength.hashCode()));
result = ((result* 31)+((this.sizeY == null)? 0 :this.sizeY.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof Field__3) == false) {
return false;
}
Field__3 rhs = ((Field__3) other);
return ((((((((((((((((((((((((((((((((this.col == rhs.col)||((this.col!= null)&&this.col.equals(rhs.col)))&&((this.minLength == rhs.minLength)||((this.minLength!= null)&&this.minLength.equals(rhs.minLength))))&&((this.regexPattern == rhs.regexPattern)||((this.regexPattern!= null)&&this.regexPattern.equals(rhs.regexPattern))))&&((this.className == rhs.className)||((this.className!= null)&&this.className.equals(rhs.className))))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.required == rhs.required)||((this.required!= null)&&this.required.equals(rhs.required))))&&((this.colspan == rhs.colspan)||((this.colspan!= null)&&this.colspan.equals(rhs.colspan))))&&((this.optionType == rhs.optionType)||((this.optionType!= null)&&this.optionType.equals(rhs.optionType))))&&((this.restUrl == rhs.restUrl)||((this.restUrl!= null)&&this.restUrl.equals(rhs.restUrl))))&&((this.minValue == rhs.minValue)||((this.minValue!= null)&&this.minValue.equals(rhs.minValue))))&&((this.tab == rhs.tab)||((this.tab!= null)&&this.tab.equals(rhs.tab))))&&((this.dateDisplayFormat == rhs.dateDisplayFormat)||((this.dateDisplayFormat!= null)&&this.dateDisplayFormat.equals(rhs.dateDisplayFormat))))&&((this.options == rhs.options)||((this.options!= null)&&this.options.equals(rhs.options))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.placeholder == rhs.placeholder)||((this.placeholder!= null)&&this.placeholder.equals(rhs.placeholder))))&&((this.row == rhs.row)||((this.row!= null)&&this.row.equals(rhs.row))))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value))))&&((this.restResponsePath == rhs.restResponsePath)||((this.restResponsePath!= null)&&this.restResponsePath.equals(rhs.restResponsePath))))&&((this.maxValue == rhs.maxValue)||((this.maxValue!= null)&&this.maxValue.equals(rhs.maxValue))))&&((this.visibilityCondition == rhs.visibilityCondition)||((this.visibilityCondition!= null)&&this.visibilityCondition.equals(rhs.visibilityCondition))))&&((this.readOnly == rhs.readOnly)||((this.readOnly!= null)&&this.readOnly.equals(rhs.readOnly))))&&((this.params == rhs.params)||((this.params!= null)&&this.params.equals(rhs.params))))&&((this.layout == rhs.layout)||((this.layout!= null)&&this.layout.equals(rhs.layout))))&&((this.hasEmptyValue == rhs.hasEmptyValue)||((this.hasEmptyValue!= null)&&this.hasEmptyValue.equals(rhs.hasEmptyValue))))&&((this.restLabelProperty == rhs.restLabelProperty)||((this.restLabelProperty!= null)&&this.restLabelProperty.equals(rhs.restLabelProperty))))&&((this.sizeX == rhs.sizeX)||((this.sizeX!= null)&&this.sizeX.equals(rhs.sizeX))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.overrideId == rhs.overrideId)||((this.overrideId!= null)&&this.overrideId.equals(rhs.overrideId))))&&((this.restIdProperty == rhs.restIdProperty)||((this.restIdProperty!= null)&&this.restIdProperty.equals(rhs.restIdProperty))))&&((this.maxLength == rhs.maxLength)||((this.maxLength!= null)&&this.maxLength.equals(rhs.maxLength))))&&((this.sizeY == rhs.sizeY)||((this.sizeY!= null)&&this.sizeY.equals(rhs.sizeY))));
}
}

View File

@@ -1,878 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* FormFieldRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"className",
"col",
"colspan",
"dateDisplayFormat",
"hasEmptyValue",
"id",
"layout",
"maxLength",
"maxValue",
"minLength",
"minValue",
"name",
"optionType",
"options",
"overrideId",
"params",
"placeholder",
"readOnly",
"regexPattern",
"required",
"restIdProperty",
"restLabelProperty",
"restResponsePath",
"restUrl",
"row",
"sizeX",
"sizeY",
"tab",
"type",
"value",
"visibilityCondition"
})
public class Field__4 {
@JsonProperty("className")
private String className;
@JsonProperty("col")
private Long col;
@JsonProperty("colspan")
private Long colspan;
@JsonProperty("dateDisplayFormat")
private String dateDisplayFormat;
@JsonProperty("hasEmptyValue")
private Boolean hasEmptyValue;
@JsonProperty("id")
private String id;
/**
* LayoutRepresentation
* <p>
*
*
*/
@JsonProperty("layout")
private Layout__4 layout;
@JsonProperty("maxLength")
private Long maxLength;
@JsonProperty("maxValue")
private String maxValue;
@JsonProperty("minLength")
private Long minLength;
@JsonProperty("minValue")
private String minValue;
@JsonProperty("name")
private String name;
@JsonProperty("optionType")
private String optionType;
@JsonProperty("options")
private List<Option__4> options = new ArrayList<Option__4>();
@JsonProperty("overrideId")
private Boolean overrideId;
@JsonProperty("params")
private Params__4 params;
@JsonProperty("placeholder")
private String placeholder;
@JsonProperty("readOnly")
private Boolean readOnly;
@JsonProperty("regexPattern")
private String regexPattern;
@JsonProperty("required")
private Boolean required;
@JsonProperty("restIdProperty")
private String restIdProperty;
@JsonProperty("restLabelProperty")
private String restLabelProperty;
@JsonProperty("restResponsePath")
private String restResponsePath;
@JsonProperty("restUrl")
private String restUrl;
@JsonProperty("row")
private Long row;
@JsonProperty("sizeX")
private Long sizeX;
@JsonProperty("sizeY")
private Long sizeY;
@JsonProperty("tab")
private String tab;
@JsonProperty("type")
private String type;
@JsonProperty("value")
private Value__10 value;
/**
* ConditionRepresentation
* <p>
*
*
*/
@JsonProperty("visibilityCondition")
private VisibilityCondition__8 visibilityCondition;
/**
* No args constructor for use in serialization
*
*/
public Field__4() {
}
/**
*
* @param col
* @param minLength
* @param regexPattern
* @param className
* @param type
* @param required
* @param colspan
* @param optionType
* @param restUrl
* @param minValue
* @param tab
* @param dateDisplayFormat
* @param options
* @param id
* @param placeholder
* @param row
* @param value
* @param restResponsePath
* @param maxValue
* @param visibilityCondition
* @param readOnly
* @param params
* @param layout
* @param hasEmptyValue
* @param restLabelProperty
* @param sizeX
* @param name
* @param overrideId
* @param restIdProperty
* @param maxLength
* @param sizeY
*/
public Field__4(String className, Long col, Long colspan, String dateDisplayFormat, Boolean hasEmptyValue, String id, Layout__4 layout, Long maxLength, String maxValue, Long minLength, String minValue, String name, String optionType, List<Option__4> options, Boolean overrideId, Params__4 params, String placeholder, Boolean readOnly, String regexPattern, Boolean required, String restIdProperty, String restLabelProperty, String restResponsePath, String restUrl, Long row, Long sizeX, Long sizeY, String tab, String type, Value__10 value, VisibilityCondition__8 visibilityCondition) {
super();
this.className = className;
this.col = col;
this.colspan = colspan;
this.dateDisplayFormat = dateDisplayFormat;
this.hasEmptyValue = hasEmptyValue;
this.id = id;
this.layout = layout;
this.maxLength = maxLength;
this.maxValue = maxValue;
this.minLength = minLength;
this.minValue = minValue;
this.name = name;
this.optionType = optionType;
this.options = options;
this.overrideId = overrideId;
this.params = params;
this.placeholder = placeholder;
this.readOnly = readOnly;
this.regexPattern = regexPattern;
this.required = required;
this.restIdProperty = restIdProperty;
this.restLabelProperty = restLabelProperty;
this.restResponsePath = restResponsePath;
this.restUrl = restUrl;
this.row = row;
this.sizeX = sizeX;
this.sizeY = sizeY;
this.tab = tab;
this.type = type;
this.value = value;
this.visibilityCondition = visibilityCondition;
}
@JsonProperty("className")
public String getClassName() {
return className;
}
@JsonProperty("className")
public void setClassName(String className) {
this.className = className;
}
public Field__4 withClassName(String className) {
this.className = className;
return this;
}
@JsonProperty("col")
public Long getCol() {
return col;
}
@JsonProperty("col")
public void setCol(Long col) {
this.col = col;
}
public Field__4 withCol(Long col) {
this.col = col;
return this;
}
@JsonProperty("colspan")
public Long getColspan() {
return colspan;
}
@JsonProperty("colspan")
public void setColspan(Long colspan) {
this.colspan = colspan;
}
public Field__4 withColspan(Long colspan) {
this.colspan = colspan;
return this;
}
@JsonProperty("dateDisplayFormat")
public String getDateDisplayFormat() {
return dateDisplayFormat;
}
@JsonProperty("dateDisplayFormat")
public void setDateDisplayFormat(String dateDisplayFormat) {
this.dateDisplayFormat = dateDisplayFormat;
}
public Field__4 withDateDisplayFormat(String dateDisplayFormat) {
this.dateDisplayFormat = dateDisplayFormat;
return this;
}
@JsonProperty("hasEmptyValue")
public Boolean getHasEmptyValue() {
return hasEmptyValue;
}
@JsonProperty("hasEmptyValue")
public void setHasEmptyValue(Boolean hasEmptyValue) {
this.hasEmptyValue = hasEmptyValue;
}
public Field__4 withHasEmptyValue(Boolean hasEmptyValue) {
this.hasEmptyValue = hasEmptyValue;
return this;
}
@JsonProperty("id")
public String getId() {
return id;
}
@JsonProperty("id")
public void setId(String id) {
this.id = id;
}
public Field__4 withId(String id) {
this.id = id;
return this;
}
/**
* LayoutRepresentation
* <p>
*
*
*/
@JsonProperty("layout")
public Layout__4 getLayout() {
return layout;
}
/**
* LayoutRepresentation
* <p>
*
*
*/
@JsonProperty("layout")
public void setLayout(Layout__4 layout) {
this.layout = layout;
}
public Field__4 withLayout(Layout__4 layout) {
this.layout = layout;
return this;
}
@JsonProperty("maxLength")
public Long getMaxLength() {
return maxLength;
}
@JsonProperty("maxLength")
public void setMaxLength(Long maxLength) {
this.maxLength = maxLength;
}
public Field__4 withMaxLength(Long maxLength) {
this.maxLength = maxLength;
return this;
}
@JsonProperty("maxValue")
public String getMaxValue() {
return maxValue;
}
@JsonProperty("maxValue")
public void setMaxValue(String maxValue) {
this.maxValue = maxValue;
}
public Field__4 withMaxValue(String maxValue) {
this.maxValue = maxValue;
return this;
}
@JsonProperty("minLength")
public Long getMinLength() {
return minLength;
}
@JsonProperty("minLength")
public void setMinLength(Long minLength) {
this.minLength = minLength;
}
public Field__4 withMinLength(Long minLength) {
this.minLength = minLength;
return this;
}
@JsonProperty("minValue")
public String getMinValue() {
return minValue;
}
@JsonProperty("minValue")
public void setMinValue(String minValue) {
this.minValue = minValue;
}
public Field__4 withMinValue(String minValue) {
this.minValue = minValue;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public Field__4 withName(String name) {
this.name = name;
return this;
}
@JsonProperty("optionType")
public String getOptionType() {
return optionType;
}
@JsonProperty("optionType")
public void setOptionType(String optionType) {
this.optionType = optionType;
}
public Field__4 withOptionType(String optionType) {
this.optionType = optionType;
return this;
}
@JsonProperty("options")
public List<Option__4> getOptions() {
return options;
}
@JsonProperty("options")
public void setOptions(List<Option__4> options) {
this.options = options;
}
public Field__4 withOptions(List<Option__4> options) {
this.options = options;
return this;
}
@JsonProperty("overrideId")
public Boolean getOverrideId() {
return overrideId;
}
@JsonProperty("overrideId")
public void setOverrideId(Boolean overrideId) {
this.overrideId = overrideId;
}
public Field__4 withOverrideId(Boolean overrideId) {
this.overrideId = overrideId;
return this;
}
@JsonProperty("params")
public Params__4 getParams() {
return params;
}
@JsonProperty("params")
public void setParams(Params__4 params) {
this.params = params;
}
public Field__4 withParams(Params__4 params) {
this.params = params;
return this;
}
@JsonProperty("placeholder")
public String getPlaceholder() {
return placeholder;
}
@JsonProperty("placeholder")
public void setPlaceholder(String placeholder) {
this.placeholder = placeholder;
}
public Field__4 withPlaceholder(String placeholder) {
this.placeholder = placeholder;
return this;
}
@JsonProperty("readOnly")
public Boolean getReadOnly() {
return readOnly;
}
@JsonProperty("readOnly")
public void setReadOnly(Boolean readOnly) {
this.readOnly = readOnly;
}
public Field__4 withReadOnly(Boolean readOnly) {
this.readOnly = readOnly;
return this;
}
@JsonProperty("regexPattern")
public String getRegexPattern() {
return regexPattern;
}
@JsonProperty("regexPattern")
public void setRegexPattern(String regexPattern) {
this.regexPattern = regexPattern;
}
public Field__4 withRegexPattern(String regexPattern) {
this.regexPattern = regexPattern;
return this;
}
@JsonProperty("required")
public Boolean getRequired() {
return required;
}
@JsonProperty("required")
public void setRequired(Boolean required) {
this.required = required;
}
public Field__4 withRequired(Boolean required) {
this.required = required;
return this;
}
@JsonProperty("restIdProperty")
public String getRestIdProperty() {
return restIdProperty;
}
@JsonProperty("restIdProperty")
public void setRestIdProperty(String restIdProperty) {
this.restIdProperty = restIdProperty;
}
public Field__4 withRestIdProperty(String restIdProperty) {
this.restIdProperty = restIdProperty;
return this;
}
@JsonProperty("restLabelProperty")
public String getRestLabelProperty() {
return restLabelProperty;
}
@JsonProperty("restLabelProperty")
public void setRestLabelProperty(String restLabelProperty) {
this.restLabelProperty = restLabelProperty;
}
public Field__4 withRestLabelProperty(String restLabelProperty) {
this.restLabelProperty = restLabelProperty;
return this;
}
@JsonProperty("restResponsePath")
public String getRestResponsePath() {
return restResponsePath;
}
@JsonProperty("restResponsePath")
public void setRestResponsePath(String restResponsePath) {
this.restResponsePath = restResponsePath;
}
public Field__4 withRestResponsePath(String restResponsePath) {
this.restResponsePath = restResponsePath;
return this;
}
@JsonProperty("restUrl")
public String getRestUrl() {
return restUrl;
}
@JsonProperty("restUrl")
public void setRestUrl(String restUrl) {
this.restUrl = restUrl;
}
public Field__4 withRestUrl(String restUrl) {
this.restUrl = restUrl;
return this;
}
@JsonProperty("row")
public Long getRow() {
return row;
}
@JsonProperty("row")
public void setRow(Long row) {
this.row = row;
}
public Field__4 withRow(Long row) {
this.row = row;
return this;
}
@JsonProperty("sizeX")
public Long getSizeX() {
return sizeX;
}
@JsonProperty("sizeX")
public void setSizeX(Long sizeX) {
this.sizeX = sizeX;
}
public Field__4 withSizeX(Long sizeX) {
this.sizeX = sizeX;
return this;
}
@JsonProperty("sizeY")
public Long getSizeY() {
return sizeY;
}
@JsonProperty("sizeY")
public void setSizeY(Long sizeY) {
this.sizeY = sizeY;
}
public Field__4 withSizeY(Long sizeY) {
this.sizeY = sizeY;
return this;
}
@JsonProperty("tab")
public String getTab() {
return tab;
}
@JsonProperty("tab")
public void setTab(String tab) {
this.tab = tab;
}
public Field__4 withTab(String tab) {
this.tab = tab;
return this;
}
@JsonProperty("type")
public String getType() {
return type;
}
@JsonProperty("type")
public void setType(String type) {
this.type = type;
}
public Field__4 withType(String type) {
this.type = type;
return this;
}
@JsonProperty("value")
public Value__10 getValue() {
return value;
}
@JsonProperty("value")
public void setValue(Value__10 value) {
this.value = value;
}
public Field__4 withValue(Value__10 value) {
this.value = value;
return this;
}
/**
* ConditionRepresentation
* <p>
*
*
*/
@JsonProperty("visibilityCondition")
public VisibilityCondition__8 getVisibilityCondition() {
return visibilityCondition;
}
/**
* ConditionRepresentation
* <p>
*
*
*/
@JsonProperty("visibilityCondition")
public void setVisibilityCondition(VisibilityCondition__8 visibilityCondition) {
this.visibilityCondition = visibilityCondition;
}
public Field__4 withVisibilityCondition(VisibilityCondition__8 visibilityCondition) {
this.visibilityCondition = visibilityCondition;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(Field__4 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("className");
sb.append('=');
sb.append(((this.className == null)?"<null>":this.className));
sb.append(',');
sb.append("col");
sb.append('=');
sb.append(((this.col == null)?"<null>":this.col));
sb.append(',');
sb.append("colspan");
sb.append('=');
sb.append(((this.colspan == null)?"<null>":this.colspan));
sb.append(',');
sb.append("dateDisplayFormat");
sb.append('=');
sb.append(((this.dateDisplayFormat == null)?"<null>":this.dateDisplayFormat));
sb.append(',');
sb.append("hasEmptyValue");
sb.append('=');
sb.append(((this.hasEmptyValue == null)?"<null>":this.hasEmptyValue));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("layout");
sb.append('=');
sb.append(((this.layout == null)?"<null>":this.layout));
sb.append(',');
sb.append("maxLength");
sb.append('=');
sb.append(((this.maxLength == null)?"<null>":this.maxLength));
sb.append(',');
sb.append("maxValue");
sb.append('=');
sb.append(((this.maxValue == null)?"<null>":this.maxValue));
sb.append(',');
sb.append("minLength");
sb.append('=');
sb.append(((this.minLength == null)?"<null>":this.minLength));
sb.append(',');
sb.append("minValue");
sb.append('=');
sb.append(((this.minValue == null)?"<null>":this.minValue));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("optionType");
sb.append('=');
sb.append(((this.optionType == null)?"<null>":this.optionType));
sb.append(',');
sb.append("options");
sb.append('=');
sb.append(((this.options == null)?"<null>":this.options));
sb.append(',');
sb.append("overrideId");
sb.append('=');
sb.append(((this.overrideId == null)?"<null>":this.overrideId));
sb.append(',');
sb.append("params");
sb.append('=');
sb.append(((this.params == null)?"<null>":this.params));
sb.append(',');
sb.append("placeholder");
sb.append('=');
sb.append(((this.placeholder == null)?"<null>":this.placeholder));
sb.append(',');
sb.append("readOnly");
sb.append('=');
sb.append(((this.readOnly == null)?"<null>":this.readOnly));
sb.append(',');
sb.append("regexPattern");
sb.append('=');
sb.append(((this.regexPattern == null)?"<null>":this.regexPattern));
sb.append(',');
sb.append("required");
sb.append('=');
sb.append(((this.required == null)?"<null>":this.required));
sb.append(',');
sb.append("restIdProperty");
sb.append('=');
sb.append(((this.restIdProperty == null)?"<null>":this.restIdProperty));
sb.append(',');
sb.append("restLabelProperty");
sb.append('=');
sb.append(((this.restLabelProperty == null)?"<null>":this.restLabelProperty));
sb.append(',');
sb.append("restResponsePath");
sb.append('=');
sb.append(((this.restResponsePath == null)?"<null>":this.restResponsePath));
sb.append(',');
sb.append("restUrl");
sb.append('=');
sb.append(((this.restUrl == null)?"<null>":this.restUrl));
sb.append(',');
sb.append("row");
sb.append('=');
sb.append(((this.row == null)?"<null>":this.row));
sb.append(',');
sb.append("sizeX");
sb.append('=');
sb.append(((this.sizeX == null)?"<null>":this.sizeX));
sb.append(',');
sb.append("sizeY");
sb.append('=');
sb.append(((this.sizeY == null)?"<null>":this.sizeY));
sb.append(',');
sb.append("tab");
sb.append('=');
sb.append(((this.tab == null)?"<null>":this.tab));
sb.append(',');
sb.append("type");
sb.append('=');
sb.append(((this.type == null)?"<null>":this.type));
sb.append(',');
sb.append("value");
sb.append('=');
sb.append(((this.value == null)?"<null>":this.value));
sb.append(',');
sb.append("visibilityCondition");
sb.append('=');
sb.append(((this.visibilityCondition == null)?"<null>":this.visibilityCondition));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.col == null)? 0 :this.col.hashCode()));
result = ((result* 31)+((this.minLength == null)? 0 :this.minLength.hashCode()));
result = ((result* 31)+((this.regexPattern == null)? 0 :this.regexPattern.hashCode()));
result = ((result* 31)+((this.className == null)? 0 :this.className.hashCode()));
result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode()));
result = ((result* 31)+((this.required == null)? 0 :this.required.hashCode()));
result = ((result* 31)+((this.colspan == null)? 0 :this.colspan.hashCode()));
result = ((result* 31)+((this.optionType == null)? 0 :this.optionType.hashCode()));
result = ((result* 31)+((this.restUrl == null)? 0 :this.restUrl.hashCode()));
result = ((result* 31)+((this.minValue == null)? 0 :this.minValue.hashCode()));
result = ((result* 31)+((this.tab == null)? 0 :this.tab.hashCode()));
result = ((result* 31)+((this.dateDisplayFormat == null)? 0 :this.dateDisplayFormat.hashCode()));
result = ((result* 31)+((this.options == null)? 0 :this.options.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.placeholder == null)? 0 :this.placeholder.hashCode()));
result = ((result* 31)+((this.row == null)? 0 :this.row.hashCode()));
result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode()));
result = ((result* 31)+((this.restResponsePath == null)? 0 :this.restResponsePath.hashCode()));
result = ((result* 31)+((this.maxValue == null)? 0 :this.maxValue.hashCode()));
result = ((result* 31)+((this.visibilityCondition == null)? 0 :this.visibilityCondition.hashCode()));
result = ((result* 31)+((this.readOnly == null)? 0 :this.readOnly.hashCode()));
result = ((result* 31)+((this.params == null)? 0 :this.params.hashCode()));
result = ((result* 31)+((this.layout == null)? 0 :this.layout.hashCode()));
result = ((result* 31)+((this.hasEmptyValue == null)? 0 :this.hasEmptyValue.hashCode()));
result = ((result* 31)+((this.restLabelProperty == null)? 0 :this.restLabelProperty.hashCode()));
result = ((result* 31)+((this.sizeX == null)? 0 :this.sizeX.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.overrideId == null)? 0 :this.overrideId.hashCode()));
result = ((result* 31)+((this.restIdProperty == null)? 0 :this.restIdProperty.hashCode()));
result = ((result* 31)+((this.maxLength == null)? 0 :this.maxLength.hashCode()));
result = ((result* 31)+((this.sizeY == null)? 0 :this.sizeY.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof Field__4) == false) {
return false;
}
Field__4 rhs = ((Field__4) other);
return ((((((((((((((((((((((((((((((((this.col == rhs.col)||((this.col!= null)&&this.col.equals(rhs.col)))&&((this.minLength == rhs.minLength)||((this.minLength!= null)&&this.minLength.equals(rhs.minLength))))&&((this.regexPattern == rhs.regexPattern)||((this.regexPattern!= null)&&this.regexPattern.equals(rhs.regexPattern))))&&((this.className == rhs.className)||((this.className!= null)&&this.className.equals(rhs.className))))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.required == rhs.required)||((this.required!= null)&&this.required.equals(rhs.required))))&&((this.colspan == rhs.colspan)||((this.colspan!= null)&&this.colspan.equals(rhs.colspan))))&&((this.optionType == rhs.optionType)||((this.optionType!= null)&&this.optionType.equals(rhs.optionType))))&&((this.restUrl == rhs.restUrl)||((this.restUrl!= null)&&this.restUrl.equals(rhs.restUrl))))&&((this.minValue == rhs.minValue)||((this.minValue!= null)&&this.minValue.equals(rhs.minValue))))&&((this.tab == rhs.tab)||((this.tab!= null)&&this.tab.equals(rhs.tab))))&&((this.dateDisplayFormat == rhs.dateDisplayFormat)||((this.dateDisplayFormat!= null)&&this.dateDisplayFormat.equals(rhs.dateDisplayFormat))))&&((this.options == rhs.options)||((this.options!= null)&&this.options.equals(rhs.options))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.placeholder == rhs.placeholder)||((this.placeholder!= null)&&this.placeholder.equals(rhs.placeholder))))&&((this.row == rhs.row)||((this.row!= null)&&this.row.equals(rhs.row))))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value))))&&((this.restResponsePath == rhs.restResponsePath)||((this.restResponsePath!= null)&&this.restResponsePath.equals(rhs.restResponsePath))))&&((this.maxValue == rhs.maxValue)||((this.maxValue!= null)&&this.maxValue.equals(rhs.maxValue))))&&((this.visibilityCondition == rhs.visibilityCondition)||((this.visibilityCondition!= null)&&this.visibilityCondition.equals(rhs.visibilityCondition))))&&((this.readOnly == rhs.readOnly)||((this.readOnly!= null)&&this.readOnly.equals(rhs.readOnly))))&&((this.params == rhs.params)||((this.params!= null)&&this.params.equals(rhs.params))))&&((this.layout == rhs.layout)||((this.layout!= null)&&this.layout.equals(rhs.layout))))&&((this.hasEmptyValue == rhs.hasEmptyValue)||((this.hasEmptyValue!= null)&&this.hasEmptyValue.equals(rhs.hasEmptyValue))))&&((this.restLabelProperty == rhs.restLabelProperty)||((this.restLabelProperty!= null)&&this.restLabelProperty.equals(rhs.restLabelProperty))))&&((this.sizeX == rhs.sizeX)||((this.sizeX!= null)&&this.sizeX.equals(rhs.sizeX))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.overrideId == rhs.overrideId)||((this.overrideId!= null)&&this.overrideId.equals(rhs.overrideId))))&&((this.restIdProperty == rhs.restIdProperty)||((this.restIdProperty!= null)&&this.restIdProperty.equals(rhs.restIdProperty))))&&((this.maxLength == rhs.maxLength)||((this.maxLength!= null)&&this.maxLength.equals(rhs.maxLength))))&&((this.sizeY == rhs.sizeY)||((this.sizeY!= null)&&this.sizeY.equals(rhs.sizeY))));
}
}

View File

@@ -1,215 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* ProcessInstanceFilterRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"asc",
"name",
"processDefinitionId",
"processDefinitionKey",
"sort",
"state"
})
public class Filter {
@JsonProperty("asc")
private Boolean asc;
@JsonProperty("name")
private String name;
@JsonProperty("processDefinitionId")
private String processDefinitionId;
@JsonProperty("processDefinitionKey")
private String processDefinitionKey;
@JsonProperty("sort")
private String sort;
@JsonProperty("state")
private String state;
/**
* No args constructor for use in serialization
*
*/
public Filter() {
}
/**
*
* @param asc
* @param processDefinitionId
* @param name
* @param sort
* @param state
* @param processDefinitionKey
*/
public Filter(Boolean asc, String name, String processDefinitionId, String processDefinitionKey, String sort, String state) {
super();
this.asc = asc;
this.name = name;
this.processDefinitionId = processDefinitionId;
this.processDefinitionKey = processDefinitionKey;
this.sort = sort;
this.state = state;
}
@JsonProperty("asc")
public Boolean getAsc() {
return asc;
}
@JsonProperty("asc")
public void setAsc(Boolean asc) {
this.asc = asc;
}
public Filter withAsc(Boolean asc) {
this.asc = asc;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public Filter withName(String name) {
this.name = name;
return this;
}
@JsonProperty("processDefinitionId")
public String getProcessDefinitionId() {
return processDefinitionId;
}
@JsonProperty("processDefinitionId")
public void setProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
}
public Filter withProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
return this;
}
@JsonProperty("processDefinitionKey")
public String getProcessDefinitionKey() {
return processDefinitionKey;
}
@JsonProperty("processDefinitionKey")
public void setProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
}
public Filter withProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
return this;
}
@JsonProperty("sort")
public String getSort() {
return sort;
}
@JsonProperty("sort")
public void setSort(String sort) {
this.sort = sort;
}
public Filter withSort(String sort) {
this.sort = sort;
return this;
}
@JsonProperty("state")
public String getState() {
return state;
}
@JsonProperty("state")
public void setState(String state) {
this.state = state;
}
public Filter withState(String state) {
this.state = state;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(Filter.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("asc");
sb.append('=');
sb.append(((this.asc == null)?"<null>":this.asc));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("processDefinitionId");
sb.append('=');
sb.append(((this.processDefinitionId == null)?"<null>":this.processDefinitionId));
sb.append(',');
sb.append("processDefinitionKey");
sb.append('=');
sb.append(((this.processDefinitionKey == null)?"<null>":this.processDefinitionKey));
sb.append(',');
sb.append("sort");
sb.append('=');
sb.append(((this.sort == null)?"<null>":this.sort));
sb.append(',');
sb.append("state");
sb.append('=');
sb.append(((this.state == null)?"<null>":this.state));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.asc == null)? 0 :this.asc.hashCode()));
result = ((result* 31)+((this.processDefinitionId == null)? 0 :this.processDefinitionId.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.sort == null)? 0 :this.sort.hashCode()));
result = ((result* 31)+((this.state == null)? 0 :this.state.hashCode()));
result = ((result* 31)+((this.processDefinitionKey == null)? 0 :this.processDefinitionKey.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof Filter) == false) {
return false;
}
Filter rhs = ((Filter) other);
return (((((((this.asc == rhs.asc)||((this.asc!= null)&&this.asc.equals(rhs.asc)))&&((this.processDefinitionId == rhs.processDefinitionId)||((this.processDefinitionId!= null)&&this.processDefinitionId.equals(rhs.processDefinitionId))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.sort == rhs.sort)||((this.sort!= null)&&this.sort.equals(rhs.sort))))&&((this.state == rhs.state)||((this.state!= null)&&this.state.equals(rhs.state))))&&((this.processDefinitionKey == rhs.processDefinitionKey)||((this.processDefinitionKey!= null)&&this.processDefinitionKey.equals(rhs.processDefinitionKey))));
}
}

View File

@@ -1,290 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* TaskFilterRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"asc",
"assignment",
"dueAfter",
"dueBefore",
"name",
"processDefinitionId",
"processDefinitionKey",
"sort",
"state"
})
public class Filter__1 {
@JsonProperty("asc")
private Boolean asc;
@JsonProperty("assignment")
private String assignment;
@JsonProperty("dueAfter")
private String dueAfter;
@JsonProperty("dueBefore")
private String dueBefore;
@JsonProperty("name")
private String name;
@JsonProperty("processDefinitionId")
private String processDefinitionId;
@JsonProperty("processDefinitionKey")
private String processDefinitionKey;
@JsonProperty("sort")
private String sort;
@JsonProperty("state")
private String state;
/**
* No args constructor for use in serialization
*
*/
public Filter__1() {
}
/**
*
* @param asc
* @param processDefinitionId
* @param dueAfter
* @param assignment
* @param name
* @param dueBefore
* @param sort
* @param state
* @param processDefinitionKey
*/
public Filter__1(Boolean asc, String assignment, String dueAfter, String dueBefore, String name, String processDefinitionId, String processDefinitionKey, String sort, String state) {
super();
this.asc = asc;
this.assignment = assignment;
this.dueAfter = dueAfter;
this.dueBefore = dueBefore;
this.name = name;
this.processDefinitionId = processDefinitionId;
this.processDefinitionKey = processDefinitionKey;
this.sort = sort;
this.state = state;
}
@JsonProperty("asc")
public Boolean getAsc() {
return asc;
}
@JsonProperty("asc")
public void setAsc(Boolean asc) {
this.asc = asc;
}
public Filter__1 withAsc(Boolean asc) {
this.asc = asc;
return this;
}
@JsonProperty("assignment")
public String getAssignment() {
return assignment;
}
@JsonProperty("assignment")
public void setAssignment(String assignment) {
this.assignment = assignment;
}
public Filter__1 withAssignment(String assignment) {
this.assignment = assignment;
return this;
}
@JsonProperty("dueAfter")
public String getDueAfter() {
return dueAfter;
}
@JsonProperty("dueAfter")
public void setDueAfter(String dueAfter) {
this.dueAfter = dueAfter;
}
public Filter__1 withDueAfter(String dueAfter) {
this.dueAfter = dueAfter;
return this;
}
@JsonProperty("dueBefore")
public String getDueBefore() {
return dueBefore;
}
@JsonProperty("dueBefore")
public void setDueBefore(String dueBefore) {
this.dueBefore = dueBefore;
}
public Filter__1 withDueBefore(String dueBefore) {
this.dueBefore = dueBefore;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public Filter__1 withName(String name) {
this.name = name;
return this;
}
@JsonProperty("processDefinitionId")
public String getProcessDefinitionId() {
return processDefinitionId;
}
@JsonProperty("processDefinitionId")
public void setProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
}
public Filter__1 withProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
return this;
}
@JsonProperty("processDefinitionKey")
public String getProcessDefinitionKey() {
return processDefinitionKey;
}
@JsonProperty("processDefinitionKey")
public void setProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
}
public Filter__1 withProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
return this;
}
@JsonProperty("sort")
public String getSort() {
return sort;
}
@JsonProperty("sort")
public void setSort(String sort) {
this.sort = sort;
}
public Filter__1 withSort(String sort) {
this.sort = sort;
return this;
}
@JsonProperty("state")
public String getState() {
return state;
}
@JsonProperty("state")
public void setState(String state) {
this.state = state;
}
public Filter__1 withState(String state) {
this.state = state;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(Filter__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("asc");
sb.append('=');
sb.append(((this.asc == null)?"<null>":this.asc));
sb.append(',');
sb.append("assignment");
sb.append('=');
sb.append(((this.assignment == null)?"<null>":this.assignment));
sb.append(',');
sb.append("dueAfter");
sb.append('=');
sb.append(((this.dueAfter == null)?"<null>":this.dueAfter));
sb.append(',');
sb.append("dueBefore");
sb.append('=');
sb.append(((this.dueBefore == null)?"<null>":this.dueBefore));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("processDefinitionId");
sb.append('=');
sb.append(((this.processDefinitionId == null)?"<null>":this.processDefinitionId));
sb.append(',');
sb.append("processDefinitionKey");
sb.append('=');
sb.append(((this.processDefinitionKey == null)?"<null>":this.processDefinitionKey));
sb.append(',');
sb.append("sort");
sb.append('=');
sb.append(((this.sort == null)?"<null>":this.sort));
sb.append(',');
sb.append("state");
sb.append('=');
sb.append(((this.state == null)?"<null>":this.state));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.asc == null)? 0 :this.asc.hashCode()));
result = ((result* 31)+((this.processDefinitionId == null)? 0 :this.processDefinitionId.hashCode()));
result = ((result* 31)+((this.dueAfter == null)? 0 :this.dueAfter.hashCode()));
result = ((result* 31)+((this.assignment == null)? 0 :this.assignment.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.dueBefore == null)? 0 :this.dueBefore.hashCode()));
result = ((result* 31)+((this.sort == null)? 0 :this.sort.hashCode()));
result = ((result* 31)+((this.state == null)? 0 :this.state.hashCode()));
result = ((result* 31)+((this.processDefinitionKey == null)? 0 :this.processDefinitionKey.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof Filter__1) == false) {
return false;
}
Filter__1 rhs = ((Filter__1) other);
return ((((((((((this.asc == rhs.asc)||((this.asc!= null)&&this.asc.equals(rhs.asc)))&&((this.processDefinitionId == rhs.processDefinitionId)||((this.processDefinitionId!= null)&&this.processDefinitionId.equals(rhs.processDefinitionId))))&&((this.dueAfter == rhs.dueAfter)||((this.dueAfter!= null)&&this.dueAfter.equals(rhs.dueAfter))))&&((this.assignment == rhs.assignment)||((this.assignment!= null)&&this.assignment.equals(rhs.assignment))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.dueBefore == rhs.dueBefore)||((this.dueBefore!= null)&&this.dueBefore.equals(rhs.dueBefore))))&&((this.sort == rhs.sort)||((this.sort!= null)&&this.sort.equals(rhs.sort))))&&((this.state == rhs.state)||((this.state!= null)&&this.state.equals(rhs.state))))&&((this.processDefinitionKey == rhs.processDefinitionKey)||((this.processDefinitionKey!= null)&&this.processDefinitionKey.equals(rhs.processDefinitionKey))));
}
}

View File

@@ -1,290 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* TaskFilterRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"asc",
"assignment",
"dueAfter",
"dueBefore",
"name",
"processDefinitionId",
"processDefinitionKey",
"sort",
"state"
})
public class Filter__2 {
@JsonProperty("asc")
private Boolean asc;
@JsonProperty("assignment")
private String assignment;
@JsonProperty("dueAfter")
private String dueAfter;
@JsonProperty("dueBefore")
private String dueBefore;
@JsonProperty("name")
private String name;
@JsonProperty("processDefinitionId")
private String processDefinitionId;
@JsonProperty("processDefinitionKey")
private String processDefinitionKey;
@JsonProperty("sort")
private String sort;
@JsonProperty("state")
private String state;
/**
* No args constructor for use in serialization
*
*/
public Filter__2() {
}
/**
*
* @param asc
* @param processDefinitionId
* @param dueAfter
* @param assignment
* @param name
* @param dueBefore
* @param sort
* @param state
* @param processDefinitionKey
*/
public Filter__2(Boolean asc, String assignment, String dueAfter, String dueBefore, String name, String processDefinitionId, String processDefinitionKey, String sort, String state) {
super();
this.asc = asc;
this.assignment = assignment;
this.dueAfter = dueAfter;
this.dueBefore = dueBefore;
this.name = name;
this.processDefinitionId = processDefinitionId;
this.processDefinitionKey = processDefinitionKey;
this.sort = sort;
this.state = state;
}
@JsonProperty("asc")
public Boolean getAsc() {
return asc;
}
@JsonProperty("asc")
public void setAsc(Boolean asc) {
this.asc = asc;
}
public Filter__2 withAsc(Boolean asc) {
this.asc = asc;
return this;
}
@JsonProperty("assignment")
public String getAssignment() {
return assignment;
}
@JsonProperty("assignment")
public void setAssignment(String assignment) {
this.assignment = assignment;
}
public Filter__2 withAssignment(String assignment) {
this.assignment = assignment;
return this;
}
@JsonProperty("dueAfter")
public String getDueAfter() {
return dueAfter;
}
@JsonProperty("dueAfter")
public void setDueAfter(String dueAfter) {
this.dueAfter = dueAfter;
}
public Filter__2 withDueAfter(String dueAfter) {
this.dueAfter = dueAfter;
return this;
}
@JsonProperty("dueBefore")
public String getDueBefore() {
return dueBefore;
}
@JsonProperty("dueBefore")
public void setDueBefore(String dueBefore) {
this.dueBefore = dueBefore;
}
public Filter__2 withDueBefore(String dueBefore) {
this.dueBefore = dueBefore;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public Filter__2 withName(String name) {
this.name = name;
return this;
}
@JsonProperty("processDefinitionId")
public String getProcessDefinitionId() {
return processDefinitionId;
}
@JsonProperty("processDefinitionId")
public void setProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
}
public Filter__2 withProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
return this;
}
@JsonProperty("processDefinitionKey")
public String getProcessDefinitionKey() {
return processDefinitionKey;
}
@JsonProperty("processDefinitionKey")
public void setProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
}
public Filter__2 withProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
return this;
}
@JsonProperty("sort")
public String getSort() {
return sort;
}
@JsonProperty("sort")
public void setSort(String sort) {
this.sort = sort;
}
public Filter__2 withSort(String sort) {
this.sort = sort;
return this;
}
@JsonProperty("state")
public String getState() {
return state;
}
@JsonProperty("state")
public void setState(String state) {
this.state = state;
}
public Filter__2 withState(String state) {
this.state = state;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(Filter__2 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("asc");
sb.append('=');
sb.append(((this.asc == null)?"<null>":this.asc));
sb.append(',');
sb.append("assignment");
sb.append('=');
sb.append(((this.assignment == null)?"<null>":this.assignment));
sb.append(',');
sb.append("dueAfter");
sb.append('=');
sb.append(((this.dueAfter == null)?"<null>":this.dueAfter));
sb.append(',');
sb.append("dueBefore");
sb.append('=');
sb.append(((this.dueBefore == null)?"<null>":this.dueBefore));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("processDefinitionId");
sb.append('=');
sb.append(((this.processDefinitionId == null)?"<null>":this.processDefinitionId));
sb.append(',');
sb.append("processDefinitionKey");
sb.append('=');
sb.append(((this.processDefinitionKey == null)?"<null>":this.processDefinitionKey));
sb.append(',');
sb.append("sort");
sb.append('=');
sb.append(((this.sort == null)?"<null>":this.sort));
sb.append(',');
sb.append("state");
sb.append('=');
sb.append(((this.state == null)?"<null>":this.state));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.asc == null)? 0 :this.asc.hashCode()));
result = ((result* 31)+((this.processDefinitionId == null)? 0 :this.processDefinitionId.hashCode()));
result = ((result* 31)+((this.dueAfter == null)? 0 :this.dueAfter.hashCode()));
result = ((result* 31)+((this.assignment == null)? 0 :this.assignment.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.dueBefore == null)? 0 :this.dueBefore.hashCode()));
result = ((result* 31)+((this.sort == null)? 0 :this.sort.hashCode()));
result = ((result* 31)+((this.state == null)? 0 :this.state.hashCode()));
result = ((result* 31)+((this.processDefinitionKey == null)? 0 :this.processDefinitionKey.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof Filter__2) == false) {
return false;
}
Filter__2 rhs = ((Filter__2) other);
return ((((((((((this.asc == rhs.asc)||((this.asc!= null)&&this.asc.equals(rhs.asc)))&&((this.processDefinitionId == rhs.processDefinitionId)||((this.processDefinitionId!= null)&&this.processDefinitionId.equals(rhs.processDefinitionId))))&&((this.dueAfter == rhs.dueAfter)||((this.dueAfter!= null)&&this.dueAfter.equals(rhs.dueAfter))))&&((this.assignment == rhs.assignment)||((this.assignment!= null)&&this.assignment.equals(rhs.assignment))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.dueBefore == rhs.dueBefore)||((this.dueBefore!= null)&&this.dueBefore.equals(rhs.dueBefore))))&&((this.sort == rhs.sort)||((this.sort!= null)&&this.sort.equals(rhs.sort))))&&((this.state == rhs.state)||((this.state!= null)&&this.state.equals(rhs.state))))&&((this.processDefinitionKey == rhs.processDefinitionKey)||((this.processDefinitionKey!= null)&&this.processDefinitionKey.equals(rhs.processDefinitionKey))));
}
}

View File

@@ -1,215 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* ProcessInstanceFilterRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"asc",
"name",
"processDefinitionId",
"processDefinitionKey",
"sort",
"state"
})
public class Filter__3 {
@JsonProperty("asc")
private Boolean asc;
@JsonProperty("name")
private String name;
@JsonProperty("processDefinitionId")
private String processDefinitionId;
@JsonProperty("processDefinitionKey")
private String processDefinitionKey;
@JsonProperty("sort")
private String sort;
@JsonProperty("state")
private String state;
/**
* No args constructor for use in serialization
*
*/
public Filter__3() {
}
/**
*
* @param asc
* @param processDefinitionId
* @param name
* @param sort
* @param state
* @param processDefinitionKey
*/
public Filter__3(Boolean asc, String name, String processDefinitionId, String processDefinitionKey, String sort, String state) {
super();
this.asc = asc;
this.name = name;
this.processDefinitionId = processDefinitionId;
this.processDefinitionKey = processDefinitionKey;
this.sort = sort;
this.state = state;
}
@JsonProperty("asc")
public Boolean getAsc() {
return asc;
}
@JsonProperty("asc")
public void setAsc(Boolean asc) {
this.asc = asc;
}
public Filter__3 withAsc(Boolean asc) {
this.asc = asc;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public Filter__3 withName(String name) {
this.name = name;
return this;
}
@JsonProperty("processDefinitionId")
public String getProcessDefinitionId() {
return processDefinitionId;
}
@JsonProperty("processDefinitionId")
public void setProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
}
public Filter__3 withProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
return this;
}
@JsonProperty("processDefinitionKey")
public String getProcessDefinitionKey() {
return processDefinitionKey;
}
@JsonProperty("processDefinitionKey")
public void setProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
}
public Filter__3 withProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
return this;
}
@JsonProperty("sort")
public String getSort() {
return sort;
}
@JsonProperty("sort")
public void setSort(String sort) {
this.sort = sort;
}
public Filter__3 withSort(String sort) {
this.sort = sort;
return this;
}
@JsonProperty("state")
public String getState() {
return state;
}
@JsonProperty("state")
public void setState(String state) {
this.state = state;
}
public Filter__3 withState(String state) {
this.state = state;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(Filter__3 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("asc");
sb.append('=');
sb.append(((this.asc == null)?"<null>":this.asc));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("processDefinitionId");
sb.append('=');
sb.append(((this.processDefinitionId == null)?"<null>":this.processDefinitionId));
sb.append(',');
sb.append("processDefinitionKey");
sb.append('=');
sb.append(((this.processDefinitionKey == null)?"<null>":this.processDefinitionKey));
sb.append(',');
sb.append("sort");
sb.append('=');
sb.append(((this.sort == null)?"<null>":this.sort));
sb.append(',');
sb.append("state");
sb.append('=');
sb.append(((this.state == null)?"<null>":this.state));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.asc == null)? 0 :this.asc.hashCode()));
result = ((result* 31)+((this.processDefinitionId == null)? 0 :this.processDefinitionId.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.sort == null)? 0 :this.sort.hashCode()));
result = ((result* 31)+((this.state == null)? 0 :this.state.hashCode()));
result = ((result* 31)+((this.processDefinitionKey == null)? 0 :this.processDefinitionKey.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof Filter__3) == false) {
return false;
}
Filter__3 rhs = ((Filter__3) other);
return (((((((this.asc == rhs.asc)||((this.asc!= null)&&this.asc.equals(rhs.asc)))&&((this.processDefinitionId == rhs.processDefinitionId)||((this.processDefinitionId!= null)&&this.processDefinitionId.equals(rhs.processDefinitionId))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.sort == rhs.sort)||((this.sort!= null)&&this.sort.equals(rhs.sort))))&&((this.state == rhs.state)||((this.state!= null)&&this.state.equals(rhs.state))))&&((this.processDefinitionKey == rhs.processDefinitionKey)||((this.processDefinitionKey!= null)&&this.processDefinitionKey.equals(rhs.processDefinitionKey))));
}
}

View File

@@ -1,592 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* FormDefinitionRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"className",
"customFieldTemplates",
"fields",
"globalDateFormat",
"gridsterForm",
"id",
"javascriptEvents",
"metadata",
"name",
"outcomeTarget",
"outcomes",
"processDefinitionId",
"processDefinitionKey",
"processDefinitionName",
"selectedOutcome",
"style",
"tabs",
"taskDefinitionKey",
"taskId",
"taskName",
"variables"
})
public class Form {
@JsonProperty("className")
private String className;
@JsonProperty("customFieldTemplates")
private String customFieldTemplates;
@JsonProperty("fields")
private List<Field__3> fields = new ArrayList<Field__3>();
@JsonProperty("globalDateFormat")
private String globalDateFormat;
@JsonProperty("gridsterForm")
private Boolean gridsterForm;
@JsonProperty("id")
private Long id;
@JsonProperty("javascriptEvents")
private List<JavascriptEvent__3> javascriptEvents = new ArrayList<JavascriptEvent__3>();
@JsonProperty("metadata")
private String metadata;
@JsonProperty("name")
private String name;
@JsonProperty("outcomeTarget")
private String outcomeTarget;
@JsonProperty("outcomes")
private List<Outcome__3> outcomes = new ArrayList<Outcome__3>();
@JsonProperty("processDefinitionId")
private String processDefinitionId;
@JsonProperty("processDefinitionKey")
private String processDefinitionKey;
@JsonProperty("processDefinitionName")
private String processDefinitionName;
@JsonProperty("selectedOutcome")
private String selectedOutcome;
@JsonProperty("style")
private String style;
@JsonProperty("tabs")
private List<Tab__3> tabs = new ArrayList<Tab__3>();
@JsonProperty("taskDefinitionKey")
private String taskDefinitionKey;
@JsonProperty("taskId")
private String taskId;
@JsonProperty("taskName")
private String taskName;
@JsonProperty("variables")
private List<Variable__3> variables = new ArrayList<Variable__3>();
/**
* No args constructor for use in serialization
*
*/
public Form() {
}
/**
*
* @param processDefinitionId
* @param metadata
* @param variables
* @param customFieldTemplates
* @param tabs
* @param className
* @param processDefinitionName
* @param outcomeTarget
* @param processDefinitionKey
* @param taskDefinitionKey
* @param outcomes
* @param javascriptEvents
* @param selectedOutcome
* @param name
* @param globalDateFormat
* @param style
* @param taskName
* @param id
* @param fields
* @param taskId
* @param gridsterForm
*/
public Form(String className, String customFieldTemplates, List<Field__3> fields, String globalDateFormat, Boolean gridsterForm, Long id, List<JavascriptEvent__3> javascriptEvents, String metadata, String name, String outcomeTarget, List<Outcome__3> outcomes, String processDefinitionId, String processDefinitionKey, String processDefinitionName, String selectedOutcome, String style, List<Tab__3> tabs, String taskDefinitionKey, String taskId, String taskName, List<Variable__3> variables) {
super();
this.className = className;
this.customFieldTemplates = customFieldTemplates;
this.fields = fields;
this.globalDateFormat = globalDateFormat;
this.gridsterForm = gridsterForm;
this.id = id;
this.javascriptEvents = javascriptEvents;
this.metadata = metadata;
this.name = name;
this.outcomeTarget = outcomeTarget;
this.outcomes = outcomes;
this.processDefinitionId = processDefinitionId;
this.processDefinitionKey = processDefinitionKey;
this.processDefinitionName = processDefinitionName;
this.selectedOutcome = selectedOutcome;
this.style = style;
this.tabs = tabs;
this.taskDefinitionKey = taskDefinitionKey;
this.taskId = taskId;
this.taskName = taskName;
this.variables = variables;
}
@JsonProperty("className")
public String getClassName() {
return className;
}
@JsonProperty("className")
public void setClassName(String className) {
this.className = className;
}
public Form withClassName(String className) {
this.className = className;
return this;
}
@JsonProperty("customFieldTemplates")
public String getCustomFieldTemplates() {
return customFieldTemplates;
}
@JsonProperty("customFieldTemplates")
public void setCustomFieldTemplates(String customFieldTemplates) {
this.customFieldTemplates = customFieldTemplates;
}
public Form withCustomFieldTemplates(String customFieldTemplates) {
this.customFieldTemplates = customFieldTemplates;
return this;
}
@JsonProperty("fields")
public List<Field__3> getFields() {
return fields;
}
@JsonProperty("fields")
public void setFields(List<Field__3> fields) {
this.fields = fields;
}
public Form withFields(List<Field__3> fields) {
this.fields = fields;
return this;
}
@JsonProperty("globalDateFormat")
public String getGlobalDateFormat() {
return globalDateFormat;
}
@JsonProperty("globalDateFormat")
public void setGlobalDateFormat(String globalDateFormat) {
this.globalDateFormat = globalDateFormat;
}
public Form withGlobalDateFormat(String globalDateFormat) {
this.globalDateFormat = globalDateFormat;
return this;
}
@JsonProperty("gridsterForm")
public Boolean getGridsterForm() {
return gridsterForm;
}
@JsonProperty("gridsterForm")
public void setGridsterForm(Boolean gridsterForm) {
this.gridsterForm = gridsterForm;
}
public Form withGridsterForm(Boolean gridsterForm) {
this.gridsterForm = gridsterForm;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public Form withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("javascriptEvents")
public List<JavascriptEvent__3> getJavascriptEvents() {
return javascriptEvents;
}
@JsonProperty("javascriptEvents")
public void setJavascriptEvents(List<JavascriptEvent__3> javascriptEvents) {
this.javascriptEvents = javascriptEvents;
}
public Form withJavascriptEvents(List<JavascriptEvent__3> javascriptEvents) {
this.javascriptEvents = javascriptEvents;
return this;
}
@JsonProperty("metadata")
public String getMetadata() {
return metadata;
}
@JsonProperty("metadata")
public void setMetadata(String metadata) {
this.metadata = metadata;
}
public Form withMetadata(String metadata) {
this.metadata = metadata;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public Form withName(String name) {
this.name = name;
return this;
}
@JsonProperty("outcomeTarget")
public String getOutcomeTarget() {
return outcomeTarget;
}
@JsonProperty("outcomeTarget")
public void setOutcomeTarget(String outcomeTarget) {
this.outcomeTarget = outcomeTarget;
}
public Form withOutcomeTarget(String outcomeTarget) {
this.outcomeTarget = outcomeTarget;
return this;
}
@JsonProperty("outcomes")
public List<Outcome__3> getOutcomes() {
return outcomes;
}
@JsonProperty("outcomes")
public void setOutcomes(List<Outcome__3> outcomes) {
this.outcomes = outcomes;
}
public Form withOutcomes(List<Outcome__3> outcomes) {
this.outcomes = outcomes;
return this;
}
@JsonProperty("processDefinitionId")
public String getProcessDefinitionId() {
return processDefinitionId;
}
@JsonProperty("processDefinitionId")
public void setProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
}
public Form withProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
return this;
}
@JsonProperty("processDefinitionKey")
public String getProcessDefinitionKey() {
return processDefinitionKey;
}
@JsonProperty("processDefinitionKey")
public void setProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
}
public Form withProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
return this;
}
@JsonProperty("processDefinitionName")
public String getProcessDefinitionName() {
return processDefinitionName;
}
@JsonProperty("processDefinitionName")
public void setProcessDefinitionName(String processDefinitionName) {
this.processDefinitionName = processDefinitionName;
}
public Form withProcessDefinitionName(String processDefinitionName) {
this.processDefinitionName = processDefinitionName;
return this;
}
@JsonProperty("selectedOutcome")
public String getSelectedOutcome() {
return selectedOutcome;
}
@JsonProperty("selectedOutcome")
public void setSelectedOutcome(String selectedOutcome) {
this.selectedOutcome = selectedOutcome;
}
public Form withSelectedOutcome(String selectedOutcome) {
this.selectedOutcome = selectedOutcome;
return this;
}
@JsonProperty("style")
public String getStyle() {
return style;
}
@JsonProperty("style")
public void setStyle(String style) {
this.style = style;
}
public Form withStyle(String style) {
this.style = style;
return this;
}
@JsonProperty("tabs")
public List<Tab__3> getTabs() {
return tabs;
}
@JsonProperty("tabs")
public void setTabs(List<Tab__3> tabs) {
this.tabs = tabs;
}
public Form withTabs(List<Tab__3> tabs) {
this.tabs = tabs;
return this;
}
@JsonProperty("taskDefinitionKey")
public String getTaskDefinitionKey() {
return taskDefinitionKey;
}
@JsonProperty("taskDefinitionKey")
public void setTaskDefinitionKey(String taskDefinitionKey) {
this.taskDefinitionKey = taskDefinitionKey;
}
public Form withTaskDefinitionKey(String taskDefinitionKey) {
this.taskDefinitionKey = taskDefinitionKey;
return this;
}
@JsonProperty("taskId")
public String getTaskId() {
return taskId;
}
@JsonProperty("taskId")
public void setTaskId(String taskId) {
this.taskId = taskId;
}
public Form withTaskId(String taskId) {
this.taskId = taskId;
return this;
}
@JsonProperty("taskName")
public String getTaskName() {
return taskName;
}
@JsonProperty("taskName")
public void setTaskName(String taskName) {
this.taskName = taskName;
}
public Form withTaskName(String taskName) {
this.taskName = taskName;
return this;
}
@JsonProperty("variables")
public List<Variable__3> getVariables() {
return variables;
}
@JsonProperty("variables")
public void setVariables(List<Variable__3> variables) {
this.variables = variables;
}
public Form withVariables(List<Variable__3> variables) {
this.variables = variables;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(Form.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("className");
sb.append('=');
sb.append(((this.className == null)?"<null>":this.className));
sb.append(',');
sb.append("customFieldTemplates");
sb.append('=');
sb.append(((this.customFieldTemplates == null)?"<null>":this.customFieldTemplates));
sb.append(',');
sb.append("fields");
sb.append('=');
sb.append(((this.fields == null)?"<null>":this.fields));
sb.append(',');
sb.append("globalDateFormat");
sb.append('=');
sb.append(((this.globalDateFormat == null)?"<null>":this.globalDateFormat));
sb.append(',');
sb.append("gridsterForm");
sb.append('=');
sb.append(((this.gridsterForm == null)?"<null>":this.gridsterForm));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("javascriptEvents");
sb.append('=');
sb.append(((this.javascriptEvents == null)?"<null>":this.javascriptEvents));
sb.append(',');
sb.append("metadata");
sb.append('=');
sb.append(((this.metadata == null)?"<null>":this.metadata));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("outcomeTarget");
sb.append('=');
sb.append(((this.outcomeTarget == null)?"<null>":this.outcomeTarget));
sb.append(',');
sb.append("outcomes");
sb.append('=');
sb.append(((this.outcomes == null)?"<null>":this.outcomes));
sb.append(',');
sb.append("processDefinitionId");
sb.append('=');
sb.append(((this.processDefinitionId == null)?"<null>":this.processDefinitionId));
sb.append(',');
sb.append("processDefinitionKey");
sb.append('=');
sb.append(((this.processDefinitionKey == null)?"<null>":this.processDefinitionKey));
sb.append(',');
sb.append("processDefinitionName");
sb.append('=');
sb.append(((this.processDefinitionName == null)?"<null>":this.processDefinitionName));
sb.append(',');
sb.append("selectedOutcome");
sb.append('=');
sb.append(((this.selectedOutcome == null)?"<null>":this.selectedOutcome));
sb.append(',');
sb.append("style");
sb.append('=');
sb.append(((this.style == null)?"<null>":this.style));
sb.append(',');
sb.append("tabs");
sb.append('=');
sb.append(((this.tabs == null)?"<null>":this.tabs));
sb.append(',');
sb.append("taskDefinitionKey");
sb.append('=');
sb.append(((this.taskDefinitionKey == null)?"<null>":this.taskDefinitionKey));
sb.append(',');
sb.append("taskId");
sb.append('=');
sb.append(((this.taskId == null)?"<null>":this.taskId));
sb.append(',');
sb.append("taskName");
sb.append('=');
sb.append(((this.taskName == null)?"<null>":this.taskName));
sb.append(',');
sb.append("variables");
sb.append('=');
sb.append(((this.variables == null)?"<null>":this.variables));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.processDefinitionId == null)? 0 :this.processDefinitionId.hashCode()));
result = ((result* 31)+((this.metadata == null)? 0 :this.metadata.hashCode()));
result = ((result* 31)+((this.variables == null)? 0 :this.variables.hashCode()));
result = ((result* 31)+((this.customFieldTemplates == null)? 0 :this.customFieldTemplates.hashCode()));
result = ((result* 31)+((this.tabs == null)? 0 :this.tabs.hashCode()));
result = ((result* 31)+((this.className == null)? 0 :this.className.hashCode()));
result = ((result* 31)+((this.processDefinitionName == null)? 0 :this.processDefinitionName.hashCode()));
result = ((result* 31)+((this.outcomeTarget == null)? 0 :this.outcomeTarget.hashCode()));
result = ((result* 31)+((this.processDefinitionKey == null)? 0 :this.processDefinitionKey.hashCode()));
result = ((result* 31)+((this.taskDefinitionKey == null)? 0 :this.taskDefinitionKey.hashCode()));
result = ((result* 31)+((this.outcomes == null)? 0 :this.outcomes.hashCode()));
result = ((result* 31)+((this.javascriptEvents == null)? 0 :this.javascriptEvents.hashCode()));
result = ((result* 31)+((this.selectedOutcome == null)? 0 :this.selectedOutcome.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.globalDateFormat == null)? 0 :this.globalDateFormat.hashCode()));
result = ((result* 31)+((this.style == null)? 0 :this.style.hashCode()));
result = ((result* 31)+((this.taskName == null)? 0 :this.taskName.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.fields == null)? 0 :this.fields.hashCode()));
result = ((result* 31)+((this.taskId == null)? 0 :this.taskId.hashCode()));
result = ((result* 31)+((this.gridsterForm == null)? 0 :this.gridsterForm.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof Form) == false) {
return false;
}
Form rhs = ((Form) other);
return ((((((((((((((((((((((this.processDefinitionId == rhs.processDefinitionId)||((this.processDefinitionId!= null)&&this.processDefinitionId.equals(rhs.processDefinitionId)))&&((this.metadata == rhs.metadata)||((this.metadata!= null)&&this.metadata.equals(rhs.metadata))))&&((this.variables == rhs.variables)||((this.variables!= null)&&this.variables.equals(rhs.variables))))&&((this.customFieldTemplates == rhs.customFieldTemplates)||((this.customFieldTemplates!= null)&&this.customFieldTemplates.equals(rhs.customFieldTemplates))))&&((this.tabs == rhs.tabs)||((this.tabs!= null)&&this.tabs.equals(rhs.tabs))))&&((this.className == rhs.className)||((this.className!= null)&&this.className.equals(rhs.className))))&&((this.processDefinitionName == rhs.processDefinitionName)||((this.processDefinitionName!= null)&&this.processDefinitionName.equals(rhs.processDefinitionName))))&&((this.outcomeTarget == rhs.outcomeTarget)||((this.outcomeTarget!= null)&&this.outcomeTarget.equals(rhs.outcomeTarget))))&&((this.processDefinitionKey == rhs.processDefinitionKey)||((this.processDefinitionKey!= null)&&this.processDefinitionKey.equals(rhs.processDefinitionKey))))&&((this.taskDefinitionKey == rhs.taskDefinitionKey)||((this.taskDefinitionKey!= null)&&this.taskDefinitionKey.equals(rhs.taskDefinitionKey))))&&((this.outcomes == rhs.outcomes)||((this.outcomes!= null)&&this.outcomes.equals(rhs.outcomes))))&&((this.javascriptEvents == rhs.javascriptEvents)||((this.javascriptEvents!= null)&&this.javascriptEvents.equals(rhs.javascriptEvents))))&&((this.selectedOutcome == rhs.selectedOutcome)||((this.selectedOutcome!= null)&&this.selectedOutcome.equals(rhs.selectedOutcome))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.globalDateFormat == rhs.globalDateFormat)||((this.globalDateFormat!= null)&&this.globalDateFormat.equals(rhs.globalDateFormat))))&&((this.style == rhs.style)||((this.style!= null)&&this.style.equals(rhs.style))))&&((this.taskName == rhs.taskName)||((this.taskName!= null)&&this.taskName.equals(rhs.taskName))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.fields == rhs.fields)||((this.fields!= null)&&this.fields.equals(rhs.fields))))&&((this.taskId == rhs.taskId)||((this.taskId!= null)&&this.taskId.equals(rhs.taskId))))&&((this.gridsterForm == rhs.gridsterForm)||((this.gridsterForm!= null)&&this.gridsterForm.equals(rhs.gridsterForm))));
}
}

View File

@@ -1,140 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* AuditLogFormDataRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"fieldId",
"fieldName",
"value"
})
public class FormDatum {
@JsonProperty("fieldId")
private String fieldId;
@JsonProperty("fieldName")
private String fieldName;
@JsonProperty("value")
private String value;
/**
* No args constructor for use in serialization
*
*/
public FormDatum() {
}
/**
*
* @param fieldName
* @param value
* @param fieldId
*/
public FormDatum(String fieldId, String fieldName, String value) {
super();
this.fieldId = fieldId;
this.fieldName = fieldName;
this.value = value;
}
@JsonProperty("fieldId")
public String getFieldId() {
return fieldId;
}
@JsonProperty("fieldId")
public void setFieldId(String fieldId) {
this.fieldId = fieldId;
}
public FormDatum withFieldId(String fieldId) {
this.fieldId = fieldId;
return this;
}
@JsonProperty("fieldName")
public String getFieldName() {
return fieldName;
}
@JsonProperty("fieldName")
public void setFieldName(String fieldName) {
this.fieldName = fieldName;
}
public FormDatum withFieldName(String fieldName) {
this.fieldName = fieldName;
return this;
}
@JsonProperty("value")
public String getValue() {
return value;
}
@JsonProperty("value")
public void setValue(String value) {
this.value = value;
}
public FormDatum withValue(String value) {
this.value = value;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(FormDatum.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("fieldId");
sb.append('=');
sb.append(((this.fieldId == null)?"<null>":this.fieldId));
sb.append(',');
sb.append("fieldName");
sb.append('=');
sb.append(((this.fieldName == null)?"<null>":this.fieldName));
sb.append(',');
sb.append("value");
sb.append('=');
sb.append(((this.value == null)?"<null>":this.value));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.fieldName == null)? 0 :this.fieldName.hashCode()));
result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode()));
result = ((result* 31)+((this.fieldId == null)? 0 :this.fieldId.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof FormDatum) == false) {
return false;
}
FormDatum rhs = ((FormDatum) other);
return ((((this.fieldName == rhs.fieldName)||((this.fieldName!= null)&&this.fieldName.equals(rhs.fieldName)))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value))))&&((this.fieldId == rhs.fieldId)||((this.fieldId!= null)&&this.fieldId.equals(rhs.fieldId))));
}
}

View File

@@ -1,140 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* AuditLogFormDataRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"fieldId",
"fieldName",
"value"
})
public class FormDatum__1 {
@JsonProperty("fieldId")
private String fieldId;
@JsonProperty("fieldName")
private String fieldName;
@JsonProperty("value")
private String value;
/**
* No args constructor for use in serialization
*
*/
public FormDatum__1() {
}
/**
*
* @param fieldName
* @param value
* @param fieldId
*/
public FormDatum__1(String fieldId, String fieldName, String value) {
super();
this.fieldId = fieldId;
this.fieldName = fieldName;
this.value = value;
}
@JsonProperty("fieldId")
public String getFieldId() {
return fieldId;
}
@JsonProperty("fieldId")
public void setFieldId(String fieldId) {
this.fieldId = fieldId;
}
public FormDatum__1 withFieldId(String fieldId) {
this.fieldId = fieldId;
return this;
}
@JsonProperty("fieldName")
public String getFieldName() {
return fieldName;
}
@JsonProperty("fieldName")
public void setFieldName(String fieldName) {
this.fieldName = fieldName;
}
public FormDatum__1 withFieldName(String fieldName) {
this.fieldName = fieldName;
return this;
}
@JsonProperty("value")
public String getValue() {
return value;
}
@JsonProperty("value")
public void setValue(String value) {
this.value = value;
}
public FormDatum__1 withValue(String value) {
this.value = value;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(FormDatum__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("fieldId");
sb.append('=');
sb.append(((this.fieldId == null)?"<null>":this.fieldId));
sb.append(',');
sb.append("fieldName");
sb.append('=');
sb.append(((this.fieldName == null)?"<null>":this.fieldName));
sb.append(',');
sb.append("value");
sb.append('=');
sb.append(((this.value == null)?"<null>":this.value));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.fieldName == null)? 0 :this.fieldName.hashCode()));
result = ((result* 31)+((this.value == null)? 0 :this.value.hashCode()));
result = ((result* 31)+((this.fieldId == null)? 0 :this.fieldId.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof FormDatum__1) == false) {
return false;
}
FormDatum__1 rhs = ((FormDatum__1) other);
return ((((this.fieldName == rhs.fieldName)||((this.fieldName!= null)&&this.fieldName.equals(rhs.fieldName)))&&((this.value == rhs.value)||((this.value!= null)&&this.value.equals(rhs.value))))&&((this.fieldId == rhs.fieldId)||((this.fieldId!= null)&&this.fieldId.equals(rhs.fieldId))));
}
}

View File

@@ -1,592 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* FormDefinitionRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"className",
"customFieldTemplates",
"fields",
"globalDateFormat",
"gridsterForm",
"id",
"javascriptEvents",
"metadata",
"name",
"outcomeTarget",
"outcomes",
"processDefinitionId",
"processDefinitionKey",
"processDefinitionName",
"selectedOutcome",
"style",
"tabs",
"taskDefinitionKey",
"taskId",
"taskName",
"variables"
})
public class FormDefinition {
@JsonProperty("className")
private String className;
@JsonProperty("customFieldTemplates")
private String customFieldTemplates;
@JsonProperty("fields")
private List<Field> fields = new ArrayList<Field>();
@JsonProperty("globalDateFormat")
private String globalDateFormat;
@JsonProperty("gridsterForm")
private Boolean gridsterForm;
@JsonProperty("id")
private Long id;
@JsonProperty("javascriptEvents")
private List<JavascriptEvent> javascriptEvents = new ArrayList<JavascriptEvent>();
@JsonProperty("metadata")
private String metadata;
@JsonProperty("name")
private String name;
@JsonProperty("outcomeTarget")
private String outcomeTarget;
@JsonProperty("outcomes")
private List<Outcome> outcomes = new ArrayList<Outcome>();
@JsonProperty("processDefinitionId")
private String processDefinitionId;
@JsonProperty("processDefinitionKey")
private String processDefinitionKey;
@JsonProperty("processDefinitionName")
private String processDefinitionName;
@JsonProperty("selectedOutcome")
private String selectedOutcome;
@JsonProperty("style")
private String style;
@JsonProperty("tabs")
private List<Tab> tabs = new ArrayList<Tab>();
@JsonProperty("taskDefinitionKey")
private String taskDefinitionKey;
@JsonProperty("taskId")
private String taskId;
@JsonProperty("taskName")
private String taskName;
@JsonProperty("variables")
private List<Variable> variables = new ArrayList<Variable>();
/**
* No args constructor for use in serialization
*
*/
public FormDefinition() {
}
/**
*
* @param processDefinitionId
* @param metadata
* @param variables
* @param customFieldTemplates
* @param tabs
* @param className
* @param processDefinitionName
* @param outcomeTarget
* @param processDefinitionKey
* @param taskDefinitionKey
* @param outcomes
* @param javascriptEvents
* @param selectedOutcome
* @param name
* @param globalDateFormat
* @param style
* @param taskName
* @param id
* @param fields
* @param taskId
* @param gridsterForm
*/
public FormDefinition(String className, String customFieldTemplates, List<Field> fields, String globalDateFormat, Boolean gridsterForm, Long id, List<JavascriptEvent> javascriptEvents, String metadata, String name, String outcomeTarget, List<Outcome> outcomes, String processDefinitionId, String processDefinitionKey, String processDefinitionName, String selectedOutcome, String style, List<Tab> tabs, String taskDefinitionKey, String taskId, String taskName, List<Variable> variables) {
super();
this.className = className;
this.customFieldTemplates = customFieldTemplates;
this.fields = fields;
this.globalDateFormat = globalDateFormat;
this.gridsterForm = gridsterForm;
this.id = id;
this.javascriptEvents = javascriptEvents;
this.metadata = metadata;
this.name = name;
this.outcomeTarget = outcomeTarget;
this.outcomes = outcomes;
this.processDefinitionId = processDefinitionId;
this.processDefinitionKey = processDefinitionKey;
this.processDefinitionName = processDefinitionName;
this.selectedOutcome = selectedOutcome;
this.style = style;
this.tabs = tabs;
this.taskDefinitionKey = taskDefinitionKey;
this.taskId = taskId;
this.taskName = taskName;
this.variables = variables;
}
@JsonProperty("className")
public String getClassName() {
return className;
}
@JsonProperty("className")
public void setClassName(String className) {
this.className = className;
}
public FormDefinition withClassName(String className) {
this.className = className;
return this;
}
@JsonProperty("customFieldTemplates")
public String getCustomFieldTemplates() {
return customFieldTemplates;
}
@JsonProperty("customFieldTemplates")
public void setCustomFieldTemplates(String customFieldTemplates) {
this.customFieldTemplates = customFieldTemplates;
}
public FormDefinition withCustomFieldTemplates(String customFieldTemplates) {
this.customFieldTemplates = customFieldTemplates;
return this;
}
@JsonProperty("fields")
public List<Field> getFields() {
return fields;
}
@JsonProperty("fields")
public void setFields(List<Field> fields) {
this.fields = fields;
}
public FormDefinition withFields(List<Field> fields) {
this.fields = fields;
return this;
}
@JsonProperty("globalDateFormat")
public String getGlobalDateFormat() {
return globalDateFormat;
}
@JsonProperty("globalDateFormat")
public void setGlobalDateFormat(String globalDateFormat) {
this.globalDateFormat = globalDateFormat;
}
public FormDefinition withGlobalDateFormat(String globalDateFormat) {
this.globalDateFormat = globalDateFormat;
return this;
}
@JsonProperty("gridsterForm")
public Boolean getGridsterForm() {
return gridsterForm;
}
@JsonProperty("gridsterForm")
public void setGridsterForm(Boolean gridsterForm) {
this.gridsterForm = gridsterForm;
}
public FormDefinition withGridsterForm(Boolean gridsterForm) {
this.gridsterForm = gridsterForm;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public FormDefinition withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("javascriptEvents")
public List<JavascriptEvent> getJavascriptEvents() {
return javascriptEvents;
}
@JsonProperty("javascriptEvents")
public void setJavascriptEvents(List<JavascriptEvent> javascriptEvents) {
this.javascriptEvents = javascriptEvents;
}
public FormDefinition withJavascriptEvents(List<JavascriptEvent> javascriptEvents) {
this.javascriptEvents = javascriptEvents;
return this;
}
@JsonProperty("metadata")
public String getMetadata() {
return metadata;
}
@JsonProperty("metadata")
public void setMetadata(String metadata) {
this.metadata = metadata;
}
public FormDefinition withMetadata(String metadata) {
this.metadata = metadata;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public FormDefinition withName(String name) {
this.name = name;
return this;
}
@JsonProperty("outcomeTarget")
public String getOutcomeTarget() {
return outcomeTarget;
}
@JsonProperty("outcomeTarget")
public void setOutcomeTarget(String outcomeTarget) {
this.outcomeTarget = outcomeTarget;
}
public FormDefinition withOutcomeTarget(String outcomeTarget) {
this.outcomeTarget = outcomeTarget;
return this;
}
@JsonProperty("outcomes")
public List<Outcome> getOutcomes() {
return outcomes;
}
@JsonProperty("outcomes")
public void setOutcomes(List<Outcome> outcomes) {
this.outcomes = outcomes;
}
public FormDefinition withOutcomes(List<Outcome> outcomes) {
this.outcomes = outcomes;
return this;
}
@JsonProperty("processDefinitionId")
public String getProcessDefinitionId() {
return processDefinitionId;
}
@JsonProperty("processDefinitionId")
public void setProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
}
public FormDefinition withProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
return this;
}
@JsonProperty("processDefinitionKey")
public String getProcessDefinitionKey() {
return processDefinitionKey;
}
@JsonProperty("processDefinitionKey")
public void setProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
}
public FormDefinition withProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
return this;
}
@JsonProperty("processDefinitionName")
public String getProcessDefinitionName() {
return processDefinitionName;
}
@JsonProperty("processDefinitionName")
public void setProcessDefinitionName(String processDefinitionName) {
this.processDefinitionName = processDefinitionName;
}
public FormDefinition withProcessDefinitionName(String processDefinitionName) {
this.processDefinitionName = processDefinitionName;
return this;
}
@JsonProperty("selectedOutcome")
public String getSelectedOutcome() {
return selectedOutcome;
}
@JsonProperty("selectedOutcome")
public void setSelectedOutcome(String selectedOutcome) {
this.selectedOutcome = selectedOutcome;
}
public FormDefinition withSelectedOutcome(String selectedOutcome) {
this.selectedOutcome = selectedOutcome;
return this;
}
@JsonProperty("style")
public String getStyle() {
return style;
}
@JsonProperty("style")
public void setStyle(String style) {
this.style = style;
}
public FormDefinition withStyle(String style) {
this.style = style;
return this;
}
@JsonProperty("tabs")
public List<Tab> getTabs() {
return tabs;
}
@JsonProperty("tabs")
public void setTabs(List<Tab> tabs) {
this.tabs = tabs;
}
public FormDefinition withTabs(List<Tab> tabs) {
this.tabs = tabs;
return this;
}
@JsonProperty("taskDefinitionKey")
public String getTaskDefinitionKey() {
return taskDefinitionKey;
}
@JsonProperty("taskDefinitionKey")
public void setTaskDefinitionKey(String taskDefinitionKey) {
this.taskDefinitionKey = taskDefinitionKey;
}
public FormDefinition withTaskDefinitionKey(String taskDefinitionKey) {
this.taskDefinitionKey = taskDefinitionKey;
return this;
}
@JsonProperty("taskId")
public String getTaskId() {
return taskId;
}
@JsonProperty("taskId")
public void setTaskId(String taskId) {
this.taskId = taskId;
}
public FormDefinition withTaskId(String taskId) {
this.taskId = taskId;
return this;
}
@JsonProperty("taskName")
public String getTaskName() {
return taskName;
}
@JsonProperty("taskName")
public void setTaskName(String taskName) {
this.taskName = taskName;
}
public FormDefinition withTaskName(String taskName) {
this.taskName = taskName;
return this;
}
@JsonProperty("variables")
public List<Variable> getVariables() {
return variables;
}
@JsonProperty("variables")
public void setVariables(List<Variable> variables) {
this.variables = variables;
}
public FormDefinition withVariables(List<Variable> variables) {
this.variables = variables;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(FormDefinition.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("className");
sb.append('=');
sb.append(((this.className == null)?"<null>":this.className));
sb.append(',');
sb.append("customFieldTemplates");
sb.append('=');
sb.append(((this.customFieldTemplates == null)?"<null>":this.customFieldTemplates));
sb.append(',');
sb.append("fields");
sb.append('=');
sb.append(((this.fields == null)?"<null>":this.fields));
sb.append(',');
sb.append("globalDateFormat");
sb.append('=');
sb.append(((this.globalDateFormat == null)?"<null>":this.globalDateFormat));
sb.append(',');
sb.append("gridsterForm");
sb.append('=');
sb.append(((this.gridsterForm == null)?"<null>":this.gridsterForm));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("javascriptEvents");
sb.append('=');
sb.append(((this.javascriptEvents == null)?"<null>":this.javascriptEvents));
sb.append(',');
sb.append("metadata");
sb.append('=');
sb.append(((this.metadata == null)?"<null>":this.metadata));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("outcomeTarget");
sb.append('=');
sb.append(((this.outcomeTarget == null)?"<null>":this.outcomeTarget));
sb.append(',');
sb.append("outcomes");
sb.append('=');
sb.append(((this.outcomes == null)?"<null>":this.outcomes));
sb.append(',');
sb.append("processDefinitionId");
sb.append('=');
sb.append(((this.processDefinitionId == null)?"<null>":this.processDefinitionId));
sb.append(',');
sb.append("processDefinitionKey");
sb.append('=');
sb.append(((this.processDefinitionKey == null)?"<null>":this.processDefinitionKey));
sb.append(',');
sb.append("processDefinitionName");
sb.append('=');
sb.append(((this.processDefinitionName == null)?"<null>":this.processDefinitionName));
sb.append(',');
sb.append("selectedOutcome");
sb.append('=');
sb.append(((this.selectedOutcome == null)?"<null>":this.selectedOutcome));
sb.append(',');
sb.append("style");
sb.append('=');
sb.append(((this.style == null)?"<null>":this.style));
sb.append(',');
sb.append("tabs");
sb.append('=');
sb.append(((this.tabs == null)?"<null>":this.tabs));
sb.append(',');
sb.append("taskDefinitionKey");
sb.append('=');
sb.append(((this.taskDefinitionKey == null)?"<null>":this.taskDefinitionKey));
sb.append(',');
sb.append("taskId");
sb.append('=');
sb.append(((this.taskId == null)?"<null>":this.taskId));
sb.append(',');
sb.append("taskName");
sb.append('=');
sb.append(((this.taskName == null)?"<null>":this.taskName));
sb.append(',');
sb.append("variables");
sb.append('=');
sb.append(((this.variables == null)?"<null>":this.variables));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.processDefinitionId == null)? 0 :this.processDefinitionId.hashCode()));
result = ((result* 31)+((this.metadata == null)? 0 :this.metadata.hashCode()));
result = ((result* 31)+((this.variables == null)? 0 :this.variables.hashCode()));
result = ((result* 31)+((this.customFieldTemplates == null)? 0 :this.customFieldTemplates.hashCode()));
result = ((result* 31)+((this.tabs == null)? 0 :this.tabs.hashCode()));
result = ((result* 31)+((this.className == null)? 0 :this.className.hashCode()));
result = ((result* 31)+((this.processDefinitionName == null)? 0 :this.processDefinitionName.hashCode()));
result = ((result* 31)+((this.outcomeTarget == null)? 0 :this.outcomeTarget.hashCode()));
result = ((result* 31)+((this.processDefinitionKey == null)? 0 :this.processDefinitionKey.hashCode()));
result = ((result* 31)+((this.taskDefinitionKey == null)? 0 :this.taskDefinitionKey.hashCode()));
result = ((result* 31)+((this.outcomes == null)? 0 :this.outcomes.hashCode()));
result = ((result* 31)+((this.javascriptEvents == null)? 0 :this.javascriptEvents.hashCode()));
result = ((result* 31)+((this.selectedOutcome == null)? 0 :this.selectedOutcome.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.globalDateFormat == null)? 0 :this.globalDateFormat.hashCode()));
result = ((result* 31)+((this.style == null)? 0 :this.style.hashCode()));
result = ((result* 31)+((this.taskName == null)? 0 :this.taskName.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.fields == null)? 0 :this.fields.hashCode()));
result = ((result* 31)+((this.taskId == null)? 0 :this.taskId.hashCode()));
result = ((result* 31)+((this.gridsterForm == null)? 0 :this.gridsterForm.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof FormDefinition) == false) {
return false;
}
FormDefinition rhs = ((FormDefinition) other);
return ((((((((((((((((((((((this.processDefinitionId == rhs.processDefinitionId)||((this.processDefinitionId!= null)&&this.processDefinitionId.equals(rhs.processDefinitionId)))&&((this.metadata == rhs.metadata)||((this.metadata!= null)&&this.metadata.equals(rhs.metadata))))&&((this.variables == rhs.variables)||((this.variables!= null)&&this.variables.equals(rhs.variables))))&&((this.customFieldTemplates == rhs.customFieldTemplates)||((this.customFieldTemplates!= null)&&this.customFieldTemplates.equals(rhs.customFieldTemplates))))&&((this.tabs == rhs.tabs)||((this.tabs!= null)&&this.tabs.equals(rhs.tabs))))&&((this.className == rhs.className)||((this.className!= null)&&this.className.equals(rhs.className))))&&((this.processDefinitionName == rhs.processDefinitionName)||((this.processDefinitionName!= null)&&this.processDefinitionName.equals(rhs.processDefinitionName))))&&((this.outcomeTarget == rhs.outcomeTarget)||((this.outcomeTarget!= null)&&this.outcomeTarget.equals(rhs.outcomeTarget))))&&((this.processDefinitionKey == rhs.processDefinitionKey)||((this.processDefinitionKey!= null)&&this.processDefinitionKey.equals(rhs.processDefinitionKey))))&&((this.taskDefinitionKey == rhs.taskDefinitionKey)||((this.taskDefinitionKey!= null)&&this.taskDefinitionKey.equals(rhs.taskDefinitionKey))))&&((this.outcomes == rhs.outcomes)||((this.outcomes!= null)&&this.outcomes.equals(rhs.outcomes))))&&((this.javascriptEvents == rhs.javascriptEvents)||((this.javascriptEvents!= null)&&this.javascriptEvents.equals(rhs.javascriptEvents))))&&((this.selectedOutcome == rhs.selectedOutcome)||((this.selectedOutcome!= null)&&this.selectedOutcome.equals(rhs.selectedOutcome))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.globalDateFormat == rhs.globalDateFormat)||((this.globalDateFormat!= null)&&this.globalDateFormat.equals(rhs.globalDateFormat))))&&((this.style == rhs.style)||((this.style!= null)&&this.style.equals(rhs.style))))&&((this.taskName == rhs.taskName)||((this.taskName!= null)&&this.taskName.equals(rhs.taskName))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.fields == rhs.fields)||((this.fields!= null)&&this.fields.equals(rhs.fields))))&&((this.taskId == rhs.taskId)||((this.taskId!= null)&&this.taskId.equals(rhs.taskId))))&&((this.gridsterForm == rhs.gridsterForm)||((this.gridsterForm!= null)&&this.gridsterForm.equals(rhs.gridsterForm))));
}
}

View File

@@ -1,592 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* FormDefinitionRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"className",
"customFieldTemplates",
"fields",
"globalDateFormat",
"gridsterForm",
"id",
"javascriptEvents",
"metadata",
"name",
"outcomeTarget",
"outcomes",
"processDefinitionId",
"processDefinitionKey",
"processDefinitionName",
"selectedOutcome",
"style",
"tabs",
"taskDefinitionKey",
"taskId",
"taskName",
"variables"
})
public class FormDefinitionRepresentation {
@JsonProperty("className")
private String className;
@JsonProperty("customFieldTemplates")
private String customFieldTemplates;
@JsonProperty("fields")
private List<Field__4> fields = new ArrayList<Field__4>();
@JsonProperty("globalDateFormat")
private String globalDateFormat;
@JsonProperty("gridsterForm")
private Boolean gridsterForm;
@JsonProperty("id")
private Long id;
@JsonProperty("javascriptEvents")
private List<JavascriptEvent__4> javascriptEvents = new ArrayList<JavascriptEvent__4>();
@JsonProperty("metadata")
private String metadata;
@JsonProperty("name")
private String name;
@JsonProperty("outcomeTarget")
private String outcomeTarget;
@JsonProperty("outcomes")
private List<Outcome__4> outcomes = new ArrayList<Outcome__4>();
@JsonProperty("processDefinitionId")
private String processDefinitionId;
@JsonProperty("processDefinitionKey")
private String processDefinitionKey;
@JsonProperty("processDefinitionName")
private String processDefinitionName;
@JsonProperty("selectedOutcome")
private String selectedOutcome;
@JsonProperty("style")
private String style;
@JsonProperty("tabs")
private List<Tab__4> tabs = new ArrayList<Tab__4>();
@JsonProperty("taskDefinitionKey")
private String taskDefinitionKey;
@JsonProperty("taskId")
private String taskId;
@JsonProperty("taskName")
private String taskName;
@JsonProperty("variables")
private List<Variable__4> variables = new ArrayList<Variable__4>();
/**
* No args constructor for use in serialization
*
*/
public FormDefinitionRepresentation() {
}
/**
*
* @param processDefinitionId
* @param metadata
* @param variables
* @param customFieldTemplates
* @param tabs
* @param className
* @param processDefinitionName
* @param outcomeTarget
* @param processDefinitionKey
* @param taskDefinitionKey
* @param outcomes
* @param javascriptEvents
* @param selectedOutcome
* @param name
* @param globalDateFormat
* @param style
* @param taskName
* @param id
* @param fields
* @param taskId
* @param gridsterForm
*/
public FormDefinitionRepresentation(String className, String customFieldTemplates, List<Field__4> fields, String globalDateFormat, Boolean gridsterForm, Long id, List<JavascriptEvent__4> javascriptEvents, String metadata, String name, String outcomeTarget, List<Outcome__4> outcomes, String processDefinitionId, String processDefinitionKey, String processDefinitionName, String selectedOutcome, String style, List<Tab__4> tabs, String taskDefinitionKey, String taskId, String taskName, List<Variable__4> variables) {
super();
this.className = className;
this.customFieldTemplates = customFieldTemplates;
this.fields = fields;
this.globalDateFormat = globalDateFormat;
this.gridsterForm = gridsterForm;
this.id = id;
this.javascriptEvents = javascriptEvents;
this.metadata = metadata;
this.name = name;
this.outcomeTarget = outcomeTarget;
this.outcomes = outcomes;
this.processDefinitionId = processDefinitionId;
this.processDefinitionKey = processDefinitionKey;
this.processDefinitionName = processDefinitionName;
this.selectedOutcome = selectedOutcome;
this.style = style;
this.tabs = tabs;
this.taskDefinitionKey = taskDefinitionKey;
this.taskId = taskId;
this.taskName = taskName;
this.variables = variables;
}
@JsonProperty("className")
public String getClassName() {
return className;
}
@JsonProperty("className")
public void setClassName(String className) {
this.className = className;
}
public FormDefinitionRepresentation withClassName(String className) {
this.className = className;
return this;
}
@JsonProperty("customFieldTemplates")
public String getCustomFieldTemplates() {
return customFieldTemplates;
}
@JsonProperty("customFieldTemplates")
public void setCustomFieldTemplates(String customFieldTemplates) {
this.customFieldTemplates = customFieldTemplates;
}
public FormDefinitionRepresentation withCustomFieldTemplates(String customFieldTemplates) {
this.customFieldTemplates = customFieldTemplates;
return this;
}
@JsonProperty("fields")
public List<Field__4> getFields() {
return fields;
}
@JsonProperty("fields")
public void setFields(List<Field__4> fields) {
this.fields = fields;
}
public FormDefinitionRepresentation withFields(List<Field__4> fields) {
this.fields = fields;
return this;
}
@JsonProperty("globalDateFormat")
public String getGlobalDateFormat() {
return globalDateFormat;
}
@JsonProperty("globalDateFormat")
public void setGlobalDateFormat(String globalDateFormat) {
this.globalDateFormat = globalDateFormat;
}
public FormDefinitionRepresentation withGlobalDateFormat(String globalDateFormat) {
this.globalDateFormat = globalDateFormat;
return this;
}
@JsonProperty("gridsterForm")
public Boolean getGridsterForm() {
return gridsterForm;
}
@JsonProperty("gridsterForm")
public void setGridsterForm(Boolean gridsterForm) {
this.gridsterForm = gridsterForm;
}
public FormDefinitionRepresentation withGridsterForm(Boolean gridsterForm) {
this.gridsterForm = gridsterForm;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public FormDefinitionRepresentation withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("javascriptEvents")
public List<JavascriptEvent__4> getJavascriptEvents() {
return javascriptEvents;
}
@JsonProperty("javascriptEvents")
public void setJavascriptEvents(List<JavascriptEvent__4> javascriptEvents) {
this.javascriptEvents = javascriptEvents;
}
public FormDefinitionRepresentation withJavascriptEvents(List<JavascriptEvent__4> javascriptEvents) {
this.javascriptEvents = javascriptEvents;
return this;
}
@JsonProperty("metadata")
public String getMetadata() {
return metadata;
}
@JsonProperty("metadata")
public void setMetadata(String metadata) {
this.metadata = metadata;
}
public FormDefinitionRepresentation withMetadata(String metadata) {
this.metadata = metadata;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public FormDefinitionRepresentation withName(String name) {
this.name = name;
return this;
}
@JsonProperty("outcomeTarget")
public String getOutcomeTarget() {
return outcomeTarget;
}
@JsonProperty("outcomeTarget")
public void setOutcomeTarget(String outcomeTarget) {
this.outcomeTarget = outcomeTarget;
}
public FormDefinitionRepresentation withOutcomeTarget(String outcomeTarget) {
this.outcomeTarget = outcomeTarget;
return this;
}
@JsonProperty("outcomes")
public List<Outcome__4> getOutcomes() {
return outcomes;
}
@JsonProperty("outcomes")
public void setOutcomes(List<Outcome__4> outcomes) {
this.outcomes = outcomes;
}
public FormDefinitionRepresentation withOutcomes(List<Outcome__4> outcomes) {
this.outcomes = outcomes;
return this;
}
@JsonProperty("processDefinitionId")
public String getProcessDefinitionId() {
return processDefinitionId;
}
@JsonProperty("processDefinitionId")
public void setProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
}
public FormDefinitionRepresentation withProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
return this;
}
@JsonProperty("processDefinitionKey")
public String getProcessDefinitionKey() {
return processDefinitionKey;
}
@JsonProperty("processDefinitionKey")
public void setProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
}
public FormDefinitionRepresentation withProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
return this;
}
@JsonProperty("processDefinitionName")
public String getProcessDefinitionName() {
return processDefinitionName;
}
@JsonProperty("processDefinitionName")
public void setProcessDefinitionName(String processDefinitionName) {
this.processDefinitionName = processDefinitionName;
}
public FormDefinitionRepresentation withProcessDefinitionName(String processDefinitionName) {
this.processDefinitionName = processDefinitionName;
return this;
}
@JsonProperty("selectedOutcome")
public String getSelectedOutcome() {
return selectedOutcome;
}
@JsonProperty("selectedOutcome")
public void setSelectedOutcome(String selectedOutcome) {
this.selectedOutcome = selectedOutcome;
}
public FormDefinitionRepresentation withSelectedOutcome(String selectedOutcome) {
this.selectedOutcome = selectedOutcome;
return this;
}
@JsonProperty("style")
public String getStyle() {
return style;
}
@JsonProperty("style")
public void setStyle(String style) {
this.style = style;
}
public FormDefinitionRepresentation withStyle(String style) {
this.style = style;
return this;
}
@JsonProperty("tabs")
public List<Tab__4> getTabs() {
return tabs;
}
@JsonProperty("tabs")
public void setTabs(List<Tab__4> tabs) {
this.tabs = tabs;
}
public FormDefinitionRepresentation withTabs(List<Tab__4> tabs) {
this.tabs = tabs;
return this;
}
@JsonProperty("taskDefinitionKey")
public String getTaskDefinitionKey() {
return taskDefinitionKey;
}
@JsonProperty("taskDefinitionKey")
public void setTaskDefinitionKey(String taskDefinitionKey) {
this.taskDefinitionKey = taskDefinitionKey;
}
public FormDefinitionRepresentation withTaskDefinitionKey(String taskDefinitionKey) {
this.taskDefinitionKey = taskDefinitionKey;
return this;
}
@JsonProperty("taskId")
public String getTaskId() {
return taskId;
}
@JsonProperty("taskId")
public void setTaskId(String taskId) {
this.taskId = taskId;
}
public FormDefinitionRepresentation withTaskId(String taskId) {
this.taskId = taskId;
return this;
}
@JsonProperty("taskName")
public String getTaskName() {
return taskName;
}
@JsonProperty("taskName")
public void setTaskName(String taskName) {
this.taskName = taskName;
}
public FormDefinitionRepresentation withTaskName(String taskName) {
this.taskName = taskName;
return this;
}
@JsonProperty("variables")
public List<Variable__4> getVariables() {
return variables;
}
@JsonProperty("variables")
public void setVariables(List<Variable__4> variables) {
this.variables = variables;
}
public FormDefinitionRepresentation withVariables(List<Variable__4> variables) {
this.variables = variables;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(FormDefinitionRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("className");
sb.append('=');
sb.append(((this.className == null)?"<null>":this.className));
sb.append(',');
sb.append("customFieldTemplates");
sb.append('=');
sb.append(((this.customFieldTemplates == null)?"<null>":this.customFieldTemplates));
sb.append(',');
sb.append("fields");
sb.append('=');
sb.append(((this.fields == null)?"<null>":this.fields));
sb.append(',');
sb.append("globalDateFormat");
sb.append('=');
sb.append(((this.globalDateFormat == null)?"<null>":this.globalDateFormat));
sb.append(',');
sb.append("gridsterForm");
sb.append('=');
sb.append(((this.gridsterForm == null)?"<null>":this.gridsterForm));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("javascriptEvents");
sb.append('=');
sb.append(((this.javascriptEvents == null)?"<null>":this.javascriptEvents));
sb.append(',');
sb.append("metadata");
sb.append('=');
sb.append(((this.metadata == null)?"<null>":this.metadata));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("outcomeTarget");
sb.append('=');
sb.append(((this.outcomeTarget == null)?"<null>":this.outcomeTarget));
sb.append(',');
sb.append("outcomes");
sb.append('=');
sb.append(((this.outcomes == null)?"<null>":this.outcomes));
sb.append(',');
sb.append("processDefinitionId");
sb.append('=');
sb.append(((this.processDefinitionId == null)?"<null>":this.processDefinitionId));
sb.append(',');
sb.append("processDefinitionKey");
sb.append('=');
sb.append(((this.processDefinitionKey == null)?"<null>":this.processDefinitionKey));
sb.append(',');
sb.append("processDefinitionName");
sb.append('=');
sb.append(((this.processDefinitionName == null)?"<null>":this.processDefinitionName));
sb.append(',');
sb.append("selectedOutcome");
sb.append('=');
sb.append(((this.selectedOutcome == null)?"<null>":this.selectedOutcome));
sb.append(',');
sb.append("style");
sb.append('=');
sb.append(((this.style == null)?"<null>":this.style));
sb.append(',');
sb.append("tabs");
sb.append('=');
sb.append(((this.tabs == null)?"<null>":this.tabs));
sb.append(',');
sb.append("taskDefinitionKey");
sb.append('=');
sb.append(((this.taskDefinitionKey == null)?"<null>":this.taskDefinitionKey));
sb.append(',');
sb.append("taskId");
sb.append('=');
sb.append(((this.taskId == null)?"<null>":this.taskId));
sb.append(',');
sb.append("taskName");
sb.append('=');
sb.append(((this.taskName == null)?"<null>":this.taskName));
sb.append(',');
sb.append("variables");
sb.append('=');
sb.append(((this.variables == null)?"<null>":this.variables));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.processDefinitionId == null)? 0 :this.processDefinitionId.hashCode()));
result = ((result* 31)+((this.metadata == null)? 0 :this.metadata.hashCode()));
result = ((result* 31)+((this.variables == null)? 0 :this.variables.hashCode()));
result = ((result* 31)+((this.customFieldTemplates == null)? 0 :this.customFieldTemplates.hashCode()));
result = ((result* 31)+((this.tabs == null)? 0 :this.tabs.hashCode()));
result = ((result* 31)+((this.className == null)? 0 :this.className.hashCode()));
result = ((result* 31)+((this.processDefinitionName == null)? 0 :this.processDefinitionName.hashCode()));
result = ((result* 31)+((this.outcomeTarget == null)? 0 :this.outcomeTarget.hashCode()));
result = ((result* 31)+((this.processDefinitionKey == null)? 0 :this.processDefinitionKey.hashCode()));
result = ((result* 31)+((this.taskDefinitionKey == null)? 0 :this.taskDefinitionKey.hashCode()));
result = ((result* 31)+((this.outcomes == null)? 0 :this.outcomes.hashCode()));
result = ((result* 31)+((this.javascriptEvents == null)? 0 :this.javascriptEvents.hashCode()));
result = ((result* 31)+((this.selectedOutcome == null)? 0 :this.selectedOutcome.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.globalDateFormat == null)? 0 :this.globalDateFormat.hashCode()));
result = ((result* 31)+((this.style == null)? 0 :this.style.hashCode()));
result = ((result* 31)+((this.taskName == null)? 0 :this.taskName.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.fields == null)? 0 :this.fields.hashCode()));
result = ((result* 31)+((this.taskId == null)? 0 :this.taskId.hashCode()));
result = ((result* 31)+((this.gridsterForm == null)? 0 :this.gridsterForm.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof FormDefinitionRepresentation) == false) {
return false;
}
FormDefinitionRepresentation rhs = ((FormDefinitionRepresentation) other);
return ((((((((((((((((((((((this.processDefinitionId == rhs.processDefinitionId)||((this.processDefinitionId!= null)&&this.processDefinitionId.equals(rhs.processDefinitionId)))&&((this.metadata == rhs.metadata)||((this.metadata!= null)&&this.metadata.equals(rhs.metadata))))&&((this.variables == rhs.variables)||((this.variables!= null)&&this.variables.equals(rhs.variables))))&&((this.customFieldTemplates == rhs.customFieldTemplates)||((this.customFieldTemplates!= null)&&this.customFieldTemplates.equals(rhs.customFieldTemplates))))&&((this.tabs == rhs.tabs)||((this.tabs!= null)&&this.tabs.equals(rhs.tabs))))&&((this.className == rhs.className)||((this.className!= null)&&this.className.equals(rhs.className))))&&((this.processDefinitionName == rhs.processDefinitionName)||((this.processDefinitionName!= null)&&this.processDefinitionName.equals(rhs.processDefinitionName))))&&((this.outcomeTarget == rhs.outcomeTarget)||((this.outcomeTarget!= null)&&this.outcomeTarget.equals(rhs.outcomeTarget))))&&((this.processDefinitionKey == rhs.processDefinitionKey)||((this.processDefinitionKey!= null)&&this.processDefinitionKey.equals(rhs.processDefinitionKey))))&&((this.taskDefinitionKey == rhs.taskDefinitionKey)||((this.taskDefinitionKey!= null)&&this.taskDefinitionKey.equals(rhs.taskDefinitionKey))))&&((this.outcomes == rhs.outcomes)||((this.outcomes!= null)&&this.outcomes.equals(rhs.outcomes))))&&((this.javascriptEvents == rhs.javascriptEvents)||((this.javascriptEvents!= null)&&this.javascriptEvents.equals(rhs.javascriptEvents))))&&((this.selectedOutcome == rhs.selectedOutcome)||((this.selectedOutcome!= null)&&this.selectedOutcome.equals(rhs.selectedOutcome))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.globalDateFormat == rhs.globalDateFormat)||((this.globalDateFormat!= null)&&this.globalDateFormat.equals(rhs.globalDateFormat))))&&((this.style == rhs.style)||((this.style!= null)&&this.style.equals(rhs.style))))&&((this.taskName == rhs.taskName)||((this.taskName!= null)&&this.taskName.equals(rhs.taskName))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.fields == rhs.fields)||((this.fields!= null)&&this.fields.equals(rhs.fields))))&&((this.taskId == rhs.taskId)||((this.taskId!= null)&&this.taskId.equals(rhs.taskId))))&&((this.gridsterForm == rhs.gridsterForm)||((this.gridsterForm!= null)&&this.gridsterForm.equals(rhs.gridsterForm))));
}
}

View File

@@ -1,592 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* FormDefinitionRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"className",
"customFieldTemplates",
"fields",
"globalDateFormat",
"gridsterForm",
"id",
"javascriptEvents",
"metadata",
"name",
"outcomeTarget",
"outcomes",
"processDefinitionId",
"processDefinitionKey",
"processDefinitionName",
"selectedOutcome",
"style",
"tabs",
"taskDefinitionKey",
"taskId",
"taskName",
"variables"
})
public class FormDefinition__1 {
@JsonProperty("className")
private String className;
@JsonProperty("customFieldTemplates")
private String customFieldTemplates;
@JsonProperty("fields")
private List<Field__1> fields = new ArrayList<Field__1>();
@JsonProperty("globalDateFormat")
private String globalDateFormat;
@JsonProperty("gridsterForm")
private Boolean gridsterForm;
@JsonProperty("id")
private Long id;
@JsonProperty("javascriptEvents")
private List<JavascriptEvent__1> javascriptEvents = new ArrayList<JavascriptEvent__1>();
@JsonProperty("metadata")
private String metadata;
@JsonProperty("name")
private String name;
@JsonProperty("outcomeTarget")
private String outcomeTarget;
@JsonProperty("outcomes")
private List<Outcome__1> outcomes = new ArrayList<Outcome__1>();
@JsonProperty("processDefinitionId")
private String processDefinitionId;
@JsonProperty("processDefinitionKey")
private String processDefinitionKey;
@JsonProperty("processDefinitionName")
private String processDefinitionName;
@JsonProperty("selectedOutcome")
private String selectedOutcome;
@JsonProperty("style")
private String style;
@JsonProperty("tabs")
private List<Tab__1> tabs = new ArrayList<Tab__1>();
@JsonProperty("taskDefinitionKey")
private String taskDefinitionKey;
@JsonProperty("taskId")
private String taskId;
@JsonProperty("taskName")
private String taskName;
@JsonProperty("variables")
private List<Variable__1> variables = new ArrayList<Variable__1>();
/**
* No args constructor for use in serialization
*
*/
public FormDefinition__1() {
}
/**
*
* @param processDefinitionId
* @param metadata
* @param variables
* @param customFieldTemplates
* @param tabs
* @param className
* @param processDefinitionName
* @param outcomeTarget
* @param processDefinitionKey
* @param taskDefinitionKey
* @param outcomes
* @param javascriptEvents
* @param selectedOutcome
* @param name
* @param globalDateFormat
* @param style
* @param taskName
* @param id
* @param fields
* @param taskId
* @param gridsterForm
*/
public FormDefinition__1(String className, String customFieldTemplates, List<Field__1> fields, String globalDateFormat, Boolean gridsterForm, Long id, List<JavascriptEvent__1> javascriptEvents, String metadata, String name, String outcomeTarget, List<Outcome__1> outcomes, String processDefinitionId, String processDefinitionKey, String processDefinitionName, String selectedOutcome, String style, List<Tab__1> tabs, String taskDefinitionKey, String taskId, String taskName, List<Variable__1> variables) {
super();
this.className = className;
this.customFieldTemplates = customFieldTemplates;
this.fields = fields;
this.globalDateFormat = globalDateFormat;
this.gridsterForm = gridsterForm;
this.id = id;
this.javascriptEvents = javascriptEvents;
this.metadata = metadata;
this.name = name;
this.outcomeTarget = outcomeTarget;
this.outcomes = outcomes;
this.processDefinitionId = processDefinitionId;
this.processDefinitionKey = processDefinitionKey;
this.processDefinitionName = processDefinitionName;
this.selectedOutcome = selectedOutcome;
this.style = style;
this.tabs = tabs;
this.taskDefinitionKey = taskDefinitionKey;
this.taskId = taskId;
this.taskName = taskName;
this.variables = variables;
}
@JsonProperty("className")
public String getClassName() {
return className;
}
@JsonProperty("className")
public void setClassName(String className) {
this.className = className;
}
public FormDefinition__1 withClassName(String className) {
this.className = className;
return this;
}
@JsonProperty("customFieldTemplates")
public String getCustomFieldTemplates() {
return customFieldTemplates;
}
@JsonProperty("customFieldTemplates")
public void setCustomFieldTemplates(String customFieldTemplates) {
this.customFieldTemplates = customFieldTemplates;
}
public FormDefinition__1 withCustomFieldTemplates(String customFieldTemplates) {
this.customFieldTemplates = customFieldTemplates;
return this;
}
@JsonProperty("fields")
public List<Field__1> getFields() {
return fields;
}
@JsonProperty("fields")
public void setFields(List<Field__1> fields) {
this.fields = fields;
}
public FormDefinition__1 withFields(List<Field__1> fields) {
this.fields = fields;
return this;
}
@JsonProperty("globalDateFormat")
public String getGlobalDateFormat() {
return globalDateFormat;
}
@JsonProperty("globalDateFormat")
public void setGlobalDateFormat(String globalDateFormat) {
this.globalDateFormat = globalDateFormat;
}
public FormDefinition__1 withGlobalDateFormat(String globalDateFormat) {
this.globalDateFormat = globalDateFormat;
return this;
}
@JsonProperty("gridsterForm")
public Boolean getGridsterForm() {
return gridsterForm;
}
@JsonProperty("gridsterForm")
public void setGridsterForm(Boolean gridsterForm) {
this.gridsterForm = gridsterForm;
}
public FormDefinition__1 withGridsterForm(Boolean gridsterForm) {
this.gridsterForm = gridsterForm;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public FormDefinition__1 withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("javascriptEvents")
public List<JavascriptEvent__1> getJavascriptEvents() {
return javascriptEvents;
}
@JsonProperty("javascriptEvents")
public void setJavascriptEvents(List<JavascriptEvent__1> javascriptEvents) {
this.javascriptEvents = javascriptEvents;
}
public FormDefinition__1 withJavascriptEvents(List<JavascriptEvent__1> javascriptEvents) {
this.javascriptEvents = javascriptEvents;
return this;
}
@JsonProperty("metadata")
public String getMetadata() {
return metadata;
}
@JsonProperty("metadata")
public void setMetadata(String metadata) {
this.metadata = metadata;
}
public FormDefinition__1 withMetadata(String metadata) {
this.metadata = metadata;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public FormDefinition__1 withName(String name) {
this.name = name;
return this;
}
@JsonProperty("outcomeTarget")
public String getOutcomeTarget() {
return outcomeTarget;
}
@JsonProperty("outcomeTarget")
public void setOutcomeTarget(String outcomeTarget) {
this.outcomeTarget = outcomeTarget;
}
public FormDefinition__1 withOutcomeTarget(String outcomeTarget) {
this.outcomeTarget = outcomeTarget;
return this;
}
@JsonProperty("outcomes")
public List<Outcome__1> getOutcomes() {
return outcomes;
}
@JsonProperty("outcomes")
public void setOutcomes(List<Outcome__1> outcomes) {
this.outcomes = outcomes;
}
public FormDefinition__1 withOutcomes(List<Outcome__1> outcomes) {
this.outcomes = outcomes;
return this;
}
@JsonProperty("processDefinitionId")
public String getProcessDefinitionId() {
return processDefinitionId;
}
@JsonProperty("processDefinitionId")
public void setProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
}
public FormDefinition__1 withProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
return this;
}
@JsonProperty("processDefinitionKey")
public String getProcessDefinitionKey() {
return processDefinitionKey;
}
@JsonProperty("processDefinitionKey")
public void setProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
}
public FormDefinition__1 withProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
return this;
}
@JsonProperty("processDefinitionName")
public String getProcessDefinitionName() {
return processDefinitionName;
}
@JsonProperty("processDefinitionName")
public void setProcessDefinitionName(String processDefinitionName) {
this.processDefinitionName = processDefinitionName;
}
public FormDefinition__1 withProcessDefinitionName(String processDefinitionName) {
this.processDefinitionName = processDefinitionName;
return this;
}
@JsonProperty("selectedOutcome")
public String getSelectedOutcome() {
return selectedOutcome;
}
@JsonProperty("selectedOutcome")
public void setSelectedOutcome(String selectedOutcome) {
this.selectedOutcome = selectedOutcome;
}
public FormDefinition__1 withSelectedOutcome(String selectedOutcome) {
this.selectedOutcome = selectedOutcome;
return this;
}
@JsonProperty("style")
public String getStyle() {
return style;
}
@JsonProperty("style")
public void setStyle(String style) {
this.style = style;
}
public FormDefinition__1 withStyle(String style) {
this.style = style;
return this;
}
@JsonProperty("tabs")
public List<Tab__1> getTabs() {
return tabs;
}
@JsonProperty("tabs")
public void setTabs(List<Tab__1> tabs) {
this.tabs = tabs;
}
public FormDefinition__1 withTabs(List<Tab__1> tabs) {
this.tabs = tabs;
return this;
}
@JsonProperty("taskDefinitionKey")
public String getTaskDefinitionKey() {
return taskDefinitionKey;
}
@JsonProperty("taskDefinitionKey")
public void setTaskDefinitionKey(String taskDefinitionKey) {
this.taskDefinitionKey = taskDefinitionKey;
}
public FormDefinition__1 withTaskDefinitionKey(String taskDefinitionKey) {
this.taskDefinitionKey = taskDefinitionKey;
return this;
}
@JsonProperty("taskId")
public String getTaskId() {
return taskId;
}
@JsonProperty("taskId")
public void setTaskId(String taskId) {
this.taskId = taskId;
}
public FormDefinition__1 withTaskId(String taskId) {
this.taskId = taskId;
return this;
}
@JsonProperty("taskName")
public String getTaskName() {
return taskName;
}
@JsonProperty("taskName")
public void setTaskName(String taskName) {
this.taskName = taskName;
}
public FormDefinition__1 withTaskName(String taskName) {
this.taskName = taskName;
return this;
}
@JsonProperty("variables")
public List<Variable__1> getVariables() {
return variables;
}
@JsonProperty("variables")
public void setVariables(List<Variable__1> variables) {
this.variables = variables;
}
public FormDefinition__1 withVariables(List<Variable__1> variables) {
this.variables = variables;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(FormDefinition__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("className");
sb.append('=');
sb.append(((this.className == null)?"<null>":this.className));
sb.append(',');
sb.append("customFieldTemplates");
sb.append('=');
sb.append(((this.customFieldTemplates == null)?"<null>":this.customFieldTemplates));
sb.append(',');
sb.append("fields");
sb.append('=');
sb.append(((this.fields == null)?"<null>":this.fields));
sb.append(',');
sb.append("globalDateFormat");
sb.append('=');
sb.append(((this.globalDateFormat == null)?"<null>":this.globalDateFormat));
sb.append(',');
sb.append("gridsterForm");
sb.append('=');
sb.append(((this.gridsterForm == null)?"<null>":this.gridsterForm));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("javascriptEvents");
sb.append('=');
sb.append(((this.javascriptEvents == null)?"<null>":this.javascriptEvents));
sb.append(',');
sb.append("metadata");
sb.append('=');
sb.append(((this.metadata == null)?"<null>":this.metadata));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("outcomeTarget");
sb.append('=');
sb.append(((this.outcomeTarget == null)?"<null>":this.outcomeTarget));
sb.append(',');
sb.append("outcomes");
sb.append('=');
sb.append(((this.outcomes == null)?"<null>":this.outcomes));
sb.append(',');
sb.append("processDefinitionId");
sb.append('=');
sb.append(((this.processDefinitionId == null)?"<null>":this.processDefinitionId));
sb.append(',');
sb.append("processDefinitionKey");
sb.append('=');
sb.append(((this.processDefinitionKey == null)?"<null>":this.processDefinitionKey));
sb.append(',');
sb.append("processDefinitionName");
sb.append('=');
sb.append(((this.processDefinitionName == null)?"<null>":this.processDefinitionName));
sb.append(',');
sb.append("selectedOutcome");
sb.append('=');
sb.append(((this.selectedOutcome == null)?"<null>":this.selectedOutcome));
sb.append(',');
sb.append("style");
sb.append('=');
sb.append(((this.style == null)?"<null>":this.style));
sb.append(',');
sb.append("tabs");
sb.append('=');
sb.append(((this.tabs == null)?"<null>":this.tabs));
sb.append(',');
sb.append("taskDefinitionKey");
sb.append('=');
sb.append(((this.taskDefinitionKey == null)?"<null>":this.taskDefinitionKey));
sb.append(',');
sb.append("taskId");
sb.append('=');
sb.append(((this.taskId == null)?"<null>":this.taskId));
sb.append(',');
sb.append("taskName");
sb.append('=');
sb.append(((this.taskName == null)?"<null>":this.taskName));
sb.append(',');
sb.append("variables");
sb.append('=');
sb.append(((this.variables == null)?"<null>":this.variables));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.processDefinitionId == null)? 0 :this.processDefinitionId.hashCode()));
result = ((result* 31)+((this.metadata == null)? 0 :this.metadata.hashCode()));
result = ((result* 31)+((this.variables == null)? 0 :this.variables.hashCode()));
result = ((result* 31)+((this.customFieldTemplates == null)? 0 :this.customFieldTemplates.hashCode()));
result = ((result* 31)+((this.tabs == null)? 0 :this.tabs.hashCode()));
result = ((result* 31)+((this.className == null)? 0 :this.className.hashCode()));
result = ((result* 31)+((this.processDefinitionName == null)? 0 :this.processDefinitionName.hashCode()));
result = ((result* 31)+((this.outcomeTarget == null)? 0 :this.outcomeTarget.hashCode()));
result = ((result* 31)+((this.processDefinitionKey == null)? 0 :this.processDefinitionKey.hashCode()));
result = ((result* 31)+((this.taskDefinitionKey == null)? 0 :this.taskDefinitionKey.hashCode()));
result = ((result* 31)+((this.outcomes == null)? 0 :this.outcomes.hashCode()));
result = ((result* 31)+((this.javascriptEvents == null)? 0 :this.javascriptEvents.hashCode()));
result = ((result* 31)+((this.selectedOutcome == null)? 0 :this.selectedOutcome.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.globalDateFormat == null)? 0 :this.globalDateFormat.hashCode()));
result = ((result* 31)+((this.style == null)? 0 :this.style.hashCode()));
result = ((result* 31)+((this.taskName == null)? 0 :this.taskName.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.fields == null)? 0 :this.fields.hashCode()));
result = ((result* 31)+((this.taskId == null)? 0 :this.taskId.hashCode()));
result = ((result* 31)+((this.gridsterForm == null)? 0 :this.gridsterForm.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof FormDefinition__1) == false) {
return false;
}
FormDefinition__1 rhs = ((FormDefinition__1) other);
return ((((((((((((((((((((((this.processDefinitionId == rhs.processDefinitionId)||((this.processDefinitionId!= null)&&this.processDefinitionId.equals(rhs.processDefinitionId)))&&((this.metadata == rhs.metadata)||((this.metadata!= null)&&this.metadata.equals(rhs.metadata))))&&((this.variables == rhs.variables)||((this.variables!= null)&&this.variables.equals(rhs.variables))))&&((this.customFieldTemplates == rhs.customFieldTemplates)||((this.customFieldTemplates!= null)&&this.customFieldTemplates.equals(rhs.customFieldTemplates))))&&((this.tabs == rhs.tabs)||((this.tabs!= null)&&this.tabs.equals(rhs.tabs))))&&((this.className == rhs.className)||((this.className!= null)&&this.className.equals(rhs.className))))&&((this.processDefinitionName == rhs.processDefinitionName)||((this.processDefinitionName!= null)&&this.processDefinitionName.equals(rhs.processDefinitionName))))&&((this.outcomeTarget == rhs.outcomeTarget)||((this.outcomeTarget!= null)&&this.outcomeTarget.equals(rhs.outcomeTarget))))&&((this.processDefinitionKey == rhs.processDefinitionKey)||((this.processDefinitionKey!= null)&&this.processDefinitionKey.equals(rhs.processDefinitionKey))))&&((this.taskDefinitionKey == rhs.taskDefinitionKey)||((this.taskDefinitionKey!= null)&&this.taskDefinitionKey.equals(rhs.taskDefinitionKey))))&&((this.outcomes == rhs.outcomes)||((this.outcomes!= null)&&this.outcomes.equals(rhs.outcomes))))&&((this.javascriptEvents == rhs.javascriptEvents)||((this.javascriptEvents!= null)&&this.javascriptEvents.equals(rhs.javascriptEvents))))&&((this.selectedOutcome == rhs.selectedOutcome)||((this.selectedOutcome!= null)&&this.selectedOutcome.equals(rhs.selectedOutcome))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.globalDateFormat == rhs.globalDateFormat)||((this.globalDateFormat!= null)&&this.globalDateFormat.equals(rhs.globalDateFormat))))&&((this.style == rhs.style)||((this.style!= null)&&this.style.equals(rhs.style))))&&((this.taskName == rhs.taskName)||((this.taskName!= null)&&this.taskName.equals(rhs.taskName))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.fields == rhs.fields)||((this.fields!= null)&&this.fields.equals(rhs.fields))))&&((this.taskId == rhs.taskId)||((this.taskId!= null)&&this.taskId.equals(rhs.taskId))))&&((this.gridsterForm == rhs.gridsterForm)||((this.gridsterForm!= null)&&this.gridsterForm.equals(rhs.gridsterForm))));
}
}

View File

@@ -1,592 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* FormDefinitionRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"className",
"customFieldTemplates",
"fields",
"globalDateFormat",
"gridsterForm",
"id",
"javascriptEvents",
"metadata",
"name",
"outcomeTarget",
"outcomes",
"processDefinitionId",
"processDefinitionKey",
"processDefinitionName",
"selectedOutcome",
"style",
"tabs",
"taskDefinitionKey",
"taskId",
"taskName",
"variables"
})
public class FormDefinition__2 {
@JsonProperty("className")
private String className;
@JsonProperty("customFieldTemplates")
private String customFieldTemplates;
@JsonProperty("fields")
private List<Field__2> fields = new ArrayList<Field__2>();
@JsonProperty("globalDateFormat")
private String globalDateFormat;
@JsonProperty("gridsterForm")
private Boolean gridsterForm;
@JsonProperty("id")
private Long id;
@JsonProperty("javascriptEvents")
private List<JavascriptEvent__2> javascriptEvents = new ArrayList<JavascriptEvent__2>();
@JsonProperty("metadata")
private String metadata;
@JsonProperty("name")
private String name;
@JsonProperty("outcomeTarget")
private String outcomeTarget;
@JsonProperty("outcomes")
private List<Outcome__2> outcomes = new ArrayList<Outcome__2>();
@JsonProperty("processDefinitionId")
private String processDefinitionId;
@JsonProperty("processDefinitionKey")
private String processDefinitionKey;
@JsonProperty("processDefinitionName")
private String processDefinitionName;
@JsonProperty("selectedOutcome")
private String selectedOutcome;
@JsonProperty("style")
private String style;
@JsonProperty("tabs")
private List<Tab__2> tabs = new ArrayList<Tab__2>();
@JsonProperty("taskDefinitionKey")
private String taskDefinitionKey;
@JsonProperty("taskId")
private String taskId;
@JsonProperty("taskName")
private String taskName;
@JsonProperty("variables")
private List<Variable__2> variables = new ArrayList<Variable__2>();
/**
* No args constructor for use in serialization
*
*/
public FormDefinition__2() {
}
/**
*
* @param processDefinitionId
* @param metadata
* @param variables
* @param customFieldTemplates
* @param tabs
* @param className
* @param processDefinitionName
* @param outcomeTarget
* @param processDefinitionKey
* @param taskDefinitionKey
* @param outcomes
* @param javascriptEvents
* @param selectedOutcome
* @param name
* @param globalDateFormat
* @param style
* @param taskName
* @param id
* @param fields
* @param taskId
* @param gridsterForm
*/
public FormDefinition__2(String className, String customFieldTemplates, List<Field__2> fields, String globalDateFormat, Boolean gridsterForm, Long id, List<JavascriptEvent__2> javascriptEvents, String metadata, String name, String outcomeTarget, List<Outcome__2> outcomes, String processDefinitionId, String processDefinitionKey, String processDefinitionName, String selectedOutcome, String style, List<Tab__2> tabs, String taskDefinitionKey, String taskId, String taskName, List<Variable__2> variables) {
super();
this.className = className;
this.customFieldTemplates = customFieldTemplates;
this.fields = fields;
this.globalDateFormat = globalDateFormat;
this.gridsterForm = gridsterForm;
this.id = id;
this.javascriptEvents = javascriptEvents;
this.metadata = metadata;
this.name = name;
this.outcomeTarget = outcomeTarget;
this.outcomes = outcomes;
this.processDefinitionId = processDefinitionId;
this.processDefinitionKey = processDefinitionKey;
this.processDefinitionName = processDefinitionName;
this.selectedOutcome = selectedOutcome;
this.style = style;
this.tabs = tabs;
this.taskDefinitionKey = taskDefinitionKey;
this.taskId = taskId;
this.taskName = taskName;
this.variables = variables;
}
@JsonProperty("className")
public String getClassName() {
return className;
}
@JsonProperty("className")
public void setClassName(String className) {
this.className = className;
}
public FormDefinition__2 withClassName(String className) {
this.className = className;
return this;
}
@JsonProperty("customFieldTemplates")
public String getCustomFieldTemplates() {
return customFieldTemplates;
}
@JsonProperty("customFieldTemplates")
public void setCustomFieldTemplates(String customFieldTemplates) {
this.customFieldTemplates = customFieldTemplates;
}
public FormDefinition__2 withCustomFieldTemplates(String customFieldTemplates) {
this.customFieldTemplates = customFieldTemplates;
return this;
}
@JsonProperty("fields")
public List<Field__2> getFields() {
return fields;
}
@JsonProperty("fields")
public void setFields(List<Field__2> fields) {
this.fields = fields;
}
public FormDefinition__2 withFields(List<Field__2> fields) {
this.fields = fields;
return this;
}
@JsonProperty("globalDateFormat")
public String getGlobalDateFormat() {
return globalDateFormat;
}
@JsonProperty("globalDateFormat")
public void setGlobalDateFormat(String globalDateFormat) {
this.globalDateFormat = globalDateFormat;
}
public FormDefinition__2 withGlobalDateFormat(String globalDateFormat) {
this.globalDateFormat = globalDateFormat;
return this;
}
@JsonProperty("gridsterForm")
public Boolean getGridsterForm() {
return gridsterForm;
}
@JsonProperty("gridsterForm")
public void setGridsterForm(Boolean gridsterForm) {
this.gridsterForm = gridsterForm;
}
public FormDefinition__2 withGridsterForm(Boolean gridsterForm) {
this.gridsterForm = gridsterForm;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public FormDefinition__2 withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("javascriptEvents")
public List<JavascriptEvent__2> getJavascriptEvents() {
return javascriptEvents;
}
@JsonProperty("javascriptEvents")
public void setJavascriptEvents(List<JavascriptEvent__2> javascriptEvents) {
this.javascriptEvents = javascriptEvents;
}
public FormDefinition__2 withJavascriptEvents(List<JavascriptEvent__2> javascriptEvents) {
this.javascriptEvents = javascriptEvents;
return this;
}
@JsonProperty("metadata")
public String getMetadata() {
return metadata;
}
@JsonProperty("metadata")
public void setMetadata(String metadata) {
this.metadata = metadata;
}
public FormDefinition__2 withMetadata(String metadata) {
this.metadata = metadata;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public FormDefinition__2 withName(String name) {
this.name = name;
return this;
}
@JsonProperty("outcomeTarget")
public String getOutcomeTarget() {
return outcomeTarget;
}
@JsonProperty("outcomeTarget")
public void setOutcomeTarget(String outcomeTarget) {
this.outcomeTarget = outcomeTarget;
}
public FormDefinition__2 withOutcomeTarget(String outcomeTarget) {
this.outcomeTarget = outcomeTarget;
return this;
}
@JsonProperty("outcomes")
public List<Outcome__2> getOutcomes() {
return outcomes;
}
@JsonProperty("outcomes")
public void setOutcomes(List<Outcome__2> outcomes) {
this.outcomes = outcomes;
}
public FormDefinition__2 withOutcomes(List<Outcome__2> outcomes) {
this.outcomes = outcomes;
return this;
}
@JsonProperty("processDefinitionId")
public String getProcessDefinitionId() {
return processDefinitionId;
}
@JsonProperty("processDefinitionId")
public void setProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
}
public FormDefinition__2 withProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
return this;
}
@JsonProperty("processDefinitionKey")
public String getProcessDefinitionKey() {
return processDefinitionKey;
}
@JsonProperty("processDefinitionKey")
public void setProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
}
public FormDefinition__2 withProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
return this;
}
@JsonProperty("processDefinitionName")
public String getProcessDefinitionName() {
return processDefinitionName;
}
@JsonProperty("processDefinitionName")
public void setProcessDefinitionName(String processDefinitionName) {
this.processDefinitionName = processDefinitionName;
}
public FormDefinition__2 withProcessDefinitionName(String processDefinitionName) {
this.processDefinitionName = processDefinitionName;
return this;
}
@JsonProperty("selectedOutcome")
public String getSelectedOutcome() {
return selectedOutcome;
}
@JsonProperty("selectedOutcome")
public void setSelectedOutcome(String selectedOutcome) {
this.selectedOutcome = selectedOutcome;
}
public FormDefinition__2 withSelectedOutcome(String selectedOutcome) {
this.selectedOutcome = selectedOutcome;
return this;
}
@JsonProperty("style")
public String getStyle() {
return style;
}
@JsonProperty("style")
public void setStyle(String style) {
this.style = style;
}
public FormDefinition__2 withStyle(String style) {
this.style = style;
return this;
}
@JsonProperty("tabs")
public List<Tab__2> getTabs() {
return tabs;
}
@JsonProperty("tabs")
public void setTabs(List<Tab__2> tabs) {
this.tabs = tabs;
}
public FormDefinition__2 withTabs(List<Tab__2> tabs) {
this.tabs = tabs;
return this;
}
@JsonProperty("taskDefinitionKey")
public String getTaskDefinitionKey() {
return taskDefinitionKey;
}
@JsonProperty("taskDefinitionKey")
public void setTaskDefinitionKey(String taskDefinitionKey) {
this.taskDefinitionKey = taskDefinitionKey;
}
public FormDefinition__2 withTaskDefinitionKey(String taskDefinitionKey) {
this.taskDefinitionKey = taskDefinitionKey;
return this;
}
@JsonProperty("taskId")
public String getTaskId() {
return taskId;
}
@JsonProperty("taskId")
public void setTaskId(String taskId) {
this.taskId = taskId;
}
public FormDefinition__2 withTaskId(String taskId) {
this.taskId = taskId;
return this;
}
@JsonProperty("taskName")
public String getTaskName() {
return taskName;
}
@JsonProperty("taskName")
public void setTaskName(String taskName) {
this.taskName = taskName;
}
public FormDefinition__2 withTaskName(String taskName) {
this.taskName = taskName;
return this;
}
@JsonProperty("variables")
public List<Variable__2> getVariables() {
return variables;
}
@JsonProperty("variables")
public void setVariables(List<Variable__2> variables) {
this.variables = variables;
}
public FormDefinition__2 withVariables(List<Variable__2> variables) {
this.variables = variables;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(FormDefinition__2 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("className");
sb.append('=');
sb.append(((this.className == null)?"<null>":this.className));
sb.append(',');
sb.append("customFieldTemplates");
sb.append('=');
sb.append(((this.customFieldTemplates == null)?"<null>":this.customFieldTemplates));
sb.append(',');
sb.append("fields");
sb.append('=');
sb.append(((this.fields == null)?"<null>":this.fields));
sb.append(',');
sb.append("globalDateFormat");
sb.append('=');
sb.append(((this.globalDateFormat == null)?"<null>":this.globalDateFormat));
sb.append(',');
sb.append("gridsterForm");
sb.append('=');
sb.append(((this.gridsterForm == null)?"<null>":this.gridsterForm));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("javascriptEvents");
sb.append('=');
sb.append(((this.javascriptEvents == null)?"<null>":this.javascriptEvents));
sb.append(',');
sb.append("metadata");
sb.append('=');
sb.append(((this.metadata == null)?"<null>":this.metadata));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("outcomeTarget");
sb.append('=');
sb.append(((this.outcomeTarget == null)?"<null>":this.outcomeTarget));
sb.append(',');
sb.append("outcomes");
sb.append('=');
sb.append(((this.outcomes == null)?"<null>":this.outcomes));
sb.append(',');
sb.append("processDefinitionId");
sb.append('=');
sb.append(((this.processDefinitionId == null)?"<null>":this.processDefinitionId));
sb.append(',');
sb.append("processDefinitionKey");
sb.append('=');
sb.append(((this.processDefinitionKey == null)?"<null>":this.processDefinitionKey));
sb.append(',');
sb.append("processDefinitionName");
sb.append('=');
sb.append(((this.processDefinitionName == null)?"<null>":this.processDefinitionName));
sb.append(',');
sb.append("selectedOutcome");
sb.append('=');
sb.append(((this.selectedOutcome == null)?"<null>":this.selectedOutcome));
sb.append(',');
sb.append("style");
sb.append('=');
sb.append(((this.style == null)?"<null>":this.style));
sb.append(',');
sb.append("tabs");
sb.append('=');
sb.append(((this.tabs == null)?"<null>":this.tabs));
sb.append(',');
sb.append("taskDefinitionKey");
sb.append('=');
sb.append(((this.taskDefinitionKey == null)?"<null>":this.taskDefinitionKey));
sb.append(',');
sb.append("taskId");
sb.append('=');
sb.append(((this.taskId == null)?"<null>":this.taskId));
sb.append(',');
sb.append("taskName");
sb.append('=');
sb.append(((this.taskName == null)?"<null>":this.taskName));
sb.append(',');
sb.append("variables");
sb.append('=');
sb.append(((this.variables == null)?"<null>":this.variables));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.processDefinitionId == null)? 0 :this.processDefinitionId.hashCode()));
result = ((result* 31)+((this.metadata == null)? 0 :this.metadata.hashCode()));
result = ((result* 31)+((this.variables == null)? 0 :this.variables.hashCode()));
result = ((result* 31)+((this.customFieldTemplates == null)? 0 :this.customFieldTemplates.hashCode()));
result = ((result* 31)+((this.tabs == null)? 0 :this.tabs.hashCode()));
result = ((result* 31)+((this.className == null)? 0 :this.className.hashCode()));
result = ((result* 31)+((this.processDefinitionName == null)? 0 :this.processDefinitionName.hashCode()));
result = ((result* 31)+((this.outcomeTarget == null)? 0 :this.outcomeTarget.hashCode()));
result = ((result* 31)+((this.processDefinitionKey == null)? 0 :this.processDefinitionKey.hashCode()));
result = ((result* 31)+((this.taskDefinitionKey == null)? 0 :this.taskDefinitionKey.hashCode()));
result = ((result* 31)+((this.outcomes == null)? 0 :this.outcomes.hashCode()));
result = ((result* 31)+((this.javascriptEvents == null)? 0 :this.javascriptEvents.hashCode()));
result = ((result* 31)+((this.selectedOutcome == null)? 0 :this.selectedOutcome.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.globalDateFormat == null)? 0 :this.globalDateFormat.hashCode()));
result = ((result* 31)+((this.style == null)? 0 :this.style.hashCode()));
result = ((result* 31)+((this.taskName == null)? 0 :this.taskName.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.fields == null)? 0 :this.fields.hashCode()));
result = ((result* 31)+((this.taskId == null)? 0 :this.taskId.hashCode()));
result = ((result* 31)+((this.gridsterForm == null)? 0 :this.gridsterForm.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof FormDefinition__2) == false) {
return false;
}
FormDefinition__2 rhs = ((FormDefinition__2) other);
return ((((((((((((((((((((((this.processDefinitionId == rhs.processDefinitionId)||((this.processDefinitionId!= null)&&this.processDefinitionId.equals(rhs.processDefinitionId)))&&((this.metadata == rhs.metadata)||((this.metadata!= null)&&this.metadata.equals(rhs.metadata))))&&((this.variables == rhs.variables)||((this.variables!= null)&&this.variables.equals(rhs.variables))))&&((this.customFieldTemplates == rhs.customFieldTemplates)||((this.customFieldTemplates!= null)&&this.customFieldTemplates.equals(rhs.customFieldTemplates))))&&((this.tabs == rhs.tabs)||((this.tabs!= null)&&this.tabs.equals(rhs.tabs))))&&((this.className == rhs.className)||((this.className!= null)&&this.className.equals(rhs.className))))&&((this.processDefinitionName == rhs.processDefinitionName)||((this.processDefinitionName!= null)&&this.processDefinitionName.equals(rhs.processDefinitionName))))&&((this.outcomeTarget == rhs.outcomeTarget)||((this.outcomeTarget!= null)&&this.outcomeTarget.equals(rhs.outcomeTarget))))&&((this.processDefinitionKey == rhs.processDefinitionKey)||((this.processDefinitionKey!= null)&&this.processDefinitionKey.equals(rhs.processDefinitionKey))))&&((this.taskDefinitionKey == rhs.taskDefinitionKey)||((this.taskDefinitionKey!= null)&&this.taskDefinitionKey.equals(rhs.taskDefinitionKey))))&&((this.outcomes == rhs.outcomes)||((this.outcomes!= null)&&this.outcomes.equals(rhs.outcomes))))&&((this.javascriptEvents == rhs.javascriptEvents)||((this.javascriptEvents!= null)&&this.javascriptEvents.equals(rhs.javascriptEvents))))&&((this.selectedOutcome == rhs.selectedOutcome)||((this.selectedOutcome!= null)&&this.selectedOutcome.equals(rhs.selectedOutcome))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.globalDateFormat == rhs.globalDateFormat)||((this.globalDateFormat!= null)&&this.globalDateFormat.equals(rhs.globalDateFormat))))&&((this.style == rhs.style)||((this.style!= null)&&this.style.equals(rhs.style))))&&((this.taskName == rhs.taskName)||((this.taskName!= null)&&this.taskName.equals(rhs.taskName))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.fields == rhs.fields)||((this.fields!= null)&&this.fields.equals(rhs.fields))))&&((this.taskId == rhs.taskId)||((this.taskId!= null)&&this.taskId.equals(rhs.taskId))))&&((this.gridsterForm == rhs.gridsterForm)||((this.gridsterForm!= null)&&this.gridsterForm.equals(rhs.gridsterForm))));
}
}

View File

@@ -1,333 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* FormRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"description",
"formDefinition",
"id",
"lastUpdated",
"lastUpdatedBy",
"lastUpdatedByFullName",
"name",
"referenceId",
"stencilSetId",
"version"
})
public class FormRepresentation {
@JsonProperty("description")
private String description;
/**
* FormDefinitionRepresentation
* <p>
*
*
*/
@JsonProperty("formDefinition")
private FormDefinition__1 formDefinition;
@JsonProperty("id")
private Long id;
@JsonProperty("lastUpdated")
private String lastUpdated;
@JsonProperty("lastUpdatedBy")
private Long lastUpdatedBy;
@JsonProperty("lastUpdatedByFullName")
private String lastUpdatedByFullName;
@JsonProperty("name")
private String name;
@JsonProperty("referenceId")
private Long referenceId;
@JsonProperty("stencilSetId")
private Long stencilSetId;
@JsonProperty("version")
private Long version;
/**
* No args constructor for use in serialization
*
*/
public FormRepresentation() {
}
/**
*
* @param lastUpdated
* @param lastUpdatedBy
* @param formDefinition
* @param lastUpdatedByFullName
* @param name
* @param description
* @param id
* @param version
* @param referenceId
* @param stencilSetId
*/
public FormRepresentation(String description, FormDefinition__1 formDefinition, Long id, String lastUpdated, Long lastUpdatedBy, String lastUpdatedByFullName, String name, Long referenceId, Long stencilSetId, Long version) {
super();
this.description = description;
this.formDefinition = formDefinition;
this.id = id;
this.lastUpdated = lastUpdated;
this.lastUpdatedBy = lastUpdatedBy;
this.lastUpdatedByFullName = lastUpdatedByFullName;
this.name = name;
this.referenceId = referenceId;
this.stencilSetId = stencilSetId;
this.version = version;
}
@JsonProperty("description")
public String getDescription() {
return description;
}
@JsonProperty("description")
public void setDescription(String description) {
this.description = description;
}
public FormRepresentation withDescription(String description) {
this.description = description;
return this;
}
/**
* FormDefinitionRepresentation
* <p>
*
*
*/
@JsonProperty("formDefinition")
public FormDefinition__1 getFormDefinition() {
return formDefinition;
}
/**
* FormDefinitionRepresentation
* <p>
*
*
*/
@JsonProperty("formDefinition")
public void setFormDefinition(FormDefinition__1 formDefinition) {
this.formDefinition = formDefinition;
}
public FormRepresentation withFormDefinition(FormDefinition__1 formDefinition) {
this.formDefinition = formDefinition;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public FormRepresentation withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("lastUpdated")
public String getLastUpdated() {
return lastUpdated;
}
@JsonProperty("lastUpdated")
public void setLastUpdated(String lastUpdated) {
this.lastUpdated = lastUpdated;
}
public FormRepresentation withLastUpdated(String lastUpdated) {
this.lastUpdated = lastUpdated;
return this;
}
@JsonProperty("lastUpdatedBy")
public Long getLastUpdatedBy() {
return lastUpdatedBy;
}
@JsonProperty("lastUpdatedBy")
public void setLastUpdatedBy(Long lastUpdatedBy) {
this.lastUpdatedBy = lastUpdatedBy;
}
public FormRepresentation withLastUpdatedBy(Long lastUpdatedBy) {
this.lastUpdatedBy = lastUpdatedBy;
return this;
}
@JsonProperty("lastUpdatedByFullName")
public String getLastUpdatedByFullName() {
return lastUpdatedByFullName;
}
@JsonProperty("lastUpdatedByFullName")
public void setLastUpdatedByFullName(String lastUpdatedByFullName) {
this.lastUpdatedByFullName = lastUpdatedByFullName;
}
public FormRepresentation withLastUpdatedByFullName(String lastUpdatedByFullName) {
this.lastUpdatedByFullName = lastUpdatedByFullName;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public FormRepresentation withName(String name) {
this.name = name;
return this;
}
@JsonProperty("referenceId")
public Long getReferenceId() {
return referenceId;
}
@JsonProperty("referenceId")
public void setReferenceId(Long referenceId) {
this.referenceId = referenceId;
}
public FormRepresentation withReferenceId(Long referenceId) {
this.referenceId = referenceId;
return this;
}
@JsonProperty("stencilSetId")
public Long getStencilSetId() {
return stencilSetId;
}
@JsonProperty("stencilSetId")
public void setStencilSetId(Long stencilSetId) {
this.stencilSetId = stencilSetId;
}
public FormRepresentation withStencilSetId(Long stencilSetId) {
this.stencilSetId = stencilSetId;
return this;
}
@JsonProperty("version")
public Long getVersion() {
return version;
}
@JsonProperty("version")
public void setVersion(Long version) {
this.version = version;
}
public FormRepresentation withVersion(Long version) {
this.version = version;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(FormRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("description");
sb.append('=');
sb.append(((this.description == null)?"<null>":this.description));
sb.append(',');
sb.append("formDefinition");
sb.append('=');
sb.append(((this.formDefinition == null)?"<null>":this.formDefinition));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("lastUpdated");
sb.append('=');
sb.append(((this.lastUpdated == null)?"<null>":this.lastUpdated));
sb.append(',');
sb.append("lastUpdatedBy");
sb.append('=');
sb.append(((this.lastUpdatedBy == null)?"<null>":this.lastUpdatedBy));
sb.append(',');
sb.append("lastUpdatedByFullName");
sb.append('=');
sb.append(((this.lastUpdatedByFullName == null)?"<null>":this.lastUpdatedByFullName));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("referenceId");
sb.append('=');
sb.append(((this.referenceId == null)?"<null>":this.referenceId));
sb.append(',');
sb.append("stencilSetId");
sb.append('=');
sb.append(((this.stencilSetId == null)?"<null>":this.stencilSetId));
sb.append(',');
sb.append("version");
sb.append('=');
sb.append(((this.version == null)?"<null>":this.version));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.lastUpdated == null)? 0 :this.lastUpdated.hashCode()));
result = ((result* 31)+((this.lastUpdatedBy == null)? 0 :this.lastUpdatedBy.hashCode()));
result = ((result* 31)+((this.formDefinition == null)? 0 :this.formDefinition.hashCode()));
result = ((result* 31)+((this.lastUpdatedByFullName == null)? 0 :this.lastUpdatedByFullName.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.version == null)? 0 :this.version.hashCode()));
result = ((result* 31)+((this.referenceId == null)? 0 :this.referenceId.hashCode()));
result = ((result* 31)+((this.stencilSetId == null)? 0 :this.stencilSetId.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof FormRepresentation) == false) {
return false;
}
FormRepresentation rhs = ((FormRepresentation) other);
return (((((((((((this.lastUpdated == rhs.lastUpdated)||((this.lastUpdated!= null)&&this.lastUpdated.equals(rhs.lastUpdated)))&&((this.lastUpdatedBy == rhs.lastUpdatedBy)||((this.lastUpdatedBy!= null)&&this.lastUpdatedBy.equals(rhs.lastUpdatedBy))))&&((this.formDefinition == rhs.formDefinition)||((this.formDefinition!= null)&&this.formDefinition.equals(rhs.formDefinition))))&&((this.lastUpdatedByFullName == rhs.lastUpdatedByFullName)||((this.lastUpdatedByFullName!= null)&&this.lastUpdatedByFullName.equals(rhs.lastUpdatedByFullName))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.version == rhs.version)||((this.version!= null)&&this.version.equals(rhs.version))))&&((this.referenceId == rhs.referenceId)||((this.referenceId!= null)&&this.referenceId.equals(rhs.referenceId))))&&((this.stencilSetId == rhs.stencilSetId)||((this.stencilSetId!= null)&&this.stencilSetId.equals(rhs.stencilSetId))));
}
}

View File

@@ -1,333 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* FormRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"description",
"formDefinition",
"id",
"lastUpdated",
"lastUpdatedBy",
"lastUpdatedByFullName",
"name",
"referenceId",
"stencilSetId",
"version"
})
public class FormRepresentation__1 {
@JsonProperty("description")
private String description;
/**
* FormDefinitionRepresentation
* <p>
*
*
*/
@JsonProperty("formDefinition")
private FormDefinition__2 formDefinition;
@JsonProperty("id")
private Long id;
@JsonProperty("lastUpdated")
private String lastUpdated;
@JsonProperty("lastUpdatedBy")
private Long lastUpdatedBy;
@JsonProperty("lastUpdatedByFullName")
private String lastUpdatedByFullName;
@JsonProperty("name")
private String name;
@JsonProperty("referenceId")
private Long referenceId;
@JsonProperty("stencilSetId")
private Long stencilSetId;
@JsonProperty("version")
private Long version;
/**
* No args constructor for use in serialization
*
*/
public FormRepresentation__1() {
}
/**
*
* @param lastUpdated
* @param lastUpdatedBy
* @param formDefinition
* @param lastUpdatedByFullName
* @param name
* @param description
* @param id
* @param version
* @param referenceId
* @param stencilSetId
*/
public FormRepresentation__1(String description, FormDefinition__2 formDefinition, Long id, String lastUpdated, Long lastUpdatedBy, String lastUpdatedByFullName, String name, Long referenceId, Long stencilSetId, Long version) {
super();
this.description = description;
this.formDefinition = formDefinition;
this.id = id;
this.lastUpdated = lastUpdated;
this.lastUpdatedBy = lastUpdatedBy;
this.lastUpdatedByFullName = lastUpdatedByFullName;
this.name = name;
this.referenceId = referenceId;
this.stencilSetId = stencilSetId;
this.version = version;
}
@JsonProperty("description")
public String getDescription() {
return description;
}
@JsonProperty("description")
public void setDescription(String description) {
this.description = description;
}
public FormRepresentation__1 withDescription(String description) {
this.description = description;
return this;
}
/**
* FormDefinitionRepresentation
* <p>
*
*
*/
@JsonProperty("formDefinition")
public FormDefinition__2 getFormDefinition() {
return formDefinition;
}
/**
* FormDefinitionRepresentation
* <p>
*
*
*/
@JsonProperty("formDefinition")
public void setFormDefinition(FormDefinition__2 formDefinition) {
this.formDefinition = formDefinition;
}
public FormRepresentation__1 withFormDefinition(FormDefinition__2 formDefinition) {
this.formDefinition = formDefinition;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public FormRepresentation__1 withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("lastUpdated")
public String getLastUpdated() {
return lastUpdated;
}
@JsonProperty("lastUpdated")
public void setLastUpdated(String lastUpdated) {
this.lastUpdated = lastUpdated;
}
public FormRepresentation__1 withLastUpdated(String lastUpdated) {
this.lastUpdated = lastUpdated;
return this;
}
@JsonProperty("lastUpdatedBy")
public Long getLastUpdatedBy() {
return lastUpdatedBy;
}
@JsonProperty("lastUpdatedBy")
public void setLastUpdatedBy(Long lastUpdatedBy) {
this.lastUpdatedBy = lastUpdatedBy;
}
public FormRepresentation__1 withLastUpdatedBy(Long lastUpdatedBy) {
this.lastUpdatedBy = lastUpdatedBy;
return this;
}
@JsonProperty("lastUpdatedByFullName")
public String getLastUpdatedByFullName() {
return lastUpdatedByFullName;
}
@JsonProperty("lastUpdatedByFullName")
public void setLastUpdatedByFullName(String lastUpdatedByFullName) {
this.lastUpdatedByFullName = lastUpdatedByFullName;
}
public FormRepresentation__1 withLastUpdatedByFullName(String lastUpdatedByFullName) {
this.lastUpdatedByFullName = lastUpdatedByFullName;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public FormRepresentation__1 withName(String name) {
this.name = name;
return this;
}
@JsonProperty("referenceId")
public Long getReferenceId() {
return referenceId;
}
@JsonProperty("referenceId")
public void setReferenceId(Long referenceId) {
this.referenceId = referenceId;
}
public FormRepresentation__1 withReferenceId(Long referenceId) {
this.referenceId = referenceId;
return this;
}
@JsonProperty("stencilSetId")
public Long getStencilSetId() {
return stencilSetId;
}
@JsonProperty("stencilSetId")
public void setStencilSetId(Long stencilSetId) {
this.stencilSetId = stencilSetId;
}
public FormRepresentation__1 withStencilSetId(Long stencilSetId) {
this.stencilSetId = stencilSetId;
return this;
}
@JsonProperty("version")
public Long getVersion() {
return version;
}
@JsonProperty("version")
public void setVersion(Long version) {
this.version = version;
}
public FormRepresentation__1 withVersion(Long version) {
this.version = version;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(FormRepresentation__1 .class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("description");
sb.append('=');
sb.append(((this.description == null)?"<null>":this.description));
sb.append(',');
sb.append("formDefinition");
sb.append('=');
sb.append(((this.formDefinition == null)?"<null>":this.formDefinition));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("lastUpdated");
sb.append('=');
sb.append(((this.lastUpdated == null)?"<null>":this.lastUpdated));
sb.append(',');
sb.append("lastUpdatedBy");
sb.append('=');
sb.append(((this.lastUpdatedBy == null)?"<null>":this.lastUpdatedBy));
sb.append(',');
sb.append("lastUpdatedByFullName");
sb.append('=');
sb.append(((this.lastUpdatedByFullName == null)?"<null>":this.lastUpdatedByFullName));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("referenceId");
sb.append('=');
sb.append(((this.referenceId == null)?"<null>":this.referenceId));
sb.append(',');
sb.append("stencilSetId");
sb.append('=');
sb.append(((this.stencilSetId == null)?"<null>":this.stencilSetId));
sb.append(',');
sb.append("version");
sb.append('=');
sb.append(((this.version == null)?"<null>":this.version));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.lastUpdated == null)? 0 :this.lastUpdated.hashCode()));
result = ((result* 31)+((this.lastUpdatedBy == null)? 0 :this.lastUpdatedBy.hashCode()));
result = ((result* 31)+((this.formDefinition == null)? 0 :this.formDefinition.hashCode()));
result = ((result* 31)+((this.lastUpdatedByFullName == null)? 0 :this.lastUpdatedByFullName.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.version == null)? 0 :this.version.hashCode()));
result = ((result* 31)+((this.referenceId == null)? 0 :this.referenceId.hashCode()));
result = ((result* 31)+((this.stencilSetId == null)? 0 :this.stencilSetId.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof FormRepresentation__1) == false) {
return false;
}
FormRepresentation__1 rhs = ((FormRepresentation__1) other);
return (((((((((((this.lastUpdated == rhs.lastUpdated)||((this.lastUpdated!= null)&&this.lastUpdated.equals(rhs.lastUpdated)))&&((this.lastUpdatedBy == rhs.lastUpdatedBy)||((this.lastUpdatedBy!= null)&&this.lastUpdatedBy.equals(rhs.lastUpdatedBy))))&&((this.formDefinition == rhs.formDefinition)||((this.formDefinition!= null)&&this.formDefinition.equals(rhs.formDefinition))))&&((this.lastUpdatedByFullName == rhs.lastUpdatedByFullName)||((this.lastUpdatedByFullName!= null)&&this.lastUpdatedByFullName.equals(rhs.lastUpdatedByFullName))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.version == rhs.version)||((this.version!= null)&&this.version.equals(rhs.version))))&&((this.referenceId == rhs.referenceId)||((this.referenceId!= null)&&this.referenceId.equals(rhs.referenceId))))&&((this.stencilSetId == rhs.stencilSetId)||((this.stencilSetId!= null)&&this.stencilSetId.equals(rhs.stencilSetId))));
}
}

View File

@@ -1,333 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* FormRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"description",
"formDefinition",
"id",
"lastUpdated",
"lastUpdatedBy",
"lastUpdatedByFullName",
"name",
"referenceId",
"stencilSetId",
"version"
})
public class FormRepresentationarray {
@JsonProperty("description")
private String description;
/**
* FormDefinitionRepresentation
* <p>
*
*
*/
@JsonProperty("formDefinition")
private FormDefinition formDefinition;
@JsonProperty("id")
private Long id;
@JsonProperty("lastUpdated")
private String lastUpdated;
@JsonProperty("lastUpdatedBy")
private Long lastUpdatedBy;
@JsonProperty("lastUpdatedByFullName")
private String lastUpdatedByFullName;
@JsonProperty("name")
private String name;
@JsonProperty("referenceId")
private Long referenceId;
@JsonProperty("stencilSetId")
private Long stencilSetId;
@JsonProperty("version")
private Long version;
/**
* No args constructor for use in serialization
*
*/
public FormRepresentationarray() {
}
/**
*
* @param lastUpdated
* @param lastUpdatedBy
* @param formDefinition
* @param lastUpdatedByFullName
* @param name
* @param description
* @param id
* @param version
* @param referenceId
* @param stencilSetId
*/
public FormRepresentationarray(String description, FormDefinition formDefinition, Long id, String lastUpdated, Long lastUpdatedBy, String lastUpdatedByFullName, String name, Long referenceId, Long stencilSetId, Long version) {
super();
this.description = description;
this.formDefinition = formDefinition;
this.id = id;
this.lastUpdated = lastUpdated;
this.lastUpdatedBy = lastUpdatedBy;
this.lastUpdatedByFullName = lastUpdatedByFullName;
this.name = name;
this.referenceId = referenceId;
this.stencilSetId = stencilSetId;
this.version = version;
}
@JsonProperty("description")
public String getDescription() {
return description;
}
@JsonProperty("description")
public void setDescription(String description) {
this.description = description;
}
public FormRepresentationarray withDescription(String description) {
this.description = description;
return this;
}
/**
* FormDefinitionRepresentation
* <p>
*
*
*/
@JsonProperty("formDefinition")
public FormDefinition getFormDefinition() {
return formDefinition;
}
/**
* FormDefinitionRepresentation
* <p>
*
*
*/
@JsonProperty("formDefinition")
public void setFormDefinition(FormDefinition formDefinition) {
this.formDefinition = formDefinition;
}
public FormRepresentationarray withFormDefinition(FormDefinition formDefinition) {
this.formDefinition = formDefinition;
return this;
}
@JsonProperty("id")
public Long getId() {
return id;
}
@JsonProperty("id")
public void setId(Long id) {
this.id = id;
}
public FormRepresentationarray withId(Long id) {
this.id = id;
return this;
}
@JsonProperty("lastUpdated")
public String getLastUpdated() {
return lastUpdated;
}
@JsonProperty("lastUpdated")
public void setLastUpdated(String lastUpdated) {
this.lastUpdated = lastUpdated;
}
public FormRepresentationarray withLastUpdated(String lastUpdated) {
this.lastUpdated = lastUpdated;
return this;
}
@JsonProperty("lastUpdatedBy")
public Long getLastUpdatedBy() {
return lastUpdatedBy;
}
@JsonProperty("lastUpdatedBy")
public void setLastUpdatedBy(Long lastUpdatedBy) {
this.lastUpdatedBy = lastUpdatedBy;
}
public FormRepresentationarray withLastUpdatedBy(Long lastUpdatedBy) {
this.lastUpdatedBy = lastUpdatedBy;
return this;
}
@JsonProperty("lastUpdatedByFullName")
public String getLastUpdatedByFullName() {
return lastUpdatedByFullName;
}
@JsonProperty("lastUpdatedByFullName")
public void setLastUpdatedByFullName(String lastUpdatedByFullName) {
this.lastUpdatedByFullName = lastUpdatedByFullName;
}
public FormRepresentationarray withLastUpdatedByFullName(String lastUpdatedByFullName) {
this.lastUpdatedByFullName = lastUpdatedByFullName;
return this;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public FormRepresentationarray withName(String name) {
this.name = name;
return this;
}
@JsonProperty("referenceId")
public Long getReferenceId() {
return referenceId;
}
@JsonProperty("referenceId")
public void setReferenceId(Long referenceId) {
this.referenceId = referenceId;
}
public FormRepresentationarray withReferenceId(Long referenceId) {
this.referenceId = referenceId;
return this;
}
@JsonProperty("stencilSetId")
public Long getStencilSetId() {
return stencilSetId;
}
@JsonProperty("stencilSetId")
public void setStencilSetId(Long stencilSetId) {
this.stencilSetId = stencilSetId;
}
public FormRepresentationarray withStencilSetId(Long stencilSetId) {
this.stencilSetId = stencilSetId;
return this;
}
@JsonProperty("version")
public Long getVersion() {
return version;
}
@JsonProperty("version")
public void setVersion(Long version) {
this.version = version;
}
public FormRepresentationarray withVersion(Long version) {
this.version = version;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(FormRepresentationarray.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("description");
sb.append('=');
sb.append(((this.description == null)?"<null>":this.description));
sb.append(',');
sb.append("formDefinition");
sb.append('=');
sb.append(((this.formDefinition == null)?"<null>":this.formDefinition));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"<null>":this.id));
sb.append(',');
sb.append("lastUpdated");
sb.append('=');
sb.append(((this.lastUpdated == null)?"<null>":this.lastUpdated));
sb.append(',');
sb.append("lastUpdatedBy");
sb.append('=');
sb.append(((this.lastUpdatedBy == null)?"<null>":this.lastUpdatedBy));
sb.append(',');
sb.append("lastUpdatedByFullName");
sb.append('=');
sb.append(((this.lastUpdatedByFullName == null)?"<null>":this.lastUpdatedByFullName));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"<null>":this.name));
sb.append(',');
sb.append("referenceId");
sb.append('=');
sb.append(((this.referenceId == null)?"<null>":this.referenceId));
sb.append(',');
sb.append("stencilSetId");
sb.append('=');
sb.append(((this.stencilSetId == null)?"<null>":this.stencilSetId));
sb.append(',');
sb.append("version");
sb.append('=');
sb.append(((this.version == null)?"<null>":this.version));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.lastUpdated == null)? 0 :this.lastUpdated.hashCode()));
result = ((result* 31)+((this.lastUpdatedBy == null)? 0 :this.lastUpdatedBy.hashCode()));
result = ((result* 31)+((this.formDefinition == null)? 0 :this.formDefinition.hashCode()));
result = ((result* 31)+((this.lastUpdatedByFullName == null)? 0 :this.lastUpdatedByFullName.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.version == null)? 0 :this.version.hashCode()));
result = ((result* 31)+((this.referenceId == null)? 0 :this.referenceId.hashCode()));
result = ((result* 31)+((this.stencilSetId == null)? 0 :this.stencilSetId.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof FormRepresentationarray) == false) {
return false;
}
FormRepresentationarray rhs = ((FormRepresentationarray) other);
return (((((((((((this.lastUpdated == rhs.lastUpdated)||((this.lastUpdated!= null)&&this.lastUpdated.equals(rhs.lastUpdated)))&&((this.lastUpdatedBy == rhs.lastUpdatedBy)||((this.lastUpdatedBy!= null)&&this.lastUpdatedBy.equals(rhs.lastUpdatedBy))))&&((this.formDefinition == rhs.formDefinition)||((this.formDefinition!= null)&&this.formDefinition.equals(rhs.formDefinition))))&&((this.lastUpdatedByFullName == rhs.lastUpdatedByFullName)||((this.lastUpdatedByFullName!= null)&&this.lastUpdatedByFullName.equals(rhs.lastUpdatedByFullName))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.version == rhs.version)||((this.version!= null)&&this.version.equals(rhs.version))))&&((this.referenceId == rhs.referenceId)||((this.referenceId!= null)&&this.referenceId.equals(rhs.referenceId))))&&((this.stencilSetId == rhs.stencilSetId)||((this.stencilSetId!= null)&&this.stencilSetId.equals(rhs.stencilSetId))));
}
}

View File

@@ -1,235 +0,0 @@
package com.inteligr8.alfresco.activiti.raml.model;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* FormSaveRepresentation
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"comment",
"formImageBase64",
"formRepresentation",
"newVersion",
"processScopeIdentifiers",
"reusable"
})
public class FormSaveRepresentation {
@JsonProperty("comment")
private String comment;
@JsonProperty("formImageBase64")
private String formImageBase64;
/**
* FormRepresentation
* <p>
*
*
*/
@JsonProperty("formRepresentation")
private FormRepresentation__1 formRepresentation;
@JsonProperty("newVersion")
private Boolean newVersion;
@JsonProperty("processScopeIdentifiers")
private List<ProcessScopeIdentifier> processScopeIdentifiers = new ArrayList<ProcessScopeIdentifier>();
@JsonProperty("reusable")
private Boolean reusable;
/**
* No args constructor for use in serialization
*
*/
public FormSaveRepresentation() {
}
/**
*
* @param processScopeIdentifiers
* @param comment
* @param formImageBase64
* @param formRepresentation
* @param newVersion
* @param reusable
*/
public FormSaveRepresentation(String comment, String formImageBase64, FormRepresentation__1 formRepresentation, Boolean newVersion, List<ProcessScopeIdentifier> processScopeIdentifiers, Boolean reusable) {
super();
this.comment = comment;
this.formImageBase64 = formImageBase64;
this.formRepresentation = formRepresentation;
this.newVersion = newVersion;
this.processScopeIdentifiers = processScopeIdentifiers;
this.reusable = reusable;
}
@JsonProperty("comment")
public String getComment() {
return comment;
}
@JsonProperty("comment")
public void setComment(String comment) {
this.comment = comment;
}
public FormSaveRepresentation withComment(String comment) {
this.comment = comment;
return this;
}
@JsonProperty("formImageBase64")
public String getFormImageBase64() {
return formImageBase64;
}
@JsonProperty("formImageBase64")
public void setFormImageBase64(String formImageBase64) {
this.formImageBase64 = formImageBase64;
}
public FormSaveRepresentation withFormImageBase64(String formImageBase64) {
this.formImageBase64 = formImageBase64;
return this;
}
/**
* FormRepresentation
* <p>
*
*
*/
@JsonProperty("formRepresentation")
public FormRepresentation__1 getFormRepresentation() {
return formRepresentation;
}
/**
* FormRepresentation
* <p>
*
*
*/
@JsonProperty("formRepresentation")
public void setFormRepresentation(FormRepresentation__1 formRepresentation) {
this.formRepresentation = formRepresentation;
}
public FormSaveRepresentation withFormRepresentation(FormRepresentation__1 formRepresentation) {
this.formRepresentation = formRepresentation;
return this;
}
@JsonProperty("newVersion")
public Boolean getNewVersion() {
return newVersion;
}
@JsonProperty("newVersion")
public void setNewVersion(Boolean newVersion) {
this.newVersion = newVersion;
}
public FormSaveRepresentation withNewVersion(Boolean newVersion) {
this.newVersion = newVersion;
return this;
}
@JsonProperty("processScopeIdentifiers")
public List<ProcessScopeIdentifier> getProcessScopeIdentifiers() {
return processScopeIdentifiers;
}
@JsonProperty("processScopeIdentifiers")
public void setProcessScopeIdentifiers(List<ProcessScopeIdentifier> processScopeIdentifiers) {
this.processScopeIdentifiers = processScopeIdentifiers;
}
public FormSaveRepresentation withProcessScopeIdentifiers(List<ProcessScopeIdentifier> processScopeIdentifiers) {
this.processScopeIdentifiers = processScopeIdentifiers;
return this;
}
@JsonProperty("reusable")
public Boolean getReusable() {
return reusable;
}
@JsonProperty("reusable")
public void setReusable(Boolean reusable) {
this.reusable = reusable;
}
public FormSaveRepresentation withReusable(Boolean reusable) {
this.reusable = reusable;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(FormSaveRepresentation.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("comment");
sb.append('=');
sb.append(((this.comment == null)?"<null>":this.comment));
sb.append(',');
sb.append("formImageBase64");
sb.append('=');
sb.append(((this.formImageBase64 == null)?"<null>":this.formImageBase64));
sb.append(',');
sb.append("formRepresentation");
sb.append('=');
sb.append(((this.formRepresentation == null)?"<null>":this.formRepresentation));
sb.append(',');
sb.append("newVersion");
sb.append('=');
sb.append(((this.newVersion == null)?"<null>":this.newVersion));
sb.append(',');
sb.append("processScopeIdentifiers");
sb.append('=');
sb.append(((this.processScopeIdentifiers == null)?"<null>":this.processScopeIdentifiers));
sb.append(',');
sb.append("reusable");
sb.append('=');
sb.append(((this.reusable == null)?"<null>":this.reusable));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.processScopeIdentifiers == null)? 0 :this.processScopeIdentifiers.hashCode()));
result = ((result* 31)+((this.comment == null)? 0 :this.comment.hashCode()));
result = ((result* 31)+((this.formImageBase64 == null)? 0 :this.formImageBase64 .hashCode()));
result = ((result* 31)+((this.formRepresentation == null)? 0 :this.formRepresentation.hashCode()));
result = ((result* 31)+((this.newVersion == null)? 0 :this.newVersion.hashCode()));
result = ((result* 31)+((this.reusable == null)? 0 :this.reusable.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof FormSaveRepresentation) == false) {
return false;
}
FormSaveRepresentation rhs = ((FormSaveRepresentation) other);
return (((((((this.processScopeIdentifiers == rhs.processScopeIdentifiers)||((this.processScopeIdentifiers!= null)&&this.processScopeIdentifiers.equals(rhs.processScopeIdentifiers)))&&((this.comment == rhs.comment)||((this.comment!= null)&&this.comment.equals(rhs.comment))))&&((this.formImageBase64 == rhs.formImageBase64)||((this.formImageBase64 != null)&&this.formImageBase64 .equals(rhs.formImageBase64))))&&((this.formRepresentation == rhs.formRepresentation)||((this.formRepresentation!= null)&&this.formRepresentation.equals(rhs.formRepresentation))))&&((this.newVersion == rhs.newVersion)||((this.newVersion!= null)&&this.newVersion.equals(rhs.newVersion))))&&((this.reusable == rhs.reusable)||((this.reusable!= null)&&this.reusable.equals(rhs.reusable))));
}
}

Some files were not shown because too many files have changed in this diff Show More