184 lines
4.1 KiB
Java
184 lines
4.1 KiB
Java
package com.inteligr8.alfresco.acs.model;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
|
|
public class AbstractClassAssociation {
|
|
|
|
@ApiModelProperty(required = true, value = "")
|
|
private String id = null;
|
|
|
|
@ApiModelProperty(value = "")
|
|
private String title = null;
|
|
|
|
@ApiModelProperty(value = "")
|
|
private String description = null;
|
|
|
|
@ApiModelProperty(value = "")
|
|
private Boolean isChild = null;
|
|
|
|
@ApiModelProperty(value = "")
|
|
private Boolean isProtected = null;
|
|
|
|
@ApiModelProperty(value = "")
|
|
private AbstractClassAssociationSource source = null;
|
|
|
|
@ApiModelProperty(value = "")
|
|
private AbstractClassAssociationSource target = null;
|
|
/**
|
|
* Get id
|
|
* @return id
|
|
**/
|
|
@JsonProperty("id")
|
|
public String getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(String id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public AbstractClassAssociation id(String id) {
|
|
this.id = id;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Get title
|
|
* @return title
|
|
**/
|
|
@JsonProperty("title")
|
|
public String getTitle() {
|
|
return title;
|
|
}
|
|
|
|
public void setTitle(String title) {
|
|
this.title = title;
|
|
}
|
|
|
|
public AbstractClassAssociation title(String title) {
|
|
this.title = title;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Get description
|
|
* @return description
|
|
**/
|
|
@JsonProperty("description")
|
|
public String getDescription() {
|
|
return description;
|
|
}
|
|
|
|
public void setDescription(String description) {
|
|
this.description = description;
|
|
}
|
|
|
|
public AbstractClassAssociation description(String description) {
|
|
this.description = description;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Get isChild
|
|
* @return isChild
|
|
**/
|
|
@JsonProperty("isChild")
|
|
public Boolean isIsChild() {
|
|
return isChild;
|
|
}
|
|
|
|
public void setIsChild(Boolean isChild) {
|
|
this.isChild = isChild;
|
|
}
|
|
|
|
public AbstractClassAssociation isChild(Boolean isChild) {
|
|
this.isChild = isChild;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Get isProtected
|
|
* @return isProtected
|
|
**/
|
|
@JsonProperty("isProtected")
|
|
public Boolean isIsProtected() {
|
|
return isProtected;
|
|
}
|
|
|
|
public void setIsProtected(Boolean isProtected) {
|
|
this.isProtected = isProtected;
|
|
}
|
|
|
|
public AbstractClassAssociation isProtected(Boolean isProtected) {
|
|
this.isProtected = isProtected;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Get source
|
|
* @return source
|
|
**/
|
|
@JsonProperty("source")
|
|
public AbstractClassAssociationSource getSource() {
|
|
return source;
|
|
}
|
|
|
|
public void setSource(AbstractClassAssociationSource source) {
|
|
this.source = source;
|
|
}
|
|
|
|
public AbstractClassAssociation source(AbstractClassAssociationSource source) {
|
|
this.source = source;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Get target
|
|
* @return target
|
|
**/
|
|
@JsonProperty("target")
|
|
public AbstractClassAssociationSource getTarget() {
|
|
return target;
|
|
}
|
|
|
|
public void setTarget(AbstractClassAssociationSource target) {
|
|
this.target = target;
|
|
}
|
|
|
|
public AbstractClassAssociation target(AbstractClassAssociationSource target) {
|
|
this.target = target;
|
|
return this;
|
|
}
|
|
|
|
|
|
@Override
|
|
public String toString() {
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append("class AbstractClassAssociation {\n");
|
|
|
|
sb.append(" id: ").append(toIndentedString(id)).append("\n");
|
|
sb.append(" title: ").append(toIndentedString(title)).append("\n");
|
|
sb.append(" description: ").append(toIndentedString(description)).append("\n");
|
|
sb.append(" isChild: ").append(toIndentedString(isChild)).append("\n");
|
|
sb.append(" isProtected: ").append(toIndentedString(isProtected)).append("\n");
|
|
sb.append(" source: ").append(toIndentedString(source)).append("\n");
|
|
sb.append(" target: ").append(toIndentedString(target)).append("\n");
|
|
sb.append("}");
|
|
return sb.toString();
|
|
}
|
|
|
|
/**
|
|
* Convert the given object to string with each line indented by 4 spaces
|
|
* (except the first line).
|
|
*/
|
|
private static String toIndentedString(java.lang.Object o) {
|
|
if (o == null) {
|
|
return "null";
|
|
}
|
|
return o.toString().replace("\n", "\n ");
|
|
}
|
|
}
|
|
|