Class Contact
- java.lang.Object
-
- com.ellucian.generated.eedm.person_emergency_contacts.v1_0_0.Contact
-
@Generated("jsonschema2pojo") public class Contact extends Object
ContactThe details of the person who is the emergency contact.
-
-
Field Summary
Fields Modifier and Type Field Description private NamenameNameprivate List<Phone>phonesPhonesprivate RelationshiprelationshipRelationshipprivate List<Type>typesTypes
-
Constructor Summary
Constructors Constructor Description Contact()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)NamegetName()NameList<Phone>getPhones()PhonesRelationshipgetRelationship()RelationshipList<Type>getTypes()TypesinthashCode()voidsetName(Name name)NamevoidsetPhones(List<Phone> phones)PhonesvoidsetRelationship(Relationship relationship)RelationshipvoidsetTypes(List<Type> types)TypesStringtoString()ContactwithName(Name name)ContactwithPhones(List<Phone> phones)ContactwithRelationship(Relationship relationship)ContactwithTypes(List<Type> types)
-
-
-
Field Detail
-
name
@JsonPropertyDescription("The name of the contact.") private Name nameNameThe name of the contact. (Required)
-
types
@JsonPropertyDescription("The types of situations when the person should be contacted.") private List<Type> typesTypesThe types of situations when the person should be contacted. (Required)
-
phones
@JsonPropertyDescription("The phone details at which the contact can be reached.") private List<Phone> phonesPhonesThe phone details at which the contact can be reached.
-
relationship
@JsonPropertyDescription("The relationship between the subject person and the contact.") private Relationship relationshipRelationshipThe relationship between the subject person and the contact.
-
-
Method Detail
-
getName
public Name getName()
NameThe name of the contact. (Required)
-
setName
public void setName(Name name)
NameThe name of the contact. (Required)
-
getTypes
public List<Type> getTypes()
TypesThe types of situations when the person should be contacted. (Required)
-
setTypes
public void setTypes(List<Type> types)
TypesThe types of situations when the person should be contacted. (Required)
-
getPhones
public List<Phone> getPhones()
PhonesThe phone details at which the contact can be reached.
-
setPhones
public void setPhones(List<Phone> phones)
PhonesThe phone details at which the contact can be reached.
-
getRelationship
public Relationship getRelationship()
RelationshipThe relationship between the subject person and the contact.
-
setRelationship
public void setRelationship(Relationship relationship)
RelationshipThe relationship between the subject person and the contact.
-
withRelationship
public Contact withRelationship(Relationship relationship)
-
-