forked from biolink/biolink-model
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMacromolecularMachineToCellularComponentAssociation.java
71 lines (62 loc) · 1.86 KB
/
MacromolecularMachineToCellularComponentAssociation.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
/**
* MacromolecularMachineToCellularComponentAssociation
* <p>
* A functional association between a macromolecular machine (gene, gene product or complex) and a cellular component (as represented in the GO cellular component branch), where the entity carries out its function in the cellular component
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"object"
})
public class MacromolecularMachineToCellularComponentAssociation {
/**
*
* (Required)
*
*/
@JsonProperty("object")
private String object;
/**
*
* (Required)
*
*/
@JsonProperty("object")
public String getObject() {
return object;
}
/**
*
* (Required)
*
*/
@JsonProperty("object")
public void setObject(String object) {
this.object = object;
}
@Override
public String toString() {
return new ToStringBuilder(this).append("object", object).toString();
}
@Override
public int hashCode() {
return new HashCodeBuilder().append(object).toHashCode();
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof MacromolecularMachineToCellularComponentAssociation) == false) {
return false;
}
MacromolecularMachineToCellularComponentAssociation rhs = ((MacromolecularMachineToCellularComponentAssociation) other);
return new EqualsBuilder().append(object, rhs.object).isEquals();
}
}