public class ConnectionRequestBody extends OCFOMASAPIRequestBody
| Modifier and Type | Field and Description |
|---|---|
protected Connection |
connection |
protected String |
shortDescription |
| Constructor and Description |
|---|
ConnectionRequestBody()
Default constructor
|
ConnectionRequestBody(ConnectionRequestBody template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
Connection |
getConnection()
Return the Connection object.
|
String |
getShortDescription()
Returns the short description of the asset from relationship with Connection.
|
int |
hashCode()
Return has code based on properties.
|
void |
setConnection(Connection connection)
Set up the Connection object.
|
void |
setShortDescription(String shortDescription)
Set up the short description of the asset from relationship with Connection.
|
String |
toString()
Standard toString method.
|
protected String shortDescription
protected Connection connection
public ConnectionRequestBody()
public ConnectionRequestBody(ConnectionRequestBody template)
template - object to copypublic String getShortDescription()
public void setShortDescription(String shortDescription)
shortDescription - String textpublic Connection getConnection()
public void setConnection(Connection connection)
connection - - connection objectpublic String toString()
toString in class OCFOMASAPIRequestBodypublic boolean equals(Object objectToCompare)
Copyright © 2018–2019 ODPi. All rights reserved.