Class Parties
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.compare_comply.v1.model.Parties
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Parties
extends com.ibm.cloud.sdk.core.service.model.GenericModel
A party and its corresponding role, including address and contact information if identified.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Parties.Importance
A string that identifies the importance of the party. -
Constructor Summary
Constructors Constructor Description Parties()
-
Method Summary
Modifier and Type Method Description List<Address>
getAddresses()
Gets the addresses.List<Contact>
getContacts()
Gets the contacts.String
getImportance()
Gets the importance.List<Mention>
getMentions()
Gets the mentions.String
getParty()
Gets the party.String
getRole()
Gets the role.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
Parties
public Parties()
-
-
Method Details
-
getParty
Gets the party.The normalized form of the party's name.
- Returns:
- the party
-
getRole
Gets the role.A string identifying the party's role.
- Returns:
- the role
-
getImportance
Gets the importance.A string that identifies the importance of the party.
- Returns:
- the importance
-
getAddresses
Gets the addresses.A list of the party's address or addresses.
- Returns:
- the addresses
-
getContacts
Gets the contacts.A list of the names and roles of contacts identified in the input document.
- Returns:
- the contacts
-
getMentions
Gets the mentions.A list of the party's mentions in the input document.
- Returns:
- the mentions
-